1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
52 /***********************************************************************
53 * common.swg for wxPython
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
60 ************************************************************************/
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
90 # define SWIGRUNTIME(a) static a
97 typedef void *(*swig_converter_func
)(void *);
98 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
100 typedef struct swig_type_info
{
102 swig_converter_func converter
;
105 swig_dycast_func dcast
;
106 struct swig_type_info
*next
;
107 struct swig_type_info
*prev
;
111 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
114 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
116 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
126 /***********************************************************************
127 * pyrun.swg for wxPython
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
134 ************************************************************************/
142 #define SWIG_PY_INT 1
143 #define SWIG_PY_FLOAT 2
144 #define SWIG_PY_STRING 3
145 #define SWIG_PY_POINTER 4
146 #define SWIG_PY_BINARY 5
148 /* Flags for pointer conversion */
150 #define SWIG_POINTER_EXCEPTION 0x1
151 #define SWIG_POINTER_DISOWN 0x2
153 /* Exception handling in wrappers */
154 #define SWIG_fail goto fail
156 /* Constant information structure */
157 typedef struct swig_const_info
{
163 swig_type_info
**ptype
;
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183 #define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
186 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
189 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
191 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
194 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
198 /* Contract support */
200 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
207 /* -------- TYPES TABLE (BEGIN) -------- */
209 #define SWIGTYPE_p_wxLogChain swig_types[0]
210 #define SWIGTYPE_p_wxMutexGuiLocker swig_types[1]
211 #define SWIGTYPE_p_wxMetafile swig_types[2]
212 #define SWIGTYPE_p_wxFileHistory swig_types[3]
213 #define SWIGTYPE_p_wxLog swig_types[4]
214 #define SWIGTYPE_p_wxDateTime__TimeZone swig_types[5]
215 #define SWIGTYPE_p_wxMenu swig_types[6]
216 #define SWIGTYPE_p_wxEvent swig_types[7]
217 #define SWIGTYPE_p_wxConfigBase swig_types[8]
218 #define SWIGTYPE_p_wxDisplay swig_types[9]
219 #define SWIGTYPE_p_wxFileType swig_types[10]
220 #define SWIGTYPE_p_wxLogGui swig_types[11]
221 #define SWIGTYPE_p_wxFont swig_types[12]
222 #define SWIGTYPE_p_wxDataFormat swig_types[13]
223 #define SWIGTYPE_p_wxTimerEvent swig_types[14]
224 #define SWIGTYPE_p_wxCaret swig_types[15]
225 #define SWIGTYPE_p_int swig_types[16]
226 #define SWIGTYPE_p_wxSize swig_types[17]
227 #define SWIGTYPE_p_wxClipboard swig_types[18]
228 #define SWIGTYPE_p_wxStopWatch swig_types[19]
229 #define SWIGTYPE_p_wxDC swig_types[20]
230 #define SWIGTYPE_p_wxClipboardLocker swig_types[21]
231 #define SWIGTYPE_p_wxIcon swig_types[22]
232 #define SWIGTYPE_p_wxLogStderr swig_types[23]
233 #define SWIGTYPE_p_wxLogTextCtrl swig_types[24]
234 #define SWIGTYPE_p_wxTextCtrl swig_types[25]
235 #define SWIGTYPE_p_wxBusyCursor swig_types[26]
236 #define SWIGTYPE_p_wxPyBitmapDataObject swig_types[27]
237 #define SWIGTYPE_p_wxPyTextDataObject swig_types[28]
238 #define SWIGTYPE_p_wxBitmapDataObject swig_types[29]
239 #define SWIGTYPE_p_wxTextDataObject swig_types[30]
240 #define SWIGTYPE_p_wxDataObject swig_types[31]
241 #define SWIGTYPE_p_wxFileDataObject swig_types[32]
242 #define SWIGTYPE_p_wxCustomDataObject swig_types[33]
243 #define SWIGTYPE_p_wxURLDataObject swig_types[34]
244 #define SWIGTYPE_p_wxMetafileDataObject swig_types[35]
245 #define SWIGTYPE_p_wxSound swig_types[36]
246 #define SWIGTYPE_p_wxTimerRunner swig_types[37]
247 #define SWIGTYPE_p_wxLogWindow swig_types[38]
248 #define SWIGTYPE_p_wxTimeSpan swig_types[39]
249 #define SWIGTYPE_p_wxArrayString swig_types[40]
250 #define SWIGTYPE_p_wxWindowDisabler swig_types[41]
251 #define SWIGTYPE_p_wxToolTip swig_types[42]
252 #define SWIGTYPE_p_wxDataObjectComposite swig_types[43]
253 #define SWIGTYPE_p_wxFileConfig swig_types[44]
254 #define SWIGTYPE_p_wxSystemSettings swig_types[45]
255 #define SWIGTYPE_p_wxVideoMode swig_types[46]
256 #define SWIGTYPE_p_wxPyDataObjectSimple swig_types[47]
257 #define SWIGTYPE_p_wxDataObjectSimple swig_types[48]
258 #define SWIGTYPE_p_wxEvtHandler swig_types[49]
259 #define SWIGTYPE_p_wxRect swig_types[50]
260 #define SWIGTYPE_p_char swig_types[51]
261 #define SWIGTYPE_p_wxSingleInstanceChecker swig_types[52]
262 #define SWIGTYPE_p_wxFileTypeInfo swig_types[53]
263 #define SWIGTYPE_p_wxFrame swig_types[54]
264 #define SWIGTYPE_p_wxTimer swig_types[55]
265 #define SWIGTYPE_p_wxMimeTypesManager swig_types[56]
266 #define SWIGTYPE_p_wxPyArtProvider swig_types[57]
267 #define SWIGTYPE_p_wxPyTipProvider swig_types[58]
268 #define SWIGTYPE_p_wxTipProvider swig_types[59]
269 #define SWIGTYPE_p_wxJoystick swig_types[60]
270 #define SWIGTYPE_p_wxSystemOptions swig_types[61]
271 #define SWIGTYPE_p_wxPoint swig_types[62]
272 #define SWIGTYPE_p_wxJoystickEvent swig_types[63]
273 #define SWIGTYPE_p_wxCursor swig_types[64]
274 #define SWIGTYPE_p_wxObject swig_types[65]
275 #define SWIGTYPE_p_wxOutputStream swig_types[66]
276 #define SWIGTYPE_p_wxDateTime swig_types[67]
277 #define SWIGTYPE_p_wxPyDropSource swig_types[68]
278 #define SWIGTYPE_p_wxWindow swig_types[69]
279 #define SWIGTYPE_p_wxString swig_types[70]
280 #define SWIGTYPE_p_wxPyProcess swig_types[71]
281 #define SWIGTYPE_p_wxBitmap swig_types[72]
282 #define SWIGTYPE_p_wxConfig swig_types[73]
283 #define SWIGTYPE_p_wxChar swig_types[74]
284 #define SWIGTYPE_p_wxBusyInfo swig_types[75]
285 #define SWIGTYPE_p_wxPyDropTarget swig_types[76]
286 #define SWIGTYPE_p_wxPyTextDropTarget swig_types[77]
287 #define SWIGTYPE_p_wxPyFileDropTarget swig_types[78]
288 #define SWIGTYPE_p_wxProcessEvent swig_types[79]
289 #define SWIGTYPE_p_wxPyLog swig_types[80]
290 #define SWIGTYPE_p_wxLogNull swig_types[81]
291 #define SWIGTYPE_p_wxColour swig_types[82]
292 #define SWIGTYPE_p_wxConfigPathChanger swig_types[83]
293 #define SWIGTYPE_p_wxPyTimer swig_types[84]
294 #define SWIGTYPE_p_wxDateSpan swig_types[85]
295 static swig_type_info
*swig_types
[87];
297 /* -------- TYPES TABLE (END) -------- */
300 /*-----------------------------------------------
301 @(target):= _misc_.so
302 ------------------------------------------------*/
303 #define SWIG_init init_misc_
305 #define SWIG_name "_misc_"
307 /* Auxiliar swig macros */
310 #define SWIGSTATICINLINE(a) static inline a
311 #define SWIGSTATIC(a) static a
312 #define swig_new_array(type, size) (new type[(size)])
313 #define swig_delete_array(cptr) delete[] cptr
314 #define swig_const_cast(type,a) const_cast<type>(a)
315 #define swig_static_cast(type,a) static_cast<type>(a)
316 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
318 #ifdef HAVE_NUMERIC_CAST
319 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
321 #define swig_numeric_cast(type,a) static_cast<type>(a)
326 #define SWIGSTATICINLINE(a) static a
327 #define SWIGSTATIC(a) static a
328 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
329 #define swig_delete_array(cptr) free((char*)cptr)
330 #define swig_const_cast(type,a) (type)(a)
331 #define swig_static_cast(type,a) (type)(a)
332 #define swig_reinterpret_cast(type,a) (type)(a)
333 #define swig_numeric_cast(type,a) (type)(a)
335 #endif /* __cplusplus */
338 #define SWIG_FromSignedChar PyInt_FromLong
339 #define SWIG_FromUnsignedChar PyInt_FromLong
340 #define SWIG_FromShort PyInt_FromLong
341 #define SWIG_FromUnsignedShort PyInt_FromLong
342 #define SWIG_FromInt PyInt_FromLong
343 #define SWIG_FromLong PyInt_FromLong
344 #define SWIG_FromFloat PyFloat_FromDouble
345 #define SWIG_FromDouble PyFloat_FromDouble
346 #define SWIG_FromFloat PyFloat_FromDouble
347 #define SWIG_FromDouble PyFloat_FromDouble
350 #include "wx/wxPython/wxPython.h"
351 #include "wx/wxPython/pyclasses.h"
352 #include "wx/wxPython/pyistream.h"
354 static const wxString
wxPyEmptyString(wxEmptyString
);
361 SWIGSTATICINLINE(long)
362 SWIG_CheckLongInRange(long value
, const char* type
,
363 long min_value
, long max_value
)
365 if (!PyErr_Occurred()) {
366 if (value
< min_value
) {
368 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
369 value
, type
, min_value
);
371 PyErr_SetObject(PyExc_OverflowError
, err
);
373 } else if (value
> max_value
) {
375 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
376 value
, type
, max_value
);
377 PyErr_SetObject(PyExc_OverflowError
, err
);
385 SWIGSTATICINLINE(long)
386 SWIG_AsLong(PyObject
* obj
)
388 if (PyNumber_Check(obj
))
389 return PyInt_AsLong(obj
);
391 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
392 obj
->ob_type
->tp_name
);
393 PyErr_SetObject(PyExc_TypeError
, errmsg
);
400 #if INT_MAX != LONG_MAX
401 SWIGSTATICINLINE(int)
402 SWIG_AsInt(PyObject
*obj
)
404 return swig_numeric_cast(int,
405 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
406 "int", INT_MIN
, INT_MAX
));
409 #define SWIG_AsInt SWIG_AsLong
413 SWIGSTATICINLINE(int)
414 SWIG_CheckInt(PyObject
* obj
)
417 if (PyErr_Occurred()) {
425 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
426 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
427 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
429 SWIGSTATICINLINE(int)
430 SWIG_CheckLong(PyObject
* obj
)
433 if (PyErr_Occurred()) {
442 SWIGSTATICINLINE(bool)
443 SWIG_AsBool(PyObject
*obj
)
445 return PyObject_IsTrue(obj
) ? true : false;
449 SWIGSTATICINLINE(int)
450 SWIG_CheckBool(PyObject
* obj
)
453 if (PyErr_Occurred()) {
462 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
468 } else if (target
== Py_None
) {
472 if (!PyTuple_Check(target
)) {
474 target
= PyTuple_New(1);
475 PyTuple_SetItem(target
, 0, o2
);
478 PyTuple_SetItem(o3
, 0, o
);
481 target
= PySequence_Concat(o2
, o3
);
489 SWIGSTATICINLINE(unsigned long)
490 SWIG_AsUnsignedLong(PyObject
* obj
)
492 if (PyLong_Check(obj
)) {
493 return PyLong_AsUnsignedLong(obj
);
495 long i
= SWIG_AsLong(obj
);
496 if ( !PyErr_Occurred() && (i
< 0)) {
497 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
504 SWIGSTATICINLINE(int)
505 SWIG_CheckUnsignedLong(PyObject
* obj
)
507 SWIG_AsUnsignedLong(obj
);
508 if (PyErr_Occurred()) {
517 SWIGSTATICINLINE(PyObject
* )
518 SWIG_FromUnsignedLong(unsigned long value
)
520 return (value
> LONG_MAX
) ?
521 PyLong_FromUnsignedLong(value
)
522 : PyInt_FromLong(swig_numeric_cast(long,value
));
526 bool wxThread_IsMain() {
527 #ifdef WXP_WITH_THREAD
528 return wxThread::IsMain();
535 int wxCaret_GetBlinkTime() {
536 return wxCaret::GetBlinkTime();
539 void wxCaret_SetBlinkTime(int milliseconds
) {
540 wxCaret::SetBlinkTime(milliseconds
);
544 #include <wx/snglinst.h>
548 #include <wx/msw/private.h>
549 #include <wx/dynload.h>
554 void wxDrawWindowOnDC(wxWindow
* window
, const wxDC
& dc
, int method
)
561 // This one only partially works. Appears to be an undocumented
562 // "standard" convention that not all widgets adhear to. For
563 // example, for some widgets backgrounds or non-client areas may
565 ::SendMessage(GetHwndOf(window
), WM_PAINT
, (long)GetHdcOf(dc
), 0);
569 // This one works much better, except for on XP. On Win2k nearly
570 // all widgets and their children are captured correctly[**]. On
571 // XP with Themes activated most native widgets draw only
572 // partially, if at all. Without themes it works just like on
575 // ** For example the radio buttons in a wxRadioBox are not its
576 // children by default, but you can capture it via the panel
577 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
578 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
579 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
580 PRF_ERASEBKGND
| PRF_OWNED
);
584 // This one is only defined in the latest SDK and is only
585 // available on XP. MSDN says it is similar to sending WM_PRINT
586 // so I expect that it will work similar to the above. Since it
587 // is avaialble only on XP, it can't be compiled like this and
588 // will have to be loaded dynamically.
589 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
594 // Use PrintWindow if available, or fallback to WM_PRINT
595 // otherwise. Unfortunately using PrintWindow is even worse than
596 // WM_PRINT. For most native widgets nothing is drawn to the dc
597 // at all, with or without Themes.
598 typedef BOOL (WINAPI
*PrintWindow_t
)(HWND
, HDC
, UINT
);
599 static bool s_triedToLoad
= False
;
600 static PrintWindow_t pfnPrintWindow
= NULL
;
601 if ( !s_triedToLoad
)
604 s_triedToLoad
= True
;
605 wxDynamicLibrary
dllUser32(_T("user32.dll"));
606 if ( dllUser32
.IsLoaded() )
608 wxLogNull nolog
; // Don't report errors here
609 pfnPrintWindow
= (PrintWindow_t
)dllUser32
.GetSymbol(_T("PrintWindow"));
614 printf("Using PrintWindow\n");
615 pfnPrintWindow(GetHwndOf(window
), GetHdcOf(dc
), 0);
619 printf("Using WM_PRINT\n");
620 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
621 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
| PRF_ERASEBKGND
| PRF_OWNED
);
629 #include <wx/tipdlg.h>
632 class wxPyTipProvider
: public wxTipProvider
{
634 wxPyTipProvider(size_t currentTip
)
635 : wxTipProvider(currentTip
) {}
637 DEC_PYCALLBACK_STRING__pure(GetTip
);
638 DEC_PYCALLBACK_STRING_STRING(PreprocessTip
);
642 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
643 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider
, wxTipProvider
, PreprocessTip
);
646 //IMP_PYCALLBACK__(wxPyTimer, wxTimer, Notify);
648 IMPLEMENT_ABSTRACT_CLASS(wxPyTimer
, wxTimer
);
650 void wxPyTimer::Notify() {
652 bool blocked
= wxPyBeginBlockThreads();
653 if ((found
= wxPyCBH_findCallback(m_myInst
, "Notify")))
654 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("()"));
655 wxPyEndBlockThreads(blocked
);
659 void wxPyTimer::base_Notify() {
665 SWIGSTATICINLINE(PyObject
*)
666 SWIG_FromCharPtr(const char* cptr
)
668 size_t size
= cptr
? strlen(cptr
) : 0;
670 if (size
> INT_MAX
) {
671 return SWIG_NewPointerObj(swig_const_cast(char*,cptr
),
672 SWIG_TypeQuery("char *"), 0);
674 return PyString_FromStringAndSize(cptr
, swig_numeric_cast(int,size
));
683 SWIGSTATICINLINE(unsigned long)
684 SWIG_CheckUnsignedLongInRange(unsigned long value
, const char* type
,
685 unsigned long max_value
)
687 if (!PyErr_Occurred()) {
688 if (value
> max_value
) {
690 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
691 value
, type
, max_value
);
692 PyErr_SetObject(PyExc_OverflowError
, err
);
700 #if UINT_MAX != ULONG_MAX
701 SWIGSTATICINLINE(unsigned int)
702 SWIG_AsUnsignedInt(PyObject
*obj
)
704 return swig_numeric_cast(unsigned int,
705 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj
),
706 "unsigned int", UINT_MAX
));
709 #define SWIG_AsUnsignedInt SWIG_AsUnsignedLong
713 SWIGSTATICINLINE(int)
714 SWIG_CheckUnsignedInt(PyObject
* obj
)
716 SWIG_AsUnsignedInt(obj
);
717 if (PyErr_Occurred()) {
725 wxString
Log_TimeStamp(){
727 wxLog::TimeStamp(&msg
);
730 void wxLog_Destroy(wxLog
*self
){ delete self
; }
732 // A wxLog class that can be derived from in wxPython
733 class wxPyLog
: public wxLog
{
735 wxPyLog() : wxLog() {}
737 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
739 bool blocked
= wxPyBeginBlockThreads();
740 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog"))) {
741 PyObject
* s
= wx2PyString(szString
);
742 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iOi)", level
, s
, t
));
745 wxPyEndBlockThreads(blocked
);
747 wxLog::DoLog(level
, szString
, t
);
750 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
752 bool blocked
= wxPyBeginBlockThreads();
753 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString"))) {
754 PyObject
* s
= wx2PyString(szString
);
755 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(Oi)", s
, t
));
758 wxPyEndBlockThreads(blocked
);
760 wxLog::DoLogString(szString
, t
);
769 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
772 #include <wx/joystick.h>
775 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
776 // A C++ stub class for wxJoystick for platforms that don't have it.
777 class wxJoystick
: public wxObject
{
779 wxJoystick(int joystick
= wxJOYSTICK1
) {
780 bool blocked
= wxPyBeginBlockThreads();
781 PyErr_SetString(PyExc_NotImplementedError
,
782 "wxJoystick is not available on this platform.");
783 wxPyEndBlockThreads(blocked
);
785 wxPoint
GetPosition() { return wxPoint(-1,-1); }
786 int GetZPosition() { return -1; }
787 int GetButtonState() { return -1; }
788 int GetPOVPosition() { return -1; }
789 int GetPOVCTSPosition() { return -1; }
790 int GetRudderPosition() { return -1; }
791 int GetUPosition() { return -1; }
792 int GetVPosition() { return -1; }
793 int GetMovementThreshold() { return -1; }
794 void SetMovementThreshold(int threshold
) {}
796 bool IsOk(void) { return False
; }
797 int GetNumberJoysticks() { return -1; }
798 int GetManufacturerId() { return -1; }
799 int GetProductId() { return -1; }
800 wxString
GetProductName() { return wxEmptyString
; }
801 int GetXMin() { return -1; }
802 int GetYMin() { return -1; }
803 int GetZMin() { return -1; }
804 int GetXMax() { return -1; }
805 int GetYMax() { return -1; }
806 int GetZMax() { return -1; }
807 int GetNumberButtons() { return -1; }
808 int GetNumberAxes() { return -1; }
809 int GetMaxButtons() { return -1; }
810 int GetMaxAxes() { return -1; }
811 int GetPollingMin() { return -1; }
812 int GetPollingMax() { return -1; }
813 int GetRudderMin() { return -1; }
814 int GetRudderMax() { return -1; }
815 int GetUMin() { return -1; }
816 int GetUMax() { return -1; }
817 int GetVMin() { return -1; }
818 int GetVMax() { return -1; }
820 bool HasRudder() { return False
; }
821 bool HasZ() { return False
; }
822 bool HasU() { return False
; }
823 bool HasV() { return False
; }
824 bool HasPOV() { return False
; }
825 bool HasPOV4Dir() { return False
; }
826 bool HasPOVCTS() { return False
; }
828 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return False
; }
829 bool ReleaseCapture() { return False
; }
834 #include <wx/sound.h>
838 // A C++ stub class for wxWave for platforms that don't have it.
839 class wxSound
: public wxObject
843 bool blocked
= wxPyBeginBlockThreads();
844 PyErr_SetString(PyExc_NotImplementedError
,
845 "wxSound is not available on this platform.");
846 wxPyEndBlockThreads(blocked
);
848 wxSound(const wxString
&/*, bool*/) {
849 bool blocked
= wxPyBeginBlockThreads();
850 PyErr_SetString(PyExc_NotImplementedError
,
851 "wxSound is not available on this platform.");
852 wxPyEndBlockThreads(blocked
);
854 wxSound(int, const wxByte
*) {
855 bool blocked
= wxPyBeginBlockThreads();
856 PyErr_SetString(PyExc_NotImplementedError
,
857 "wxSound is not available on this platform.");
858 wxPyEndBlockThreads(blocked
);
863 bool Create(const wxString
&/*, bool*/) { return false; }
864 bool Create(int, const wxByte
*) { return false; };
865 bool IsOk() { return false; };
866 bool Play(unsigned) const { return false; }
867 static bool Play(const wxString
&, unsigned) { return false; }
868 static void Stop() {}
873 wxSound
*new_wxSound(wxString
const &fileName
){
874 if (fileName
.Length() == 0)
877 return new wxSound(fileName
);
879 wxSound
*new_wxSound(PyObject
*data
){
880 unsigned char* buffer
; int size
;
881 wxSound
*sound
= NULL
;
883 bool blocked
= wxPyBeginBlockThreads();
884 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
886 sound
= new wxSound(size
, buffer
);
888 wxPyEndBlockThreads(blocked
);
891 bool wxSound_CreateFromData(wxSound
*self
,PyObject
*data
){
893 unsigned char* buffer
;
897 bool blocked
= wxPyBeginBlockThreads();
898 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
900 rv
= self
->Create(size
, buffer
);
902 wxPyEndBlockThreads(blocked
);
905 bool blocked
= wxPyBeginBlockThreads();
906 PyErr_SetString(PyExc_NotImplementedError
,
907 "Create from data is not available on this platform.");
908 wxPyEndBlockThreads(blocked
);
913 #include <wx/mimetype.h>
915 PyObject
*wxFileType_GetMimeType(wxFileType
*self
){
917 if (self
->GetMimeType(&str
))
918 return wx2PyString(str
);
922 PyObject
*wxFileType_GetMimeTypes(wxFileType
*self
){
924 if (self
->GetMimeTypes(arr
))
925 return wxArrayString2PyList_helper(arr
);
929 PyObject
*wxFileType_GetExtensions(wxFileType
*self
){
931 if (self
->GetExtensions(arr
))
932 return wxArrayString2PyList_helper(arr
);
936 wxIcon
*wxFileType_GetIcon(wxFileType
*self
){
938 if (self
->GetIcon(&loc
))
939 return new wxIcon(loc
);
943 PyObject
*wxFileType_GetIconInfo(wxFileType
*self
){
945 if (self
->GetIcon(&loc
)) {
946 wxString iconFile
= loc
.GetFileName();
949 iconIndex
= loc
.GetIndex();
951 // Make a tuple and put the values in it
952 bool blocked
= wxPyBeginBlockThreads();
953 PyObject
* tuple
= PyTuple_New(3);
954 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(loc
),
955 wxT("wxIcon"), True
));
956 PyTuple_SetItem(tuple
, 1, wx2PyString(iconFile
));
957 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
958 wxPyEndBlockThreads(blocked
);
964 PyObject
*wxFileType_GetDescription(wxFileType
*self
){
966 if (self
->GetDescription(&str
))
967 return wx2PyString(str
);
971 PyObject
*wxFileType_GetOpenCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
973 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
974 return wx2PyString(str
);
978 PyObject
*wxFileType_GetPrintCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
980 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
981 return wx2PyString(str
);
985 PyObject
*wxFileType_GetAllCommands(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
987 wxArrayString commands
;
988 if (self
->GetAllCommands(&verbs
, &commands
,
989 wxFileType::MessageParameters(filename
, mimetype
))) {
990 bool blocked
= wxPyBeginBlockThreads();
991 PyObject
* tuple
= PyTuple_New(2);
992 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
993 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
994 wxPyEndBlockThreads(blocked
);
1000 wxString
FileType_ExpandCommand(wxString
const &command
,wxString
const &filename
,wxString
const &mimetype
){
1001 return wxFileType::ExpandCommand(command
,
1002 wxFileType::MessageParameters(filename
, mimetype
));
1004 PyObject
*wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
){
1006 self
->EnumAllFileTypes(arr
);
1007 return wxArrayString2PyList_helper(arr
);
1010 #include <wx/artprov.h>
1012 static const wxString
wxPyART_TOOLBAR(wxART_TOOLBAR
);
1013 static const wxString
wxPyART_MENU(wxART_MENU
);
1014 static const wxString
wxPyART_FRAME_ICON(wxART_FRAME_ICON
);
1015 static const wxString
wxPyART_CMN_DIALOG(wxART_CMN_DIALOG
);
1016 static const wxString
wxPyART_HELP_BROWSER(wxART_HELP_BROWSER
);
1017 static const wxString
wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX
);
1018 static const wxString
wxPyART_OTHER(wxART_OTHER
);
1019 static const wxString
wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK
);
1020 static const wxString
wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK
);
1021 static const wxString
wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL
);
1022 static const wxString
wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS
);
1023 static const wxString
wxPyART_HELP_BOOK(wxART_HELP_BOOK
);
1024 static const wxString
wxPyART_HELP_FOLDER(wxART_HELP_FOLDER
);
1025 static const wxString
wxPyART_HELP_PAGE(wxART_HELP_PAGE
);
1026 static const wxString
wxPyART_GO_BACK(wxART_GO_BACK
);
1027 static const wxString
wxPyART_GO_FORWARD(wxART_GO_FORWARD
);
1028 static const wxString
wxPyART_GO_UP(wxART_GO_UP
);
1029 static const wxString
wxPyART_GO_DOWN(wxART_GO_DOWN
);
1030 static const wxString
wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT
);
1031 static const wxString
wxPyART_GO_HOME(wxART_GO_HOME
);
1032 static const wxString
wxPyART_FILE_OPEN(wxART_FILE_OPEN
);
1033 static const wxString
wxPyART_PRINT(wxART_PRINT
);
1034 static const wxString
wxPyART_HELP(wxART_HELP
);
1035 static const wxString
wxPyART_TIP(wxART_TIP
);
1036 static const wxString
wxPyART_REPORT_VIEW(wxART_REPORT_VIEW
);
1037 static const wxString
wxPyART_LIST_VIEW(wxART_LIST_VIEW
);
1038 static const wxString
wxPyART_NEW_DIR(wxART_NEW_DIR
);
1039 static const wxString
wxPyART_FOLDER(wxART_FOLDER
);
1040 static const wxString
wxPyART_GO_DIR_UP(wxART_GO_DIR_UP
);
1041 static const wxString
wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE
);
1042 static const wxString
wxPyART_NORMAL_FILE(wxART_NORMAL_FILE
);
1043 static const wxString
wxPyART_TICK_MARK(wxART_TICK_MARK
);
1044 static const wxString
wxPyART_CROSS_MARK(wxART_CROSS_MARK
);
1045 static const wxString
wxPyART_ERROR(wxART_ERROR
);
1046 static const wxString
wxPyART_QUESTION(wxART_QUESTION
);
1047 static const wxString
wxPyART_WARNING(wxART_WARNING
);
1048 static const wxString
wxPyART_INFORMATION(wxART_INFORMATION
);
1049 static const wxString
wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE
);
1050 // Python aware wxArtProvider
1051 class wxPyArtProvider
: public wxArtProvider
{
1054 virtual wxBitmap
CreateBitmap(const wxArtID
& id
,
1055 const wxArtClient
& client
,
1056 const wxSize
& size
) {
1057 wxBitmap rval
= wxNullBitmap
;
1058 bool blocked
= wxPyBeginBlockThreads();
1059 if ((wxPyCBH_findCallback(m_myInst
, "CreateBitmap"))) {
1060 PyObject
* so
= wxPyConstructObject((void*)&size
, wxT("wxSize"), 0);
1064 s1
= wx2PyString(id
);
1065 s2
= wx2PyString(client
);
1066 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOO)", s1
, s2
, so
));
1071 if (wxPyConvertSwigPtr(ro
, (void**)&ptr
, wxT("wxBitmap")))
1076 wxPyEndBlockThreads(blocked
);
1083 void wxPyArtProvider_Destroy(wxPyArtProvider
*self
){ delete self
; }
1087 static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) {
1088 PyObject
* ret
= PyTuple_New(3);
1090 PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
));
1091 PyTuple_SET_ITEM(ret
, 1, wx2PyString(str
));
1092 PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
));
1097 PyObject
*wxConfigBase_GetFirstGroup(wxConfigBase
*self
){
1102 cont
= self
->GetFirstGroup(value
, index
);
1103 return __EnumerationHelper(cont
, value
, index
);
1105 PyObject
*wxConfigBase_GetNextGroup(wxConfigBase
*self
,long index
){
1109 cont
= self
->GetNextGroup(value
, index
);
1110 return __EnumerationHelper(cont
, value
, index
);
1112 PyObject
*wxConfigBase_GetFirstEntry(wxConfigBase
*self
){
1117 cont
= self
->GetFirstEntry(value
, index
);
1118 return __EnumerationHelper(cont
, value
, index
);
1120 PyObject
*wxConfigBase_GetNextEntry(wxConfigBase
*self
,long index
){
1124 cont
= self
->GetNextEntry(value
, index
);
1125 return __EnumerationHelper(cont
, value
, index
);
1127 long wxConfigBase_ReadInt(wxConfigBase
*self
,wxString
const &key
,long defaultVal
){
1129 self
->Read(key
, &rv
, defaultVal
);
1133 SWIGSTATICINLINE(double)
1134 SWIG_AsDouble(PyObject
*obj
)
1136 if (PyNumber_Check(obj
))
1137 return PyFloat_AsDouble(obj
);
1139 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
1140 obj
->ob_type
->tp_name
);
1141 PyErr_SetObject(PyExc_TypeError
, errmsg
);
1148 SWIGSTATICINLINE(int)
1149 SWIG_CheckDouble(PyObject
* obj
)
1152 if (PyErr_Occurred()) {
1160 double wxConfigBase_ReadFloat(wxConfigBase
*self
,wxString
const &key
,double defaultVal
){
1162 self
->Read(key
, &rv
, defaultVal
);
1165 bool wxConfigBase_ReadBool(wxConfigBase
*self
,wxString
const &key
,bool defaultVal
){
1167 self
->Read(key
, &rv
, defaultVal
);
1171 #include <wx/datetime.h>
1174 static const wxString
wxPyDateFormatStr(wxT("%c"));
1175 static const wxString
wxPyTimeSpanFormatStr(wxT("%H:%M:%S"));
1177 #define LOCAL_TZ wxDateTime::Local
1180 #if UINT_MAX < LONG_MAX
1181 #define SWIG_FromUnsignedInt SWIG_FromLong
1183 #define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
1186 wxDateTime
wxDateTime___add____SWIG_0(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
1187 wxDateTime
wxDateTime___add____SWIG_1(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
1188 wxTimeSpan
wxDateTime___sub____SWIG_0(wxDateTime
*self
,wxDateTime
const &other
){ return *self
- other
; }
1189 wxDateTime
wxDateTime___sub____SWIG_1(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
1190 wxDateTime
wxDateTime___sub____SWIG_2(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
- other
; }
1191 bool wxDateTime___lt__(wxDateTime
*self
,wxDateTime
const *other
){
1192 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
< other
;
1193 return (*self
< *other
);
1195 bool wxDateTime___le__(wxDateTime
*self
,wxDateTime
const *other
){
1196 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
<= other
;
1197 return (*self
<= *other
);
1199 bool wxDateTime___gt__(wxDateTime
*self
,wxDateTime
const *other
){
1200 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
> other
;
1201 return (*self
> *other
);
1203 bool wxDateTime___ge__(wxDateTime
*self
,wxDateTime
const *other
){
1204 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
>= other
;
1205 return (*self
>= *other
);
1207 bool wxDateTime___eq__(wxDateTime
*self
,wxDateTime
const *other
){
1208 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
== other
;
1209 return (*self
== *other
);
1211 bool wxDateTime___ne__(wxDateTime
*self
,wxDateTime
const *other
){
1212 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
!= other
;
1213 return (*self
!= *other
);
1215 int wxDateTime_ParseRfc822Date(wxDateTime
*self
,wxString
const &date
){
1217 const wxChar
* _date
= date
;
1218 rv
= self
->ParseRfc822Date(_date
);
1219 if (rv
== NULL
) return -1;
1222 int wxDateTime_ParseFormat(wxDateTime
*self
,wxString
const &date
,wxString
const &format
,wxDateTime
const &dateDef
){
1224 const wxChar
* _date
= date
;
1225 rv
= self
->ParseFormat(_date
, format
, dateDef
);
1226 if (rv
== NULL
) return -1;
1229 int wxDateTime_ParseDateTime(wxDateTime
*self
,wxString
const &datetime
){
1231 const wxChar
* _datetime
= datetime
;
1232 rv
= self
->ParseDateTime(_datetime
);
1233 if (rv
== NULL
) return -1;
1234 return rv
- _datetime
;
1236 int wxDateTime_ParseDate(wxDateTime
*self
,wxString
const &date
){
1238 const wxChar
* _date
= date
;
1239 rv
= self
->ParseDate(_date
);
1240 if (rv
== NULL
) return -1;
1243 int wxDateTime_ParseTime(wxDateTime
*self
,wxString
const &time
){
1245 const wxChar
* _time
= time
;
1246 rv
= self
->ParseTime(_time
);
1247 if (rv
== NULL
) return -1;
1250 wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
1251 wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
1252 wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
){ return *self
* n
; }
1253 wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
){ return n
* *self
; }
1254 bool wxTimeSpan___lt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
< *other
) : False
; }
1255 bool wxTimeSpan___le__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
<= *other
) : False
; }
1256 bool wxTimeSpan___gt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
> *other
) : True
; }
1257 bool wxTimeSpan___ge__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
>= *other
) : True
; }
1258 bool wxTimeSpan___eq__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
== *other
) : False
; }
1259 bool wxTimeSpan___ne__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
!= *other
) : True
; }
1260 wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
1261 wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
- other
; }
1262 wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
){ return *self
* n
; }
1263 wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
){ return n
* *self
; }
1264 bool wxDateSpan___eq__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
== *other
) : False
; }
1265 bool wxDateSpan___ne__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
!= *other
) : True
; }
1267 #include <wx/dataobj.h>
1269 PyObject
*wxDataObject_GetAllFormats(wxDataObject
*self
,wxDataObject::Direction dir
){
1270 size_t count
= self
->GetFormatCount(dir
);
1271 wxDataFormat
* formats
= new wxDataFormat
[count
];
1272 self
->GetAllFormats(formats
, dir
);
1274 bool blocked
= wxPyBeginBlockThreads();
1275 PyObject
* list
= PyList_New(count
);
1276 for (size_t i
=0; i
<count
; i
++) {
1277 wxDataFormat
* format
= new wxDataFormat(formats
[i
]);
1278 PyObject
* obj
= wxPyConstructObject((void*)format
, wxT("wxDataFormat"), True
);
1279 PyList_Append(list
, obj
);
1282 wxPyEndBlockThreads(blocked
);
1286 PyObject
*wxDataObject_GetDataHere(wxDataObject
*self
,wxDataFormat
const &format
){
1287 PyObject
* rval
= NULL
;
1288 size_t size
= self
->GetDataSize(format
);
1289 bool blocked
= wxPyBeginBlockThreads();
1291 char* buf
= new char[size
];
1292 if (self
->GetDataHere(format
, buf
))
1293 rval
= PyString_FromStringAndSize(buf
, size
);
1300 wxPyEndBlockThreads(blocked
);
1303 bool wxDataObject_SetData(wxDataObject
*self
,wxDataFormat
const &format
,PyObject
*data
){
1305 bool blocked
= wxPyBeginBlockThreads();
1306 if (PyString_Check(data
)) {
1307 rval
= self
->SetData(format
, PyString_Size(data
), PyString_AsString(data
));
1310 // raise a TypeError if not a string
1311 PyErr_SetString(PyExc_TypeError
, "String expected.");
1314 wxPyEndBlockThreads(blocked
);
1317 PyObject
*wxDataObjectSimple_GetDataHere(wxDataObjectSimple
*self
){
1318 PyObject
* rval
= NULL
;
1319 size_t size
= self
->GetDataSize();
1320 bool blocked
= wxPyBeginBlockThreads();
1322 char* buf
= new char[size
];
1323 if (self
->GetDataHere(buf
))
1324 rval
= PyString_FromStringAndSize(buf
, size
);
1331 wxPyEndBlockThreads(blocked
);
1334 bool wxDataObjectSimple_SetData(wxDataObjectSimple
*self
,PyObject
*data
){
1336 bool blocked
= wxPyBeginBlockThreads();
1337 if (PyString_Check(data
)) {
1338 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1341 // raise a TypeError if not a string
1342 PyErr_SetString(PyExc_TypeError
, "String expected.");
1345 wxPyEndBlockThreads(blocked
);
1348 // Create a new class for wxPython to use
1349 class wxPyDataObjectSimple
: public wxDataObjectSimple
{
1351 wxPyDataObjectSimple(const wxDataFormat
& format
= wxFormatInvalid
)
1352 : wxDataObjectSimple(format
) {}
1354 DEC_PYCALLBACK_SIZET__const(GetDataSize
);
1355 bool GetDataHere(void *buf
) const;
1356 bool SetData(size_t len
, const void *buf
) const;
1360 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple
, wxDataObjectSimple
, GetDataSize
);
1362 bool wxPyDataObjectSimple::GetDataHere(void *buf
) const {
1363 // We need to get the data for this object and write it to buf. I think
1364 // the best way to do this for wxPython is to have the Python method
1365 // return either a string or None and then act appropriately with the
1369 bool blocked
= wxPyBeginBlockThreads();
1370 if (wxPyCBH_findCallback(m_myInst
, "GetDataHere")) {
1372 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1374 rval
= (ro
!= Py_None
&& PyString_Check(ro
));
1376 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
));
1380 wxPyEndBlockThreads(blocked
);
1384 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) const{
1385 // For this one we simply need to make a string from buf and len
1386 // and send it to the Python method.
1388 bool blocked
= wxPyBeginBlockThreads();
1389 if (wxPyCBH_findCallback(m_myInst
, "SetData")) {
1390 PyObject
* data
= PyString_FromStringAndSize((char*)buf
, len
);
1391 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", data
));
1394 wxPyEndBlockThreads(blocked
);
1398 // Create a new class for wxPython to use
1399 class wxPyTextDataObject
: public wxTextDataObject
{
1401 wxPyTextDataObject(const wxString
& text
= wxPyEmptyString
)
1402 : wxTextDataObject(text
) {}
1404 DEC_PYCALLBACK_SIZET__const(GetTextLength
);
1405 DEC_PYCALLBACK_STRING__const(GetText
);
1406 DEC_PYCALLBACK__STRING(SetText
);
1410 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
);
1411 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject
, wxTextDataObject
, GetText
);
1412 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
);
1415 // Create a new class for wxPython to use
1416 class wxPyBitmapDataObject
: public wxBitmapDataObject
{
1418 wxPyBitmapDataObject(const wxBitmap
& bitmap
= wxNullBitmap
)
1419 : wxBitmapDataObject(bitmap
) {}
1421 wxBitmap
GetBitmap() const;
1422 void SetBitmap(const wxBitmap
& bitmap
);
1426 wxBitmap
wxPyBitmapDataObject::GetBitmap() const {
1427 wxBitmap
* rval
= &wxNullBitmap
;
1428 bool blocked
= wxPyBeginBlockThreads();
1429 if (wxPyCBH_findCallback(m_myInst
, "GetBitmap")) {
1432 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1434 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxBitmap")))
1439 wxPyEndBlockThreads(blocked
);
1443 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) {
1444 bool blocked
= wxPyBeginBlockThreads();
1445 if (wxPyCBH_findCallback(m_myInst
, "SetBitmap")) {
1446 PyObject
* bo
= wxPyConstructObject((void*)&bitmap
, wxT("wxBitmap"), False
);
1447 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", bo
));
1450 wxPyEndBlockThreads(blocked
);
1453 bool wxCustomDataObject_SetData(wxCustomDataObject
*self
,PyObject
*data
){
1455 bool blocked
= wxPyBeginBlockThreads();
1456 if (PyString_Check(data
)) {
1457 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1460 // raise a TypeError if not a string
1461 PyErr_SetString(PyExc_TypeError
, "String expected.");
1464 wxPyEndBlockThreads(blocked
);
1467 PyObject
*wxCustomDataObject_GetData(wxCustomDataObject
*self
){
1469 bool blocked
= wxPyBeginBlockThreads();
1470 obj
= PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize());
1471 wxPyEndBlockThreads(blocked
);
1475 #include <wx/metafile.h>
1478 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
1481 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
1482 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
1483 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
1484 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
1485 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
1488 class wxPyTextDropTarget
: public wxTextDropTarget
{
1490 wxPyTextDropTarget() {}
1492 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
1494 DEC_PYCALLBACK__(OnLeave
);
1495 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1496 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1497 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
1498 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1503 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
1504 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
1505 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
1506 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
1507 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
1508 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
1512 class wxPyFileDropTarget
: public wxFileDropTarget
{
1514 wxPyFileDropTarget() {}
1516 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
1518 DEC_PYCALLBACK__(OnLeave
);
1519 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1520 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1521 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
1522 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1527 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
1528 const wxArrayString
& filenames
) {
1530 bool blocked
= wxPyBeginBlockThreads();
1531 if (wxPyCBH_findCallback(m_myInst
, "OnDropFiles")) {
1532 PyObject
* list
= wxArrayString2PyList_helper(filenames
);
1533 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",x
,y
,list
));
1536 wxPyEndBlockThreads(blocked
);
1542 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
1543 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
1544 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
1545 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
1546 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
1551 bool wxClipboardLocker___nonzero__(wxClipboardLocker
*self
){ return !!(*self
); }
1553 #include <wx/display.h>
1555 bool wxVideoMode___eq__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
== *other
) : False
; }
1556 bool wxVideoMode___ne__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
!= *other
) : True
; }
1558 // dummy version of wxDisplay for when it is not enabled in the wxWidgets build
1560 #include <wx/dynarray.h>
1561 #include <wx/vidmode.h>
1563 WX_DECLARE_OBJARRAY(wxVideoMode
, wxArrayVideoModes
);
1564 #include "wx/arrimpl.cpp"
1565 WX_DEFINE_OBJARRAY(wxArrayVideoModes
);
1566 const wxVideoMode wxDefaultVideoMode
;
1571 wxDisplay(size_t index
= 0) { wxPyRaiseNotImplemented(); }
1574 static size_t GetCount()
1575 { wxPyRaiseNotImplemented(); return 0; }
1577 static int GetFromPoint(const wxPoint
& pt
)
1578 { wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
1579 static int GetFromWindow(wxWindow
*window
)
1580 { wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
1582 virtual bool IsOk() const { return false; }
1583 virtual wxRect
GetGeometry() const { wxRect r
; return r
; }
1584 virtual wxString
GetName() const { return wxEmptyString
; }
1585 bool IsPrimary() const { return false; }
1587 wxArrayVideoModes
GetModes(const wxVideoMode
& mode
= wxDefaultVideoMode
)
1588 { wxArrayVideoModes a
; return a
; }
1590 virtual wxVideoMode
GetCurrentMode() const
1591 { return wxDefaultVideoMode
; }
1593 virtual bool ChangeMode(const wxVideoMode
& mode
= wxDefaultVideoMode
)
1600 PyObject
*wxDisplay_GetModes(wxDisplay
*self
,wxVideoMode
const &mode
){
1601 PyObject
* pyList
= NULL
;
1602 wxArrayVideoModes arr
= self
->GetModes(mode
);
1603 bool blocked
= wxPyBeginBlockThreads();
1604 pyList
= PyList_New(0);
1605 for (int i
=0; i
< arr
.GetCount(); i
++) {
1606 wxVideoMode
* m
= new wxVideoMode(arr
.Item(i
));
1607 PyObject
* pyObj
= wxPyConstructObject(m
, wxT("wxVideoMode"), true);
1608 PyList_Append(pyList
, pyObj
);
1611 wxPyEndBlockThreads(blocked
);
1617 static PyObject
*_wrap_SystemSettings_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1618 PyObject
*resultobj
;
1621 PyObject
* obj0
= 0 ;
1623 (char *) "index", NULL
1626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetColour",kwnames
,&obj0
)) goto fail
;
1627 arg1
= (wxSystemColour
) SWIG_AsInt(obj0
);
1628 if (PyErr_Occurred()) SWIG_fail
;
1630 if (!wxPyCheckForApp()) SWIG_fail
;
1631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1632 result
= wxSystemSettings::GetColour((wxSystemColour
)arg1
);
1634 wxPyEndAllowThreads(__tstate
);
1635 if (PyErr_Occurred()) SWIG_fail
;
1638 wxColour
* resultptr
;
1639 resultptr
= new wxColour((wxColour
&) result
);
1640 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
1648 static PyObject
*_wrap_SystemSettings_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1649 PyObject
*resultobj
;
1652 PyObject
* obj0
= 0 ;
1654 (char *) "index", NULL
1657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetFont",kwnames
,&obj0
)) goto fail
;
1658 arg1
= (wxSystemFont
) SWIG_AsInt(obj0
);
1659 if (PyErr_Occurred()) SWIG_fail
;
1661 if (!wxPyCheckForApp()) SWIG_fail
;
1662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1663 result
= wxSystemSettings::GetFont((wxSystemFont
)arg1
);
1665 wxPyEndAllowThreads(__tstate
);
1666 if (PyErr_Occurred()) SWIG_fail
;
1670 resultptr
= new wxFont((wxFont
&) result
);
1671 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
1679 static PyObject
*_wrap_SystemSettings_GetMetric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1680 PyObject
*resultobj
;
1683 PyObject
* obj0
= 0 ;
1685 (char *) "index", NULL
1688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetMetric",kwnames
,&obj0
)) goto fail
;
1689 arg1
= (wxSystemMetric
) SWIG_AsInt(obj0
);
1690 if (PyErr_Occurred()) SWIG_fail
;
1692 if (!wxPyCheckForApp()) SWIG_fail
;
1693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1694 result
= (int)wxSystemSettings::GetMetric((wxSystemMetric
)arg1
);
1696 wxPyEndAllowThreads(__tstate
);
1697 if (PyErr_Occurred()) SWIG_fail
;
1699 resultobj
= SWIG_FromInt((int)result
);
1706 static PyObject
*_wrap_SystemSettings_HasFeature(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1707 PyObject
*resultobj
;
1710 PyObject
* obj0
= 0 ;
1712 (char *) "index", NULL
1715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_HasFeature",kwnames
,&obj0
)) goto fail
;
1716 arg1
= (wxSystemFeature
) SWIG_AsInt(obj0
);
1717 if (PyErr_Occurred()) SWIG_fail
;
1719 if (!wxPyCheckForApp()) SWIG_fail
;
1720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1721 result
= (bool)wxSystemSettings::HasFeature((wxSystemFeature
)arg1
);
1723 wxPyEndAllowThreads(__tstate
);
1724 if (PyErr_Occurred()) SWIG_fail
;
1727 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1735 static PyObject
*_wrap_SystemSettings_GetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1736 PyObject
*resultobj
;
1742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SystemSettings_GetScreenType",kwnames
)) goto fail
;
1744 if (!wxPyCheckForApp()) SWIG_fail
;
1745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1746 result
= (int)wxSystemSettings::GetScreenType();
1748 wxPyEndAllowThreads(__tstate
);
1749 if (PyErr_Occurred()) SWIG_fail
;
1751 resultobj
= SWIG_FromInt((int)result
);
1758 static PyObject
*_wrap_SystemSettings_SetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1759 PyObject
*resultobj
;
1761 PyObject
* obj0
= 0 ;
1763 (char *) "screen", NULL
1766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_SetScreenType",kwnames
,&obj0
)) goto fail
;
1767 arg1
= (wxSystemScreenType
) SWIG_AsInt(obj0
);
1768 if (PyErr_Occurred()) SWIG_fail
;
1770 if (!wxPyCheckForApp()) SWIG_fail
;
1771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1772 wxSystemSettings::SetScreenType((wxSystemScreenType
)arg1
);
1774 wxPyEndAllowThreads(__tstate
);
1775 if (PyErr_Occurred()) SWIG_fail
;
1777 Py_INCREF(Py_None
); resultobj
= Py_None
;
1784 static PyObject
* SystemSettings_swigregister(PyObject
*self
, PyObject
*args
) {
1786 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1787 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings
, obj
);
1789 return Py_BuildValue((char *)"");
1791 static PyObject
*_wrap_new_SystemOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1792 PyObject
*resultobj
;
1793 wxSystemOptions
*result
;
1798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SystemOptions",kwnames
)) goto fail
;
1800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1801 result
= (wxSystemOptions
*)new wxSystemOptions();
1803 wxPyEndAllowThreads(__tstate
);
1804 if (PyErr_Occurred()) SWIG_fail
;
1806 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSystemOptions
, 1);
1813 static PyObject
*_wrap_SystemOptions_SetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1814 PyObject
*resultobj
;
1815 wxString
*arg1
= 0 ;
1816 wxString
*arg2
= 0 ;
1817 bool temp1
= False
;
1818 bool temp2
= False
;
1819 PyObject
* obj0
= 0 ;
1820 PyObject
* obj1
= 0 ;
1822 (char *) "name",(char *) "value", NULL
1825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
1827 arg1
= wxString_in_helper(obj0
);
1828 if (arg1
== NULL
) SWIG_fail
;
1832 arg2
= wxString_in_helper(obj1
);
1833 if (arg2
== NULL
) SWIG_fail
;
1837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1838 wxSystemOptions::SetOption((wxString
const &)*arg1
,(wxString
const &)*arg2
);
1840 wxPyEndAllowThreads(__tstate
);
1841 if (PyErr_Occurred()) SWIG_fail
;
1843 Py_INCREF(Py_None
); resultobj
= Py_None
;
1866 static PyObject
*_wrap_SystemOptions_SetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1867 PyObject
*resultobj
;
1868 wxString
*arg1
= 0 ;
1870 bool temp1
= False
;
1871 PyObject
* obj0
= 0 ;
1872 PyObject
* obj1
= 0 ;
1874 (char *) "name",(char *) "value", NULL
1877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
1879 arg1
= wxString_in_helper(obj0
);
1880 if (arg1
== NULL
) SWIG_fail
;
1883 arg2
= (int) SWIG_AsInt(obj1
);
1884 if (PyErr_Occurred()) SWIG_fail
;
1886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1887 wxSystemOptions::SetOption((wxString
const &)*arg1
,arg2
);
1889 wxPyEndAllowThreads(__tstate
);
1890 if (PyErr_Occurred()) SWIG_fail
;
1892 Py_INCREF(Py_None
); resultobj
= Py_None
;
1907 static PyObject
*_wrap_SystemOptions_GetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1908 PyObject
*resultobj
;
1909 wxString
*arg1
= 0 ;
1911 bool temp1
= False
;
1912 PyObject
* obj0
= 0 ;
1914 (char *) "name", NULL
1917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) goto fail
;
1919 arg1
= wxString_in_helper(obj0
);
1920 if (arg1
== NULL
) SWIG_fail
;
1924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1925 result
= wxSystemOptions::GetOption((wxString
const &)*arg1
);
1927 wxPyEndAllowThreads(__tstate
);
1928 if (PyErr_Occurred()) SWIG_fail
;
1932 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1934 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1951 static PyObject
*_wrap_SystemOptions_GetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1952 PyObject
*resultobj
;
1953 wxString
*arg1
= 0 ;
1955 bool temp1
= False
;
1956 PyObject
* obj0
= 0 ;
1958 (char *) "name", NULL
1961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) goto fail
;
1963 arg1
= wxString_in_helper(obj0
);
1964 if (arg1
== NULL
) SWIG_fail
;
1968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1969 result
= (int)wxSystemOptions::GetOptionInt((wxString
const &)*arg1
);
1971 wxPyEndAllowThreads(__tstate
);
1972 if (PyErr_Occurred()) SWIG_fail
;
1974 resultobj
= SWIG_FromInt((int)result
);
1989 static PyObject
*_wrap_SystemOptions_HasOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1990 PyObject
*resultobj
;
1991 wxString
*arg1
= 0 ;
1993 bool temp1
= False
;
1994 PyObject
* obj0
= 0 ;
1996 (char *) "name", NULL
1999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) goto fail
;
2001 arg1
= wxString_in_helper(obj0
);
2002 if (arg1
== NULL
) SWIG_fail
;
2006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2007 result
= (bool)wxSystemOptions::HasOption((wxString
const &)*arg1
);
2009 wxPyEndAllowThreads(__tstate
);
2010 if (PyErr_Occurred()) SWIG_fail
;
2013 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2029 static PyObject
* SystemOptions_swigregister(PyObject
*self
, PyObject
*args
) {
2031 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2032 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions
, obj
);
2034 return Py_BuildValue((char *)"");
2036 static int _wrap_FileSelectorPromptStr_set(PyObject
*_val
) {
2037 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
2042 static PyObject
*_wrap_FileSelectorPromptStr_get() {
2047 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
2049 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
2056 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*_val
) {
2057 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
2062 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
2067 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
2069 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
2076 static int _wrap_DirSelectorPromptStr_set(PyObject
*_val
) {
2077 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
2082 static PyObject
*_wrap_DirSelectorPromptStr_get() {
2087 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
2089 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
2096 static PyObject
*_wrap_NewId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2097 PyObject
*resultobj
;
2103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewId",kwnames
)) goto fail
;
2105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2106 result
= (long)wxNewId();
2108 wxPyEndAllowThreads(__tstate
);
2109 if (PyErr_Occurred()) SWIG_fail
;
2111 resultobj
= SWIG_FromLong((long)result
);
2118 static PyObject
*_wrap_RegisterId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2119 PyObject
*resultobj
;
2121 PyObject
* obj0
= 0 ;
2126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegisterId",kwnames
,&obj0
)) goto fail
;
2127 arg1
= (long) SWIG_AsLong(obj0
);
2128 if (PyErr_Occurred()) SWIG_fail
;
2130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2133 wxPyEndAllowThreads(__tstate
);
2134 if (PyErr_Occurred()) SWIG_fail
;
2136 Py_INCREF(Py_None
); resultobj
= Py_None
;
2143 static PyObject
*_wrap_GetCurrentId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2144 PyObject
*resultobj
;
2150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentId",kwnames
)) goto fail
;
2152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2153 result
= (long)wxGetCurrentId();
2155 wxPyEndAllowThreads(__tstate
);
2156 if (PyErr_Occurred()) SWIG_fail
;
2158 resultobj
= SWIG_FromLong((long)result
);
2165 static PyObject
*_wrap_Bell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2166 PyObject
*resultobj
;
2171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Bell",kwnames
)) goto fail
;
2173 if (!wxPyCheckForApp()) SWIG_fail
;
2174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2177 wxPyEndAllowThreads(__tstate
);
2178 if (PyErr_Occurred()) SWIG_fail
;
2180 Py_INCREF(Py_None
); resultobj
= Py_None
;
2187 static PyObject
*_wrap_EndBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2188 PyObject
*resultobj
;
2193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EndBusyCursor",kwnames
)) goto fail
;
2195 if (!wxPyCheckForApp()) SWIG_fail
;
2196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2199 wxPyEndAllowThreads(__tstate
);
2200 if (PyErr_Occurred()) SWIG_fail
;
2202 Py_INCREF(Py_None
); resultobj
= Py_None
;
2209 static PyObject
*_wrap_GetElapsedTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2210 PyObject
*resultobj
;
2211 bool arg1
= (bool) True
;
2213 PyObject
* obj0
= 0 ;
2215 (char *) "resetTimer", NULL
2218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) goto fail
;
2220 arg1
= (bool) SWIG_AsBool(obj0
);
2221 if (PyErr_Occurred()) SWIG_fail
;
2224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2225 result
= (long)wxGetElapsedTime(arg1
);
2227 wxPyEndAllowThreads(__tstate
);
2228 if (PyErr_Occurred()) SWIG_fail
;
2230 resultobj
= SWIG_FromLong((long)result
);
2237 static PyObject
*_wrap_GetMousePosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2238 PyObject
*resultobj
;
2239 int *arg1
= (int *) 0 ;
2240 int *arg2
= (int *) 0 ;
2249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetMousePosition",kwnames
)) goto fail
;
2251 if (!wxPyCheckForApp()) SWIG_fail
;
2252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2253 wxGetMousePosition(arg1
,arg2
);
2255 wxPyEndAllowThreads(__tstate
);
2256 if (PyErr_Occurred()) SWIG_fail
;
2258 Py_INCREF(Py_None
); resultobj
= Py_None
;
2260 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
2261 resultobj
= t_output_helper(resultobj
,o
);
2264 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
2265 resultobj
= t_output_helper(resultobj
,o
);
2273 static PyObject
*_wrap_IsBusy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2274 PyObject
*resultobj
;
2280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IsBusy",kwnames
)) goto fail
;
2282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2283 result
= (bool)wxIsBusy();
2285 wxPyEndAllowThreads(__tstate
);
2286 if (PyErr_Occurred()) SWIG_fail
;
2289 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2297 static PyObject
*_wrap_Now(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2298 PyObject
*resultobj
;
2304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Now",kwnames
)) goto fail
;
2306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2309 wxPyEndAllowThreads(__tstate
);
2310 if (PyErr_Occurred()) SWIG_fail
;
2314 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2316 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2325 static PyObject
*_wrap_Shell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2326 PyObject
*resultobj
;
2327 wxString
const &arg1_defvalue
= wxPyEmptyString
;
2328 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2330 bool temp1
= False
;
2331 PyObject
* obj0
= 0 ;
2333 (char *) "command", NULL
2336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) goto fail
;
2339 arg1
= wxString_in_helper(obj0
);
2340 if (arg1
== NULL
) SWIG_fail
;
2345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2346 result
= (bool)wxShell((wxString
const &)*arg1
);
2348 wxPyEndAllowThreads(__tstate
);
2349 if (PyErr_Occurred()) SWIG_fail
;
2352 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2368 static PyObject
*_wrap_StartTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2369 PyObject
*resultobj
;
2374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StartTimer",kwnames
)) goto fail
;
2376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2379 wxPyEndAllowThreads(__tstate
);
2380 if (PyErr_Occurred()) SWIG_fail
;
2382 Py_INCREF(Py_None
); resultobj
= Py_None
;
2389 static PyObject
*_wrap_GetOsVersion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2390 PyObject
*resultobj
;
2391 int *arg1
= (int *) 0 ;
2392 int *arg2
= (int *) 0 ;
2402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsVersion",kwnames
)) goto fail
;
2404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2405 result
= (int)wxGetOsVersion(arg1
,arg2
);
2407 wxPyEndAllowThreads(__tstate
);
2408 if (PyErr_Occurred()) SWIG_fail
;
2410 resultobj
= SWIG_FromInt((int)result
);
2412 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
2413 resultobj
= t_output_helper(resultobj
,o
);
2416 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
2417 resultobj
= t_output_helper(resultobj
,o
);
2425 static PyObject
*_wrap_GetOsDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2426 PyObject
*resultobj
;
2432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsDescription",kwnames
)) goto fail
;
2434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2435 result
= wxGetOsDescription();
2437 wxPyEndAllowThreads(__tstate
);
2438 if (PyErr_Occurred()) SWIG_fail
;
2442 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2444 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2453 static PyObject
*_wrap_GetFreeMemory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2454 PyObject
*resultobj
;
2460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFreeMemory",kwnames
)) goto fail
;
2462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2463 result
= (long)wxGetFreeMemory();
2465 wxPyEndAllowThreads(__tstate
);
2466 if (PyErr_Occurred()) SWIG_fail
;
2468 resultobj
= SWIG_FromLong((long)result
);
2475 static PyObject
*_wrap_Shutdown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2476 PyObject
*resultobj
;
2479 PyObject
* obj0
= 0 ;
2481 (char *) "wFlags", NULL
2484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Shutdown",kwnames
,&obj0
)) goto fail
;
2485 arg1
= (wxShutdownFlags
) SWIG_AsInt(obj0
);
2486 if (PyErr_Occurred()) SWIG_fail
;
2488 if (!wxPyCheckForApp()) SWIG_fail
;
2489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2490 result
= (bool)wxShutdown((wxShutdownFlags
)arg1
);
2492 wxPyEndAllowThreads(__tstate
);
2493 if (PyErr_Occurred()) SWIG_fail
;
2496 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2504 static PyObject
*_wrap_Sleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2505 PyObject
*resultobj
;
2507 PyObject
* obj0
= 0 ;
2509 (char *) "secs", NULL
2512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sleep",kwnames
,&obj0
)) goto fail
;
2513 arg1
= (int) SWIG_AsInt(obj0
);
2514 if (PyErr_Occurred()) SWIG_fail
;
2516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2519 wxPyEndAllowThreads(__tstate
);
2520 if (PyErr_Occurred()) SWIG_fail
;
2522 Py_INCREF(Py_None
); resultobj
= Py_None
;
2529 static PyObject
*_wrap_Usleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2530 PyObject
*resultobj
;
2531 unsigned long arg1
;
2532 PyObject
* obj0
= 0 ;
2534 (char *) "milliseconds", NULL
2537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Usleep",kwnames
,&obj0
)) goto fail
;
2538 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
2539 if (PyErr_Occurred()) SWIG_fail
;
2541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2544 wxPyEndAllowThreads(__tstate
);
2545 if (PyErr_Occurred()) SWIG_fail
;
2547 Py_INCREF(Py_None
); resultobj
= Py_None
;
2554 static PyObject
*_wrap_EnableTopLevelWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2555 PyObject
*resultobj
;
2557 PyObject
* obj0
= 0 ;
2559 (char *) "enable", NULL
2562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) goto fail
;
2563 arg1
= (bool) SWIG_AsBool(obj0
);
2564 if (PyErr_Occurred()) SWIG_fail
;
2566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2567 wxEnableTopLevelWindows(arg1
);
2569 wxPyEndAllowThreads(__tstate
);
2570 if (PyErr_Occurred()) SWIG_fail
;
2572 Py_INCREF(Py_None
); resultobj
= Py_None
;
2579 static PyObject
*_wrap_StripMenuCodes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2580 PyObject
*resultobj
;
2581 wxString
*arg1
= 0 ;
2583 bool temp1
= False
;
2584 PyObject
* obj0
= 0 ;
2589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) goto fail
;
2591 arg1
= wxString_in_helper(obj0
);
2592 if (arg1
== NULL
) SWIG_fail
;
2596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2597 result
= wxStripMenuCodes((wxString
const &)*arg1
);
2599 wxPyEndAllowThreads(__tstate
);
2600 if (PyErr_Occurred()) SWIG_fail
;
2604 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2606 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2623 static PyObject
*_wrap_GetEmailAddress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2624 PyObject
*resultobj
;
2630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetEmailAddress",kwnames
)) goto fail
;
2632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2633 result
= wxGetEmailAddress();
2635 wxPyEndAllowThreads(__tstate
);
2636 if (PyErr_Occurred()) SWIG_fail
;
2640 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2642 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2651 static PyObject
*_wrap_GetHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2652 PyObject
*resultobj
;
2658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHostName",kwnames
)) goto fail
;
2660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2661 result
= wxGetHostName();
2663 wxPyEndAllowThreads(__tstate
);
2664 if (PyErr_Occurred()) SWIG_fail
;
2668 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2670 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2679 static PyObject
*_wrap_GetFullHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2680 PyObject
*resultobj
;
2686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFullHostName",kwnames
)) goto fail
;
2688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2689 result
= wxGetFullHostName();
2691 wxPyEndAllowThreads(__tstate
);
2692 if (PyErr_Occurred()) SWIG_fail
;
2696 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2698 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2707 static PyObject
*_wrap_GetUserId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2708 PyObject
*resultobj
;
2714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserId",kwnames
)) goto fail
;
2716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2717 result
= wxGetUserId();
2719 wxPyEndAllowThreads(__tstate
);
2720 if (PyErr_Occurred()) SWIG_fail
;
2724 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2726 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2735 static PyObject
*_wrap_GetUserName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2736 PyObject
*resultobj
;
2742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserName",kwnames
)) goto fail
;
2744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2745 result
= wxGetUserName();
2747 wxPyEndAllowThreads(__tstate
);
2748 if (PyErr_Occurred()) SWIG_fail
;
2752 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2754 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2763 static PyObject
*_wrap_GetHomeDir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2764 PyObject
*resultobj
;
2770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHomeDir",kwnames
)) goto fail
;
2772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2773 result
= wxGetHomeDir();
2775 wxPyEndAllowThreads(__tstate
);
2776 if (PyErr_Occurred()) SWIG_fail
;
2780 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2782 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2791 static PyObject
*_wrap_GetUserHome(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2792 PyObject
*resultobj
;
2793 wxString
const &arg1_defvalue
= wxPyEmptyString
;
2794 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2796 bool temp1
= False
;
2797 PyObject
* obj0
= 0 ;
2799 (char *) "user", NULL
2802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) goto fail
;
2805 arg1
= wxString_in_helper(obj0
);
2806 if (arg1
== NULL
) SWIG_fail
;
2811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2812 result
= wxGetUserHome((wxString
const &)*arg1
);
2814 wxPyEndAllowThreads(__tstate
);
2815 if (PyErr_Occurred()) SWIG_fail
;
2819 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2821 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2838 static PyObject
*_wrap_GetProcessId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2839 PyObject
*resultobj
;
2840 unsigned long result
;
2845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetProcessId",kwnames
)) goto fail
;
2847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2848 result
= (unsigned long)wxGetProcessId();
2850 wxPyEndAllowThreads(__tstate
);
2851 if (PyErr_Occurred()) SWIG_fail
;
2853 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
2860 static PyObject
*_wrap_Trap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2861 PyObject
*resultobj
;
2866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Trap",kwnames
)) goto fail
;
2868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2871 wxPyEndAllowThreads(__tstate
);
2872 if (PyErr_Occurred()) SWIG_fail
;
2874 Py_INCREF(Py_None
); resultobj
= Py_None
;
2881 static PyObject
*_wrap_FileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2882 PyObject
*resultobj
;
2883 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
2884 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2885 wxString
const &arg2_defvalue
= wxPyEmptyString
;
2886 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
2887 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2888 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2889 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2890 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2891 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
2892 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
2893 int arg6
= (int) 0 ;
2894 wxWindow
*arg7
= (wxWindow
*) NULL
;
2895 int arg8
= (int) -1 ;
2896 int arg9
= (int) -1 ;
2898 bool temp1
= False
;
2899 bool temp2
= False
;
2900 bool temp3
= False
;
2901 bool temp4
= False
;
2902 bool temp5
= False
;
2903 PyObject
* obj0
= 0 ;
2904 PyObject
* obj1
= 0 ;
2905 PyObject
* obj2
= 0 ;
2906 PyObject
* obj3
= 0 ;
2907 PyObject
* obj4
= 0 ;
2908 PyObject
* obj5
= 0 ;
2909 PyObject
* obj6
= 0 ;
2910 PyObject
* obj7
= 0 ;
2911 PyObject
* obj8
= 0 ;
2913 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
2916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOOOO:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2919 arg1
= wxString_in_helper(obj0
);
2920 if (arg1
== NULL
) SWIG_fail
;
2926 arg2
= wxString_in_helper(obj1
);
2927 if (arg2
== NULL
) SWIG_fail
;
2933 arg3
= wxString_in_helper(obj2
);
2934 if (arg3
== NULL
) SWIG_fail
;
2940 arg4
= wxString_in_helper(obj3
);
2941 if (arg4
== NULL
) SWIG_fail
;
2947 arg5
= wxString_in_helper(obj4
);
2948 if (arg5
== NULL
) SWIG_fail
;
2953 arg6
= (int) SWIG_AsInt(obj5
);
2954 if (PyErr_Occurred()) SWIG_fail
;
2957 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxWindow
,
2958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2961 arg8
= (int) SWIG_AsInt(obj7
);
2962 if (PyErr_Occurred()) SWIG_fail
;
2965 arg9
= (int) SWIG_AsInt(obj8
);
2966 if (PyErr_Occurred()) SWIG_fail
;
2969 if (!wxPyCheckForApp()) SWIG_fail
;
2970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2971 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
2973 wxPyEndAllowThreads(__tstate
);
2974 if (PyErr_Occurred()) SWIG_fail
;
2978 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2980 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3029 static PyObject
*_wrap_LoadFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3030 PyObject
*resultobj
;
3031 wxString
*arg1
= 0 ;
3032 wxString
*arg2
= 0 ;
3033 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3034 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3035 wxWindow
*arg4
= (wxWindow
*) NULL
;
3037 bool temp1
= False
;
3038 bool temp2
= False
;
3039 bool temp3
= False
;
3040 PyObject
* obj0
= 0 ;
3041 PyObject
* obj1
= 0 ;
3042 PyObject
* obj2
= 0 ;
3043 PyObject
* obj3
= 0 ;
3045 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
3048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3050 arg1
= wxString_in_helper(obj0
);
3051 if (arg1
== NULL
) SWIG_fail
;
3055 arg2
= wxString_in_helper(obj1
);
3056 if (arg2
== NULL
) SWIG_fail
;
3061 arg3
= wxString_in_helper(obj2
);
3062 if (arg3
== NULL
) SWIG_fail
;
3067 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3071 if (!wxPyCheckForApp()) SWIG_fail
;
3072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3073 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3075 wxPyEndAllowThreads(__tstate
);
3076 if (PyErr_Occurred()) SWIG_fail
;
3080 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3082 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3115 static PyObject
*_wrap_SaveFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3116 PyObject
*resultobj
;
3117 wxString
*arg1
= 0 ;
3118 wxString
*arg2
= 0 ;
3119 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3120 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3121 wxWindow
*arg4
= (wxWindow
*) NULL
;
3123 bool temp1
= False
;
3124 bool temp2
= False
;
3125 bool temp3
= False
;
3126 PyObject
* obj0
= 0 ;
3127 PyObject
* obj1
= 0 ;
3128 PyObject
* obj2
= 0 ;
3129 PyObject
* obj3
= 0 ;
3131 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
3134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3136 arg1
= wxString_in_helper(obj0
);
3137 if (arg1
== NULL
) SWIG_fail
;
3141 arg2
= wxString_in_helper(obj1
);
3142 if (arg2
== NULL
) SWIG_fail
;
3147 arg3
= wxString_in_helper(obj2
);
3148 if (arg3
== NULL
) SWIG_fail
;
3153 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3157 if (!wxPyCheckForApp()) SWIG_fail
;
3158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3159 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3161 wxPyEndAllowThreads(__tstate
);
3162 if (PyErr_Occurred()) SWIG_fail
;
3166 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3168 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3201 static PyObject
*_wrap_DirSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3202 PyObject
*resultobj
;
3203 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
3204 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3205 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3206 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3207 long arg3
= (long) wxDD_DEFAULT_STYLE
;
3208 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3209 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3210 wxWindow
*arg5
= (wxWindow
*) NULL
;
3212 bool temp1
= False
;
3213 bool temp2
= False
;
3215 PyObject
* obj0
= 0 ;
3216 PyObject
* obj1
= 0 ;
3217 PyObject
* obj2
= 0 ;
3218 PyObject
* obj3
= 0 ;
3219 PyObject
* obj4
= 0 ;
3221 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
3224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:DirSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3227 arg1
= wxString_in_helper(obj0
);
3228 if (arg1
== NULL
) SWIG_fail
;
3234 arg2
= wxString_in_helper(obj1
);
3235 if (arg2
== NULL
) SWIG_fail
;
3240 arg3
= (long) SWIG_AsLong(obj2
);
3241 if (PyErr_Occurred()) SWIG_fail
;
3246 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3250 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3254 if (!wxPyCheckForApp()) SWIG_fail
;
3255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3256 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
3258 wxPyEndAllowThreads(__tstate
);
3259 if (PyErr_Occurred()) SWIG_fail
;
3263 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3265 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3290 static PyObject
*_wrap_GetTextFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3291 PyObject
*resultobj
;
3292 wxString
*arg1
= 0 ;
3293 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3294 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3295 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3296 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3297 wxWindow
*arg4
= (wxWindow
*) NULL
;
3298 int arg5
= (int) -1 ;
3299 int arg6
= (int) -1 ;
3300 bool arg7
= (bool) True
;
3302 bool temp1
= False
;
3303 bool temp2
= False
;
3304 bool temp3
= False
;
3305 PyObject
* obj0
= 0 ;
3306 PyObject
* obj1
= 0 ;
3307 PyObject
* obj2
= 0 ;
3308 PyObject
* obj3
= 0 ;
3309 PyObject
* obj4
= 0 ;
3310 PyObject
* obj5
= 0 ;
3311 PyObject
* obj6
= 0 ;
3313 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
3316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3318 arg1
= wxString_in_helper(obj0
);
3319 if (arg1
== NULL
) SWIG_fail
;
3324 arg2
= wxString_in_helper(obj1
);
3325 if (arg2
== NULL
) SWIG_fail
;
3331 arg3
= wxString_in_helper(obj2
);
3332 if (arg3
== NULL
) SWIG_fail
;
3337 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3341 arg5
= (int) SWIG_AsInt(obj4
);
3342 if (PyErr_Occurred()) SWIG_fail
;
3345 arg6
= (int) SWIG_AsInt(obj5
);
3346 if (PyErr_Occurred()) SWIG_fail
;
3349 arg7
= (bool) SWIG_AsBool(obj6
);
3350 if (PyErr_Occurred()) SWIG_fail
;
3353 if (!wxPyCheckForApp()) SWIG_fail
;
3354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3355 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
3357 wxPyEndAllowThreads(__tstate
);
3358 if (PyErr_Occurred()) SWIG_fail
;
3362 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3364 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3397 static PyObject
*_wrap_GetPasswordFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3398 PyObject
*resultobj
;
3399 wxString
*arg1
= 0 ;
3400 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3401 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3402 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3403 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3404 wxWindow
*arg4
= (wxWindow
*) NULL
;
3406 bool temp1
= False
;
3407 bool temp2
= False
;
3408 bool temp3
= False
;
3409 PyObject
* obj0
= 0 ;
3410 PyObject
* obj1
= 0 ;
3411 PyObject
* obj2
= 0 ;
3412 PyObject
* obj3
= 0 ;
3414 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
3417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3419 arg1
= wxString_in_helper(obj0
);
3420 if (arg1
== NULL
) SWIG_fail
;
3425 arg2
= wxString_in_helper(obj1
);
3426 if (arg2
== NULL
) SWIG_fail
;
3432 arg3
= wxString_in_helper(obj2
);
3433 if (arg3
== NULL
) SWIG_fail
;
3438 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3442 if (!wxPyCheckForApp()) SWIG_fail
;
3443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3444 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3446 wxPyEndAllowThreads(__tstate
);
3447 if (PyErr_Occurred()) SWIG_fail
;
3451 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3453 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3486 static PyObject
*_wrap_GetSingleChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3487 PyObject
*resultobj
;
3488 wxString
*arg1
= 0 ;
3489 wxString
*arg2
= 0 ;
3491 wxString
*arg4
= (wxString
*) 0 ;
3492 wxWindow
*arg5
= (wxWindow
*) NULL
;
3493 int arg6
= (int) -1 ;
3494 int arg7
= (int) -1 ;
3495 bool arg8
= (bool) True
;
3496 int arg9
= (int) 150 ;
3497 int arg10
= (int) 200 ;
3499 bool temp1
= False
;
3500 bool temp2
= False
;
3501 PyObject
* obj0
= 0 ;
3502 PyObject
* obj1
= 0 ;
3503 PyObject
* obj2
= 0 ;
3504 PyObject
* obj3
= 0 ;
3505 PyObject
* obj4
= 0 ;
3506 PyObject
* obj5
= 0 ;
3507 PyObject
* obj6
= 0 ;
3508 PyObject
* obj7
= 0 ;
3509 PyObject
* obj8
= 0 ;
3511 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3516 arg1
= wxString_in_helper(obj0
);
3517 if (arg1
== NULL
) SWIG_fail
;
3521 arg2
= wxString_in_helper(obj1
);
3522 if (arg2
== NULL
) SWIG_fail
;
3526 arg3
= PyList_Size(obj2
);
3527 arg4
= wxString_LIST_helper(obj2
);
3528 if (arg4
== NULL
) SWIG_fail
;
3531 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3535 arg6
= (int) SWIG_AsInt(obj4
);
3536 if (PyErr_Occurred()) SWIG_fail
;
3539 arg7
= (int) SWIG_AsInt(obj5
);
3540 if (PyErr_Occurred()) SWIG_fail
;
3543 arg8
= (bool) SWIG_AsBool(obj6
);
3544 if (PyErr_Occurred()) SWIG_fail
;
3547 arg9
= (int) SWIG_AsInt(obj7
);
3548 if (PyErr_Occurred()) SWIG_fail
;
3551 arg10
= (int) SWIG_AsInt(obj8
);
3552 if (PyErr_Occurred()) SWIG_fail
;
3555 if (!wxPyCheckForApp()) SWIG_fail
;
3556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3557 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
3559 wxPyEndAllowThreads(__tstate
);
3560 if (PyErr_Occurred()) SWIG_fail
;
3564 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3566 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3578 if (arg4
) delete [] arg4
;
3591 if (arg4
) delete [] arg4
;
3597 static PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3598 PyObject
*resultobj
;
3599 wxString
*arg1
= 0 ;
3600 wxString
*arg2
= 0 ;
3602 wxString
*arg4
= (wxString
*) 0 ;
3603 wxWindow
*arg5
= (wxWindow
*) NULL
;
3604 int arg6
= (int) -1 ;
3605 int arg7
= (int) -1 ;
3606 bool arg8
= (bool) True
;
3607 int arg9
= (int) 150 ;
3608 int arg10
= (int) 200 ;
3610 bool temp1
= False
;
3611 bool temp2
= False
;
3612 PyObject
* obj0
= 0 ;
3613 PyObject
* obj1
= 0 ;
3614 PyObject
* obj2
= 0 ;
3615 PyObject
* obj3
= 0 ;
3616 PyObject
* obj4
= 0 ;
3617 PyObject
* obj5
= 0 ;
3618 PyObject
* obj6
= 0 ;
3619 PyObject
* obj7
= 0 ;
3620 PyObject
* obj8
= 0 ;
3622 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3627 arg1
= wxString_in_helper(obj0
);
3628 if (arg1
== NULL
) SWIG_fail
;
3632 arg2
= wxString_in_helper(obj1
);
3633 if (arg2
== NULL
) SWIG_fail
;
3637 arg3
= PyList_Size(obj2
);
3638 arg4
= wxString_LIST_helper(obj2
);
3639 if (arg4
== NULL
) SWIG_fail
;
3642 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3646 arg6
= (int) SWIG_AsInt(obj4
);
3647 if (PyErr_Occurred()) SWIG_fail
;
3650 arg7
= (int) SWIG_AsInt(obj5
);
3651 if (PyErr_Occurred()) SWIG_fail
;
3654 arg8
= (bool) SWIG_AsBool(obj6
);
3655 if (PyErr_Occurred()) SWIG_fail
;
3658 arg9
= (int) SWIG_AsInt(obj7
);
3659 if (PyErr_Occurred()) SWIG_fail
;
3662 arg10
= (int) SWIG_AsInt(obj8
);
3663 if (PyErr_Occurred()) SWIG_fail
;
3666 if (!wxPyCheckForApp()) SWIG_fail
;
3667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3668 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
3670 wxPyEndAllowThreads(__tstate
);
3671 if (PyErr_Occurred()) SWIG_fail
;
3673 resultobj
= SWIG_FromInt((int)result
);
3683 if (arg4
) delete [] arg4
;
3696 if (arg4
) delete [] arg4
;
3702 static PyObject
*_wrap_MessageBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3703 PyObject
*resultobj
;
3704 wxString
*arg1
= 0 ;
3705 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3706 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3707 int arg3
= (int) wxOK
|wxCENTRE
;
3708 wxWindow
*arg4
= (wxWindow
*) NULL
;
3709 int arg5
= (int) -1 ;
3710 int arg6
= (int) -1 ;
3712 bool temp1
= False
;
3713 bool temp2
= False
;
3714 PyObject
* obj0
= 0 ;
3715 PyObject
* obj1
= 0 ;
3716 PyObject
* obj2
= 0 ;
3717 PyObject
* obj3
= 0 ;
3718 PyObject
* obj4
= 0 ;
3719 PyObject
* obj5
= 0 ;
3721 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
3724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:MessageBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
3726 arg1
= wxString_in_helper(obj0
);
3727 if (arg1
== NULL
) SWIG_fail
;
3732 arg2
= wxString_in_helper(obj1
);
3733 if (arg2
== NULL
) SWIG_fail
;
3738 arg3
= (int) SWIG_AsInt(obj2
);
3739 if (PyErr_Occurred()) SWIG_fail
;
3742 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3746 arg5
= (int) SWIG_AsInt(obj4
);
3747 if (PyErr_Occurred()) SWIG_fail
;
3750 arg6
= (int) SWIG_AsInt(obj5
);
3751 if (PyErr_Occurred()) SWIG_fail
;
3754 if (!wxPyCheckForApp()) SWIG_fail
;
3755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3756 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
3758 wxPyEndAllowThreads(__tstate
);
3759 if (PyErr_Occurred()) SWIG_fail
;
3761 resultobj
= SWIG_FromInt((int)result
);
3784 static PyObject
*_wrap_GetNumberFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3785 PyObject
*resultobj
;
3786 wxString
*arg1
= 0 ;
3787 wxString
*arg2
= 0 ;
3788 wxString
*arg3
= 0 ;
3790 long arg5
= (long) 0 ;
3791 long arg6
= (long) 100 ;
3792 wxWindow
*arg7
= (wxWindow
*) NULL
;
3793 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
3794 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
3796 bool temp1
= False
;
3797 bool temp2
= False
;
3798 bool temp3
= False
;
3800 PyObject
* obj0
= 0 ;
3801 PyObject
* obj1
= 0 ;
3802 PyObject
* obj2
= 0 ;
3803 PyObject
* obj3
= 0 ;
3804 PyObject
* obj4
= 0 ;
3805 PyObject
* obj5
= 0 ;
3806 PyObject
* obj6
= 0 ;
3807 PyObject
* obj7
= 0 ;
3809 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
3812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3814 arg1
= wxString_in_helper(obj0
);
3815 if (arg1
== NULL
) SWIG_fail
;
3819 arg2
= wxString_in_helper(obj1
);
3820 if (arg2
== NULL
) SWIG_fail
;
3824 arg3
= wxString_in_helper(obj2
);
3825 if (arg3
== NULL
) SWIG_fail
;
3828 arg4
= (long) SWIG_AsLong(obj3
);
3829 if (PyErr_Occurred()) SWIG_fail
;
3831 arg5
= (long) SWIG_AsLong(obj4
);
3832 if (PyErr_Occurred()) SWIG_fail
;
3835 arg6
= (long) SWIG_AsLong(obj5
);
3836 if (PyErr_Occurred()) SWIG_fail
;
3839 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxWindow
,
3840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3845 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
3849 if (!wxPyCheckForApp()) SWIG_fail
;
3850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3851 result
= (long)wxGetNumberFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
3853 wxPyEndAllowThreads(__tstate
);
3854 if (PyErr_Occurred()) SWIG_fail
;
3856 resultobj
= SWIG_FromLong((long)result
);
3887 static PyObject
*_wrap_ColourDisplay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3888 PyObject
*resultobj
;
3894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ColourDisplay",kwnames
)) goto fail
;
3896 if (!wxPyCheckForApp()) SWIG_fail
;
3897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3898 result
= (bool)wxColourDisplay();
3900 wxPyEndAllowThreads(__tstate
);
3901 if (PyErr_Occurred()) SWIG_fail
;
3904 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3912 static PyObject
*_wrap_DisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3913 PyObject
*resultobj
;
3919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplayDepth",kwnames
)) goto fail
;
3921 if (!wxPyCheckForApp()) SWIG_fail
;
3922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3923 result
= (int)wxDisplayDepth();
3925 wxPyEndAllowThreads(__tstate
);
3926 if (PyErr_Occurred()) SWIG_fail
;
3928 resultobj
= SWIG_FromInt((int)result
);
3935 static PyObject
*_wrap_GetDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3936 PyObject
*resultobj
;
3942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplayDepth",kwnames
)) goto fail
;
3944 if (!wxPyCheckForApp()) SWIG_fail
;
3945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3946 result
= (int)wxGetDisplayDepth();
3948 wxPyEndAllowThreads(__tstate
);
3949 if (PyErr_Occurred()) SWIG_fail
;
3951 resultobj
= SWIG_FromInt((int)result
);
3958 static PyObject
*_wrap_DisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3959 PyObject
*resultobj
;
3960 int *arg1
= (int *) 0 ;
3961 int *arg2
= (int *) 0 ;
3970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySize",kwnames
)) goto fail
;
3972 if (!wxPyCheckForApp()) SWIG_fail
;
3973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3974 wxDisplaySize(arg1
,arg2
);
3976 wxPyEndAllowThreads(__tstate
);
3977 if (PyErr_Occurred()) SWIG_fail
;
3979 Py_INCREF(Py_None
); resultobj
= Py_None
;
3981 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
3982 resultobj
= t_output_helper(resultobj
,o
);
3985 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3986 resultobj
= t_output_helper(resultobj
,o
);
3994 static PyObject
*_wrap_GetDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3995 PyObject
*resultobj
;
4001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySize",kwnames
)) goto fail
;
4003 if (!wxPyCheckForApp()) SWIG_fail
;
4004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4005 result
= wxGetDisplaySize();
4007 wxPyEndAllowThreads(__tstate
);
4008 if (PyErr_Occurred()) SWIG_fail
;
4012 resultptr
= new wxSize((wxSize
&) result
);
4013 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
4021 static PyObject
*_wrap_DisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4022 PyObject
*resultobj
;
4023 int *arg1
= (int *) 0 ;
4024 int *arg2
= (int *) 0 ;
4033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySizeMM",kwnames
)) goto fail
;
4035 if (!wxPyCheckForApp()) SWIG_fail
;
4036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4037 wxDisplaySizeMM(arg1
,arg2
);
4039 wxPyEndAllowThreads(__tstate
);
4040 if (PyErr_Occurred()) SWIG_fail
;
4042 Py_INCREF(Py_None
); resultobj
= Py_None
;
4044 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
4045 resultobj
= t_output_helper(resultobj
,o
);
4048 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4049 resultobj
= t_output_helper(resultobj
,o
);
4057 static PyObject
*_wrap_GetDisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4058 PyObject
*resultobj
;
4064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySizeMM",kwnames
)) goto fail
;
4066 if (!wxPyCheckForApp()) SWIG_fail
;
4067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4068 result
= wxGetDisplaySizeMM();
4070 wxPyEndAllowThreads(__tstate
);
4071 if (PyErr_Occurred()) SWIG_fail
;
4075 resultptr
= new wxSize((wxSize
&) result
);
4076 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
4084 static PyObject
*_wrap_ClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4085 PyObject
*resultobj
;
4086 int *arg1
= (int *) 0 ;
4087 int *arg2
= (int *) 0 ;
4088 int *arg3
= (int *) 0 ;
4089 int *arg4
= (int *) 0 ;
4102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ClientDisplayRect",kwnames
)) goto fail
;
4104 if (!wxPyCheckForApp()) SWIG_fail
;
4105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4106 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
4108 wxPyEndAllowThreads(__tstate
);
4109 if (PyErr_Occurred()) SWIG_fail
;
4111 Py_INCREF(Py_None
); resultobj
= Py_None
;
4113 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
4114 resultobj
= t_output_helper(resultobj
,o
);
4117 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4118 resultobj
= t_output_helper(resultobj
,o
);
4121 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4122 resultobj
= t_output_helper(resultobj
,o
);
4125 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
4126 resultobj
= t_output_helper(resultobj
,o
);
4134 static PyObject
*_wrap_GetClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4135 PyObject
*resultobj
;
4141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetClientDisplayRect",kwnames
)) goto fail
;
4143 if (!wxPyCheckForApp()) SWIG_fail
;
4144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4145 result
= wxGetClientDisplayRect();
4147 wxPyEndAllowThreads(__tstate
);
4148 if (PyErr_Occurred()) SWIG_fail
;
4152 resultptr
= new wxRect((wxRect
&) result
);
4153 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
4161 static PyObject
*_wrap_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4162 PyObject
*resultobj
;
4163 wxCursor
*arg1
= 0 ;
4164 PyObject
* obj0
= 0 ;
4166 (char *) "cursor", NULL
4169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) goto fail
;
4170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4171 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4174 PyErr_SetString(PyExc_TypeError
,"null reference");
4178 if (!wxPyCheckForApp()) SWIG_fail
;
4179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4182 wxPyEndAllowThreads(__tstate
);
4183 if (PyErr_Occurred()) SWIG_fail
;
4185 Py_INCREF(Py_None
); resultobj
= Py_None
;
4192 static PyObject
*_wrap_BeginBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4193 PyObject
*resultobj
;
4194 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
4195 PyObject
* obj0
= 0 ;
4197 (char *) "cursor", NULL
4200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) goto fail
;
4202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4206 if (!wxPyCheckForApp()) SWIG_fail
;
4207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4208 wxBeginBusyCursor(arg1
);
4210 wxPyEndAllowThreads(__tstate
);
4211 if (PyErr_Occurred()) SWIG_fail
;
4213 Py_INCREF(Py_None
); resultobj
= Py_None
;
4220 static PyObject
*_wrap_GetActiveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4221 PyObject
*resultobj
;
4227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetActiveWindow",kwnames
)) goto fail
;
4229 if (!wxPyCheckForApp()) SWIG_fail
;
4230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4231 result
= (wxWindow
*)wxGetActiveWindow();
4233 wxPyEndAllowThreads(__tstate
);
4234 if (PyErr_Occurred()) SWIG_fail
;
4237 resultobj
= wxPyMake_wxObject(result
);
4245 static PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4246 PyObject
*resultobj
;
4250 PyObject
* obj0
= 0 ;
4255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
4258 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4261 if (!wxPyCheckForApp()) SWIG_fail
;
4262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4263 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
4265 wxPyEndAllowThreads(__tstate
);
4266 if (PyErr_Occurred()) SWIG_fail
;
4269 resultobj
= wxPyMake_wxObject(result
);
4277 static PyObject
*_wrap_FindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4278 PyObject
*resultobj
;
4282 PyObject
* obj0
= 0 ;
4287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
4290 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4293 if (!wxPyCheckForApp()) SWIG_fail
;
4294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4295 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
4297 wxPyEndAllowThreads(__tstate
);
4298 if (PyErr_Occurred()) SWIG_fail
;
4301 resultobj
= wxPyMake_wxObject(result
);
4309 static PyObject
*_wrap_GetTopLevelParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4310 PyObject
*resultobj
;
4311 wxWindow
*arg1
= (wxWindow
*) 0 ;
4313 PyObject
* obj0
= 0 ;
4315 (char *) "win", NULL
4318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) goto fail
;
4319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4322 if (!wxPyCheckForApp()) SWIG_fail
;
4323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4324 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
4326 wxPyEndAllowThreads(__tstate
);
4327 if (PyErr_Occurred()) SWIG_fail
;
4330 resultobj
= wxPyMake_wxObject(result
);
4338 static PyObject
*_wrap_GetKeyState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4339 PyObject
*resultobj
;
4342 PyObject
* obj0
= 0 ;
4344 (char *) "key", NULL
4347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetKeyState",kwnames
,&obj0
)) goto fail
;
4348 arg1
= (wxKeyCode
) SWIG_AsInt(obj0
);
4349 if (PyErr_Occurred()) SWIG_fail
;
4351 if (!wxPyCheckForApp()) SWIG_fail
;
4352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4353 result
= (bool)wxGetKeyState((wxKeyCode
)arg1
);
4355 wxPyEndAllowThreads(__tstate
);
4356 if (PyErr_Occurred()) SWIG_fail
;
4359 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4367 static PyObject
*_wrap_WakeUpMainThread(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4368 PyObject
*resultobj
;
4373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpMainThread",kwnames
)) goto fail
;
4375 if (!wxPyCheckForApp()) SWIG_fail
;
4376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4377 wxWakeUpMainThread();
4379 wxPyEndAllowThreads(__tstate
);
4380 if (PyErr_Occurred()) SWIG_fail
;
4382 Py_INCREF(Py_None
); resultobj
= Py_None
;
4389 static PyObject
*_wrap_MutexGuiEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4390 PyObject
*resultobj
;
4395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiEnter",kwnames
)) goto fail
;
4397 if (!wxPyCheckForApp()) SWIG_fail
;
4398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4401 wxPyEndAllowThreads(__tstate
);
4402 if (PyErr_Occurred()) SWIG_fail
;
4404 Py_INCREF(Py_None
); resultobj
= Py_None
;
4411 static PyObject
*_wrap_MutexGuiLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4412 PyObject
*resultobj
;
4417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiLeave",kwnames
)) goto fail
;
4419 if (!wxPyCheckForApp()) SWIG_fail
;
4420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4423 wxPyEndAllowThreads(__tstate
);
4424 if (PyErr_Occurred()) SWIG_fail
;
4426 Py_INCREF(Py_None
); resultobj
= Py_None
;
4433 static PyObject
*_wrap_new_MutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4434 PyObject
*resultobj
;
4435 wxMutexGuiLocker
*result
;
4440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MutexGuiLocker",kwnames
)) goto fail
;
4442 if (!wxPyCheckForApp()) SWIG_fail
;
4443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4444 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
4446 wxPyEndAllowThreads(__tstate
);
4447 if (PyErr_Occurred()) SWIG_fail
;
4449 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMutexGuiLocker
, 1);
4456 static PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4457 PyObject
*resultobj
;
4458 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
4459 PyObject
* obj0
= 0 ;
4461 (char *) "self", NULL
4464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MutexGuiLocker",kwnames
,&obj0
)) goto fail
;
4465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMutexGuiLocker
,
4466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4471 wxPyEndAllowThreads(__tstate
);
4472 if (PyErr_Occurred()) SWIG_fail
;
4474 Py_INCREF(Py_None
); resultobj
= Py_None
;
4481 static PyObject
* MutexGuiLocker_swigregister(PyObject
*self
, PyObject
*args
) {
4483 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4484 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker
, obj
);
4486 return Py_BuildValue((char *)"");
4488 static PyObject
*_wrap_Thread_IsMain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4489 PyObject
*resultobj
;
4495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Thread_IsMain",kwnames
)) goto fail
;
4497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4498 result
= (bool)wxThread_IsMain();
4500 wxPyEndAllowThreads(__tstate
);
4501 if (PyErr_Occurred()) SWIG_fail
;
4504 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4512 static PyObject
*_wrap_new_ToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4513 PyObject
*resultobj
;
4514 wxString
*arg1
= 0 ;
4516 bool temp1
= False
;
4517 PyObject
* obj0
= 0 ;
4519 (char *) "tip", NULL
4522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) goto fail
;
4524 arg1
= wxString_in_helper(obj0
);
4525 if (arg1
== NULL
) SWIG_fail
;
4529 if (!wxPyCheckForApp()) SWIG_fail
;
4530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4531 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
4533 wxPyEndAllowThreads(__tstate
);
4534 if (PyErr_Occurred()) SWIG_fail
;
4537 resultobj
= wxPyMake_wxObject(result
);
4553 static PyObject
*_wrap_ToolTip_SetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4554 PyObject
*resultobj
;
4555 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4556 wxString
*arg2
= 0 ;
4557 bool temp2
= False
;
4558 PyObject
* obj0
= 0 ;
4559 PyObject
* obj1
= 0 ;
4561 (char *) "self",(char *) "tip", NULL
4564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) goto fail
;
4565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4568 arg2
= wxString_in_helper(obj1
);
4569 if (arg2
== NULL
) SWIG_fail
;
4573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4574 (arg1
)->SetTip((wxString
const &)*arg2
);
4576 wxPyEndAllowThreads(__tstate
);
4577 if (PyErr_Occurred()) SWIG_fail
;
4579 Py_INCREF(Py_None
); resultobj
= Py_None
;
4594 static PyObject
*_wrap_ToolTip_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4595 PyObject
*resultobj
;
4596 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4598 PyObject
* obj0
= 0 ;
4600 (char *) "self", NULL
4603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetTip",kwnames
,&obj0
)) goto fail
;
4604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4608 result
= (arg1
)->GetTip();
4610 wxPyEndAllowThreads(__tstate
);
4611 if (PyErr_Occurred()) SWIG_fail
;
4615 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4617 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4626 static PyObject
*_wrap_ToolTip_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4627 PyObject
*resultobj
;
4628 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4630 PyObject
* obj0
= 0 ;
4632 (char *) "self", NULL
4635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetWindow",kwnames
,&obj0
)) goto fail
;
4636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4640 result
= (wxWindow
*)(arg1
)->GetWindow();
4642 wxPyEndAllowThreads(__tstate
);
4643 if (PyErr_Occurred()) SWIG_fail
;
4646 resultobj
= wxPyMake_wxObject(result
);
4654 static PyObject
*_wrap_ToolTip_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4655 PyObject
*resultobj
;
4657 PyObject
* obj0
= 0 ;
4659 (char *) "flag", NULL
4662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) goto fail
;
4663 arg1
= (bool) SWIG_AsBool(obj0
);
4664 if (PyErr_Occurred()) SWIG_fail
;
4666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4667 wxToolTip::Enable(arg1
);
4669 wxPyEndAllowThreads(__tstate
);
4670 if (PyErr_Occurred()) SWIG_fail
;
4672 Py_INCREF(Py_None
); resultobj
= Py_None
;
4679 static PyObject
*_wrap_ToolTip_SetDelay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4680 PyObject
*resultobj
;
4682 PyObject
* obj0
= 0 ;
4684 (char *) "milliseconds", NULL
4687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_SetDelay",kwnames
,&obj0
)) goto fail
;
4688 arg1
= (long) SWIG_AsLong(obj0
);
4689 if (PyErr_Occurred()) SWIG_fail
;
4691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4692 wxToolTip::SetDelay(arg1
);
4694 wxPyEndAllowThreads(__tstate
);
4695 if (PyErr_Occurred()) SWIG_fail
;
4697 Py_INCREF(Py_None
); resultobj
= Py_None
;
4704 static PyObject
* ToolTip_swigregister(PyObject
*self
, PyObject
*args
) {
4706 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4707 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip
, obj
);
4709 return Py_BuildValue((char *)"");
4711 static PyObject
*_wrap_new_Caret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4712 PyObject
*resultobj
;
4713 wxWindow
*arg1
= (wxWindow
*) 0 ;
4717 PyObject
* obj0
= 0 ;
4718 PyObject
* obj1
= 0 ;
4720 (char *) "window",(char *) "size", NULL
4723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) goto fail
;
4724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4728 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4731 if (!wxPyCheckForApp()) SWIG_fail
;
4732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4733 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
4735 wxPyEndAllowThreads(__tstate
);
4736 if (PyErr_Occurred()) SWIG_fail
;
4738 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 1);
4745 static PyObject
*_wrap_delete_Caret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4746 PyObject
*resultobj
;
4747 wxCaret
*arg1
= (wxCaret
*) 0 ;
4748 PyObject
* obj0
= 0 ;
4750 (char *) "self", NULL
4753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Caret",kwnames
,&obj0
)) goto fail
;
4754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4760 wxPyEndAllowThreads(__tstate
);
4761 if (PyErr_Occurred()) SWIG_fail
;
4763 Py_INCREF(Py_None
); resultobj
= Py_None
;
4770 static PyObject
*_wrap_Caret_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4771 PyObject
*resultobj
;
4772 wxCaret
*arg1
= (wxCaret
*) 0 ;
4774 PyObject
* obj0
= 0 ;
4776 (char *) "self", NULL
4779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsOk",kwnames
,&obj0
)) goto fail
;
4780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4784 result
= (bool)(arg1
)->IsOk();
4786 wxPyEndAllowThreads(__tstate
);
4787 if (PyErr_Occurred()) SWIG_fail
;
4790 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4798 static PyObject
*_wrap_Caret_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4799 PyObject
*resultobj
;
4800 wxCaret
*arg1
= (wxCaret
*) 0 ;
4802 PyObject
* obj0
= 0 ;
4804 (char *) "self", NULL
4807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsVisible",kwnames
,&obj0
)) goto fail
;
4808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4812 result
= (bool)(arg1
)->IsVisible();
4814 wxPyEndAllowThreads(__tstate
);
4815 if (PyErr_Occurred()) SWIG_fail
;
4818 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4826 static PyObject
*_wrap_Caret_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4827 PyObject
*resultobj
;
4828 wxCaret
*arg1
= (wxCaret
*) 0 ;
4830 PyObject
* obj0
= 0 ;
4832 (char *) "self", NULL
4835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPosition",kwnames
,&obj0
)) goto fail
;
4836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4840 result
= (arg1
)->GetPosition();
4842 wxPyEndAllowThreads(__tstate
);
4843 if (PyErr_Occurred()) SWIG_fail
;
4846 wxPoint
* resultptr
;
4847 resultptr
= new wxPoint((wxPoint
&) result
);
4848 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4856 static PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4857 PyObject
*resultobj
;
4858 wxCaret
*arg1
= (wxCaret
*) 0 ;
4859 int *arg2
= (int *) 0 ;
4860 int *arg3
= (int *) 0 ;
4863 PyObject
* obj0
= 0 ;
4865 (char *) "self", NULL
4870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
4871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4875 (arg1
)->GetPosition(arg2
,arg3
);
4877 wxPyEndAllowThreads(__tstate
);
4878 if (PyErr_Occurred()) SWIG_fail
;
4880 Py_INCREF(Py_None
); resultobj
= Py_None
;
4882 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4883 resultobj
= t_output_helper(resultobj
,o
);
4886 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4887 resultobj
= t_output_helper(resultobj
,o
);
4895 static PyObject
*_wrap_Caret_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4896 PyObject
*resultobj
;
4897 wxCaret
*arg1
= (wxCaret
*) 0 ;
4899 PyObject
* obj0
= 0 ;
4901 (char *) "self", NULL
4904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSize",kwnames
,&obj0
)) goto fail
;
4905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4909 result
= (arg1
)->GetSize();
4911 wxPyEndAllowThreads(__tstate
);
4912 if (PyErr_Occurred()) SWIG_fail
;
4916 resultptr
= new wxSize((wxSize
&) result
);
4917 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
4925 static PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4926 PyObject
*resultobj
;
4927 wxCaret
*arg1
= (wxCaret
*) 0 ;
4928 int *arg2
= (int *) 0 ;
4929 int *arg3
= (int *) 0 ;
4932 PyObject
* obj0
= 0 ;
4934 (char *) "self", NULL
4939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
4940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4944 (arg1
)->GetSize(arg2
,arg3
);
4946 wxPyEndAllowThreads(__tstate
);
4947 if (PyErr_Occurred()) SWIG_fail
;
4949 Py_INCREF(Py_None
); resultobj
= Py_None
;
4951 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4952 resultobj
= t_output_helper(resultobj
,o
);
4955 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4956 resultobj
= t_output_helper(resultobj
,o
);
4964 static PyObject
*_wrap_Caret_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4965 PyObject
*resultobj
;
4966 wxCaret
*arg1
= (wxCaret
*) 0 ;
4968 PyObject
* obj0
= 0 ;
4970 (char *) "self", NULL
4973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetWindow",kwnames
,&obj0
)) goto fail
;
4974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4978 result
= (wxWindow
*)(arg1
)->GetWindow();
4980 wxPyEndAllowThreads(__tstate
);
4981 if (PyErr_Occurred()) SWIG_fail
;
4984 resultobj
= wxPyMake_wxObject(result
);
4992 static PyObject
*_wrap_Caret_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4993 PyObject
*resultobj
;
4994 wxCaret
*arg1
= (wxCaret
*) 0 ;
4997 PyObject
* obj0
= 0 ;
4998 PyObject
* obj1
= 0 ;
4999 PyObject
* obj2
= 0 ;
5001 (char *) "self",(char *) "x",(char *) "y", NULL
5004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5007 arg2
= (int) SWIG_AsInt(obj1
);
5008 if (PyErr_Occurred()) SWIG_fail
;
5009 arg3
= (int) SWIG_AsInt(obj2
);
5010 if (PyErr_Occurred()) SWIG_fail
;
5012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5013 (arg1
)->Move(arg2
,arg3
);
5015 wxPyEndAllowThreads(__tstate
);
5016 if (PyErr_Occurred()) SWIG_fail
;
5018 Py_INCREF(Py_None
); resultobj
= Py_None
;
5025 static PyObject
*_wrap_Caret_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5026 PyObject
*resultobj
;
5027 wxCaret
*arg1
= (wxCaret
*) 0 ;
5030 PyObject
* obj0
= 0 ;
5031 PyObject
* obj1
= 0 ;
5033 (char *) "self",(char *) "pt", NULL
5036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
5037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5041 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5045 (arg1
)->Move((wxPoint
const &)*arg2
);
5047 wxPyEndAllowThreads(__tstate
);
5048 if (PyErr_Occurred()) SWIG_fail
;
5050 Py_INCREF(Py_None
); resultobj
= Py_None
;
5057 static PyObject
*_wrap_Caret_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5058 PyObject
*resultobj
;
5059 wxCaret
*arg1
= (wxCaret
*) 0 ;
5062 PyObject
* obj0
= 0 ;
5063 PyObject
* obj1
= 0 ;
5064 PyObject
* obj2
= 0 ;
5066 (char *) "self",(char *) "width",(char *) "height", NULL
5069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5072 arg2
= (int) SWIG_AsInt(obj1
);
5073 if (PyErr_Occurred()) SWIG_fail
;
5074 arg3
= (int) SWIG_AsInt(obj2
);
5075 if (PyErr_Occurred()) SWIG_fail
;
5077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5078 (arg1
)->SetSize(arg2
,arg3
);
5080 wxPyEndAllowThreads(__tstate
);
5081 if (PyErr_Occurred()) SWIG_fail
;
5083 Py_INCREF(Py_None
); resultobj
= Py_None
;
5090 static PyObject
*_wrap_Caret_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5091 PyObject
*resultobj
;
5092 wxCaret
*arg1
= (wxCaret
*) 0 ;
5095 PyObject
* obj0
= 0 ;
5096 PyObject
* obj1
= 0 ;
5098 (char *) "self",(char *) "size", NULL
5101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5106 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
5109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5110 (arg1
)->SetSize((wxSize
const &)*arg2
);
5112 wxPyEndAllowThreads(__tstate
);
5113 if (PyErr_Occurred()) SWIG_fail
;
5115 Py_INCREF(Py_None
); resultobj
= Py_None
;
5122 static PyObject
*_wrap_Caret_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5123 PyObject
*resultobj
;
5124 wxCaret
*arg1
= (wxCaret
*) 0 ;
5125 int arg2
= (int) True
;
5126 PyObject
* obj0
= 0 ;
5127 PyObject
* obj1
= 0 ;
5129 (char *) "self",(char *) "show", NULL
5132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Caret_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
5133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5136 arg2
= (int) SWIG_AsInt(obj1
);
5137 if (PyErr_Occurred()) SWIG_fail
;
5140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5143 wxPyEndAllowThreads(__tstate
);
5144 if (PyErr_Occurred()) SWIG_fail
;
5146 Py_INCREF(Py_None
); resultobj
= Py_None
;
5153 static PyObject
*_wrap_Caret_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5154 PyObject
*resultobj
;
5155 wxCaret
*arg1
= (wxCaret
*) 0 ;
5156 PyObject
* obj0
= 0 ;
5158 (char *) "self", NULL
5161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Hide",kwnames
,&obj0
)) goto fail
;
5162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5168 wxPyEndAllowThreads(__tstate
);
5169 if (PyErr_Occurred()) SWIG_fail
;
5171 Py_INCREF(Py_None
); resultobj
= Py_None
;
5178 static PyObject
* Caret_swigregister(PyObject
*self
, PyObject
*args
) {
5180 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5181 SWIG_TypeClientData(SWIGTYPE_p_wxCaret
, obj
);
5183 return Py_BuildValue((char *)"");
5185 static PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5186 PyObject
*resultobj
;
5192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Caret_GetBlinkTime",kwnames
)) goto fail
;
5194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5195 result
= (int)wxCaret_GetBlinkTime();
5197 wxPyEndAllowThreads(__tstate
);
5198 if (PyErr_Occurred()) SWIG_fail
;
5200 resultobj
= SWIG_FromInt((int)result
);
5207 static PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5208 PyObject
*resultobj
;
5210 PyObject
* obj0
= 0 ;
5212 (char *) "milliseconds", NULL
5215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_SetBlinkTime",kwnames
,&obj0
)) goto fail
;
5216 arg1
= (int) SWIG_AsInt(obj0
);
5217 if (PyErr_Occurred()) SWIG_fail
;
5219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5220 wxCaret_SetBlinkTime(arg1
);
5222 wxPyEndAllowThreads(__tstate
);
5223 if (PyErr_Occurred()) SWIG_fail
;
5225 Py_INCREF(Py_None
); resultobj
= Py_None
;
5232 static PyObject
*_wrap_new_BusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5233 PyObject
*resultobj
;
5234 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
5235 wxBusyCursor
*result
;
5236 PyObject
* obj0
= 0 ;
5238 (char *) "cursor", NULL
5241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) goto fail
;
5243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5247 if (!wxPyCheckForApp()) SWIG_fail
;
5248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5249 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
5251 wxPyEndAllowThreads(__tstate
);
5252 if (PyErr_Occurred()) SWIG_fail
;
5254 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyCursor
, 1);
5261 static PyObject
*_wrap_delete_BusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5262 PyObject
*resultobj
;
5263 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
5264 PyObject
* obj0
= 0 ;
5266 (char *) "self", NULL
5269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyCursor",kwnames
,&obj0
)) goto fail
;
5270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBusyCursor
,
5271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5276 wxPyEndAllowThreads(__tstate
);
5277 if (PyErr_Occurred()) SWIG_fail
;
5279 Py_INCREF(Py_None
); resultobj
= Py_None
;
5286 static PyObject
* BusyCursor_swigregister(PyObject
*self
, PyObject
*args
) {
5288 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5289 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor
, obj
);
5291 return Py_BuildValue((char *)"");
5293 static PyObject
*_wrap_new_WindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5294 PyObject
*resultobj
;
5295 wxWindow
*arg1
= (wxWindow
*) NULL
;
5296 wxWindowDisabler
*result
;
5297 PyObject
* obj0
= 0 ;
5299 (char *) "winToSkip", NULL
5302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) goto fail
;
5304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5308 if (!wxPyCheckForApp()) SWIG_fail
;
5309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5310 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
5312 wxPyEndAllowThreads(__tstate
);
5313 if (PyErr_Occurred()) SWIG_fail
;
5315 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDisabler
, 1);
5322 static PyObject
*_wrap_delete_WindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5323 PyObject
*resultobj
;
5324 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
5325 PyObject
* obj0
= 0 ;
5327 (char *) "self", NULL
5330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_WindowDisabler",kwnames
,&obj0
)) goto fail
;
5331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowDisabler
,
5332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5337 wxPyEndAllowThreads(__tstate
);
5338 if (PyErr_Occurred()) SWIG_fail
;
5340 Py_INCREF(Py_None
); resultobj
= Py_None
;
5347 static PyObject
* WindowDisabler_swigregister(PyObject
*self
, PyObject
*args
) {
5349 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5350 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler
, obj
);
5352 return Py_BuildValue((char *)"");
5354 static PyObject
*_wrap_new_BusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5355 PyObject
*resultobj
;
5356 wxString
*arg1
= 0 ;
5358 bool temp1
= False
;
5359 PyObject
* obj0
= 0 ;
5361 (char *) "message", NULL
5364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) goto fail
;
5366 arg1
= wxString_in_helper(obj0
);
5367 if (arg1
== NULL
) SWIG_fail
;
5371 if (!wxPyCheckForApp()) SWIG_fail
;
5372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5373 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
);
5375 wxPyEndAllowThreads(__tstate
);
5376 if (PyErr_Occurred()) SWIG_fail
;
5378 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyInfo
, 1);
5393 static PyObject
*_wrap_delete_BusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5394 PyObject
*resultobj
;
5395 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
5396 PyObject
* obj0
= 0 ;
5398 (char *) "self", NULL
5401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyInfo",kwnames
,&obj0
)) goto fail
;
5402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBusyInfo
,
5403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5408 wxPyEndAllowThreads(__tstate
);
5409 if (PyErr_Occurred()) SWIG_fail
;
5411 Py_INCREF(Py_None
); resultobj
= Py_None
;
5418 static PyObject
* BusyInfo_swigregister(PyObject
*self
, PyObject
*args
) {
5420 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5421 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo
, obj
);
5423 return Py_BuildValue((char *)"");
5425 static PyObject
*_wrap_new_StopWatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5426 PyObject
*resultobj
;
5427 wxStopWatch
*result
;
5432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StopWatch",kwnames
)) goto fail
;
5434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5435 result
= (wxStopWatch
*)new wxStopWatch();
5437 wxPyEndAllowThreads(__tstate
);
5438 if (PyErr_Occurred()) SWIG_fail
;
5440 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStopWatch
, 1);
5447 static PyObject
*_wrap_StopWatch_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5448 PyObject
*resultobj
;
5449 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5450 long arg2
= (long) 0 ;
5451 PyObject
* obj0
= 0 ;
5452 PyObject
* obj1
= 0 ;
5454 (char *) "self",(char *) "t0", NULL
5457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StopWatch_Start",kwnames
,&obj0
,&obj1
)) goto fail
;
5458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5461 arg2
= (long) SWIG_AsLong(obj1
);
5462 if (PyErr_Occurred()) SWIG_fail
;
5465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5466 (arg1
)->Start(arg2
);
5468 wxPyEndAllowThreads(__tstate
);
5469 if (PyErr_Occurred()) SWIG_fail
;
5471 Py_INCREF(Py_None
); resultobj
= Py_None
;
5478 static PyObject
*_wrap_StopWatch_Pause(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5479 PyObject
*resultobj
;
5480 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5481 PyObject
* obj0
= 0 ;
5483 (char *) "self", NULL
5486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Pause",kwnames
,&obj0
)) goto fail
;
5487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5493 wxPyEndAllowThreads(__tstate
);
5494 if (PyErr_Occurred()) SWIG_fail
;
5496 Py_INCREF(Py_None
); resultobj
= Py_None
;
5503 static PyObject
*_wrap_StopWatch_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5504 PyObject
*resultobj
;
5505 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5506 PyObject
* obj0
= 0 ;
5508 (char *) "self", NULL
5511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Resume",kwnames
,&obj0
)) goto fail
;
5512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5518 wxPyEndAllowThreads(__tstate
);
5519 if (PyErr_Occurred()) SWIG_fail
;
5521 Py_INCREF(Py_None
); resultobj
= Py_None
;
5528 static PyObject
*_wrap_StopWatch_Time(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5529 PyObject
*resultobj
;
5530 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5532 PyObject
* obj0
= 0 ;
5534 (char *) "self", NULL
5537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Time",kwnames
,&obj0
)) goto fail
;
5538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5542 result
= (long)((wxStopWatch
const *)arg1
)->Time();
5544 wxPyEndAllowThreads(__tstate
);
5545 if (PyErr_Occurred()) SWIG_fail
;
5547 resultobj
= SWIG_FromLong((long)result
);
5554 static PyObject
* StopWatch_swigregister(PyObject
*self
, PyObject
*args
) {
5556 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5557 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch
, obj
);
5559 return Py_BuildValue((char *)"");
5561 static PyObject
*_wrap_new_FileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5562 PyObject
*resultobj
;
5563 int arg1
= (int) 9 ;
5564 wxFileHistory
*result
;
5565 PyObject
* obj0
= 0 ;
5567 (char *) "maxFiles", NULL
5570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FileHistory",kwnames
,&obj0
)) goto fail
;
5572 arg1
= (int) SWIG_AsInt(obj0
);
5573 if (PyErr_Occurred()) SWIG_fail
;
5576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5577 result
= (wxFileHistory
*)new wxFileHistory(arg1
);
5579 wxPyEndAllowThreads(__tstate
);
5580 if (PyErr_Occurred()) SWIG_fail
;
5582 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileHistory
, 1);
5589 static PyObject
*_wrap_delete_FileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5590 PyObject
*resultobj
;
5591 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5592 PyObject
* obj0
= 0 ;
5594 (char *) "self", NULL
5597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileHistory",kwnames
,&obj0
)) goto fail
;
5598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5604 wxPyEndAllowThreads(__tstate
);
5605 if (PyErr_Occurred()) SWIG_fail
;
5607 Py_INCREF(Py_None
); resultobj
= Py_None
;
5614 static PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5615 PyObject
*resultobj
;
5616 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5617 wxString
*arg2
= 0 ;
5618 bool temp2
= False
;
5619 PyObject
* obj0
= 0 ;
5620 PyObject
* obj1
= 0 ;
5622 (char *) "self",(char *) "file", NULL
5625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
5626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5629 arg2
= wxString_in_helper(obj1
);
5630 if (arg2
== NULL
) SWIG_fail
;
5634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5635 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
5637 wxPyEndAllowThreads(__tstate
);
5638 if (PyErr_Occurred()) SWIG_fail
;
5640 Py_INCREF(Py_None
); resultobj
= Py_None
;
5655 static PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5656 PyObject
*resultobj
;
5657 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5659 PyObject
* obj0
= 0 ;
5660 PyObject
* obj1
= 0 ;
5662 (char *) "self",(char *) "i", NULL
5665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
5666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5668 arg2
= (int) SWIG_AsInt(obj1
);
5669 if (PyErr_Occurred()) SWIG_fail
;
5671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5672 (arg1
)->RemoveFileFromHistory(arg2
);
5674 wxPyEndAllowThreads(__tstate
);
5675 if (PyErr_Occurred()) SWIG_fail
;
5677 Py_INCREF(Py_None
); resultobj
= Py_None
;
5684 static PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5685 PyObject
*resultobj
;
5686 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5688 PyObject
* obj0
= 0 ;
5690 (char *) "self", NULL
5693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetMaxFiles",kwnames
,&obj0
)) goto fail
;
5694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5698 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
5700 wxPyEndAllowThreads(__tstate
);
5701 if (PyErr_Occurred()) SWIG_fail
;
5703 resultobj
= SWIG_FromInt((int)result
);
5710 static PyObject
*_wrap_FileHistory_UseMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5711 PyObject
*resultobj
;
5712 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5713 wxMenu
*arg2
= (wxMenu
*) 0 ;
5714 PyObject
* obj0
= 0 ;
5715 PyObject
* obj1
= 0 ;
5717 (char *) "self",(char *) "menu", NULL
5720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5723 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
5724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5727 (arg1
)->UseMenu(arg2
);
5729 wxPyEndAllowThreads(__tstate
);
5730 if (PyErr_Occurred()) SWIG_fail
;
5732 Py_INCREF(Py_None
); resultobj
= Py_None
;
5739 static PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5740 PyObject
*resultobj
;
5741 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5742 wxMenu
*arg2
= (wxMenu
*) 0 ;
5743 PyObject
* obj0
= 0 ;
5744 PyObject
* obj1
= 0 ;
5746 (char *) "self",(char *) "menu", NULL
5749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5752 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
5753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5756 (arg1
)->RemoveMenu(arg2
);
5758 wxPyEndAllowThreads(__tstate
);
5759 if (PyErr_Occurred()) SWIG_fail
;
5761 Py_INCREF(Py_None
); resultobj
= Py_None
;
5768 static PyObject
*_wrap_FileHistory_Load(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5769 PyObject
*resultobj
;
5770 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5771 wxConfigBase
*arg2
= 0 ;
5772 PyObject
* obj0
= 0 ;
5773 PyObject
* obj1
= 0 ;
5775 (char *) "self",(char *) "config", NULL
5778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) goto fail
;
5779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5781 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
5782 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5785 PyErr_SetString(PyExc_TypeError
,"null reference");
5789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5790 (arg1
)->Load(*arg2
);
5792 wxPyEndAllowThreads(__tstate
);
5793 if (PyErr_Occurred()) SWIG_fail
;
5795 Py_INCREF(Py_None
); resultobj
= Py_None
;
5802 static PyObject
*_wrap_FileHistory_Save(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5803 PyObject
*resultobj
;
5804 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5805 wxConfigBase
*arg2
= 0 ;
5806 PyObject
* obj0
= 0 ;
5807 PyObject
* obj1
= 0 ;
5809 (char *) "self",(char *) "config", NULL
5812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) goto fail
;
5813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5815 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
5816 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5819 PyErr_SetString(PyExc_TypeError
,"null reference");
5823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5824 (arg1
)->Save(*arg2
);
5826 wxPyEndAllowThreads(__tstate
);
5827 if (PyErr_Occurred()) SWIG_fail
;
5829 Py_INCREF(Py_None
); resultobj
= Py_None
;
5836 static PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5837 PyObject
*resultobj
;
5838 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5839 PyObject
* obj0
= 0 ;
5841 (char *) "self", NULL
5844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_AddFilesToMenu",kwnames
,&obj0
)) goto fail
;
5845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5849 (arg1
)->AddFilesToMenu();
5851 wxPyEndAllowThreads(__tstate
);
5852 if (PyErr_Occurred()) SWIG_fail
;
5854 Py_INCREF(Py_None
); resultobj
= Py_None
;
5861 static PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5862 PyObject
*resultobj
;
5863 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5864 wxMenu
*arg2
= (wxMenu
*) 0 ;
5865 PyObject
* obj0
= 0 ;
5866 PyObject
* obj1
= 0 ;
5868 (char *) "self",(char *) "menu", NULL
5871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5874 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
5875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5878 (arg1
)->AddFilesToMenu(arg2
);
5880 wxPyEndAllowThreads(__tstate
);
5881 if (PyErr_Occurred()) SWIG_fail
;
5883 Py_INCREF(Py_None
); resultobj
= Py_None
;
5890 static PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5891 PyObject
*resultobj
;
5892 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5895 PyObject
* obj0
= 0 ;
5896 PyObject
* obj1
= 0 ;
5898 (char *) "self",(char *) "i", NULL
5901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_GetHistoryFile",kwnames
,&obj0
,&obj1
)) goto fail
;
5902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5904 arg2
= (int) SWIG_AsInt(obj1
);
5905 if (PyErr_Occurred()) SWIG_fail
;
5907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5908 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
5910 wxPyEndAllowThreads(__tstate
);
5911 if (PyErr_Occurred()) SWIG_fail
;
5915 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5917 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5926 static PyObject
*_wrap_FileHistory_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5927 PyObject
*resultobj
;
5928 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5930 PyObject
* obj0
= 0 ;
5932 (char *) "self", NULL
5935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetCount",kwnames
,&obj0
)) goto fail
;
5936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5940 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
5942 wxPyEndAllowThreads(__tstate
);
5943 if (PyErr_Occurred()) SWIG_fail
;
5945 resultobj
= SWIG_FromInt((int)result
);
5952 static PyObject
* FileHistory_swigregister(PyObject
*self
, PyObject
*args
) {
5954 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5955 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory
, obj
);
5957 return Py_BuildValue((char *)"");
5959 static PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5960 PyObject
*resultobj
;
5961 wxString
*arg1
= 0 ;
5962 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5963 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5964 wxSingleInstanceChecker
*result
;
5965 bool temp1
= False
;
5966 bool temp2
= False
;
5967 PyObject
* obj0
= 0 ;
5968 PyObject
* obj1
= 0 ;
5970 (char *) "name",(char *) "path", NULL
5973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) goto fail
;
5975 arg1
= wxString_in_helper(obj0
);
5976 if (arg1
== NULL
) SWIG_fail
;
5981 arg2
= wxString_in_helper(obj1
);
5982 if (arg2
== NULL
) SWIG_fail
;
5987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5988 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
5990 wxPyEndAllowThreads(__tstate
);
5991 if (PyErr_Occurred()) SWIG_fail
;
5993 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
6016 static PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6017 PyObject
*resultobj
;
6018 wxSingleInstanceChecker
*result
;
6023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSingleInstanceChecker",kwnames
)) goto fail
;
6025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6026 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
6028 wxPyEndAllowThreads(__tstate
);
6029 if (PyErr_Occurred()) SWIG_fail
;
6031 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
6038 static PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6039 PyObject
*resultobj
;
6040 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
6041 PyObject
* obj0
= 0 ;
6043 (char *) "self", NULL
6046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_SingleInstanceChecker",kwnames
,&obj0
)) goto fail
;
6047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
6048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6053 wxPyEndAllowThreads(__tstate
);
6054 if (PyErr_Occurred()) SWIG_fail
;
6056 Py_INCREF(Py_None
); resultobj
= Py_None
;
6063 static PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6064 PyObject
*resultobj
;
6065 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
6066 wxString
*arg2
= 0 ;
6067 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6068 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6070 bool temp2
= False
;
6071 bool temp3
= False
;
6072 PyObject
* obj0
= 0 ;
6073 PyObject
* obj1
= 0 ;
6074 PyObject
* obj2
= 0 ;
6076 (char *) "self",(char *) "name",(char *) "path", NULL
6079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
6081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6083 arg2
= wxString_in_helper(obj1
);
6084 if (arg2
== NULL
) SWIG_fail
;
6089 arg3
= wxString_in_helper(obj2
);
6090 if (arg3
== NULL
) SWIG_fail
;
6095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6096 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
6098 wxPyEndAllowThreads(__tstate
);
6099 if (PyErr_Occurred()) SWIG_fail
;
6102 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6126 static PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6127 PyObject
*resultobj
;
6128 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
6130 PyObject
* obj0
= 0 ;
6132 (char *) "self", NULL
6135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames
,&obj0
)) goto fail
;
6136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
6137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6140 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
6142 wxPyEndAllowThreads(__tstate
);
6143 if (PyErr_Occurred()) SWIG_fail
;
6146 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6154 static PyObject
* SingleInstanceChecker_swigregister(PyObject
*self
, PyObject
*args
) {
6156 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6157 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker
, obj
);
6159 return Py_BuildValue((char *)"");
6161 static PyObject
*_wrap_DrawWindowOnDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6162 PyObject
*resultobj
;
6163 wxWindow
*arg1
= (wxWindow
*) 0 ;
6166 PyObject
* obj0
= 0 ;
6167 PyObject
* obj1
= 0 ;
6168 PyObject
* obj2
= 0 ;
6170 (char *) "window",(char *) "dc",(char *) "method", NULL
6173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DrawWindowOnDC",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6176 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
6177 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6180 PyErr_SetString(PyExc_TypeError
,"null reference");
6183 arg3
= (int) SWIG_AsInt(obj2
);
6184 if (PyErr_Occurred()) SWIG_fail
;
6186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6187 wxDrawWindowOnDC(arg1
,(wxDC
const &)*arg2
,arg3
);
6189 wxPyEndAllowThreads(__tstate
);
6190 if (PyErr_Occurred()) SWIG_fail
;
6192 Py_INCREF(Py_None
); resultobj
= Py_None
;
6199 static PyObject
*_wrap_delete_TipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6200 PyObject
*resultobj
;
6201 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6202 PyObject
* obj0
= 0 ;
6204 (char *) "self", NULL
6207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TipProvider",kwnames
,&obj0
)) goto fail
;
6208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6214 wxPyEndAllowThreads(__tstate
);
6215 if (PyErr_Occurred()) SWIG_fail
;
6217 Py_INCREF(Py_None
); resultobj
= Py_None
;
6224 static PyObject
*_wrap_TipProvider_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6225 PyObject
*resultobj
;
6226 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6228 PyObject
* obj0
= 0 ;
6230 (char *) "self", NULL
6233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetTip",kwnames
,&obj0
)) goto fail
;
6234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6238 result
= (arg1
)->GetTip();
6240 wxPyEndAllowThreads(__tstate
);
6241 if (PyErr_Occurred()) SWIG_fail
;
6245 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6247 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6256 static PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6257 PyObject
*resultobj
;
6258 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6260 PyObject
* obj0
= 0 ;
6262 (char *) "self", NULL
6265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetCurrentTip",kwnames
,&obj0
)) goto fail
;
6266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6270 result
= (size_t)(arg1
)->GetCurrentTip();
6272 wxPyEndAllowThreads(__tstate
);
6273 if (PyErr_Occurred()) SWIG_fail
;
6275 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
6282 static PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6283 PyObject
*resultobj
;
6284 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6285 wxString
*arg2
= 0 ;
6287 bool temp2
= False
;
6288 PyObject
* obj0
= 0 ;
6289 PyObject
* obj1
= 0 ;
6291 (char *) "self",(char *) "tip", NULL
6294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) goto fail
;
6295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6298 arg2
= wxString_in_helper(obj1
);
6299 if (arg2
== NULL
) SWIG_fail
;
6303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6304 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
6306 wxPyEndAllowThreads(__tstate
);
6307 if (PyErr_Occurred()) SWIG_fail
;
6311 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6313 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6330 static PyObject
* TipProvider_swigregister(PyObject
*self
, PyObject
*args
) {
6332 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6333 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider
, obj
);
6335 return Py_BuildValue((char *)"");
6337 static PyObject
*_wrap_new_PyTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6338 PyObject
*resultobj
;
6340 wxPyTipProvider
*result
;
6341 PyObject
* obj0
= 0 ;
6343 (char *) "currentTip", NULL
6346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) goto fail
;
6347 arg1
= (size_t) SWIG_AsUnsignedLong(obj0
);
6348 if (PyErr_Occurred()) SWIG_fail
;
6350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6351 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
6353 wxPyEndAllowThreads(__tstate
);
6354 if (PyErr_Occurred()) SWIG_fail
;
6356 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTipProvider
, 1);
6363 static PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6364 PyObject
*resultobj
;
6365 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
6366 PyObject
*arg2
= (PyObject
*) 0 ;
6367 PyObject
*arg3
= (PyObject
*) 0 ;
6368 PyObject
* obj0
= 0 ;
6369 PyObject
* obj1
= 0 ;
6370 PyObject
* obj2
= 0 ;
6372 (char *) "self",(char *) "self",(char *) "_class", NULL
6375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTipProvider
,
6377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6382 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6384 wxPyEndAllowThreads(__tstate
);
6385 if (PyErr_Occurred()) SWIG_fail
;
6387 Py_INCREF(Py_None
); resultobj
= Py_None
;
6394 static PyObject
* PyTipProvider_swigregister(PyObject
*self
, PyObject
*args
) {
6396 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6397 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider
, obj
);
6399 return Py_BuildValue((char *)"");
6401 static PyObject
*_wrap_ShowTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6402 PyObject
*resultobj
;
6403 wxWindow
*arg1
= (wxWindow
*) 0 ;
6404 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
6405 bool arg3
= (bool) True
;
6407 PyObject
* obj0
= 0 ;
6408 PyObject
* obj1
= 0 ;
6409 PyObject
* obj2
= 0 ;
6411 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
6414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6417 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTipProvider
,
6418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6420 arg3
= (bool) SWIG_AsBool(obj2
);
6421 if (PyErr_Occurred()) SWIG_fail
;
6424 if (!wxPyCheckForApp()) SWIG_fail
;
6425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6426 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
6428 wxPyEndAllowThreads(__tstate
);
6429 if (PyErr_Occurred()) SWIG_fail
;
6432 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6440 static PyObject
*_wrap_CreateFileTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6441 PyObject
*resultobj
;
6442 wxString
*arg1
= 0 ;
6444 wxTipProvider
*result
;
6445 bool temp1
= False
;
6446 PyObject
* obj0
= 0 ;
6447 PyObject
* obj1
= 0 ;
6449 (char *) "filename",(char *) "currentTip", NULL
6452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) goto fail
;
6454 arg1
= wxString_in_helper(obj0
);
6455 if (arg1
== NULL
) SWIG_fail
;
6458 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
6459 if (PyErr_Occurred()) SWIG_fail
;
6461 if (!wxPyCheckForApp()) SWIG_fail
;
6462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6463 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
6465 wxPyEndAllowThreads(__tstate
);
6466 if (PyErr_Occurred()) SWIG_fail
;
6468 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipProvider
, 1);
6483 static PyObject
*_wrap_new_Timer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6484 PyObject
*resultobj
;
6485 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
6486 int arg2
= (int) -1 ;
6488 PyObject
* obj0
= 0 ;
6489 PyObject
* obj1
= 0 ;
6491 (char *) "owner",(char *) "id", NULL
6494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Timer",kwnames
,&obj0
,&obj1
)) goto fail
;
6496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
6497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6500 arg2
= (int) SWIG_AsInt(obj1
);
6501 if (PyErr_Occurred()) SWIG_fail
;
6504 if (!wxPyCheckForApp()) SWIG_fail
;
6505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6506 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
6508 wxPyEndAllowThreads(__tstate
);
6509 if (PyErr_Occurred()) SWIG_fail
;
6511 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTimer
, 1);
6518 static PyObject
*_wrap_delete_Timer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6519 PyObject
*resultobj
;
6520 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6521 PyObject
* obj0
= 0 ;
6523 (char *) "self", NULL
6526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Timer",kwnames
,&obj0
)) goto fail
;
6527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6533 wxPyEndAllowThreads(__tstate
);
6534 if (PyErr_Occurred()) SWIG_fail
;
6536 Py_INCREF(Py_None
); resultobj
= Py_None
;
6543 static PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6544 PyObject
*resultobj
;
6545 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6546 PyObject
*arg2
= (PyObject
*) 0 ;
6547 PyObject
*arg3
= (PyObject
*) 0 ;
6548 int arg4
= (int) 1 ;
6549 PyObject
* obj0
= 0 ;
6550 PyObject
* obj1
= 0 ;
6551 PyObject
* obj2
= 0 ;
6552 PyObject
* obj3
= 0 ;
6554 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
6557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6563 arg4
= (int) SWIG_AsInt(obj3
);
6564 if (PyErr_Occurred()) SWIG_fail
;
6567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6568 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
6570 wxPyEndAllowThreads(__tstate
);
6571 if (PyErr_Occurred()) SWIG_fail
;
6573 Py_INCREF(Py_None
); resultobj
= Py_None
;
6580 static PyObject
*_wrap_Timer_SetOwner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6581 PyObject
*resultobj
;
6582 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6583 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
6584 int arg3
= (int) -1 ;
6585 PyObject
* obj0
= 0 ;
6586 PyObject
* obj1
= 0 ;
6587 PyObject
* obj2
= 0 ;
6589 (char *) "self",(char *) "owner",(char *) "id", NULL
6592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6595 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
6596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6598 arg3
= (int) SWIG_AsInt(obj2
);
6599 if (PyErr_Occurred()) SWIG_fail
;
6602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6603 (arg1
)->SetOwner(arg2
,arg3
);
6605 wxPyEndAllowThreads(__tstate
);
6606 if (PyErr_Occurred()) SWIG_fail
;
6608 Py_INCREF(Py_None
); resultobj
= Py_None
;
6615 static PyObject
*_wrap_Timer_GetOwner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6616 PyObject
*resultobj
;
6617 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6618 wxEvtHandler
*result
;
6619 PyObject
* obj0
= 0 ;
6621 (char *) "self", NULL
6624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetOwner",kwnames
,&obj0
)) goto fail
;
6625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6629 result
= (wxEvtHandler
*)(arg1
)->GetOwner();
6631 wxPyEndAllowThreads(__tstate
);
6632 if (PyErr_Occurred()) SWIG_fail
;
6635 resultobj
= wxPyMake_wxObject(result
);
6643 static PyObject
*_wrap_Timer_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6644 PyObject
*resultobj
;
6645 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6646 int arg2
= (int) -1 ;
6647 bool arg3
= (bool) False
;
6649 PyObject
* obj0
= 0 ;
6650 PyObject
* obj1
= 0 ;
6651 PyObject
* obj2
= 0 ;
6653 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
6656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Timer_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6660 arg2
= (int) SWIG_AsInt(obj1
);
6661 if (PyErr_Occurred()) SWIG_fail
;
6664 arg3
= (bool) SWIG_AsBool(obj2
);
6665 if (PyErr_Occurred()) SWIG_fail
;
6668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6669 result
= (bool)(arg1
)->Start(arg2
,arg3
);
6671 wxPyEndAllowThreads(__tstate
);
6672 if (PyErr_Occurred()) SWIG_fail
;
6675 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6683 static PyObject
*_wrap_Timer_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6684 PyObject
*resultobj
;
6685 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6686 PyObject
* obj0
= 0 ;
6688 (char *) "self", NULL
6691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_Stop",kwnames
,&obj0
)) goto fail
;
6692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6698 wxPyEndAllowThreads(__tstate
);
6699 if (PyErr_Occurred()) SWIG_fail
;
6701 Py_INCREF(Py_None
); resultobj
= Py_None
;
6708 static PyObject
*_wrap_Timer_IsRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6709 PyObject
*resultobj
;
6710 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6712 PyObject
* obj0
= 0 ;
6714 (char *) "self", NULL
6717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsRunning",kwnames
,&obj0
)) goto fail
;
6718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6722 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
6724 wxPyEndAllowThreads(__tstate
);
6725 if (PyErr_Occurred()) SWIG_fail
;
6728 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6736 static PyObject
*_wrap_Timer_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6737 PyObject
*resultobj
;
6738 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6740 PyObject
* obj0
= 0 ;
6742 (char *) "self", NULL
6745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetInterval",kwnames
,&obj0
)) goto fail
;
6746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6750 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
6752 wxPyEndAllowThreads(__tstate
);
6753 if (PyErr_Occurred()) SWIG_fail
;
6755 resultobj
= SWIG_FromInt((int)result
);
6762 static PyObject
*_wrap_Timer_IsOneShot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6763 PyObject
*resultobj
;
6764 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6766 PyObject
* obj0
= 0 ;
6768 (char *) "self", NULL
6771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsOneShot",kwnames
,&obj0
)) goto fail
;
6772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6776 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
6778 wxPyEndAllowThreads(__tstate
);
6779 if (PyErr_Occurred()) SWIG_fail
;
6782 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6790 static PyObject
*_wrap_Timer_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6791 PyObject
*resultobj
;
6792 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6794 PyObject
* obj0
= 0 ;
6796 (char *) "self", NULL
6799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetId",kwnames
,&obj0
)) goto fail
;
6800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6804 result
= (int)((wxPyTimer
const *)arg1
)->GetId();
6806 wxPyEndAllowThreads(__tstate
);
6807 if (PyErr_Occurred()) SWIG_fail
;
6809 resultobj
= SWIG_FromInt((int)result
);
6816 static PyObject
* Timer_swigregister(PyObject
*self
, PyObject
*args
) {
6818 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6819 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer
, obj
);
6821 return Py_BuildValue((char *)"");
6823 static PyObject
*_wrap_new_TimerEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6824 PyObject
*resultobj
;
6825 int arg1
= (int) 0 ;
6826 int arg2
= (int) 0 ;
6827 wxTimerEvent
*result
;
6828 PyObject
* obj0
= 0 ;
6829 PyObject
* obj1
= 0 ;
6831 (char *) "timerid",(char *) "interval", NULL
6834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TimerEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
6836 arg1
= (int) SWIG_AsInt(obj0
);
6837 if (PyErr_Occurred()) SWIG_fail
;
6840 arg2
= (int) SWIG_AsInt(obj1
);
6841 if (PyErr_Occurred()) SWIG_fail
;
6844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6845 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
6847 wxPyEndAllowThreads(__tstate
);
6848 if (PyErr_Occurred()) SWIG_fail
;
6850 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerEvent
, 1);
6857 static PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6858 PyObject
*resultobj
;
6859 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
6861 PyObject
* obj0
= 0 ;
6863 (char *) "self", NULL
6866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimerEvent_GetInterval",kwnames
,&obj0
)) goto fail
;
6867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerEvent
,
6868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6871 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
6873 wxPyEndAllowThreads(__tstate
);
6874 if (PyErr_Occurred()) SWIG_fail
;
6876 resultobj
= SWIG_FromInt((int)result
);
6883 static PyObject
* TimerEvent_swigregister(PyObject
*self
, PyObject
*args
) {
6885 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6886 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent
, obj
);
6888 return Py_BuildValue((char *)"");
6890 static PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*self
, PyObject
*args
) {
6891 PyObject
*resultobj
;
6893 wxTimerRunner
*result
;
6894 PyObject
* obj0
= 0 ;
6896 if(!PyArg_ParseTuple(args
,(char *)"O:new_TimerRunner",&obj0
)) goto fail
;
6897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimer
,
6898 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6901 PyErr_SetString(PyExc_TypeError
,"null reference");
6905 if (!wxPyCheckForApp()) SWIG_fail
;
6906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6907 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
6909 wxPyEndAllowThreads(__tstate
);
6910 if (PyErr_Occurred()) SWIG_fail
;
6912 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
6919 static PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*self
, PyObject
*args
) {
6920 PyObject
*resultobj
;
6923 bool arg3
= (bool) False
;
6924 wxTimerRunner
*result
;
6925 PyObject
* obj0
= 0 ;
6926 PyObject
* obj1
= 0 ;
6927 PyObject
* obj2
= 0 ;
6929 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_TimerRunner",&obj0
,&obj1
,&obj2
)) goto fail
;
6930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimer
,
6931 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6934 PyErr_SetString(PyExc_TypeError
,"null reference");
6937 arg2
= (int) SWIG_AsInt(obj1
);
6938 if (PyErr_Occurred()) SWIG_fail
;
6940 arg3
= (bool) SWIG_AsBool(obj2
);
6941 if (PyErr_Occurred()) SWIG_fail
;
6944 if (!wxPyCheckForApp()) SWIG_fail
;
6945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6946 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
6948 wxPyEndAllowThreads(__tstate
);
6949 if (PyErr_Occurred()) SWIG_fail
;
6951 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
6958 static PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
6963 argc
= PyObject_Length(args
);
6964 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
6965 argv
[ii
] = PyTuple_GetItem(args
,ii
);
6971 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
6979 return _wrap_new_TimerRunner__SWIG_0(self
,args
);
6982 if ((argc
>= 2) && (argc
<= 3)) {
6986 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
6994 _v
= SWIG_CheckInt(argv
[1]);
6997 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
6999 _v
= SWIG_CheckBool(argv
[2]);
7001 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
7007 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TimerRunner'");
7012 static PyObject
*_wrap_delete_TimerRunner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7013 PyObject
*resultobj
;
7014 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
7015 PyObject
* obj0
= 0 ;
7017 (char *) "self", NULL
7020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimerRunner",kwnames
,&obj0
)) goto fail
;
7021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerRunner
,
7022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7027 wxPyEndAllowThreads(__tstate
);
7028 if (PyErr_Occurred()) SWIG_fail
;
7030 Py_INCREF(Py_None
); resultobj
= Py_None
;
7037 static PyObject
*_wrap_TimerRunner_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7038 PyObject
*resultobj
;
7039 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
7041 bool arg3
= (bool) False
;
7042 PyObject
* obj0
= 0 ;
7043 PyObject
* obj1
= 0 ;
7044 PyObject
* obj2
= 0 ;
7046 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
7049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TimerRunner_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerRunner
,
7051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7052 arg2
= (int) SWIG_AsInt(obj1
);
7053 if (PyErr_Occurred()) SWIG_fail
;
7055 arg3
= (bool) SWIG_AsBool(obj2
);
7056 if (PyErr_Occurred()) SWIG_fail
;
7059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7060 (arg1
)->Start(arg2
,arg3
);
7062 wxPyEndAllowThreads(__tstate
);
7063 if (PyErr_Occurred()) SWIG_fail
;
7065 Py_INCREF(Py_None
); resultobj
= Py_None
;
7072 static PyObject
* TimerRunner_swigregister(PyObject
*self
, PyObject
*args
) {
7074 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7075 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner
, obj
);
7077 return Py_BuildValue((char *)"");
7079 static PyObject
*_wrap_new_Log(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7080 PyObject
*resultobj
;
7086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Log",kwnames
)) goto fail
;
7088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7089 result
= (wxLog
*)new wxLog();
7091 wxPyEndAllowThreads(__tstate
);
7092 if (PyErr_Occurred()) SWIG_fail
;
7094 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 1);
7101 static PyObject
*_wrap_Log_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7102 PyObject
*resultobj
;
7108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_IsEnabled",kwnames
)) goto fail
;
7110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7111 result
= (bool)wxLog::IsEnabled();
7113 wxPyEndAllowThreads(__tstate
);
7114 if (PyErr_Occurred()) SWIG_fail
;
7117 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7125 static PyObject
*_wrap_Log_EnableLogging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7126 PyObject
*resultobj
;
7127 bool arg1
= (bool) True
;
7129 PyObject
* obj0
= 0 ;
7131 (char *) "doIt", NULL
7134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) goto fail
;
7136 arg1
= (bool) SWIG_AsBool(obj0
);
7137 if (PyErr_Occurred()) SWIG_fail
;
7140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7141 result
= (bool)wxLog::EnableLogging(arg1
);
7143 wxPyEndAllowThreads(__tstate
);
7144 if (PyErr_Occurred()) SWIG_fail
;
7147 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7155 static PyObject
*_wrap_Log_OnLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7156 PyObject
*resultobj
;
7158 wxChar
*arg2
= (wxChar
*) 0 ;
7160 PyObject
* obj0
= 0 ;
7161 PyObject
* obj1
= 0 ;
7162 PyObject
* obj2
= 0 ;
7164 (char *) "level",(char *) "szString",(char *) "t", NULL
7167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7168 arg1
= (wxLogLevel
) SWIG_AsUnsignedLong(obj0
);
7169 if (PyErr_Occurred()) SWIG_fail
;
7170 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxChar
,
7171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7172 arg3
= (time_t) SWIG_AsUnsignedInt(obj2
);
7173 if (PyErr_Occurred()) SWIG_fail
;
7175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7176 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
7178 wxPyEndAllowThreads(__tstate
);
7179 if (PyErr_Occurred()) SWIG_fail
;
7181 Py_INCREF(Py_None
); resultobj
= Py_None
;
7188 static PyObject
*_wrap_Log_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7189 PyObject
*resultobj
;
7190 wxLog
*arg1
= (wxLog
*) 0 ;
7191 PyObject
* obj0
= 0 ;
7193 (char *) "self", NULL
7196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Flush",kwnames
,&obj0
)) goto fail
;
7197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7203 wxPyEndAllowThreads(__tstate
);
7204 if (PyErr_Occurred()) SWIG_fail
;
7206 Py_INCREF(Py_None
); resultobj
= Py_None
;
7213 static PyObject
*_wrap_Log_FlushActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7214 PyObject
*resultobj
;
7219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_FlushActive",kwnames
)) goto fail
;
7221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7222 wxLog::FlushActive();
7224 wxPyEndAllowThreads(__tstate
);
7225 if (PyErr_Occurred()) SWIG_fail
;
7227 Py_INCREF(Py_None
); resultobj
= Py_None
;
7234 static PyObject
*_wrap_Log_GetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7235 PyObject
*resultobj
;
7241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetActiveTarget",kwnames
)) goto fail
;
7243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7244 result
= (wxLog
*)wxLog::GetActiveTarget();
7246 wxPyEndAllowThreads(__tstate
);
7247 if (PyErr_Occurred()) SWIG_fail
;
7249 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7256 static PyObject
*_wrap_Log_SetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7257 PyObject
*resultobj
;
7258 wxLog
*arg1
= (wxLog
*) 0 ;
7260 PyObject
* obj0
= 0 ;
7262 (char *) "pLogger", NULL
7265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) goto fail
;
7266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7270 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
7272 wxPyEndAllowThreads(__tstate
);
7273 if (PyErr_Occurred()) SWIG_fail
;
7275 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7282 static PyObject
*_wrap_Log_Suspend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7283 PyObject
*resultobj
;
7288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Suspend",kwnames
)) goto fail
;
7290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7293 wxPyEndAllowThreads(__tstate
);
7294 if (PyErr_Occurred()) SWIG_fail
;
7296 Py_INCREF(Py_None
); resultobj
= Py_None
;
7303 static PyObject
*_wrap_Log_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7304 PyObject
*resultobj
;
7309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Resume",kwnames
)) goto fail
;
7311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7314 wxPyEndAllowThreads(__tstate
);
7315 if (PyErr_Occurred()) SWIG_fail
;
7317 Py_INCREF(Py_None
); resultobj
= Py_None
;
7324 static PyObject
*_wrap_Log_SetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7325 PyObject
*resultobj
;
7326 bool arg1
= (bool) True
;
7327 PyObject
* obj0
= 0 ;
7329 (char *) "bVerbose", NULL
7332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) goto fail
;
7334 arg1
= (bool) SWIG_AsBool(obj0
);
7335 if (PyErr_Occurred()) SWIG_fail
;
7338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7339 wxLog::SetVerbose(arg1
);
7341 wxPyEndAllowThreads(__tstate
);
7342 if (PyErr_Occurred()) SWIG_fail
;
7344 Py_INCREF(Py_None
); resultobj
= Py_None
;
7351 static PyObject
*_wrap_Log_SetLogLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7352 PyObject
*resultobj
;
7354 PyObject
* obj0
= 0 ;
7356 (char *) "logLevel", NULL
7359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) goto fail
;
7360 arg1
= (wxLogLevel
) SWIG_AsUnsignedLong(obj0
);
7361 if (PyErr_Occurred()) SWIG_fail
;
7363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7364 wxLog::SetLogLevel(arg1
);
7366 wxPyEndAllowThreads(__tstate
);
7367 if (PyErr_Occurred()) SWIG_fail
;
7369 Py_INCREF(Py_None
); resultobj
= Py_None
;
7376 static PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7377 PyObject
*resultobj
;
7382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_DontCreateOnDemand",kwnames
)) goto fail
;
7384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7385 wxLog::DontCreateOnDemand();
7387 wxPyEndAllowThreads(__tstate
);
7388 if (PyErr_Occurred()) SWIG_fail
;
7390 Py_INCREF(Py_None
); resultobj
= Py_None
;
7397 static PyObject
*_wrap_Log_SetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7398 PyObject
*resultobj
;
7400 PyObject
* obj0
= 0 ;
7402 (char *) "ulMask", NULL
7405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) goto fail
;
7406 arg1
= (wxTraceMask
) SWIG_AsUnsignedLong(obj0
);
7407 if (PyErr_Occurred()) SWIG_fail
;
7409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7410 wxLog::SetTraceMask(arg1
);
7412 wxPyEndAllowThreads(__tstate
);
7413 if (PyErr_Occurred()) SWIG_fail
;
7415 Py_INCREF(Py_None
); resultobj
= Py_None
;
7422 static PyObject
*_wrap_Log_AddTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7423 PyObject
*resultobj
;
7424 wxString
*arg1
= 0 ;
7425 bool temp1
= False
;
7426 PyObject
* obj0
= 0 ;
7428 (char *) "str", NULL
7431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) goto fail
;
7433 arg1
= wxString_in_helper(obj0
);
7434 if (arg1
== NULL
) SWIG_fail
;
7438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7439 wxLog::AddTraceMask((wxString
const &)*arg1
);
7441 wxPyEndAllowThreads(__tstate
);
7442 if (PyErr_Occurred()) SWIG_fail
;
7444 Py_INCREF(Py_None
); resultobj
= Py_None
;
7459 static PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7460 PyObject
*resultobj
;
7461 wxString
*arg1
= 0 ;
7462 bool temp1
= False
;
7463 PyObject
* obj0
= 0 ;
7465 (char *) "str", NULL
7468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) goto fail
;
7470 arg1
= wxString_in_helper(obj0
);
7471 if (arg1
== NULL
) SWIG_fail
;
7475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7476 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
7478 wxPyEndAllowThreads(__tstate
);
7479 if (PyErr_Occurred()) SWIG_fail
;
7481 Py_INCREF(Py_None
); resultobj
= Py_None
;
7496 static PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7497 PyObject
*resultobj
;
7502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_ClearTraceMasks",kwnames
)) goto fail
;
7504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7505 wxLog::ClearTraceMasks();
7507 wxPyEndAllowThreads(__tstate
);
7508 if (PyErr_Occurred()) SWIG_fail
;
7510 Py_INCREF(Py_None
); resultobj
= Py_None
;
7517 static PyObject
*_wrap_Log_GetTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7518 PyObject
*resultobj
;
7519 wxArrayString
*result
;
7524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMasks",kwnames
)) goto fail
;
7526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7528 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
7529 result
= (wxArrayString
*) &_result_ref
;
7532 wxPyEndAllowThreads(__tstate
);
7533 if (PyErr_Occurred()) SWIG_fail
;
7536 resultobj
= wxArrayString2PyList_helper(*result
);
7544 static PyObject
*_wrap_Log_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7545 PyObject
*resultobj
;
7546 wxChar
*arg1
= (wxChar
*) 0 ;
7547 PyObject
* obj0
= 0 ;
7552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) goto fail
;
7553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChar
,
7554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7557 wxLog::SetTimestamp((wxChar
const *)arg1
);
7559 wxPyEndAllowThreads(__tstate
);
7560 if (PyErr_Occurred()) SWIG_fail
;
7562 Py_INCREF(Py_None
); resultobj
= Py_None
;
7569 static PyObject
*_wrap_Log_GetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7570 PyObject
*resultobj
;
7576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetVerbose",kwnames
)) goto fail
;
7578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7579 result
= (bool)wxLog::GetVerbose();
7581 wxPyEndAllowThreads(__tstate
);
7582 if (PyErr_Occurred()) SWIG_fail
;
7585 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7593 static PyObject
*_wrap_Log_GetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7594 PyObject
*resultobj
;
7600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMask",kwnames
)) goto fail
;
7602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7603 result
= (wxTraceMask
)wxLog::GetTraceMask();
7605 wxPyEndAllowThreads(__tstate
);
7606 if (PyErr_Occurred()) SWIG_fail
;
7608 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
7615 static PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7616 PyObject
*resultobj
;
7617 wxChar
*arg1
= (wxChar
*) 0 ;
7619 PyObject
* obj0
= 0 ;
7621 (char *) "mask", NULL
7624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) goto fail
;
7625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChar
,
7626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7629 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
7631 wxPyEndAllowThreads(__tstate
);
7632 if (PyErr_Occurred()) SWIG_fail
;
7635 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7643 static PyObject
*_wrap_Log_GetLogLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7644 PyObject
*resultobj
;
7650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetLogLevel",kwnames
)) goto fail
;
7652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7653 result
= (wxLogLevel
)wxLog::GetLogLevel();
7655 wxPyEndAllowThreads(__tstate
);
7656 if (PyErr_Occurred()) SWIG_fail
;
7658 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
7665 static PyObject
*_wrap_Log_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7666 PyObject
*resultobj
;
7672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTimestamp",kwnames
)) goto fail
;
7674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7675 result
= (wxChar
*)wxLog::GetTimestamp();
7677 wxPyEndAllowThreads(__tstate
);
7678 if (PyErr_Occurred()) SWIG_fail
;
7680 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChar
, 0);
7687 static PyObject
*_wrap_Log_TimeStamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7688 PyObject
*resultobj
;
7694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_TimeStamp",kwnames
)) goto fail
;
7696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7697 result
= Log_TimeStamp();
7699 wxPyEndAllowThreads(__tstate
);
7700 if (PyErr_Occurred()) SWIG_fail
;
7704 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7706 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7715 static PyObject
*_wrap_Log_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7716 PyObject
*resultobj
;
7717 wxLog
*arg1
= (wxLog
*) 0 ;
7718 PyObject
* obj0
= 0 ;
7720 (char *) "self", NULL
7723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Destroy",kwnames
,&obj0
)) goto fail
;
7724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7728 wxLog_Destroy(arg1
);
7730 wxPyEndAllowThreads(__tstate
);
7731 if (PyErr_Occurred()) SWIG_fail
;
7733 Py_INCREF(Py_None
); resultobj
= Py_None
;
7740 static PyObject
* Log_swigregister(PyObject
*self
, PyObject
*args
) {
7742 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7743 SWIG_TypeClientData(SWIGTYPE_p_wxLog
, obj
);
7745 return Py_BuildValue((char *)"");
7747 static PyObject
*_wrap_new_LogStderr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7748 PyObject
*resultobj
;
7749 wxLogStderr
*result
;
7754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogStderr",kwnames
)) goto fail
;
7756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7757 result
= (wxLogStderr
*)new wxLogStderr();
7759 wxPyEndAllowThreads(__tstate
);
7760 if (PyErr_Occurred()) SWIG_fail
;
7762 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogStderr
, 1);
7769 static PyObject
* LogStderr_swigregister(PyObject
*self
, PyObject
*args
) {
7771 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7772 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr
, obj
);
7774 return Py_BuildValue((char *)"");
7776 static PyObject
*_wrap_new_LogTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7777 PyObject
*resultobj
;
7778 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7779 wxLogTextCtrl
*result
;
7780 PyObject
* obj0
= 0 ;
7782 (char *) "pTextCtrl", NULL
7785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) goto fail
;
7786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7790 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
7792 wxPyEndAllowThreads(__tstate
);
7793 if (PyErr_Occurred()) SWIG_fail
;
7795 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogTextCtrl
, 1);
7802 static PyObject
* LogTextCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
7804 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7805 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl
, obj
);
7807 return Py_BuildValue((char *)"");
7809 static PyObject
*_wrap_new_LogGui(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7810 PyObject
*resultobj
;
7816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogGui",kwnames
)) goto fail
;
7818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7819 result
= (wxLogGui
*)new wxLogGui();
7821 wxPyEndAllowThreads(__tstate
);
7822 if (PyErr_Occurred()) SWIG_fail
;
7824 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogGui
, 1);
7831 static PyObject
* LogGui_swigregister(PyObject
*self
, PyObject
*args
) {
7833 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7834 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui
, obj
);
7836 return Py_BuildValue((char *)"");
7838 static PyObject
*_wrap_new_LogWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7839 PyObject
*resultobj
;
7840 wxFrame
*arg1
= (wxFrame
*) 0 ;
7841 wxString
*arg2
= 0 ;
7842 bool arg3
= (bool) True
;
7843 bool arg4
= (bool) True
;
7844 wxLogWindow
*result
;
7845 bool temp2
= False
;
7846 PyObject
* obj0
= 0 ;
7847 PyObject
* obj1
= 0 ;
7848 PyObject
* obj2
= 0 ;
7849 PyObject
* obj3
= 0 ;
7851 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
7854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
7856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7858 arg2
= wxString_in_helper(obj1
);
7859 if (arg2
== NULL
) SWIG_fail
;
7863 arg3
= (bool) SWIG_AsBool(obj2
);
7864 if (PyErr_Occurred()) SWIG_fail
;
7867 arg4
= (bool) SWIG_AsBool(obj3
);
7868 if (PyErr_Occurred()) SWIG_fail
;
7871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7872 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
7874 wxPyEndAllowThreads(__tstate
);
7875 if (PyErr_Occurred()) SWIG_fail
;
7877 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogWindow
, 1);
7892 static PyObject
*_wrap_LogWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7893 PyObject
*resultobj
;
7894 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7895 bool arg2
= (bool) True
;
7896 PyObject
* obj0
= 0 ;
7897 PyObject
* obj1
= 0 ;
7899 (char *) "self",(char *) "bShow", NULL
7902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
7903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7906 arg2
= (bool) SWIG_AsBool(obj1
);
7907 if (PyErr_Occurred()) SWIG_fail
;
7910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7913 wxPyEndAllowThreads(__tstate
);
7914 if (PyErr_Occurred()) SWIG_fail
;
7916 Py_INCREF(Py_None
); resultobj
= Py_None
;
7923 static PyObject
*_wrap_LogWindow_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7924 PyObject
*resultobj
;
7925 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7927 PyObject
* obj0
= 0 ;
7929 (char *) "self", NULL
7932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetFrame",kwnames
,&obj0
)) goto fail
;
7933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7937 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
7939 wxPyEndAllowThreads(__tstate
);
7940 if (PyErr_Occurred()) SWIG_fail
;
7943 resultobj
= wxPyMake_wxObject(result
);
7951 static PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7952 PyObject
*resultobj
;
7953 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7955 PyObject
* obj0
= 0 ;
7957 (char *) "self", NULL
7960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetOldLog",kwnames
,&obj0
)) goto fail
;
7961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7965 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
7967 wxPyEndAllowThreads(__tstate
);
7968 if (PyErr_Occurred()) SWIG_fail
;
7970 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7977 static PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7978 PyObject
*resultobj
;
7979 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7981 PyObject
* obj0
= 0 ;
7983 (char *) "self", NULL
7986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
7987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7991 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
7993 wxPyEndAllowThreads(__tstate
);
7994 if (PyErr_Occurred()) SWIG_fail
;
7997 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8005 static PyObject
*_wrap_LogWindow_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8006 PyObject
*resultobj
;
8007 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
8009 PyObject
* obj0
= 0 ;
8010 PyObject
* obj1
= 0 ;
8012 (char *) "self",(char *) "bDoPass", NULL
8015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
8016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
8017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8018 arg2
= (bool) SWIG_AsBool(obj1
);
8019 if (PyErr_Occurred()) SWIG_fail
;
8021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8022 (arg1
)->PassMessages(arg2
);
8024 wxPyEndAllowThreads(__tstate
);
8025 if (PyErr_Occurred()) SWIG_fail
;
8027 Py_INCREF(Py_None
); resultobj
= Py_None
;
8034 static PyObject
* LogWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8036 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8037 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow
, obj
);
8039 return Py_BuildValue((char *)"");
8041 static PyObject
*_wrap_new_LogChain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8042 PyObject
*resultobj
;
8043 wxLog
*arg1
= (wxLog
*) 0 ;
8045 PyObject
* obj0
= 0 ;
8047 (char *) "logger", NULL
8050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) goto fail
;
8051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
8052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8055 result
= (wxLogChain
*)new wxLogChain(arg1
);
8057 wxPyEndAllowThreads(__tstate
);
8058 if (PyErr_Occurred()) SWIG_fail
;
8060 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogChain
, 1);
8067 static PyObject
*_wrap_LogChain_SetLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8068 PyObject
*resultobj
;
8069 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8070 wxLog
*arg2
= (wxLog
*) 0 ;
8071 PyObject
* obj0
= 0 ;
8072 PyObject
* obj1
= 0 ;
8074 (char *) "self",(char *) "logger", NULL
8077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) goto fail
;
8078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8080 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLog
,
8081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8084 (arg1
)->SetLog(arg2
);
8086 wxPyEndAllowThreads(__tstate
);
8087 if (PyErr_Occurred()) SWIG_fail
;
8089 Py_INCREF(Py_None
); resultobj
= Py_None
;
8096 static PyObject
*_wrap_LogChain_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8097 PyObject
*resultobj
;
8098 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8100 PyObject
* obj0
= 0 ;
8101 PyObject
* obj1
= 0 ;
8103 (char *) "self",(char *) "bDoPass", NULL
8106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
8107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8109 arg2
= (bool) SWIG_AsBool(obj1
);
8110 if (PyErr_Occurred()) SWIG_fail
;
8112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8113 (arg1
)->PassMessages(arg2
);
8115 wxPyEndAllowThreads(__tstate
);
8116 if (PyErr_Occurred()) SWIG_fail
;
8118 Py_INCREF(Py_None
); resultobj
= Py_None
;
8125 static PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8126 PyObject
*resultobj
;
8127 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8129 PyObject
* obj0
= 0 ;
8131 (char *) "self", NULL
8134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
8135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8139 result
= (bool)(arg1
)->IsPassingMessages();
8141 wxPyEndAllowThreads(__tstate
);
8142 if (PyErr_Occurred()) SWIG_fail
;
8145 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8153 static PyObject
*_wrap_LogChain_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8154 PyObject
*resultobj
;
8155 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8157 PyObject
* obj0
= 0 ;
8159 (char *) "self", NULL
8162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_GetOldLog",kwnames
,&obj0
)) goto fail
;
8163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8167 result
= (wxLog
*)(arg1
)->GetOldLog();
8169 wxPyEndAllowThreads(__tstate
);
8170 if (PyErr_Occurred()) SWIG_fail
;
8172 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
8179 static PyObject
* LogChain_swigregister(PyObject
*self
, PyObject
*args
) {
8181 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8182 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain
, obj
);
8184 return Py_BuildValue((char *)"");
8186 static PyObject
*_wrap_SysErrorCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8187 PyObject
*resultobj
;
8188 unsigned long result
;
8193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SysErrorCode",kwnames
)) goto fail
;
8195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8196 result
= (unsigned long)wxSysErrorCode();
8198 wxPyEndAllowThreads(__tstate
);
8199 if (PyErr_Occurred()) SWIG_fail
;
8201 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
8208 static PyObject
*_wrap_SysErrorMsg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8209 PyObject
*resultobj
;
8210 unsigned long arg1
= (unsigned long) 0 ;
8212 PyObject
* obj0
= 0 ;
8214 (char *) "nErrCode", NULL
8217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) goto fail
;
8219 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
8220 if (PyErr_Occurred()) SWIG_fail
;
8223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8224 result
= wxSysErrorMsg(arg1
);
8226 wxPyEndAllowThreads(__tstate
);
8227 if (PyErr_Occurred()) SWIG_fail
;
8231 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8233 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8242 static PyObject
*_wrap_LogFatalError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8243 PyObject
*resultobj
;
8244 wxString
*arg1
= 0 ;
8245 bool temp1
= False
;
8246 PyObject
* obj0
= 0 ;
8248 (char *) "msg", NULL
8251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) goto fail
;
8253 arg1
= wxString_in_helper(obj0
);
8254 if (arg1
== NULL
) SWIG_fail
;
8258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8259 wxLogFatalError((wxString
const &)*arg1
);
8261 wxPyEndAllowThreads(__tstate
);
8262 if (PyErr_Occurred()) SWIG_fail
;
8264 Py_INCREF(Py_None
); resultobj
= Py_None
;
8279 static PyObject
*_wrap_LogError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8280 PyObject
*resultobj
;
8281 wxString
*arg1
= 0 ;
8282 bool temp1
= False
;
8283 PyObject
* obj0
= 0 ;
8285 (char *) "msg", NULL
8288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) goto fail
;
8290 arg1
= wxString_in_helper(obj0
);
8291 if (arg1
== NULL
) SWIG_fail
;
8295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8296 wxLogError((wxString
const &)*arg1
);
8298 wxPyEndAllowThreads(__tstate
);
8299 if (PyErr_Occurred()) SWIG_fail
;
8301 Py_INCREF(Py_None
); resultobj
= Py_None
;
8316 static PyObject
*_wrap_LogWarning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8317 PyObject
*resultobj
;
8318 wxString
*arg1
= 0 ;
8319 bool temp1
= False
;
8320 PyObject
* obj0
= 0 ;
8322 (char *) "msg", NULL
8325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) goto fail
;
8327 arg1
= wxString_in_helper(obj0
);
8328 if (arg1
== NULL
) SWIG_fail
;
8332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8333 wxLogWarning((wxString
const &)*arg1
);
8335 wxPyEndAllowThreads(__tstate
);
8336 if (PyErr_Occurred()) SWIG_fail
;
8338 Py_INCREF(Py_None
); resultobj
= Py_None
;
8353 static PyObject
*_wrap_LogMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8354 PyObject
*resultobj
;
8355 wxString
*arg1
= 0 ;
8356 bool temp1
= False
;
8357 PyObject
* obj0
= 0 ;
8359 (char *) "msg", NULL
8362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) goto fail
;
8364 arg1
= wxString_in_helper(obj0
);
8365 if (arg1
== NULL
) SWIG_fail
;
8369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8370 wxLogMessage((wxString
const &)*arg1
);
8372 wxPyEndAllowThreads(__tstate
);
8373 if (PyErr_Occurred()) SWIG_fail
;
8375 Py_INCREF(Py_None
); resultobj
= Py_None
;
8390 static PyObject
*_wrap_LogInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8391 PyObject
*resultobj
;
8392 wxString
*arg1
= 0 ;
8393 bool temp1
= False
;
8394 PyObject
* obj0
= 0 ;
8396 (char *) "msg", NULL
8399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) goto fail
;
8401 arg1
= wxString_in_helper(obj0
);
8402 if (arg1
== NULL
) SWIG_fail
;
8406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8407 wxLogInfo((wxString
const &)*arg1
);
8409 wxPyEndAllowThreads(__tstate
);
8410 if (PyErr_Occurred()) SWIG_fail
;
8412 Py_INCREF(Py_None
); resultobj
= Py_None
;
8427 static PyObject
*_wrap_LogDebug(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8428 PyObject
*resultobj
;
8429 wxString
*arg1
= 0 ;
8430 bool temp1
= False
;
8431 PyObject
* obj0
= 0 ;
8433 (char *) "msg", NULL
8436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) goto fail
;
8438 arg1
= wxString_in_helper(obj0
);
8439 if (arg1
== NULL
) SWIG_fail
;
8443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8444 wxLogDebug((wxString
const &)*arg1
);
8446 wxPyEndAllowThreads(__tstate
);
8447 if (PyErr_Occurred()) SWIG_fail
;
8449 Py_INCREF(Py_None
); resultobj
= Py_None
;
8464 static PyObject
*_wrap_LogVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8465 PyObject
*resultobj
;
8466 wxString
*arg1
= 0 ;
8467 bool temp1
= False
;
8468 PyObject
* obj0
= 0 ;
8470 (char *) "msg", NULL
8473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) goto fail
;
8475 arg1
= wxString_in_helper(obj0
);
8476 if (arg1
== NULL
) SWIG_fail
;
8480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8481 wxLogVerbose((wxString
const &)*arg1
);
8483 wxPyEndAllowThreads(__tstate
);
8484 if (PyErr_Occurred()) SWIG_fail
;
8486 Py_INCREF(Py_None
); resultobj
= Py_None
;
8501 static PyObject
*_wrap_LogStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8502 PyObject
*resultobj
;
8503 wxString
*arg1
= 0 ;
8504 bool temp1
= False
;
8505 PyObject
* obj0
= 0 ;
8507 (char *) "msg", NULL
8510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) goto fail
;
8512 arg1
= wxString_in_helper(obj0
);
8513 if (arg1
== NULL
) SWIG_fail
;
8517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8518 wxLogStatus((wxString
const &)*arg1
);
8520 wxPyEndAllowThreads(__tstate
);
8521 if (PyErr_Occurred()) SWIG_fail
;
8523 Py_INCREF(Py_None
); resultobj
= Py_None
;
8538 static PyObject
*_wrap_LogStatusFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8539 PyObject
*resultobj
;
8540 wxFrame
*arg1
= (wxFrame
*) 0 ;
8541 wxString
*arg2
= 0 ;
8542 bool temp2
= False
;
8543 PyObject
* obj0
= 0 ;
8544 PyObject
* obj1
= 0 ;
8546 (char *) "pFrame",(char *) "msg", NULL
8549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
8550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
8551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8553 arg2
= wxString_in_helper(obj1
);
8554 if (arg2
== NULL
) SWIG_fail
;
8558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8559 wxLogStatus(arg1
,(wxString
const &)*arg2
);
8561 wxPyEndAllowThreads(__tstate
);
8562 if (PyErr_Occurred()) SWIG_fail
;
8564 Py_INCREF(Py_None
); resultobj
= Py_None
;
8579 static PyObject
*_wrap_LogSysError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8580 PyObject
*resultobj
;
8581 wxString
*arg1
= 0 ;
8582 bool temp1
= False
;
8583 PyObject
* obj0
= 0 ;
8585 (char *) "msg", NULL
8588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) goto fail
;
8590 arg1
= wxString_in_helper(obj0
);
8591 if (arg1
== NULL
) SWIG_fail
;
8595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8596 wxLogSysError((wxString
const &)*arg1
);
8598 wxPyEndAllowThreads(__tstate
);
8599 if (PyErr_Occurred()) SWIG_fail
;
8601 Py_INCREF(Py_None
); resultobj
= Py_None
;
8616 static PyObject
*_wrap_LogTrace__SWIG_0(PyObject
*self
, PyObject
*args
) {
8617 PyObject
*resultobj
;
8618 unsigned long arg1
;
8619 wxString
*arg2
= 0 ;
8620 bool temp2
= False
;
8621 PyObject
* obj0
= 0 ;
8622 PyObject
* obj1
= 0 ;
8624 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
8625 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
8626 if (PyErr_Occurred()) SWIG_fail
;
8628 arg2
= wxString_in_helper(obj1
);
8629 if (arg2
== NULL
) SWIG_fail
;
8633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8634 wxLogTrace(arg1
,(wxString
const &)*arg2
);
8636 wxPyEndAllowThreads(__tstate
);
8637 if (PyErr_Occurred()) SWIG_fail
;
8639 Py_INCREF(Py_None
); resultobj
= Py_None
;
8654 static PyObject
*_wrap_LogTrace__SWIG_1(PyObject
*self
, PyObject
*args
) {
8655 PyObject
*resultobj
;
8656 wxString
*arg1
= 0 ;
8657 wxString
*arg2
= 0 ;
8658 bool temp1
= False
;
8659 bool temp2
= False
;
8660 PyObject
* obj0
= 0 ;
8661 PyObject
* obj1
= 0 ;
8663 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
8665 arg1
= wxString_in_helper(obj0
);
8666 if (arg1
== NULL
) SWIG_fail
;
8670 arg2
= wxString_in_helper(obj1
);
8671 if (arg2
== NULL
) SWIG_fail
;
8675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8676 wxLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
8678 wxPyEndAllowThreads(__tstate
);
8679 if (PyErr_Occurred()) SWIG_fail
;
8681 Py_INCREF(Py_None
); resultobj
= Py_None
;
8704 static PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
) {
8709 argc
= PyObject_Length(args
);
8710 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
8711 argv
[ii
] = PyTuple_GetItem(args
,ii
);
8716 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
8720 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
8723 return _wrap_LogTrace__SWIG_1(self
,args
);
8729 _v
= SWIG_CheckUnsignedLong(argv
[0]);
8732 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
8735 return _wrap_LogTrace__SWIG_0(self
,args
);
8740 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'LogTrace'");
8745 static PyObject
*_wrap_LogGeneric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8746 PyObject
*resultobj
;
8747 unsigned long arg1
;
8748 wxString
*arg2
= 0 ;
8749 bool temp2
= False
;
8750 PyObject
* obj0
= 0 ;
8751 PyObject
* obj1
= 0 ;
8753 (char *) "level",(char *) "msg", NULL
8756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) goto fail
;
8757 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
8758 if (PyErr_Occurred()) SWIG_fail
;
8760 arg2
= wxString_in_helper(obj1
);
8761 if (arg2
== NULL
) SWIG_fail
;
8765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8766 wxLogGeneric(arg1
,(wxString
const &)*arg2
);
8768 wxPyEndAllowThreads(__tstate
);
8769 if (PyErr_Occurred()) SWIG_fail
;
8771 Py_INCREF(Py_None
); resultobj
= Py_None
;
8786 static PyObject
*_wrap_SafeShowMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8787 PyObject
*resultobj
;
8788 wxString
*arg1
= 0 ;
8789 wxString
*arg2
= 0 ;
8790 bool temp1
= False
;
8791 bool temp2
= False
;
8792 PyObject
* obj0
= 0 ;
8793 PyObject
* obj1
= 0 ;
8795 (char *) "title",(char *) "text", NULL
8798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
8800 arg1
= wxString_in_helper(obj0
);
8801 if (arg1
== NULL
) SWIG_fail
;
8805 arg2
= wxString_in_helper(obj1
);
8806 if (arg2
== NULL
) SWIG_fail
;
8810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8811 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
8813 wxPyEndAllowThreads(__tstate
);
8814 if (PyErr_Occurred()) SWIG_fail
;
8816 Py_INCREF(Py_None
); resultobj
= Py_None
;
8839 static PyObject
*_wrap_new_LogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8840 PyObject
*resultobj
;
8846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogNull",kwnames
)) goto fail
;
8848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8849 result
= (wxLogNull
*)new wxLogNull();
8851 wxPyEndAllowThreads(__tstate
);
8852 if (PyErr_Occurred()) SWIG_fail
;
8854 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogNull
, 1);
8861 static PyObject
*_wrap_delete_LogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8862 PyObject
*resultobj
;
8863 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
8864 PyObject
* obj0
= 0 ;
8866 (char *) "self", NULL
8869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LogNull",kwnames
,&obj0
)) goto fail
;
8870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogNull
,
8871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8876 wxPyEndAllowThreads(__tstate
);
8877 if (PyErr_Occurred()) SWIG_fail
;
8879 Py_INCREF(Py_None
); resultobj
= Py_None
;
8886 static PyObject
* LogNull_swigregister(PyObject
*self
, PyObject
*args
) {
8888 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8889 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull
, obj
);
8891 return Py_BuildValue((char *)"");
8893 static PyObject
*_wrap_new_PyLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8894 PyObject
*resultobj
;
8900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyLog",kwnames
)) goto fail
;
8902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8903 result
= (wxPyLog
*)new wxPyLog();
8905 wxPyEndAllowThreads(__tstate
);
8906 if (PyErr_Occurred()) SWIG_fail
;
8908 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyLog
, 1);
8915 static PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8916 PyObject
*resultobj
;
8917 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
8918 PyObject
*arg2
= (PyObject
*) 0 ;
8919 PyObject
*arg3
= (PyObject
*) 0 ;
8920 PyObject
* obj0
= 0 ;
8921 PyObject
* obj1
= 0 ;
8922 PyObject
* obj2
= 0 ;
8924 (char *) "self",(char *) "self",(char *) "_class", NULL
8927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLog
,
8929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8934 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8936 wxPyEndAllowThreads(__tstate
);
8937 if (PyErr_Occurred()) SWIG_fail
;
8939 Py_INCREF(Py_None
); resultobj
= Py_None
;
8946 static PyObject
* PyLog_swigregister(PyObject
*self
, PyObject
*args
) {
8948 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8949 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog
, obj
);
8951 return Py_BuildValue((char *)"");
8953 static PyObject
*_wrap_Process_Kill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8954 PyObject
*resultobj
;
8956 int arg2
= (int) wxSIGTERM
;
8958 PyObject
* obj0
= 0 ;
8959 PyObject
* obj1
= 0 ;
8961 (char *) "pid",(char *) "sig", NULL
8964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Kill",kwnames
,&obj0
,&obj1
)) goto fail
;
8965 arg1
= (int) SWIG_AsInt(obj0
);
8966 if (PyErr_Occurred()) SWIG_fail
;
8968 arg2
= (wxSignal
) SWIG_AsInt(obj1
);
8969 if (PyErr_Occurred()) SWIG_fail
;
8972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8973 result
= (int)wxPyProcess::Kill(arg1
,(wxSignal
)arg2
);
8975 wxPyEndAllowThreads(__tstate
);
8976 if (PyErr_Occurred()) SWIG_fail
;
8978 resultobj
= SWIG_FromInt((int)result
);
8985 static PyObject
*_wrap_Process_Exists(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8986 PyObject
*resultobj
;
8989 PyObject
* obj0
= 0 ;
8991 (char *) "pid", NULL
8994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Exists",kwnames
,&obj0
)) goto fail
;
8995 arg1
= (int) SWIG_AsInt(obj0
);
8996 if (PyErr_Occurred()) SWIG_fail
;
8998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8999 result
= (bool)wxPyProcess::Exists(arg1
);
9001 wxPyEndAllowThreads(__tstate
);
9002 if (PyErr_Occurred()) SWIG_fail
;
9005 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9013 static PyObject
*_wrap_Process_Open(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9014 PyObject
*resultobj
;
9015 wxString
*arg1
= 0 ;
9016 int arg2
= (int) wxEXEC_ASYNC
;
9017 wxPyProcess
*result
;
9018 bool temp1
= False
;
9019 PyObject
* obj0
= 0 ;
9020 PyObject
* obj1
= 0 ;
9022 (char *) "cmd",(char *) "flags", NULL
9025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Open",kwnames
,&obj0
,&obj1
)) goto fail
;
9027 arg1
= wxString_in_helper(obj0
);
9028 if (arg1
== NULL
) SWIG_fail
;
9032 arg2
= (int) SWIG_AsInt(obj1
);
9033 if (PyErr_Occurred()) SWIG_fail
;
9036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9037 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
9039 wxPyEndAllowThreads(__tstate
);
9040 if (PyErr_Occurred()) SWIG_fail
;
9042 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 0);
9057 static PyObject
*_wrap_new_Process(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9058 PyObject
*resultobj
;
9059 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
9060 int arg2
= (int) -1 ;
9061 wxPyProcess
*result
;
9062 PyObject
* obj0
= 0 ;
9063 PyObject
* obj1
= 0 ;
9065 (char *) "parent",(char *) "id", NULL
9068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Process",kwnames
,&obj0
,&obj1
)) goto fail
;
9070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
9071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9074 arg2
= (int) SWIG_AsInt(obj1
);
9075 if (PyErr_Occurred()) SWIG_fail
;
9078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9079 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
9081 wxPyEndAllowThreads(__tstate
);
9082 if (PyErr_Occurred()) SWIG_fail
;
9084 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 1);
9091 static PyObject
*_wrap_Process__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9092 PyObject
*resultobj
;
9093 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9094 PyObject
*arg2
= (PyObject
*) 0 ;
9095 PyObject
*arg3
= (PyObject
*) 0 ;
9096 PyObject
* obj0
= 0 ;
9097 PyObject
* obj1
= 0 ;
9098 PyObject
* obj2
= 0 ;
9100 (char *) "self",(char *) "self",(char *) "_class", NULL
9103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9110 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9112 wxPyEndAllowThreads(__tstate
);
9113 if (PyErr_Occurred()) SWIG_fail
;
9115 Py_INCREF(Py_None
); resultobj
= Py_None
;
9122 static PyObject
*_wrap_Process_base_OnTerminate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9123 PyObject
*resultobj
;
9124 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9127 PyObject
* obj0
= 0 ;
9128 PyObject
* obj1
= 0 ;
9129 PyObject
* obj2
= 0 ;
9131 (char *) "self",(char *) "pid",(char *) "status", NULL
9134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process_base_OnTerminate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9137 arg2
= (int) SWIG_AsInt(obj1
);
9138 if (PyErr_Occurred()) SWIG_fail
;
9139 arg3
= (int) SWIG_AsInt(obj2
);
9140 if (PyErr_Occurred()) SWIG_fail
;
9142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9143 (arg1
)->base_OnTerminate(arg2
,arg3
);
9145 wxPyEndAllowThreads(__tstate
);
9146 if (PyErr_Occurred()) SWIG_fail
;
9148 Py_INCREF(Py_None
); resultobj
= Py_None
;
9155 static PyObject
*_wrap_Process_Redirect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9156 PyObject
*resultobj
;
9157 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9158 PyObject
* obj0
= 0 ;
9160 (char *) "self", NULL
9163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Redirect",kwnames
,&obj0
)) goto fail
;
9164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9170 wxPyEndAllowThreads(__tstate
);
9171 if (PyErr_Occurred()) SWIG_fail
;
9173 Py_INCREF(Py_None
); resultobj
= Py_None
;
9180 static PyObject
*_wrap_Process_IsRedirected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9181 PyObject
*resultobj
;
9182 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9184 PyObject
* obj0
= 0 ;
9186 (char *) "self", NULL
9189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsRedirected",kwnames
,&obj0
)) goto fail
;
9190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9194 result
= (bool)(arg1
)->IsRedirected();
9196 wxPyEndAllowThreads(__tstate
);
9197 if (PyErr_Occurred()) SWIG_fail
;
9200 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9208 static PyObject
*_wrap_Process_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9209 PyObject
*resultobj
;
9210 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9211 PyObject
* obj0
= 0 ;
9213 (char *) "self", NULL
9216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Detach",kwnames
,&obj0
)) goto fail
;
9217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9223 wxPyEndAllowThreads(__tstate
);
9224 if (PyErr_Occurred()) SWIG_fail
;
9226 Py_INCREF(Py_None
); resultobj
= Py_None
;
9233 static PyObject
*_wrap_Process_GetInputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9234 PyObject
*resultobj
;
9235 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9236 wxInputStream
*result
;
9237 PyObject
* obj0
= 0 ;
9239 (char *) "self", NULL
9242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetInputStream",kwnames
,&obj0
)) goto fail
;
9243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9247 result
= (wxInputStream
*)(arg1
)->GetInputStream();
9249 wxPyEndAllowThreads(__tstate
);
9250 if (PyErr_Occurred()) SWIG_fail
;
9253 wxPyInputStream
* _ptr
= NULL
;
9256 _ptr
= new wxPyInputStream(result
);
9258 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
9266 static PyObject
*_wrap_Process_GetErrorStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9267 PyObject
*resultobj
;
9268 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9269 wxInputStream
*result
;
9270 PyObject
* obj0
= 0 ;
9272 (char *) "self", NULL
9275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetErrorStream",kwnames
,&obj0
)) goto fail
;
9276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9280 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
9282 wxPyEndAllowThreads(__tstate
);
9283 if (PyErr_Occurred()) SWIG_fail
;
9286 wxPyInputStream
* _ptr
= NULL
;
9289 _ptr
= new wxPyInputStream(result
);
9291 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
9299 static PyObject
*_wrap_Process_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9300 PyObject
*resultobj
;
9301 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9302 wxOutputStream
*result
;
9303 PyObject
* obj0
= 0 ;
9305 (char *) "self", NULL
9308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetOutputStream",kwnames
,&obj0
)) goto fail
;
9309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9313 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
9315 wxPyEndAllowThreads(__tstate
);
9316 if (PyErr_Occurred()) SWIG_fail
;
9318 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
9325 static PyObject
*_wrap_Process_CloseOutput(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9326 PyObject
*resultobj
;
9327 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9328 PyObject
* obj0
= 0 ;
9330 (char *) "self", NULL
9333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_CloseOutput",kwnames
,&obj0
)) goto fail
;
9334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9338 (arg1
)->CloseOutput();
9340 wxPyEndAllowThreads(__tstate
);
9341 if (PyErr_Occurred()) SWIG_fail
;
9343 Py_INCREF(Py_None
); resultobj
= Py_None
;
9350 static PyObject
*_wrap_Process_IsInputOpened(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9351 PyObject
*resultobj
;
9352 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9354 PyObject
* obj0
= 0 ;
9356 (char *) "self", NULL
9359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputOpened",kwnames
,&obj0
)) goto fail
;
9360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9364 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
9366 wxPyEndAllowThreads(__tstate
);
9367 if (PyErr_Occurred()) SWIG_fail
;
9370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9378 static PyObject
*_wrap_Process_IsInputAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9379 PyObject
*resultobj
;
9380 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9382 PyObject
* obj0
= 0 ;
9384 (char *) "self", NULL
9387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputAvailable",kwnames
,&obj0
)) goto fail
;
9388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9392 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
9394 wxPyEndAllowThreads(__tstate
);
9395 if (PyErr_Occurred()) SWIG_fail
;
9398 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9406 static PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9407 PyObject
*resultobj
;
9408 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9410 PyObject
* obj0
= 0 ;
9412 (char *) "self", NULL
9415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsErrorAvailable",kwnames
,&obj0
)) goto fail
;
9416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9420 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
9422 wxPyEndAllowThreads(__tstate
);
9423 if (PyErr_Occurred()) SWIG_fail
;
9426 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9434 static PyObject
* Process_swigregister(PyObject
*self
, PyObject
*args
) {
9436 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9437 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess
, obj
);
9439 return Py_BuildValue((char *)"");
9441 static PyObject
*_wrap_new_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9442 PyObject
*resultobj
;
9443 int arg1
= (int) 0 ;
9444 int arg2
= (int) 0 ;
9445 int arg3
= (int) 0 ;
9446 wxProcessEvent
*result
;
9447 PyObject
* obj0
= 0 ;
9448 PyObject
* obj1
= 0 ;
9449 PyObject
* obj2
= 0 ;
9451 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
9454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ProcessEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9456 arg1
= (int) SWIG_AsInt(obj0
);
9457 if (PyErr_Occurred()) SWIG_fail
;
9460 arg2
= (int) SWIG_AsInt(obj1
);
9461 if (PyErr_Occurred()) SWIG_fail
;
9464 arg3
= (int) SWIG_AsInt(obj2
);
9465 if (PyErr_Occurred()) SWIG_fail
;
9468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9469 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
9471 wxPyEndAllowThreads(__tstate
);
9472 if (PyErr_Occurred()) SWIG_fail
;
9474 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProcessEvent
, 1);
9481 static PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9482 PyObject
*resultobj
;
9483 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9485 PyObject
* obj0
= 0 ;
9487 (char *) "self", NULL
9490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetPid",kwnames
,&obj0
)) goto fail
;
9491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9495 result
= (int)(arg1
)->GetPid();
9497 wxPyEndAllowThreads(__tstate
);
9498 if (PyErr_Occurred()) SWIG_fail
;
9500 resultobj
= SWIG_FromInt((int)result
);
9507 static PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9508 PyObject
*resultobj
;
9509 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9511 PyObject
* obj0
= 0 ;
9513 (char *) "self", NULL
9516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetExitCode",kwnames
,&obj0
)) goto fail
;
9517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9521 result
= (int)(arg1
)->GetExitCode();
9523 wxPyEndAllowThreads(__tstate
);
9524 if (PyErr_Occurred()) SWIG_fail
;
9526 resultobj
= SWIG_FromInt((int)result
);
9533 static PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9534 PyObject
*resultobj
;
9535 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9537 PyObject
* obj0
= 0 ;
9538 PyObject
* obj1
= 0 ;
9540 (char *) "self",(char *) "m_pid", NULL
9543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_pid_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9546 arg2
= (int) SWIG_AsInt(obj1
);
9547 if (PyErr_Occurred()) SWIG_fail
;
9548 if (arg1
) (arg1
)->m_pid
= arg2
;
9550 Py_INCREF(Py_None
); resultobj
= Py_None
;
9557 static PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9558 PyObject
*resultobj
;
9559 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9561 PyObject
* obj0
= 0 ;
9563 (char *) "self", NULL
9566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_pid_get",kwnames
,&obj0
)) goto fail
;
9567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9569 result
= (int) ((arg1
)->m_pid
);
9571 resultobj
= SWIG_FromInt((int)result
);
9578 static PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9579 PyObject
*resultobj
;
9580 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9582 PyObject
* obj0
= 0 ;
9583 PyObject
* obj1
= 0 ;
9585 (char *) "self",(char *) "m_exitcode", NULL
9588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9591 arg2
= (int) SWIG_AsInt(obj1
);
9592 if (PyErr_Occurred()) SWIG_fail
;
9593 if (arg1
) (arg1
)->m_exitcode
= arg2
;
9595 Py_INCREF(Py_None
); resultobj
= Py_None
;
9602 static PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9603 PyObject
*resultobj
;
9604 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9606 PyObject
* obj0
= 0 ;
9608 (char *) "self", NULL
9611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_exitcode_get",kwnames
,&obj0
)) goto fail
;
9612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9614 result
= (int) ((arg1
)->m_exitcode
);
9616 resultobj
= SWIG_FromInt((int)result
);
9623 static PyObject
* ProcessEvent_swigregister(PyObject
*self
, PyObject
*args
) {
9625 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9626 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent
, obj
);
9628 return Py_BuildValue((char *)"");
9630 static PyObject
*_wrap_Execute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9631 PyObject
*resultobj
;
9632 wxString
*arg1
= 0 ;
9633 int arg2
= (int) wxEXEC_ASYNC
;
9634 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
9636 bool temp1
= False
;
9637 PyObject
* obj0
= 0 ;
9638 PyObject
* obj1
= 0 ;
9639 PyObject
* obj2
= 0 ;
9641 (char *) "command",(char *) "flags",(char *) "process", NULL
9644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Execute",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9646 arg1
= wxString_in_helper(obj0
);
9647 if (arg1
== NULL
) SWIG_fail
;
9651 arg2
= (int) SWIG_AsInt(obj1
);
9652 if (PyErr_Occurred()) SWIG_fail
;
9655 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyProcess
,
9656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9659 if (!wxPyCheckForApp()) SWIG_fail
;
9660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9661 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
9663 wxPyEndAllowThreads(__tstate
);
9664 if (PyErr_Occurred()) SWIG_fail
;
9666 resultobj
= SWIG_FromLong((long)result
);
9681 static PyObject
*_wrap_new_Joystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9682 PyObject
*resultobj
;
9683 int arg1
= (int) wxJOYSTICK1
;
9685 PyObject
* obj0
= 0 ;
9687 (char *) "joystick", NULL
9690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Joystick",kwnames
,&obj0
)) goto fail
;
9692 arg1
= (int) SWIG_AsInt(obj0
);
9693 if (PyErr_Occurred()) SWIG_fail
;
9696 if (!wxPyCheckForApp()) SWIG_fail
;
9697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9698 result
= (wxJoystick
*)new wxJoystick(arg1
);
9700 wxPyEndAllowThreads(__tstate
);
9701 if (PyErr_Occurred()) SWIG_fail
;
9703 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystick
, 1);
9710 static PyObject
*_wrap_delete_Joystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9711 PyObject
*resultobj
;
9712 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9713 PyObject
* obj0
= 0 ;
9715 (char *) "self", NULL
9718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Joystick",kwnames
,&obj0
)) goto fail
;
9719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9725 wxPyEndAllowThreads(__tstate
);
9726 if (PyErr_Occurred()) SWIG_fail
;
9728 Py_INCREF(Py_None
); resultobj
= Py_None
;
9735 static PyObject
*_wrap_Joystick_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9736 PyObject
*resultobj
;
9737 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9739 PyObject
* obj0
= 0 ;
9741 (char *) "self", NULL
9744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPosition",kwnames
,&obj0
)) goto fail
;
9745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9749 result
= (arg1
)->GetPosition();
9751 wxPyEndAllowThreads(__tstate
);
9752 if (PyErr_Occurred()) SWIG_fail
;
9755 wxPoint
* resultptr
;
9756 resultptr
= new wxPoint((wxPoint
&) result
);
9757 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
9765 static PyObject
*_wrap_Joystick_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9766 PyObject
*resultobj
;
9767 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9769 PyObject
* obj0
= 0 ;
9771 (char *) "self", NULL
9774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZPosition",kwnames
,&obj0
)) goto fail
;
9775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9779 result
= (int)(arg1
)->GetZPosition();
9781 wxPyEndAllowThreads(__tstate
);
9782 if (PyErr_Occurred()) SWIG_fail
;
9784 resultobj
= SWIG_FromInt((int)result
);
9791 static PyObject
*_wrap_Joystick_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9792 PyObject
*resultobj
;
9793 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9795 PyObject
* obj0
= 0 ;
9797 (char *) "self", NULL
9800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetButtonState",kwnames
,&obj0
)) goto fail
;
9801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9805 result
= (int)(arg1
)->GetButtonState();
9807 wxPyEndAllowThreads(__tstate
);
9808 if (PyErr_Occurred()) SWIG_fail
;
9810 resultobj
= SWIG_FromInt((int)result
);
9817 static PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9818 PyObject
*resultobj
;
9819 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9821 PyObject
* obj0
= 0 ;
9823 (char *) "self", NULL
9826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVPosition",kwnames
,&obj0
)) goto fail
;
9827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9831 result
= (int)(arg1
)->GetPOVPosition();
9833 wxPyEndAllowThreads(__tstate
);
9834 if (PyErr_Occurred()) SWIG_fail
;
9836 resultobj
= SWIG_FromInt((int)result
);
9843 static PyObject
*_wrap_Joystick_GetPOVCTSPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9844 PyObject
*resultobj
;
9845 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9847 PyObject
* obj0
= 0 ;
9849 (char *) "self", NULL
9852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVCTSPosition",kwnames
,&obj0
)) goto fail
;
9853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9857 result
= (int)(arg1
)->GetPOVCTSPosition();
9859 wxPyEndAllowThreads(__tstate
);
9860 if (PyErr_Occurred()) SWIG_fail
;
9862 resultobj
= SWIG_FromInt((int)result
);
9869 static PyObject
*_wrap_Joystick_GetRudderPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9870 PyObject
*resultobj
;
9871 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9873 PyObject
* obj0
= 0 ;
9875 (char *) "self", NULL
9878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderPosition",kwnames
,&obj0
)) goto fail
;
9879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9883 result
= (int)(arg1
)->GetRudderPosition();
9885 wxPyEndAllowThreads(__tstate
);
9886 if (PyErr_Occurred()) SWIG_fail
;
9888 resultobj
= SWIG_FromInt((int)result
);
9895 static PyObject
*_wrap_Joystick_GetUPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9896 PyObject
*resultobj
;
9897 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9899 PyObject
* obj0
= 0 ;
9901 (char *) "self", NULL
9904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUPosition",kwnames
,&obj0
)) goto fail
;
9905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9909 result
= (int)(arg1
)->GetUPosition();
9911 wxPyEndAllowThreads(__tstate
);
9912 if (PyErr_Occurred()) SWIG_fail
;
9914 resultobj
= SWIG_FromInt((int)result
);
9921 static PyObject
*_wrap_Joystick_GetVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9922 PyObject
*resultobj
;
9923 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9925 PyObject
* obj0
= 0 ;
9927 (char *) "self", NULL
9930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVPosition",kwnames
,&obj0
)) goto fail
;
9931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9935 result
= (int)(arg1
)->GetVPosition();
9937 wxPyEndAllowThreads(__tstate
);
9938 if (PyErr_Occurred()) SWIG_fail
;
9940 resultobj
= SWIG_FromInt((int)result
);
9947 static PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9948 PyObject
*resultobj
;
9949 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9951 PyObject
* obj0
= 0 ;
9953 (char *) "self", NULL
9956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMovementThreshold",kwnames
,&obj0
)) goto fail
;
9957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9961 result
= (int)(arg1
)->GetMovementThreshold();
9963 wxPyEndAllowThreads(__tstate
);
9964 if (PyErr_Occurred()) SWIG_fail
;
9966 resultobj
= SWIG_FromInt((int)result
);
9973 static PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9974 PyObject
*resultobj
;
9975 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9977 PyObject
* obj0
= 0 ;
9978 PyObject
* obj1
= 0 ;
9980 (char *) "self",(char *) "threshold", NULL
9983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Joystick_SetMovementThreshold",kwnames
,&obj0
,&obj1
)) goto fail
;
9984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9986 arg2
= (int) SWIG_AsInt(obj1
);
9987 if (PyErr_Occurred()) SWIG_fail
;
9989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9990 (arg1
)->SetMovementThreshold(arg2
);
9992 wxPyEndAllowThreads(__tstate
);
9993 if (PyErr_Occurred()) SWIG_fail
;
9995 Py_INCREF(Py_None
); resultobj
= Py_None
;
10002 static PyObject
*_wrap_Joystick_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10003 PyObject
*resultobj
;
10004 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10006 PyObject
* obj0
= 0 ;
10007 char *kwnames
[] = {
10008 (char *) "self", NULL
10011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_IsOk",kwnames
,&obj0
)) goto fail
;
10012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10016 result
= (bool)(arg1
)->IsOk();
10018 wxPyEndAllowThreads(__tstate
);
10019 if (PyErr_Occurred()) SWIG_fail
;
10022 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10030 static PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10031 PyObject
*resultobj
;
10032 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10034 PyObject
* obj0
= 0 ;
10035 char *kwnames
[] = {
10036 (char *) "self", NULL
10039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberJoysticks",kwnames
,&obj0
)) goto fail
;
10040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10044 result
= (int)(arg1
)->GetNumberJoysticks();
10046 wxPyEndAllowThreads(__tstate
);
10047 if (PyErr_Occurred()) SWIG_fail
;
10049 resultobj
= SWIG_FromInt((int)result
);
10056 static PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10057 PyObject
*resultobj
;
10058 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10060 PyObject
* obj0
= 0 ;
10061 char *kwnames
[] = {
10062 (char *) "self", NULL
10065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetManufacturerId",kwnames
,&obj0
)) goto fail
;
10066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10070 result
= (int)(arg1
)->GetManufacturerId();
10072 wxPyEndAllowThreads(__tstate
);
10073 if (PyErr_Occurred()) SWIG_fail
;
10075 resultobj
= SWIG_FromInt((int)result
);
10082 static PyObject
*_wrap_Joystick_GetProductId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10083 PyObject
*resultobj
;
10084 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10086 PyObject
* obj0
= 0 ;
10087 char *kwnames
[] = {
10088 (char *) "self", NULL
10091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductId",kwnames
,&obj0
)) goto fail
;
10092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10096 result
= (int)(arg1
)->GetProductId();
10098 wxPyEndAllowThreads(__tstate
);
10099 if (PyErr_Occurred()) SWIG_fail
;
10101 resultobj
= SWIG_FromInt((int)result
);
10108 static PyObject
*_wrap_Joystick_GetProductName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10109 PyObject
*resultobj
;
10110 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10112 PyObject
* obj0
= 0 ;
10113 char *kwnames
[] = {
10114 (char *) "self", NULL
10117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductName",kwnames
,&obj0
)) goto fail
;
10118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10122 result
= (arg1
)->GetProductName();
10124 wxPyEndAllowThreads(__tstate
);
10125 if (PyErr_Occurred()) SWIG_fail
;
10129 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10131 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10140 static PyObject
*_wrap_Joystick_GetXMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10141 PyObject
*resultobj
;
10142 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10144 PyObject
* obj0
= 0 ;
10145 char *kwnames
[] = {
10146 (char *) "self", NULL
10149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMin",kwnames
,&obj0
)) goto fail
;
10150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10154 result
= (int)(arg1
)->GetXMin();
10156 wxPyEndAllowThreads(__tstate
);
10157 if (PyErr_Occurred()) SWIG_fail
;
10159 resultobj
= SWIG_FromInt((int)result
);
10166 static PyObject
*_wrap_Joystick_GetYMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10167 PyObject
*resultobj
;
10168 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10170 PyObject
* obj0
= 0 ;
10171 char *kwnames
[] = {
10172 (char *) "self", NULL
10175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMin",kwnames
,&obj0
)) goto fail
;
10176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10180 result
= (int)(arg1
)->GetYMin();
10182 wxPyEndAllowThreads(__tstate
);
10183 if (PyErr_Occurred()) SWIG_fail
;
10185 resultobj
= SWIG_FromInt((int)result
);
10192 static PyObject
*_wrap_Joystick_GetZMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10193 PyObject
*resultobj
;
10194 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10196 PyObject
* obj0
= 0 ;
10197 char *kwnames
[] = {
10198 (char *) "self", NULL
10201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMin",kwnames
,&obj0
)) goto fail
;
10202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10206 result
= (int)(arg1
)->GetZMin();
10208 wxPyEndAllowThreads(__tstate
);
10209 if (PyErr_Occurred()) SWIG_fail
;
10211 resultobj
= SWIG_FromInt((int)result
);
10218 static PyObject
*_wrap_Joystick_GetXMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10219 PyObject
*resultobj
;
10220 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10222 PyObject
* obj0
= 0 ;
10223 char *kwnames
[] = {
10224 (char *) "self", NULL
10227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMax",kwnames
,&obj0
)) goto fail
;
10228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10232 result
= (int)(arg1
)->GetXMax();
10234 wxPyEndAllowThreads(__tstate
);
10235 if (PyErr_Occurred()) SWIG_fail
;
10237 resultobj
= SWIG_FromInt((int)result
);
10244 static PyObject
*_wrap_Joystick_GetYMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10245 PyObject
*resultobj
;
10246 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10248 PyObject
* obj0
= 0 ;
10249 char *kwnames
[] = {
10250 (char *) "self", NULL
10253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMax",kwnames
,&obj0
)) goto fail
;
10254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10258 result
= (int)(arg1
)->GetYMax();
10260 wxPyEndAllowThreads(__tstate
);
10261 if (PyErr_Occurred()) SWIG_fail
;
10263 resultobj
= SWIG_FromInt((int)result
);
10270 static PyObject
*_wrap_Joystick_GetZMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10271 PyObject
*resultobj
;
10272 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10274 PyObject
* obj0
= 0 ;
10275 char *kwnames
[] = {
10276 (char *) "self", NULL
10279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMax",kwnames
,&obj0
)) goto fail
;
10280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10284 result
= (int)(arg1
)->GetZMax();
10286 wxPyEndAllowThreads(__tstate
);
10287 if (PyErr_Occurred()) SWIG_fail
;
10289 resultobj
= SWIG_FromInt((int)result
);
10296 static PyObject
*_wrap_Joystick_GetNumberButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10297 PyObject
*resultobj
;
10298 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10300 PyObject
* obj0
= 0 ;
10301 char *kwnames
[] = {
10302 (char *) "self", NULL
10305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberButtons",kwnames
,&obj0
)) goto fail
;
10306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10310 result
= (int)(arg1
)->GetNumberButtons();
10312 wxPyEndAllowThreads(__tstate
);
10313 if (PyErr_Occurred()) SWIG_fail
;
10315 resultobj
= SWIG_FromInt((int)result
);
10322 static PyObject
*_wrap_Joystick_GetNumberAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10323 PyObject
*resultobj
;
10324 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10326 PyObject
* obj0
= 0 ;
10327 char *kwnames
[] = {
10328 (char *) "self", NULL
10331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberAxes",kwnames
,&obj0
)) goto fail
;
10332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10336 result
= (int)(arg1
)->GetNumberAxes();
10338 wxPyEndAllowThreads(__tstate
);
10339 if (PyErr_Occurred()) SWIG_fail
;
10341 resultobj
= SWIG_FromInt((int)result
);
10348 static PyObject
*_wrap_Joystick_GetMaxButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10349 PyObject
*resultobj
;
10350 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10352 PyObject
* obj0
= 0 ;
10353 char *kwnames
[] = {
10354 (char *) "self", NULL
10357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxButtons",kwnames
,&obj0
)) goto fail
;
10358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10362 result
= (int)(arg1
)->GetMaxButtons();
10364 wxPyEndAllowThreads(__tstate
);
10365 if (PyErr_Occurred()) SWIG_fail
;
10367 resultobj
= SWIG_FromInt((int)result
);
10374 static PyObject
*_wrap_Joystick_GetMaxAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10375 PyObject
*resultobj
;
10376 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10378 PyObject
* obj0
= 0 ;
10379 char *kwnames
[] = {
10380 (char *) "self", NULL
10383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxAxes",kwnames
,&obj0
)) goto fail
;
10384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10388 result
= (int)(arg1
)->GetMaxAxes();
10390 wxPyEndAllowThreads(__tstate
);
10391 if (PyErr_Occurred()) SWIG_fail
;
10393 resultobj
= SWIG_FromInt((int)result
);
10400 static PyObject
*_wrap_Joystick_GetPollingMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10401 PyObject
*resultobj
;
10402 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10404 PyObject
* obj0
= 0 ;
10405 char *kwnames
[] = {
10406 (char *) "self", NULL
10409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMin",kwnames
,&obj0
)) goto fail
;
10410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10414 result
= (int)(arg1
)->GetPollingMin();
10416 wxPyEndAllowThreads(__tstate
);
10417 if (PyErr_Occurred()) SWIG_fail
;
10419 resultobj
= SWIG_FromInt((int)result
);
10426 static PyObject
*_wrap_Joystick_GetPollingMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10427 PyObject
*resultobj
;
10428 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10430 PyObject
* obj0
= 0 ;
10431 char *kwnames
[] = {
10432 (char *) "self", NULL
10435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMax",kwnames
,&obj0
)) goto fail
;
10436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10440 result
= (int)(arg1
)->GetPollingMax();
10442 wxPyEndAllowThreads(__tstate
);
10443 if (PyErr_Occurred()) SWIG_fail
;
10445 resultobj
= SWIG_FromInt((int)result
);
10452 static PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10453 PyObject
*resultobj
;
10454 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10456 PyObject
* obj0
= 0 ;
10457 char *kwnames
[] = {
10458 (char *) "self", NULL
10461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMin",kwnames
,&obj0
)) goto fail
;
10462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10466 result
= (int)(arg1
)->GetRudderMin();
10468 wxPyEndAllowThreads(__tstate
);
10469 if (PyErr_Occurred()) SWIG_fail
;
10471 resultobj
= SWIG_FromInt((int)result
);
10478 static PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10479 PyObject
*resultobj
;
10480 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10482 PyObject
* obj0
= 0 ;
10483 char *kwnames
[] = {
10484 (char *) "self", NULL
10487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMax",kwnames
,&obj0
)) goto fail
;
10488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10492 result
= (int)(arg1
)->GetRudderMax();
10494 wxPyEndAllowThreads(__tstate
);
10495 if (PyErr_Occurred()) SWIG_fail
;
10497 resultobj
= SWIG_FromInt((int)result
);
10504 static PyObject
*_wrap_Joystick_GetUMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10505 PyObject
*resultobj
;
10506 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10508 PyObject
* obj0
= 0 ;
10509 char *kwnames
[] = {
10510 (char *) "self", NULL
10513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMin",kwnames
,&obj0
)) goto fail
;
10514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10518 result
= (int)(arg1
)->GetUMin();
10520 wxPyEndAllowThreads(__tstate
);
10521 if (PyErr_Occurred()) SWIG_fail
;
10523 resultobj
= SWIG_FromInt((int)result
);
10530 static PyObject
*_wrap_Joystick_GetUMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10531 PyObject
*resultobj
;
10532 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10534 PyObject
* obj0
= 0 ;
10535 char *kwnames
[] = {
10536 (char *) "self", NULL
10539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMax",kwnames
,&obj0
)) goto fail
;
10540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10544 result
= (int)(arg1
)->GetUMax();
10546 wxPyEndAllowThreads(__tstate
);
10547 if (PyErr_Occurred()) SWIG_fail
;
10549 resultobj
= SWIG_FromInt((int)result
);
10556 static PyObject
*_wrap_Joystick_GetVMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10557 PyObject
*resultobj
;
10558 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10560 PyObject
* obj0
= 0 ;
10561 char *kwnames
[] = {
10562 (char *) "self", NULL
10565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMin",kwnames
,&obj0
)) goto fail
;
10566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10570 result
= (int)(arg1
)->GetVMin();
10572 wxPyEndAllowThreads(__tstate
);
10573 if (PyErr_Occurred()) SWIG_fail
;
10575 resultobj
= SWIG_FromInt((int)result
);
10582 static PyObject
*_wrap_Joystick_GetVMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10583 PyObject
*resultobj
;
10584 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10586 PyObject
* obj0
= 0 ;
10587 char *kwnames
[] = {
10588 (char *) "self", NULL
10591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMax",kwnames
,&obj0
)) goto fail
;
10592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10596 result
= (int)(arg1
)->GetVMax();
10598 wxPyEndAllowThreads(__tstate
);
10599 if (PyErr_Occurred()) SWIG_fail
;
10601 resultobj
= SWIG_FromInt((int)result
);
10608 static PyObject
*_wrap_Joystick_HasRudder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10609 PyObject
*resultobj
;
10610 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10612 PyObject
* obj0
= 0 ;
10613 char *kwnames
[] = {
10614 (char *) "self", NULL
10617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasRudder",kwnames
,&obj0
)) goto fail
;
10618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10622 result
= (bool)(arg1
)->HasRudder();
10624 wxPyEndAllowThreads(__tstate
);
10625 if (PyErr_Occurred()) SWIG_fail
;
10628 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10636 static PyObject
*_wrap_Joystick_HasZ(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10637 PyObject
*resultobj
;
10638 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10640 PyObject
* obj0
= 0 ;
10641 char *kwnames
[] = {
10642 (char *) "self", NULL
10645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasZ",kwnames
,&obj0
)) goto fail
;
10646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10650 result
= (bool)(arg1
)->HasZ();
10652 wxPyEndAllowThreads(__tstate
);
10653 if (PyErr_Occurred()) SWIG_fail
;
10656 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10664 static PyObject
*_wrap_Joystick_HasU(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10665 PyObject
*resultobj
;
10666 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10668 PyObject
* obj0
= 0 ;
10669 char *kwnames
[] = {
10670 (char *) "self", NULL
10673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasU",kwnames
,&obj0
)) goto fail
;
10674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10678 result
= (bool)(arg1
)->HasU();
10680 wxPyEndAllowThreads(__tstate
);
10681 if (PyErr_Occurred()) SWIG_fail
;
10684 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10692 static PyObject
*_wrap_Joystick_HasV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10693 PyObject
*resultobj
;
10694 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10696 PyObject
* obj0
= 0 ;
10697 char *kwnames
[] = {
10698 (char *) "self", NULL
10701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasV",kwnames
,&obj0
)) goto fail
;
10702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10706 result
= (bool)(arg1
)->HasV();
10708 wxPyEndAllowThreads(__tstate
);
10709 if (PyErr_Occurred()) SWIG_fail
;
10712 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10720 static PyObject
*_wrap_Joystick_HasPOV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10721 PyObject
*resultobj
;
10722 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10724 PyObject
* obj0
= 0 ;
10725 char *kwnames
[] = {
10726 (char *) "self", NULL
10729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV",kwnames
,&obj0
)) goto fail
;
10730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10734 result
= (bool)(arg1
)->HasPOV();
10736 wxPyEndAllowThreads(__tstate
);
10737 if (PyErr_Occurred()) SWIG_fail
;
10740 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10748 static PyObject
*_wrap_Joystick_HasPOV4Dir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10749 PyObject
*resultobj
;
10750 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10752 PyObject
* obj0
= 0 ;
10753 char *kwnames
[] = {
10754 (char *) "self", NULL
10757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV4Dir",kwnames
,&obj0
)) goto fail
;
10758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10762 result
= (bool)(arg1
)->HasPOV4Dir();
10764 wxPyEndAllowThreads(__tstate
);
10765 if (PyErr_Occurred()) SWIG_fail
;
10768 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10776 static PyObject
*_wrap_Joystick_HasPOVCTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10777 PyObject
*resultobj
;
10778 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10780 PyObject
* obj0
= 0 ;
10781 char *kwnames
[] = {
10782 (char *) "self", NULL
10785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOVCTS",kwnames
,&obj0
)) goto fail
;
10786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10790 result
= (bool)(arg1
)->HasPOVCTS();
10792 wxPyEndAllowThreads(__tstate
);
10793 if (PyErr_Occurred()) SWIG_fail
;
10796 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10804 static PyObject
*_wrap_Joystick_SetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10805 PyObject
*resultobj
;
10806 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10807 wxWindow
*arg2
= (wxWindow
*) 0 ;
10808 int arg3
= (int) 0 ;
10810 PyObject
* obj0
= 0 ;
10811 PyObject
* obj1
= 0 ;
10812 PyObject
* obj2
= 0 ;
10813 char *kwnames
[] = {
10814 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
10817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10820 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10823 arg3
= (int) SWIG_AsInt(obj2
);
10824 if (PyErr_Occurred()) SWIG_fail
;
10827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10828 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
10830 wxPyEndAllowThreads(__tstate
);
10831 if (PyErr_Occurred()) SWIG_fail
;
10834 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10842 static PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10843 PyObject
*resultobj
;
10844 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10846 PyObject
* obj0
= 0 ;
10847 char *kwnames
[] = {
10848 (char *) "self", NULL
10851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_ReleaseCapture",kwnames
,&obj0
)) goto fail
;
10852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10856 result
= (bool)(arg1
)->ReleaseCapture();
10858 wxPyEndAllowThreads(__tstate
);
10859 if (PyErr_Occurred()) SWIG_fail
;
10862 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10870 static PyObject
* Joystick_swigregister(PyObject
*self
, PyObject
*args
) {
10872 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10873 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick
, obj
);
10875 return Py_BuildValue((char *)"");
10877 static PyObject
*_wrap_JoystickEvent_m_pos_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10878 PyObject
*resultobj
;
10879 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10880 wxPoint
*arg2
= (wxPoint
*) 0 ;
10881 PyObject
* obj0
= 0 ;
10882 PyObject
* obj1
= 0 ;
10883 char *kwnames
[] = {
10884 (char *) "self",(char *) "m_pos", NULL
10887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10890 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
10891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10892 if (arg1
) (arg1
)->m_pos
= *arg2
;
10894 Py_INCREF(Py_None
); resultobj
= Py_None
;
10901 static PyObject
*_wrap_JoystickEvent_m_pos_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10902 PyObject
*resultobj
;
10903 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10905 PyObject
* obj0
= 0 ;
10906 char *kwnames
[] = {
10907 (char *) "self", NULL
10910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
10911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10913 result
= (wxPoint
*)& ((arg1
)->m_pos
);
10915 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
10922 static PyObject
*_wrap_JoystickEvent_m_zPosition_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10923 PyObject
*resultobj
;
10924 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10926 PyObject
* obj0
= 0 ;
10927 PyObject
* obj1
= 0 ;
10928 char *kwnames
[] = {
10929 (char *) "self",(char *) "m_zPosition", NULL
10932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_zPosition_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10935 arg2
= (int) SWIG_AsInt(obj1
);
10936 if (PyErr_Occurred()) SWIG_fail
;
10937 if (arg1
) (arg1
)->m_zPosition
= arg2
;
10939 Py_INCREF(Py_None
); resultobj
= Py_None
;
10946 static PyObject
*_wrap_JoystickEvent_m_zPosition_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10947 PyObject
*resultobj
;
10948 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10950 PyObject
* obj0
= 0 ;
10951 char *kwnames
[] = {
10952 (char *) "self", NULL
10955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_zPosition_get",kwnames
,&obj0
)) goto fail
;
10956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10958 result
= (int) ((arg1
)->m_zPosition
);
10960 resultobj
= SWIG_FromInt((int)result
);
10967 static PyObject
*_wrap_JoystickEvent_m_buttonChange_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10968 PyObject
*resultobj
;
10969 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10971 PyObject
* obj0
= 0 ;
10972 PyObject
* obj1
= 0 ;
10973 char *kwnames
[] = {
10974 (char *) "self",(char *) "m_buttonChange", NULL
10977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonChange_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10980 arg2
= (int) SWIG_AsInt(obj1
);
10981 if (PyErr_Occurred()) SWIG_fail
;
10982 if (arg1
) (arg1
)->m_buttonChange
= arg2
;
10984 Py_INCREF(Py_None
); resultobj
= Py_None
;
10991 static PyObject
*_wrap_JoystickEvent_m_buttonChange_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10992 PyObject
*resultobj
;
10993 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10995 PyObject
* obj0
= 0 ;
10996 char *kwnames
[] = {
10997 (char *) "self", NULL
11000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonChange_get",kwnames
,&obj0
)) goto fail
;
11001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11003 result
= (int) ((arg1
)->m_buttonChange
);
11005 resultobj
= SWIG_FromInt((int)result
);
11012 static PyObject
*_wrap_JoystickEvent_m_buttonState_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11013 PyObject
*resultobj
;
11014 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11016 PyObject
* obj0
= 0 ;
11017 PyObject
* obj1
= 0 ;
11018 char *kwnames
[] = {
11019 (char *) "self",(char *) "m_buttonState", NULL
11022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonState_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11025 arg2
= (int) SWIG_AsInt(obj1
);
11026 if (PyErr_Occurred()) SWIG_fail
;
11027 if (arg1
) (arg1
)->m_buttonState
= arg2
;
11029 Py_INCREF(Py_None
); resultobj
= Py_None
;
11036 static PyObject
*_wrap_JoystickEvent_m_buttonState_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11037 PyObject
*resultobj
;
11038 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11040 PyObject
* obj0
= 0 ;
11041 char *kwnames
[] = {
11042 (char *) "self", NULL
11045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonState_get",kwnames
,&obj0
)) goto fail
;
11046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11048 result
= (int) ((arg1
)->m_buttonState
);
11050 resultobj
= SWIG_FromInt((int)result
);
11057 static PyObject
*_wrap_JoystickEvent_m_joyStick_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11058 PyObject
*resultobj
;
11059 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11061 PyObject
* obj0
= 0 ;
11062 PyObject
* obj1
= 0 ;
11063 char *kwnames
[] = {
11064 (char *) "self",(char *) "m_joyStick", NULL
11067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_joyStick_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11070 arg2
= (int) SWIG_AsInt(obj1
);
11071 if (PyErr_Occurred()) SWIG_fail
;
11072 if (arg1
) (arg1
)->m_joyStick
= arg2
;
11074 Py_INCREF(Py_None
); resultobj
= Py_None
;
11081 static PyObject
*_wrap_JoystickEvent_m_joyStick_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11082 PyObject
*resultobj
;
11083 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11085 PyObject
* obj0
= 0 ;
11086 char *kwnames
[] = {
11087 (char *) "self", NULL
11090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_joyStick_get",kwnames
,&obj0
)) goto fail
;
11091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11093 result
= (int) ((arg1
)->m_joyStick
);
11095 resultobj
= SWIG_FromInt((int)result
);
11102 static PyObject
*_wrap_new_JoystickEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11103 PyObject
*resultobj
;
11104 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11105 int arg2
= (int) 0 ;
11106 int arg3
= (int) wxJOYSTICK1
;
11107 int arg4
= (int) 0 ;
11108 wxJoystickEvent
*result
;
11109 PyObject
* obj0
= 0 ;
11110 PyObject
* obj1
= 0 ;
11111 PyObject
* obj2
= 0 ;
11112 PyObject
* obj3
= 0 ;
11113 char *kwnames
[] = {
11114 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
11117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_JoystickEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11119 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
11120 if (PyErr_Occurred()) SWIG_fail
;
11123 arg2
= (int) SWIG_AsInt(obj1
);
11124 if (PyErr_Occurred()) SWIG_fail
;
11127 arg3
= (int) SWIG_AsInt(obj2
);
11128 if (PyErr_Occurred()) SWIG_fail
;
11131 arg4
= (int) SWIG_AsInt(obj3
);
11132 if (PyErr_Occurred()) SWIG_fail
;
11135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11136 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
11138 wxPyEndAllowThreads(__tstate
);
11139 if (PyErr_Occurred()) SWIG_fail
;
11141 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystickEvent
, 1);
11148 static PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11149 PyObject
*resultobj
;
11150 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11152 PyObject
* obj0
= 0 ;
11153 char *kwnames
[] = {
11154 (char *) "self", NULL
11157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
11158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11162 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
11164 wxPyEndAllowThreads(__tstate
);
11165 if (PyErr_Occurred()) SWIG_fail
;
11168 wxPoint
* resultptr
;
11169 resultptr
= new wxPoint((wxPoint
&) result
);
11170 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
11178 static PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11179 PyObject
*resultobj
;
11180 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11182 PyObject
* obj0
= 0 ;
11183 char *kwnames
[] = {
11184 (char *) "self", NULL
11187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetZPosition",kwnames
,&obj0
)) goto fail
;
11188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11192 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
11194 wxPyEndAllowThreads(__tstate
);
11195 if (PyErr_Occurred()) SWIG_fail
;
11197 resultobj
= SWIG_FromInt((int)result
);
11204 static PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11205 PyObject
*resultobj
;
11206 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11208 PyObject
* obj0
= 0 ;
11209 char *kwnames
[] = {
11210 (char *) "self", NULL
11213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonState",kwnames
,&obj0
)) goto fail
;
11214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11218 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
11220 wxPyEndAllowThreads(__tstate
);
11221 if (PyErr_Occurred()) SWIG_fail
;
11223 resultobj
= SWIG_FromInt((int)result
);
11230 static PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11231 PyObject
*resultobj
;
11232 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11234 PyObject
* obj0
= 0 ;
11235 char *kwnames
[] = {
11236 (char *) "self", NULL
11239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonChange",kwnames
,&obj0
)) goto fail
;
11240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11244 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
11246 wxPyEndAllowThreads(__tstate
);
11247 if (PyErr_Occurred()) SWIG_fail
;
11249 resultobj
= SWIG_FromInt((int)result
);
11256 static PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11257 PyObject
*resultobj
;
11258 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11260 PyObject
* obj0
= 0 ;
11261 char *kwnames
[] = {
11262 (char *) "self", NULL
11265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetJoystick",kwnames
,&obj0
)) goto fail
;
11266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11270 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
11272 wxPyEndAllowThreads(__tstate
);
11273 if (PyErr_Occurred()) SWIG_fail
;
11275 resultobj
= SWIG_FromInt((int)result
);
11282 static PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11283 PyObject
*resultobj
;
11284 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11286 PyObject
* obj0
= 0 ;
11287 PyObject
* obj1
= 0 ;
11288 char *kwnames
[] = {
11289 (char *) "self",(char *) "stick", NULL
11292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetJoystick",kwnames
,&obj0
,&obj1
)) goto fail
;
11293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11295 arg2
= (int) SWIG_AsInt(obj1
);
11296 if (PyErr_Occurred()) SWIG_fail
;
11298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11299 (arg1
)->SetJoystick(arg2
);
11301 wxPyEndAllowThreads(__tstate
);
11302 if (PyErr_Occurred()) SWIG_fail
;
11304 Py_INCREF(Py_None
); resultobj
= Py_None
;
11311 static PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11312 PyObject
*resultobj
;
11313 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11315 PyObject
* obj0
= 0 ;
11316 PyObject
* obj1
= 0 ;
11317 char *kwnames
[] = {
11318 (char *) "self",(char *) "state", NULL
11321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonState",kwnames
,&obj0
,&obj1
)) goto fail
;
11322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11324 arg2
= (int) SWIG_AsInt(obj1
);
11325 if (PyErr_Occurred()) SWIG_fail
;
11327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11328 (arg1
)->SetButtonState(arg2
);
11330 wxPyEndAllowThreads(__tstate
);
11331 if (PyErr_Occurred()) SWIG_fail
;
11333 Py_INCREF(Py_None
); resultobj
= Py_None
;
11340 static PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11341 PyObject
*resultobj
;
11342 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11344 PyObject
* obj0
= 0 ;
11345 PyObject
* obj1
= 0 ;
11346 char *kwnames
[] = {
11347 (char *) "self",(char *) "change", NULL
11350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&obj1
)) goto fail
;
11351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11353 arg2
= (int) SWIG_AsInt(obj1
);
11354 if (PyErr_Occurred()) SWIG_fail
;
11356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11357 (arg1
)->SetButtonChange(arg2
);
11359 wxPyEndAllowThreads(__tstate
);
11360 if (PyErr_Occurred()) SWIG_fail
;
11362 Py_INCREF(Py_None
); resultobj
= Py_None
;
11369 static PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11370 PyObject
*resultobj
;
11371 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11372 wxPoint
*arg2
= 0 ;
11374 PyObject
* obj0
= 0 ;
11375 PyObject
* obj1
= 0 ;
11376 char *kwnames
[] = {
11377 (char *) "self",(char *) "pos", NULL
11380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11385 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11389 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
11391 wxPyEndAllowThreads(__tstate
);
11392 if (PyErr_Occurred()) SWIG_fail
;
11394 Py_INCREF(Py_None
); resultobj
= Py_None
;
11401 static PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11402 PyObject
*resultobj
;
11403 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11405 PyObject
* obj0
= 0 ;
11406 PyObject
* obj1
= 0 ;
11407 char *kwnames
[] = {
11408 (char *) "self",(char *) "zPos", NULL
11411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetZPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11414 arg2
= (int) SWIG_AsInt(obj1
);
11415 if (PyErr_Occurred()) SWIG_fail
;
11417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11418 (arg1
)->SetZPosition(arg2
);
11420 wxPyEndAllowThreads(__tstate
);
11421 if (PyErr_Occurred()) SWIG_fail
;
11423 Py_INCREF(Py_None
); resultobj
= Py_None
;
11430 static PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11431 PyObject
*resultobj
;
11432 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11434 PyObject
* obj0
= 0 ;
11435 char *kwnames
[] = {
11436 (char *) "self", NULL
11439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsButton",kwnames
,&obj0
)) goto fail
;
11440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11444 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
11446 wxPyEndAllowThreads(__tstate
);
11447 if (PyErr_Occurred()) SWIG_fail
;
11450 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11458 static PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11459 PyObject
*resultobj
;
11460 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11462 PyObject
* obj0
= 0 ;
11463 char *kwnames
[] = {
11464 (char *) "self", NULL
11467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsMove",kwnames
,&obj0
)) goto fail
;
11468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11472 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
11474 wxPyEndAllowThreads(__tstate
);
11475 if (PyErr_Occurred()) SWIG_fail
;
11478 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11486 static PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11487 PyObject
*resultobj
;
11488 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11490 PyObject
* obj0
= 0 ;
11491 char *kwnames
[] = {
11492 (char *) "self", NULL
11495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsZMove",kwnames
,&obj0
)) goto fail
;
11496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11500 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
11502 wxPyEndAllowThreads(__tstate
);
11503 if (PyErr_Occurred()) SWIG_fail
;
11506 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11514 static PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11515 PyObject
*resultobj
;
11516 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11517 int arg2
= (int) wxJOY_BUTTON_ANY
;
11519 PyObject
* obj0
= 0 ;
11520 PyObject
* obj1
= 0 ;
11521 char *kwnames
[] = {
11522 (char *) "self",(char *) "but", NULL
11525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
11526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11529 arg2
= (int) SWIG_AsInt(obj1
);
11530 if (PyErr_Occurred()) SWIG_fail
;
11533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11534 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
11536 wxPyEndAllowThreads(__tstate
);
11537 if (PyErr_Occurred()) SWIG_fail
;
11540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11548 static PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11549 PyObject
*resultobj
;
11550 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11551 int arg2
= (int) wxJOY_BUTTON_ANY
;
11553 PyObject
* obj0
= 0 ;
11554 PyObject
* obj1
= 0 ;
11555 char *kwnames
[] = {
11556 (char *) "self",(char *) "but", NULL
11559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
11560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11563 arg2
= (int) SWIG_AsInt(obj1
);
11564 if (PyErr_Occurred()) SWIG_fail
;
11567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11568 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
11570 wxPyEndAllowThreads(__tstate
);
11571 if (PyErr_Occurred()) SWIG_fail
;
11574 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11582 static PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11583 PyObject
*resultobj
;
11584 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11585 int arg2
= (int) wxJOY_BUTTON_ANY
;
11587 PyObject
* obj0
= 0 ;
11588 PyObject
* obj1
= 0 ;
11589 char *kwnames
[] = {
11590 (char *) "self",(char *) "but", NULL
11593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
11594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11597 arg2
= (int) SWIG_AsInt(obj1
);
11598 if (PyErr_Occurred()) SWIG_fail
;
11601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11602 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
11604 wxPyEndAllowThreads(__tstate
);
11605 if (PyErr_Occurred()) SWIG_fail
;
11608 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11616 static PyObject
* JoystickEvent_swigregister(PyObject
*self
, PyObject
*args
) {
11618 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11619 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent
, obj
);
11621 return Py_BuildValue((char *)"");
11623 static PyObject
*_wrap_new_Sound(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11624 PyObject
*resultobj
;
11625 wxString
const &arg1_defvalue
= wxPyEmptyString
;
11626 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
11628 bool temp1
= False
;
11629 PyObject
* obj0
= 0 ;
11630 char *kwnames
[] = {
11631 (char *) "fileName", NULL
11634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Sound",kwnames
,&obj0
)) goto fail
;
11637 arg1
= wxString_in_helper(obj0
);
11638 if (arg1
== NULL
) SWIG_fail
;
11643 if (!wxPyCheckForApp()) SWIG_fail
;
11644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11645 result
= (wxSound
*)new_wxSound((wxString
const &)*arg1
);
11647 wxPyEndAllowThreads(__tstate
);
11648 if (PyErr_Occurred()) SWIG_fail
;
11650 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
11665 static PyObject
*_wrap_new_SoundFromData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11666 PyObject
*resultobj
;
11667 PyObject
*arg1
= (PyObject
*) 0 ;
11669 PyObject
* obj0
= 0 ;
11670 char *kwnames
[] = {
11671 (char *) "data", NULL
11674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_SoundFromData",kwnames
,&obj0
)) goto fail
;
11677 if (!wxPyCheckForApp()) SWIG_fail
;
11678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11679 result
= (wxSound
*)new_wxSound(arg1
);
11681 wxPyEndAllowThreads(__tstate
);
11682 if (PyErr_Occurred()) SWIG_fail
;
11684 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
11691 static PyObject
*_wrap_delete_Sound(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11692 PyObject
*resultobj
;
11693 wxSound
*arg1
= (wxSound
*) 0 ;
11694 PyObject
* obj0
= 0 ;
11695 char *kwnames
[] = {
11696 (char *) "self", NULL
11699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Sound",kwnames
,&obj0
)) goto fail
;
11700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11706 wxPyEndAllowThreads(__tstate
);
11707 if (PyErr_Occurred()) SWIG_fail
;
11709 Py_INCREF(Py_None
); resultobj
= Py_None
;
11716 static PyObject
*_wrap_Sound_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11717 PyObject
*resultobj
;
11718 wxSound
*arg1
= (wxSound
*) 0 ;
11719 wxString
*arg2
= 0 ;
11721 bool temp2
= False
;
11722 PyObject
* obj0
= 0 ;
11723 PyObject
* obj1
= 0 ;
11724 char *kwnames
[] = {
11725 (char *) "self",(char *) "fileName", NULL
11728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_Create",kwnames
,&obj0
,&obj1
)) goto fail
;
11729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11732 arg2
= wxString_in_helper(obj1
);
11733 if (arg2
== NULL
) SWIG_fail
;
11737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11738 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
);
11740 wxPyEndAllowThreads(__tstate
);
11741 if (PyErr_Occurred()) SWIG_fail
;
11744 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11760 static PyObject
*_wrap_Sound_CreateFromData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11761 PyObject
*resultobj
;
11762 wxSound
*arg1
= (wxSound
*) 0 ;
11763 PyObject
*arg2
= (PyObject
*) 0 ;
11765 PyObject
* obj0
= 0 ;
11766 PyObject
* obj1
= 0 ;
11767 char *kwnames
[] = {
11768 (char *) "self",(char *) "data", NULL
11771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_CreateFromData",kwnames
,&obj0
,&obj1
)) goto fail
;
11772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11777 result
= (bool)wxSound_CreateFromData(arg1
,arg2
);
11779 wxPyEndAllowThreads(__tstate
);
11780 if (PyErr_Occurred()) SWIG_fail
;
11783 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11791 static PyObject
*_wrap_Sound_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11792 PyObject
*resultobj
;
11793 wxSound
*arg1
= (wxSound
*) 0 ;
11795 PyObject
* obj0
= 0 ;
11796 char *kwnames
[] = {
11797 (char *) "self", NULL
11800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sound_IsOk",kwnames
,&obj0
)) goto fail
;
11801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11805 result
= (bool)(arg1
)->IsOk();
11807 wxPyEndAllowThreads(__tstate
);
11808 if (PyErr_Occurred()) SWIG_fail
;
11811 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11819 static PyObject
*_wrap_Sound_Play(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11820 PyObject
*resultobj
;
11821 wxSound
*arg1
= (wxSound
*) 0 ;
11822 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
11824 PyObject
* obj0
= 0 ;
11825 PyObject
* obj1
= 0 ;
11826 char *kwnames
[] = {
11827 (char *) "self",(char *) "flags", NULL
11830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_Play",kwnames
,&obj0
,&obj1
)) goto fail
;
11831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11834 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
11835 if (PyErr_Occurred()) SWIG_fail
;
11838 if (!wxPyCheckForApp()) SWIG_fail
;
11839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11840 result
= (bool)((wxSound
const *)arg1
)->Play(arg2
);
11842 wxPyEndAllowThreads(__tstate
);
11843 if (PyErr_Occurred()) SWIG_fail
;
11846 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11854 static PyObject
*_wrap_Sound_PlaySound(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11855 PyObject
*resultobj
;
11856 wxString
*arg1
= 0 ;
11857 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
11859 bool temp1
= False
;
11860 PyObject
* obj0
= 0 ;
11861 PyObject
* obj1
= 0 ;
11862 char *kwnames
[] = {
11863 (char *) "filename",(char *) "flags", NULL
11866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_PlaySound",kwnames
,&obj0
,&obj1
)) goto fail
;
11868 arg1
= wxString_in_helper(obj0
);
11869 if (arg1
== NULL
) SWIG_fail
;
11873 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
11874 if (PyErr_Occurred()) SWIG_fail
;
11877 if (!wxPyCheckForApp()) SWIG_fail
;
11878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11879 result
= (bool)wxSound::Play((wxString
const &)*arg1
,arg2
);
11881 wxPyEndAllowThreads(__tstate
);
11882 if (PyErr_Occurred()) SWIG_fail
;
11885 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11901 static PyObject
*_wrap_Sound_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11902 PyObject
*resultobj
;
11903 char *kwnames
[] = {
11907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Sound_Stop",kwnames
)) goto fail
;
11909 if (!wxPyCheckForApp()) SWIG_fail
;
11910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11913 wxPyEndAllowThreads(__tstate
);
11914 if (PyErr_Occurred()) SWIG_fail
;
11916 Py_INCREF(Py_None
); resultobj
= Py_None
;
11923 static PyObject
* Sound_swigregister(PyObject
*self
, PyObject
*args
) {
11925 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11926 SWIG_TypeClientData(SWIGTYPE_p_wxSound
, obj
);
11928 return Py_BuildValue((char *)"");
11930 static PyObject
*_wrap_new_FileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11931 PyObject
*resultobj
;
11932 wxString
*arg1
= 0 ;
11933 wxString
*arg2
= 0 ;
11934 wxString
*arg3
= 0 ;
11935 wxString
*arg4
= 0 ;
11936 wxFileTypeInfo
*result
;
11937 bool temp1
= False
;
11938 bool temp2
= False
;
11939 bool temp3
= False
;
11940 bool temp4
= False
;
11941 PyObject
* obj0
= 0 ;
11942 PyObject
* obj1
= 0 ;
11943 PyObject
* obj2
= 0 ;
11944 PyObject
* obj3
= 0 ;
11945 char *kwnames
[] = {
11946 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
11949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11951 arg1
= wxString_in_helper(obj0
);
11952 if (arg1
== NULL
) SWIG_fail
;
11956 arg2
= wxString_in_helper(obj1
);
11957 if (arg2
== NULL
) SWIG_fail
;
11961 arg3
= wxString_in_helper(obj2
);
11962 if (arg3
== NULL
) SWIG_fail
;
11966 arg4
= wxString_in_helper(obj3
);
11967 if (arg4
== NULL
) SWIG_fail
;
11971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11972 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
11974 wxPyEndAllowThreads(__tstate
);
11975 if (PyErr_Occurred()) SWIG_fail
;
11977 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
12016 static PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12017 PyObject
*resultobj
;
12018 wxArrayString
*arg1
= 0 ;
12019 wxFileTypeInfo
*result
;
12020 bool temp1
= False
;
12021 PyObject
* obj0
= 0 ;
12022 char *kwnames
[] = {
12023 (char *) "sArray", NULL
12026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) goto fail
;
12028 if (! PySequence_Check(obj0
)) {
12029 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
12032 arg1
= new wxArrayString
;
12034 int i
, len
=PySequence_Length(obj0
);
12035 for (i
=0; i
<len
; i
++) {
12036 PyObject
* item
= PySequence_GetItem(obj0
, i
);
12038 PyObject
* str
= PyObject_Unicode(item
);
12040 PyObject
* str
= PyObject_Str(item
);
12042 if (PyErr_Occurred()) SWIG_fail
;
12043 arg1
->Add(Py2wxString(str
));
12049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12050 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
12052 wxPyEndAllowThreads(__tstate
);
12053 if (PyErr_Occurred()) SWIG_fail
;
12055 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
12057 if (temp1
) delete arg1
;
12062 if (temp1
) delete arg1
;
12068 static PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12069 PyObject
*resultobj
;
12070 wxFileTypeInfo
*result
;
12071 char *kwnames
[] = {
12075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NullFileTypeInfo",kwnames
)) goto fail
;
12077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12078 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
12080 wxPyEndAllowThreads(__tstate
);
12081 if (PyErr_Occurred()) SWIG_fail
;
12083 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
12090 static PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12091 PyObject
*resultobj
;
12092 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12094 PyObject
* obj0
= 0 ;
12095 char *kwnames
[] = {
12096 (char *) "self", NULL
12099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_IsValid",kwnames
,&obj0
)) goto fail
;
12100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12104 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
12106 wxPyEndAllowThreads(__tstate
);
12107 if (PyErr_Occurred()) SWIG_fail
;
12110 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12118 static PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12119 PyObject
*resultobj
;
12120 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12121 wxString
*arg2
= 0 ;
12122 int arg3
= (int) 0 ;
12123 bool temp2
= False
;
12124 PyObject
* obj0
= 0 ;
12125 PyObject
* obj1
= 0 ;
12126 PyObject
* obj2
= 0 ;
12127 char *kwnames
[] = {
12128 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
12131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12135 arg2
= wxString_in_helper(obj1
);
12136 if (arg2
== NULL
) SWIG_fail
;
12140 arg3
= (int) SWIG_AsInt(obj2
);
12141 if (PyErr_Occurred()) SWIG_fail
;
12144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12145 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
12147 wxPyEndAllowThreads(__tstate
);
12148 if (PyErr_Occurred()) SWIG_fail
;
12150 Py_INCREF(Py_None
); resultobj
= Py_None
;
12165 static PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12166 PyObject
*resultobj
;
12167 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12168 wxString
*arg2
= 0 ;
12169 bool temp2
= False
;
12170 PyObject
* obj0
= 0 ;
12171 PyObject
* obj1
= 0 ;
12172 char *kwnames
[] = {
12173 (char *) "self",(char *) "shortDesc", NULL
12176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
12177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12180 arg2
= wxString_in_helper(obj1
);
12181 if (arg2
== NULL
) SWIG_fail
;
12185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12186 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
12188 wxPyEndAllowThreads(__tstate
);
12189 if (PyErr_Occurred()) SWIG_fail
;
12191 Py_INCREF(Py_None
); resultobj
= Py_None
;
12206 static PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12207 PyObject
*resultobj
;
12208 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12210 PyObject
* obj0
= 0 ;
12211 char *kwnames
[] = {
12212 (char *) "self", NULL
12215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetMimeType",kwnames
,&obj0
)) goto fail
;
12216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12221 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
12222 result
= (wxString
*) &_result_ref
;
12225 wxPyEndAllowThreads(__tstate
);
12226 if (PyErr_Occurred()) SWIG_fail
;
12230 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12232 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12241 static PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12242 PyObject
*resultobj
;
12243 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12245 PyObject
* obj0
= 0 ;
12246 char *kwnames
[] = {
12247 (char *) "self", NULL
12250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames
,&obj0
)) goto fail
;
12251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12256 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
12257 result
= (wxString
*) &_result_ref
;
12260 wxPyEndAllowThreads(__tstate
);
12261 if (PyErr_Occurred()) SWIG_fail
;
12265 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12267 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12276 static PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12277 PyObject
*resultobj
;
12278 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12280 PyObject
* obj0
= 0 ;
12281 char *kwnames
[] = {
12282 (char *) "self", NULL
12285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames
,&obj0
)) goto fail
;
12286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12291 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
12292 result
= (wxString
*) &_result_ref
;
12295 wxPyEndAllowThreads(__tstate
);
12296 if (PyErr_Occurred()) SWIG_fail
;
12300 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12302 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12311 static PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12312 PyObject
*resultobj
;
12313 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12315 PyObject
* obj0
= 0 ;
12316 char *kwnames
[] = {
12317 (char *) "self", NULL
12320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetShortDesc",kwnames
,&obj0
)) goto fail
;
12321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12326 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
12327 result
= (wxString
*) &_result_ref
;
12330 wxPyEndAllowThreads(__tstate
);
12331 if (PyErr_Occurred()) SWIG_fail
;
12335 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12337 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12346 static PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12347 PyObject
*resultobj
;
12348 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12350 PyObject
* obj0
= 0 ;
12351 char *kwnames
[] = {
12352 (char *) "self", NULL
12355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetDescription",kwnames
,&obj0
)) goto fail
;
12356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12361 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
12362 result
= (wxString
*) &_result_ref
;
12365 wxPyEndAllowThreads(__tstate
);
12366 if (PyErr_Occurred()) SWIG_fail
;
12370 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12372 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12381 static PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12382 PyObject
*resultobj
;
12383 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12384 wxArrayString
*result
;
12385 PyObject
* obj0
= 0 ;
12386 char *kwnames
[] = {
12387 (char *) "self", NULL
12390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensions",kwnames
,&obj0
)) goto fail
;
12391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12396 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
12397 result
= (wxArrayString
*) &_result_ref
;
12400 wxPyEndAllowThreads(__tstate
);
12401 if (PyErr_Occurred()) SWIG_fail
;
12404 resultobj
= wxArrayString2PyList_helper(*result
);
12412 static PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12413 PyObject
*resultobj
;
12414 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12416 PyObject
* obj0
= 0 ;
12417 char *kwnames
[] = {
12418 (char *) "self", NULL
12421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames
,&obj0
)) goto fail
;
12422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12426 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
12428 wxPyEndAllowThreads(__tstate
);
12429 if (PyErr_Occurred()) SWIG_fail
;
12431 resultobj
= SWIG_FromInt((int)result
);
12438 static PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12439 PyObject
*resultobj
;
12440 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12442 PyObject
* obj0
= 0 ;
12443 char *kwnames
[] = {
12444 (char *) "self", NULL
12447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconFile",kwnames
,&obj0
)) goto fail
;
12448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12453 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
12454 result
= (wxString
*) &_result_ref
;
12457 wxPyEndAllowThreads(__tstate
);
12458 if (PyErr_Occurred()) SWIG_fail
;
12462 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12464 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12473 static PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12474 PyObject
*resultobj
;
12475 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12477 PyObject
* obj0
= 0 ;
12478 char *kwnames
[] = {
12479 (char *) "self", NULL
12482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconIndex",kwnames
,&obj0
)) goto fail
;
12483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12487 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
12489 wxPyEndAllowThreads(__tstate
);
12490 if (PyErr_Occurred()) SWIG_fail
;
12492 resultobj
= SWIG_FromInt((int)result
);
12499 static PyObject
* FileTypeInfo_swigregister(PyObject
*self
, PyObject
*args
) {
12501 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12502 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo
, obj
);
12504 return Py_BuildValue((char *)"");
12506 static PyObject
*_wrap_new_FileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12507 PyObject
*resultobj
;
12508 wxFileTypeInfo
*arg1
= 0 ;
12509 wxFileType
*result
;
12510 PyObject
* obj0
= 0 ;
12511 char *kwnames
[] = {
12512 (char *) "ftInfo", NULL
12515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) goto fail
;
12516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12517 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12519 if (arg1
== NULL
) {
12520 PyErr_SetString(PyExc_TypeError
,"null reference");
12524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12525 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
12527 wxPyEndAllowThreads(__tstate
);
12528 if (PyErr_Occurred()) SWIG_fail
;
12530 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
12537 static PyObject
*_wrap_delete_FileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12538 PyObject
*resultobj
;
12539 wxFileType
*arg1
= (wxFileType
*) 0 ;
12540 PyObject
* obj0
= 0 ;
12541 char *kwnames
[] = {
12542 (char *) "self", NULL
12545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileType",kwnames
,&obj0
)) goto fail
;
12546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12552 wxPyEndAllowThreads(__tstate
);
12553 if (PyErr_Occurred()) SWIG_fail
;
12555 Py_INCREF(Py_None
); resultobj
= Py_None
;
12562 static PyObject
*_wrap_FileType_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12563 PyObject
*resultobj
;
12564 wxFileType
*arg1
= (wxFileType
*) 0 ;
12566 PyObject
* obj0
= 0 ;
12567 char *kwnames
[] = {
12568 (char *) "self", NULL
12571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeType",kwnames
,&obj0
)) goto fail
;
12572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12576 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
12578 wxPyEndAllowThreads(__tstate
);
12579 if (PyErr_Occurred()) SWIG_fail
;
12581 resultobj
= result
;
12588 static PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12589 PyObject
*resultobj
;
12590 wxFileType
*arg1
= (wxFileType
*) 0 ;
12592 PyObject
* obj0
= 0 ;
12593 char *kwnames
[] = {
12594 (char *) "self", NULL
12597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeTypes",kwnames
,&obj0
)) goto fail
;
12598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12602 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
12604 wxPyEndAllowThreads(__tstate
);
12605 if (PyErr_Occurred()) SWIG_fail
;
12607 resultobj
= result
;
12614 static PyObject
*_wrap_FileType_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12615 PyObject
*resultobj
;
12616 wxFileType
*arg1
= (wxFileType
*) 0 ;
12618 PyObject
* obj0
= 0 ;
12619 char *kwnames
[] = {
12620 (char *) "self", NULL
12623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetExtensions",kwnames
,&obj0
)) goto fail
;
12624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12628 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
12630 wxPyEndAllowThreads(__tstate
);
12631 if (PyErr_Occurred()) SWIG_fail
;
12633 resultobj
= result
;
12640 static PyObject
*_wrap_FileType_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12641 PyObject
*resultobj
;
12642 wxFileType
*arg1
= (wxFileType
*) 0 ;
12644 PyObject
* obj0
= 0 ;
12645 char *kwnames
[] = {
12646 (char *) "self", NULL
12649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIcon",kwnames
,&obj0
)) goto fail
;
12650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12654 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
12656 wxPyEndAllowThreads(__tstate
);
12657 if (PyErr_Occurred()) SWIG_fail
;
12659 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
12666 static PyObject
*_wrap_FileType_GetIconInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12667 PyObject
*resultobj
;
12668 wxFileType
*arg1
= (wxFileType
*) 0 ;
12670 PyObject
* obj0
= 0 ;
12671 char *kwnames
[] = {
12672 (char *) "self", NULL
12675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIconInfo",kwnames
,&obj0
)) goto fail
;
12676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12680 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
12682 wxPyEndAllowThreads(__tstate
);
12683 if (PyErr_Occurred()) SWIG_fail
;
12685 resultobj
= result
;
12692 static PyObject
*_wrap_FileType_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12693 PyObject
*resultobj
;
12694 wxFileType
*arg1
= (wxFileType
*) 0 ;
12696 PyObject
* obj0
= 0 ;
12697 char *kwnames
[] = {
12698 (char *) "self", NULL
12701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetDescription",kwnames
,&obj0
)) goto fail
;
12702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12706 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
12708 wxPyEndAllowThreads(__tstate
);
12709 if (PyErr_Occurred()) SWIG_fail
;
12711 resultobj
= result
;
12718 static PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12719 PyObject
*resultobj
;
12720 wxFileType
*arg1
= (wxFileType
*) 0 ;
12721 wxString
*arg2
= 0 ;
12722 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12723 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12725 bool temp2
= False
;
12726 bool temp3
= False
;
12727 PyObject
* obj0
= 0 ;
12728 PyObject
* obj1
= 0 ;
12729 PyObject
* obj2
= 0 ;
12730 char *kwnames
[] = {
12731 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12738 arg2
= wxString_in_helper(obj1
);
12739 if (arg2
== NULL
) SWIG_fail
;
12744 arg3
= wxString_in_helper(obj2
);
12745 if (arg3
== NULL
) SWIG_fail
;
12750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12751 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12753 wxPyEndAllowThreads(__tstate
);
12754 if (PyErr_Occurred()) SWIG_fail
;
12756 resultobj
= result
;
12779 static PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12780 PyObject
*resultobj
;
12781 wxFileType
*arg1
= (wxFileType
*) 0 ;
12782 wxString
*arg2
= 0 ;
12783 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12784 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12786 bool temp2
= False
;
12787 bool temp3
= False
;
12788 PyObject
* obj0
= 0 ;
12789 PyObject
* obj1
= 0 ;
12790 PyObject
* obj2
= 0 ;
12791 char *kwnames
[] = {
12792 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12799 arg2
= wxString_in_helper(obj1
);
12800 if (arg2
== NULL
) SWIG_fail
;
12805 arg3
= wxString_in_helper(obj2
);
12806 if (arg3
== NULL
) SWIG_fail
;
12811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12812 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12814 wxPyEndAllowThreads(__tstate
);
12815 if (PyErr_Occurred()) SWIG_fail
;
12817 resultobj
= result
;
12840 static PyObject
*_wrap_FileType_GetAllCommands(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12841 PyObject
*resultobj
;
12842 wxFileType
*arg1
= (wxFileType
*) 0 ;
12843 wxString
*arg2
= 0 ;
12844 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12845 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12847 bool temp2
= False
;
12848 bool temp3
= False
;
12849 PyObject
* obj0
= 0 ;
12850 PyObject
* obj1
= 0 ;
12851 PyObject
* obj2
= 0 ;
12852 char *kwnames
[] = {
12853 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12860 arg2
= wxString_in_helper(obj1
);
12861 if (arg2
== NULL
) SWIG_fail
;
12866 arg3
= wxString_in_helper(obj2
);
12867 if (arg3
== NULL
) SWIG_fail
;
12872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12873 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12875 wxPyEndAllowThreads(__tstate
);
12876 if (PyErr_Occurred()) SWIG_fail
;
12878 resultobj
= result
;
12901 static PyObject
*_wrap_FileType_SetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12902 PyObject
*resultobj
;
12903 wxFileType
*arg1
= (wxFileType
*) 0 ;
12904 wxString
*arg2
= 0 ;
12905 wxString
*arg3
= 0 ;
12906 bool arg4
= (bool) True
;
12908 bool temp2
= False
;
12909 bool temp3
= False
;
12910 PyObject
* obj0
= 0 ;
12911 PyObject
* obj1
= 0 ;
12912 PyObject
* obj2
= 0 ;
12913 PyObject
* obj3
= 0 ;
12914 char *kwnames
[] = {
12915 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
12918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12922 arg2
= wxString_in_helper(obj1
);
12923 if (arg2
== NULL
) SWIG_fail
;
12927 arg3
= wxString_in_helper(obj2
);
12928 if (arg3
== NULL
) SWIG_fail
;
12932 arg4
= (bool) SWIG_AsBool(obj3
);
12933 if (PyErr_Occurred()) SWIG_fail
;
12936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12937 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
12939 wxPyEndAllowThreads(__tstate
);
12940 if (PyErr_Occurred()) SWIG_fail
;
12943 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12967 static PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12968 PyObject
*resultobj
;
12969 wxFileType
*arg1
= (wxFileType
*) 0 ;
12970 wxString
const &arg2_defvalue
= wxPyEmptyString
;
12971 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12972 int arg3
= (int) 0 ;
12974 bool temp2
= False
;
12975 PyObject
* obj0
= 0 ;
12976 PyObject
* obj1
= 0 ;
12977 PyObject
* obj2
= 0 ;
12978 char *kwnames
[] = {
12979 (char *) "self",(char *) "cmd",(char *) "index", NULL
12982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12987 arg2
= wxString_in_helper(obj1
);
12988 if (arg2
== NULL
) SWIG_fail
;
12993 arg3
= (int) SWIG_AsInt(obj2
);
12994 if (PyErr_Occurred()) SWIG_fail
;
12997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12998 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
13000 wxPyEndAllowThreads(__tstate
);
13001 if (PyErr_Occurred()) SWIG_fail
;
13004 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13020 static PyObject
*_wrap_FileType_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13021 PyObject
*resultobj
;
13022 wxFileType
*arg1
= (wxFileType
*) 0 ;
13024 PyObject
* obj0
= 0 ;
13025 char *kwnames
[] = {
13026 (char *) "self", NULL
13029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_Unassociate",kwnames
,&obj0
)) goto fail
;
13030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13034 result
= (bool)(arg1
)->Unassociate();
13036 wxPyEndAllowThreads(__tstate
);
13037 if (PyErr_Occurred()) SWIG_fail
;
13040 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13048 static PyObject
*_wrap_FileType_ExpandCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13049 PyObject
*resultobj
;
13050 wxString
*arg1
= 0 ;
13051 wxString
*arg2
= 0 ;
13052 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13053 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13055 bool temp1
= False
;
13056 bool temp2
= False
;
13057 bool temp3
= False
;
13058 PyObject
* obj0
= 0 ;
13059 PyObject
* obj1
= 0 ;
13060 PyObject
* obj2
= 0 ;
13061 char *kwnames
[] = {
13062 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
13065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13067 arg1
= wxString_in_helper(obj0
);
13068 if (arg1
== NULL
) SWIG_fail
;
13072 arg2
= wxString_in_helper(obj1
);
13073 if (arg2
== NULL
) SWIG_fail
;
13078 arg3
= wxString_in_helper(obj2
);
13079 if (arg3
== NULL
) SWIG_fail
;
13084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13085 result
= FileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
13087 wxPyEndAllowThreads(__tstate
);
13088 if (PyErr_Occurred()) SWIG_fail
;
13092 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13094 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13127 static PyObject
* FileType_swigregister(PyObject
*self
, PyObject
*args
) {
13129 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13130 SWIG_TypeClientData(SWIGTYPE_p_wxFileType
, obj
);
13132 return Py_BuildValue((char *)"");
13134 static int _wrap_TheMimeTypesManager_set(PyObject
*_val
) {
13135 PyErr_SetString(PyExc_TypeError
,"Variable TheMimeTypesManager is read-only.");
13140 static PyObject
*_wrap_TheMimeTypesManager_get() {
13143 pyobj
= SWIG_NewPointerObj((void *)(wxTheMimeTypesManager
), SWIGTYPE_p_wxMimeTypesManager
, 0);
13148 static PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13149 PyObject
*resultobj
;
13150 wxString
*arg1
= 0 ;
13151 wxString
*arg2
= 0 ;
13153 bool temp1
= False
;
13154 bool temp2
= False
;
13155 PyObject
* obj0
= 0 ;
13156 PyObject
* obj1
= 0 ;
13157 char *kwnames
[] = {
13158 (char *) "mimeType",(char *) "wildcard", NULL
13161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) goto fail
;
13163 arg1
= wxString_in_helper(obj0
);
13164 if (arg1
== NULL
) SWIG_fail
;
13168 arg2
= wxString_in_helper(obj1
);
13169 if (arg2
== NULL
) SWIG_fail
;
13173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13174 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
13176 wxPyEndAllowThreads(__tstate
);
13177 if (PyErr_Occurred()) SWIG_fail
;
13180 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13204 static PyObject
*_wrap_new_MimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13205 PyObject
*resultobj
;
13206 wxMimeTypesManager
*result
;
13207 char *kwnames
[] = {
13211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MimeTypesManager",kwnames
)) goto fail
;
13213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13214 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
13216 wxPyEndAllowThreads(__tstate
);
13217 if (PyErr_Occurred()) SWIG_fail
;
13219 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMimeTypesManager
, 1);
13226 static PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13227 PyObject
*resultobj
;
13228 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13229 int arg2
= (int) wxMAILCAP_ALL
;
13230 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13231 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13232 bool temp3
= False
;
13233 PyObject
* obj0
= 0 ;
13234 PyObject
* obj1
= 0 ;
13235 PyObject
* obj2
= 0 ;
13236 char *kwnames
[] = {
13237 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
13240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MimeTypesManager_Initialize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13244 arg2
= (int) SWIG_AsInt(obj1
);
13245 if (PyErr_Occurred()) SWIG_fail
;
13249 arg3
= wxString_in_helper(obj2
);
13250 if (arg3
== NULL
) SWIG_fail
;
13255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13256 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
13258 wxPyEndAllowThreads(__tstate
);
13259 if (PyErr_Occurred()) SWIG_fail
;
13261 Py_INCREF(Py_None
); resultobj
= Py_None
;
13276 static PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13277 PyObject
*resultobj
;
13278 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13279 PyObject
* obj0
= 0 ;
13280 char *kwnames
[] = {
13281 (char *) "self", NULL
13284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_ClearData",kwnames
,&obj0
)) goto fail
;
13285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13289 (arg1
)->ClearData();
13291 wxPyEndAllowThreads(__tstate
);
13292 if (PyErr_Occurred()) SWIG_fail
;
13294 Py_INCREF(Py_None
); resultobj
= Py_None
;
13301 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13302 PyObject
*resultobj
;
13303 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13304 wxString
*arg2
= 0 ;
13305 wxFileType
*result
;
13306 bool temp2
= False
;
13307 PyObject
* obj0
= 0 ;
13308 PyObject
* obj1
= 0 ;
13309 char *kwnames
[] = {
13310 (char *) "self",(char *) "ext", NULL
13313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
13314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13317 arg2
= wxString_in_helper(obj1
);
13318 if (arg2
== NULL
) SWIG_fail
;
13322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13323 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
13325 wxPyEndAllowThreads(__tstate
);
13326 if (PyErr_Occurred()) SWIG_fail
;
13328 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13343 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13344 PyObject
*resultobj
;
13345 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13346 wxString
*arg2
= 0 ;
13347 wxFileType
*result
;
13348 bool temp2
= False
;
13349 PyObject
* obj0
= 0 ;
13350 PyObject
* obj1
= 0 ;
13351 char *kwnames
[] = {
13352 (char *) "self",(char *) "mimeType", NULL
13355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
13356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13359 arg2
= wxString_in_helper(obj1
);
13360 if (arg2
== NULL
) SWIG_fail
;
13364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13365 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
13367 wxPyEndAllowThreads(__tstate
);
13368 if (PyErr_Occurred()) SWIG_fail
;
13370 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13385 static PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13386 PyObject
*resultobj
;
13387 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13388 wxString
*arg2
= 0 ;
13389 bool arg3
= (bool) False
;
13391 bool temp2
= False
;
13392 PyObject
* obj0
= 0 ;
13393 PyObject
* obj1
= 0 ;
13394 PyObject
* obj2
= 0 ;
13395 char *kwnames
[] = {
13396 (char *) "self",(char *) "filename",(char *) "fallback", NULL
13399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13403 arg2
= wxString_in_helper(obj1
);
13404 if (arg2
== NULL
) SWIG_fail
;
13408 arg3
= (bool) SWIG_AsBool(obj2
);
13409 if (PyErr_Occurred()) SWIG_fail
;
13412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13413 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
13415 wxPyEndAllowThreads(__tstate
);
13416 if (PyErr_Occurred()) SWIG_fail
;
13419 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13435 static PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13436 PyObject
*resultobj
;
13437 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13438 wxString
*arg2
= 0 ;
13440 bool temp2
= False
;
13441 PyObject
* obj0
= 0 ;
13442 PyObject
* obj1
= 0 ;
13443 char *kwnames
[] = {
13444 (char *) "self",(char *) "filename", NULL
13447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) goto fail
;
13448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13451 arg2
= wxString_in_helper(obj1
);
13452 if (arg2
== NULL
) SWIG_fail
;
13456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13457 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
13459 wxPyEndAllowThreads(__tstate
);
13460 if (PyErr_Occurred()) SWIG_fail
;
13463 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13479 static PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13480 PyObject
*resultobj
;
13481 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13483 PyObject
* obj0
= 0 ;
13484 char *kwnames
[] = {
13485 (char *) "self", NULL
13488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames
,&obj0
)) goto fail
;
13489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13493 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
13495 wxPyEndAllowThreads(__tstate
);
13496 if (PyErr_Occurred()) SWIG_fail
;
13498 resultobj
= result
;
13505 static PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13506 PyObject
*resultobj
;
13507 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13508 wxFileTypeInfo
*arg2
= 0 ;
13509 PyObject
* obj0
= 0 ;
13510 PyObject
* obj1
= 0 ;
13511 char *kwnames
[] = {
13512 (char *) "self",(char *) "ft", NULL
13515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) goto fail
;
13516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13518 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileTypeInfo
,
13519 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13521 if (arg2
== NULL
) {
13522 PyErr_SetString(PyExc_TypeError
,"null reference");
13526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13527 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
13529 wxPyEndAllowThreads(__tstate
);
13530 if (PyErr_Occurred()) SWIG_fail
;
13532 Py_INCREF(Py_None
); resultobj
= Py_None
;
13539 static PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13540 PyObject
*resultobj
;
13541 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13542 wxFileTypeInfo
*arg2
= 0 ;
13543 wxFileType
*result
;
13544 PyObject
* obj0
= 0 ;
13545 PyObject
* obj1
= 0 ;
13546 char *kwnames
[] = {
13547 (char *) "self",(char *) "ftInfo", NULL
13550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) goto fail
;
13551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13553 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileTypeInfo
,
13554 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13556 if (arg2
== NULL
) {
13557 PyErr_SetString(PyExc_TypeError
,"null reference");
13561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13562 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
13564 wxPyEndAllowThreads(__tstate
);
13565 if (PyErr_Occurred()) SWIG_fail
;
13567 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13574 static PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13575 PyObject
*resultobj
;
13576 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13577 wxFileType
*arg2
= (wxFileType
*) 0 ;
13579 PyObject
* obj0
= 0 ;
13580 PyObject
* obj1
= 0 ;
13581 char *kwnames
[] = {
13582 (char *) "self",(char *) "ft", NULL
13585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) goto fail
;
13586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13588 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileType
,
13589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13592 result
= (bool)(arg1
)->Unassociate(arg2
);
13594 wxPyEndAllowThreads(__tstate
);
13595 if (PyErr_Occurred()) SWIG_fail
;
13598 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13606 static PyObject
*_wrap_delete_MimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13607 PyObject
*resultobj
;
13608 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13609 PyObject
* obj0
= 0 ;
13610 char *kwnames
[] = {
13611 (char *) "self", NULL
13614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MimeTypesManager",kwnames
,&obj0
)) goto fail
;
13615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13621 wxPyEndAllowThreads(__tstate
);
13622 if (PyErr_Occurred()) SWIG_fail
;
13624 Py_INCREF(Py_None
); resultobj
= Py_None
;
13631 static PyObject
* MimeTypesManager_swigregister(PyObject
*self
, PyObject
*args
) {
13633 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13634 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager
, obj
);
13636 return Py_BuildValue((char *)"");
13638 static int _wrap_ART_TOOLBAR_set(PyObject
*_val
) {
13639 PyErr_SetString(PyExc_TypeError
,"Variable ART_TOOLBAR is read-only.");
13644 static PyObject
*_wrap_ART_TOOLBAR_get() {
13649 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
13651 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
13658 static int _wrap_ART_MENU_set(PyObject
*_val
) {
13659 PyErr_SetString(PyExc_TypeError
,"Variable ART_MENU is read-only.");
13664 static PyObject
*_wrap_ART_MENU_get() {
13669 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
13671 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
13678 static int _wrap_ART_FRAME_ICON_set(PyObject
*_val
) {
13679 PyErr_SetString(PyExc_TypeError
,"Variable ART_FRAME_ICON is read-only.");
13684 static PyObject
*_wrap_ART_FRAME_ICON_get() {
13689 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
13691 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
13698 static int _wrap_ART_CMN_DIALOG_set(PyObject
*_val
) {
13699 PyErr_SetString(PyExc_TypeError
,"Variable ART_CMN_DIALOG is read-only.");
13704 static PyObject
*_wrap_ART_CMN_DIALOG_get() {
13709 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
13711 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
13718 static int _wrap_ART_HELP_BROWSER_set(PyObject
*_val
) {
13719 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BROWSER is read-only.");
13724 static PyObject
*_wrap_ART_HELP_BROWSER_get() {
13729 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
13731 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
13738 static int _wrap_ART_MESSAGE_BOX_set(PyObject
*_val
) {
13739 PyErr_SetString(PyExc_TypeError
,"Variable ART_MESSAGE_BOX is read-only.");
13744 static PyObject
*_wrap_ART_MESSAGE_BOX_get() {
13749 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
13751 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
13758 static int _wrap_ART_OTHER_set(PyObject
*_val
) {
13759 PyErr_SetString(PyExc_TypeError
,"Variable ART_OTHER is read-only.");
13764 static PyObject
*_wrap_ART_OTHER_get() {
13769 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
13771 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
13778 static int _wrap_ART_ADD_BOOKMARK_set(PyObject
*_val
) {
13779 PyErr_SetString(PyExc_TypeError
,"Variable ART_ADD_BOOKMARK is read-only.");
13784 static PyObject
*_wrap_ART_ADD_BOOKMARK_get() {
13789 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
13791 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
13798 static int _wrap_ART_DEL_BOOKMARK_set(PyObject
*_val
) {
13799 PyErr_SetString(PyExc_TypeError
,"Variable ART_DEL_BOOKMARK is read-only.");
13804 static PyObject
*_wrap_ART_DEL_BOOKMARK_get() {
13809 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
13811 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
13818 static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject
*_val
) {
13819 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
13824 static PyObject
*_wrap_ART_HELP_SIDE_PANEL_get() {
13829 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
13831 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
13838 static int _wrap_ART_HELP_SETTINGS_set(PyObject
*_val
) {
13839 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SETTINGS is read-only.");
13844 static PyObject
*_wrap_ART_HELP_SETTINGS_get() {
13849 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
13851 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
13858 static int _wrap_ART_HELP_BOOK_set(PyObject
*_val
) {
13859 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BOOK is read-only.");
13864 static PyObject
*_wrap_ART_HELP_BOOK_get() {
13869 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
13871 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
13878 static int _wrap_ART_HELP_FOLDER_set(PyObject
*_val
) {
13879 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_FOLDER is read-only.");
13884 static PyObject
*_wrap_ART_HELP_FOLDER_get() {
13889 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
13891 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
13898 static int _wrap_ART_HELP_PAGE_set(PyObject
*_val
) {
13899 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_PAGE is read-only.");
13904 static PyObject
*_wrap_ART_HELP_PAGE_get() {
13909 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
13911 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
13918 static int _wrap_ART_GO_BACK_set(PyObject
*_val
) {
13919 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_BACK is read-only.");
13924 static PyObject
*_wrap_ART_GO_BACK_get() {
13929 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
13931 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
13938 static int _wrap_ART_GO_FORWARD_set(PyObject
*_val
) {
13939 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_FORWARD is read-only.");
13944 static PyObject
*_wrap_ART_GO_FORWARD_get() {
13949 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
13951 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
13958 static int _wrap_ART_GO_UP_set(PyObject
*_val
) {
13959 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_UP is read-only.");
13964 static PyObject
*_wrap_ART_GO_UP_get() {
13969 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
13971 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
13978 static int _wrap_ART_GO_DOWN_set(PyObject
*_val
) {
13979 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DOWN is read-only.");
13984 static PyObject
*_wrap_ART_GO_DOWN_get() {
13989 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
13991 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
13998 static int _wrap_ART_GO_TO_PARENT_set(PyObject
*_val
) {
13999 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_TO_PARENT is read-only.");
14004 static PyObject
*_wrap_ART_GO_TO_PARENT_get() {
14009 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
14011 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
14018 static int _wrap_ART_GO_HOME_set(PyObject
*_val
) {
14019 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_HOME is read-only.");
14024 static PyObject
*_wrap_ART_GO_HOME_get() {
14029 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
14031 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
14038 static int _wrap_ART_FILE_OPEN_set(PyObject
*_val
) {
14039 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_OPEN is read-only.");
14044 static PyObject
*_wrap_ART_FILE_OPEN_get() {
14049 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
14051 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
14058 static int _wrap_ART_PRINT_set(PyObject
*_val
) {
14059 PyErr_SetString(PyExc_TypeError
,"Variable ART_PRINT is read-only.");
14064 static PyObject
*_wrap_ART_PRINT_get() {
14069 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
14071 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
14078 static int _wrap_ART_HELP_set(PyObject
*_val
) {
14079 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP is read-only.");
14084 static PyObject
*_wrap_ART_HELP_get() {
14089 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
14091 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
14098 static int _wrap_ART_TIP_set(PyObject
*_val
) {
14099 PyErr_SetString(PyExc_TypeError
,"Variable ART_TIP is read-only.");
14104 static PyObject
*_wrap_ART_TIP_get() {
14109 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
14111 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
14118 static int _wrap_ART_REPORT_VIEW_set(PyObject
*_val
) {
14119 PyErr_SetString(PyExc_TypeError
,"Variable ART_REPORT_VIEW is read-only.");
14124 static PyObject
*_wrap_ART_REPORT_VIEW_get() {
14129 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
14131 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
14138 static int _wrap_ART_LIST_VIEW_set(PyObject
*_val
) {
14139 PyErr_SetString(PyExc_TypeError
,"Variable ART_LIST_VIEW is read-only.");
14144 static PyObject
*_wrap_ART_LIST_VIEW_get() {
14149 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
14151 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
14158 static int _wrap_ART_NEW_DIR_set(PyObject
*_val
) {
14159 PyErr_SetString(PyExc_TypeError
,"Variable ART_NEW_DIR is read-only.");
14164 static PyObject
*_wrap_ART_NEW_DIR_get() {
14169 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
14171 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
14178 static int _wrap_ART_FOLDER_set(PyObject
*_val
) {
14179 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER is read-only.");
14184 static PyObject
*_wrap_ART_FOLDER_get() {
14189 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
14191 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
14198 static int _wrap_ART_GO_DIR_UP_set(PyObject
*_val
) {
14199 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DIR_UP is read-only.");
14204 static PyObject
*_wrap_ART_GO_DIR_UP_get() {
14209 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
14211 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
14218 static int _wrap_ART_EXECUTABLE_FILE_set(PyObject
*_val
) {
14219 PyErr_SetString(PyExc_TypeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
14224 static PyObject
*_wrap_ART_EXECUTABLE_FILE_get() {
14229 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
14231 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
14238 static int _wrap_ART_NORMAL_FILE_set(PyObject
*_val
) {
14239 PyErr_SetString(PyExc_TypeError
,"Variable ART_NORMAL_FILE is read-only.");
14244 static PyObject
*_wrap_ART_NORMAL_FILE_get() {
14249 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
14251 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
14258 static int _wrap_ART_TICK_MARK_set(PyObject
*_val
) {
14259 PyErr_SetString(PyExc_TypeError
,"Variable ART_TICK_MARK is read-only.");
14264 static PyObject
*_wrap_ART_TICK_MARK_get() {
14269 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
14271 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
14278 static int _wrap_ART_CROSS_MARK_set(PyObject
*_val
) {
14279 PyErr_SetString(PyExc_TypeError
,"Variable ART_CROSS_MARK is read-only.");
14284 static PyObject
*_wrap_ART_CROSS_MARK_get() {
14289 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
14291 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
14298 static int _wrap_ART_ERROR_set(PyObject
*_val
) {
14299 PyErr_SetString(PyExc_TypeError
,"Variable ART_ERROR is read-only.");
14304 static PyObject
*_wrap_ART_ERROR_get() {
14309 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
14311 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
14318 static int _wrap_ART_QUESTION_set(PyObject
*_val
) {
14319 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUESTION is read-only.");
14324 static PyObject
*_wrap_ART_QUESTION_get() {
14329 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
14331 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
14338 static int _wrap_ART_WARNING_set(PyObject
*_val
) {
14339 PyErr_SetString(PyExc_TypeError
,"Variable ART_WARNING is read-only.");
14344 static PyObject
*_wrap_ART_WARNING_get() {
14349 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
14351 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
14358 static int _wrap_ART_INFORMATION_set(PyObject
*_val
) {
14359 PyErr_SetString(PyExc_TypeError
,"Variable ART_INFORMATION is read-only.");
14364 static PyObject
*_wrap_ART_INFORMATION_get() {
14369 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
14371 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
14378 static int _wrap_ART_MISSING_IMAGE_set(PyObject
*_val
) {
14379 PyErr_SetString(PyExc_TypeError
,"Variable ART_MISSING_IMAGE is read-only.");
14384 static PyObject
*_wrap_ART_MISSING_IMAGE_get() {
14389 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
14391 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
14398 static PyObject
*_wrap_new_ArtProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14399 PyObject
*resultobj
;
14400 wxPyArtProvider
*result
;
14401 char *kwnames
[] = {
14405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ArtProvider",kwnames
)) goto fail
;
14407 if (!wxPyCheckForApp()) SWIG_fail
;
14408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14409 result
= (wxPyArtProvider
*)new wxPyArtProvider();
14411 wxPyEndAllowThreads(__tstate
);
14412 if (PyErr_Occurred()) SWIG_fail
;
14414 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyArtProvider
, 1);
14421 static PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14422 PyObject
*resultobj
;
14423 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14424 PyObject
*arg2
= (PyObject
*) 0 ;
14425 PyObject
*arg3
= (PyObject
*) 0 ;
14426 PyObject
* obj0
= 0 ;
14427 PyObject
* obj1
= 0 ;
14428 PyObject
* obj2
= 0 ;
14429 char *kwnames
[] = {
14430 (char *) "self",(char *) "self",(char *) "_class", NULL
14433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14440 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14442 wxPyEndAllowThreads(__tstate
);
14443 if (PyErr_Occurred()) SWIG_fail
;
14445 Py_INCREF(Py_None
); resultobj
= Py_None
;
14452 static PyObject
*_wrap_ArtProvider_PushProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14453 PyObject
*resultobj
;
14454 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14455 PyObject
* obj0
= 0 ;
14456 char *kwnames
[] = {
14457 (char *) "provider", NULL
14460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_PushProvider",kwnames
,&obj0
)) goto fail
;
14461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14465 wxPyArtProvider::PushProvider(arg1
);
14467 wxPyEndAllowThreads(__tstate
);
14468 if (PyErr_Occurred()) SWIG_fail
;
14470 Py_INCREF(Py_None
); resultobj
= Py_None
;
14477 static PyObject
*_wrap_ArtProvider_PopProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14478 PyObject
*resultobj
;
14480 char *kwnames
[] = {
14484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ArtProvider_PopProvider",kwnames
)) goto fail
;
14486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14487 result
= (bool)wxPyArtProvider::PopProvider();
14489 wxPyEndAllowThreads(__tstate
);
14490 if (PyErr_Occurred()) SWIG_fail
;
14493 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14501 static PyObject
*_wrap_ArtProvider_RemoveProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14502 PyObject
*resultobj
;
14503 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14505 PyObject
* obj0
= 0 ;
14506 char *kwnames
[] = {
14507 (char *) "provider", NULL
14510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",kwnames
,&obj0
)) goto fail
;
14511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14515 result
= (bool)wxPyArtProvider::RemoveProvider(arg1
);
14517 wxPyEndAllowThreads(__tstate
);
14518 if (PyErr_Occurred()) SWIG_fail
;
14521 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14529 static PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14530 PyObject
*resultobj
;
14531 wxString
*arg1
= 0 ;
14532 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
14533 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14534 wxSize
const &arg3_defvalue
= wxDefaultSize
;
14535 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
14537 bool temp1
= False
;
14538 bool temp2
= False
;
14540 PyObject
* obj0
= 0 ;
14541 PyObject
* obj1
= 0 ;
14542 PyObject
* obj2
= 0 ;
14543 char *kwnames
[] = {
14544 (char *) "id",(char *) "client",(char *) "size", NULL
14547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14549 arg1
= wxString_in_helper(obj0
);
14550 if (arg1
== NULL
) SWIG_fail
;
14555 arg2
= wxString_in_helper(obj1
);
14556 if (arg2
== NULL
) SWIG_fail
;
14563 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14567 if (!wxPyCheckForApp()) SWIG_fail
;
14568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14569 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
14571 wxPyEndAllowThreads(__tstate
);
14572 if (PyErr_Occurred()) SWIG_fail
;
14575 wxBitmap
* resultptr
;
14576 resultptr
= new wxBitmap((wxBitmap
&) result
);
14577 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
14601 static PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14602 PyObject
*resultobj
;
14603 wxString
*arg1
= 0 ;
14604 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
14605 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14606 wxSize
const &arg3_defvalue
= wxDefaultSize
;
14607 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
14609 bool temp1
= False
;
14610 bool temp2
= False
;
14612 PyObject
* obj0
= 0 ;
14613 PyObject
* obj1
= 0 ;
14614 PyObject
* obj2
= 0 ;
14615 char *kwnames
[] = {
14616 (char *) "id",(char *) "client",(char *) "size", NULL
14619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14621 arg1
= wxString_in_helper(obj0
);
14622 if (arg1
== NULL
) SWIG_fail
;
14627 arg2
= wxString_in_helper(obj1
);
14628 if (arg2
== NULL
) SWIG_fail
;
14635 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14639 if (!wxPyCheckForApp()) SWIG_fail
;
14640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14641 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
14643 wxPyEndAllowThreads(__tstate
);
14644 if (PyErr_Occurred()) SWIG_fail
;
14647 wxIcon
* resultptr
;
14648 resultptr
= new wxIcon((wxIcon
&) result
);
14649 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
14673 static PyObject
*_wrap_ArtProvider_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14674 PyObject
*resultobj
;
14675 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14676 PyObject
* obj0
= 0 ;
14677 char *kwnames
[] = {
14678 (char *) "self", NULL
14681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Destroy",kwnames
,&obj0
)) goto fail
;
14682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14686 wxPyArtProvider_Destroy(arg1
);
14688 wxPyEndAllowThreads(__tstate
);
14689 if (PyErr_Occurred()) SWIG_fail
;
14691 Py_INCREF(Py_None
); resultobj
= Py_None
;
14698 static PyObject
* ArtProvider_swigregister(PyObject
*self
, PyObject
*args
) {
14700 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14701 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider
, obj
);
14703 return Py_BuildValue((char *)"");
14705 static PyObject
*_wrap_delete_ConfigBase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14706 PyObject
*resultobj
;
14707 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14708 PyObject
* obj0
= 0 ;
14709 char *kwnames
[] = {
14710 (char *) "self", NULL
14713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigBase",kwnames
,&obj0
)) goto fail
;
14714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14720 wxPyEndAllowThreads(__tstate
);
14721 if (PyErr_Occurred()) SWIG_fail
;
14723 Py_INCREF(Py_None
); resultobj
= Py_None
;
14730 static PyObject
*_wrap_ConfigBase_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14731 PyObject
*resultobj
;
14732 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14733 wxConfigBase
*result
;
14734 PyObject
* obj0
= 0 ;
14735 char *kwnames
[] = {
14736 (char *) "config", NULL
14739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) goto fail
;
14740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14744 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
14746 wxPyEndAllowThreads(__tstate
);
14747 if (PyErr_Occurred()) SWIG_fail
;
14749 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
14756 static PyObject
*_wrap_ConfigBase_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14757 PyObject
*resultobj
;
14758 bool arg1
= (bool) True
;
14759 wxConfigBase
*result
;
14760 PyObject
* obj0
= 0 ;
14761 char *kwnames
[] = {
14762 (char *) "createOnDemand", NULL
14765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) goto fail
;
14767 arg1
= (bool) SWIG_AsBool(obj0
);
14768 if (PyErr_Occurred()) SWIG_fail
;
14771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14772 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
14774 wxPyEndAllowThreads(__tstate
);
14775 if (PyErr_Occurred()) SWIG_fail
;
14777 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
14784 static PyObject
*_wrap_ConfigBase_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14785 PyObject
*resultobj
;
14786 wxConfigBase
*result
;
14787 char *kwnames
[] = {
14791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_Create",kwnames
)) goto fail
;
14793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14794 result
= (wxConfigBase
*)wxConfigBase::Create();
14796 wxPyEndAllowThreads(__tstate
);
14797 if (PyErr_Occurred()) SWIG_fail
;
14799 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
14806 static PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14807 PyObject
*resultobj
;
14808 char *kwnames
[] = {
14812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_DontCreateOnDemand",kwnames
)) goto fail
;
14814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14815 wxConfigBase::DontCreateOnDemand();
14817 wxPyEndAllowThreads(__tstate
);
14818 if (PyErr_Occurred()) SWIG_fail
;
14820 Py_INCREF(Py_None
); resultobj
= Py_None
;
14827 static PyObject
*_wrap_ConfigBase_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14828 PyObject
*resultobj
;
14829 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14830 wxString
*arg2
= 0 ;
14831 bool temp2
= False
;
14832 PyObject
* obj0
= 0 ;
14833 PyObject
* obj1
= 0 ;
14834 char *kwnames
[] = {
14835 (char *) "self",(char *) "path", NULL
14838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
14839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14842 arg2
= wxString_in_helper(obj1
);
14843 if (arg2
== NULL
) SWIG_fail
;
14847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14848 (arg1
)->SetPath((wxString
const &)*arg2
);
14850 wxPyEndAllowThreads(__tstate
);
14851 if (PyErr_Occurred()) SWIG_fail
;
14853 Py_INCREF(Py_None
); resultobj
= Py_None
;
14868 static PyObject
*_wrap_ConfigBase_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14869 PyObject
*resultobj
;
14870 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14872 PyObject
* obj0
= 0 ;
14873 char *kwnames
[] = {
14874 (char *) "self", NULL
14877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetPath",kwnames
,&obj0
)) goto fail
;
14878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14883 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
14884 result
= (wxString
*) &_result_ref
;
14887 wxPyEndAllowThreads(__tstate
);
14888 if (PyErr_Occurred()) SWIG_fail
;
14892 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14894 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14903 static PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14904 PyObject
*resultobj
;
14905 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14907 PyObject
* obj0
= 0 ;
14908 char *kwnames
[] = {
14909 (char *) "self", NULL
14912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstGroup",kwnames
,&obj0
)) goto fail
;
14913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14917 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
14919 wxPyEndAllowThreads(__tstate
);
14920 if (PyErr_Occurred()) SWIG_fail
;
14922 resultobj
= result
;
14929 static PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14930 PyObject
*resultobj
;
14931 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14934 PyObject
* obj0
= 0 ;
14935 PyObject
* obj1
= 0 ;
14936 char *kwnames
[] = {
14937 (char *) "self",(char *) "index", NULL
14940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
14941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14943 arg2
= (long) SWIG_AsLong(obj1
);
14944 if (PyErr_Occurred()) SWIG_fail
;
14946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14947 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
14949 wxPyEndAllowThreads(__tstate
);
14950 if (PyErr_Occurred()) SWIG_fail
;
14952 resultobj
= result
;
14959 static PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14960 PyObject
*resultobj
;
14961 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14963 PyObject
* obj0
= 0 ;
14964 char *kwnames
[] = {
14965 (char *) "self", NULL
14968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstEntry",kwnames
,&obj0
)) goto fail
;
14969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14973 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
14975 wxPyEndAllowThreads(__tstate
);
14976 if (PyErr_Occurred()) SWIG_fail
;
14978 resultobj
= result
;
14985 static PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14986 PyObject
*resultobj
;
14987 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14990 PyObject
* obj0
= 0 ;
14991 PyObject
* obj1
= 0 ;
14992 char *kwnames
[] = {
14993 (char *) "self",(char *) "index", NULL
14996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
14997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14999 arg2
= (long) SWIG_AsLong(obj1
);
15000 if (PyErr_Occurred()) SWIG_fail
;
15002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15003 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
15005 wxPyEndAllowThreads(__tstate
);
15006 if (PyErr_Occurred()) SWIG_fail
;
15008 resultobj
= result
;
15015 static PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15016 PyObject
*resultobj
;
15017 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15018 bool arg2
= (bool) False
;
15020 PyObject
* obj0
= 0 ;
15021 PyObject
* obj1
= 0 ;
15022 char *kwnames
[] = {
15023 (char *) "self",(char *) "recursive", NULL
15026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) goto fail
;
15027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15030 arg2
= (bool) SWIG_AsBool(obj1
);
15031 if (PyErr_Occurred()) SWIG_fail
;
15034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15035 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
15037 wxPyEndAllowThreads(__tstate
);
15038 if (PyErr_Occurred()) SWIG_fail
;
15040 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
15047 static PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15048 PyObject
*resultobj
;
15049 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15050 bool arg2
= (bool) False
;
15052 PyObject
* obj0
= 0 ;
15053 PyObject
* obj1
= 0 ;
15054 char *kwnames
[] = {
15055 (char *) "self",(char *) "recursive", NULL
15058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) goto fail
;
15059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15062 arg2
= (bool) SWIG_AsBool(obj1
);
15063 if (PyErr_Occurred()) SWIG_fail
;
15066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15067 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
15069 wxPyEndAllowThreads(__tstate
);
15070 if (PyErr_Occurred()) SWIG_fail
;
15072 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
15079 static PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15080 PyObject
*resultobj
;
15081 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15082 wxString
*arg2
= 0 ;
15084 bool temp2
= False
;
15085 PyObject
* obj0
= 0 ;
15086 PyObject
* obj1
= 0 ;
15087 char *kwnames
[] = {
15088 (char *) "self",(char *) "name", NULL
15091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
15092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15095 arg2
= wxString_in_helper(obj1
);
15096 if (arg2
== NULL
) SWIG_fail
;
15100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15101 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
15103 wxPyEndAllowThreads(__tstate
);
15104 if (PyErr_Occurred()) SWIG_fail
;
15107 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15123 static PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15124 PyObject
*resultobj
;
15125 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15126 wxString
*arg2
= 0 ;
15128 bool temp2
= False
;
15129 PyObject
* obj0
= 0 ;
15130 PyObject
* obj1
= 0 ;
15131 char *kwnames
[] = {
15132 (char *) "self",(char *) "name", NULL
15135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
15136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15139 arg2
= wxString_in_helper(obj1
);
15140 if (arg2
== NULL
) SWIG_fail
;
15144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15145 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
15147 wxPyEndAllowThreads(__tstate
);
15148 if (PyErr_Occurred()) SWIG_fail
;
15151 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15167 static PyObject
*_wrap_ConfigBase_Exists(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15168 PyObject
*resultobj
;
15169 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15170 wxString
*arg2
= 0 ;
15172 bool temp2
= False
;
15173 PyObject
* obj0
= 0 ;
15174 PyObject
* obj1
= 0 ;
15175 char *kwnames
[] = {
15176 (char *) "self",(char *) "name", NULL
15179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) goto fail
;
15180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15183 arg2
= wxString_in_helper(obj1
);
15184 if (arg2
== NULL
) SWIG_fail
;
15188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15189 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
15191 wxPyEndAllowThreads(__tstate
);
15192 if (PyErr_Occurred()) SWIG_fail
;
15195 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15211 static PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15212 PyObject
*resultobj
;
15213 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15214 wxString
*arg2
= 0 ;
15216 bool temp2
= False
;
15217 PyObject
* obj0
= 0 ;
15218 PyObject
* obj1
= 0 ;
15219 char *kwnames
[] = {
15220 (char *) "self",(char *) "name", NULL
15223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) goto fail
;
15224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15227 arg2
= wxString_in_helper(obj1
);
15228 if (arg2
== NULL
) SWIG_fail
;
15232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15233 result
= (int)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
15235 wxPyEndAllowThreads(__tstate
);
15236 if (PyErr_Occurred()) SWIG_fail
;
15238 resultobj
= SWIG_FromInt((int)result
);
15253 static PyObject
*_wrap_ConfigBase_Read(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15254 PyObject
*resultobj
;
15255 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15256 wxString
*arg2
= 0 ;
15257 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15258 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15260 bool temp2
= False
;
15261 bool temp3
= False
;
15262 PyObject
* obj0
= 0 ;
15263 PyObject
* obj1
= 0 ;
15264 PyObject
* obj2
= 0 ;
15265 char *kwnames
[] = {
15266 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15273 arg2
= wxString_in_helper(obj1
);
15274 if (arg2
== NULL
) SWIG_fail
;
15279 arg3
= wxString_in_helper(obj2
);
15280 if (arg3
== NULL
) SWIG_fail
;
15285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15286 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15288 wxPyEndAllowThreads(__tstate
);
15289 if (PyErr_Occurred()) SWIG_fail
;
15293 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15295 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15320 static PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15321 PyObject
*resultobj
;
15322 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15323 wxString
*arg2
= 0 ;
15324 long arg3
= (long) 0 ;
15326 bool temp2
= False
;
15327 PyObject
* obj0
= 0 ;
15328 PyObject
* obj1
= 0 ;
15329 PyObject
* obj2
= 0 ;
15330 char *kwnames
[] = {
15331 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15338 arg2
= wxString_in_helper(obj1
);
15339 if (arg2
== NULL
) SWIG_fail
;
15343 arg3
= (long) SWIG_AsLong(obj2
);
15344 if (PyErr_Occurred()) SWIG_fail
;
15347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15348 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
15350 wxPyEndAllowThreads(__tstate
);
15351 if (PyErr_Occurred()) SWIG_fail
;
15353 resultobj
= SWIG_FromLong((long)result
);
15368 static PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15369 PyObject
*resultobj
;
15370 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15371 wxString
*arg2
= 0 ;
15372 double arg3
= (double) 0.0 ;
15374 bool temp2
= False
;
15375 PyObject
* obj0
= 0 ;
15376 PyObject
* obj1
= 0 ;
15377 PyObject
* obj2
= 0 ;
15378 char *kwnames
[] = {
15379 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15386 arg2
= wxString_in_helper(obj1
);
15387 if (arg2
== NULL
) SWIG_fail
;
15391 arg3
= (double) SWIG_AsDouble(obj2
);
15392 if (PyErr_Occurred()) SWIG_fail
;
15395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15396 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
15398 wxPyEndAllowThreads(__tstate
);
15399 if (PyErr_Occurred()) SWIG_fail
;
15401 resultobj
= SWIG_FromDouble((double)result
);
15416 static PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15417 PyObject
*resultobj
;
15418 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15419 wxString
*arg2
= 0 ;
15420 bool arg3
= (bool) False
;
15422 bool temp2
= False
;
15423 PyObject
* obj0
= 0 ;
15424 PyObject
* obj1
= 0 ;
15425 PyObject
* obj2
= 0 ;
15426 char *kwnames
[] = {
15427 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15434 arg2
= wxString_in_helper(obj1
);
15435 if (arg2
== NULL
) SWIG_fail
;
15439 arg3
= (bool) SWIG_AsBool(obj2
);
15440 if (PyErr_Occurred()) SWIG_fail
;
15443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15444 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
15446 wxPyEndAllowThreads(__tstate
);
15447 if (PyErr_Occurred()) SWIG_fail
;
15450 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15466 static PyObject
*_wrap_ConfigBase_Write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15467 PyObject
*resultobj
;
15468 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15469 wxString
*arg2
= 0 ;
15470 wxString
*arg3
= 0 ;
15472 bool temp2
= False
;
15473 bool temp3
= False
;
15474 PyObject
* obj0
= 0 ;
15475 PyObject
* obj1
= 0 ;
15476 PyObject
* obj2
= 0 ;
15477 char *kwnames
[] = {
15478 (char *) "self",(char *) "key",(char *) "value", NULL
15481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15485 arg2
= wxString_in_helper(obj1
);
15486 if (arg2
== NULL
) SWIG_fail
;
15490 arg3
= wxString_in_helper(obj2
);
15491 if (arg3
== NULL
) SWIG_fail
;
15495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15496 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15498 wxPyEndAllowThreads(__tstate
);
15499 if (PyErr_Occurred()) SWIG_fail
;
15502 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15526 static PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15527 PyObject
*resultobj
;
15528 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15529 wxString
*arg2
= 0 ;
15532 bool temp2
= False
;
15533 PyObject
* obj0
= 0 ;
15534 PyObject
* obj1
= 0 ;
15535 PyObject
* obj2
= 0 ;
15536 char *kwnames
[] = {
15537 (char *) "self",(char *) "key",(char *) "value", NULL
15540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15544 arg2
= wxString_in_helper(obj1
);
15545 if (arg2
== NULL
) SWIG_fail
;
15548 arg3
= (long) SWIG_AsLong(obj2
);
15549 if (PyErr_Occurred()) SWIG_fail
;
15551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15552 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15554 wxPyEndAllowThreads(__tstate
);
15555 if (PyErr_Occurred()) SWIG_fail
;
15558 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15574 static PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15575 PyObject
*resultobj
;
15576 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15577 wxString
*arg2
= 0 ;
15580 bool temp2
= False
;
15581 PyObject
* obj0
= 0 ;
15582 PyObject
* obj1
= 0 ;
15583 PyObject
* obj2
= 0 ;
15584 char *kwnames
[] = {
15585 (char *) "self",(char *) "key",(char *) "value", NULL
15588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15592 arg2
= wxString_in_helper(obj1
);
15593 if (arg2
== NULL
) SWIG_fail
;
15596 arg3
= (double) SWIG_AsDouble(obj2
);
15597 if (PyErr_Occurred()) SWIG_fail
;
15599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15600 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15602 wxPyEndAllowThreads(__tstate
);
15603 if (PyErr_Occurred()) SWIG_fail
;
15606 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15622 static PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15623 PyObject
*resultobj
;
15624 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15625 wxString
*arg2
= 0 ;
15628 bool temp2
= False
;
15629 PyObject
* obj0
= 0 ;
15630 PyObject
* obj1
= 0 ;
15631 PyObject
* obj2
= 0 ;
15632 char *kwnames
[] = {
15633 (char *) "self",(char *) "key",(char *) "value", NULL
15636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15640 arg2
= wxString_in_helper(obj1
);
15641 if (arg2
== NULL
) SWIG_fail
;
15644 arg3
= (bool) SWIG_AsBool(obj2
);
15645 if (PyErr_Occurred()) SWIG_fail
;
15647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15648 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15650 wxPyEndAllowThreads(__tstate
);
15651 if (PyErr_Occurred()) SWIG_fail
;
15654 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15670 static PyObject
*_wrap_ConfigBase_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15671 PyObject
*resultobj
;
15672 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15673 bool arg2
= (bool) False
;
15675 PyObject
* obj0
= 0 ;
15676 PyObject
* obj1
= 0 ;
15677 char *kwnames
[] = {
15678 (char *) "self",(char *) "currentOnly", NULL
15681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) goto fail
;
15682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15685 arg2
= (bool) SWIG_AsBool(obj1
);
15686 if (PyErr_Occurred()) SWIG_fail
;
15689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15690 result
= (bool)(arg1
)->Flush(arg2
);
15692 wxPyEndAllowThreads(__tstate
);
15693 if (PyErr_Occurred()) SWIG_fail
;
15696 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15704 static PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15705 PyObject
*resultobj
;
15706 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15707 wxString
*arg2
= 0 ;
15708 wxString
*arg3
= 0 ;
15710 bool temp2
= False
;
15711 bool temp3
= False
;
15712 PyObject
* obj0
= 0 ;
15713 PyObject
* obj1
= 0 ;
15714 PyObject
* obj2
= 0 ;
15715 char *kwnames
[] = {
15716 (char *) "self",(char *) "oldName",(char *) "newName", NULL
15719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15723 arg2
= wxString_in_helper(obj1
);
15724 if (arg2
== NULL
) SWIG_fail
;
15728 arg3
= wxString_in_helper(obj2
);
15729 if (arg3
== NULL
) SWIG_fail
;
15733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15734 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15736 wxPyEndAllowThreads(__tstate
);
15737 if (PyErr_Occurred()) SWIG_fail
;
15740 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15764 static PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15765 PyObject
*resultobj
;
15766 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15767 wxString
*arg2
= 0 ;
15768 wxString
*arg3
= 0 ;
15770 bool temp2
= False
;
15771 bool temp3
= False
;
15772 PyObject
* obj0
= 0 ;
15773 PyObject
* obj1
= 0 ;
15774 PyObject
* obj2
= 0 ;
15775 char *kwnames
[] = {
15776 (char *) "self",(char *) "oldName",(char *) "newName", NULL
15779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15783 arg2
= wxString_in_helper(obj1
);
15784 if (arg2
== NULL
) SWIG_fail
;
15788 arg3
= wxString_in_helper(obj2
);
15789 if (arg3
== NULL
) SWIG_fail
;
15793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15794 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15796 wxPyEndAllowThreads(__tstate
);
15797 if (PyErr_Occurred()) SWIG_fail
;
15800 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15824 static PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15825 PyObject
*resultobj
;
15826 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15827 wxString
*arg2
= 0 ;
15828 bool arg3
= (bool) True
;
15830 bool temp2
= False
;
15831 PyObject
* obj0
= 0 ;
15832 PyObject
* obj1
= 0 ;
15833 PyObject
* obj2
= 0 ;
15834 char *kwnames
[] = {
15835 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
15838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15842 arg2
= wxString_in_helper(obj1
);
15843 if (arg2
== NULL
) SWIG_fail
;
15847 arg3
= (bool) SWIG_AsBool(obj2
);
15848 if (PyErr_Occurred()) SWIG_fail
;
15851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15852 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
15854 wxPyEndAllowThreads(__tstate
);
15855 if (PyErr_Occurred()) SWIG_fail
;
15858 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15874 static PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15875 PyObject
*resultobj
;
15876 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15877 wxString
*arg2
= 0 ;
15879 bool temp2
= False
;
15880 PyObject
* obj0
= 0 ;
15881 PyObject
* obj1
= 0 ;
15882 char *kwnames
[] = {
15883 (char *) "self",(char *) "key", NULL
15886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
15887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15890 arg2
= wxString_in_helper(obj1
);
15891 if (arg2
== NULL
) SWIG_fail
;
15895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15896 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
15898 wxPyEndAllowThreads(__tstate
);
15899 if (PyErr_Occurred()) SWIG_fail
;
15902 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15918 static PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15919 PyObject
*resultobj
;
15920 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15922 PyObject
* obj0
= 0 ;
15923 char *kwnames
[] = {
15924 (char *) "self", NULL
15927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_DeleteAll",kwnames
,&obj0
)) goto fail
;
15928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15932 result
= (bool)(arg1
)->DeleteAll();
15934 wxPyEndAllowThreads(__tstate
);
15935 if (PyErr_Occurred()) SWIG_fail
;
15938 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15946 static PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15947 PyObject
*resultobj
;
15948 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15949 bool arg2
= (bool) True
;
15950 PyObject
* obj0
= 0 ;
15951 PyObject
* obj1
= 0 ;
15952 char *kwnames
[] = {
15953 (char *) "self",(char *) "doIt", NULL
15956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
15957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15960 arg2
= (bool) SWIG_AsBool(obj1
);
15961 if (PyErr_Occurred()) SWIG_fail
;
15964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15965 (arg1
)->SetExpandEnvVars(arg2
);
15967 wxPyEndAllowThreads(__tstate
);
15968 if (PyErr_Occurred()) SWIG_fail
;
15970 Py_INCREF(Py_None
); resultobj
= Py_None
;
15977 static PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15978 PyObject
*resultobj
;
15979 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15981 PyObject
* obj0
= 0 ;
15982 char *kwnames
[] = {
15983 (char *) "self", NULL
15986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames
,&obj0
)) goto fail
;
15987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15991 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
15993 wxPyEndAllowThreads(__tstate
);
15994 if (PyErr_Occurred()) SWIG_fail
;
15997 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16005 static PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16006 PyObject
*resultobj
;
16007 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16008 bool arg2
= (bool) True
;
16009 PyObject
* obj0
= 0 ;
16010 PyObject
* obj1
= 0 ;
16011 char *kwnames
[] = {
16012 (char *) "self",(char *) "doIt", NULL
16015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
16016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16019 arg2
= (bool) SWIG_AsBool(obj1
);
16020 if (PyErr_Occurred()) SWIG_fail
;
16023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16024 (arg1
)->SetRecordDefaults(arg2
);
16026 wxPyEndAllowThreads(__tstate
);
16027 if (PyErr_Occurred()) SWIG_fail
;
16029 Py_INCREF(Py_None
); resultobj
= Py_None
;
16036 static PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16037 PyObject
*resultobj
;
16038 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16040 PyObject
* obj0
= 0 ;
16041 char *kwnames
[] = {
16042 (char *) "self", NULL
16045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames
,&obj0
)) goto fail
;
16046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16050 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
16052 wxPyEndAllowThreads(__tstate
);
16053 if (PyErr_Occurred()) SWIG_fail
;
16056 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16064 static PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16065 PyObject
*resultobj
;
16066 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16067 wxString
*arg2
= 0 ;
16069 bool temp2
= False
;
16070 PyObject
* obj0
= 0 ;
16071 PyObject
* obj1
= 0 ;
16072 char *kwnames
[] = {
16073 (char *) "self",(char *) "str", NULL
16076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
16077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16080 arg2
= wxString_in_helper(obj1
);
16081 if (arg2
== NULL
) SWIG_fail
;
16085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16086 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
16088 wxPyEndAllowThreads(__tstate
);
16089 if (PyErr_Occurred()) SWIG_fail
;
16093 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16095 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16112 static PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16113 PyObject
*resultobj
;
16114 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16116 PyObject
* obj0
= 0 ;
16117 char *kwnames
[] = {
16118 (char *) "self", NULL
16121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetAppName",kwnames
,&obj0
)) goto fail
;
16122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16126 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
16128 wxPyEndAllowThreads(__tstate
);
16129 if (PyErr_Occurred()) SWIG_fail
;
16133 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16135 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16144 static PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16145 PyObject
*resultobj
;
16146 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16148 PyObject
* obj0
= 0 ;
16149 char *kwnames
[] = {
16150 (char *) "self", NULL
16153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetVendorName",kwnames
,&obj0
)) goto fail
;
16154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16158 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
16160 wxPyEndAllowThreads(__tstate
);
16161 if (PyErr_Occurred()) SWIG_fail
;
16165 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16167 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16176 static PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16177 PyObject
*resultobj
;
16178 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16179 wxString
*arg2
= 0 ;
16180 bool temp2
= False
;
16181 PyObject
* obj0
= 0 ;
16182 PyObject
* obj1
= 0 ;
16183 char *kwnames
[] = {
16184 (char *) "self",(char *) "appName", NULL
16187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
16188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16191 arg2
= wxString_in_helper(obj1
);
16192 if (arg2
== NULL
) SWIG_fail
;
16196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16197 (arg1
)->SetAppName((wxString
const &)*arg2
);
16199 wxPyEndAllowThreads(__tstate
);
16200 if (PyErr_Occurred()) SWIG_fail
;
16202 Py_INCREF(Py_None
); resultobj
= Py_None
;
16217 static PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16218 PyObject
*resultobj
;
16219 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16220 wxString
*arg2
= 0 ;
16221 bool temp2
= False
;
16222 PyObject
* obj0
= 0 ;
16223 PyObject
* obj1
= 0 ;
16224 char *kwnames
[] = {
16225 (char *) "self",(char *) "vendorName", NULL
16228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
16229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16232 arg2
= wxString_in_helper(obj1
);
16233 if (arg2
== NULL
) SWIG_fail
;
16237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16238 (arg1
)->SetVendorName((wxString
const &)*arg2
);
16240 wxPyEndAllowThreads(__tstate
);
16241 if (PyErr_Occurred()) SWIG_fail
;
16243 Py_INCREF(Py_None
); resultobj
= Py_None
;
16258 static PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16259 PyObject
*resultobj
;
16260 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16262 PyObject
* obj0
= 0 ;
16263 PyObject
* obj1
= 0 ;
16264 char *kwnames
[] = {
16265 (char *) "self",(char *) "style", NULL
16268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
16269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16271 arg2
= (long) SWIG_AsLong(obj1
);
16272 if (PyErr_Occurred()) SWIG_fail
;
16274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16275 (arg1
)->SetStyle(arg2
);
16277 wxPyEndAllowThreads(__tstate
);
16278 if (PyErr_Occurred()) SWIG_fail
;
16280 Py_INCREF(Py_None
); resultobj
= Py_None
;
16287 static PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16288 PyObject
*resultobj
;
16289 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16291 PyObject
* obj0
= 0 ;
16292 char *kwnames
[] = {
16293 (char *) "self", NULL
16296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetStyle",kwnames
,&obj0
)) goto fail
;
16297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16301 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
16303 wxPyEndAllowThreads(__tstate
);
16304 if (PyErr_Occurred()) SWIG_fail
;
16306 resultobj
= SWIG_FromLong((long)result
);
16313 static PyObject
* ConfigBase_swigregister(PyObject
*self
, PyObject
*args
) {
16315 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16316 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase
, obj
);
16318 return Py_BuildValue((char *)"");
16320 static PyObject
*_wrap_new_Config(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16321 PyObject
*resultobj
;
16322 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16323 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16324 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16325 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16326 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16327 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16328 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16329 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16330 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
16332 bool temp1
= False
;
16333 bool temp2
= False
;
16334 bool temp3
= False
;
16335 bool temp4
= False
;
16336 PyObject
* obj0
= 0 ;
16337 PyObject
* obj1
= 0 ;
16338 PyObject
* obj2
= 0 ;
16339 PyObject
* obj3
= 0 ;
16340 PyObject
* obj4
= 0 ;
16341 char *kwnames
[] = {
16342 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16348 arg1
= wxString_in_helper(obj0
);
16349 if (arg1
== NULL
) SWIG_fail
;
16355 arg2
= wxString_in_helper(obj1
);
16356 if (arg2
== NULL
) SWIG_fail
;
16362 arg3
= wxString_in_helper(obj2
);
16363 if (arg3
== NULL
) SWIG_fail
;
16369 arg4
= wxString_in_helper(obj3
);
16370 if (arg4
== NULL
) SWIG_fail
;
16375 arg5
= (long) SWIG_AsLong(obj4
);
16376 if (PyErr_Occurred()) SWIG_fail
;
16379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16380 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
16382 wxPyEndAllowThreads(__tstate
);
16383 if (PyErr_Occurred()) SWIG_fail
;
16385 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfig
, 1);
16424 static PyObject
*_wrap_delete_Config(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16425 PyObject
*resultobj
;
16426 wxConfig
*arg1
= (wxConfig
*) 0 ;
16427 PyObject
* obj0
= 0 ;
16428 char *kwnames
[] = {
16429 (char *) "self", NULL
16432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Config",kwnames
,&obj0
)) goto fail
;
16433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfig
,
16434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16439 wxPyEndAllowThreads(__tstate
);
16440 if (PyErr_Occurred()) SWIG_fail
;
16442 Py_INCREF(Py_None
); resultobj
= Py_None
;
16449 static PyObject
* Config_swigregister(PyObject
*self
, PyObject
*args
) {
16451 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16452 SWIG_TypeClientData(SWIGTYPE_p_wxConfig
, obj
);
16454 return Py_BuildValue((char *)"");
16456 static PyObject
*_wrap_new_FileConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16457 PyObject
*resultobj
;
16458 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16459 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16460 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16461 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16462 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16463 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16464 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16465 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16466 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
16467 wxFileConfig
*result
;
16468 bool temp1
= False
;
16469 bool temp2
= False
;
16470 bool temp3
= False
;
16471 bool temp4
= False
;
16472 PyObject
* obj0
= 0 ;
16473 PyObject
* obj1
= 0 ;
16474 PyObject
* obj2
= 0 ;
16475 PyObject
* obj3
= 0 ;
16476 PyObject
* obj4
= 0 ;
16477 char *kwnames
[] = {
16478 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16484 arg1
= wxString_in_helper(obj0
);
16485 if (arg1
== NULL
) SWIG_fail
;
16491 arg2
= wxString_in_helper(obj1
);
16492 if (arg2
== NULL
) SWIG_fail
;
16498 arg3
= wxString_in_helper(obj2
);
16499 if (arg3
== NULL
) SWIG_fail
;
16505 arg4
= wxString_in_helper(obj3
);
16506 if (arg4
== NULL
) SWIG_fail
;
16511 arg5
= (long) SWIG_AsLong(obj4
);
16512 if (PyErr_Occurred()) SWIG_fail
;
16515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16516 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
16518 wxPyEndAllowThreads(__tstate
);
16519 if (PyErr_Occurred()) SWIG_fail
;
16521 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileConfig
, 1);
16560 static PyObject
*_wrap_delete_FileConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16561 PyObject
*resultobj
;
16562 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
16563 PyObject
* obj0
= 0 ;
16564 char *kwnames
[] = {
16565 (char *) "self", NULL
16568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileConfig",kwnames
,&obj0
)) goto fail
;
16569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileConfig
,
16570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16575 wxPyEndAllowThreads(__tstate
);
16576 if (PyErr_Occurred()) SWIG_fail
;
16578 Py_INCREF(Py_None
); resultobj
= Py_None
;
16585 static PyObject
* FileConfig_swigregister(PyObject
*self
, PyObject
*args
) {
16587 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16588 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig
, obj
);
16590 return Py_BuildValue((char *)"");
16592 static PyObject
*_wrap_new_ConfigPathChanger(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16593 PyObject
*resultobj
;
16594 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16595 wxString
*arg2
= 0 ;
16596 wxConfigPathChanger
*result
;
16597 bool temp2
= False
;
16598 PyObject
* obj0
= 0 ;
16599 PyObject
* obj1
= 0 ;
16600 char *kwnames
[] = {
16601 (char *) "config",(char *) "entry", NULL
16604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) goto fail
;
16605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16608 arg2
= wxString_in_helper(obj1
);
16609 if (arg2
== NULL
) SWIG_fail
;
16613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16614 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
16616 wxPyEndAllowThreads(__tstate
);
16617 if (PyErr_Occurred()) SWIG_fail
;
16619 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigPathChanger
, 1);
16634 static PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16635 PyObject
*resultobj
;
16636 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
16637 PyObject
* obj0
= 0 ;
16638 char *kwnames
[] = {
16639 (char *) "self", NULL
16642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigPathChanger",kwnames
,&obj0
)) goto fail
;
16643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigPathChanger
,
16644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16649 wxPyEndAllowThreads(__tstate
);
16650 if (PyErr_Occurred()) SWIG_fail
;
16652 Py_INCREF(Py_None
); resultobj
= Py_None
;
16659 static PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16660 PyObject
*resultobj
;
16661 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
16663 PyObject
* obj0
= 0 ;
16664 char *kwnames
[] = {
16665 (char *) "self", NULL
16668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigPathChanger_Name",kwnames
,&obj0
)) goto fail
;
16669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigPathChanger
,
16670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16674 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
16675 result
= (wxString
*) &_result_ref
;
16678 wxPyEndAllowThreads(__tstate
);
16679 if (PyErr_Occurred()) SWIG_fail
;
16683 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16685 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16694 static PyObject
* ConfigPathChanger_swigregister(PyObject
*self
, PyObject
*args
) {
16696 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16697 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger
, obj
);
16699 return Py_BuildValue((char *)"");
16701 static PyObject
*_wrap_ExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16702 PyObject
*resultobj
;
16703 wxString
*arg1
= 0 ;
16705 bool temp1
= False
;
16706 PyObject
* obj0
= 0 ;
16707 char *kwnames
[] = {
16708 (char *) "sz", NULL
16711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) goto fail
;
16713 arg1
= wxString_in_helper(obj0
);
16714 if (arg1
== NULL
) SWIG_fail
;
16718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16719 result
= wxExpandEnvVars((wxString
const &)*arg1
);
16721 wxPyEndAllowThreads(__tstate
);
16722 if (PyErr_Occurred()) SWIG_fail
;
16726 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16728 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16745 static int _wrap_DateFormatStr_set(PyObject
*_val
) {
16746 PyErr_SetString(PyExc_TypeError
,"Variable DateFormatStr is read-only.");
16751 static PyObject
*_wrap_DateFormatStr_get() {
16756 pyobj
= PyUnicode_FromWideChar((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
16758 pyobj
= PyString_FromStringAndSize((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
16765 static int _wrap_TimeSpanFormatStr_set(PyObject
*_val
) {
16766 PyErr_SetString(PyExc_TypeError
,"Variable TimeSpanFormatStr is read-only.");
16771 static PyObject
*_wrap_TimeSpanFormatStr_get() {
16776 pyobj
= PyUnicode_FromWideChar((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
16778 pyobj
= PyString_FromStringAndSize((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
16785 static PyObject
*_wrap_DateTime_SetCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16786 PyObject
*resultobj
;
16788 PyObject
* obj0
= 0 ;
16789 char *kwnames
[] = {
16790 (char *) "country", NULL
16793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) goto fail
;
16794 arg1
= (wxDateTime::Country
) SWIG_AsInt(obj0
);
16795 if (PyErr_Occurred()) SWIG_fail
;
16797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16798 wxDateTime::SetCountry((wxDateTime::Country
)arg1
);
16800 wxPyEndAllowThreads(__tstate
);
16801 if (PyErr_Occurred()) SWIG_fail
;
16803 Py_INCREF(Py_None
); resultobj
= Py_None
;
16810 static PyObject
*_wrap_DateTime_GetCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16811 PyObject
*resultobj
;
16813 char *kwnames
[] = {
16817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetCountry",kwnames
)) goto fail
;
16819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16820 result
= (int)wxDateTime::GetCountry();
16822 wxPyEndAllowThreads(__tstate
);
16823 if (PyErr_Occurred()) SWIG_fail
;
16825 resultobj
= SWIG_FromInt((int)result
);
16832 static PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16833 PyObject
*resultobj
;
16834 int arg1
= (int) wxDateTime::Country_Default
;
16836 PyObject
* obj0
= 0 ;
16837 char *kwnames
[] = {
16838 (char *) "country", NULL
16841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) goto fail
;
16843 arg1
= (wxDateTime::Country
) SWIG_AsInt(obj0
);
16844 if (PyErr_Occurred()) SWIG_fail
;
16847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16848 result
= (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country
)arg1
);
16850 wxPyEndAllowThreads(__tstate
);
16851 if (PyErr_Occurred()) SWIG_fail
;
16854 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16862 static PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16863 PyObject
*resultobj
;
16864 int arg1
= (int) wxDateTime::Gregorian
;
16866 PyObject
* obj0
= 0 ;
16867 char *kwnames
[] = {
16868 (char *) "cal", NULL
16871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) goto fail
;
16873 arg1
= (wxDateTime::Calendar
) SWIG_AsInt(obj0
);
16874 if (PyErr_Occurred()) SWIG_fail
;
16877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16878 result
= (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar
)arg1
);
16880 wxPyEndAllowThreads(__tstate
);
16881 if (PyErr_Occurred()) SWIG_fail
;
16883 resultobj
= SWIG_FromInt((int)result
);
16890 static PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16891 PyObject
*resultobj
;
16894 PyObject
* obj0
= 0 ;
16895 char *kwnames
[] = {
16896 (char *) "year", NULL
16899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) goto fail
;
16900 arg1
= (int) SWIG_AsInt(obj0
);
16901 if (PyErr_Occurred()) SWIG_fail
;
16903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16904 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
16906 wxPyEndAllowThreads(__tstate
);
16907 if (PyErr_Occurred()) SWIG_fail
;
16909 resultobj
= SWIG_FromInt((int)result
);
16916 static PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16917 PyObject
*resultobj
;
16918 int arg1
= (int) wxDateTime::Gregorian
;
16920 PyObject
* obj0
= 0 ;
16921 char *kwnames
[] = {
16922 (char *) "cal", NULL
16925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",kwnames
,&obj0
)) goto fail
;
16927 arg1
= (wxDateTime::Calendar
) SWIG_AsInt(obj0
);
16928 if (PyErr_Occurred()) SWIG_fail
;
16931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16932 result
= (int)wxDateTime::GetCurrentMonth((wxDateTime::Calendar
)arg1
);
16934 wxPyEndAllowThreads(__tstate
);
16935 if (PyErr_Occurred()) SWIG_fail
;
16937 resultobj
= SWIG_FromInt((int)result
);
16944 static PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16945 PyObject
*resultobj
;
16946 int arg1
= (int) wxDateTime::Inv_Year
;
16947 int arg2
= (int) wxDateTime::Gregorian
;
16949 PyObject
* obj0
= 0 ;
16950 PyObject
* obj1
= 0 ;
16951 char *kwnames
[] = {
16952 (char *) "year",(char *) "cal", NULL
16955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) goto fail
;
16957 arg1
= (int) SWIG_AsInt(obj0
);
16958 if (PyErr_Occurred()) SWIG_fail
;
16961 arg2
= (wxDateTime::Calendar
) SWIG_AsInt(obj1
);
16962 if (PyErr_Occurred()) SWIG_fail
;
16965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16966 result
= (bool)wxDateTime::IsLeapYear(arg1
,(wxDateTime::Calendar
)arg2
);
16968 wxPyEndAllowThreads(__tstate
);
16969 if (PyErr_Occurred()) SWIG_fail
;
16972 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16980 static PyObject
*_wrap_DateTime_GetCentury(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16981 PyObject
*resultobj
;
16982 int arg1
= (int) wxDateTime::Inv_Year
;
16984 PyObject
* obj0
= 0 ;
16985 char *kwnames
[] = {
16986 (char *) "year", NULL
16989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) goto fail
;
16991 arg1
= (int) SWIG_AsInt(obj0
);
16992 if (PyErr_Occurred()) SWIG_fail
;
16995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16996 result
= (int)wxDateTime::GetCentury(arg1
);
16998 wxPyEndAllowThreads(__tstate
);
16999 if (PyErr_Occurred()) SWIG_fail
;
17001 resultobj
= SWIG_FromInt((int)result
);
17008 static PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17009 PyObject
*resultobj
;
17011 int arg2
= (int) wxDateTime::Gregorian
;
17013 PyObject
* obj0
= 0 ;
17014 PyObject
* obj1
= 0 ;
17015 char *kwnames
[] = {
17016 (char *) "year",(char *) "cal", NULL
17019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) goto fail
;
17020 arg1
= (int) SWIG_AsInt(obj0
);
17021 if (PyErr_Occurred()) SWIG_fail
;
17023 arg2
= (wxDateTime::Calendar
) SWIG_AsInt(obj1
);
17024 if (PyErr_Occurred()) SWIG_fail
;
17027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17028 result
= (int)wxDateTime::GetNumberOfDays(arg1
,(wxDateTime::Calendar
)arg2
);
17030 wxPyEndAllowThreads(__tstate
);
17031 if (PyErr_Occurred()) SWIG_fail
;
17033 resultobj
= SWIG_FromInt((int)result
);
17040 static PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17041 PyObject
*resultobj
;
17043 int arg2
= (int) wxDateTime::Inv_Year
;
17044 int arg3
= (int) wxDateTime::Gregorian
;
17046 PyObject
* obj0
= 0 ;
17047 PyObject
* obj1
= 0 ;
17048 PyObject
* obj2
= 0 ;
17049 char *kwnames
[] = {
17050 (char *) "month",(char *) "year",(char *) "cal", NULL
17053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17054 arg1
= (wxDateTime::Month
) SWIG_AsInt(obj0
);
17055 if (PyErr_Occurred()) SWIG_fail
;
17057 arg2
= (int) SWIG_AsInt(obj1
);
17058 if (PyErr_Occurred()) SWIG_fail
;
17061 arg3
= (wxDateTime::Calendar
) SWIG_AsInt(obj2
);
17062 if (PyErr_Occurred()) SWIG_fail
;
17065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17066 result
= (int)wxDateTime::GetNumberOfDays((wxDateTime::Month
)arg1
,arg2
,(wxDateTime::Calendar
)arg3
);
17068 wxPyEndAllowThreads(__tstate
);
17069 if (PyErr_Occurred()) SWIG_fail
;
17071 resultobj
= SWIG_FromInt((int)result
);
17078 static PyObject
*_wrap_DateTime_GetMonthName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17079 PyObject
*resultobj
;
17081 int arg2
= (int) wxDateTime::Name_Full
;
17083 PyObject
* obj0
= 0 ;
17084 PyObject
* obj1
= 0 ;
17085 char *kwnames
[] = {
17086 (char *) "month",(char *) "flags", NULL
17089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) goto fail
;
17090 arg1
= (wxDateTime::Month
) SWIG_AsInt(obj0
);
17091 if (PyErr_Occurred()) SWIG_fail
;
17093 arg2
= (wxDateTime::NameFlags
) SWIG_AsInt(obj1
);
17094 if (PyErr_Occurred()) SWIG_fail
;
17097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17098 result
= wxDateTime::GetMonthName((wxDateTime::Month
)arg1
,(wxDateTime::NameFlags
)arg2
);
17100 wxPyEndAllowThreads(__tstate
);
17101 if (PyErr_Occurred()) SWIG_fail
;
17105 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17107 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17116 static PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17117 PyObject
*resultobj
;
17119 int arg2
= (int) wxDateTime::Name_Full
;
17121 PyObject
* obj0
= 0 ;
17122 PyObject
* obj1
= 0 ;
17123 char *kwnames
[] = {
17124 (char *) "weekday",(char *) "flags", NULL
17127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) goto fail
;
17128 arg1
= (wxDateTime::WeekDay
) SWIG_AsInt(obj0
);
17129 if (PyErr_Occurred()) SWIG_fail
;
17131 arg2
= (wxDateTime::NameFlags
) SWIG_AsInt(obj1
);
17132 if (PyErr_Occurred()) SWIG_fail
;
17135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17136 result
= wxDateTime::GetWeekDayName((wxDateTime::WeekDay
)arg1
,(wxDateTime::NameFlags
)arg2
);
17138 wxPyEndAllowThreads(__tstate
);
17139 if (PyErr_Occurred()) SWIG_fail
;
17143 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17145 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17154 static PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17155 PyObject
*resultobj
;
17156 wxString
*arg1
= (wxString
*) 0 ;
17157 wxString
*arg2
= (wxString
*) 0 ;
17158 bool temp1
= False
;
17159 bool temp2
= False
;
17160 PyObject
* obj0
= 0 ;
17161 PyObject
* obj1
= 0 ;
17162 char *kwnames
[] = {
17163 (char *) "OUTPUT",(char *) "OUTPUT", NULL
17166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetAmPmStrings",kwnames
,&obj0
,&obj1
)) goto fail
;
17168 arg1
= wxString_in_helper(obj0
);
17169 if (arg1
== NULL
) SWIG_fail
;
17173 arg2
= wxString_in_helper(obj1
);
17174 if (arg2
== NULL
) SWIG_fail
;
17178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17179 wxDateTime::GetAmPmStrings(arg1
,arg2
);
17181 wxPyEndAllowThreads(__tstate
);
17182 if (PyErr_Occurred()) SWIG_fail
;
17184 Py_INCREF(Py_None
); resultobj
= Py_None
;
17207 static PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17208 PyObject
*resultobj
;
17209 int arg1
= (int) wxDateTime::Inv_Year
;
17210 int arg2
= (int) wxDateTime::Country_Default
;
17212 PyObject
* obj0
= 0 ;
17213 PyObject
* obj1
= 0 ;
17214 char *kwnames
[] = {
17215 (char *) "year",(char *) "country", NULL
17218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) goto fail
;
17220 arg1
= (int) SWIG_AsInt(obj0
);
17221 if (PyErr_Occurred()) SWIG_fail
;
17224 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
17225 if (PyErr_Occurred()) SWIG_fail
;
17228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17229 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,(wxDateTime::Country
)arg2
);
17231 wxPyEndAllowThreads(__tstate
);
17232 if (PyErr_Occurred()) SWIG_fail
;
17235 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17243 static PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17244 PyObject
*resultobj
;
17245 int arg1
= (int) wxDateTime::Inv_Year
;
17246 int arg2
= (int) wxDateTime::Country_Default
;
17248 PyObject
* obj0
= 0 ;
17249 PyObject
* obj1
= 0 ;
17250 char *kwnames
[] = {
17251 (char *) "year",(char *) "country", NULL
17254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetBeginDST",kwnames
,&obj0
,&obj1
)) goto fail
;
17256 arg1
= (int) SWIG_AsInt(obj0
);
17257 if (PyErr_Occurred()) SWIG_fail
;
17260 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
17261 if (PyErr_Occurred()) SWIG_fail
;
17264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17265 result
= wxDateTime::GetBeginDST(arg1
,(wxDateTime::Country
)arg2
);
17267 wxPyEndAllowThreads(__tstate
);
17268 if (PyErr_Occurred()) SWIG_fail
;
17271 wxDateTime
* resultptr
;
17272 resultptr
= new wxDateTime((wxDateTime
&) result
);
17273 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17281 static PyObject
*_wrap_DateTime_GetEndDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17282 PyObject
*resultobj
;
17283 int arg1
= (int) wxDateTime::Inv_Year
;
17284 int arg2
= (int) wxDateTime::Country_Default
;
17286 PyObject
* obj0
= 0 ;
17287 PyObject
* obj1
= 0 ;
17288 char *kwnames
[] = {
17289 (char *) "year",(char *) "country", NULL
17292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) goto fail
;
17294 arg1
= (int) SWIG_AsInt(obj0
);
17295 if (PyErr_Occurred()) SWIG_fail
;
17298 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
17299 if (PyErr_Occurred()) SWIG_fail
;
17302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17303 result
= wxDateTime::GetEndDST(arg1
,(wxDateTime::Country
)arg2
);
17305 wxPyEndAllowThreads(__tstate
);
17306 if (PyErr_Occurred()) SWIG_fail
;
17309 wxDateTime
* resultptr
;
17310 resultptr
= new wxDateTime((wxDateTime
&) result
);
17311 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17319 static PyObject
*_wrap_DateTime_Now(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17320 PyObject
*resultobj
;
17322 char *kwnames
[] = {
17326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Now",kwnames
)) goto fail
;
17328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17329 result
= wxDateTime::Now();
17331 wxPyEndAllowThreads(__tstate
);
17332 if (PyErr_Occurred()) SWIG_fail
;
17335 wxDateTime
* resultptr
;
17336 resultptr
= new wxDateTime((wxDateTime
&) result
);
17337 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17345 static PyObject
*_wrap_DateTime_UNow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17346 PyObject
*resultobj
;
17348 char *kwnames
[] = {
17352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_UNow",kwnames
)) goto fail
;
17354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17355 result
= wxDateTime::UNow();
17357 wxPyEndAllowThreads(__tstate
);
17358 if (PyErr_Occurred()) SWIG_fail
;
17361 wxDateTime
* resultptr
;
17362 resultptr
= new wxDateTime((wxDateTime
&) result
);
17363 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17371 static PyObject
*_wrap_DateTime_Today(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17372 PyObject
*resultobj
;
17374 char *kwnames
[] = {
17378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Today",kwnames
)) goto fail
;
17380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17381 result
= wxDateTime::Today();
17383 wxPyEndAllowThreads(__tstate
);
17384 if (PyErr_Occurred()) SWIG_fail
;
17387 wxDateTime
* resultptr
;
17388 resultptr
= new wxDateTime((wxDateTime
&) result
);
17389 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17397 static PyObject
*_wrap_new_DateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17398 PyObject
*resultobj
;
17399 wxDateTime
*result
;
17400 char *kwnames
[] = {
17404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DateTime",kwnames
)) goto fail
;
17406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17407 result
= (wxDateTime
*)new wxDateTime();
17409 wxPyEndAllowThreads(__tstate
);
17410 if (PyErr_Occurred()) SWIG_fail
;
17412 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17419 static PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17420 PyObject
*resultobj
;
17422 wxDateTime
*result
;
17423 PyObject
* obj0
= 0 ;
17424 char *kwnames
[] = {
17425 (char *) "timet", NULL
17428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) goto fail
;
17429 arg1
= (time_t) SWIG_AsUnsignedInt(obj0
);
17430 if (PyErr_Occurred()) SWIG_fail
;
17432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17433 result
= (wxDateTime
*)new wxDateTime(arg1
);
17435 wxPyEndAllowThreads(__tstate
);
17436 if (PyErr_Occurred()) SWIG_fail
;
17438 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17445 static PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17446 PyObject
*resultobj
;
17448 wxDateTime
*result
;
17449 PyObject
* obj0
= 0 ;
17450 char *kwnames
[] = {
17451 (char *) "jdn", NULL
17454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) goto fail
;
17455 arg1
= (double) SWIG_AsDouble(obj0
);
17456 if (PyErr_Occurred()) SWIG_fail
;
17458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17459 result
= (wxDateTime
*)new wxDateTime(arg1
);
17461 wxPyEndAllowThreads(__tstate
);
17462 if (PyErr_Occurred()) SWIG_fail
;
17464 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17471 static PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17472 PyObject
*resultobj
;
17474 int arg2
= (int) 0 ;
17475 int arg3
= (int) 0 ;
17476 int arg4
= (int) 0 ;
17477 wxDateTime
*result
;
17478 PyObject
* obj0
= 0 ;
17479 PyObject
* obj1
= 0 ;
17480 PyObject
* obj2
= 0 ;
17481 PyObject
* obj3
= 0 ;
17482 char *kwnames
[] = {
17483 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17487 arg1
= (int) SWIG_AsInt(obj0
);
17488 if (PyErr_Occurred()) SWIG_fail
;
17490 arg2
= (int) SWIG_AsInt(obj1
);
17491 if (PyErr_Occurred()) SWIG_fail
;
17494 arg3
= (int) SWIG_AsInt(obj2
);
17495 if (PyErr_Occurred()) SWIG_fail
;
17498 arg4
= (int) SWIG_AsInt(obj3
);
17499 if (PyErr_Occurred()) SWIG_fail
;
17502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17503 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
17505 wxPyEndAllowThreads(__tstate
);
17506 if (PyErr_Occurred()) SWIG_fail
;
17508 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17515 static PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17516 PyObject
*resultobj
;
17518 int arg2
= (int) wxDateTime::Inv_Month
;
17519 int arg3
= (int) wxDateTime::Inv_Year
;
17520 int arg4
= (int) 0 ;
17521 int arg5
= (int) 0 ;
17522 int arg6
= (int) 0 ;
17523 int arg7
= (int) 0 ;
17524 wxDateTime
*result
;
17525 PyObject
* obj0
= 0 ;
17526 PyObject
* obj1
= 0 ;
17527 PyObject
* obj2
= 0 ;
17528 PyObject
* obj3
= 0 ;
17529 PyObject
* obj4
= 0 ;
17530 PyObject
* obj5
= 0 ;
17531 PyObject
* obj6
= 0 ;
17532 char *kwnames
[] = {
17533 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17537 arg1
= (int) SWIG_AsInt(obj0
);
17538 if (PyErr_Occurred()) SWIG_fail
;
17540 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
17541 if (PyErr_Occurred()) SWIG_fail
;
17544 arg3
= (int) SWIG_AsInt(obj2
);
17545 if (PyErr_Occurred()) SWIG_fail
;
17548 arg4
= (int) SWIG_AsInt(obj3
);
17549 if (PyErr_Occurred()) SWIG_fail
;
17552 arg5
= (int) SWIG_AsInt(obj4
);
17553 if (PyErr_Occurred()) SWIG_fail
;
17556 arg6
= (int) SWIG_AsInt(obj5
);
17557 if (PyErr_Occurred()) SWIG_fail
;
17560 arg7
= (int) SWIG_AsInt(obj6
);
17561 if (PyErr_Occurred()) SWIG_fail
;
17564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17565 result
= (wxDateTime
*)new wxDateTime(arg1
,(wxDateTime::Month
)arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
17567 wxPyEndAllowThreads(__tstate
);
17568 if (PyErr_Occurred()) SWIG_fail
;
17570 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17577 static PyObject
*_wrap_delete_DateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17578 PyObject
*resultobj
;
17579 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17580 PyObject
* obj0
= 0 ;
17581 char *kwnames
[] = {
17582 (char *) "self", NULL
17585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateTime",kwnames
,&obj0
)) goto fail
;
17586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17592 wxPyEndAllowThreads(__tstate
);
17593 if (PyErr_Occurred()) SWIG_fail
;
17595 Py_INCREF(Py_None
); resultobj
= Py_None
;
17602 static PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17603 PyObject
*resultobj
;
17604 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17605 wxDateTime
*result
;
17606 PyObject
* obj0
= 0 ;
17607 char *kwnames
[] = {
17608 (char *) "self", NULL
17611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetToCurrent",kwnames
,&obj0
)) goto fail
;
17612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17617 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
17618 result
= (wxDateTime
*) &_result_ref
;
17621 wxPyEndAllowThreads(__tstate
);
17622 if (PyErr_Occurred()) SWIG_fail
;
17624 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17631 static PyObject
*_wrap_DateTime_SetTimeT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17632 PyObject
*resultobj
;
17633 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17635 wxDateTime
*result
;
17636 PyObject
* obj0
= 0 ;
17637 PyObject
* obj1
= 0 ;
17638 char *kwnames
[] = {
17639 (char *) "self",(char *) "timet", NULL
17642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) goto fail
;
17643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17645 arg2
= (time_t) SWIG_AsUnsignedInt(obj1
);
17646 if (PyErr_Occurred()) SWIG_fail
;
17648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17650 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
17651 result
= (wxDateTime
*) &_result_ref
;
17654 wxPyEndAllowThreads(__tstate
);
17655 if (PyErr_Occurred()) SWIG_fail
;
17657 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17664 static PyObject
*_wrap_DateTime_SetJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17665 PyObject
*resultobj
;
17666 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17668 wxDateTime
*result
;
17669 PyObject
* obj0
= 0 ;
17670 PyObject
* obj1
= 0 ;
17671 char *kwnames
[] = {
17672 (char *) "self",(char *) "jdn", NULL
17675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) goto fail
;
17676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17678 arg2
= (double) SWIG_AsDouble(obj1
);
17679 if (PyErr_Occurred()) SWIG_fail
;
17681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17683 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
17684 result
= (wxDateTime
*) &_result_ref
;
17687 wxPyEndAllowThreads(__tstate
);
17688 if (PyErr_Occurred()) SWIG_fail
;
17690 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17697 static PyObject
*_wrap_DateTime_SetHMS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17698 PyObject
*resultobj
;
17699 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17701 int arg3
= (int) 0 ;
17702 int arg4
= (int) 0 ;
17703 int arg5
= (int) 0 ;
17704 wxDateTime
*result
;
17705 PyObject
* obj0
= 0 ;
17706 PyObject
* obj1
= 0 ;
17707 PyObject
* obj2
= 0 ;
17708 PyObject
* obj3
= 0 ;
17709 PyObject
* obj4
= 0 ;
17710 char *kwnames
[] = {
17711 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17717 arg2
= (int) SWIG_AsInt(obj1
);
17718 if (PyErr_Occurred()) SWIG_fail
;
17720 arg3
= (int) SWIG_AsInt(obj2
);
17721 if (PyErr_Occurred()) SWIG_fail
;
17724 arg4
= (int) SWIG_AsInt(obj3
);
17725 if (PyErr_Occurred()) SWIG_fail
;
17728 arg5
= (int) SWIG_AsInt(obj4
);
17729 if (PyErr_Occurred()) SWIG_fail
;
17732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17734 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
17735 result
= (wxDateTime
*) &_result_ref
;
17738 wxPyEndAllowThreads(__tstate
);
17739 if (PyErr_Occurred()) SWIG_fail
;
17741 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17748 static PyObject
*_wrap_DateTime_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17749 PyObject
*resultobj
;
17750 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17752 int arg3
= (int) wxDateTime::Inv_Month
;
17753 int arg4
= (int) wxDateTime::Inv_Year
;
17754 int arg5
= (int) 0 ;
17755 int arg6
= (int) 0 ;
17756 int arg7
= (int) 0 ;
17757 int arg8
= (int) 0 ;
17758 wxDateTime
*result
;
17759 PyObject
* obj0
= 0 ;
17760 PyObject
* obj1
= 0 ;
17761 PyObject
* obj2
= 0 ;
17762 PyObject
* obj3
= 0 ;
17763 PyObject
* obj4
= 0 ;
17764 PyObject
* obj5
= 0 ;
17765 PyObject
* obj6
= 0 ;
17766 PyObject
* obj7
= 0 ;
17767 char *kwnames
[] = {
17768 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
17772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17774 arg2
= (int) SWIG_AsInt(obj1
);
17775 if (PyErr_Occurred()) SWIG_fail
;
17777 arg3
= (wxDateTime::Month
) SWIG_AsInt(obj2
);
17778 if (PyErr_Occurred()) SWIG_fail
;
17781 arg4
= (int) SWIG_AsInt(obj3
);
17782 if (PyErr_Occurred()) SWIG_fail
;
17785 arg5
= (int) SWIG_AsInt(obj4
);
17786 if (PyErr_Occurred()) SWIG_fail
;
17789 arg6
= (int) SWIG_AsInt(obj5
);
17790 if (PyErr_Occurred()) SWIG_fail
;
17793 arg7
= (int) SWIG_AsInt(obj6
);
17794 if (PyErr_Occurred()) SWIG_fail
;
17797 arg8
= (int) SWIG_AsInt(obj7
);
17798 if (PyErr_Occurred()) SWIG_fail
;
17801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17803 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,(wxDateTime::Month
)arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
17804 result
= (wxDateTime
*) &_result_ref
;
17807 wxPyEndAllowThreads(__tstate
);
17808 if (PyErr_Occurred()) SWIG_fail
;
17810 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17817 static PyObject
*_wrap_DateTime_ResetTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17818 PyObject
*resultobj
;
17819 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17820 wxDateTime
*result
;
17821 PyObject
* obj0
= 0 ;
17822 char *kwnames
[] = {
17823 (char *) "self", NULL
17826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ResetTime",kwnames
,&obj0
)) goto fail
;
17827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17832 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
17833 result
= (wxDateTime
*) &_result_ref
;
17836 wxPyEndAllowThreads(__tstate
);
17837 if (PyErr_Occurred()) SWIG_fail
;
17839 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17846 static PyObject
*_wrap_DateTime_SetYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17847 PyObject
*resultobj
;
17848 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17850 wxDateTime
*result
;
17851 PyObject
* obj0
= 0 ;
17852 PyObject
* obj1
= 0 ;
17853 char *kwnames
[] = {
17854 (char *) "self",(char *) "year", NULL
17857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
17858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17860 arg2
= (int) SWIG_AsInt(obj1
);
17861 if (PyErr_Occurred()) SWIG_fail
;
17863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17865 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
17866 result
= (wxDateTime
*) &_result_ref
;
17869 wxPyEndAllowThreads(__tstate
);
17870 if (PyErr_Occurred()) SWIG_fail
;
17872 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17879 static PyObject
*_wrap_DateTime_SetMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17880 PyObject
*resultobj
;
17881 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17883 wxDateTime
*result
;
17884 PyObject
* obj0
= 0 ;
17885 PyObject
* obj1
= 0 ;
17886 char *kwnames
[] = {
17887 (char *) "self",(char *) "month", NULL
17890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
17891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17893 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
17894 if (PyErr_Occurred()) SWIG_fail
;
17896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17898 wxDateTime
&_result_ref
= (arg1
)->SetMonth((wxDateTime::Month
)arg2
);
17899 result
= (wxDateTime
*) &_result_ref
;
17902 wxPyEndAllowThreads(__tstate
);
17903 if (PyErr_Occurred()) SWIG_fail
;
17905 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17912 static PyObject
*_wrap_DateTime_SetDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17913 PyObject
*resultobj
;
17914 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17916 wxDateTime
*result
;
17917 PyObject
* obj0
= 0 ;
17918 PyObject
* obj1
= 0 ;
17919 char *kwnames
[] = {
17920 (char *) "self",(char *) "day", NULL
17923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
17924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17926 arg2
= (int) SWIG_AsInt(obj1
);
17927 if (PyErr_Occurred()) SWIG_fail
;
17929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17931 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
17932 result
= (wxDateTime
*) &_result_ref
;
17935 wxPyEndAllowThreads(__tstate
);
17936 if (PyErr_Occurred()) SWIG_fail
;
17938 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17945 static PyObject
*_wrap_DateTime_SetHour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17946 PyObject
*resultobj
;
17947 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17949 wxDateTime
*result
;
17950 PyObject
* obj0
= 0 ;
17951 PyObject
* obj1
= 0 ;
17952 char *kwnames
[] = {
17953 (char *) "self",(char *) "hour", NULL
17956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
17957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17959 arg2
= (int) SWIG_AsInt(obj1
);
17960 if (PyErr_Occurred()) SWIG_fail
;
17962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17964 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
17965 result
= (wxDateTime
*) &_result_ref
;
17968 wxPyEndAllowThreads(__tstate
);
17969 if (PyErr_Occurred()) SWIG_fail
;
17971 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17978 static PyObject
*_wrap_DateTime_SetMinute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17979 PyObject
*resultobj
;
17980 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17982 wxDateTime
*result
;
17983 PyObject
* obj0
= 0 ;
17984 PyObject
* obj1
= 0 ;
17985 char *kwnames
[] = {
17986 (char *) "self",(char *) "minute", NULL
17989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
17990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17992 arg2
= (int) SWIG_AsInt(obj1
);
17993 if (PyErr_Occurred()) SWIG_fail
;
17995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17997 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
17998 result
= (wxDateTime
*) &_result_ref
;
18001 wxPyEndAllowThreads(__tstate
);
18002 if (PyErr_Occurred()) SWIG_fail
;
18004 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18011 static PyObject
*_wrap_DateTime_SetSecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18012 PyObject
*resultobj
;
18013 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18015 wxDateTime
*result
;
18016 PyObject
* obj0
= 0 ;
18017 PyObject
* obj1
= 0 ;
18018 char *kwnames
[] = {
18019 (char *) "self",(char *) "second", NULL
18022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
18023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18025 arg2
= (int) SWIG_AsInt(obj1
);
18026 if (PyErr_Occurred()) SWIG_fail
;
18028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18030 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
18031 result
= (wxDateTime
*) &_result_ref
;
18034 wxPyEndAllowThreads(__tstate
);
18035 if (PyErr_Occurred()) SWIG_fail
;
18037 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18044 static PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18045 PyObject
*resultobj
;
18046 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18048 wxDateTime
*result
;
18049 PyObject
* obj0
= 0 ;
18050 PyObject
* obj1
= 0 ;
18051 char *kwnames
[] = {
18052 (char *) "self",(char *) "millisecond", NULL
18055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
18056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18058 arg2
= (int) SWIG_AsInt(obj1
);
18059 if (PyErr_Occurred()) SWIG_fail
;
18061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18063 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
18064 result
= (wxDateTime
*) &_result_ref
;
18067 wxPyEndAllowThreads(__tstate
);
18068 if (PyErr_Occurred()) SWIG_fail
;
18070 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18077 static PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18078 PyObject
*resultobj
;
18079 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18081 int arg3
= (int) wxDateTime::Monday_First
;
18082 wxDateTime
*result
;
18083 PyObject
* obj0
= 0 ;
18084 PyObject
* obj1
= 0 ;
18085 PyObject
* obj2
= 0 ;
18086 char *kwnames
[] = {
18087 (char *) "self",(char *) "weekday",(char *) "flags", NULL
18090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18093 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18094 if (PyErr_Occurred()) SWIG_fail
;
18096 arg3
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj2
);
18097 if (PyErr_Occurred()) SWIG_fail
;
18100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18102 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
18103 result
= (wxDateTime
*) &_result_ref
;
18106 wxPyEndAllowThreads(__tstate
);
18107 if (PyErr_Occurred()) SWIG_fail
;
18109 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18116 static PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18117 PyObject
*resultobj
;
18118 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18120 int arg3
= (int) wxDateTime::Monday_First
;
18122 PyObject
* obj0
= 0 ;
18123 PyObject
* obj1
= 0 ;
18124 PyObject
* obj2
= 0 ;
18125 char *kwnames
[] = {
18126 (char *) "self",(char *) "weekday",(char *) "flags", NULL
18129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18132 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18133 if (PyErr_Occurred()) SWIG_fail
;
18135 arg3
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj2
);
18136 if (PyErr_Occurred()) SWIG_fail
;
18139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18140 result
= (arg1
)->GetWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
18142 wxPyEndAllowThreads(__tstate
);
18143 if (PyErr_Occurred()) SWIG_fail
;
18146 wxDateTime
* resultptr
;
18147 resultptr
= new wxDateTime((wxDateTime
&) result
);
18148 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18156 static PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18157 PyObject
*resultobj
;
18158 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18160 wxDateTime
*result
;
18161 PyObject
* obj0
= 0 ;
18162 PyObject
* obj1
= 0 ;
18163 char *kwnames
[] = {
18164 (char *) "self",(char *) "weekday", NULL
18167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18170 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18171 if (PyErr_Occurred()) SWIG_fail
;
18173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18175 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay((wxDateTime::WeekDay
)arg2
);
18176 result
= (wxDateTime
*) &_result_ref
;
18179 wxPyEndAllowThreads(__tstate
);
18180 if (PyErr_Occurred()) SWIG_fail
;
18182 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18189 static PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18190 PyObject
*resultobj
;
18191 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18194 PyObject
* obj0
= 0 ;
18195 PyObject
* obj1
= 0 ;
18196 char *kwnames
[] = {
18197 (char *) "self",(char *) "weekday", NULL
18200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18203 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18204 if (PyErr_Occurred()) SWIG_fail
;
18206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18207 result
= (arg1
)->GetNextWeekDay((wxDateTime::WeekDay
)arg2
);
18209 wxPyEndAllowThreads(__tstate
);
18210 if (PyErr_Occurred()) SWIG_fail
;
18213 wxDateTime
* resultptr
;
18214 resultptr
= new wxDateTime((wxDateTime
&) result
);
18215 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18223 static PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18224 PyObject
*resultobj
;
18225 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18227 wxDateTime
*result
;
18228 PyObject
* obj0
= 0 ;
18229 PyObject
* obj1
= 0 ;
18230 char *kwnames
[] = {
18231 (char *) "self",(char *) "weekday", NULL
18234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18237 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18238 if (PyErr_Occurred()) SWIG_fail
;
18240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18242 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay((wxDateTime::WeekDay
)arg2
);
18243 result
= (wxDateTime
*) &_result_ref
;
18246 wxPyEndAllowThreads(__tstate
);
18247 if (PyErr_Occurred()) SWIG_fail
;
18249 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18256 static PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18257 PyObject
*resultobj
;
18258 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18261 PyObject
* obj0
= 0 ;
18262 PyObject
* obj1
= 0 ;
18263 char *kwnames
[] = {
18264 (char *) "self",(char *) "weekday", NULL
18267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18270 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18271 if (PyErr_Occurred()) SWIG_fail
;
18273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18274 result
= (arg1
)->GetPrevWeekDay((wxDateTime::WeekDay
)arg2
);
18276 wxPyEndAllowThreads(__tstate
);
18277 if (PyErr_Occurred()) SWIG_fail
;
18280 wxDateTime
* resultptr
;
18281 resultptr
= new wxDateTime((wxDateTime
&) result
);
18282 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18290 static PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18291 PyObject
*resultobj
;
18292 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18294 int arg3
= (int) 1 ;
18295 int arg4
= (int) wxDateTime::Inv_Month
;
18296 int arg5
= (int) wxDateTime::Inv_Year
;
18298 PyObject
* obj0
= 0 ;
18299 PyObject
* obj1
= 0 ;
18300 PyObject
* obj2
= 0 ;
18301 PyObject
* obj3
= 0 ;
18302 PyObject
* obj4
= 0 ;
18303 char *kwnames
[] = {
18304 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
18307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18310 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18311 if (PyErr_Occurred()) SWIG_fail
;
18313 arg3
= (int) SWIG_AsInt(obj2
);
18314 if (PyErr_Occurred()) SWIG_fail
;
18317 arg4
= (wxDateTime::Month
) SWIG_AsInt(obj3
);
18318 if (PyErr_Occurred()) SWIG_fail
;
18321 arg5
= (int) SWIG_AsInt(obj4
);
18322 if (PyErr_Occurred()) SWIG_fail
;
18325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18326 result
= (bool)(arg1
)->SetToWeekDay((wxDateTime::WeekDay
)arg2
,arg3
,(wxDateTime::Month
)arg4
,arg5
);
18328 wxPyEndAllowThreads(__tstate
);
18329 if (PyErr_Occurred()) SWIG_fail
;
18332 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18340 static PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18341 PyObject
*resultobj
;
18342 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18344 int arg3
= (int) wxDateTime::Inv_Month
;
18345 int arg4
= (int) wxDateTime::Inv_Year
;
18347 PyObject
* obj0
= 0 ;
18348 PyObject
* obj1
= 0 ;
18349 PyObject
* obj2
= 0 ;
18350 PyObject
* obj3
= 0 ;
18351 char *kwnames
[] = {
18352 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18358 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18359 if (PyErr_Occurred()) SWIG_fail
;
18361 arg3
= (wxDateTime::Month
) SWIG_AsInt(obj2
);
18362 if (PyErr_Occurred()) SWIG_fail
;
18365 arg4
= (int) SWIG_AsInt(obj3
);
18366 if (PyErr_Occurred()) SWIG_fail
;
18369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18370 result
= (bool)(arg1
)->SetToLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
18372 wxPyEndAllowThreads(__tstate
);
18373 if (PyErr_Occurred()) SWIG_fail
;
18376 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18384 static PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18385 PyObject
*resultobj
;
18386 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18388 int arg3
= (int) wxDateTime::Inv_Month
;
18389 int arg4
= (int) wxDateTime::Inv_Year
;
18391 PyObject
* obj0
= 0 ;
18392 PyObject
* obj1
= 0 ;
18393 PyObject
* obj2
= 0 ;
18394 PyObject
* obj3
= 0 ;
18395 char *kwnames
[] = {
18396 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18402 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18403 if (PyErr_Occurred()) SWIG_fail
;
18405 arg3
= (wxDateTime::Month
) SWIG_AsInt(obj2
);
18406 if (PyErr_Occurred()) SWIG_fail
;
18409 arg4
= (int) SWIG_AsInt(obj3
);
18410 if (PyErr_Occurred()) SWIG_fail
;
18413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18414 result
= (arg1
)->GetLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
18416 wxPyEndAllowThreads(__tstate
);
18417 if (PyErr_Occurred()) SWIG_fail
;
18420 wxDateTime
* resultptr
;
18421 resultptr
= new wxDateTime((wxDateTime
&) result
);
18422 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18430 static PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18431 PyObject
*resultobj
;
18432 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18434 int arg3
= (int) wxDateTime::Mon
;
18435 int arg4
= (int) wxDateTime::Monday_First
;
18437 PyObject
* obj0
= 0 ;
18438 PyObject
* obj1
= 0 ;
18439 PyObject
* obj2
= 0 ;
18440 PyObject
* obj3
= 0 ;
18441 char *kwnames
[] = {
18442 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18448 arg2
= (int) SWIG_AsInt(obj1
);
18449 if (PyErr_Occurred()) SWIG_fail
;
18451 arg3
= (wxDateTime::WeekDay
) SWIG_AsInt(obj2
);
18452 if (PyErr_Occurred()) SWIG_fail
;
18455 arg4
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj3
);
18456 if (PyErr_Occurred()) SWIG_fail
;
18459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18460 result
= (bool)(arg1
)->SetToTheWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
18462 wxPyEndAllowThreads(__tstate
);
18463 if (PyErr_Occurred()) SWIG_fail
;
18466 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18474 static PyObject
*_wrap_DateTime_GetWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18475 PyObject
*resultobj
;
18476 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18478 int arg3
= (int) wxDateTime::Mon
;
18479 int arg4
= (int) wxDateTime::Monday_First
;
18481 PyObject
* obj0
= 0 ;
18482 PyObject
* obj1
= 0 ;
18483 PyObject
* obj2
= 0 ;
18484 PyObject
* obj3
= 0 ;
18485 char *kwnames
[] = {
18486 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18492 arg2
= (int) SWIG_AsInt(obj1
);
18493 if (PyErr_Occurred()) SWIG_fail
;
18495 arg3
= (wxDateTime::WeekDay
) SWIG_AsInt(obj2
);
18496 if (PyErr_Occurred()) SWIG_fail
;
18499 arg4
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj3
);
18500 if (PyErr_Occurred()) SWIG_fail
;
18503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18504 result
= (arg1
)->GetWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
18506 wxPyEndAllowThreads(__tstate
);
18507 if (PyErr_Occurred()) SWIG_fail
;
18510 wxDateTime
* resultptr
;
18511 resultptr
= new wxDateTime((wxDateTime
&) result
);
18512 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18520 static PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18521 PyObject
*resultobj
;
18522 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18523 int arg2
= (int) wxDateTime::Inv_Month
;
18524 int arg3
= (int) wxDateTime::Inv_Year
;
18525 wxDateTime
*result
;
18526 PyObject
* obj0
= 0 ;
18527 PyObject
* obj1
= 0 ;
18528 PyObject
* obj2
= 0 ;
18529 char *kwnames
[] = {
18530 (char *) "self",(char *) "month",(char *) "year", NULL
18533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18537 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
18538 if (PyErr_Occurred()) SWIG_fail
;
18541 arg3
= (int) SWIG_AsInt(obj2
);
18542 if (PyErr_Occurred()) SWIG_fail
;
18545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18547 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
18548 result
= (wxDateTime
*) &_result_ref
;
18551 wxPyEndAllowThreads(__tstate
);
18552 if (PyErr_Occurred()) SWIG_fail
;
18554 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18561 static PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18562 PyObject
*resultobj
;
18563 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18564 int arg2
= (int) wxDateTime::Inv_Month
;
18565 int arg3
= (int) wxDateTime::Inv_Year
;
18567 PyObject
* obj0
= 0 ;
18568 PyObject
* obj1
= 0 ;
18569 PyObject
* obj2
= 0 ;
18570 char *kwnames
[] = {
18571 (char *) "self",(char *) "month",(char *) "year", NULL
18574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18578 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
18579 if (PyErr_Occurred()) SWIG_fail
;
18582 arg3
= (int) SWIG_AsInt(obj2
);
18583 if (PyErr_Occurred()) SWIG_fail
;
18586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18587 result
= (arg1
)->GetLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
18589 wxPyEndAllowThreads(__tstate
);
18590 if (PyErr_Occurred()) SWIG_fail
;
18593 wxDateTime
* resultptr
;
18594 resultptr
= new wxDateTime((wxDateTime
&) result
);
18595 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18603 static PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18604 PyObject
*resultobj
;
18605 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18607 wxDateTime
*result
;
18608 PyObject
* obj0
= 0 ;
18609 PyObject
* obj1
= 0 ;
18610 char *kwnames
[] = {
18611 (char *) "self",(char *) "yday", NULL
18614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18617 arg2
= (int) SWIG_AsInt(obj1
);
18618 if (PyErr_Occurred()) SWIG_fail
;
18620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18622 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
18623 result
= (wxDateTime
*) &_result_ref
;
18626 wxPyEndAllowThreads(__tstate
);
18627 if (PyErr_Occurred()) SWIG_fail
;
18629 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18636 static PyObject
*_wrap_DateTime_GetYearDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18637 PyObject
*resultobj
;
18638 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18641 PyObject
* obj0
= 0 ;
18642 PyObject
* obj1
= 0 ;
18643 char *kwnames
[] = {
18644 (char *) "self",(char *) "yday", NULL
18647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18650 arg2
= (int) SWIG_AsInt(obj1
);
18651 if (PyErr_Occurred()) SWIG_fail
;
18653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18654 result
= (arg1
)->GetYearDay(arg2
);
18656 wxPyEndAllowThreads(__tstate
);
18657 if (PyErr_Occurred()) SWIG_fail
;
18660 wxDateTime
* resultptr
;
18661 resultptr
= new wxDateTime((wxDateTime
&) result
);
18662 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18670 static PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18671 PyObject
*resultobj
;
18672 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18674 PyObject
* obj0
= 0 ;
18675 char *kwnames
[] = {
18676 (char *) "self", NULL
18679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJulianDayNumber",kwnames
,&obj0
)) goto fail
;
18680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18684 result
= (double)(arg1
)->GetJulianDayNumber();
18686 wxPyEndAllowThreads(__tstate
);
18687 if (PyErr_Occurred()) SWIG_fail
;
18689 resultobj
= SWIG_FromDouble((double)result
);
18696 static PyObject
*_wrap_DateTime_GetJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18697 PyObject
*resultobj
;
18698 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18700 PyObject
* obj0
= 0 ;
18701 char *kwnames
[] = {
18702 (char *) "self", NULL
18705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJDN",kwnames
,&obj0
)) goto fail
;
18706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18710 result
= (double)(arg1
)->GetJDN();
18712 wxPyEndAllowThreads(__tstate
);
18713 if (PyErr_Occurred()) SWIG_fail
;
18715 resultobj
= SWIG_FromDouble((double)result
);
18722 static PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18723 PyObject
*resultobj
;
18724 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18726 PyObject
* obj0
= 0 ;
18727 char *kwnames
[] = {
18728 (char *) "self", NULL
18731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames
,&obj0
)) goto fail
;
18732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18736 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
18738 wxPyEndAllowThreads(__tstate
);
18739 if (PyErr_Occurred()) SWIG_fail
;
18741 resultobj
= SWIG_FromDouble((double)result
);
18748 static PyObject
*_wrap_DateTime_GetMJD(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18749 PyObject
*resultobj
;
18750 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18752 PyObject
* obj0
= 0 ;
18753 char *kwnames
[] = {
18754 (char *) "self", NULL
18757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetMJD",kwnames
,&obj0
)) goto fail
;
18758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18762 result
= (double)(arg1
)->GetMJD();
18764 wxPyEndAllowThreads(__tstate
);
18765 if (PyErr_Occurred()) SWIG_fail
;
18767 resultobj
= SWIG_FromDouble((double)result
);
18774 static PyObject
*_wrap_DateTime_GetRataDie(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18775 PyObject
*resultobj
;
18776 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18778 PyObject
* obj0
= 0 ;
18779 char *kwnames
[] = {
18780 (char *) "self", NULL
18783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetRataDie",kwnames
,&obj0
)) goto fail
;
18784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18788 result
= (double)(arg1
)->GetRataDie();
18790 wxPyEndAllowThreads(__tstate
);
18791 if (PyErr_Occurred()) SWIG_fail
;
18793 resultobj
= SWIG_FromDouble((double)result
);
18800 static PyObject
*_wrap_DateTime_ToTimezone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18801 PyObject
*resultobj
;
18802 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18803 wxDateTime::TimeZone
*arg2
= 0 ;
18804 bool arg3
= (bool) False
;
18806 bool temp2
= False
;
18807 PyObject
* obj0
= 0 ;
18808 PyObject
* obj1
= 0 ;
18809 PyObject
* obj2
= 0 ;
18810 char *kwnames
[] = {
18811 (char *) "self",(char *) "tz",(char *) "noDST", NULL
18814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18818 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18822 arg3
= (bool) SWIG_AsBool(obj2
);
18823 if (PyErr_Occurred()) SWIG_fail
;
18826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18827 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
18829 wxPyEndAllowThreads(__tstate
);
18830 if (PyErr_Occurred()) SWIG_fail
;
18833 wxDateTime
* resultptr
;
18834 resultptr
= new wxDateTime((wxDateTime
&) result
);
18835 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18838 if (temp2
) delete arg2
;
18843 if (temp2
) delete arg2
;
18849 static PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18850 PyObject
*resultobj
;
18851 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18852 wxDateTime::TimeZone
*arg2
= 0 ;
18853 bool arg3
= (bool) False
;
18854 wxDateTime
*result
;
18855 bool temp2
= False
;
18856 PyObject
* obj0
= 0 ;
18857 PyObject
* obj1
= 0 ;
18858 PyObject
* obj2
= 0 ;
18859 char *kwnames
[] = {
18860 (char *) "self",(char *) "tz",(char *) "noDST", NULL
18863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18867 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18871 arg3
= (bool) SWIG_AsBool(obj2
);
18872 if (PyErr_Occurred()) SWIG_fail
;
18875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18877 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
18878 result
= (wxDateTime
*) &_result_ref
;
18881 wxPyEndAllowThreads(__tstate
);
18882 if (PyErr_Occurred()) SWIG_fail
;
18884 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18886 if (temp2
) delete arg2
;
18891 if (temp2
) delete arg2
;
18897 static PyObject
*_wrap_DateTime_ToGMT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18898 PyObject
*resultobj
;
18899 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18900 bool arg2
= (bool) False
;
18902 PyObject
* obj0
= 0 ;
18903 PyObject
* obj1
= 0 ;
18904 char *kwnames
[] = {
18905 (char *) "self",(char *) "noDST", NULL
18908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
18909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18912 arg2
= (bool) SWIG_AsBool(obj1
);
18913 if (PyErr_Occurred()) SWIG_fail
;
18916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18917 result
= (arg1
)->ToGMT(arg2
);
18919 wxPyEndAllowThreads(__tstate
);
18920 if (PyErr_Occurred()) SWIG_fail
;
18923 wxDateTime
* resultptr
;
18924 resultptr
= new wxDateTime((wxDateTime
&) result
);
18925 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18933 static PyObject
*_wrap_DateTime_MakeGMT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18934 PyObject
*resultobj
;
18935 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18936 bool arg2
= (bool) False
;
18937 wxDateTime
*result
;
18938 PyObject
* obj0
= 0 ;
18939 PyObject
* obj1
= 0 ;
18940 char *kwnames
[] = {
18941 (char *) "self",(char *) "noDST", NULL
18944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
18945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18948 arg2
= (bool) SWIG_AsBool(obj1
);
18949 if (PyErr_Occurred()) SWIG_fail
;
18952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18954 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
18955 result
= (wxDateTime
*) &_result_ref
;
18958 wxPyEndAllowThreads(__tstate
);
18959 if (PyErr_Occurred()) SWIG_fail
;
18961 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18968 static PyObject
*_wrap_DateTime_IsDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18969 PyObject
*resultobj
;
18970 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18971 int arg2
= (int) wxDateTime::Country_Default
;
18973 PyObject
* obj0
= 0 ;
18974 PyObject
* obj1
= 0 ;
18975 char *kwnames
[] = {
18976 (char *) "self",(char *) "country", NULL
18979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) goto fail
;
18980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18983 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
18984 if (PyErr_Occurred()) SWIG_fail
;
18987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18988 result
= (int)(arg1
)->IsDST((wxDateTime::Country
)arg2
);
18990 wxPyEndAllowThreads(__tstate
);
18991 if (PyErr_Occurred()) SWIG_fail
;
18993 resultobj
= SWIG_FromInt((int)result
);
19000 static PyObject
*_wrap_DateTime_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19001 PyObject
*resultobj
;
19002 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19004 PyObject
* obj0
= 0 ;
19005 char *kwnames
[] = {
19006 (char *) "self", NULL
19009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_IsValid",kwnames
,&obj0
)) goto fail
;
19010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19014 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
19016 wxPyEndAllowThreads(__tstate
);
19017 if (PyErr_Occurred()) SWIG_fail
;
19020 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19028 static PyObject
*_wrap_DateTime_GetTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19029 PyObject
*resultobj
;
19030 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19032 PyObject
* obj0
= 0 ;
19033 char *kwnames
[] = {
19034 (char *) "self", NULL
19037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetTicks",kwnames
,&obj0
)) goto fail
;
19038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19042 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
19044 wxPyEndAllowThreads(__tstate
);
19045 if (PyErr_Occurred()) SWIG_fail
;
19047 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
19054 static PyObject
*_wrap_DateTime_GetYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19055 PyObject
*resultobj
;
19056 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19057 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19058 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19060 bool temp2
= False
;
19061 PyObject
* obj0
= 0 ;
19062 PyObject
* obj1
= 0 ;
19063 char *kwnames
[] = {
19064 (char *) "self",(char *) "tz", NULL
19067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19072 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19078 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
19080 wxPyEndAllowThreads(__tstate
);
19081 if (PyErr_Occurred()) SWIG_fail
;
19083 resultobj
= SWIG_FromInt((int)result
);
19085 if (temp2
) delete arg2
;
19090 if (temp2
) delete arg2
;
19096 static PyObject
*_wrap_DateTime_GetMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19097 PyObject
*resultobj
;
19098 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19099 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19100 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19102 bool temp2
= False
;
19103 PyObject
* obj0
= 0 ;
19104 PyObject
* obj1
= 0 ;
19105 char *kwnames
[] = {
19106 (char *) "self",(char *) "tz", NULL
19109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
19110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19114 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19120 result
= (int)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
19122 wxPyEndAllowThreads(__tstate
);
19123 if (PyErr_Occurred()) SWIG_fail
;
19125 resultobj
= SWIG_FromInt((int)result
);
19127 if (temp2
) delete arg2
;
19132 if (temp2
) delete arg2
;
19138 static PyObject
*_wrap_DateTime_GetDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19139 PyObject
*resultobj
;
19140 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19141 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19142 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19144 bool temp2
= False
;
19145 PyObject
* obj0
= 0 ;
19146 PyObject
* obj1
= 0 ;
19147 char *kwnames
[] = {
19148 (char *) "self",(char *) "tz", NULL
19151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19156 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19162 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
19164 wxPyEndAllowThreads(__tstate
);
19165 if (PyErr_Occurred()) SWIG_fail
;
19167 resultobj
= SWIG_FromInt((int)result
);
19169 if (temp2
) delete arg2
;
19174 if (temp2
) delete arg2
;
19180 static PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19181 PyObject
*resultobj
;
19182 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19183 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19184 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19186 bool temp2
= False
;
19187 PyObject
* obj0
= 0 ;
19188 PyObject
* obj1
= 0 ;
19189 char *kwnames
[] = {
19190 (char *) "self",(char *) "tz", NULL
19193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19198 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19204 result
= (int)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
19206 wxPyEndAllowThreads(__tstate
);
19207 if (PyErr_Occurred()) SWIG_fail
;
19209 resultobj
= SWIG_FromInt((int)result
);
19211 if (temp2
) delete arg2
;
19216 if (temp2
) delete arg2
;
19222 static PyObject
*_wrap_DateTime_GetHour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19223 PyObject
*resultobj
;
19224 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19225 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19226 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19228 bool temp2
= False
;
19229 PyObject
* obj0
= 0 ;
19230 PyObject
* obj1
= 0 ;
19231 char *kwnames
[] = {
19232 (char *) "self",(char *) "tz", NULL
19235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
19236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19240 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19246 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
19248 wxPyEndAllowThreads(__tstate
);
19249 if (PyErr_Occurred()) SWIG_fail
;
19251 resultobj
= SWIG_FromInt((int)result
);
19253 if (temp2
) delete arg2
;
19258 if (temp2
) delete arg2
;
19264 static PyObject
*_wrap_DateTime_GetMinute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19265 PyObject
*resultobj
;
19266 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19267 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19268 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19270 bool temp2
= False
;
19271 PyObject
* obj0
= 0 ;
19272 PyObject
* obj1
= 0 ;
19273 char *kwnames
[] = {
19274 (char *) "self",(char *) "tz", NULL
19277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
19278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19282 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19288 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
19290 wxPyEndAllowThreads(__tstate
);
19291 if (PyErr_Occurred()) SWIG_fail
;
19293 resultobj
= SWIG_FromInt((int)result
);
19295 if (temp2
) delete arg2
;
19300 if (temp2
) delete arg2
;
19306 static PyObject
*_wrap_DateTime_GetSecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19307 PyObject
*resultobj
;
19308 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19309 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19310 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19312 bool temp2
= False
;
19313 PyObject
* obj0
= 0 ;
19314 PyObject
* obj1
= 0 ;
19315 char *kwnames
[] = {
19316 (char *) "self",(char *) "tz", NULL
19319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
19320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19324 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19330 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
19332 wxPyEndAllowThreads(__tstate
);
19333 if (PyErr_Occurred()) SWIG_fail
;
19335 resultobj
= SWIG_FromInt((int)result
);
19337 if (temp2
) delete arg2
;
19342 if (temp2
) delete arg2
;
19348 static PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19349 PyObject
*resultobj
;
19350 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19351 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19352 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19354 bool temp2
= False
;
19355 PyObject
* obj0
= 0 ;
19356 PyObject
* obj1
= 0 ;
19357 char *kwnames
[] = {
19358 (char *) "self",(char *) "tz", NULL
19361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
19362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19366 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19372 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
19374 wxPyEndAllowThreads(__tstate
);
19375 if (PyErr_Occurred()) SWIG_fail
;
19377 resultobj
= SWIG_FromInt((int)result
);
19379 if (temp2
) delete arg2
;
19384 if (temp2
) delete arg2
;
19390 static PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19391 PyObject
*resultobj
;
19392 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19393 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19394 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19396 bool temp2
= False
;
19397 PyObject
* obj0
= 0 ;
19398 PyObject
* obj1
= 0 ;
19399 char *kwnames
[] = {
19400 (char *) "self",(char *) "tz", NULL
19403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19408 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19414 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
19416 wxPyEndAllowThreads(__tstate
);
19417 if (PyErr_Occurred()) SWIG_fail
;
19419 resultobj
= SWIG_FromInt((int)result
);
19421 if (temp2
) delete arg2
;
19426 if (temp2
) delete arg2
;
19432 static PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19433 PyObject
*resultobj
;
19434 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19435 int arg2
= (int) wxDateTime::Monday_First
;
19436 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
19437 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
19439 bool temp3
= False
;
19440 PyObject
* obj0
= 0 ;
19441 PyObject
* obj1
= 0 ;
19442 PyObject
* obj2
= 0 ;
19443 char *kwnames
[] = {
19444 (char *) "self",(char *) "flags",(char *) "tz", NULL
19447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19451 arg2
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj1
);
19452 if (PyErr_Occurred()) SWIG_fail
;
19456 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
19461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19462 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
19464 wxPyEndAllowThreads(__tstate
);
19465 if (PyErr_Occurred()) SWIG_fail
;
19467 resultobj
= SWIG_FromInt((int)result
);
19469 if (temp3
) delete arg3
;
19474 if (temp3
) delete arg3
;
19480 static PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19481 PyObject
*resultobj
;
19482 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19483 int arg2
= (int) wxDateTime::Monday_First
;
19484 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
19485 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
19487 bool temp3
= False
;
19488 PyObject
* obj0
= 0 ;
19489 PyObject
* obj1
= 0 ;
19490 PyObject
* obj2
= 0 ;
19491 char *kwnames
[] = {
19492 (char *) "self",(char *) "flags",(char *) "tz", NULL
19495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19499 arg2
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj1
);
19500 if (PyErr_Occurred()) SWIG_fail
;
19504 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
19509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19510 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
19512 wxPyEndAllowThreads(__tstate
);
19513 if (PyErr_Occurred()) SWIG_fail
;
19515 resultobj
= SWIG_FromInt((int)result
);
19517 if (temp3
) delete arg3
;
19522 if (temp3
) delete arg3
;
19528 static PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19529 PyObject
*resultobj
;
19530 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19531 int arg2
= (int) wxDateTime::Country_Default
;
19533 PyObject
* obj0
= 0 ;
19534 PyObject
* obj1
= 0 ;
19535 char *kwnames
[] = {
19536 (char *) "self",(char *) "country", NULL
19539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19543 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
19544 if (PyErr_Occurred()) SWIG_fail
;
19547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19548 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay((wxDateTime::Country
)arg2
);
19550 wxPyEndAllowThreads(__tstate
);
19551 if (PyErr_Occurred()) SWIG_fail
;
19554 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19562 static PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19563 PyObject
*resultobj
;
19564 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19565 wxDateTime
*arg2
= 0 ;
19567 PyObject
* obj0
= 0 ;
19568 PyObject
* obj1
= 0 ;
19569 char *kwnames
[] = {
19570 (char *) "self",(char *) "datetime", NULL
19573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
19574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19576 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19577 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19579 if (arg2
== NULL
) {
19580 PyErr_SetString(PyExc_TypeError
,"null reference");
19584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19585 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
19587 wxPyEndAllowThreads(__tstate
);
19588 if (PyErr_Occurred()) SWIG_fail
;
19591 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19599 static PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19600 PyObject
*resultobj
;
19601 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19602 wxDateTime
*arg2
= 0 ;
19604 PyObject
* obj0
= 0 ;
19605 PyObject
* obj1
= 0 ;
19606 char *kwnames
[] = {
19607 (char *) "self",(char *) "datetime", NULL
19610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) goto fail
;
19611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19613 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19614 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19616 if (arg2
== NULL
) {
19617 PyErr_SetString(PyExc_TypeError
,"null reference");
19621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19622 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
19624 wxPyEndAllowThreads(__tstate
);
19625 if (PyErr_Occurred()) SWIG_fail
;
19628 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19636 static PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19637 PyObject
*resultobj
;
19638 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19639 wxDateTime
*arg2
= 0 ;
19641 PyObject
* obj0
= 0 ;
19642 PyObject
* obj1
= 0 ;
19643 char *kwnames
[] = {
19644 (char *) "self",(char *) "datetime", NULL
19647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
19648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19650 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19651 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19653 if (arg2
== NULL
) {
19654 PyErr_SetString(PyExc_TypeError
,"null reference");
19658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19659 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
19661 wxPyEndAllowThreads(__tstate
);
19662 if (PyErr_Occurred()) SWIG_fail
;
19665 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19673 static PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19674 PyObject
*resultobj
;
19675 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19676 wxDateTime
*arg2
= 0 ;
19677 wxDateTime
*arg3
= 0 ;
19679 PyObject
* obj0
= 0 ;
19680 PyObject
* obj1
= 0 ;
19681 PyObject
* obj2
= 0 ;
19682 char *kwnames
[] = {
19683 (char *) "self",(char *) "t1",(char *) "t2", NULL
19686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19689 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19690 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19692 if (arg2
== NULL
) {
19693 PyErr_SetString(PyExc_TypeError
,"null reference");
19696 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
,
19697 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19699 if (arg3
== NULL
) {
19700 PyErr_SetString(PyExc_TypeError
,"null reference");
19704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19705 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
19707 wxPyEndAllowThreads(__tstate
);
19708 if (PyErr_Occurred()) SWIG_fail
;
19711 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19719 static PyObject
*_wrap_DateTime_IsBetween(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19720 PyObject
*resultobj
;
19721 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19722 wxDateTime
*arg2
= 0 ;
19723 wxDateTime
*arg3
= 0 ;
19725 PyObject
* obj0
= 0 ;
19726 PyObject
* obj1
= 0 ;
19727 PyObject
* obj2
= 0 ;
19728 char *kwnames
[] = {
19729 (char *) "self",(char *) "t1",(char *) "t2", NULL
19732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19735 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19736 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19738 if (arg2
== NULL
) {
19739 PyErr_SetString(PyExc_TypeError
,"null reference");
19742 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
,
19743 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19745 if (arg3
== NULL
) {
19746 PyErr_SetString(PyExc_TypeError
,"null reference");
19750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19751 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
19753 wxPyEndAllowThreads(__tstate
);
19754 if (PyErr_Occurred()) SWIG_fail
;
19757 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19765 static PyObject
*_wrap_DateTime_IsSameDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19766 PyObject
*resultobj
;
19767 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19768 wxDateTime
*arg2
= 0 ;
19770 PyObject
* obj0
= 0 ;
19771 PyObject
* obj1
= 0 ;
19772 char *kwnames
[] = {
19773 (char *) "self",(char *) "dt", NULL
19776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) goto fail
;
19777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19779 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19780 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19782 if (arg2
== NULL
) {
19783 PyErr_SetString(PyExc_TypeError
,"null reference");
19787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19788 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
19790 wxPyEndAllowThreads(__tstate
);
19791 if (PyErr_Occurred()) SWIG_fail
;
19794 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19802 static PyObject
*_wrap_DateTime_IsSameTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19803 PyObject
*resultobj
;
19804 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19805 wxDateTime
*arg2
= 0 ;
19807 PyObject
* obj0
= 0 ;
19808 PyObject
* obj1
= 0 ;
19809 char *kwnames
[] = {
19810 (char *) "self",(char *) "dt", NULL
19813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) goto fail
;
19814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19816 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19817 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19819 if (arg2
== NULL
) {
19820 PyErr_SetString(PyExc_TypeError
,"null reference");
19824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19825 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
19827 wxPyEndAllowThreads(__tstate
);
19828 if (PyErr_Occurred()) SWIG_fail
;
19831 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19839 static PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19840 PyObject
*resultobj
;
19841 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19842 wxDateTime
*arg2
= 0 ;
19843 wxTimeSpan
*arg3
= 0 ;
19845 PyObject
* obj0
= 0 ;
19846 PyObject
* obj1
= 0 ;
19847 PyObject
* obj2
= 0 ;
19848 char *kwnames
[] = {
19849 (char *) "self",(char *) "dt",(char *) "ts", NULL
19852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19855 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19856 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19858 if (arg2
== NULL
) {
19859 PyErr_SetString(PyExc_TypeError
,"null reference");
19862 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTimeSpan
,
19863 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19865 if (arg3
== NULL
) {
19866 PyErr_SetString(PyExc_TypeError
,"null reference");
19870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19871 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
19873 wxPyEndAllowThreads(__tstate
);
19874 if (PyErr_Occurred()) SWIG_fail
;
19877 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19885 static PyObject
*_wrap_DateTime_AddTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19886 PyObject
*resultobj
;
19887 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19888 wxTimeSpan
*arg2
= 0 ;
19889 wxDateTime
*result
;
19890 PyObject
* obj0
= 0 ;
19891 PyObject
* obj1
= 0 ;
19892 char *kwnames
[] = {
19893 (char *) "self",(char *) "diff", NULL
19896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) goto fail
;
19897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19899 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
19900 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19902 if (arg2
== NULL
) {
19903 PyErr_SetString(PyExc_TypeError
,"null reference");
19907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19909 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
19910 result
= (wxDateTime
*) &_result_ref
;
19913 wxPyEndAllowThreads(__tstate
);
19914 if (PyErr_Occurred()) SWIG_fail
;
19916 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19923 static PyObject
*_wrap_DateTime_AddDS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19924 PyObject
*resultobj
;
19925 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19926 wxDateSpan
*arg2
= 0 ;
19927 wxDateTime
*result
;
19928 PyObject
* obj0
= 0 ;
19929 PyObject
* obj1
= 0 ;
19930 char *kwnames
[] = {
19931 (char *) "self",(char *) "diff", NULL
19934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) goto fail
;
19935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19937 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
19938 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19940 if (arg2
== NULL
) {
19941 PyErr_SetString(PyExc_TypeError
,"null reference");
19945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19947 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
19948 result
= (wxDateTime
*) &_result_ref
;
19951 wxPyEndAllowThreads(__tstate
);
19952 if (PyErr_Occurred()) SWIG_fail
;
19954 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19961 static PyObject
*_wrap_DateTime_SubtractTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19962 PyObject
*resultobj
;
19963 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19964 wxTimeSpan
*arg2
= 0 ;
19965 wxDateTime
*result
;
19966 PyObject
* obj0
= 0 ;
19967 PyObject
* obj1
= 0 ;
19968 char *kwnames
[] = {
19969 (char *) "self",(char *) "diff", NULL
19972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) goto fail
;
19973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19975 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
19976 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19978 if (arg2
== NULL
) {
19979 PyErr_SetString(PyExc_TypeError
,"null reference");
19983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19985 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
19986 result
= (wxDateTime
*) &_result_ref
;
19989 wxPyEndAllowThreads(__tstate
);
19990 if (PyErr_Occurred()) SWIG_fail
;
19992 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19999 static PyObject
*_wrap_DateTime_SubtractDS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20000 PyObject
*resultobj
;
20001 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20002 wxDateSpan
*arg2
= 0 ;
20003 wxDateTime
*result
;
20004 PyObject
* obj0
= 0 ;
20005 PyObject
* obj1
= 0 ;
20006 char *kwnames
[] = {
20007 (char *) "self",(char *) "diff", NULL
20010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) goto fail
;
20011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20013 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20014 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20016 if (arg2
== NULL
) {
20017 PyErr_SetString(PyExc_TypeError
,"null reference");
20021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20023 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
20024 result
= (wxDateTime
*) &_result_ref
;
20027 wxPyEndAllowThreads(__tstate
);
20028 if (PyErr_Occurred()) SWIG_fail
;
20030 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20037 static PyObject
*_wrap_DateTime_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20038 PyObject
*resultobj
;
20039 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20040 wxDateTime
*arg2
= 0 ;
20042 PyObject
* obj0
= 0 ;
20043 PyObject
* obj1
= 0 ;
20044 char *kwnames
[] = {
20045 (char *) "self",(char *) "dt", NULL
20048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
20049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20051 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20052 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20054 if (arg2
== NULL
) {
20055 PyErr_SetString(PyExc_TypeError
,"null reference");
20059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20060 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
20062 wxPyEndAllowThreads(__tstate
);
20063 if (PyErr_Occurred()) SWIG_fail
;
20066 wxTimeSpan
* resultptr
;
20067 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
20068 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
20076 static PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*self
, PyObject
*args
) {
20077 PyObject
*resultobj
;
20078 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20079 wxTimeSpan
*arg2
= 0 ;
20080 wxDateTime
*result
;
20081 PyObject
* obj0
= 0 ;
20082 PyObject
* obj1
= 0 ;
20084 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
20085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20087 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20088 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20090 if (arg2
== NULL
) {
20091 PyErr_SetString(PyExc_TypeError
,"null reference");
20095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20097 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
20098 result
= (wxDateTime
*) &_result_ref
;
20101 wxPyEndAllowThreads(__tstate
);
20102 if (PyErr_Occurred()) SWIG_fail
;
20104 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20111 static PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*self
, PyObject
*args
) {
20112 PyObject
*resultobj
;
20113 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20114 wxDateSpan
*arg2
= 0 ;
20115 wxDateTime
*result
;
20116 PyObject
* obj0
= 0 ;
20117 PyObject
* obj1
= 0 ;
20119 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
20120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20122 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20123 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20125 if (arg2
== NULL
) {
20126 PyErr_SetString(PyExc_TypeError
,"null reference");
20130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20132 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
20133 result
= (wxDateTime
*) &_result_ref
;
20136 wxPyEndAllowThreads(__tstate
);
20137 if (PyErr_Occurred()) SWIG_fail
;
20139 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20146 static PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
20151 argc
= PyObject_Length(args
);
20152 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20153 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20159 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20169 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20177 return _wrap_DateTime___iadd____SWIG_0(self
,args
);
20185 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20195 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20203 return _wrap_DateTime___iadd____SWIG_1(self
,args
);
20208 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___iadd__'");
20213 static PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*self
, PyObject
*args
) {
20214 PyObject
*resultobj
;
20215 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20216 wxTimeSpan
*arg2
= 0 ;
20217 wxDateTime
*result
;
20218 PyObject
* obj0
= 0 ;
20219 PyObject
* obj1
= 0 ;
20221 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
20222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20224 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20225 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20227 if (arg2
== NULL
) {
20228 PyErr_SetString(PyExc_TypeError
,"null reference");
20232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20234 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
20235 result
= (wxDateTime
*) &_result_ref
;
20238 wxPyEndAllowThreads(__tstate
);
20239 if (PyErr_Occurred()) SWIG_fail
;
20241 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20248 static PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*self
, PyObject
*args
) {
20249 PyObject
*resultobj
;
20250 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20251 wxDateSpan
*arg2
= 0 ;
20252 wxDateTime
*result
;
20253 PyObject
* obj0
= 0 ;
20254 PyObject
* obj1
= 0 ;
20256 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
20257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20259 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20260 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20262 if (arg2
== NULL
) {
20263 PyErr_SetString(PyExc_TypeError
,"null reference");
20267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20269 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
20270 result
= (wxDateTime
*) &_result_ref
;
20273 wxPyEndAllowThreads(__tstate
);
20274 if (PyErr_Occurred()) SWIG_fail
;
20276 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20283 static PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
20288 argc
= PyObject_Length(args
);
20289 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20290 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20296 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20306 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20314 return _wrap_DateTime___isub____SWIG_0(self
,args
);
20322 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20332 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20340 return _wrap_DateTime___isub____SWIG_1(self
,args
);
20345 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___isub__'");
20350 static PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*self
, PyObject
*args
) {
20351 PyObject
*resultobj
;
20352 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20353 wxTimeSpan
*arg2
= 0 ;
20355 PyObject
* obj0
= 0 ;
20356 PyObject
* obj1
= 0 ;
20358 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
20359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20361 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20362 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20364 if (arg2
== NULL
) {
20365 PyErr_SetString(PyExc_TypeError
,"null reference");
20369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20370 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
20372 wxPyEndAllowThreads(__tstate
);
20373 if (PyErr_Occurred()) SWIG_fail
;
20376 wxDateTime
* resultptr
;
20377 resultptr
= new wxDateTime((wxDateTime
&) result
);
20378 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20386 static PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*self
, PyObject
*args
) {
20387 PyObject
*resultobj
;
20388 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20389 wxDateSpan
*arg2
= 0 ;
20391 PyObject
* obj0
= 0 ;
20392 PyObject
* obj1
= 0 ;
20394 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
20395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20397 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20398 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20400 if (arg2
== NULL
) {
20401 PyErr_SetString(PyExc_TypeError
,"null reference");
20405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20406 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
20408 wxPyEndAllowThreads(__tstate
);
20409 if (PyErr_Occurred()) SWIG_fail
;
20412 wxDateTime
* resultptr
;
20413 resultptr
= new wxDateTime((wxDateTime
&) result
);
20414 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20422 static PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
20427 argc
= PyObject_Length(args
);
20428 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20429 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20435 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20445 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20453 return _wrap_DateTime___add____SWIG_0(self
,args
);
20461 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20471 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20479 return _wrap_DateTime___add____SWIG_1(self
,args
);
20484 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___add__'");
20489 static PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*self
, PyObject
*args
) {
20490 PyObject
*resultobj
;
20491 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20492 wxDateTime
*arg2
= 0 ;
20494 PyObject
* obj0
= 0 ;
20495 PyObject
* obj1
= 0 ;
20497 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20500 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20501 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20503 if (arg2
== NULL
) {
20504 PyErr_SetString(PyExc_TypeError
,"null reference");
20508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20509 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
20511 wxPyEndAllowThreads(__tstate
);
20512 if (PyErr_Occurred()) SWIG_fail
;
20515 wxTimeSpan
* resultptr
;
20516 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
20517 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
20525 static PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*self
, PyObject
*args
) {
20526 PyObject
*resultobj
;
20527 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20528 wxTimeSpan
*arg2
= 0 ;
20530 PyObject
* obj0
= 0 ;
20531 PyObject
* obj1
= 0 ;
20533 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20536 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20537 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20539 if (arg2
== NULL
) {
20540 PyErr_SetString(PyExc_TypeError
,"null reference");
20544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20545 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
20547 wxPyEndAllowThreads(__tstate
);
20548 if (PyErr_Occurred()) SWIG_fail
;
20551 wxDateTime
* resultptr
;
20552 resultptr
= new wxDateTime((wxDateTime
&) result
);
20553 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20561 static PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*self
, PyObject
*args
) {
20562 PyObject
*resultobj
;
20563 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20564 wxDateSpan
*arg2
= 0 ;
20566 PyObject
* obj0
= 0 ;
20567 PyObject
* obj1
= 0 ;
20569 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20572 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20573 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20575 if (arg2
== NULL
) {
20576 PyErr_SetString(PyExc_TypeError
,"null reference");
20580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20581 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
20583 wxPyEndAllowThreads(__tstate
);
20584 if (PyErr_Occurred()) SWIG_fail
;
20587 wxDateTime
* resultptr
;
20588 resultptr
= new wxDateTime((wxDateTime
&) result
);
20589 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20597 static PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
20602 argc
= PyObject_Length(args
);
20603 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20604 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20610 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20620 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20628 return _wrap_DateTime___sub____SWIG_0(self
,args
);
20636 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20646 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20654 return _wrap_DateTime___sub____SWIG_1(self
,args
);
20662 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20672 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20680 return _wrap_DateTime___sub____SWIG_2(self
,args
);
20685 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___sub__'");
20690 static PyObject
*_wrap_DateTime___lt__(PyObject
*self
, PyObject
*args
) {
20691 PyObject
*resultobj
;
20692 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20693 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20695 PyObject
* obj0
= 0 ;
20696 PyObject
* obj1
= 0 ;
20698 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___lt__",&obj0
,&obj1
)) goto fail
;
20699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20701 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20705 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const *)arg2
);
20707 wxPyEndAllowThreads(__tstate
);
20708 if (PyErr_Occurred()) SWIG_fail
;
20711 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20719 static PyObject
*_wrap_DateTime___le__(PyObject
*self
, PyObject
*args
) {
20720 PyObject
*resultobj
;
20721 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20722 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20724 PyObject
* obj0
= 0 ;
20725 PyObject
* obj1
= 0 ;
20727 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___le__",&obj0
,&obj1
)) goto fail
;
20728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20730 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20734 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const *)arg2
);
20736 wxPyEndAllowThreads(__tstate
);
20737 if (PyErr_Occurred()) SWIG_fail
;
20740 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20748 static PyObject
*_wrap_DateTime___gt__(PyObject
*self
, PyObject
*args
) {
20749 PyObject
*resultobj
;
20750 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20751 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20753 PyObject
* obj0
= 0 ;
20754 PyObject
* obj1
= 0 ;
20756 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___gt__",&obj0
,&obj1
)) goto fail
;
20757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20759 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20763 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const *)arg2
);
20765 wxPyEndAllowThreads(__tstate
);
20766 if (PyErr_Occurred()) SWIG_fail
;
20769 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20777 static PyObject
*_wrap_DateTime___ge__(PyObject
*self
, PyObject
*args
) {
20778 PyObject
*resultobj
;
20779 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20780 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20782 PyObject
* obj0
= 0 ;
20783 PyObject
* obj1
= 0 ;
20785 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ge__",&obj0
,&obj1
)) goto fail
;
20786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20788 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20792 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const *)arg2
);
20794 wxPyEndAllowThreads(__tstate
);
20795 if (PyErr_Occurred()) SWIG_fail
;
20798 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20806 static PyObject
*_wrap_DateTime___eq__(PyObject
*self
, PyObject
*args
) {
20807 PyObject
*resultobj
;
20808 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20809 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20811 PyObject
* obj0
= 0 ;
20812 PyObject
* obj1
= 0 ;
20814 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___eq__",&obj0
,&obj1
)) goto fail
;
20815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20817 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20821 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const *)arg2
);
20823 wxPyEndAllowThreads(__tstate
);
20824 if (PyErr_Occurred()) SWIG_fail
;
20827 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20835 static PyObject
*_wrap_DateTime___ne__(PyObject
*self
, PyObject
*args
) {
20836 PyObject
*resultobj
;
20837 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20838 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20840 PyObject
* obj0
= 0 ;
20841 PyObject
* obj1
= 0 ;
20843 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ne__",&obj0
,&obj1
)) goto fail
;
20844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20846 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20850 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const *)arg2
);
20852 wxPyEndAllowThreads(__tstate
);
20853 if (PyErr_Occurred()) SWIG_fail
;
20856 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20864 static PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20865 PyObject
*resultobj
;
20866 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20867 wxString
*arg2
= 0 ;
20869 bool temp2
= False
;
20870 PyObject
* obj0
= 0 ;
20871 PyObject
* obj1
= 0 ;
20872 char *kwnames
[] = {
20873 (char *) "self",(char *) "date", NULL
20876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) goto fail
;
20877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20880 arg2
= wxString_in_helper(obj1
);
20881 if (arg2
== NULL
) SWIG_fail
;
20885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20886 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
20888 wxPyEndAllowThreads(__tstate
);
20889 if (PyErr_Occurred()) SWIG_fail
;
20891 resultobj
= SWIG_FromInt((int)result
);
20906 static PyObject
*_wrap_DateTime_ParseFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20907 PyObject
*resultobj
;
20908 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20909 wxString
*arg2
= 0 ;
20910 wxString
const &arg3_defvalue
= wxPyDateFormatStr
;
20911 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20912 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
20913 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
20915 bool temp2
= False
;
20916 bool temp3
= False
;
20917 PyObject
* obj0
= 0 ;
20918 PyObject
* obj1
= 0 ;
20919 PyObject
* obj2
= 0 ;
20920 PyObject
* obj3
= 0 ;
20921 char *kwnames
[] = {
20922 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
20925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20929 arg2
= wxString_in_helper(obj1
);
20930 if (arg2
== NULL
) SWIG_fail
;
20935 arg3
= wxString_in_helper(obj2
);
20936 if (arg3
== NULL
) SWIG_fail
;
20941 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDateTime
,
20942 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20944 if (arg4
== NULL
) {
20945 PyErr_SetString(PyExc_TypeError
,"null reference");
20950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20951 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
20953 wxPyEndAllowThreads(__tstate
);
20954 if (PyErr_Occurred()) SWIG_fail
;
20956 resultobj
= SWIG_FromInt((int)result
);
20979 static PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20980 PyObject
*resultobj
;
20981 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20982 wxString
*arg2
= 0 ;
20984 bool temp2
= False
;
20985 PyObject
* obj0
= 0 ;
20986 PyObject
* obj1
= 0 ;
20987 char *kwnames
[] = {
20988 (char *) "self",(char *) "datetime", NULL
20991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) goto fail
;
20992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20995 arg2
= wxString_in_helper(obj1
);
20996 if (arg2
== NULL
) SWIG_fail
;
21000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21001 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
21003 wxPyEndAllowThreads(__tstate
);
21004 if (PyErr_Occurred()) SWIG_fail
;
21006 resultobj
= SWIG_FromInt((int)result
);
21021 static PyObject
*_wrap_DateTime_ParseDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21022 PyObject
*resultobj
;
21023 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21024 wxString
*arg2
= 0 ;
21026 bool temp2
= False
;
21027 PyObject
* obj0
= 0 ;
21028 PyObject
* obj1
= 0 ;
21029 char *kwnames
[] = {
21030 (char *) "self",(char *) "date", NULL
21033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) goto fail
;
21034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21037 arg2
= wxString_in_helper(obj1
);
21038 if (arg2
== NULL
) SWIG_fail
;
21042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21043 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
21045 wxPyEndAllowThreads(__tstate
);
21046 if (PyErr_Occurred()) SWIG_fail
;
21048 resultobj
= SWIG_FromInt((int)result
);
21063 static PyObject
*_wrap_DateTime_ParseTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21064 PyObject
*resultobj
;
21065 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21066 wxString
*arg2
= 0 ;
21068 bool temp2
= False
;
21069 PyObject
* obj0
= 0 ;
21070 PyObject
* obj1
= 0 ;
21071 char *kwnames
[] = {
21072 (char *) "self",(char *) "time", NULL
21075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) goto fail
;
21076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21079 arg2
= wxString_in_helper(obj1
);
21080 if (arg2
== NULL
) SWIG_fail
;
21084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21085 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
21087 wxPyEndAllowThreads(__tstate
);
21088 if (PyErr_Occurred()) SWIG_fail
;
21090 resultobj
= SWIG_FromInt((int)result
);
21105 static PyObject
*_wrap_DateTime_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21106 PyObject
*resultobj
;
21107 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21108 wxString
const &arg2_defvalue
= wxPyDateFormatStr
;
21109 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
21110 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
21111 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
21113 bool temp2
= False
;
21114 bool temp3
= False
;
21115 PyObject
* obj0
= 0 ;
21116 PyObject
* obj1
= 0 ;
21117 PyObject
* obj2
= 0 ;
21118 char *kwnames
[] = {
21119 (char *) "self",(char *) "format",(char *) "tz", NULL
21122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21127 arg2
= wxString_in_helper(obj1
);
21128 if (arg2
== NULL
) SWIG_fail
;
21134 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
21139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21140 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
21142 wxPyEndAllowThreads(__tstate
);
21143 if (PyErr_Occurred()) SWIG_fail
;
21147 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21149 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21157 if (temp3
) delete arg3
;
21166 if (temp3
) delete arg3
;
21172 static PyObject
*_wrap_DateTime_FormatDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21173 PyObject
*resultobj
;
21174 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21176 PyObject
* obj0
= 0 ;
21177 char *kwnames
[] = {
21178 (char *) "self", NULL
21181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatDate",kwnames
,&obj0
)) goto fail
;
21182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21186 result
= ((wxDateTime
const *)arg1
)->FormatDate();
21188 wxPyEndAllowThreads(__tstate
);
21189 if (PyErr_Occurred()) SWIG_fail
;
21193 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21195 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21204 static PyObject
*_wrap_DateTime_FormatTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21205 PyObject
*resultobj
;
21206 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21208 PyObject
* obj0
= 0 ;
21209 char *kwnames
[] = {
21210 (char *) "self", NULL
21213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatTime",kwnames
,&obj0
)) goto fail
;
21214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21218 result
= ((wxDateTime
const *)arg1
)->FormatTime();
21220 wxPyEndAllowThreads(__tstate
);
21221 if (PyErr_Occurred()) SWIG_fail
;
21225 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21227 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21236 static PyObject
*_wrap_DateTime_FormatISODate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21237 PyObject
*resultobj
;
21238 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21240 PyObject
* obj0
= 0 ;
21241 char *kwnames
[] = {
21242 (char *) "self", NULL
21245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISODate",kwnames
,&obj0
)) goto fail
;
21246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21250 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
21252 wxPyEndAllowThreads(__tstate
);
21253 if (PyErr_Occurred()) SWIG_fail
;
21257 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21259 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21268 static PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21269 PyObject
*resultobj
;
21270 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21272 PyObject
* obj0
= 0 ;
21273 char *kwnames
[] = {
21274 (char *) "self", NULL
21277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISOTime",kwnames
,&obj0
)) goto fail
;
21278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21282 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
21284 wxPyEndAllowThreads(__tstate
);
21285 if (PyErr_Occurred()) SWIG_fail
;
21289 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21291 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21300 static PyObject
* DateTime_swigregister(PyObject
*self
, PyObject
*args
) {
21302 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21303 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime
, obj
);
21305 return Py_BuildValue((char *)"");
21307 static PyObject
*_wrap_TimeSpan_Seconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21308 PyObject
*resultobj
;
21311 PyObject
* obj0
= 0 ;
21312 char *kwnames
[] = {
21313 (char *) "sec", NULL
21316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",kwnames
,&obj0
)) goto fail
;
21317 arg1
= (long) SWIG_AsLong(obj0
);
21318 if (PyErr_Occurred()) SWIG_fail
;
21320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21321 result
= wxTimeSpan::Seconds(arg1
);
21323 wxPyEndAllowThreads(__tstate
);
21324 if (PyErr_Occurred()) SWIG_fail
;
21327 wxTimeSpan
* resultptr
;
21328 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21329 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21337 static PyObject
*_wrap_TimeSpan_Second(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21338 PyObject
*resultobj
;
21340 char *kwnames
[] = {
21344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Second",kwnames
)) goto fail
;
21346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21347 result
= wxTimeSpan::Second();
21349 wxPyEndAllowThreads(__tstate
);
21350 if (PyErr_Occurred()) SWIG_fail
;
21353 wxTimeSpan
* resultptr
;
21354 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21355 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21363 static PyObject
*_wrap_TimeSpan_Minutes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21364 PyObject
*resultobj
;
21367 PyObject
* obj0
= 0 ;
21368 char *kwnames
[] = {
21369 (char *) "min", NULL
21372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",kwnames
,&obj0
)) goto fail
;
21373 arg1
= (long) SWIG_AsLong(obj0
);
21374 if (PyErr_Occurred()) SWIG_fail
;
21376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21377 result
= wxTimeSpan::Minutes(arg1
);
21379 wxPyEndAllowThreads(__tstate
);
21380 if (PyErr_Occurred()) SWIG_fail
;
21383 wxTimeSpan
* resultptr
;
21384 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21385 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21393 static PyObject
*_wrap_TimeSpan_Minute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21394 PyObject
*resultobj
;
21396 char *kwnames
[] = {
21400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Minute",kwnames
)) goto fail
;
21402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21403 result
= wxTimeSpan::Minute();
21405 wxPyEndAllowThreads(__tstate
);
21406 if (PyErr_Occurred()) SWIG_fail
;
21409 wxTimeSpan
* resultptr
;
21410 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21411 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21419 static PyObject
*_wrap_TimeSpan_Hours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21420 PyObject
*resultobj
;
21423 PyObject
* obj0
= 0 ;
21424 char *kwnames
[] = {
21425 (char *) "hours", NULL
21428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",kwnames
,&obj0
)) goto fail
;
21429 arg1
= (long) SWIG_AsLong(obj0
);
21430 if (PyErr_Occurred()) SWIG_fail
;
21432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21433 result
= wxTimeSpan::Hours(arg1
);
21435 wxPyEndAllowThreads(__tstate
);
21436 if (PyErr_Occurred()) SWIG_fail
;
21439 wxTimeSpan
* resultptr
;
21440 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21441 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21449 static PyObject
*_wrap_TimeSpan_Hour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21450 PyObject
*resultobj
;
21452 char *kwnames
[] = {
21456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Hour",kwnames
)) goto fail
;
21458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21459 result
= wxTimeSpan::Hour();
21461 wxPyEndAllowThreads(__tstate
);
21462 if (PyErr_Occurred()) SWIG_fail
;
21465 wxTimeSpan
* resultptr
;
21466 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21467 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21475 static PyObject
*_wrap_TimeSpan_Days(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21476 PyObject
*resultobj
;
21479 PyObject
* obj0
= 0 ;
21480 char *kwnames
[] = {
21481 (char *) "days", NULL
21484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Days",kwnames
,&obj0
)) goto fail
;
21485 arg1
= (long) SWIG_AsLong(obj0
);
21486 if (PyErr_Occurred()) SWIG_fail
;
21488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21489 result
= wxTimeSpan::Days(arg1
);
21491 wxPyEndAllowThreads(__tstate
);
21492 if (PyErr_Occurred()) SWIG_fail
;
21495 wxTimeSpan
* resultptr
;
21496 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21497 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21505 static PyObject
*_wrap_TimeSpan_Day(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21506 PyObject
*resultobj
;
21508 char *kwnames
[] = {
21512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Day",kwnames
)) goto fail
;
21514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21515 result
= wxTimeSpan::Day();
21517 wxPyEndAllowThreads(__tstate
);
21518 if (PyErr_Occurred()) SWIG_fail
;
21521 wxTimeSpan
* resultptr
;
21522 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21523 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21531 static PyObject
*_wrap_TimeSpan_Weeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21532 PyObject
*resultobj
;
21535 PyObject
* obj0
= 0 ;
21536 char *kwnames
[] = {
21537 (char *) "days", NULL
21540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) goto fail
;
21541 arg1
= (long) SWIG_AsLong(obj0
);
21542 if (PyErr_Occurred()) SWIG_fail
;
21544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21545 result
= wxTimeSpan::Weeks(arg1
);
21547 wxPyEndAllowThreads(__tstate
);
21548 if (PyErr_Occurred()) SWIG_fail
;
21551 wxTimeSpan
* resultptr
;
21552 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21553 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21561 static PyObject
*_wrap_TimeSpan_Week(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21562 PyObject
*resultobj
;
21564 char *kwnames
[] = {
21568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Week",kwnames
)) goto fail
;
21570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21571 result
= wxTimeSpan::Week();
21573 wxPyEndAllowThreads(__tstate
);
21574 if (PyErr_Occurred()) SWIG_fail
;
21577 wxTimeSpan
* resultptr
;
21578 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21579 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21587 static PyObject
*_wrap_new_TimeSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21588 PyObject
*resultobj
;
21589 long arg1
= (long) 0 ;
21590 long arg2
= (long) 0 ;
21591 long arg3
= (long) 0 ;
21592 long arg4
= (long) 0 ;
21593 wxTimeSpan
*result
;
21594 PyObject
* obj0
= 0 ;
21595 PyObject
* obj1
= 0 ;
21596 PyObject
* obj2
= 0 ;
21597 PyObject
* obj3
= 0 ;
21598 char *kwnames
[] = {
21599 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
21602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21604 arg1
= (long) SWIG_AsLong(obj0
);
21605 if (PyErr_Occurred()) SWIG_fail
;
21608 arg2
= (long) SWIG_AsLong(obj1
);
21609 if (PyErr_Occurred()) SWIG_fail
;
21612 arg3
= (long) SWIG_AsLong(obj2
);
21613 if (PyErr_Occurred()) SWIG_fail
;
21616 arg4
= (long) SWIG_AsLong(obj3
);
21617 if (PyErr_Occurred()) SWIG_fail
;
21620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21621 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
21623 wxPyEndAllowThreads(__tstate
);
21624 if (PyErr_Occurred()) SWIG_fail
;
21626 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
21633 static PyObject
*_wrap_delete_TimeSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21634 PyObject
*resultobj
;
21635 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21636 PyObject
* obj0
= 0 ;
21637 char *kwnames
[] = {
21638 (char *) "self", NULL
21641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimeSpan",kwnames
,&obj0
)) goto fail
;
21642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21648 wxPyEndAllowThreads(__tstate
);
21649 if (PyErr_Occurred()) SWIG_fail
;
21651 Py_INCREF(Py_None
); resultobj
= Py_None
;
21658 static PyObject
*_wrap_TimeSpan_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21659 PyObject
*resultobj
;
21660 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21661 wxTimeSpan
*arg2
= 0 ;
21662 wxTimeSpan
*result
;
21663 PyObject
* obj0
= 0 ;
21664 PyObject
* obj1
= 0 ;
21665 char *kwnames
[] = {
21666 (char *) "self",(char *) "diff", NULL
21669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
21670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21672 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21673 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21675 if (arg2
== NULL
) {
21676 PyErr_SetString(PyExc_TypeError
,"null reference");
21680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21682 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
21683 result
= (wxTimeSpan
*) &_result_ref
;
21686 wxPyEndAllowThreads(__tstate
);
21687 if (PyErr_Occurred()) SWIG_fail
;
21689 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21696 static PyObject
*_wrap_TimeSpan_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21697 PyObject
*resultobj
;
21698 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21699 wxTimeSpan
*arg2
= 0 ;
21700 wxTimeSpan
*result
;
21701 PyObject
* obj0
= 0 ;
21702 PyObject
* obj1
= 0 ;
21703 char *kwnames
[] = {
21704 (char *) "self",(char *) "diff", NULL
21707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
21708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21710 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21711 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21713 if (arg2
== NULL
) {
21714 PyErr_SetString(PyExc_TypeError
,"null reference");
21718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21720 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
21721 result
= (wxTimeSpan
*) &_result_ref
;
21724 wxPyEndAllowThreads(__tstate
);
21725 if (PyErr_Occurred()) SWIG_fail
;
21727 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21734 static PyObject
*_wrap_TimeSpan_Multiply(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21735 PyObject
*resultobj
;
21736 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21738 wxTimeSpan
*result
;
21739 PyObject
* obj0
= 0 ;
21740 PyObject
* obj1
= 0 ;
21741 char *kwnames
[] = {
21742 (char *) "self",(char *) "n", NULL
21745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
21746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21748 arg2
= (int) SWIG_AsInt(obj1
);
21749 if (PyErr_Occurred()) SWIG_fail
;
21751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21753 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
21754 result
= (wxTimeSpan
*) &_result_ref
;
21757 wxPyEndAllowThreads(__tstate
);
21758 if (PyErr_Occurred()) SWIG_fail
;
21760 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21767 static PyObject
*_wrap_TimeSpan_Neg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21768 PyObject
*resultobj
;
21769 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21770 wxTimeSpan
*result
;
21771 PyObject
* obj0
= 0 ;
21772 char *kwnames
[] = {
21773 (char *) "self", NULL
21776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Neg",kwnames
,&obj0
)) goto fail
;
21777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21782 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
21783 result
= (wxTimeSpan
*) &_result_ref
;
21786 wxPyEndAllowThreads(__tstate
);
21787 if (PyErr_Occurred()) SWIG_fail
;
21789 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21796 static PyObject
*_wrap_TimeSpan_Abs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21797 PyObject
*resultobj
;
21798 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21800 PyObject
* obj0
= 0 ;
21801 char *kwnames
[] = {
21802 (char *) "self", NULL
21805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Abs",kwnames
,&obj0
)) goto fail
;
21806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21810 result
= ((wxTimeSpan
const *)arg1
)->Abs();
21812 wxPyEndAllowThreads(__tstate
);
21813 if (PyErr_Occurred()) SWIG_fail
;
21816 wxTimeSpan
* resultptr
;
21817 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21818 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21826 static PyObject
*_wrap_TimeSpan___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21827 PyObject
*resultobj
;
21828 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21829 wxTimeSpan
*arg2
= 0 ;
21830 wxTimeSpan
*result
;
21831 PyObject
* obj0
= 0 ;
21832 PyObject
* obj1
= 0 ;
21833 char *kwnames
[] = {
21834 (char *) "self",(char *) "diff", NULL
21837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
21838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21840 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21841 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21843 if (arg2
== NULL
) {
21844 PyErr_SetString(PyExc_TypeError
,"null reference");
21848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21850 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
21851 result
= (wxTimeSpan
*) &_result_ref
;
21854 wxPyEndAllowThreads(__tstate
);
21855 if (PyErr_Occurred()) SWIG_fail
;
21857 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21864 static PyObject
*_wrap_TimeSpan___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21865 PyObject
*resultobj
;
21866 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21867 wxTimeSpan
*arg2
= 0 ;
21868 wxTimeSpan
*result
;
21869 PyObject
* obj0
= 0 ;
21870 PyObject
* obj1
= 0 ;
21871 char *kwnames
[] = {
21872 (char *) "self",(char *) "diff", NULL
21875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
21876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21878 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21879 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21881 if (arg2
== NULL
) {
21882 PyErr_SetString(PyExc_TypeError
,"null reference");
21886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21888 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
21889 result
= (wxTimeSpan
*) &_result_ref
;
21892 wxPyEndAllowThreads(__tstate
);
21893 if (PyErr_Occurred()) SWIG_fail
;
21895 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21902 static PyObject
*_wrap_TimeSpan___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21903 PyObject
*resultobj
;
21904 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21906 wxTimeSpan
*result
;
21907 PyObject
* obj0
= 0 ;
21908 PyObject
* obj1
= 0 ;
21909 char *kwnames
[] = {
21910 (char *) "self",(char *) "n", NULL
21913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
21914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21916 arg2
= (int) SWIG_AsInt(obj1
);
21917 if (PyErr_Occurred()) SWIG_fail
;
21919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21921 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
21922 result
= (wxTimeSpan
*) &_result_ref
;
21925 wxPyEndAllowThreads(__tstate
);
21926 if (PyErr_Occurred()) SWIG_fail
;
21928 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21935 static PyObject
*_wrap_TimeSpan___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21936 PyObject
*resultobj
;
21937 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21938 wxTimeSpan
*result
;
21939 PyObject
* obj0
= 0 ;
21940 char *kwnames
[] = {
21941 (char *) "self", NULL
21944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan___neg__",kwnames
,&obj0
)) goto fail
;
21945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21950 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
21951 result
= (wxTimeSpan
*) &_result_ref
;
21954 wxPyEndAllowThreads(__tstate
);
21955 if (PyErr_Occurred()) SWIG_fail
;
21957 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21964 static PyObject
*_wrap_TimeSpan___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21965 PyObject
*resultobj
;
21966 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21967 wxTimeSpan
*arg2
= 0 ;
21969 PyObject
* obj0
= 0 ;
21970 PyObject
* obj1
= 0 ;
21971 char *kwnames
[] = {
21972 (char *) "self",(char *) "other", NULL
21975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
21976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21978 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21979 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21981 if (arg2
== NULL
) {
21982 PyErr_SetString(PyExc_TypeError
,"null reference");
21986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21987 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
21989 wxPyEndAllowThreads(__tstate
);
21990 if (PyErr_Occurred()) SWIG_fail
;
21993 wxTimeSpan
* resultptr
;
21994 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21995 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22003 static PyObject
*_wrap_TimeSpan___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22004 PyObject
*resultobj
;
22005 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22006 wxTimeSpan
*arg2
= 0 ;
22008 PyObject
* obj0
= 0 ;
22009 PyObject
* obj1
= 0 ;
22010 char *kwnames
[] = {
22011 (char *) "self",(char *) "other", NULL
22014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
22015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22017 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22018 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22020 if (arg2
== NULL
) {
22021 PyErr_SetString(PyExc_TypeError
,"null reference");
22025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22026 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
22028 wxPyEndAllowThreads(__tstate
);
22029 if (PyErr_Occurred()) SWIG_fail
;
22032 wxTimeSpan
* resultptr
;
22033 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22034 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22042 static PyObject
*_wrap_TimeSpan___mul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22043 PyObject
*resultobj
;
22044 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22047 PyObject
* obj0
= 0 ;
22048 PyObject
* obj1
= 0 ;
22049 char *kwnames
[] = {
22050 (char *) "self",(char *) "n", NULL
22053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
22054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22056 arg2
= (int) SWIG_AsInt(obj1
);
22057 if (PyErr_Occurred()) SWIG_fail
;
22059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22060 result
= wxTimeSpan___mul__(arg1
,arg2
);
22062 wxPyEndAllowThreads(__tstate
);
22063 if (PyErr_Occurred()) SWIG_fail
;
22066 wxTimeSpan
* resultptr
;
22067 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22068 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22076 static PyObject
*_wrap_TimeSpan___rmul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22077 PyObject
*resultobj
;
22078 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22081 PyObject
* obj0
= 0 ;
22082 PyObject
* obj1
= 0 ;
22083 char *kwnames
[] = {
22084 (char *) "self",(char *) "n", NULL
22087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
22088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22090 arg2
= (int) SWIG_AsInt(obj1
);
22091 if (PyErr_Occurred()) SWIG_fail
;
22093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22094 result
= wxTimeSpan___rmul__(arg1
,arg2
);
22096 wxPyEndAllowThreads(__tstate
);
22097 if (PyErr_Occurred()) SWIG_fail
;
22100 wxTimeSpan
* resultptr
;
22101 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22102 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22110 static PyObject
*_wrap_TimeSpan___lt__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22111 PyObject
*resultobj
;
22112 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22113 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22115 PyObject
* obj0
= 0 ;
22116 PyObject
* obj1
= 0 ;
22117 char *kwnames
[] = {
22118 (char *) "self",(char *) "other", NULL
22121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
22122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22124 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22128 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const *)arg2
);
22130 wxPyEndAllowThreads(__tstate
);
22131 if (PyErr_Occurred()) SWIG_fail
;
22134 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22142 static PyObject
*_wrap_TimeSpan___le__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22143 PyObject
*resultobj
;
22144 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22145 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22147 PyObject
* obj0
= 0 ;
22148 PyObject
* obj1
= 0 ;
22149 char *kwnames
[] = {
22150 (char *) "self",(char *) "other", NULL
22153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
22154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22156 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22160 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const *)arg2
);
22162 wxPyEndAllowThreads(__tstate
);
22163 if (PyErr_Occurred()) SWIG_fail
;
22166 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22174 static PyObject
*_wrap_TimeSpan___gt__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22175 PyObject
*resultobj
;
22176 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22177 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22179 PyObject
* obj0
= 0 ;
22180 PyObject
* obj1
= 0 ;
22181 char *kwnames
[] = {
22182 (char *) "self",(char *) "other", NULL
22185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
22186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22188 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22192 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const *)arg2
);
22194 wxPyEndAllowThreads(__tstate
);
22195 if (PyErr_Occurred()) SWIG_fail
;
22198 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22206 static PyObject
*_wrap_TimeSpan___ge__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22207 PyObject
*resultobj
;
22208 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22209 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22211 PyObject
* obj0
= 0 ;
22212 PyObject
* obj1
= 0 ;
22213 char *kwnames
[] = {
22214 (char *) "self",(char *) "other", NULL
22217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
22218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22220 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22224 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const *)arg2
);
22226 wxPyEndAllowThreads(__tstate
);
22227 if (PyErr_Occurred()) SWIG_fail
;
22230 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22238 static PyObject
*_wrap_TimeSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22239 PyObject
*resultobj
;
22240 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22241 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22243 PyObject
* obj0
= 0 ;
22244 PyObject
* obj1
= 0 ;
22245 char *kwnames
[] = {
22246 (char *) "self",(char *) "other", NULL
22249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
22250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22252 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22256 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const *)arg2
);
22258 wxPyEndAllowThreads(__tstate
);
22259 if (PyErr_Occurred()) SWIG_fail
;
22262 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22270 static PyObject
*_wrap_TimeSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22271 PyObject
*resultobj
;
22272 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22273 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22275 PyObject
* obj0
= 0 ;
22276 PyObject
* obj1
= 0 ;
22277 char *kwnames
[] = {
22278 (char *) "self",(char *) "other", NULL
22281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
22282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22284 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22288 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const *)arg2
);
22290 wxPyEndAllowThreads(__tstate
);
22291 if (PyErr_Occurred()) SWIG_fail
;
22294 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22302 static PyObject
*_wrap_TimeSpan_IsNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22303 PyObject
*resultobj
;
22304 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22306 PyObject
* obj0
= 0 ;
22307 char *kwnames
[] = {
22308 (char *) "self", NULL
22311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNull",kwnames
,&obj0
)) goto fail
;
22312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22316 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
22318 wxPyEndAllowThreads(__tstate
);
22319 if (PyErr_Occurred()) SWIG_fail
;
22322 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22330 static PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22331 PyObject
*resultobj
;
22332 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22334 PyObject
* obj0
= 0 ;
22335 char *kwnames
[] = {
22336 (char *) "self", NULL
22339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsPositive",kwnames
,&obj0
)) goto fail
;
22340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22344 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
22346 wxPyEndAllowThreads(__tstate
);
22347 if (PyErr_Occurred()) SWIG_fail
;
22350 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22358 static PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22359 PyObject
*resultobj
;
22360 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22362 PyObject
* obj0
= 0 ;
22363 char *kwnames
[] = {
22364 (char *) "self", NULL
22367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNegative",kwnames
,&obj0
)) goto fail
;
22368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22372 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
22374 wxPyEndAllowThreads(__tstate
);
22375 if (PyErr_Occurred()) SWIG_fail
;
22378 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22386 static PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22387 PyObject
*resultobj
;
22388 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22389 wxTimeSpan
*arg2
= 0 ;
22391 PyObject
* obj0
= 0 ;
22392 PyObject
* obj1
= 0 ;
22393 char *kwnames
[] = {
22394 (char *) "self",(char *) "ts", NULL
22397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
22398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22400 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22401 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22403 if (arg2
== NULL
) {
22404 PyErr_SetString(PyExc_TypeError
,"null reference");
22408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22409 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
22411 wxPyEndAllowThreads(__tstate
);
22412 if (PyErr_Occurred()) SWIG_fail
;
22415 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22423 static PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22424 PyObject
*resultobj
;
22425 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22426 wxTimeSpan
*arg2
= 0 ;
22428 PyObject
* obj0
= 0 ;
22429 PyObject
* obj1
= 0 ;
22430 char *kwnames
[] = {
22431 (char *) "self",(char *) "ts", NULL
22434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22437 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22438 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22440 if (arg2
== NULL
) {
22441 PyErr_SetString(PyExc_TypeError
,"null reference");
22445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22446 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
22448 wxPyEndAllowThreads(__tstate
);
22449 if (PyErr_Occurred()) SWIG_fail
;
22452 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22460 static PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22461 PyObject
*resultobj
;
22462 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22463 wxTimeSpan
*arg2
= 0 ;
22465 PyObject
* obj0
= 0 ;
22466 PyObject
* obj1
= 0 ;
22467 char *kwnames
[] = {
22468 (char *) "self",(char *) "t", NULL
22471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22474 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22475 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22477 if (arg2
== NULL
) {
22478 PyErr_SetString(PyExc_TypeError
,"null reference");
22482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22483 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
22485 wxPyEndAllowThreads(__tstate
);
22486 if (PyErr_Occurred()) SWIG_fail
;
22489 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22497 static PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22498 PyObject
*resultobj
;
22499 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22501 PyObject
* obj0
= 0 ;
22502 char *kwnames
[] = {
22503 (char *) "self", NULL
22506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
22507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22511 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
22513 wxPyEndAllowThreads(__tstate
);
22514 if (PyErr_Occurred()) SWIG_fail
;
22516 resultobj
= SWIG_FromInt((int)result
);
22523 static PyObject
*_wrap_TimeSpan_GetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22524 PyObject
*resultobj
;
22525 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22527 PyObject
* obj0
= 0 ;
22528 char *kwnames
[] = {
22529 (char *) "self", NULL
22532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetDays",kwnames
,&obj0
)) goto fail
;
22533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22537 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
22539 wxPyEndAllowThreads(__tstate
);
22540 if (PyErr_Occurred()) SWIG_fail
;
22542 resultobj
= SWIG_FromInt((int)result
);
22549 static PyObject
*_wrap_TimeSpan_GetHours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22550 PyObject
*resultobj
;
22551 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22553 PyObject
* obj0
= 0 ;
22554 char *kwnames
[] = {
22555 (char *) "self", NULL
22558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetHours",kwnames
,&obj0
)) goto fail
;
22559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22563 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
22565 wxPyEndAllowThreads(__tstate
);
22566 if (PyErr_Occurred()) SWIG_fail
;
22568 resultobj
= SWIG_FromInt((int)result
);
22575 static PyObject
*_wrap_TimeSpan_GetMinutes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22576 PyObject
*resultobj
;
22577 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22579 PyObject
* obj0
= 0 ;
22580 char *kwnames
[] = {
22581 (char *) "self", NULL
22584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMinutes",kwnames
,&obj0
)) goto fail
;
22585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22589 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
22591 wxPyEndAllowThreads(__tstate
);
22592 if (PyErr_Occurred()) SWIG_fail
;
22594 resultobj
= SWIG_FromInt((int)result
);
22601 static PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22602 PyObject
*resultobj
;
22603 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22605 PyObject
* obj0
= 0 ;
22606 char *kwnames
[] = {
22607 (char *) "self", NULL
22610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetSeconds",kwnames
,&obj0
)) goto fail
;
22611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22615 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
22617 wxPyEndAllowThreads(__tstate
);
22618 if (PyErr_Occurred()) SWIG_fail
;
22621 PyObject
*hi
, *lo
, *shifter
, *shifted
;
22622 hi
= PyLong_FromLong( (&result
)->GetHi() );
22623 lo
= PyLong_FromLong( (&result
)->GetLo() );
22624 shifter
= PyLong_FromLong(32);
22625 shifted
= PyNumber_Lshift(hi
, shifter
);
22626 resultobj
= PyNumber_Or(shifted
, lo
);
22629 Py_DECREF(shifter
);
22630 Py_DECREF(shifted
);
22638 static PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22639 PyObject
*resultobj
;
22640 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22642 PyObject
* obj0
= 0 ;
22643 char *kwnames
[] = {
22644 (char *) "self", NULL
22647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMilliseconds",kwnames
,&obj0
)) goto fail
;
22648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22652 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
22654 wxPyEndAllowThreads(__tstate
);
22655 if (PyErr_Occurred()) SWIG_fail
;
22658 PyObject
*hi
, *lo
, *shifter
, *shifted
;
22659 hi
= PyLong_FromLong( (&result
)->GetHi() );
22660 lo
= PyLong_FromLong( (&result
)->GetLo() );
22661 shifter
= PyLong_FromLong(32);
22662 shifted
= PyNumber_Lshift(hi
, shifter
);
22663 resultobj
= PyNumber_Or(shifted
, lo
);
22666 Py_DECREF(shifter
);
22667 Py_DECREF(shifted
);
22675 static PyObject
*_wrap_TimeSpan_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22676 PyObject
*resultobj
;
22677 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22678 wxString
const &arg2_defvalue
= wxPyTimeSpanFormatStr
;
22679 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
22681 bool temp2
= False
;
22682 PyObject
* obj0
= 0 ;
22683 PyObject
* obj1
= 0 ;
22684 char *kwnames
[] = {
22685 (char *) "self",(char *) "format", NULL
22688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) goto fail
;
22689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22693 arg2
= wxString_in_helper(obj1
);
22694 if (arg2
== NULL
) SWIG_fail
;
22699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22700 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
22702 wxPyEndAllowThreads(__tstate
);
22703 if (PyErr_Occurred()) SWIG_fail
;
22707 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22709 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22726 static PyObject
* TimeSpan_swigregister(PyObject
*self
, PyObject
*args
) {
22728 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22729 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan
, obj
);
22731 return Py_BuildValue((char *)"");
22733 static PyObject
*_wrap_new_DateSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22734 PyObject
*resultobj
;
22735 int arg1
= (int) 0 ;
22736 int arg2
= (int) 0 ;
22737 int arg3
= (int) 0 ;
22738 int arg4
= (int) 0 ;
22739 wxDateSpan
*result
;
22740 PyObject
* obj0
= 0 ;
22741 PyObject
* obj1
= 0 ;
22742 PyObject
* obj2
= 0 ;
22743 PyObject
* obj3
= 0 ;
22744 char *kwnames
[] = {
22745 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
22748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22750 arg1
= (int) SWIG_AsInt(obj0
);
22751 if (PyErr_Occurred()) SWIG_fail
;
22754 arg2
= (int) SWIG_AsInt(obj1
);
22755 if (PyErr_Occurred()) SWIG_fail
;
22758 arg3
= (int) SWIG_AsInt(obj2
);
22759 if (PyErr_Occurred()) SWIG_fail
;
22762 arg4
= (int) SWIG_AsInt(obj3
);
22763 if (PyErr_Occurred()) SWIG_fail
;
22766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22767 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
22769 wxPyEndAllowThreads(__tstate
);
22770 if (PyErr_Occurred()) SWIG_fail
;
22772 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
22779 static PyObject
*_wrap_delete_DateSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22780 PyObject
*resultobj
;
22781 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22782 PyObject
* obj0
= 0 ;
22783 char *kwnames
[] = {
22784 (char *) "self", NULL
22787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateSpan",kwnames
,&obj0
)) goto fail
;
22788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22794 wxPyEndAllowThreads(__tstate
);
22795 if (PyErr_Occurred()) SWIG_fail
;
22797 Py_INCREF(Py_None
); resultobj
= Py_None
;
22804 static PyObject
*_wrap_DateSpan_Days(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22805 PyObject
*resultobj
;
22808 PyObject
* obj0
= 0 ;
22809 char *kwnames
[] = {
22810 (char *) "days", NULL
22813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",kwnames
,&obj0
)) goto fail
;
22814 arg1
= (int) SWIG_AsInt(obj0
);
22815 if (PyErr_Occurred()) SWIG_fail
;
22817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22818 result
= wxDateSpan::Days(arg1
);
22820 wxPyEndAllowThreads(__tstate
);
22821 if (PyErr_Occurred()) SWIG_fail
;
22824 wxDateSpan
* resultptr
;
22825 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22826 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22834 static PyObject
*_wrap_DateSpan_Day(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22835 PyObject
*resultobj
;
22837 char *kwnames
[] = {
22841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Day",kwnames
)) goto fail
;
22843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22844 result
= wxDateSpan::Day();
22846 wxPyEndAllowThreads(__tstate
);
22847 if (PyErr_Occurred()) SWIG_fail
;
22850 wxDateSpan
* resultptr
;
22851 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22852 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22860 static PyObject
*_wrap_DateSpan_Weeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22861 PyObject
*resultobj
;
22864 PyObject
* obj0
= 0 ;
22865 char *kwnames
[] = {
22866 (char *) "weeks", NULL
22869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",kwnames
,&obj0
)) goto fail
;
22870 arg1
= (int) SWIG_AsInt(obj0
);
22871 if (PyErr_Occurred()) SWIG_fail
;
22873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22874 result
= wxDateSpan::Weeks(arg1
);
22876 wxPyEndAllowThreads(__tstate
);
22877 if (PyErr_Occurred()) SWIG_fail
;
22880 wxDateSpan
* resultptr
;
22881 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22882 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22890 static PyObject
*_wrap_DateSpan_Week(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22891 PyObject
*resultobj
;
22893 char *kwnames
[] = {
22897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Week",kwnames
)) goto fail
;
22899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22900 result
= wxDateSpan::Week();
22902 wxPyEndAllowThreads(__tstate
);
22903 if (PyErr_Occurred()) SWIG_fail
;
22906 wxDateSpan
* resultptr
;
22907 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22908 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22916 static PyObject
*_wrap_DateSpan_Months(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22917 PyObject
*resultobj
;
22920 PyObject
* obj0
= 0 ;
22921 char *kwnames
[] = {
22922 (char *) "mon", NULL
22925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",kwnames
,&obj0
)) goto fail
;
22926 arg1
= (int) SWIG_AsInt(obj0
);
22927 if (PyErr_Occurred()) SWIG_fail
;
22929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22930 result
= wxDateSpan::Months(arg1
);
22932 wxPyEndAllowThreads(__tstate
);
22933 if (PyErr_Occurred()) SWIG_fail
;
22936 wxDateSpan
* resultptr
;
22937 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22938 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22946 static PyObject
*_wrap_DateSpan_Month(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22947 PyObject
*resultobj
;
22949 char *kwnames
[] = {
22953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Month",kwnames
)) goto fail
;
22955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22956 result
= wxDateSpan::Month();
22958 wxPyEndAllowThreads(__tstate
);
22959 if (PyErr_Occurred()) SWIG_fail
;
22962 wxDateSpan
* resultptr
;
22963 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22964 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22972 static PyObject
*_wrap_DateSpan_Years(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22973 PyObject
*resultobj
;
22976 PyObject
* obj0
= 0 ;
22977 char *kwnames
[] = {
22978 (char *) "years", NULL
22981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) goto fail
;
22982 arg1
= (int) SWIG_AsInt(obj0
);
22983 if (PyErr_Occurred()) SWIG_fail
;
22985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22986 result
= wxDateSpan::Years(arg1
);
22988 wxPyEndAllowThreads(__tstate
);
22989 if (PyErr_Occurred()) SWIG_fail
;
22992 wxDateSpan
* resultptr
;
22993 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22994 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23002 static PyObject
*_wrap_DateSpan_Year(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23003 PyObject
*resultobj
;
23005 char *kwnames
[] = {
23009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Year",kwnames
)) goto fail
;
23011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23012 result
= wxDateSpan::Year();
23014 wxPyEndAllowThreads(__tstate
);
23015 if (PyErr_Occurred()) SWIG_fail
;
23018 wxDateSpan
* resultptr
;
23019 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23020 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23028 static PyObject
*_wrap_DateSpan_SetYears(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23029 PyObject
*resultobj
;
23030 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23032 wxDateSpan
*result
;
23033 PyObject
* obj0
= 0 ;
23034 PyObject
* obj1
= 0 ;
23035 char *kwnames
[] = {
23036 (char *) "self",(char *) "n", NULL
23039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetYears",kwnames
,&obj0
,&obj1
)) goto fail
;
23040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23042 arg2
= (int) SWIG_AsInt(obj1
);
23043 if (PyErr_Occurred()) SWIG_fail
;
23045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23047 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
23048 result
= (wxDateSpan
*) &_result_ref
;
23051 wxPyEndAllowThreads(__tstate
);
23052 if (PyErr_Occurred()) SWIG_fail
;
23054 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23061 static PyObject
*_wrap_DateSpan_SetMonths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23062 PyObject
*resultobj
;
23063 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23065 wxDateSpan
*result
;
23066 PyObject
* obj0
= 0 ;
23067 PyObject
* obj1
= 0 ;
23068 char *kwnames
[] = {
23069 (char *) "self",(char *) "n", NULL
23072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetMonths",kwnames
,&obj0
,&obj1
)) goto fail
;
23073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23075 arg2
= (int) SWIG_AsInt(obj1
);
23076 if (PyErr_Occurred()) SWIG_fail
;
23078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23080 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
23081 result
= (wxDateSpan
*) &_result_ref
;
23084 wxPyEndAllowThreads(__tstate
);
23085 if (PyErr_Occurred()) SWIG_fail
;
23087 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23094 static PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23095 PyObject
*resultobj
;
23096 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23098 wxDateSpan
*result
;
23099 PyObject
* obj0
= 0 ;
23100 PyObject
* obj1
= 0 ;
23101 char *kwnames
[] = {
23102 (char *) "self",(char *) "n", NULL
23105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) goto fail
;
23106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23108 arg2
= (int) SWIG_AsInt(obj1
);
23109 if (PyErr_Occurred()) SWIG_fail
;
23111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23113 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
23114 result
= (wxDateSpan
*) &_result_ref
;
23117 wxPyEndAllowThreads(__tstate
);
23118 if (PyErr_Occurred()) SWIG_fail
;
23120 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23127 static PyObject
*_wrap_DateSpan_SetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23128 PyObject
*resultobj
;
23129 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23131 wxDateSpan
*result
;
23132 PyObject
* obj0
= 0 ;
23133 PyObject
* obj1
= 0 ;
23134 char *kwnames
[] = {
23135 (char *) "self",(char *) "n", NULL
23138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) goto fail
;
23139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23141 arg2
= (int) SWIG_AsInt(obj1
);
23142 if (PyErr_Occurred()) SWIG_fail
;
23144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23146 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
23147 result
= (wxDateSpan
*) &_result_ref
;
23150 wxPyEndAllowThreads(__tstate
);
23151 if (PyErr_Occurred()) SWIG_fail
;
23153 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23160 static PyObject
*_wrap_DateSpan_GetYears(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23161 PyObject
*resultobj
;
23162 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23164 PyObject
* obj0
= 0 ;
23165 char *kwnames
[] = {
23166 (char *) "self", NULL
23169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetYears",kwnames
,&obj0
)) goto fail
;
23170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23174 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
23176 wxPyEndAllowThreads(__tstate
);
23177 if (PyErr_Occurred()) SWIG_fail
;
23179 resultobj
= SWIG_FromInt((int)result
);
23186 static PyObject
*_wrap_DateSpan_GetMonths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23187 PyObject
*resultobj
;
23188 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23190 PyObject
* obj0
= 0 ;
23191 char *kwnames
[] = {
23192 (char *) "self", NULL
23195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetMonths",kwnames
,&obj0
)) goto fail
;
23196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23200 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
23202 wxPyEndAllowThreads(__tstate
);
23203 if (PyErr_Occurred()) SWIG_fail
;
23205 resultobj
= SWIG_FromInt((int)result
);
23212 static PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23213 PyObject
*resultobj
;
23214 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23216 PyObject
* obj0
= 0 ;
23217 char *kwnames
[] = {
23218 (char *) "self", NULL
23221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
23222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23226 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
23228 wxPyEndAllowThreads(__tstate
);
23229 if (PyErr_Occurred()) SWIG_fail
;
23231 resultobj
= SWIG_FromInt((int)result
);
23238 static PyObject
*_wrap_DateSpan_GetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23239 PyObject
*resultobj
;
23240 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23242 PyObject
* obj0
= 0 ;
23243 char *kwnames
[] = {
23244 (char *) "self", NULL
23247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetDays",kwnames
,&obj0
)) goto fail
;
23248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23252 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
23254 wxPyEndAllowThreads(__tstate
);
23255 if (PyErr_Occurred()) SWIG_fail
;
23257 resultobj
= SWIG_FromInt((int)result
);
23264 static PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23265 PyObject
*resultobj
;
23266 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23268 PyObject
* obj0
= 0 ;
23269 char *kwnames
[] = {
23270 (char *) "self", NULL
23273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetTotalDays",kwnames
,&obj0
)) goto fail
;
23274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23278 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
23280 wxPyEndAllowThreads(__tstate
);
23281 if (PyErr_Occurred()) SWIG_fail
;
23283 resultobj
= SWIG_FromInt((int)result
);
23290 static PyObject
*_wrap_DateSpan_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23291 PyObject
*resultobj
;
23292 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23293 wxDateSpan
*arg2
= 0 ;
23294 wxDateSpan
*result
;
23295 PyObject
* obj0
= 0 ;
23296 PyObject
* obj1
= 0 ;
23297 char *kwnames
[] = {
23298 (char *) "self",(char *) "other", NULL
23301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
23302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23304 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23305 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23307 if (arg2
== NULL
) {
23308 PyErr_SetString(PyExc_TypeError
,"null reference");
23312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23314 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
23315 result
= (wxDateSpan
*) &_result_ref
;
23318 wxPyEndAllowThreads(__tstate
);
23319 if (PyErr_Occurred()) SWIG_fail
;
23321 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23328 static PyObject
*_wrap_DateSpan_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23329 PyObject
*resultobj
;
23330 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23331 wxDateSpan
*arg2
= 0 ;
23332 wxDateSpan
*result
;
23333 PyObject
* obj0
= 0 ;
23334 PyObject
* obj1
= 0 ;
23335 char *kwnames
[] = {
23336 (char *) "self",(char *) "other", NULL
23339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
23340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23342 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23343 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23345 if (arg2
== NULL
) {
23346 PyErr_SetString(PyExc_TypeError
,"null reference");
23350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23352 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
23353 result
= (wxDateSpan
*) &_result_ref
;
23356 wxPyEndAllowThreads(__tstate
);
23357 if (PyErr_Occurred()) SWIG_fail
;
23359 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23366 static PyObject
*_wrap_DateSpan_Neg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23367 PyObject
*resultobj
;
23368 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23369 wxDateSpan
*result
;
23370 PyObject
* obj0
= 0 ;
23371 char *kwnames
[] = {
23372 (char *) "self", NULL
23375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Neg",kwnames
,&obj0
)) goto fail
;
23376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23381 wxDateSpan
&_result_ref
= (arg1
)->Neg();
23382 result
= (wxDateSpan
*) &_result_ref
;
23385 wxPyEndAllowThreads(__tstate
);
23386 if (PyErr_Occurred()) SWIG_fail
;
23388 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23395 static PyObject
*_wrap_DateSpan_Multiply(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23396 PyObject
*resultobj
;
23397 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23399 wxDateSpan
*result
;
23400 PyObject
* obj0
= 0 ;
23401 PyObject
* obj1
= 0 ;
23402 char *kwnames
[] = {
23403 (char *) "self",(char *) "factor", NULL
23406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
23407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23409 arg2
= (int) SWIG_AsInt(obj1
);
23410 if (PyErr_Occurred()) SWIG_fail
;
23412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23414 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
23415 result
= (wxDateSpan
*) &_result_ref
;
23418 wxPyEndAllowThreads(__tstate
);
23419 if (PyErr_Occurred()) SWIG_fail
;
23421 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23428 static PyObject
*_wrap_DateSpan___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23429 PyObject
*resultobj
;
23430 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23431 wxDateSpan
*arg2
= 0 ;
23432 wxDateSpan
*result
;
23433 PyObject
* obj0
= 0 ;
23434 PyObject
* obj1
= 0 ;
23435 char *kwnames
[] = {
23436 (char *) "self",(char *) "other", NULL
23439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
23440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23442 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23443 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23445 if (arg2
== NULL
) {
23446 PyErr_SetString(PyExc_TypeError
,"null reference");
23450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23452 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
23453 result
= (wxDateSpan
*) &_result_ref
;
23456 wxPyEndAllowThreads(__tstate
);
23457 if (PyErr_Occurred()) SWIG_fail
;
23459 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23466 static PyObject
*_wrap_DateSpan___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23467 PyObject
*resultobj
;
23468 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23469 wxDateSpan
*arg2
= 0 ;
23470 wxDateSpan
*result
;
23471 PyObject
* obj0
= 0 ;
23472 PyObject
* obj1
= 0 ;
23473 char *kwnames
[] = {
23474 (char *) "self",(char *) "other", NULL
23477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
23478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23480 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23481 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23483 if (arg2
== NULL
) {
23484 PyErr_SetString(PyExc_TypeError
,"null reference");
23488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23490 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
23491 result
= (wxDateSpan
*) &_result_ref
;
23494 wxPyEndAllowThreads(__tstate
);
23495 if (PyErr_Occurred()) SWIG_fail
;
23497 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23504 static PyObject
*_wrap_DateSpan___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23505 PyObject
*resultobj
;
23506 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23507 wxDateSpan
*result
;
23508 PyObject
* obj0
= 0 ;
23509 char *kwnames
[] = {
23510 (char *) "self", NULL
23513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan___neg__",kwnames
,&obj0
)) goto fail
;
23514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23519 wxDateSpan
&_result_ref
= (arg1
)->operator -();
23520 result
= (wxDateSpan
*) &_result_ref
;
23523 wxPyEndAllowThreads(__tstate
);
23524 if (PyErr_Occurred()) SWIG_fail
;
23526 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23533 static PyObject
*_wrap_DateSpan___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23534 PyObject
*resultobj
;
23535 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23537 wxDateSpan
*result
;
23538 PyObject
* obj0
= 0 ;
23539 PyObject
* obj1
= 0 ;
23540 char *kwnames
[] = {
23541 (char *) "self",(char *) "factor", NULL
23544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23547 arg2
= (int) SWIG_AsInt(obj1
);
23548 if (PyErr_Occurred()) SWIG_fail
;
23550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23552 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
23553 result
= (wxDateSpan
*) &_result_ref
;
23556 wxPyEndAllowThreads(__tstate
);
23557 if (PyErr_Occurred()) SWIG_fail
;
23559 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23566 static PyObject
*_wrap_DateSpan___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23567 PyObject
*resultobj
;
23568 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23569 wxDateSpan
*arg2
= 0 ;
23571 PyObject
* obj0
= 0 ;
23572 PyObject
* obj1
= 0 ;
23573 char *kwnames
[] = {
23574 (char *) "self",(char *) "other", NULL
23577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
23578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23580 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23581 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23583 if (arg2
== NULL
) {
23584 PyErr_SetString(PyExc_TypeError
,"null reference");
23588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23589 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
23591 wxPyEndAllowThreads(__tstate
);
23592 if (PyErr_Occurred()) SWIG_fail
;
23595 wxDateSpan
* resultptr
;
23596 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23597 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23605 static PyObject
*_wrap_DateSpan___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23606 PyObject
*resultobj
;
23607 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23608 wxDateSpan
*arg2
= 0 ;
23610 PyObject
* obj0
= 0 ;
23611 PyObject
* obj1
= 0 ;
23612 char *kwnames
[] = {
23613 (char *) "self",(char *) "other", NULL
23616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
23617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23619 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23620 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23622 if (arg2
== NULL
) {
23623 PyErr_SetString(PyExc_TypeError
,"null reference");
23627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23628 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
23630 wxPyEndAllowThreads(__tstate
);
23631 if (PyErr_Occurred()) SWIG_fail
;
23634 wxDateSpan
* resultptr
;
23635 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23636 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23644 static PyObject
*_wrap_DateSpan___mul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23645 PyObject
*resultobj
;
23646 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23649 PyObject
* obj0
= 0 ;
23650 PyObject
* obj1
= 0 ;
23651 char *kwnames
[] = {
23652 (char *) "self",(char *) "n", NULL
23655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23658 arg2
= (int) SWIG_AsInt(obj1
);
23659 if (PyErr_Occurred()) SWIG_fail
;
23661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23662 result
= wxDateSpan___mul__(arg1
,arg2
);
23664 wxPyEndAllowThreads(__tstate
);
23665 if (PyErr_Occurred()) SWIG_fail
;
23668 wxDateSpan
* resultptr
;
23669 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23670 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23678 static PyObject
*_wrap_DateSpan___rmul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23679 PyObject
*resultobj
;
23680 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23683 PyObject
* obj0
= 0 ;
23684 PyObject
* obj1
= 0 ;
23685 char *kwnames
[] = {
23686 (char *) "self",(char *) "n", NULL
23689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23692 arg2
= (int) SWIG_AsInt(obj1
);
23693 if (PyErr_Occurred()) SWIG_fail
;
23695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23696 result
= wxDateSpan___rmul__(arg1
,arg2
);
23698 wxPyEndAllowThreads(__tstate
);
23699 if (PyErr_Occurred()) SWIG_fail
;
23702 wxDateSpan
* resultptr
;
23703 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23704 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23712 static PyObject
*_wrap_DateSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23713 PyObject
*resultobj
;
23714 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23715 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
23717 PyObject
* obj0
= 0 ;
23718 PyObject
* obj1
= 0 ;
23719 char *kwnames
[] = {
23720 (char *) "self",(char *) "other", NULL
23723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
23724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23726 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23730 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const *)arg2
);
23732 wxPyEndAllowThreads(__tstate
);
23733 if (PyErr_Occurred()) SWIG_fail
;
23736 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23744 static PyObject
*_wrap_DateSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23745 PyObject
*resultobj
;
23746 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23747 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
23749 PyObject
* obj0
= 0 ;
23750 PyObject
* obj1
= 0 ;
23751 char *kwnames
[] = {
23752 (char *) "self",(char *) "other", NULL
23755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
23756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23758 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23762 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const *)arg2
);
23764 wxPyEndAllowThreads(__tstate
);
23765 if (PyErr_Occurred()) SWIG_fail
;
23768 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23776 static PyObject
* DateSpan_swigregister(PyObject
*self
, PyObject
*args
) {
23778 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23779 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan
, obj
);
23781 return Py_BuildValue((char *)"");
23783 static PyObject
*_wrap_GetLocalTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23784 PyObject
*resultobj
;
23786 char *kwnames
[] = {
23790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTime",kwnames
)) goto fail
;
23792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23793 result
= (long)wxGetLocalTime();
23795 wxPyEndAllowThreads(__tstate
);
23796 if (PyErr_Occurred()) SWIG_fail
;
23798 resultobj
= SWIG_FromLong((long)result
);
23805 static PyObject
*_wrap_GetUTCTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23806 PyObject
*resultobj
;
23808 char *kwnames
[] = {
23812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUTCTime",kwnames
)) goto fail
;
23814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23815 result
= (long)wxGetUTCTime();
23817 wxPyEndAllowThreads(__tstate
);
23818 if (PyErr_Occurred()) SWIG_fail
;
23820 resultobj
= SWIG_FromLong((long)result
);
23827 static PyObject
*_wrap_GetCurrentTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23828 PyObject
*resultobj
;
23830 char *kwnames
[] = {
23834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentTime",kwnames
)) goto fail
;
23836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23837 result
= (long)wxGetCurrentTime();
23839 wxPyEndAllowThreads(__tstate
);
23840 if (PyErr_Occurred()) SWIG_fail
;
23842 resultobj
= SWIG_FromLong((long)result
);
23849 static PyObject
*_wrap_GetLocalTimeMillis(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23850 PyObject
*resultobj
;
23852 char *kwnames
[] = {
23856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTimeMillis",kwnames
)) goto fail
;
23858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23859 result
= wxGetLocalTimeMillis();
23861 wxPyEndAllowThreads(__tstate
);
23862 if (PyErr_Occurred()) SWIG_fail
;
23865 PyObject
*hi
, *lo
, *shifter
, *shifted
;
23866 hi
= PyLong_FromLong( (&result
)->GetHi() );
23867 lo
= PyLong_FromLong( (&result
)->GetLo() );
23868 shifter
= PyLong_FromLong(32);
23869 shifted
= PyNumber_Lshift(hi
, shifter
);
23870 resultobj
= PyNumber_Or(shifted
, lo
);
23873 Py_DECREF(shifter
);
23874 Py_DECREF(shifted
);
23882 static int _wrap_DefaultDateTime_set(PyObject
*_val
) {
23883 PyErr_SetString(PyExc_TypeError
,"Variable DefaultDateTime is read-only.");
23888 static PyObject
*_wrap_DefaultDateTime_get() {
23891 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultDateTime
), SWIGTYPE_p_wxDateTime
, 0);
23896 static PyObject
*_wrap_new_DataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23897 PyObject
*resultobj
;
23899 wxDataFormat
*result
;
23900 PyObject
* obj0
= 0 ;
23901 char *kwnames
[] = {
23902 (char *) "type", NULL
23905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) goto fail
;
23906 arg1
= (wxDataFormatId
) SWIG_AsInt(obj0
);
23907 if (PyErr_Occurred()) SWIG_fail
;
23909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23910 result
= (wxDataFormat
*)new wxDataFormat((wxDataFormatId
)arg1
);
23912 wxPyEndAllowThreads(__tstate
);
23913 if (PyErr_Occurred()) SWIG_fail
;
23915 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
23922 static PyObject
*_wrap_new_CustomDataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23923 PyObject
*resultobj
;
23924 wxString
*arg1
= 0 ;
23925 wxDataFormat
*result
;
23926 bool temp1
= False
;
23927 PyObject
* obj0
= 0 ;
23928 char *kwnames
[] = {
23929 (char *) "format", NULL
23932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) goto fail
;
23934 arg1
= wxString_in_helper(obj0
);
23935 if (arg1
== NULL
) SWIG_fail
;
23939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23940 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
23942 wxPyEndAllowThreads(__tstate
);
23943 if (PyErr_Occurred()) SWIG_fail
;
23945 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
23960 static PyObject
*_wrap_delete_DataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23961 PyObject
*resultobj
;
23962 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23963 PyObject
* obj0
= 0 ;
23964 char *kwnames
[] = {
23965 (char *) "self", NULL
23968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataFormat",kwnames
,&obj0
)) goto fail
;
23969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23975 wxPyEndAllowThreads(__tstate
);
23976 if (PyErr_Occurred()) SWIG_fail
;
23978 Py_INCREF(Py_None
); resultobj
= Py_None
;
23985 static PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*self
, PyObject
*args
) {
23986 PyObject
*resultobj
;
23987 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23990 PyObject
* obj0
= 0 ;
23991 PyObject
* obj1
= 0 ;
23993 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
23994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23996 arg2
= (wxDataFormatId
) SWIG_AsInt(obj1
);
23997 if (PyErr_Occurred()) SWIG_fail
;
23999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24000 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormatId
)arg2
);
24002 wxPyEndAllowThreads(__tstate
);
24003 if (PyErr_Occurred()) SWIG_fail
;
24006 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24014 static PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*self
, PyObject
*args
) {
24015 PyObject
*resultobj
;
24016 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24019 PyObject
* obj0
= 0 ;
24020 PyObject
* obj1
= 0 ;
24022 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
24023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24025 arg2
= (wxDataFormatId
) SWIG_AsInt(obj1
);
24026 if (PyErr_Occurred()) SWIG_fail
;
24028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24029 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormatId
)arg2
);
24031 wxPyEndAllowThreads(__tstate
);
24032 if (PyErr_Occurred()) SWIG_fail
;
24035 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24043 static PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*self
, PyObject
*args
) {
24044 PyObject
*resultobj
;
24045 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24046 wxDataFormat
*arg2
= 0 ;
24048 PyObject
* obj0
= 0 ;
24049 PyObject
* obj1
= 0 ;
24051 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
24052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24054 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24055 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24057 if (arg2
== NULL
) {
24058 PyErr_SetString(PyExc_TypeError
,"null reference");
24062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24063 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
24065 wxPyEndAllowThreads(__tstate
);
24066 if (PyErr_Occurred()) SWIG_fail
;
24069 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24077 static PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
24082 argc
= PyObject_Length(args
);
24083 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
24084 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24090 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24100 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24108 return _wrap_DataFormat___eq____SWIG_1(self
,args
);
24116 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24124 _v
= SWIG_CheckInt(argv
[1]);
24126 return _wrap_DataFormat___eq____SWIG_0(self
,args
);
24131 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___eq__'");
24136 static PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*self
, PyObject
*args
) {
24137 PyObject
*resultobj
;
24138 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24139 wxDataFormat
*arg2
= 0 ;
24141 PyObject
* obj0
= 0 ;
24142 PyObject
* obj1
= 0 ;
24144 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
24145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24147 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24148 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24150 if (arg2
== NULL
) {
24151 PyErr_SetString(PyExc_TypeError
,"null reference");
24155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24156 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
24158 wxPyEndAllowThreads(__tstate
);
24159 if (PyErr_Occurred()) SWIG_fail
;
24162 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24170 static PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
24175 argc
= PyObject_Length(args
);
24176 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
24177 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24183 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24193 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24201 return _wrap_DataFormat___ne____SWIG_1(self
,args
);
24209 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24217 _v
= SWIG_CheckInt(argv
[1]);
24219 return _wrap_DataFormat___ne____SWIG_0(self
,args
);
24224 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___ne__'");
24229 static PyObject
*_wrap_DataFormat_SetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24230 PyObject
*resultobj
;
24231 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24233 PyObject
* obj0
= 0 ;
24234 PyObject
* obj1
= 0 ;
24235 char *kwnames
[] = {
24236 (char *) "self",(char *) "format", NULL
24239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
24240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24242 arg2
= (wxDataFormatId
) SWIG_AsInt(obj1
);
24243 if (PyErr_Occurred()) SWIG_fail
;
24245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24246 (arg1
)->SetType((wxDataFormatId
)arg2
);
24248 wxPyEndAllowThreads(__tstate
);
24249 if (PyErr_Occurred()) SWIG_fail
;
24251 Py_INCREF(Py_None
); resultobj
= Py_None
;
24258 static PyObject
*_wrap_DataFormat_GetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24259 PyObject
*resultobj
;
24260 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24262 PyObject
* obj0
= 0 ;
24263 char *kwnames
[] = {
24264 (char *) "self", NULL
24267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetType",kwnames
,&obj0
)) goto fail
;
24268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24272 result
= (int)((wxDataFormat
const *)arg1
)->GetType();
24274 wxPyEndAllowThreads(__tstate
);
24275 if (PyErr_Occurred()) SWIG_fail
;
24277 resultobj
= SWIG_FromInt((int)result
);
24284 static PyObject
*_wrap_DataFormat_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24285 PyObject
*resultobj
;
24286 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24288 PyObject
* obj0
= 0 ;
24289 char *kwnames
[] = {
24290 (char *) "self", NULL
24293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetId",kwnames
,&obj0
)) goto fail
;
24294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24298 result
= ((wxDataFormat
const *)arg1
)->GetId();
24300 wxPyEndAllowThreads(__tstate
);
24301 if (PyErr_Occurred()) SWIG_fail
;
24305 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24307 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24316 static PyObject
*_wrap_DataFormat_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24317 PyObject
*resultobj
;
24318 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24319 wxString
*arg2
= 0 ;
24320 bool temp2
= False
;
24321 PyObject
* obj0
= 0 ;
24322 PyObject
* obj1
= 0 ;
24323 char *kwnames
[] = {
24324 (char *) "self",(char *) "format", NULL
24327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
24328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24331 arg2
= wxString_in_helper(obj1
);
24332 if (arg2
== NULL
) SWIG_fail
;
24336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24337 (arg1
)->SetId((wxString
const &)*arg2
);
24339 wxPyEndAllowThreads(__tstate
);
24340 if (PyErr_Occurred()) SWIG_fail
;
24342 Py_INCREF(Py_None
); resultobj
= Py_None
;
24357 static PyObject
* DataFormat_swigregister(PyObject
*self
, PyObject
*args
) {
24359 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24360 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat
, obj
);
24362 return Py_BuildValue((char *)"");
24364 static int _wrap_FormatInvalid_set(PyObject
*_val
) {
24365 PyErr_SetString(PyExc_TypeError
,"Variable FormatInvalid is read-only.");
24370 static PyObject
*_wrap_FormatInvalid_get() {
24373 pyobj
= SWIG_NewPointerObj((void *)(&wxFormatInvalid
), SWIGTYPE_p_wxDataFormat
, 0);
24378 static PyObject
*_wrap_delete_DataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24379 PyObject
*resultobj
;
24380 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24381 PyObject
* obj0
= 0 ;
24382 char *kwnames
[] = {
24383 (char *) "self", NULL
24386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataObject",kwnames
,&obj0
)) goto fail
;
24387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24393 wxPyEndAllowThreads(__tstate
);
24394 if (PyErr_Occurred()) SWIG_fail
;
24396 Py_INCREF(Py_None
); resultobj
= Py_None
;
24403 static PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24404 PyObject
*resultobj
;
24405 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24406 int arg2
= (int) wxDataObject::Get
;
24407 SwigValueWrapper
< wxDataFormat
> result
;
24408 PyObject
* obj0
= 0 ;
24409 PyObject
* obj1
= 0 ;
24410 char *kwnames
[] = {
24411 (char *) "self",(char *) "dir", NULL
24414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
24415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24418 arg2
= (wxDataObject::Direction
) SWIG_AsInt(obj1
);
24419 if (PyErr_Occurred()) SWIG_fail
;
24422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24423 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat((wxDataObject::Direction
)arg2
);
24425 wxPyEndAllowThreads(__tstate
);
24426 if (PyErr_Occurred()) SWIG_fail
;
24429 wxDataFormat
* resultptr
;
24430 resultptr
= new wxDataFormat((wxDataFormat
&) result
);
24431 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDataFormat
, 1);
24439 static PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24440 PyObject
*resultobj
;
24441 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24442 int arg2
= (int) wxDataObject::Get
;
24444 PyObject
* obj0
= 0 ;
24445 PyObject
* obj1
= 0 ;
24446 char *kwnames
[] = {
24447 (char *) "self",(char *) "dir", NULL
24450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) goto fail
;
24451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24454 arg2
= (wxDataObject::Direction
) SWIG_AsInt(obj1
);
24455 if (PyErr_Occurred()) SWIG_fail
;
24458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24459 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount((wxDataObject::Direction
)arg2
);
24461 wxPyEndAllowThreads(__tstate
);
24462 if (PyErr_Occurred()) SWIG_fail
;
24464 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24471 static PyObject
*_wrap_DataObject_IsSupported(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24472 PyObject
*resultobj
;
24473 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24474 wxDataFormat
*arg2
= 0 ;
24475 int arg3
= (int) wxDataObject::Get
;
24477 PyObject
* obj0
= 0 ;
24478 PyObject
* obj1
= 0 ;
24479 PyObject
* obj2
= 0 ;
24480 char *kwnames
[] = {
24481 (char *) "self",(char *) "format",(char *) "dir", NULL
24484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24487 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24488 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24490 if (arg2
== NULL
) {
24491 PyErr_SetString(PyExc_TypeError
,"null reference");
24495 arg3
= (wxDataObject::Direction
) SWIG_AsInt(obj2
);
24496 if (PyErr_Occurred()) SWIG_fail
;
24499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24500 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,(wxDataObject::Direction
)arg3
);
24502 wxPyEndAllowThreads(__tstate
);
24503 if (PyErr_Occurred()) SWIG_fail
;
24506 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24514 static PyObject
*_wrap_DataObject_GetDataSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24515 PyObject
*resultobj
;
24516 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24517 wxDataFormat
*arg2
= 0 ;
24519 PyObject
* obj0
= 0 ;
24520 PyObject
* obj1
= 0 ;
24521 char *kwnames
[] = {
24522 (char *) "self",(char *) "format", NULL
24525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) goto fail
;
24526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24528 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24529 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24531 if (arg2
== NULL
) {
24532 PyErr_SetString(PyExc_TypeError
,"null reference");
24536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24537 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
24539 wxPyEndAllowThreads(__tstate
);
24540 if (PyErr_Occurred()) SWIG_fail
;
24542 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24549 static PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24550 PyObject
*resultobj
;
24551 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24552 int arg2
= (int) wxDataObject::Get
;
24554 PyObject
* obj0
= 0 ;
24555 PyObject
* obj1
= 0 ;
24556 char *kwnames
[] = {
24557 (char *) "self",(char *) "dir", NULL
24560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
)) goto fail
;
24561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24564 arg2
= (wxDataObject::Direction
) SWIG_AsInt(obj1
);
24565 if (PyErr_Occurred()) SWIG_fail
;
24568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24569 result
= (PyObject
*)wxDataObject_GetAllFormats(arg1
,(wxDataObject::Direction
)arg2
);
24571 wxPyEndAllowThreads(__tstate
);
24572 if (PyErr_Occurred()) SWIG_fail
;
24574 resultobj
= result
;
24581 static PyObject
*_wrap_DataObject_GetDataHere(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24582 PyObject
*resultobj
;
24583 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24584 wxDataFormat
*arg2
= 0 ;
24586 PyObject
* obj0
= 0 ;
24587 PyObject
* obj1
= 0 ;
24588 char *kwnames
[] = {
24589 (char *) "self",(char *) "format", NULL
24592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
)) goto fail
;
24593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24595 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24596 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24598 if (arg2
== NULL
) {
24599 PyErr_SetString(PyExc_TypeError
,"null reference");
24603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24604 result
= (PyObject
*)wxDataObject_GetDataHere(arg1
,(wxDataFormat
const &)*arg2
);
24606 wxPyEndAllowThreads(__tstate
);
24607 if (PyErr_Occurred()) SWIG_fail
;
24609 resultobj
= result
;
24616 static PyObject
*_wrap_DataObject_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24617 PyObject
*resultobj
;
24618 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24619 wxDataFormat
*arg2
= 0 ;
24620 PyObject
*arg3
= (PyObject
*) 0 ;
24622 PyObject
* obj0
= 0 ;
24623 PyObject
* obj1
= 0 ;
24624 PyObject
* obj2
= 0 ;
24625 char *kwnames
[] = {
24626 (char *) "self",(char *) "format",(char *) "data", NULL
24629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24632 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24633 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24635 if (arg2
== NULL
) {
24636 PyErr_SetString(PyExc_TypeError
,"null reference");
24641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24642 result
= (bool)wxDataObject_SetData(arg1
,(wxDataFormat
const &)*arg2
,arg3
);
24644 wxPyEndAllowThreads(__tstate
);
24645 if (PyErr_Occurred()) SWIG_fail
;
24648 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24656 static PyObject
* DataObject_swigregister(PyObject
*self
, PyObject
*args
) {
24658 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24659 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject
, obj
);
24661 return Py_BuildValue((char *)"");
24663 static PyObject
*_wrap_new_DataObjectSimple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24664 PyObject
*resultobj
;
24665 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
24666 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
24667 wxDataObjectSimple
*result
;
24668 PyObject
* obj0
= 0 ;
24669 char *kwnames
[] = {
24670 (char *) "format", NULL
24673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) goto fail
;
24675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24676 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24678 if (arg1
== NULL
) {
24679 PyErr_SetString(PyExc_TypeError
,"null reference");
24684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24685 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
24687 wxPyEndAllowThreads(__tstate
);
24688 if (PyErr_Occurred()) SWIG_fail
;
24690 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectSimple
, 1);
24697 static PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24698 PyObject
*resultobj
;
24699 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24700 wxDataFormat
*result
;
24701 PyObject
* obj0
= 0 ;
24702 char *kwnames
[] = {
24703 (char *) "self", NULL
24706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetFormat",kwnames
,&obj0
)) goto fail
;
24707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24712 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
24713 result
= (wxDataFormat
*) &_result_ref
;
24716 wxPyEndAllowThreads(__tstate
);
24717 if (PyErr_Occurred()) SWIG_fail
;
24719 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 0);
24726 static PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24727 PyObject
*resultobj
;
24728 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24729 wxDataFormat
*arg2
= 0 ;
24730 PyObject
* obj0
= 0 ;
24731 PyObject
* obj1
= 0 ;
24732 char *kwnames
[] = {
24733 (char *) "self",(char *) "format", NULL
24736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
24737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24739 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24740 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24742 if (arg2
== NULL
) {
24743 PyErr_SetString(PyExc_TypeError
,"null reference");
24747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24748 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
24750 wxPyEndAllowThreads(__tstate
);
24751 if (PyErr_Occurred()) SWIG_fail
;
24753 Py_INCREF(Py_None
); resultobj
= Py_None
;
24760 static PyObject
*_wrap_DataObjectSimple_GetDataSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24761 PyObject
*resultobj
;
24762 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24764 PyObject
* obj0
= 0 ;
24765 char *kwnames
[] = {
24766 (char *) "self", NULL
24769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataSize",kwnames
,&obj0
)) goto fail
;
24770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24774 result
= (size_t)((wxDataObjectSimple
const *)arg1
)->GetDataSize();
24776 wxPyEndAllowThreads(__tstate
);
24777 if (PyErr_Occurred()) SWIG_fail
;
24779 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24786 static PyObject
*_wrap_DataObjectSimple_GetDataHere(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24787 PyObject
*resultobj
;
24788 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24790 PyObject
* obj0
= 0 ;
24791 char *kwnames
[] = {
24792 (char *) "self", NULL
24795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataHere",kwnames
,&obj0
)) goto fail
;
24796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24800 result
= (PyObject
*)wxDataObjectSimple_GetDataHere(arg1
);
24802 wxPyEndAllowThreads(__tstate
);
24803 if (PyErr_Occurred()) SWIG_fail
;
24805 resultobj
= result
;
24812 static PyObject
*_wrap_DataObjectSimple_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24813 PyObject
*resultobj
;
24814 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24815 PyObject
*arg2
= (PyObject
*) 0 ;
24817 PyObject
* obj0
= 0 ;
24818 PyObject
* obj1
= 0 ;
24819 char *kwnames
[] = {
24820 (char *) "self",(char *) "data", NULL
24823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
24824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24829 result
= (bool)wxDataObjectSimple_SetData(arg1
,arg2
);
24831 wxPyEndAllowThreads(__tstate
);
24832 if (PyErr_Occurred()) SWIG_fail
;
24835 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24843 static PyObject
* DataObjectSimple_swigregister(PyObject
*self
, PyObject
*args
) {
24845 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24846 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple
, obj
);
24848 return Py_BuildValue((char *)"");
24850 static PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24851 PyObject
*resultobj
;
24852 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
24853 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
24854 wxPyDataObjectSimple
*result
;
24855 PyObject
* obj0
= 0 ;
24856 char *kwnames
[] = {
24857 (char *) "format", NULL
24860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) goto fail
;
24862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24863 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24865 if (arg1
== NULL
) {
24866 PyErr_SetString(PyExc_TypeError
,"null reference");
24871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24872 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
24874 wxPyEndAllowThreads(__tstate
);
24875 if (PyErr_Occurred()) SWIG_fail
;
24877 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDataObjectSimple
, 1);
24884 static PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24885 PyObject
*resultobj
;
24886 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
24887 PyObject
*arg2
= (PyObject
*) 0 ;
24888 PyObject
*arg3
= (PyObject
*) 0 ;
24889 PyObject
* obj0
= 0 ;
24890 PyObject
* obj1
= 0 ;
24891 PyObject
* obj2
= 0 ;
24892 char *kwnames
[] = {
24893 (char *) "self",(char *) "self",(char *) "_class", NULL
24896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDataObjectSimple
,
24898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24903 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24905 wxPyEndAllowThreads(__tstate
);
24906 if (PyErr_Occurred()) SWIG_fail
;
24908 Py_INCREF(Py_None
); resultobj
= Py_None
;
24915 static PyObject
* PyDataObjectSimple_swigregister(PyObject
*self
, PyObject
*args
) {
24917 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24918 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple
, obj
);
24920 return Py_BuildValue((char *)"");
24922 static PyObject
*_wrap_new_DataObjectComposite(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24923 PyObject
*resultobj
;
24924 wxDataObjectComposite
*result
;
24925 char *kwnames
[] = {
24929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DataObjectComposite",kwnames
)) goto fail
;
24931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24932 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
24934 wxPyEndAllowThreads(__tstate
);
24935 if (PyErr_Occurred()) SWIG_fail
;
24937 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectComposite
, 1);
24944 static PyObject
*_wrap_DataObjectComposite_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24945 PyObject
*resultobj
;
24946 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
24947 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
24948 bool arg3
= (bool) False
;
24949 PyObject
* obj0
= 0 ;
24950 PyObject
* obj1
= 0 ;
24951 PyObject
* obj2
= 0 ;
24952 char *kwnames
[] = {
24953 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
24956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectComposite
,
24958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24959 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObjectSimple
,
24960 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24962 arg3
= (bool) SWIG_AsBool(obj2
);
24963 if (PyErr_Occurred()) SWIG_fail
;
24966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24967 (arg1
)->Add(arg2
,arg3
);
24969 wxPyEndAllowThreads(__tstate
);
24970 if (PyErr_Occurred()) SWIG_fail
;
24972 Py_INCREF(Py_None
); resultobj
= Py_None
;
24979 static PyObject
* DataObjectComposite_swigregister(PyObject
*self
, PyObject
*args
) {
24981 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24982 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite
, obj
);
24984 return Py_BuildValue((char *)"");
24986 static PyObject
*_wrap_new_TextDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24987 PyObject
*resultobj
;
24988 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24989 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24990 wxTextDataObject
*result
;
24991 bool temp1
= False
;
24992 PyObject
* obj0
= 0 ;
24993 char *kwnames
[] = {
24994 (char *) "text", NULL
24997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) goto fail
;
25000 arg1
= wxString_in_helper(obj0
);
25001 if (arg1
== NULL
) SWIG_fail
;
25006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25007 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
25009 wxPyEndAllowThreads(__tstate
);
25010 if (PyErr_Occurred()) SWIG_fail
;
25012 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextDataObject
, 1);
25027 static PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25028 PyObject
*resultobj
;
25029 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
25031 PyObject
* obj0
= 0 ;
25032 char *kwnames
[] = {
25033 (char *) "self", NULL
25036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetTextLength",kwnames
,&obj0
)) goto fail
;
25037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
25038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25041 result
= (size_t)(arg1
)->GetTextLength();
25043 wxPyEndAllowThreads(__tstate
);
25044 if (PyErr_Occurred()) SWIG_fail
;
25046 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
25053 static PyObject
*_wrap_TextDataObject_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25054 PyObject
*resultobj
;
25055 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
25057 PyObject
* obj0
= 0 ;
25058 char *kwnames
[] = {
25059 (char *) "self", NULL
25062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetText",kwnames
,&obj0
)) goto fail
;
25063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
25064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25067 result
= (arg1
)->GetText();
25069 wxPyEndAllowThreads(__tstate
);
25070 if (PyErr_Occurred()) SWIG_fail
;
25074 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25076 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25085 static PyObject
*_wrap_TextDataObject_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25086 PyObject
*resultobj
;
25087 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
25088 wxString
*arg2
= 0 ;
25089 bool temp2
= False
;
25090 PyObject
* obj0
= 0 ;
25091 PyObject
* obj1
= 0 ;
25092 char *kwnames
[] = {
25093 (char *) "self",(char *) "text", NULL
25096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
25097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
25098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25100 arg2
= wxString_in_helper(obj1
);
25101 if (arg2
== NULL
) SWIG_fail
;
25105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25106 (arg1
)->SetText((wxString
const &)*arg2
);
25108 wxPyEndAllowThreads(__tstate
);
25109 if (PyErr_Occurred()) SWIG_fail
;
25111 Py_INCREF(Py_None
); resultobj
= Py_None
;
25126 static PyObject
* TextDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25128 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25129 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject
, obj
);
25131 return Py_BuildValue((char *)"");
25133 static PyObject
*_wrap_new_PyTextDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25134 PyObject
*resultobj
;
25135 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25136 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25137 wxPyTextDataObject
*result
;
25138 bool temp1
= False
;
25139 PyObject
* obj0
= 0 ;
25140 char *kwnames
[] = {
25141 (char *) "text", NULL
25144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) goto fail
;
25147 arg1
= wxString_in_helper(obj0
);
25148 if (arg1
== NULL
) SWIG_fail
;
25153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25154 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
25156 wxPyEndAllowThreads(__tstate
);
25157 if (PyErr_Occurred()) SWIG_fail
;
25159 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDataObject
, 1);
25174 static PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25175 PyObject
*resultobj
;
25176 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
25177 PyObject
*arg2
= (PyObject
*) 0 ;
25178 PyObject
*arg3
= (PyObject
*) 0 ;
25179 PyObject
* obj0
= 0 ;
25180 PyObject
* obj1
= 0 ;
25181 PyObject
* obj2
= 0 ;
25182 char *kwnames
[] = {
25183 (char *) "self",(char *) "self",(char *) "_class", NULL
25186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDataObject
,
25188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25193 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25195 wxPyEndAllowThreads(__tstate
);
25196 if (PyErr_Occurred()) SWIG_fail
;
25198 Py_INCREF(Py_None
); resultobj
= Py_None
;
25205 static PyObject
* PyTextDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25207 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25208 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject
, obj
);
25210 return Py_BuildValue((char *)"");
25212 static PyObject
*_wrap_new_BitmapDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25213 PyObject
*resultobj
;
25214 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
25215 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
25216 wxBitmapDataObject
*result
;
25217 PyObject
* obj0
= 0 ;
25218 char *kwnames
[] = {
25219 (char *) "bitmap", NULL
25222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) goto fail
;
25224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
25225 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25227 if (arg1
== NULL
) {
25228 PyErr_SetString(PyExc_TypeError
,"null reference");
25233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25234 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
25236 wxPyEndAllowThreads(__tstate
);
25237 if (PyErr_Occurred()) SWIG_fail
;
25239 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapDataObject
, 1);
25246 static PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25247 PyObject
*resultobj
;
25248 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
25250 PyObject
* obj0
= 0 ;
25251 char *kwnames
[] = {
25252 (char *) "self", NULL
25255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapDataObject_GetBitmap",kwnames
,&obj0
)) goto fail
;
25256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapDataObject
,
25257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25260 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
25262 wxPyEndAllowThreads(__tstate
);
25263 if (PyErr_Occurred()) SWIG_fail
;
25266 wxBitmap
* resultptr
;
25267 resultptr
= new wxBitmap((wxBitmap
&) result
);
25268 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
25276 static PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25277 PyObject
*resultobj
;
25278 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
25279 wxBitmap
*arg2
= 0 ;
25280 PyObject
* obj0
= 0 ;
25281 PyObject
* obj1
= 0 ;
25282 char *kwnames
[] = {
25283 (char *) "self",(char *) "bitmap", NULL
25286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
25287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapDataObject
,
25288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25289 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
25290 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25292 if (arg2
== NULL
) {
25293 PyErr_SetString(PyExc_TypeError
,"null reference");
25297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25298 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
25300 wxPyEndAllowThreads(__tstate
);
25301 if (PyErr_Occurred()) SWIG_fail
;
25303 Py_INCREF(Py_None
); resultobj
= Py_None
;
25310 static PyObject
* BitmapDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25312 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25313 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject
, obj
);
25315 return Py_BuildValue((char *)"");
25317 static PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25318 PyObject
*resultobj
;
25319 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
25320 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
25321 wxPyBitmapDataObject
*result
;
25322 PyObject
* obj0
= 0 ;
25323 char *kwnames
[] = {
25324 (char *) "bitmap", NULL
25327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) goto fail
;
25329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
25330 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25332 if (arg1
== NULL
) {
25333 PyErr_SetString(PyExc_TypeError
,"null reference");
25338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25339 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
25341 wxPyEndAllowThreads(__tstate
);
25342 if (PyErr_Occurred()) SWIG_fail
;
25344 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyBitmapDataObject
, 1);
25351 static PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25352 PyObject
*resultobj
;
25353 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
25354 PyObject
*arg2
= (PyObject
*) 0 ;
25355 PyObject
*arg3
= (PyObject
*) 0 ;
25356 PyObject
* obj0
= 0 ;
25357 PyObject
* obj1
= 0 ;
25358 PyObject
* obj2
= 0 ;
25359 char *kwnames
[] = {
25360 (char *) "self",(char *) "self",(char *) "_class", NULL
25363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapDataObject
,
25365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25370 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25372 wxPyEndAllowThreads(__tstate
);
25373 if (PyErr_Occurred()) SWIG_fail
;
25375 Py_INCREF(Py_None
); resultobj
= Py_None
;
25382 static PyObject
* PyBitmapDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25384 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25385 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject
, obj
);
25387 return Py_BuildValue((char *)"");
25389 static PyObject
*_wrap_new_FileDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25390 PyObject
*resultobj
;
25391 wxFileDataObject
*result
;
25392 char *kwnames
[] = {
25396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDataObject",kwnames
)) goto fail
;
25398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25399 result
= (wxFileDataObject
*)new wxFileDataObject();
25401 wxPyEndAllowThreads(__tstate
);
25402 if (PyErr_Occurred()) SWIG_fail
;
25404 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDataObject
, 1);
25411 static PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25412 PyObject
*resultobj
;
25413 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
25414 wxArrayString
*result
;
25415 PyObject
* obj0
= 0 ;
25416 char *kwnames
[] = {
25417 (char *) "self", NULL
25420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDataObject_GetFilenames",kwnames
,&obj0
)) goto fail
;
25421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDataObject
,
25422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25426 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
25427 result
= (wxArrayString
*) &_result_ref
;
25430 wxPyEndAllowThreads(__tstate
);
25431 if (PyErr_Occurred()) SWIG_fail
;
25434 resultobj
= wxArrayString2PyList_helper(*result
);
25442 static PyObject
*_wrap_FileDataObject_AddFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25443 PyObject
*resultobj
;
25444 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
25445 wxString
*arg2
= 0 ;
25446 bool temp2
= False
;
25447 PyObject
* obj0
= 0 ;
25448 PyObject
* obj1
= 0 ;
25449 char *kwnames
[] = {
25450 (char *) "self",(char *) "filename", NULL
25453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDataObject_AddFile",kwnames
,&obj0
,&obj1
)) goto fail
;
25454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDataObject
,
25455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25457 arg2
= wxString_in_helper(obj1
);
25458 if (arg2
== NULL
) SWIG_fail
;
25462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25463 (arg1
)->AddFile((wxString
const &)*arg2
);
25465 wxPyEndAllowThreads(__tstate
);
25466 if (PyErr_Occurred()) SWIG_fail
;
25468 Py_INCREF(Py_None
); resultobj
= Py_None
;
25483 static PyObject
* FileDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25485 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25486 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject
, obj
);
25488 return Py_BuildValue((char *)"");
25490 static PyObject
*_wrap_new_CustomDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25491 PyObject
*resultobj
;
25492 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
25493 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
25494 wxCustomDataObject
*result
;
25495 PyObject
* obj0
= 0 ;
25496 char *kwnames
[] = {
25497 (char *) "format", NULL
25500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CustomDataObject",kwnames
,&obj0
)) goto fail
;
25502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
25503 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25505 if (arg1
== NULL
) {
25506 PyErr_SetString(PyExc_TypeError
,"null reference");
25511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25512 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
25514 wxPyEndAllowThreads(__tstate
);
25515 if (PyErr_Occurred()) SWIG_fail
;
25517 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
25524 static PyObject
*_wrap_CustomDataObject_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25525 PyObject
*resultobj
;
25526 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25527 PyObject
*arg2
= (PyObject
*) 0 ;
25529 PyObject
* obj0
= 0 ;
25530 PyObject
* obj1
= 0 ;
25531 char *kwnames
[] = {
25532 (char *) "self",(char *) "data", NULL
25535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
25536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25541 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
25543 wxPyEndAllowThreads(__tstate
);
25544 if (PyErr_Occurred()) SWIG_fail
;
25547 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25555 static PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25556 PyObject
*resultobj
;
25557 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25559 PyObject
* obj0
= 0 ;
25560 char *kwnames
[] = {
25561 (char *) "self", NULL
25564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetSize",kwnames
,&obj0
)) goto fail
;
25565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25569 result
= (size_t)(arg1
)->GetSize();
25571 wxPyEndAllowThreads(__tstate
);
25572 if (PyErr_Occurred()) SWIG_fail
;
25574 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
25581 static PyObject
*_wrap_CustomDataObject_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25582 PyObject
*resultobj
;
25583 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25585 PyObject
* obj0
= 0 ;
25586 char *kwnames
[] = {
25587 (char *) "self", NULL
25590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetData",kwnames
,&obj0
)) goto fail
;
25591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25595 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
25597 wxPyEndAllowThreads(__tstate
);
25598 if (PyErr_Occurred()) SWIG_fail
;
25600 resultobj
= result
;
25607 static PyObject
* CustomDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25609 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25610 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject
, obj
);
25612 return Py_BuildValue((char *)"");
25614 static PyObject
*_wrap_new_URLDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25615 PyObject
*resultobj
;
25616 wxURLDataObject
*result
;
25617 char *kwnames
[] = {
25621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_URLDataObject",kwnames
)) goto fail
;
25623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25624 result
= (wxURLDataObject
*)new wxURLDataObject();
25626 wxPyEndAllowThreads(__tstate
);
25627 if (PyErr_Occurred()) SWIG_fail
;
25629 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxURLDataObject
, 1);
25636 static PyObject
*_wrap_URLDataObject_GetURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25637 PyObject
*resultobj
;
25638 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
25640 PyObject
* obj0
= 0 ;
25641 char *kwnames
[] = {
25642 (char *) "self", NULL
25645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:URLDataObject_GetURL",kwnames
,&obj0
)) goto fail
;
25646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxURLDataObject
,
25647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25650 result
= (arg1
)->GetURL();
25652 wxPyEndAllowThreads(__tstate
);
25653 if (PyErr_Occurred()) SWIG_fail
;
25657 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25659 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25668 static PyObject
*_wrap_URLDataObject_SetURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25669 PyObject
*resultobj
;
25670 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
25671 wxString
*arg2
= 0 ;
25672 bool temp2
= False
;
25673 PyObject
* obj0
= 0 ;
25674 PyObject
* obj1
= 0 ;
25675 char *kwnames
[] = {
25676 (char *) "self",(char *) "url", NULL
25679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) goto fail
;
25680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxURLDataObject
,
25681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25683 arg2
= wxString_in_helper(obj1
);
25684 if (arg2
== NULL
) SWIG_fail
;
25688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25689 (arg1
)->SetURL((wxString
const &)*arg2
);
25691 wxPyEndAllowThreads(__tstate
);
25692 if (PyErr_Occurred()) SWIG_fail
;
25694 Py_INCREF(Py_None
); resultobj
= Py_None
;
25709 static PyObject
* URLDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25711 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25712 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject
, obj
);
25714 return Py_BuildValue((char *)"");
25716 static PyObject
*_wrap_new_MetafileDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25717 PyObject
*resultobj
;
25718 wxMetafileDataObject
*result
;
25719 char *kwnames
[] = {
25723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MetafileDataObject",kwnames
)) goto fail
;
25725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25726 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
25728 wxPyEndAllowThreads(__tstate
);
25729 if (PyErr_Occurred()) SWIG_fail
;
25731 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetafileDataObject
, 1);
25738 static PyObject
*_wrap_MetafileDataObject_SetMetafile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25739 PyObject
*resultobj
;
25740 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
25741 wxMetafile
*arg2
= 0 ;
25742 PyObject
* obj0
= 0 ;
25743 PyObject
* obj1
= 0 ;
25744 char *kwnames
[] = {
25745 (char *) "self",(char *) "metafile", NULL
25748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MetafileDataObject_SetMetafile",kwnames
,&obj0
,&obj1
)) goto fail
;
25749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetafileDataObject
,
25750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25751 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMetafile
,
25752 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25754 if (arg2
== NULL
) {
25755 PyErr_SetString(PyExc_TypeError
,"null reference");
25759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25760 (arg1
)->SetMetafile((wxMetafile
const &)*arg2
);
25762 wxPyEndAllowThreads(__tstate
);
25763 if (PyErr_Occurred()) SWIG_fail
;
25765 Py_INCREF(Py_None
); resultobj
= Py_None
;
25772 static PyObject
*_wrap_MetafileDataObject_GetMetafile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25773 PyObject
*resultobj
;
25774 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
25776 PyObject
* obj0
= 0 ;
25777 char *kwnames
[] = {
25778 (char *) "self", NULL
25781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetafileDataObject_GetMetafile",kwnames
,&obj0
)) goto fail
;
25782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetafileDataObject
,
25783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25786 result
= ((wxMetafileDataObject
const *)arg1
)->GetMetafile();
25788 wxPyEndAllowThreads(__tstate
);
25789 if (PyErr_Occurred()) SWIG_fail
;
25792 wxMetafile
* resultptr
;
25793 resultptr
= new wxMetafile((wxMetafile
&) result
);
25794 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxMetafile
, 1);
25802 static PyObject
* MetafileDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25804 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25805 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject
, obj
);
25807 return Py_BuildValue((char *)"");
25809 static PyObject
*_wrap_IsDragResultOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25810 PyObject
*resultobj
;
25813 PyObject
* obj0
= 0 ;
25814 char *kwnames
[] = {
25815 (char *) "res", NULL
25818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) goto fail
;
25819 arg1
= (wxDragResult
) SWIG_AsInt(obj0
);
25820 if (PyErr_Occurred()) SWIG_fail
;
25822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25823 result
= (bool)wxIsDragResultOk((wxDragResult
)arg1
);
25825 wxPyEndAllowThreads(__tstate
);
25826 if (PyErr_Occurred()) SWIG_fail
;
25829 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25837 static PyObject
*_wrap_new_DropSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25838 PyObject
*resultobj
;
25839 wxWindow
*arg1
= (wxWindow
*) 0 ;
25840 wxCursor
const &arg2_defvalue
= wxNullCursor
;
25841 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
25842 wxCursor
const &arg3_defvalue
= wxNullCursor
;
25843 wxCursor
*arg3
= (wxCursor
*) &arg3_defvalue
;
25844 wxCursor
const &arg4_defvalue
= wxNullCursor
;
25845 wxCursor
*arg4
= (wxCursor
*) &arg4_defvalue
;
25846 wxPyDropSource
*result
;
25847 PyObject
* obj0
= 0 ;
25848 PyObject
* obj1
= 0 ;
25849 PyObject
* obj2
= 0 ;
25850 PyObject
* obj3
= 0 ;
25851 char *kwnames
[] = {
25852 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
25855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25859 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
25860 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25862 if (arg2
== NULL
) {
25863 PyErr_SetString(PyExc_TypeError
,"null reference");
25868 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxCursor
,
25869 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25871 if (arg3
== NULL
) {
25872 PyErr_SetString(PyExc_TypeError
,"null reference");
25877 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxCursor
,
25878 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25880 if (arg4
== NULL
) {
25881 PyErr_SetString(PyExc_TypeError
,"null reference");
25886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25887 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxCursor
const &)*arg2
,(wxCursor
const &)*arg3
,(wxCursor
const &)*arg4
);
25889 wxPyEndAllowThreads(__tstate
);
25890 if (PyErr_Occurred()) SWIG_fail
;
25892 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropSource
, 1);
25899 static PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25900 PyObject
*resultobj
;
25901 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25902 PyObject
*arg2
= (PyObject
*) 0 ;
25903 PyObject
*arg3
= (PyObject
*) 0 ;
25905 PyObject
* obj0
= 0 ;
25906 PyObject
* obj1
= 0 ;
25907 PyObject
* obj2
= 0 ;
25908 PyObject
* obj3
= 0 ;
25909 char *kwnames
[] = {
25910 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
25913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25918 arg4
= (int) SWIG_AsInt(obj3
);
25919 if (PyErr_Occurred()) SWIG_fail
;
25921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25922 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
25924 wxPyEndAllowThreads(__tstate
);
25925 if (PyErr_Occurred()) SWIG_fail
;
25927 Py_INCREF(Py_None
); resultobj
= Py_None
;
25934 static PyObject
*_wrap_delete_DropSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25935 PyObject
*resultobj
;
25936 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25937 PyObject
* obj0
= 0 ;
25938 char *kwnames
[] = {
25939 (char *) "self", NULL
25942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropSource",kwnames
,&obj0
)) goto fail
;
25943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25949 wxPyEndAllowThreads(__tstate
);
25950 if (PyErr_Occurred()) SWIG_fail
;
25952 Py_INCREF(Py_None
); resultobj
= Py_None
;
25959 static PyObject
*_wrap_DropSource_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25960 PyObject
*resultobj
;
25961 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25962 wxDataObject
*arg2
= 0 ;
25963 PyObject
* obj0
= 0 ;
25964 PyObject
* obj1
= 0 ;
25965 char *kwnames
[] = {
25966 (char *) "self",(char *) "data", NULL
25969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
25970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25972 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
25973 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25975 if (arg2
== NULL
) {
25976 PyErr_SetString(PyExc_TypeError
,"null reference");
25980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25981 (arg1
)->SetData(*arg2
);
25983 wxPyEndAllowThreads(__tstate
);
25984 if (PyErr_Occurred()) SWIG_fail
;
25986 Py_INCREF(Py_None
); resultobj
= Py_None
;
25993 static PyObject
*_wrap_DropSource_GetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25994 PyObject
*resultobj
;
25995 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25996 wxDataObject
*result
;
25997 PyObject
* obj0
= 0 ;
25998 char *kwnames
[] = {
25999 (char *) "self", NULL
26002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropSource_GetDataObject",kwnames
,&obj0
)) goto fail
;
26003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26007 result
= (wxDataObject
*)(arg1
)->GetDataObject();
26009 wxPyEndAllowThreads(__tstate
);
26010 if (PyErr_Occurred()) SWIG_fail
;
26012 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
26019 static PyObject
*_wrap_DropSource_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26020 PyObject
*resultobj
;
26021 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26023 wxCursor
*arg3
= 0 ;
26024 PyObject
* obj0
= 0 ;
26025 PyObject
* obj1
= 0 ;
26026 PyObject
* obj2
= 0 ;
26027 char *kwnames
[] = {
26028 (char *) "self",(char *) "res",(char *) "cursor", NULL
26031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26034 arg2
= (wxDragResult
) SWIG_AsInt(obj1
);
26035 if (PyErr_Occurred()) SWIG_fail
;
26036 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxCursor
,
26037 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26039 if (arg3
== NULL
) {
26040 PyErr_SetString(PyExc_TypeError
,"null reference");
26044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26045 (arg1
)->SetCursor((wxDragResult
)arg2
,(wxCursor
const &)*arg3
);
26047 wxPyEndAllowThreads(__tstate
);
26048 if (PyErr_Occurred()) SWIG_fail
;
26050 Py_INCREF(Py_None
); resultobj
= Py_None
;
26057 static PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26058 PyObject
*resultobj
;
26059 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26060 int arg2
= (int) wxDrag_CopyOnly
;
26062 PyObject
* obj0
= 0 ;
26063 PyObject
* obj1
= 0 ;
26064 char *kwnames
[] = {
26065 (char *) "self",(char *) "flags", NULL
26068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) goto fail
;
26069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26072 arg2
= (int) SWIG_AsInt(obj1
);
26073 if (PyErr_Occurred()) SWIG_fail
;
26076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26077 result
= (int)(arg1
)->DoDragDrop(arg2
);
26079 wxPyEndAllowThreads(__tstate
);
26080 if (PyErr_Occurred()) SWIG_fail
;
26082 resultobj
= SWIG_FromInt((int)result
);
26089 static PyObject
*_wrap_DropSource_base_GiveFeedback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26090 PyObject
*resultobj
;
26091 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26094 PyObject
* obj0
= 0 ;
26095 PyObject
* obj1
= 0 ;
26096 char *kwnames
[] = {
26097 (char *) "self",(char *) "effect", NULL
26100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_base_GiveFeedback",kwnames
,&obj0
,&obj1
)) goto fail
;
26101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26103 arg2
= (wxDragResult
) SWIG_AsInt(obj1
);
26104 if (PyErr_Occurred()) SWIG_fail
;
26106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26107 result
= (bool)(arg1
)->base_GiveFeedback((wxDragResult
)arg2
);
26109 wxPyEndAllowThreads(__tstate
);
26110 if (PyErr_Occurred()) SWIG_fail
;
26113 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26121 static PyObject
* DropSource_swigregister(PyObject
*self
, PyObject
*args
) {
26123 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26124 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource
, obj
);
26126 return Py_BuildValue((char *)"");
26128 static PyObject
*_wrap_new_DropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26129 PyObject
*resultobj
;
26130 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
26131 wxPyDropTarget
*result
;
26132 PyObject
* obj0
= 0 ;
26133 char *kwnames
[] = {
26134 (char *) "dataObject", NULL
26137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DropTarget",kwnames
,&obj0
)) goto fail
;
26139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
26140 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26144 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
26146 wxPyEndAllowThreads(__tstate
);
26147 if (PyErr_Occurred()) SWIG_fail
;
26149 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 1);
26156 static PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26157 PyObject
*resultobj
;
26158 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26159 PyObject
*arg2
= (PyObject
*) 0 ;
26160 PyObject
*arg3
= (PyObject
*) 0 ;
26161 PyObject
* obj0
= 0 ;
26162 PyObject
* obj1
= 0 ;
26163 PyObject
* obj2
= 0 ;
26164 char *kwnames
[] = {
26165 (char *) "self",(char *) "self",(char *) "_class", NULL
26168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26175 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26177 wxPyEndAllowThreads(__tstate
);
26178 if (PyErr_Occurred()) SWIG_fail
;
26180 Py_INCREF(Py_None
); resultobj
= Py_None
;
26187 static PyObject
*_wrap_delete_DropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26188 PyObject
*resultobj
;
26189 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26190 PyObject
* obj0
= 0 ;
26191 char *kwnames
[] = {
26192 (char *) "self", NULL
26195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropTarget",kwnames
,&obj0
)) goto fail
;
26196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26202 wxPyEndAllowThreads(__tstate
);
26203 if (PyErr_Occurred()) SWIG_fail
;
26205 Py_INCREF(Py_None
); resultobj
= Py_None
;
26212 static PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26213 PyObject
*resultobj
;
26214 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26215 wxDataObject
*result
;
26216 PyObject
* obj0
= 0 ;
26217 char *kwnames
[] = {
26218 (char *) "self", NULL
26221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDataObject",kwnames
,&obj0
)) goto fail
;
26222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26226 result
= (wxDataObject
*)(arg1
)->GetDataObject();
26228 wxPyEndAllowThreads(__tstate
);
26229 if (PyErr_Occurred()) SWIG_fail
;
26231 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
26238 static PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26239 PyObject
*resultobj
;
26240 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26241 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
26242 PyObject
* obj0
= 0 ;
26243 PyObject
* obj1
= 0 ;
26244 char *kwnames
[] = {
26245 (char *) "self",(char *) "dataObject", NULL
26248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) goto fail
;
26249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26251 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26252 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26255 (arg1
)->SetDataObject(arg2
);
26257 wxPyEndAllowThreads(__tstate
);
26258 if (PyErr_Occurred()) SWIG_fail
;
26260 Py_INCREF(Py_None
); resultobj
= Py_None
;
26267 static PyObject
*_wrap_DropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26268 PyObject
*resultobj
;
26269 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26274 PyObject
* obj0
= 0 ;
26275 PyObject
* obj1
= 0 ;
26276 PyObject
* obj2
= 0 ;
26277 PyObject
* obj3
= 0 ;
26278 char *kwnames
[] = {
26279 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26285 arg2
= (int) SWIG_AsInt(obj1
);
26286 if (PyErr_Occurred()) SWIG_fail
;
26287 arg3
= (int) SWIG_AsInt(obj2
);
26288 if (PyErr_Occurred()) SWIG_fail
;
26289 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26290 if (PyErr_Occurred()) SWIG_fail
;
26292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26293 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26295 wxPyEndAllowThreads(__tstate
);
26296 if (PyErr_Occurred()) SWIG_fail
;
26298 resultobj
= SWIG_FromInt((int)result
);
26305 static PyObject
*_wrap_DropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26306 PyObject
*resultobj
;
26307 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26312 PyObject
* obj0
= 0 ;
26313 PyObject
* obj1
= 0 ;
26314 PyObject
* obj2
= 0 ;
26315 PyObject
* obj3
= 0 ;
26316 char *kwnames
[] = {
26317 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26323 arg2
= (int) SWIG_AsInt(obj1
);
26324 if (PyErr_Occurred()) SWIG_fail
;
26325 arg3
= (int) SWIG_AsInt(obj2
);
26326 if (PyErr_Occurred()) SWIG_fail
;
26327 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26328 if (PyErr_Occurred()) SWIG_fail
;
26330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26331 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26333 wxPyEndAllowThreads(__tstate
);
26334 if (PyErr_Occurred()) SWIG_fail
;
26336 resultobj
= SWIG_FromInt((int)result
);
26343 static PyObject
*_wrap_DropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26344 PyObject
*resultobj
;
26345 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26346 PyObject
* obj0
= 0 ;
26347 char *kwnames
[] = {
26348 (char *) "self", NULL
26351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26356 (arg1
)->base_OnLeave();
26358 wxPyEndAllowThreads(__tstate
);
26359 if (PyErr_Occurred()) SWIG_fail
;
26361 Py_INCREF(Py_None
); resultobj
= Py_None
;
26368 static PyObject
*_wrap_DropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26369 PyObject
*resultobj
;
26370 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26374 PyObject
* obj0
= 0 ;
26375 PyObject
* obj1
= 0 ;
26376 PyObject
* obj2
= 0 ;
26377 char *kwnames
[] = {
26378 (char *) "self",(char *) "x",(char *) "y", NULL
26381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26384 arg2
= (int) SWIG_AsInt(obj1
);
26385 if (PyErr_Occurred()) SWIG_fail
;
26386 arg3
= (int) SWIG_AsInt(obj2
);
26387 if (PyErr_Occurred()) SWIG_fail
;
26389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26390 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26392 wxPyEndAllowThreads(__tstate
);
26393 if (PyErr_Occurred()) SWIG_fail
;
26396 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26404 static PyObject
*_wrap_DropTarget_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26405 PyObject
*resultobj
;
26406 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26408 PyObject
* obj0
= 0 ;
26409 char *kwnames
[] = {
26410 (char *) "self", NULL
26413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetData",kwnames
,&obj0
)) goto fail
;
26414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26418 result
= (bool)(arg1
)->GetData();
26420 wxPyEndAllowThreads(__tstate
);
26421 if (PyErr_Occurred()) SWIG_fail
;
26424 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26432 static PyObject
* DropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
26434 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26435 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget
, obj
);
26437 return Py_BuildValue((char *)"");
26439 static PyObject
*_wrap_new_TextDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26440 PyObject
*resultobj
;
26441 wxPyTextDropTarget
*result
;
26442 char *kwnames
[] = {
26446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TextDropTarget",kwnames
)) goto fail
;
26448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26449 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
26451 wxPyEndAllowThreads(__tstate
);
26452 if (PyErr_Occurred()) SWIG_fail
;
26454 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDropTarget
, 1);
26461 static PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26462 PyObject
*resultobj
;
26463 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26464 PyObject
*arg2
= (PyObject
*) 0 ;
26465 PyObject
*arg3
= (PyObject
*) 0 ;
26466 PyObject
* obj0
= 0 ;
26467 PyObject
* obj1
= 0 ;
26468 PyObject
* obj2
= 0 ;
26469 char *kwnames
[] = {
26470 (char *) "self",(char *) "self",(char *) "_class", NULL
26473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26480 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26482 wxPyEndAllowThreads(__tstate
);
26483 if (PyErr_Occurred()) SWIG_fail
;
26485 Py_INCREF(Py_None
); resultobj
= Py_None
;
26492 static PyObject
*_wrap_TextDropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26493 PyObject
*resultobj
;
26494 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26499 PyObject
* obj0
= 0 ;
26500 PyObject
* obj1
= 0 ;
26501 PyObject
* obj2
= 0 ;
26502 PyObject
* obj3
= 0 ;
26503 char *kwnames
[] = {
26504 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26510 arg2
= (int) SWIG_AsInt(obj1
);
26511 if (PyErr_Occurred()) SWIG_fail
;
26512 arg3
= (int) SWIG_AsInt(obj2
);
26513 if (PyErr_Occurred()) SWIG_fail
;
26514 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26515 if (PyErr_Occurred()) SWIG_fail
;
26517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26518 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26520 wxPyEndAllowThreads(__tstate
);
26521 if (PyErr_Occurred()) SWIG_fail
;
26523 resultobj
= SWIG_FromInt((int)result
);
26530 static PyObject
*_wrap_TextDropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26531 PyObject
*resultobj
;
26532 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26537 PyObject
* obj0
= 0 ;
26538 PyObject
* obj1
= 0 ;
26539 PyObject
* obj2
= 0 ;
26540 PyObject
* obj3
= 0 ;
26541 char *kwnames
[] = {
26542 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26548 arg2
= (int) SWIG_AsInt(obj1
);
26549 if (PyErr_Occurred()) SWIG_fail
;
26550 arg3
= (int) SWIG_AsInt(obj2
);
26551 if (PyErr_Occurred()) SWIG_fail
;
26552 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26553 if (PyErr_Occurred()) SWIG_fail
;
26555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26556 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26558 wxPyEndAllowThreads(__tstate
);
26559 if (PyErr_Occurred()) SWIG_fail
;
26561 resultobj
= SWIG_FromInt((int)result
);
26568 static PyObject
*_wrap_TextDropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26569 PyObject
*resultobj
;
26570 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26571 PyObject
* obj0
= 0 ;
26572 char *kwnames
[] = {
26573 (char *) "self", NULL
26576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26581 (arg1
)->base_OnLeave();
26583 wxPyEndAllowThreads(__tstate
);
26584 if (PyErr_Occurred()) SWIG_fail
;
26586 Py_INCREF(Py_None
); resultobj
= Py_None
;
26593 static PyObject
*_wrap_TextDropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26594 PyObject
*resultobj
;
26595 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26599 PyObject
* obj0
= 0 ;
26600 PyObject
* obj1
= 0 ;
26601 PyObject
* obj2
= 0 ;
26602 char *kwnames
[] = {
26603 (char *) "self",(char *) "x",(char *) "y", NULL
26606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26609 arg2
= (int) SWIG_AsInt(obj1
);
26610 if (PyErr_Occurred()) SWIG_fail
;
26611 arg3
= (int) SWIG_AsInt(obj2
);
26612 if (PyErr_Occurred()) SWIG_fail
;
26614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26615 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26617 wxPyEndAllowThreads(__tstate
);
26618 if (PyErr_Occurred()) SWIG_fail
;
26621 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26629 static PyObject
*_wrap_TextDropTarget_base_OnData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26630 PyObject
*resultobj
;
26631 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26636 PyObject
* obj0
= 0 ;
26637 PyObject
* obj1
= 0 ;
26638 PyObject
* obj2
= 0 ;
26639 PyObject
* obj3
= 0 ;
26640 char *kwnames
[] = {
26641 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26647 arg2
= (int) SWIG_AsInt(obj1
);
26648 if (PyErr_Occurred()) SWIG_fail
;
26649 arg3
= (int) SWIG_AsInt(obj2
);
26650 if (PyErr_Occurred()) SWIG_fail
;
26651 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26652 if (PyErr_Occurred()) SWIG_fail
;
26654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26655 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
26657 wxPyEndAllowThreads(__tstate
);
26658 if (PyErr_Occurred()) SWIG_fail
;
26660 resultobj
= SWIG_FromInt((int)result
);
26667 static PyObject
* TextDropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
26669 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26670 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget
, obj
);
26672 return Py_BuildValue((char *)"");
26674 static PyObject
*_wrap_new_FileDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26675 PyObject
*resultobj
;
26676 wxPyFileDropTarget
*result
;
26677 char *kwnames
[] = {
26681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDropTarget",kwnames
)) goto fail
;
26683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26684 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
26686 wxPyEndAllowThreads(__tstate
);
26687 if (PyErr_Occurred()) SWIG_fail
;
26689 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileDropTarget
, 1);
26696 static PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26697 PyObject
*resultobj
;
26698 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26699 PyObject
*arg2
= (PyObject
*) 0 ;
26700 PyObject
*arg3
= (PyObject
*) 0 ;
26701 PyObject
* obj0
= 0 ;
26702 PyObject
* obj1
= 0 ;
26703 PyObject
* obj2
= 0 ;
26704 char *kwnames
[] = {
26705 (char *) "self",(char *) "self",(char *) "_class", NULL
26708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26715 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26717 wxPyEndAllowThreads(__tstate
);
26718 if (PyErr_Occurred()) SWIG_fail
;
26720 Py_INCREF(Py_None
); resultobj
= Py_None
;
26727 static PyObject
*_wrap_FileDropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26728 PyObject
*resultobj
;
26729 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26734 PyObject
* obj0
= 0 ;
26735 PyObject
* obj1
= 0 ;
26736 PyObject
* obj2
= 0 ;
26737 PyObject
* obj3
= 0 ;
26738 char *kwnames
[] = {
26739 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26745 arg2
= (int) SWIG_AsInt(obj1
);
26746 if (PyErr_Occurred()) SWIG_fail
;
26747 arg3
= (int) SWIG_AsInt(obj2
);
26748 if (PyErr_Occurred()) SWIG_fail
;
26749 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26750 if (PyErr_Occurred()) SWIG_fail
;
26752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26753 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26755 wxPyEndAllowThreads(__tstate
);
26756 if (PyErr_Occurred()) SWIG_fail
;
26758 resultobj
= SWIG_FromInt((int)result
);
26765 static PyObject
*_wrap_FileDropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26766 PyObject
*resultobj
;
26767 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26772 PyObject
* obj0
= 0 ;
26773 PyObject
* obj1
= 0 ;
26774 PyObject
* obj2
= 0 ;
26775 PyObject
* obj3
= 0 ;
26776 char *kwnames
[] = {
26777 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26783 arg2
= (int) SWIG_AsInt(obj1
);
26784 if (PyErr_Occurred()) SWIG_fail
;
26785 arg3
= (int) SWIG_AsInt(obj2
);
26786 if (PyErr_Occurred()) SWIG_fail
;
26787 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26788 if (PyErr_Occurred()) SWIG_fail
;
26790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26791 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26793 wxPyEndAllowThreads(__tstate
);
26794 if (PyErr_Occurred()) SWIG_fail
;
26796 resultobj
= SWIG_FromInt((int)result
);
26803 static PyObject
*_wrap_FileDropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26804 PyObject
*resultobj
;
26805 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26806 PyObject
* obj0
= 0 ;
26807 char *kwnames
[] = {
26808 (char *) "self", NULL
26811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26816 (arg1
)->base_OnLeave();
26818 wxPyEndAllowThreads(__tstate
);
26819 if (PyErr_Occurred()) SWIG_fail
;
26821 Py_INCREF(Py_None
); resultobj
= Py_None
;
26828 static PyObject
*_wrap_FileDropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26829 PyObject
*resultobj
;
26830 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26834 PyObject
* obj0
= 0 ;
26835 PyObject
* obj1
= 0 ;
26836 PyObject
* obj2
= 0 ;
26837 char *kwnames
[] = {
26838 (char *) "self",(char *) "x",(char *) "y", NULL
26841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26844 arg2
= (int) SWIG_AsInt(obj1
);
26845 if (PyErr_Occurred()) SWIG_fail
;
26846 arg3
= (int) SWIG_AsInt(obj2
);
26847 if (PyErr_Occurred()) SWIG_fail
;
26849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26850 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26852 wxPyEndAllowThreads(__tstate
);
26853 if (PyErr_Occurred()) SWIG_fail
;
26856 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26864 static PyObject
*_wrap_FileDropTarget_base_OnData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26865 PyObject
*resultobj
;
26866 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26871 PyObject
* obj0
= 0 ;
26872 PyObject
* obj1
= 0 ;
26873 PyObject
* obj2
= 0 ;
26874 PyObject
* obj3
= 0 ;
26875 char *kwnames
[] = {
26876 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26882 arg2
= (int) SWIG_AsInt(obj1
);
26883 if (PyErr_Occurred()) SWIG_fail
;
26884 arg3
= (int) SWIG_AsInt(obj2
);
26885 if (PyErr_Occurred()) SWIG_fail
;
26886 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26887 if (PyErr_Occurred()) SWIG_fail
;
26889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26890 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
26892 wxPyEndAllowThreads(__tstate
);
26893 if (PyErr_Occurred()) SWIG_fail
;
26895 resultobj
= SWIG_FromInt((int)result
);
26902 static PyObject
* FileDropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
26904 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26905 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget
, obj
);
26907 return Py_BuildValue((char *)"");
26909 static PyObject
*_wrap_new_Clipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26910 PyObject
*resultobj
;
26911 wxClipboard
*result
;
26912 char *kwnames
[] = {
26916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Clipboard",kwnames
)) goto fail
;
26918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26919 result
= (wxClipboard
*)new wxClipboard();
26921 wxPyEndAllowThreads(__tstate
);
26922 if (PyErr_Occurred()) SWIG_fail
;
26924 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 1);
26931 static PyObject
*_wrap_delete_Clipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26932 PyObject
*resultobj
;
26933 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26934 PyObject
* obj0
= 0 ;
26935 char *kwnames
[] = {
26936 (char *) "self", NULL
26939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Clipboard",kwnames
,&obj0
)) goto fail
;
26940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26946 wxPyEndAllowThreads(__tstate
);
26947 if (PyErr_Occurred()) SWIG_fail
;
26949 Py_INCREF(Py_None
); resultobj
= Py_None
;
26956 static PyObject
*_wrap_Clipboard_Open(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26957 PyObject
*resultobj
;
26958 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26960 PyObject
* obj0
= 0 ;
26961 char *kwnames
[] = {
26962 (char *) "self", NULL
26965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Open",kwnames
,&obj0
)) goto fail
;
26966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26970 result
= (bool)(arg1
)->Open();
26972 wxPyEndAllowThreads(__tstate
);
26973 if (PyErr_Occurred()) SWIG_fail
;
26976 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26984 static PyObject
*_wrap_Clipboard_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26985 PyObject
*resultobj
;
26986 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26987 PyObject
* obj0
= 0 ;
26988 char *kwnames
[] = {
26989 (char *) "self", NULL
26992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Close",kwnames
,&obj0
)) goto fail
;
26993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26999 wxPyEndAllowThreads(__tstate
);
27000 if (PyErr_Occurred()) SWIG_fail
;
27002 Py_INCREF(Py_None
); resultobj
= Py_None
;
27009 static PyObject
*_wrap_Clipboard_IsOpened(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27010 PyObject
*resultobj
;
27011 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27013 PyObject
* obj0
= 0 ;
27014 char *kwnames
[] = {
27015 (char *) "self", NULL
27018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_IsOpened",kwnames
,&obj0
)) goto fail
;
27019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27023 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
27025 wxPyEndAllowThreads(__tstate
);
27026 if (PyErr_Occurred()) SWIG_fail
;
27029 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27037 static PyObject
*_wrap_Clipboard_AddData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27038 PyObject
*resultobj
;
27039 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27040 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
27042 PyObject
* obj0
= 0 ;
27043 PyObject
* obj1
= 0 ;
27044 char *kwnames
[] = {
27045 (char *) "self",(char *) "data", NULL
27048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) goto fail
;
27049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27051 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
27052 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
27054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27055 result
= (bool)(arg1
)->AddData(arg2
);
27057 wxPyEndAllowThreads(__tstate
);
27058 if (PyErr_Occurred()) SWIG_fail
;
27061 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27069 static PyObject
*_wrap_Clipboard_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27070 PyObject
*resultobj
;
27071 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27072 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
27074 PyObject
* obj0
= 0 ;
27075 PyObject
* obj1
= 0 ;
27076 char *kwnames
[] = {
27077 (char *) "self",(char *) "data", NULL
27080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
27081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27083 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
27084 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
27086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27087 result
= (bool)(arg1
)->SetData(arg2
);
27089 wxPyEndAllowThreads(__tstate
);
27090 if (PyErr_Occurred()) SWIG_fail
;
27093 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27101 static PyObject
*_wrap_Clipboard_IsSupported(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27102 PyObject
*resultobj
;
27103 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27104 wxDataFormat
*arg2
= 0 ;
27106 PyObject
* obj0
= 0 ;
27107 PyObject
* obj1
= 0 ;
27108 char *kwnames
[] = {
27109 (char *) "self",(char *) "format", NULL
27112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) goto fail
;
27113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27115 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
27116 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27118 if (arg2
== NULL
) {
27119 PyErr_SetString(PyExc_TypeError
,"null reference");
27123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27124 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
27126 wxPyEndAllowThreads(__tstate
);
27127 if (PyErr_Occurred()) SWIG_fail
;
27130 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27138 static PyObject
*_wrap_Clipboard_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27139 PyObject
*resultobj
;
27140 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27141 wxDataObject
*arg2
= 0 ;
27143 PyObject
* obj0
= 0 ;
27144 PyObject
* obj1
= 0 ;
27145 char *kwnames
[] = {
27146 (char *) "self",(char *) "data", NULL
27149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) goto fail
;
27150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27152 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
27153 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27155 if (arg2
== NULL
) {
27156 PyErr_SetString(PyExc_TypeError
,"null reference");
27160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27161 result
= (bool)(arg1
)->GetData(*arg2
);
27163 wxPyEndAllowThreads(__tstate
);
27164 if (PyErr_Occurred()) SWIG_fail
;
27167 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27175 static PyObject
*_wrap_Clipboard_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27176 PyObject
*resultobj
;
27177 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27178 PyObject
* obj0
= 0 ;
27179 char *kwnames
[] = {
27180 (char *) "self", NULL
27183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Clear",kwnames
,&obj0
)) goto fail
;
27184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27190 wxPyEndAllowThreads(__tstate
);
27191 if (PyErr_Occurred()) SWIG_fail
;
27193 Py_INCREF(Py_None
); resultobj
= Py_None
;
27200 static PyObject
*_wrap_Clipboard_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27201 PyObject
*resultobj
;
27202 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27204 PyObject
* obj0
= 0 ;
27205 char *kwnames
[] = {
27206 (char *) "self", NULL
27209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Flush",kwnames
,&obj0
)) goto fail
;
27210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27214 result
= (bool)(arg1
)->Flush();
27216 wxPyEndAllowThreads(__tstate
);
27217 if (PyErr_Occurred()) SWIG_fail
;
27220 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27228 static PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27229 PyObject
*resultobj
;
27230 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27231 bool arg2
= (bool) True
;
27232 PyObject
* obj0
= 0 ;
27233 PyObject
* obj1
= 0 ;
27234 char *kwnames
[] = {
27235 (char *) "self",(char *) "primary", NULL
27238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) goto fail
;
27239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27242 arg2
= (bool) SWIG_AsBool(obj1
);
27243 if (PyErr_Occurred()) SWIG_fail
;
27246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27247 (arg1
)->UsePrimarySelection(arg2
);
27249 wxPyEndAllowThreads(__tstate
);
27250 if (PyErr_Occurred()) SWIG_fail
;
27252 Py_INCREF(Py_None
); resultobj
= Py_None
;
27259 static PyObject
* Clipboard_swigregister(PyObject
*self
, PyObject
*args
) {
27261 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27262 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard
, obj
);
27264 return Py_BuildValue((char *)"");
27266 static int _wrap_TheClipboard_set(PyObject
*_val
) {
27267 PyErr_SetString(PyExc_TypeError
,"Variable TheClipboard is read-only.");
27272 static PyObject
*_wrap_TheClipboard_get() {
27275 pyobj
= SWIG_NewPointerObj((void *)(wxTheClipboard
), SWIGTYPE_p_wxClipboard
, 0);
27280 static PyObject
*_wrap_new_ClipboardLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27281 PyObject
*resultobj
;
27282 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
27283 wxClipboardLocker
*result
;
27284 PyObject
* obj0
= 0 ;
27285 char *kwnames
[] = {
27286 (char *) "clipboard", NULL
27289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
27291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27296 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
27298 wxPyEndAllowThreads(__tstate
);
27299 if (PyErr_Occurred()) SWIG_fail
;
27301 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboardLocker
, 1);
27308 static PyObject
*_wrap_delete_ClipboardLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27309 PyObject
*resultobj
;
27310 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
27311 PyObject
* obj0
= 0 ;
27312 char *kwnames
[] = {
27313 (char *) "self", NULL
27316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
27317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboardLocker
,
27318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27323 wxPyEndAllowThreads(__tstate
);
27324 if (PyErr_Occurred()) SWIG_fail
;
27326 Py_INCREF(Py_None
); resultobj
= Py_None
;
27333 static PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27334 PyObject
*resultobj
;
27335 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
27337 PyObject
* obj0
= 0 ;
27338 char *kwnames
[] = {
27339 (char *) "self", NULL
27342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ClipboardLocker___nonzero__",kwnames
,&obj0
)) goto fail
;
27343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboardLocker
,
27344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27347 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
27349 wxPyEndAllowThreads(__tstate
);
27350 if (PyErr_Occurred()) SWIG_fail
;
27353 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27361 static PyObject
* ClipboardLocker_swigregister(PyObject
*self
, PyObject
*args
) {
27363 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27364 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker
, obj
);
27366 return Py_BuildValue((char *)"");
27368 static PyObject
*_wrap_new_VideoMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27369 PyObject
*resultobj
;
27370 int arg1
= (int) 0 ;
27371 int arg2
= (int) 0 ;
27372 int arg3
= (int) 0 ;
27373 int arg4
= (int) 0 ;
27374 wxVideoMode
*result
;
27375 PyObject
* obj0
= 0 ;
27376 PyObject
* obj1
= 0 ;
27377 PyObject
* obj2
= 0 ;
27378 PyObject
* obj3
= 0 ;
27379 char *kwnames
[] = {
27380 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
27383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_VideoMode",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27385 arg1
= (int) SWIG_AsInt(obj0
);
27386 if (PyErr_Occurred()) SWIG_fail
;
27389 arg2
= (int) SWIG_AsInt(obj1
);
27390 if (PyErr_Occurred()) SWIG_fail
;
27393 arg3
= (int) SWIG_AsInt(obj2
);
27394 if (PyErr_Occurred()) SWIG_fail
;
27397 arg4
= (int) SWIG_AsInt(obj3
);
27398 if (PyErr_Occurred()) SWIG_fail
;
27401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27402 result
= (wxVideoMode
*)new wxVideoMode(arg1
,arg2
,arg3
,arg4
);
27404 wxPyEndAllowThreads(__tstate
);
27405 if (PyErr_Occurred()) SWIG_fail
;
27407 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVideoMode
, 1);
27414 static PyObject
*_wrap_delete_VideoMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27415 PyObject
*resultobj
;
27416 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27417 PyObject
* obj0
= 0 ;
27418 char *kwnames
[] = {
27419 (char *) "self", NULL
27422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VideoMode",kwnames
,&obj0
)) goto fail
;
27423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27429 wxPyEndAllowThreads(__tstate
);
27430 if (PyErr_Occurred()) SWIG_fail
;
27432 Py_INCREF(Py_None
); resultobj
= Py_None
;
27439 static PyObject
*_wrap_VideoMode_Matches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27440 PyObject
*resultobj
;
27441 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27442 wxVideoMode
*arg2
= 0 ;
27444 PyObject
* obj0
= 0 ;
27445 PyObject
* obj1
= 0 ;
27446 char *kwnames
[] = {
27447 (char *) "self",(char *) "other", NULL
27450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_Matches",kwnames
,&obj0
,&obj1
)) goto fail
;
27451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27453 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27454 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27456 if (arg2
== NULL
) {
27457 PyErr_SetString(PyExc_TypeError
,"null reference");
27461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27462 result
= (bool)((wxVideoMode
const *)arg1
)->Matches((wxVideoMode
const &)*arg2
);
27464 wxPyEndAllowThreads(__tstate
);
27465 if (PyErr_Occurred()) SWIG_fail
;
27468 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27476 static PyObject
*_wrap_VideoMode_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27477 PyObject
*resultobj
;
27478 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27480 PyObject
* obj0
= 0 ;
27481 char *kwnames
[] = {
27482 (char *) "self", NULL
27485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetWidth",kwnames
,&obj0
)) goto fail
;
27486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27490 result
= (int)((wxVideoMode
const *)arg1
)->GetWidth();
27492 wxPyEndAllowThreads(__tstate
);
27493 if (PyErr_Occurred()) SWIG_fail
;
27495 resultobj
= SWIG_FromInt((int)result
);
27502 static PyObject
*_wrap_VideoMode_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27503 PyObject
*resultobj
;
27504 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27506 PyObject
* obj0
= 0 ;
27507 char *kwnames
[] = {
27508 (char *) "self", NULL
27511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetHeight",kwnames
,&obj0
)) goto fail
;
27512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27516 result
= (int)((wxVideoMode
const *)arg1
)->GetHeight();
27518 wxPyEndAllowThreads(__tstate
);
27519 if (PyErr_Occurred()) SWIG_fail
;
27521 resultobj
= SWIG_FromInt((int)result
);
27528 static PyObject
*_wrap_VideoMode_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27529 PyObject
*resultobj
;
27530 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27532 PyObject
* obj0
= 0 ;
27533 char *kwnames
[] = {
27534 (char *) "self", NULL
27537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetDepth",kwnames
,&obj0
)) goto fail
;
27538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27542 result
= (int)((wxVideoMode
const *)arg1
)->GetDepth();
27544 wxPyEndAllowThreads(__tstate
);
27545 if (PyErr_Occurred()) SWIG_fail
;
27547 resultobj
= SWIG_FromInt((int)result
);
27554 static PyObject
*_wrap_VideoMode_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27555 PyObject
*resultobj
;
27556 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27558 PyObject
* obj0
= 0 ;
27559 char *kwnames
[] = {
27560 (char *) "self", NULL
27563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_IsOk",kwnames
,&obj0
)) goto fail
;
27564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27568 result
= (bool)((wxVideoMode
const *)arg1
)->IsOk();
27570 wxPyEndAllowThreads(__tstate
);
27571 if (PyErr_Occurred()) SWIG_fail
;
27574 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27582 static PyObject
*_wrap_VideoMode___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27583 PyObject
*resultobj
;
27584 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27585 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
27587 PyObject
* obj0
= 0 ;
27588 PyObject
* obj1
= 0 ;
27589 char *kwnames
[] = {
27590 (char *) "self",(char *) "other", NULL
27593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
27594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27596 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27600 result
= (bool)wxVideoMode___eq__(arg1
,(wxVideoMode
const *)arg2
);
27602 wxPyEndAllowThreads(__tstate
);
27603 if (PyErr_Occurred()) SWIG_fail
;
27606 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27614 static PyObject
*_wrap_VideoMode___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27615 PyObject
*resultobj
;
27616 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27617 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
27619 PyObject
* obj0
= 0 ;
27620 PyObject
* obj1
= 0 ;
27621 char *kwnames
[] = {
27622 (char *) "self",(char *) "other", NULL
27625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
27626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27628 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27632 result
= (bool)wxVideoMode___ne__(arg1
,(wxVideoMode
const *)arg2
);
27634 wxPyEndAllowThreads(__tstate
);
27635 if (PyErr_Occurred()) SWIG_fail
;
27638 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27646 static PyObject
*_wrap_VideoMode_w_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27647 PyObject
*resultobj
;
27648 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27650 PyObject
* obj0
= 0 ;
27651 PyObject
* obj1
= 0 ;
27652 char *kwnames
[] = {
27653 (char *) "self",(char *) "w", NULL
27656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_w_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27659 arg2
= (int) SWIG_AsInt(obj1
);
27660 if (PyErr_Occurred()) SWIG_fail
;
27661 if (arg1
) (arg1
)->w
= arg2
;
27663 Py_INCREF(Py_None
); resultobj
= Py_None
;
27670 static PyObject
*_wrap_VideoMode_w_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27671 PyObject
*resultobj
;
27672 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27674 PyObject
* obj0
= 0 ;
27675 char *kwnames
[] = {
27676 (char *) "self", NULL
27679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_w_get",kwnames
,&obj0
)) goto fail
;
27680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27682 result
= (int) ((arg1
)->w
);
27684 resultobj
= SWIG_FromInt((int)result
);
27691 static PyObject
*_wrap_VideoMode_h_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27692 PyObject
*resultobj
;
27693 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27695 PyObject
* obj0
= 0 ;
27696 PyObject
* obj1
= 0 ;
27697 char *kwnames
[] = {
27698 (char *) "self",(char *) "h", NULL
27701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_h_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27704 arg2
= (int) SWIG_AsInt(obj1
);
27705 if (PyErr_Occurred()) SWIG_fail
;
27706 if (arg1
) (arg1
)->h
= arg2
;
27708 Py_INCREF(Py_None
); resultobj
= Py_None
;
27715 static PyObject
*_wrap_VideoMode_h_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27716 PyObject
*resultobj
;
27717 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27719 PyObject
* obj0
= 0 ;
27720 char *kwnames
[] = {
27721 (char *) "self", NULL
27724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_h_get",kwnames
,&obj0
)) goto fail
;
27725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27727 result
= (int) ((arg1
)->h
);
27729 resultobj
= SWIG_FromInt((int)result
);
27736 static PyObject
*_wrap_VideoMode_bpp_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27737 PyObject
*resultobj
;
27738 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27740 PyObject
* obj0
= 0 ;
27741 PyObject
* obj1
= 0 ;
27742 char *kwnames
[] = {
27743 (char *) "self",(char *) "bpp", NULL
27746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_bpp_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27749 arg2
= (int) SWIG_AsInt(obj1
);
27750 if (PyErr_Occurred()) SWIG_fail
;
27751 if (arg1
) (arg1
)->bpp
= arg2
;
27753 Py_INCREF(Py_None
); resultobj
= Py_None
;
27760 static PyObject
*_wrap_VideoMode_bpp_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27761 PyObject
*resultobj
;
27762 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27764 PyObject
* obj0
= 0 ;
27765 char *kwnames
[] = {
27766 (char *) "self", NULL
27769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_bpp_get",kwnames
,&obj0
)) goto fail
;
27770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27772 result
= (int) ((arg1
)->bpp
);
27774 resultobj
= SWIG_FromInt((int)result
);
27781 static PyObject
*_wrap_VideoMode_refresh_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27782 PyObject
*resultobj
;
27783 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27785 PyObject
* obj0
= 0 ;
27786 PyObject
* obj1
= 0 ;
27787 char *kwnames
[] = {
27788 (char *) "self",(char *) "refresh", NULL
27791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_refresh_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27794 arg2
= (int) SWIG_AsInt(obj1
);
27795 if (PyErr_Occurred()) SWIG_fail
;
27796 if (arg1
) (arg1
)->refresh
= arg2
;
27798 Py_INCREF(Py_None
); resultobj
= Py_None
;
27805 static PyObject
*_wrap_VideoMode_refresh_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27806 PyObject
*resultobj
;
27807 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27809 PyObject
* obj0
= 0 ;
27810 char *kwnames
[] = {
27811 (char *) "self", NULL
27814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_refresh_get",kwnames
,&obj0
)) goto fail
;
27815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27817 result
= (int) ((arg1
)->refresh
);
27819 resultobj
= SWIG_FromInt((int)result
);
27826 static PyObject
* VideoMode_swigregister(PyObject
*self
, PyObject
*args
) {
27828 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27829 SWIG_TypeClientData(SWIGTYPE_p_wxVideoMode
, obj
);
27831 return Py_BuildValue((char *)"");
27833 static int _wrap_DefaultVideoMode_set(PyObject
*_val
) {
27834 PyErr_SetString(PyExc_TypeError
,"Variable DefaultVideoMode is read-only.");
27839 static PyObject
*_wrap_DefaultVideoMode_get() {
27842 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultVideoMode
), SWIGTYPE_p_wxVideoMode
, 0);
27847 static PyObject
*_wrap_new_Display(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27848 PyObject
*resultobj
;
27849 size_t arg1
= (size_t) 0 ;
27851 PyObject
* obj0
= 0 ;
27852 char *kwnames
[] = {
27853 (char *) "index", NULL
27856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Display",kwnames
,&obj0
)) goto fail
;
27858 arg1
= (size_t) SWIG_AsUnsignedLong(obj0
);
27859 if (PyErr_Occurred()) SWIG_fail
;
27862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27863 result
= (wxDisplay
*)new wxDisplay(arg1
);
27865 wxPyEndAllowThreads(__tstate
);
27866 if (PyErr_Occurred()) SWIG_fail
;
27868 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplay
, 1);
27875 static PyObject
*_wrap_delete_Display(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27876 PyObject
*resultobj
;
27877 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27878 PyObject
* obj0
= 0 ;
27879 char *kwnames
[] = {
27880 (char *) "self", NULL
27883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Display",kwnames
,&obj0
)) goto fail
;
27884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27890 wxPyEndAllowThreads(__tstate
);
27891 if (PyErr_Occurred()) SWIG_fail
;
27893 Py_INCREF(Py_None
); resultobj
= Py_None
;
27900 static PyObject
*_wrap_Display_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27901 PyObject
*resultobj
;
27903 char *kwnames
[] = {
27907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Display_GetCount",kwnames
)) goto fail
;
27909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27910 result
= (size_t)wxDisplay::GetCount();
27912 wxPyEndAllowThreads(__tstate
);
27913 if (PyErr_Occurred()) SWIG_fail
;
27915 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
27922 static PyObject
*_wrap_Display_GetFromPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27923 PyObject
*resultobj
;
27924 wxPoint
*arg1
= 0 ;
27927 PyObject
* obj0
= 0 ;
27928 char *kwnames
[] = {
27929 (char *) "pt", NULL
27932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromPoint",kwnames
,&obj0
)) goto fail
;
27935 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
27938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27939 result
= (int)wxDisplay::GetFromPoint((wxPoint
const &)*arg1
);
27941 wxPyEndAllowThreads(__tstate
);
27942 if (PyErr_Occurred()) SWIG_fail
;
27944 resultobj
= SWIG_FromInt((int)result
);
27951 static PyObject
*_wrap_Display_GetFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27952 PyObject
*resultobj
;
27953 wxWindow
*arg1
= (wxWindow
*) 0 ;
27955 PyObject
* obj0
= 0 ;
27956 char *kwnames
[] = {
27957 (char *) "window", NULL
27960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromWindow",kwnames
,&obj0
)) goto fail
;
27961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27965 result
= (int)wxDisplay::GetFromWindow(arg1
);
27967 wxPyEndAllowThreads(__tstate
);
27968 if (PyErr_Occurred()) SWIG_fail
;
27970 resultobj
= SWIG_FromInt((int)result
);
27977 static PyObject
*_wrap_Display_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27978 PyObject
*resultobj
;
27979 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27981 PyObject
* obj0
= 0 ;
27982 char *kwnames
[] = {
27983 (char *) "self", NULL
27986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsOk",kwnames
,&obj0
)) goto fail
;
27987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27991 result
= (bool)((wxDisplay
const *)arg1
)->IsOk();
27993 wxPyEndAllowThreads(__tstate
);
27994 if (PyErr_Occurred()) SWIG_fail
;
27997 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28005 static PyObject
*_wrap_Display_GetGeometry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28006 PyObject
*resultobj
;
28007 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28009 PyObject
* obj0
= 0 ;
28010 char *kwnames
[] = {
28011 (char *) "self", NULL
28014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetGeometry",kwnames
,&obj0
)) goto fail
;
28015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28019 result
= ((wxDisplay
const *)arg1
)->GetGeometry();
28021 wxPyEndAllowThreads(__tstate
);
28022 if (PyErr_Occurred()) SWIG_fail
;
28025 wxRect
* resultptr
;
28026 resultptr
= new wxRect((wxRect
&) result
);
28027 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
28035 static PyObject
*_wrap_Display_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28036 PyObject
*resultobj
;
28037 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28039 PyObject
* obj0
= 0 ;
28040 char *kwnames
[] = {
28041 (char *) "self", NULL
28044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetName",kwnames
,&obj0
)) goto fail
;
28045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28049 result
= ((wxDisplay
const *)arg1
)->GetName();
28051 wxPyEndAllowThreads(__tstate
);
28052 if (PyErr_Occurred()) SWIG_fail
;
28056 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28058 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28067 static PyObject
*_wrap_Display_IsPrimary(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28068 PyObject
*resultobj
;
28069 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28071 PyObject
* obj0
= 0 ;
28072 char *kwnames
[] = {
28073 (char *) "self", NULL
28076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsPrimary",kwnames
,&obj0
)) goto fail
;
28077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28081 result
= (bool)((wxDisplay
const *)arg1
)->IsPrimary();
28083 wxPyEndAllowThreads(__tstate
);
28084 if (PyErr_Occurred()) SWIG_fail
;
28087 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28095 static PyObject
*_wrap_Display_GetModes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28096 PyObject
*resultobj
;
28097 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28098 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
28099 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
28101 PyObject
* obj0
= 0 ;
28102 PyObject
* obj1
= 0 ;
28103 char *kwnames
[] = {
28104 (char *) "self",(char *) "mode", NULL
28107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_GetModes",kwnames
,&obj0
,&obj1
)) goto fail
;
28108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28111 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
28112 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28114 if (arg2
== NULL
) {
28115 PyErr_SetString(PyExc_TypeError
,"null reference");
28120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28121 result
= (PyObject
*)wxDisplay_GetModes(arg1
,(wxVideoMode
const &)*arg2
);
28123 wxPyEndAllowThreads(__tstate
);
28124 if (PyErr_Occurred()) SWIG_fail
;
28126 resultobj
= result
;
28133 static PyObject
*_wrap_Display_GetCurrentMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28134 PyObject
*resultobj
;
28135 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28136 wxVideoMode result
;
28137 PyObject
* obj0
= 0 ;
28138 char *kwnames
[] = {
28139 (char *) "self", NULL
28142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetCurrentMode",kwnames
,&obj0
)) goto fail
;
28143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28147 result
= ((wxDisplay
const *)arg1
)->GetCurrentMode();
28149 wxPyEndAllowThreads(__tstate
);
28150 if (PyErr_Occurred()) SWIG_fail
;
28153 wxVideoMode
* resultptr
;
28154 resultptr
= new wxVideoMode((wxVideoMode
&) result
);
28155 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVideoMode
, 1);
28163 static PyObject
*_wrap_Display_ChangeMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28164 PyObject
*resultobj
;
28165 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28166 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
28167 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
28169 PyObject
* obj0
= 0 ;
28170 PyObject
* obj1
= 0 ;
28171 char *kwnames
[] = {
28172 (char *) "self",(char *) "mode", NULL
28175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_ChangeMode",kwnames
,&obj0
,&obj1
)) goto fail
;
28176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28179 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
28180 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28182 if (arg2
== NULL
) {
28183 PyErr_SetString(PyExc_TypeError
,"null reference");
28188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28189 result
= (bool)(arg1
)->ChangeMode((wxVideoMode
const &)*arg2
);
28191 wxPyEndAllowThreads(__tstate
);
28192 if (PyErr_Occurred()) SWIG_fail
;
28195 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28203 static PyObject
*_wrap_Display_ResetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28204 PyObject
*resultobj
;
28205 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28206 PyObject
* obj0
= 0 ;
28207 char *kwnames
[] = {
28208 (char *) "self", NULL
28211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_ResetMode",kwnames
,&obj0
)) goto fail
;
28212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28216 (arg1
)->ResetMode();
28218 wxPyEndAllowThreads(__tstate
);
28219 if (PyErr_Occurred()) SWIG_fail
;
28221 Py_INCREF(Py_None
); resultobj
= Py_None
;
28228 static PyObject
* Display_swigregister(PyObject
*self
, PyObject
*args
) {
28230 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28231 SWIG_TypeClientData(SWIGTYPE_p_wxDisplay
, obj
);
28233 return Py_BuildValue((char *)"");
28235 static PyMethodDef SwigMethods
[] = {
28236 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
28237 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
28238 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
},
28239 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
},
28240 { (char *)"SystemSettings_GetScreenType", (PyCFunction
) _wrap_SystemSettings_GetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
28241 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
28242 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
},
28243 { (char *)"new_SystemOptions", (PyCFunction
) _wrap_new_SystemOptions
, METH_VARARGS
| METH_KEYWORDS
},
28244 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
},
28245 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
28246 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
},
28247 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
28248 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
},
28249 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
},
28250 { (char *)"NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
},
28251 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
},
28252 { (char *)"GetCurrentId", (PyCFunction
) _wrap_GetCurrentId
, METH_VARARGS
| METH_KEYWORDS
},
28253 { (char *)"Bell", (PyCFunction
) _wrap_Bell
, METH_VARARGS
| METH_KEYWORDS
},
28254 { (char *)"EndBusyCursor", (PyCFunction
) _wrap_EndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
28255 { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
},
28256 { (char *)"GetMousePosition", (PyCFunction
) _wrap_GetMousePosition
, METH_VARARGS
| METH_KEYWORDS
},
28257 { (char *)"IsBusy", (PyCFunction
) _wrap_IsBusy
, METH_VARARGS
| METH_KEYWORDS
},
28258 { (char *)"Now", (PyCFunction
) _wrap_Now
, METH_VARARGS
| METH_KEYWORDS
},
28259 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
},
28260 { (char *)"StartTimer", (PyCFunction
) _wrap_StartTimer
, METH_VARARGS
| METH_KEYWORDS
},
28261 { (char *)"GetOsVersion", (PyCFunction
) _wrap_GetOsVersion
, METH_VARARGS
| METH_KEYWORDS
},
28262 { (char *)"GetOsDescription", (PyCFunction
) _wrap_GetOsDescription
, METH_VARARGS
| METH_KEYWORDS
},
28263 { (char *)"GetFreeMemory", (PyCFunction
) _wrap_GetFreeMemory
, METH_VARARGS
| METH_KEYWORDS
},
28264 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
},
28265 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
},
28266 { (char *)"Usleep", (PyCFunction
) _wrap_Usleep
, METH_VARARGS
| METH_KEYWORDS
},
28267 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
},
28268 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
},
28269 { (char *)"GetEmailAddress", (PyCFunction
) _wrap_GetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
},
28270 { (char *)"GetHostName", (PyCFunction
) _wrap_GetHostName
, METH_VARARGS
| METH_KEYWORDS
},
28271 { (char *)"GetFullHostName", (PyCFunction
) _wrap_GetFullHostName
, METH_VARARGS
| METH_KEYWORDS
},
28272 { (char *)"GetUserId", (PyCFunction
) _wrap_GetUserId
, METH_VARARGS
| METH_KEYWORDS
},
28273 { (char *)"GetUserName", (PyCFunction
) _wrap_GetUserName
, METH_VARARGS
| METH_KEYWORDS
},
28274 { (char *)"GetHomeDir", (PyCFunction
) _wrap_GetHomeDir
, METH_VARARGS
| METH_KEYWORDS
},
28275 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
},
28276 { (char *)"GetProcessId", (PyCFunction
) _wrap_GetProcessId
, METH_VARARGS
| METH_KEYWORDS
},
28277 { (char *)"Trap", (PyCFunction
) _wrap_Trap
, METH_VARARGS
| METH_KEYWORDS
},
28278 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
},
28279 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
28280 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
28281 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
},
28282 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
},
28283 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
},
28284 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
},
28285 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
},
28286 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
},
28287 { (char *)"GetNumberFromUser", (PyCFunction
) _wrap_GetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
},
28288 { (char *)"ColourDisplay", (PyCFunction
) _wrap_ColourDisplay
, METH_VARARGS
| METH_KEYWORDS
},
28289 { (char *)"DisplayDepth", (PyCFunction
) _wrap_DisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
28290 { (char *)"GetDisplayDepth", (PyCFunction
) _wrap_GetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
28291 { (char *)"DisplaySize", (PyCFunction
) _wrap_DisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
28292 { (char *)"GetDisplaySize", (PyCFunction
) _wrap_GetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
28293 { (char *)"DisplaySizeMM", (PyCFunction
) _wrap_DisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
28294 { (char *)"GetDisplaySizeMM", (PyCFunction
) _wrap_GetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
28295 { (char *)"ClientDisplayRect", (PyCFunction
) _wrap_ClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
28296 { (char *)"GetClientDisplayRect", (PyCFunction
) _wrap_GetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
28297 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
28298 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
28299 { (char *)"GetActiveWindow", (PyCFunction
) _wrap_GetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
},
28300 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
28301 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
28302 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
},
28303 { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS
| METH_KEYWORDS
},
28304 { (char *)"WakeUpMainThread", (PyCFunction
) _wrap_WakeUpMainThread
, METH_VARARGS
| METH_KEYWORDS
},
28305 { (char *)"MutexGuiEnter", (PyCFunction
) _wrap_MutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
},
28306 { (char *)"MutexGuiLeave", (PyCFunction
) _wrap_MutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
},
28307 { (char *)"new_MutexGuiLocker", (PyCFunction
) _wrap_new_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
28308 { (char *)"delete_MutexGuiLocker", (PyCFunction
) _wrap_delete_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
28309 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
},
28310 { (char *)"Thread_IsMain", (PyCFunction
) _wrap_Thread_IsMain
, METH_VARARGS
| METH_KEYWORDS
},
28311 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
},
28312 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
},
28313 { (char *)"ToolTip_GetTip", (PyCFunction
) _wrap_ToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
28314 { (char *)"ToolTip_GetWindow", (PyCFunction
) _wrap_ToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
28315 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
},
28316 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
},
28317 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
},
28318 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
},
28319 { (char *)"delete_Caret", (PyCFunction
) _wrap_delete_Caret
, METH_VARARGS
| METH_KEYWORDS
},
28320 { (char *)"Caret_IsOk", (PyCFunction
) _wrap_Caret_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28321 { (char *)"Caret_IsVisible", (PyCFunction
) _wrap_Caret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
28322 { (char *)"Caret_GetPosition", (PyCFunction
) _wrap_Caret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28323 { (char *)"Caret_GetPositionTuple", (PyCFunction
) _wrap_Caret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
28324 { (char *)"Caret_GetSize", (PyCFunction
) _wrap_Caret_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
28325 { (char *)"Caret_GetSizeTuple", (PyCFunction
) _wrap_Caret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
28326 { (char *)"Caret_GetWindow", (PyCFunction
) _wrap_Caret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
28327 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
28328 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
},
28329 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
28330 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
28331 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
},
28332 { (char *)"Caret_Hide", (PyCFunction
) _wrap_Caret_Hide
, METH_VARARGS
| METH_KEYWORDS
},
28333 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
},
28334 { (char *)"Caret_GetBlinkTime", (PyCFunction
) _wrap_Caret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
28335 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
28336 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
28337 { (char *)"delete_BusyCursor", (PyCFunction
) _wrap_delete_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
28338 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
},
28339 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
28340 { (char *)"delete_WindowDisabler", (PyCFunction
) _wrap_delete_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
28341 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
},
28342 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
28343 { (char *)"delete_BusyInfo", (PyCFunction
) _wrap_delete_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
28344 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
},
28345 { (char *)"new_StopWatch", (PyCFunction
) _wrap_new_StopWatch
, METH_VARARGS
| METH_KEYWORDS
},
28346 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
},
28347 { (char *)"StopWatch_Pause", (PyCFunction
) _wrap_StopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
},
28348 { (char *)"StopWatch_Resume", (PyCFunction
) _wrap_StopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
},
28349 { (char *)"StopWatch_Time", (PyCFunction
) _wrap_StopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
},
28350 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
},
28351 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
},
28352 { (char *)"delete_FileHistory", (PyCFunction
) _wrap_delete_FileHistory
, METH_VARARGS
| METH_KEYWORDS
},
28353 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
},
28354 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
},
28355 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
) _wrap_FileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
},
28356 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
},
28357 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
},
28358 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
},
28359 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
},
28360 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
},
28361 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
},
28362 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
},
28363 { (char *)"FileHistory_GetCount", (PyCFunction
) _wrap_FileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
28364 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
},
28365 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
28366 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
) _wrap_new_PreSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
28367 { (char *)"delete_SingleInstanceChecker", (PyCFunction
) _wrap_delete_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
28368 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
},
28369 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
) _wrap_SingleInstanceChecker_IsAnotherRunning
, METH_VARARGS
| METH_KEYWORDS
},
28370 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
},
28371 { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
},
28372 { (char *)"delete_TipProvider", (PyCFunction
) _wrap_delete_TipProvider
, METH_VARARGS
| METH_KEYWORDS
},
28373 { (char *)"TipProvider_GetTip", (PyCFunction
) _wrap_TipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
28374 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
) _wrap_TipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
},
28375 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
},
28376 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
},
28377 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
28378 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28379 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
},
28380 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
},
28381 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
28382 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
},
28383 { (char *)"delete_Timer", (PyCFunction
) _wrap_delete_Timer
, METH_VARARGS
| METH_KEYWORDS
},
28384 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28385 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
},
28386 { (char *)"Timer_GetOwner", (PyCFunction
) _wrap_Timer_GetOwner
, METH_VARARGS
| METH_KEYWORDS
},
28387 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
},
28388 { (char *)"Timer_Stop", (PyCFunction
) _wrap_Timer_Stop
, METH_VARARGS
| METH_KEYWORDS
},
28389 { (char *)"Timer_IsRunning", (PyCFunction
) _wrap_Timer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
},
28390 { (char *)"Timer_GetInterval", (PyCFunction
) _wrap_Timer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
28391 { (char *)"Timer_IsOneShot", (PyCFunction
) _wrap_Timer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
},
28392 { (char *)"Timer_GetId", (PyCFunction
) _wrap_Timer_GetId
, METH_VARARGS
| METH_KEYWORDS
},
28393 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
},
28394 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
},
28395 { (char *)"TimerEvent_GetInterval", (PyCFunction
) _wrap_TimerEvent_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
28396 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
},
28397 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
},
28398 { (char *)"delete_TimerRunner", (PyCFunction
) _wrap_delete_TimerRunner
, METH_VARARGS
| METH_KEYWORDS
},
28399 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
},
28400 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
},
28401 { (char *)"new_Log", (PyCFunction
) _wrap_new_Log
, METH_VARARGS
| METH_KEYWORDS
},
28402 { (char *)"Log_IsEnabled", (PyCFunction
) _wrap_Log_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
28403 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
},
28404 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
},
28405 { (char *)"Log_Flush", (PyCFunction
) _wrap_Log_Flush
, METH_VARARGS
| METH_KEYWORDS
},
28406 { (char *)"Log_FlushActive", (PyCFunction
) _wrap_Log_FlushActive
, METH_VARARGS
| METH_KEYWORDS
},
28407 { (char *)"Log_GetActiveTarget", (PyCFunction
) _wrap_Log_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
28408 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
28409 { (char *)"Log_Suspend", (PyCFunction
) _wrap_Log_Suspend
, METH_VARARGS
| METH_KEYWORDS
},
28410 { (char *)"Log_Resume", (PyCFunction
) _wrap_Log_Resume
, METH_VARARGS
| METH_KEYWORDS
},
28411 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
28412 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
},
28413 { (char *)"Log_DontCreateOnDemand", (PyCFunction
) _wrap_Log_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
28414 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28415 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28416 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28417 { (char *)"Log_ClearTraceMasks", (PyCFunction
) _wrap_Log_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
28418 { (char *)"Log_GetTraceMasks", (PyCFunction
) _wrap_Log_GetTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
28419 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
28420 { (char *)"Log_GetVerbose", (PyCFunction
) _wrap_Log_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
28421 { (char *)"Log_GetTraceMask", (PyCFunction
) _wrap_Log_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28422 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28423 { (char *)"Log_GetLogLevel", (PyCFunction
) _wrap_Log_GetLogLevel
, METH_VARARGS
| METH_KEYWORDS
},
28424 { (char *)"Log_GetTimestamp", (PyCFunction
) _wrap_Log_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
28425 { (char *)"Log_TimeStamp", (PyCFunction
) _wrap_Log_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
},
28426 { (char *)"Log_Destroy", (PyCFunction
) _wrap_Log_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
28427 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
},
28428 { (char *)"new_LogStderr", (PyCFunction
) _wrap_new_LogStderr
, METH_VARARGS
| METH_KEYWORDS
},
28429 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
},
28430 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
28431 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
},
28432 { (char *)"new_LogGui", (PyCFunction
) _wrap_new_LogGui
, METH_VARARGS
| METH_KEYWORDS
},
28433 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
},
28434 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
},
28435 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
28436 { (char *)"LogWindow_GetFrame", (PyCFunction
) _wrap_LogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
28437 { (char *)"LogWindow_GetOldLog", (PyCFunction
) _wrap_LogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
28438 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
) _wrap_LogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
28439 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
28440 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
},
28441 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
},
28442 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
},
28443 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
28444 { (char *)"LogChain_IsPassingMessages", (PyCFunction
) _wrap_LogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
28445 { (char *)"LogChain_GetOldLog", (PyCFunction
) _wrap_LogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
28446 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
},
28447 { (char *)"SysErrorCode", (PyCFunction
) _wrap_SysErrorCode
, METH_VARARGS
| METH_KEYWORDS
},
28448 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
},
28449 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
},
28450 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
},
28451 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
},
28452 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
},
28453 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
},
28454 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
},
28455 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
},
28456 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
},
28457 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
},
28458 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
},
28459 { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS
},
28460 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
},
28461 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
},
28462 { (char *)"new_LogNull", (PyCFunction
) _wrap_new_LogNull
, METH_VARARGS
| METH_KEYWORDS
},
28463 { (char *)"delete_LogNull", (PyCFunction
) _wrap_delete_LogNull
, METH_VARARGS
| METH_KEYWORDS
},
28464 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
},
28465 { (char *)"new_PyLog", (PyCFunction
) _wrap_new_PyLog
, METH_VARARGS
| METH_KEYWORDS
},
28466 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28467 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
},
28468 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
},
28469 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
},
28470 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
},
28471 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
},
28472 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28473 { (char *)"Process_base_OnTerminate", (PyCFunction
) _wrap_Process_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
},
28474 { (char *)"Process_Redirect", (PyCFunction
) _wrap_Process_Redirect
, METH_VARARGS
| METH_KEYWORDS
},
28475 { (char *)"Process_IsRedirected", (PyCFunction
) _wrap_Process_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
},
28476 { (char *)"Process_Detach", (PyCFunction
) _wrap_Process_Detach
, METH_VARARGS
| METH_KEYWORDS
},
28477 { (char *)"Process_GetInputStream", (PyCFunction
) _wrap_Process_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
},
28478 { (char *)"Process_GetErrorStream", (PyCFunction
) _wrap_Process_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
},
28479 { (char *)"Process_GetOutputStream", (PyCFunction
) _wrap_Process_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
28480 { (char *)"Process_CloseOutput", (PyCFunction
) _wrap_Process_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
},
28481 { (char *)"Process_IsInputOpened", (PyCFunction
) _wrap_Process_IsInputOpened
, METH_VARARGS
| METH_KEYWORDS
},
28482 { (char *)"Process_IsInputAvailable", (PyCFunction
) _wrap_Process_IsInputAvailable
, METH_VARARGS
| METH_KEYWORDS
},
28483 { (char *)"Process_IsErrorAvailable", (PyCFunction
) _wrap_Process_IsErrorAvailable
, METH_VARARGS
| METH_KEYWORDS
},
28484 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
},
28485 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
28486 { (char *)"ProcessEvent_GetPid", (PyCFunction
) _wrap_ProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
},
28487 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
) _wrap_ProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
},
28488 { (char *)"ProcessEvent_m_pid_set", (PyCFunction
) _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
},
28489 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
) _wrap_ProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
},
28490 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
},
28491 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
},
28492 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
},
28493 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
},
28494 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
},
28495 { (char *)"delete_Joystick", (PyCFunction
) _wrap_delete_Joystick
, METH_VARARGS
| METH_KEYWORDS
},
28496 { (char *)"Joystick_GetPosition", (PyCFunction
) _wrap_Joystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28497 { (char *)"Joystick_GetZPosition", (PyCFunction
) _wrap_Joystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
28498 { (char *)"Joystick_GetButtonState", (PyCFunction
) _wrap_Joystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
28499 { (char *)"Joystick_GetPOVPosition", (PyCFunction
) _wrap_Joystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
},
28500 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
) _wrap_Joystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
},
28501 { (char *)"Joystick_GetRudderPosition", (PyCFunction
) _wrap_Joystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
},
28502 { (char *)"Joystick_GetUPosition", (PyCFunction
) _wrap_Joystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
},
28503 { (char *)"Joystick_GetVPosition", (PyCFunction
) _wrap_Joystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
},
28504 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
) _wrap_Joystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
28505 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
28506 { (char *)"Joystick_IsOk", (PyCFunction
) _wrap_Joystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28507 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
) _wrap_Joystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
},
28508 { (char *)"Joystick_GetManufacturerId", (PyCFunction
) _wrap_Joystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
},
28509 { (char *)"Joystick_GetProductId", (PyCFunction
) _wrap_Joystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
},
28510 { (char *)"Joystick_GetProductName", (PyCFunction
) _wrap_Joystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
},
28511 { (char *)"Joystick_GetXMin", (PyCFunction
) _wrap_Joystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
},
28512 { (char *)"Joystick_GetYMin", (PyCFunction
) _wrap_Joystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
},
28513 { (char *)"Joystick_GetZMin", (PyCFunction
) _wrap_Joystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
},
28514 { (char *)"Joystick_GetXMax", (PyCFunction
) _wrap_Joystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
},
28515 { (char *)"Joystick_GetYMax", (PyCFunction
) _wrap_Joystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
},
28516 { (char *)"Joystick_GetZMax", (PyCFunction
) _wrap_Joystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
},
28517 { (char *)"Joystick_GetNumberButtons", (PyCFunction
) _wrap_Joystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
},
28518 { (char *)"Joystick_GetNumberAxes", (PyCFunction
) _wrap_Joystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
},
28519 { (char *)"Joystick_GetMaxButtons", (PyCFunction
) _wrap_Joystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
},
28520 { (char *)"Joystick_GetMaxAxes", (PyCFunction
) _wrap_Joystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
},
28521 { (char *)"Joystick_GetPollingMin", (PyCFunction
) _wrap_Joystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
},
28522 { (char *)"Joystick_GetPollingMax", (PyCFunction
) _wrap_Joystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
},
28523 { (char *)"Joystick_GetRudderMin", (PyCFunction
) _wrap_Joystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
},
28524 { (char *)"Joystick_GetRudderMax", (PyCFunction
) _wrap_Joystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
},
28525 { (char *)"Joystick_GetUMin", (PyCFunction
) _wrap_Joystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
},
28526 { (char *)"Joystick_GetUMax", (PyCFunction
) _wrap_Joystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
},
28527 { (char *)"Joystick_GetVMin", (PyCFunction
) _wrap_Joystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
},
28528 { (char *)"Joystick_GetVMax", (PyCFunction
) _wrap_Joystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
},
28529 { (char *)"Joystick_HasRudder", (PyCFunction
) _wrap_Joystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
},
28530 { (char *)"Joystick_HasZ", (PyCFunction
) _wrap_Joystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
},
28531 { (char *)"Joystick_HasU", (PyCFunction
) _wrap_Joystick_HasU
, METH_VARARGS
| METH_KEYWORDS
},
28532 { (char *)"Joystick_HasV", (PyCFunction
) _wrap_Joystick_HasV
, METH_VARARGS
| METH_KEYWORDS
},
28533 { (char *)"Joystick_HasPOV", (PyCFunction
) _wrap_Joystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
},
28534 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
) _wrap_Joystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
},
28535 { (char *)"Joystick_HasPOVCTS", (PyCFunction
) _wrap_Joystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
},
28536 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
},
28537 { (char *)"Joystick_ReleaseCapture", (PyCFunction
) _wrap_Joystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
},
28538 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
},
28539 { (char *)"JoystickEvent_m_pos_set", (PyCFunction
) _wrap_JoystickEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
},
28540 { (char *)"JoystickEvent_m_pos_get", (PyCFunction
) _wrap_JoystickEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
},
28541 { (char *)"JoystickEvent_m_zPosition_set", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_set
, METH_VARARGS
| METH_KEYWORDS
},
28542 { (char *)"JoystickEvent_m_zPosition_get", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_get
, METH_VARARGS
| METH_KEYWORDS
},
28543 { (char *)"JoystickEvent_m_buttonChange_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_set
, METH_VARARGS
| METH_KEYWORDS
},
28544 { (char *)"JoystickEvent_m_buttonChange_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_get
, METH_VARARGS
| METH_KEYWORDS
},
28545 { (char *)"JoystickEvent_m_buttonState_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_set
, METH_VARARGS
| METH_KEYWORDS
},
28546 { (char *)"JoystickEvent_m_buttonState_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_get
, METH_VARARGS
| METH_KEYWORDS
},
28547 { (char *)"JoystickEvent_m_joyStick_set", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_set
, METH_VARARGS
| METH_KEYWORDS
},
28548 { (char *)"JoystickEvent_m_joyStick_get", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_get
, METH_VARARGS
| METH_KEYWORDS
},
28549 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
},
28550 { (char *)"JoystickEvent_GetPosition", (PyCFunction
) _wrap_JoystickEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28551 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
) _wrap_JoystickEvent_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
28552 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
) _wrap_JoystickEvent_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
28553 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
) _wrap_JoystickEvent_GetButtonChange
, METH_VARARGS
| METH_KEYWORDS
},
28554 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
) _wrap_JoystickEvent_GetJoystick
, METH_VARARGS
| METH_KEYWORDS
},
28555 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
},
28556 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
28557 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
},
28558 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28559 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
28560 { (char *)"JoystickEvent_IsButton", (PyCFunction
) _wrap_JoystickEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
28561 { (char *)"JoystickEvent_IsMove", (PyCFunction
) _wrap_JoystickEvent_IsMove
, METH_VARARGS
| METH_KEYWORDS
},
28562 { (char *)"JoystickEvent_IsZMove", (PyCFunction
) _wrap_JoystickEvent_IsZMove
, METH_VARARGS
| METH_KEYWORDS
},
28563 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
},
28564 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
},
28565 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
},
28566 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
},
28567 { (char *)"new_Sound", (PyCFunction
) _wrap_new_Sound
, METH_VARARGS
| METH_KEYWORDS
},
28568 { (char *)"new_SoundFromData", (PyCFunction
) _wrap_new_SoundFromData
, METH_VARARGS
| METH_KEYWORDS
},
28569 { (char *)"delete_Sound", (PyCFunction
) _wrap_delete_Sound
, METH_VARARGS
| METH_KEYWORDS
},
28570 { (char *)"Sound_Create", (PyCFunction
) _wrap_Sound_Create
, METH_VARARGS
| METH_KEYWORDS
},
28571 { (char *)"Sound_CreateFromData", (PyCFunction
) _wrap_Sound_CreateFromData
, METH_VARARGS
| METH_KEYWORDS
},
28572 { (char *)"Sound_IsOk", (PyCFunction
) _wrap_Sound_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28573 { (char *)"Sound_Play", (PyCFunction
) _wrap_Sound_Play
, METH_VARARGS
| METH_KEYWORDS
},
28574 { (char *)"Sound_PlaySound", (PyCFunction
) _wrap_Sound_PlaySound
, METH_VARARGS
| METH_KEYWORDS
},
28575 { (char *)"Sound_Stop", (PyCFunction
) _wrap_Sound_Stop
, METH_VARARGS
| METH_KEYWORDS
},
28576 { (char *)"Sound_swigregister", Sound_swigregister
, METH_VARARGS
},
28577 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
28578 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
},
28579 { (char *)"new_NullFileTypeInfo", (PyCFunction
) _wrap_new_NullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
28580 { (char *)"FileTypeInfo_IsValid", (PyCFunction
) _wrap_FileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
28581 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
28582 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
28583 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
) _wrap_FileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
28584 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_FileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
28585 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_FileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
28586 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
28587 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
) _wrap_FileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
28588 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
) _wrap_FileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
28589 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_FileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
},
28590 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
) _wrap_FileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
},
28591 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_FileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
},
28592 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
},
28593 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
},
28594 { (char *)"delete_FileType", (PyCFunction
) _wrap_delete_FileType
, METH_VARARGS
| METH_KEYWORDS
},
28595 { (char *)"FileType_GetMimeType", (PyCFunction
) _wrap_FileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
28596 { (char *)"FileType_GetMimeTypes", (PyCFunction
) _wrap_FileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
28597 { (char *)"FileType_GetExtensions", (PyCFunction
) _wrap_FileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
28598 { (char *)"FileType_GetIcon", (PyCFunction
) _wrap_FileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
28599 { (char *)"FileType_GetIconInfo", (PyCFunction
) _wrap_FileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
},
28600 { (char *)"FileType_GetDescription", (PyCFunction
) _wrap_FileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
28601 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
28602 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
28603 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
},
28604 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
},
28605 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
},
28606 { (char *)"FileType_Unassociate", (PyCFunction
) _wrap_FileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
28607 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
},
28608 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
},
28609 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
},
28610 { (char *)"new_MimeTypesManager", (PyCFunction
) _wrap_new_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
28611 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
28612 { (char *)"MimeTypesManager_ClearData", (PyCFunction
) _wrap_MimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
},
28613 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
},
28614 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
},
28615 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
},
28616 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
28617 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_MimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
},
28618 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
},
28619 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
},
28620 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
28621 { (char *)"delete_MimeTypesManager", (PyCFunction
) _wrap_delete_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
28622 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
},
28623 { (char *)"new_ArtProvider", (PyCFunction
) _wrap_new_ArtProvider
, METH_VARARGS
| METH_KEYWORDS
},
28624 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28625 { (char *)"ArtProvider_PushProvider", (PyCFunction
) _wrap_ArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
},
28626 { (char *)"ArtProvider_PopProvider", (PyCFunction
) _wrap_ArtProvider_PopProvider
, METH_VARARGS
| METH_KEYWORDS
},
28627 { (char *)"ArtProvider_RemoveProvider", (PyCFunction
) _wrap_ArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
},
28628 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
28629 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
28630 { (char *)"ArtProvider_Destroy", (PyCFunction
) _wrap_ArtProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
28631 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
},
28632 { (char *)"delete_ConfigBase", (PyCFunction
) _wrap_delete_ConfigBase
, METH_VARARGS
| METH_KEYWORDS
},
28633 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
},
28634 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
},
28635 { (char *)"ConfigBase_Create", (PyCFunction
) _wrap_ConfigBase_Create
, METH_VARARGS
| METH_KEYWORDS
},
28636 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
) _wrap_ConfigBase_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
28637 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
28638 { (char *)"ConfigBase_GetPath", (PyCFunction
) _wrap_ConfigBase_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
28639 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
) _wrap_ConfigBase_GetFirstGroup
, METH_VARARGS
| METH_KEYWORDS
},
28640 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
},
28641 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
) _wrap_ConfigBase_GetFirstEntry
, METH_VARARGS
| METH_KEYWORDS
},
28642 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
},
28643 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
},
28644 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
},
28645 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
},
28646 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
},
28647 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
},
28648 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
},
28649 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
},
28650 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
},
28651 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
},
28652 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
},
28653 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
},
28654 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
},
28655 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
},
28656 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
},
28657 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
},
28658 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
},
28659 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
},
28660 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
},
28661 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
},
28662 { (char *)"ConfigBase_DeleteAll", (PyCFunction
) _wrap_ConfigBase_DeleteAll
, METH_VARARGS
| METH_KEYWORDS
},
28663 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28664 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
) _wrap_ConfigBase_IsExpandingEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28665 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
},
28666 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
) _wrap_ConfigBase_IsRecordingDefaults
, METH_VARARGS
| METH_KEYWORDS
},
28667 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28668 { (char *)"ConfigBase_GetAppName", (PyCFunction
) _wrap_ConfigBase_GetAppName
, METH_VARARGS
| METH_KEYWORDS
},
28669 { (char *)"ConfigBase_GetVendorName", (PyCFunction
) _wrap_ConfigBase_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
28670 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
},
28671 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
28672 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
28673 { (char *)"ConfigBase_GetStyle", (PyCFunction
) _wrap_ConfigBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
28674 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
},
28675 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
},
28676 { (char *)"delete_Config", (PyCFunction
) _wrap_delete_Config
, METH_VARARGS
| METH_KEYWORDS
},
28677 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
},
28678 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
},
28679 { (char *)"delete_FileConfig", (PyCFunction
) _wrap_delete_FileConfig
, METH_VARARGS
| METH_KEYWORDS
},
28680 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
},
28681 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
},
28682 { (char *)"delete_ConfigPathChanger", (PyCFunction
) _wrap_delete_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
},
28683 { (char *)"ConfigPathChanger_Name", (PyCFunction
) _wrap_ConfigPathChanger_Name
, METH_VARARGS
| METH_KEYWORDS
},
28684 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
},
28685 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28686 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
},
28687 { (char *)"DateTime_GetCountry", (PyCFunction
) _wrap_DateTime_GetCountry
, METH_VARARGS
| METH_KEYWORDS
},
28688 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
},
28689 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
},
28690 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
},
28691 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
},
28692 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
},
28693 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
},
28694 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
},
28695 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
},
28696 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
},
28697 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
},
28698 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
) _wrap_DateTime_GetAmPmStrings
, METH_VARARGS
| METH_KEYWORDS
},
28699 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
},
28700 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
},
28701 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
},
28702 { (char *)"DateTime_Now", (PyCFunction
) _wrap_DateTime_Now
, METH_VARARGS
| METH_KEYWORDS
},
28703 { (char *)"DateTime_UNow", (PyCFunction
) _wrap_DateTime_UNow
, METH_VARARGS
| METH_KEYWORDS
},
28704 { (char *)"DateTime_Today", (PyCFunction
) _wrap_DateTime_Today
, METH_VARARGS
| METH_KEYWORDS
},
28705 { (char *)"new_DateTime", (PyCFunction
) _wrap_new_DateTime
, METH_VARARGS
| METH_KEYWORDS
},
28706 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
},
28707 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
},
28708 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
},
28709 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
},
28710 { (char *)"delete_DateTime", (PyCFunction
) _wrap_delete_DateTime
, METH_VARARGS
| METH_KEYWORDS
},
28711 { (char *)"DateTime_SetToCurrent", (PyCFunction
) _wrap_DateTime_SetToCurrent
, METH_VARARGS
| METH_KEYWORDS
},
28712 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
},
28713 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
},
28714 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
},
28715 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
},
28716 { (char *)"DateTime_ResetTime", (PyCFunction
) _wrap_DateTime_ResetTime
, METH_VARARGS
| METH_KEYWORDS
},
28717 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
},
28718 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
},
28719 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
},
28720 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
},
28721 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
},
28722 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
},
28723 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
28724 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
28725 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
28726 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28727 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28728 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28729 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28730 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28731 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28732 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28733 { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
},
28734 { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
},
28735 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
28736 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
28737 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
},
28738 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
},
28739 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
28740 { (char *)"DateTime_GetJDN", (PyCFunction
) _wrap_DateTime_GetJDN
, METH_VARARGS
| METH_KEYWORDS
},
28741 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetModifiedJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
28742 { (char *)"DateTime_GetMJD", (PyCFunction
) _wrap_DateTime_GetMJD
, METH_VARARGS
| METH_KEYWORDS
},
28743 { (char *)"DateTime_GetRataDie", (PyCFunction
) _wrap_DateTime_GetRataDie
, METH_VARARGS
| METH_KEYWORDS
},
28744 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
},
28745 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
},
28746 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
},
28747 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
},
28748 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
},
28749 { (char *)"DateTime_IsValid", (PyCFunction
) _wrap_DateTime_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
28750 { (char *)"DateTime_GetTicks", (PyCFunction
) _wrap_DateTime_GetTicks
, METH_VARARGS
| METH_KEYWORDS
},
28751 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
},
28752 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
},
28753 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
},
28754 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28755 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
},
28756 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
},
28757 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
},
28758 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
28759 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
},
28760 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
},
28761 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
},
28762 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
},
28763 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
28764 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
},
28765 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
},
28766 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
},
28767 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
},
28768 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
},
28769 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
},
28770 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
},
28771 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
},
28772 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
},
28773 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
},
28774 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
},
28775 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
28776 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
},
28777 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
},
28778 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
},
28779 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
},
28780 { (char *)"DateTime___lt__", _wrap_DateTime___lt__
, METH_VARARGS
},
28781 { (char *)"DateTime___le__", _wrap_DateTime___le__
, METH_VARARGS
},
28782 { (char *)"DateTime___gt__", _wrap_DateTime___gt__
, METH_VARARGS
},
28783 { (char *)"DateTime___ge__", _wrap_DateTime___ge__
, METH_VARARGS
},
28784 { (char *)"DateTime___eq__", _wrap_DateTime___eq__
, METH_VARARGS
},
28785 { (char *)"DateTime___ne__", _wrap_DateTime___ne__
, METH_VARARGS
},
28786 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
},
28787 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
},
28788 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
},
28789 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
},
28790 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
},
28791 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
},
28792 { (char *)"DateTime_FormatDate", (PyCFunction
) _wrap_DateTime_FormatDate
, METH_VARARGS
| METH_KEYWORDS
},
28793 { (char *)"DateTime_FormatTime", (PyCFunction
) _wrap_DateTime_FormatTime
, METH_VARARGS
| METH_KEYWORDS
},
28794 { (char *)"DateTime_FormatISODate", (PyCFunction
) _wrap_DateTime_FormatISODate
, METH_VARARGS
| METH_KEYWORDS
},
28795 { (char *)"DateTime_FormatISOTime", (PyCFunction
) _wrap_DateTime_FormatISOTime
, METH_VARARGS
| METH_KEYWORDS
},
28796 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
},
28797 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
},
28798 { (char *)"TimeSpan_Second", (PyCFunction
) _wrap_TimeSpan_Second
, METH_VARARGS
| METH_KEYWORDS
},
28799 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
},
28800 { (char *)"TimeSpan_Minute", (PyCFunction
) _wrap_TimeSpan_Minute
, METH_VARARGS
| METH_KEYWORDS
},
28801 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
},
28802 { (char *)"TimeSpan_Hour", (PyCFunction
) _wrap_TimeSpan_Hour
, METH_VARARGS
| METH_KEYWORDS
},
28803 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
28804 { (char *)"TimeSpan_Day", (PyCFunction
) _wrap_TimeSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
28805 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
28806 { (char *)"TimeSpan_Week", (PyCFunction
) _wrap_TimeSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
28807 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
28808 { (char *)"delete_TimeSpan", (PyCFunction
) _wrap_delete_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
28809 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
28810 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
28811 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
28812 { (char *)"TimeSpan_Neg", (PyCFunction
) _wrap_TimeSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
28813 { (char *)"TimeSpan_Abs", (PyCFunction
) _wrap_TimeSpan_Abs
, METH_VARARGS
| METH_KEYWORDS
},
28814 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
28815 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
},
28816 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
},
28817 { (char *)"TimeSpan___neg__", (PyCFunction
) _wrap_TimeSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
28818 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
28819 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
28820 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
28821 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
28822 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
},
28823 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
},
28824 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
},
28825 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
},
28826 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
28827 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
28828 { (char *)"TimeSpan_IsNull", (PyCFunction
) _wrap_TimeSpan_IsNull
, METH_VARARGS
| METH_KEYWORDS
},
28829 { (char *)"TimeSpan_IsPositive", (PyCFunction
) _wrap_TimeSpan_IsPositive
, METH_VARARGS
| METH_KEYWORDS
},
28830 { (char *)"TimeSpan_IsNegative", (PyCFunction
) _wrap_TimeSpan_IsNegative
, METH_VARARGS
| METH_KEYWORDS
},
28831 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
28832 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
},
28833 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
},
28834 { (char *)"TimeSpan_GetWeeks", (PyCFunction
) _wrap_TimeSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
28835 { (char *)"TimeSpan_GetDays", (PyCFunction
) _wrap_TimeSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
28836 { (char *)"TimeSpan_GetHours", (PyCFunction
) _wrap_TimeSpan_GetHours
, METH_VARARGS
| METH_KEYWORDS
},
28837 { (char *)"TimeSpan_GetMinutes", (PyCFunction
) _wrap_TimeSpan_GetMinutes
, METH_VARARGS
| METH_KEYWORDS
},
28838 { (char *)"TimeSpan_GetSeconds", (PyCFunction
) _wrap_TimeSpan_GetSeconds
, METH_VARARGS
| METH_KEYWORDS
},
28839 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
) _wrap_TimeSpan_GetMilliseconds
, METH_VARARGS
| METH_KEYWORDS
},
28840 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
},
28841 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
},
28842 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
},
28843 { (char *)"delete_DateSpan", (PyCFunction
) _wrap_delete_DateSpan
, METH_VARARGS
| METH_KEYWORDS
},
28844 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
28845 { (char *)"DateSpan_Day", (PyCFunction
) _wrap_DateSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
28846 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
28847 { (char *)"DateSpan_Week", (PyCFunction
) _wrap_DateSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
28848 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
},
28849 { (char *)"DateSpan_Month", (PyCFunction
) _wrap_DateSpan_Month
, METH_VARARGS
| METH_KEYWORDS
},
28850 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
},
28851 { (char *)"DateSpan_Year", (PyCFunction
) _wrap_DateSpan_Year
, METH_VARARGS
| METH_KEYWORDS
},
28852 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
},
28853 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
},
28854 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
28855 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
},
28856 { (char *)"DateSpan_GetYears", (PyCFunction
) _wrap_DateSpan_GetYears
, METH_VARARGS
| METH_KEYWORDS
},
28857 { (char *)"DateSpan_GetMonths", (PyCFunction
) _wrap_DateSpan_GetMonths
, METH_VARARGS
| METH_KEYWORDS
},
28858 { (char *)"DateSpan_GetWeeks", (PyCFunction
) _wrap_DateSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
28859 { (char *)"DateSpan_GetDays", (PyCFunction
) _wrap_DateSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
28860 { (char *)"DateSpan_GetTotalDays", (PyCFunction
) _wrap_DateSpan_GetTotalDays
, METH_VARARGS
| METH_KEYWORDS
},
28861 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
28862 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
28863 { (char *)"DateSpan_Neg", (PyCFunction
) _wrap_DateSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
28864 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
28865 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
28866 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
},
28867 { (char *)"DateSpan___neg__", (PyCFunction
) _wrap_DateSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
28868 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
},
28869 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
28870 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
28871 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
28872 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
28873 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
28874 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
28875 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
},
28876 { (char *)"GetLocalTime", (PyCFunction
) _wrap_GetLocalTime
, METH_VARARGS
| METH_KEYWORDS
},
28877 { (char *)"GetUTCTime", (PyCFunction
) _wrap_GetUTCTime
, METH_VARARGS
| METH_KEYWORDS
},
28878 { (char *)"GetCurrentTime", (PyCFunction
) _wrap_GetCurrentTime
, METH_VARARGS
| METH_KEYWORDS
},
28879 { (char *)"GetLocalTimeMillis", (PyCFunction
) _wrap_GetLocalTimeMillis
, METH_VARARGS
| METH_KEYWORDS
},
28880 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
},
28881 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
},
28882 { (char *)"delete_DataFormat", (PyCFunction
) _wrap_delete_DataFormat
, METH_VARARGS
| METH_KEYWORDS
},
28883 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
},
28884 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
},
28885 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
},
28886 { (char *)"DataFormat_GetType", (PyCFunction
) _wrap_DataFormat_GetType
, METH_VARARGS
| METH_KEYWORDS
},
28887 { (char *)"DataFormat_GetId", (PyCFunction
) _wrap_DataFormat_GetId
, METH_VARARGS
| METH_KEYWORDS
},
28888 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
},
28889 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
},
28890 { (char *)"delete_DataObject", (PyCFunction
) _wrap_delete_DataObject
, METH_VARARGS
| METH_KEYWORDS
},
28891 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
},
28892 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
},
28893 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
},
28894 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
},
28895 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
},
28896 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
},
28897 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28898 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
},
28899 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
},
28900 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
) _wrap_DataObjectSimple_GetFormat
, METH_VARARGS
| METH_KEYWORDS
},
28901 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
},
28902 { (char *)"DataObjectSimple_GetDataSize", (PyCFunction
) _wrap_DataObjectSimple_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
},
28903 { (char *)"DataObjectSimple_GetDataHere", (PyCFunction
) _wrap_DataObjectSimple_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
},
28904 { (char *)"DataObjectSimple_SetData", (PyCFunction
) _wrap_DataObjectSimple_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28905 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
},
28906 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
},
28907 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28908 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
},
28909 { (char *)"new_DataObjectComposite", (PyCFunction
) _wrap_new_DataObjectComposite
, METH_VARARGS
| METH_KEYWORDS
},
28910 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
},
28911 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
},
28912 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28913 { (char *)"TextDataObject_GetTextLength", (PyCFunction
) _wrap_TextDataObject_GetTextLength
, METH_VARARGS
| METH_KEYWORDS
},
28914 { (char *)"TextDataObject_GetText", (PyCFunction
) _wrap_TextDataObject_GetText
, METH_VARARGS
| METH_KEYWORDS
},
28915 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
},
28916 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
},
28917 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28918 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28919 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
},
28920 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28921 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
) _wrap_BitmapDataObject_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
28922 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
28923 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
},
28924 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28925 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28926 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
},
28927 { (char *)"new_FileDataObject", (PyCFunction
) _wrap_new_FileDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28928 { (char *)"FileDataObject_GetFilenames", (PyCFunction
) _wrap_FileDataObject_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
},
28929 { (char *)"FileDataObject_AddFile", (PyCFunction
) _wrap_FileDataObject_AddFile
, METH_VARARGS
| METH_KEYWORDS
},
28930 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
},
28931 { (char *)"new_CustomDataObject", (PyCFunction
) _wrap_new_CustomDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28932 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28933 { (char *)"CustomDataObject_GetSize", (PyCFunction
) _wrap_CustomDataObject_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
28934 { (char *)"CustomDataObject_GetData", (PyCFunction
) _wrap_CustomDataObject_GetData
, METH_VARARGS
| METH_KEYWORDS
},
28935 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
},
28936 { (char *)"new_URLDataObject", (PyCFunction
) _wrap_new_URLDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28937 { (char *)"URLDataObject_GetURL", (PyCFunction
) _wrap_URLDataObject_GetURL
, METH_VARARGS
| METH_KEYWORDS
},
28938 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
},
28939 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
},
28940 { (char *)"new_MetafileDataObject", (PyCFunction
) _wrap_new_MetafileDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28941 { (char *)"MetafileDataObject_SetMetafile", (PyCFunction
) _wrap_MetafileDataObject_SetMetafile
, METH_VARARGS
| METH_KEYWORDS
},
28942 { (char *)"MetafileDataObject_GetMetafile", (PyCFunction
) _wrap_MetafileDataObject_GetMetafile
, METH_VARARGS
| METH_KEYWORDS
},
28943 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
},
28944 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
},
28945 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
},
28946 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28947 { (char *)"delete_DropSource", (PyCFunction
) _wrap_delete_DropSource
, METH_VARARGS
| METH_KEYWORDS
},
28948 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28949 { (char *)"DropSource_GetDataObject", (PyCFunction
) _wrap_DropSource_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28950 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
28951 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
},
28952 { (char *)"DropSource_base_GiveFeedback", (PyCFunction
) _wrap_DropSource_base_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
},
28953 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
},
28954 { (char *)"new_DropTarget", (PyCFunction
) _wrap_new_DropTarget
, METH_VARARGS
| METH_KEYWORDS
},
28955 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28956 { (char *)"delete_DropTarget", (PyCFunction
) _wrap_delete_DropTarget
, METH_VARARGS
| METH_KEYWORDS
},
28957 { (char *)"DropTarget_GetDataObject", (PyCFunction
) _wrap_DropTarget_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28958 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28959 { (char *)"DropTarget_base_OnEnter", (PyCFunction
) _wrap_DropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
28960 { (char *)"DropTarget_base_OnDragOver", (PyCFunction
) _wrap_DropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
28961 { (char *)"DropTarget_base_OnLeave", (PyCFunction
) _wrap_DropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
28962 { (char *)"DropTarget_base_OnDrop", (PyCFunction
) _wrap_DropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
28963 { (char *)"DropTarget_GetData", (PyCFunction
) _wrap_DropTarget_GetData
, METH_VARARGS
| METH_KEYWORDS
},
28964 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
},
28965 { (char *)"new_TextDropTarget", (PyCFunction
) _wrap_new_TextDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
28966 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28967 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction
) _wrap_TextDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
28968 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
28969 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction
) _wrap_TextDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
28970 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction
) _wrap_TextDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
28971 { (char *)"TextDropTarget_base_OnData", (PyCFunction
) _wrap_TextDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
},
28972 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
},
28973 { (char *)"new_FileDropTarget", (PyCFunction
) _wrap_new_FileDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
28974 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28975 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction
) _wrap_FileDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
28976 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
28977 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction
) _wrap_FileDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
28978 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction
) _wrap_FileDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
28979 { (char *)"FileDropTarget_base_OnData", (PyCFunction
) _wrap_FileDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
},
28980 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
},
28981 { (char *)"new_Clipboard", (PyCFunction
) _wrap_new_Clipboard
, METH_VARARGS
| METH_KEYWORDS
},
28982 { (char *)"delete_Clipboard", (PyCFunction
) _wrap_delete_Clipboard
, METH_VARARGS
| METH_KEYWORDS
},
28983 { (char *)"Clipboard_Open", (PyCFunction
) _wrap_Clipboard_Open
, METH_VARARGS
| METH_KEYWORDS
},
28984 { (char *)"Clipboard_Close", (PyCFunction
) _wrap_Clipboard_Close
, METH_VARARGS
| METH_KEYWORDS
},
28985 { (char *)"Clipboard_IsOpened", (PyCFunction
) _wrap_Clipboard_IsOpened
, METH_VARARGS
| METH_KEYWORDS
},
28986 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
},
28987 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28988 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
},
28989 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
},
28990 { (char *)"Clipboard_Clear", (PyCFunction
) _wrap_Clipboard_Clear
, METH_VARARGS
| METH_KEYWORDS
},
28991 { (char *)"Clipboard_Flush", (PyCFunction
) _wrap_Clipboard_Flush
, METH_VARARGS
| METH_KEYWORDS
},
28992 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
},
28993 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
},
28994 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
},
28995 { (char *)"delete_ClipboardLocker", (PyCFunction
) _wrap_delete_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
},
28996 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
) _wrap_ClipboardLocker___nonzero__
, METH_VARARGS
| METH_KEYWORDS
},
28997 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
},
28998 { (char *)"new_VideoMode", (PyCFunction
) _wrap_new_VideoMode
, METH_VARARGS
| METH_KEYWORDS
},
28999 { (char *)"delete_VideoMode", (PyCFunction
) _wrap_delete_VideoMode
, METH_VARARGS
| METH_KEYWORDS
},
29000 { (char *)"VideoMode_Matches", (PyCFunction
) _wrap_VideoMode_Matches
, METH_VARARGS
| METH_KEYWORDS
},
29001 { (char *)"VideoMode_GetWidth", (PyCFunction
) _wrap_VideoMode_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
29002 { (char *)"VideoMode_GetHeight", (PyCFunction
) _wrap_VideoMode_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
29003 { (char *)"VideoMode_GetDepth", (PyCFunction
) _wrap_VideoMode_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
29004 { (char *)"VideoMode_IsOk", (PyCFunction
) _wrap_VideoMode_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
29005 { (char *)"VideoMode___eq__", (PyCFunction
) _wrap_VideoMode___eq__
, METH_VARARGS
| METH_KEYWORDS
},
29006 { (char *)"VideoMode___ne__", (PyCFunction
) _wrap_VideoMode___ne__
, METH_VARARGS
| METH_KEYWORDS
},
29007 { (char *)"VideoMode_w_set", (PyCFunction
) _wrap_VideoMode_w_set
, METH_VARARGS
| METH_KEYWORDS
},
29008 { (char *)"VideoMode_w_get", (PyCFunction
) _wrap_VideoMode_w_get
, METH_VARARGS
| METH_KEYWORDS
},
29009 { (char *)"VideoMode_h_set", (PyCFunction
) _wrap_VideoMode_h_set
, METH_VARARGS
| METH_KEYWORDS
},
29010 { (char *)"VideoMode_h_get", (PyCFunction
) _wrap_VideoMode_h_get
, METH_VARARGS
| METH_KEYWORDS
},
29011 { (char *)"VideoMode_bpp_set", (PyCFunction
) _wrap_VideoMode_bpp_set
, METH_VARARGS
| METH_KEYWORDS
},
29012 { (char *)"VideoMode_bpp_get", (PyCFunction
) _wrap_VideoMode_bpp_get
, METH_VARARGS
| METH_KEYWORDS
},
29013 { (char *)"VideoMode_refresh_set", (PyCFunction
) _wrap_VideoMode_refresh_set
, METH_VARARGS
| METH_KEYWORDS
},
29014 { (char *)"VideoMode_refresh_get", (PyCFunction
) _wrap_VideoMode_refresh_get
, METH_VARARGS
| METH_KEYWORDS
},
29015 { (char *)"VideoMode_swigregister", VideoMode_swigregister
, METH_VARARGS
},
29016 { (char *)"new_Display", (PyCFunction
) _wrap_new_Display
, METH_VARARGS
| METH_KEYWORDS
},
29017 { (char *)"delete_Display", (PyCFunction
) _wrap_delete_Display
, METH_VARARGS
| METH_KEYWORDS
},
29018 { (char *)"Display_GetCount", (PyCFunction
) _wrap_Display_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
29019 { (char *)"Display_GetFromPoint", (PyCFunction
) _wrap_Display_GetFromPoint
, METH_VARARGS
| METH_KEYWORDS
},
29020 { (char *)"Display_GetFromWindow", (PyCFunction
) _wrap_Display_GetFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
29021 { (char *)"Display_IsOk", (PyCFunction
) _wrap_Display_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
29022 { (char *)"Display_GetGeometry", (PyCFunction
) _wrap_Display_GetGeometry
, METH_VARARGS
| METH_KEYWORDS
},
29023 { (char *)"Display_GetName", (PyCFunction
) _wrap_Display_GetName
, METH_VARARGS
| METH_KEYWORDS
},
29024 { (char *)"Display_IsPrimary", (PyCFunction
) _wrap_Display_IsPrimary
, METH_VARARGS
| METH_KEYWORDS
},
29025 { (char *)"Display_GetModes", (PyCFunction
) _wrap_Display_GetModes
, METH_VARARGS
| METH_KEYWORDS
},
29026 { (char *)"Display_GetCurrentMode", (PyCFunction
) _wrap_Display_GetCurrentMode
, METH_VARARGS
| METH_KEYWORDS
},
29027 { (char *)"Display_ChangeMode", (PyCFunction
) _wrap_Display_ChangeMode
, METH_VARARGS
| METH_KEYWORDS
},
29028 { (char *)"Display_ResetMode", (PyCFunction
) _wrap_Display_ResetMode
, METH_VARARGS
| METH_KEYWORDS
},
29029 { (char *)"Display_swigregister", Display_swigregister
, METH_VARARGS
},
29034 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
29036 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
29037 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
29039 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
29040 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
29042 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
29043 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
29045 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
29046 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
29048 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
29049 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
29051 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
29052 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
29054 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
29055 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
29057 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
29058 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
29060 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
29061 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
29063 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
29064 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
29066 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
29067 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
29069 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
29070 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
29072 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
29073 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
29075 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
29076 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
29078 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
29079 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
29081 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
29082 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
29084 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
29085 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
29087 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
29088 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
29090 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
29091 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
29093 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
29094 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
29096 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
29097 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
29099 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
29100 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
29102 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
29103 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
29105 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
29106 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
29108 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
29109 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
29111 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
29112 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
29114 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
29115 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
29117 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
29118 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
29120 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
29121 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
29123 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
29124 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
29126 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
29127 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
29129 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
29130 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
29132 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
29133 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
29135 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
29136 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
29138 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
29139 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
29141 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
29142 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
29144 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
29145 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
29147 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
29148 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
29150 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
29151 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
29153 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
29154 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
29156 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
29157 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
29159 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
29160 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
29162 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
29163 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
29165 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
29166 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
29168 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
29169 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
29171 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
29172 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
29174 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
29175 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
29177 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
29178 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
29180 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
29181 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
29183 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
29184 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
29186 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
29187 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
29189 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
29190 return (void *)((wxDataObject
*) (wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
29192 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
29193 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
29195 static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x
) {
29196 return (void *)((wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
29198 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
29199 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
29201 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
29202 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
29204 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
29205 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
29207 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
29208 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
29210 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
29211 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
29213 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
29214 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
29216 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
29217 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
29219 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
29220 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
29222 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
29223 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
29225 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
29226 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
29228 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
29229 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
29231 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
29232 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
29234 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
29235 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
29237 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
29238 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
29240 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
29241 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
29243 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
29244 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
29246 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
29247 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
29249 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
29250 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
29252 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
29253 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
29255 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
29256 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
29258 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
29259 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
29261 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
29262 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
29264 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
29265 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
29267 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
29268 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
29270 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
29271 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
29273 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
29274 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
29276 static void *_p_wxSizerTo_p_wxObject(void *x
) {
29277 return (void *)((wxObject
*) ((wxSizer
*) x
));
29279 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
29280 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
29282 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
29283 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
29285 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
29286 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
29288 static void *_p_wxEventTo_p_wxObject(void *x
) {
29289 return (void *)((wxObject
*) ((wxEvent
*) x
));
29291 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
29292 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
29294 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
29295 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
29297 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
29298 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
29300 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
29301 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
29303 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
29304 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
29306 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
29307 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
29309 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
29310 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
29312 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
29313 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
29315 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
29316 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
29318 static void *_p_wxControlTo_p_wxObject(void *x
) {
29319 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
29321 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
29322 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
29324 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
29325 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
29327 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
29328 return (void *)((wxObject
*) ((wxFSFile
*) x
));
29330 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
29331 return (void *)((wxObject
*) ((wxClipboard
*) x
));
29333 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
29334 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
29336 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
29337 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
29339 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
29340 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
29342 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
29343 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
29345 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
29346 return (void *)((wxObject
*) ((wxToolTip
*) x
));
29348 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
29349 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
29351 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
29352 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
29354 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
29355 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
29357 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
29358 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
29360 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
29361 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
29363 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
29364 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
29366 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
29367 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
29369 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
29370 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
29372 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
29373 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
29375 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
29376 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
29378 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
29379 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
29381 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
29382 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
29384 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
29385 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
29387 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
29388 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
29390 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
29391 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
29393 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
29394 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
29396 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
29397 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
29399 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
29400 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
29402 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
29403 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
29405 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
29406 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
29408 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
29409 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
29411 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
29412 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
29414 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
29415 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
29417 static void *_p_wxImageTo_p_wxObject(void *x
) {
29418 return (void *)((wxObject
*) ((wxImage
*) x
));
29420 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
29421 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
29423 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
29424 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
29426 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
29427 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
29429 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
29430 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
29432 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
29433 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
29435 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
29436 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
29438 static void *_p_wxWindowTo_p_wxObject(void *x
) {
29439 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
29441 static void *_p_wxMenuTo_p_wxObject(void *x
) {
29442 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
29444 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
29445 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
29447 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
29448 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
29450 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
29451 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
29453 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
29454 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
29456 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
29457 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
29459 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
29460 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
29462 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
29463 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
29465 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
29466 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
29468 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
29469 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
29471 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
29472 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
29474 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
29475 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
29477 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
29478 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
29480 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
29481 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
29483 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
29484 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
29486 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
29487 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
29489 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
29490 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
29492 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
29493 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
29495 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
29496 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
29498 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
29499 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
29501 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
29502 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
29504 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
29505 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
29507 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
29508 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
29510 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
29511 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
29513 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
29514 return (void *)((wxLog
*) ((wxLogChain
*) x
));
29516 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
29517 return (void *)((wxLog
*) ((wxLogGui
*) x
));
29519 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
29520 return (void *)((wxLog
*) ((wxPyLog
*) x
));
29522 static void *_p_wxControlTo_p_wxWindow(void *x
) {
29523 return (void *)((wxWindow
*) ((wxControl
*) x
));
29525 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
29526 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
29528 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
29529 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
29531 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
29532 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
29534 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
29535 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
29537 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}};
29538 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}};
29539 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}};
29540 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}};
29541 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}};
29542 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}};
29543 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}};
29544 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}};
29545 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}};
29546 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}};
29547 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}};
29548 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}};
29549 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}};
29550 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}};
29551 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}};
29552 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}};
29553 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}};
29554 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}};
29555 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}};
29556 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}};
29557 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}};
29558 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}};
29559 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}};
29560 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}};
29561 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}};
29562 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}};
29563 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}};
29564 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}};
29565 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}};
29566 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}};
29567 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}};
29568 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}};
29569 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}};
29570 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}};
29571 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}};
29572 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}};
29573 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}};
29574 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}};
29575 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}};
29576 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}};
29577 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}};
29578 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}};
29579 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}};
29580 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}};
29581 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}};
29582 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}};
29583 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}};
29584 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}};
29585 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}};
29586 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}};
29587 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}};
29588 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}};
29589 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}};
29590 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}};
29591 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}};
29592 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}};
29593 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}};
29594 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}};
29595 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}};
29596 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}};
29597 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}};
29598 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}};
29599 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}};
29600 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}};
29601 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}};
29602 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}};
29603 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}};
29604 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}};
29605 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}};
29606 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}};
29607 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}};
29608 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}};
29609 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}};
29610 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}};
29611 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}};
29612 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}};
29613 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}};
29614 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}};
29615 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}};
29616 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}};
29617 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}};
29618 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}};
29619 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}};
29620 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}};
29621 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}};
29622 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}};
29624 static swig_type_info
*swig_types_initial
[] = {
29625 _swigt__p_wxLogChain
,
29626 _swigt__p_wxMutexGuiLocker
,
29627 _swigt__p_wxMetafile
,
29628 _swigt__p_wxFileHistory
,
29630 _swigt__p_wxDateTime__TimeZone
,
29633 _swigt__p_wxConfigBase
,
29634 _swigt__p_wxDisplay
,
29635 _swigt__p_wxFileType
,
29636 _swigt__p_wxLogGui
,
29638 _swigt__p_wxDataFormat
,
29639 _swigt__p_wxTimerEvent
,
29643 _swigt__p_wxClipboard
,
29644 _swigt__p_wxStopWatch
,
29646 _swigt__p_wxClipboardLocker
,
29648 _swigt__p_wxLogStderr
,
29649 _swigt__p_wxLogTextCtrl
,
29650 _swigt__p_wxTextCtrl
,
29651 _swigt__p_wxBusyCursor
,
29652 _swigt__p_wxPyBitmapDataObject
,
29653 _swigt__p_wxPyTextDataObject
,
29654 _swigt__p_wxBitmapDataObject
,
29655 _swigt__p_wxTextDataObject
,
29656 _swigt__p_wxDataObject
,
29657 _swigt__p_wxFileDataObject
,
29658 _swigt__p_wxCustomDataObject
,
29659 _swigt__p_wxURLDataObject
,
29660 _swigt__p_wxMetafileDataObject
,
29662 _swigt__p_wxTimerRunner
,
29663 _swigt__p_wxLogWindow
,
29664 _swigt__p_wxTimeSpan
,
29665 _swigt__p_wxArrayString
,
29666 _swigt__p_wxWindowDisabler
,
29667 _swigt__p_wxToolTip
,
29668 _swigt__p_wxDataObjectComposite
,
29669 _swigt__p_wxFileConfig
,
29670 _swigt__p_wxSystemSettings
,
29671 _swigt__p_wxVideoMode
,
29672 _swigt__p_wxPyDataObjectSimple
,
29673 _swigt__p_wxDataObjectSimple
,
29674 _swigt__p_wxEvtHandler
,
29677 _swigt__p_wxSingleInstanceChecker
,
29678 _swigt__p_wxFileTypeInfo
,
29681 _swigt__p_wxMimeTypesManager
,
29682 _swigt__p_wxPyArtProvider
,
29683 _swigt__p_wxPyTipProvider
,
29684 _swigt__p_wxTipProvider
,
29685 _swigt__p_wxJoystick
,
29686 _swigt__p_wxSystemOptions
,
29688 _swigt__p_wxJoystickEvent
,
29689 _swigt__p_wxCursor
,
29690 _swigt__p_wxObject
,
29691 _swigt__p_wxOutputStream
,
29692 _swigt__p_wxDateTime
,
29693 _swigt__p_wxPyDropSource
,
29694 _swigt__p_wxWindow
,
29695 _swigt__p_wxString
,
29696 _swigt__p_wxPyProcess
,
29697 _swigt__p_wxBitmap
,
29698 _swigt__p_wxConfig
,
29700 _swigt__p_wxBusyInfo
,
29701 _swigt__p_wxPyDropTarget
,
29702 _swigt__p_wxPyTextDropTarget
,
29703 _swigt__p_wxPyFileDropTarget
,
29704 _swigt__p_wxProcessEvent
,
29706 _swigt__p_wxLogNull
,
29707 _swigt__p_wxColour
,
29708 _swigt__p_wxConfigPathChanger
,
29709 _swigt__p_wxPyTimer
,
29710 _swigt__p_wxDateSpan
,
29715 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
29717 static swig_const_info swig_const_table
[] = {
29718 { SWIG_PY_POINTER
, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", &SWIGTYPE_p_char
},
29719 { SWIG_PY_POINTER
, (char*)"TRACE_Messages", 0, 0, (void *)"messages", &SWIGTYPE_p_char
},
29720 { SWIG_PY_POINTER
, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", &SWIGTYPE_p_char
},
29721 { SWIG_PY_POINTER
, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", &SWIGTYPE_p_char
},
29722 { SWIG_PY_POINTER
, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", &SWIGTYPE_p_char
},
29732 SWIGEXPORT(void) SWIG_init(void) {
29733 static PyObject
*SWIG_globals
= 0;
29734 static int typeinit
= 0;
29737 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
29738 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
29739 d
= PyModule_GetDict(m
);
29742 for (i
= 0; swig_types_initial
[i
]; i
++) {
29743 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
29747 SWIG_InstallConstants(d
,swig_const_table
);
29749 PyDict_SetItemString(d
,"SYS_OEM_FIXED_FONT", SWIG_FromInt((int)wxSYS_OEM_FIXED_FONT
));
29750 PyDict_SetItemString(d
,"SYS_ANSI_FIXED_FONT", SWIG_FromInt((int)wxSYS_ANSI_FIXED_FONT
));
29751 PyDict_SetItemString(d
,"SYS_ANSI_VAR_FONT", SWIG_FromInt((int)wxSYS_ANSI_VAR_FONT
));
29752 PyDict_SetItemString(d
,"SYS_SYSTEM_FONT", SWIG_FromInt((int)wxSYS_SYSTEM_FONT
));
29753 PyDict_SetItemString(d
,"SYS_DEVICE_DEFAULT_FONT", SWIG_FromInt((int)wxSYS_DEVICE_DEFAULT_FONT
));
29754 PyDict_SetItemString(d
,"SYS_DEFAULT_PALETTE", SWIG_FromInt((int)wxSYS_DEFAULT_PALETTE
));
29755 PyDict_SetItemString(d
,"SYS_SYSTEM_FIXED_FONT", SWIG_FromInt((int)wxSYS_SYSTEM_FIXED_FONT
));
29756 PyDict_SetItemString(d
,"SYS_DEFAULT_GUI_FONT", SWIG_FromInt((int)wxSYS_DEFAULT_GUI_FONT
));
29757 PyDict_SetItemString(d
,"SYS_ICONTITLE_FONT", SWIG_FromInt((int)wxSYS_ICONTITLE_FONT
));
29758 PyDict_SetItemString(d
,"SYS_COLOUR_SCROLLBAR", SWIG_FromInt((int)wxSYS_COLOUR_SCROLLBAR
));
29759 PyDict_SetItemString(d
,"SYS_COLOUR_BACKGROUND", SWIG_FromInt((int)wxSYS_COLOUR_BACKGROUND
));
29760 PyDict_SetItemString(d
,"SYS_COLOUR_DESKTOP", SWIG_FromInt((int)wxSYS_COLOUR_DESKTOP
));
29761 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_ACTIVECAPTION
));
29762 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVECAPTION
));
29763 PyDict_SetItemString(d
,"SYS_COLOUR_MENU", SWIG_FromInt((int)wxSYS_COLOUR_MENU
));
29764 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOW", SWIG_FromInt((int)wxSYS_COLOUR_WINDOW
));
29765 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWFRAME", SWIG_FromInt((int)wxSYS_COLOUR_WINDOWFRAME
));
29766 PyDict_SetItemString(d
,"SYS_COLOUR_MENUTEXT", SWIG_FromInt((int)wxSYS_COLOUR_MENUTEXT
));
29767 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWTEXT", SWIG_FromInt((int)wxSYS_COLOUR_WINDOWTEXT
));
29768 PyDict_SetItemString(d
,"SYS_COLOUR_CAPTIONTEXT", SWIG_FromInt((int)wxSYS_COLOUR_CAPTIONTEXT
));
29769 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVEBORDER", SWIG_FromInt((int)wxSYS_COLOUR_ACTIVEBORDER
));
29770 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVEBORDER", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVEBORDER
));
29771 PyDict_SetItemString(d
,"SYS_COLOUR_APPWORKSPACE", SWIG_FromInt((int)wxSYS_COLOUR_APPWORKSPACE
));
29772 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_HIGHLIGHT
));
29773 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_FromInt((int)wxSYS_COLOUR_HIGHLIGHTTEXT
));
29774 PyDict_SetItemString(d
,"SYS_COLOUR_BTNFACE", SWIG_FromInt((int)wxSYS_COLOUR_BTNFACE
));
29775 PyDict_SetItemString(d
,"SYS_COLOUR_3DFACE", SWIG_FromInt((int)wxSYS_COLOUR_3DFACE
));
29776 PyDict_SetItemString(d
,"SYS_COLOUR_BTNSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_BTNSHADOW
));
29777 PyDict_SetItemString(d
,"SYS_COLOUR_3DSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_3DSHADOW
));
29778 PyDict_SetItemString(d
,"SYS_COLOUR_GRAYTEXT", SWIG_FromInt((int)wxSYS_COLOUR_GRAYTEXT
));
29779 PyDict_SetItemString(d
,"SYS_COLOUR_BTNTEXT", SWIG_FromInt((int)wxSYS_COLOUR_BTNTEXT
));
29780 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVECAPTIONTEXT
));
29781 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_BTNHIGHLIGHT
));
29782 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_BTNHILIGHT
));
29783 PyDict_SetItemString(d
,"SYS_COLOUR_3DHIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DHIGHLIGHT
));
29784 PyDict_SetItemString(d
,"SYS_COLOUR_3DHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DHILIGHT
));
29785 PyDict_SetItemString(d
,"SYS_COLOUR_3DDKSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_3DDKSHADOW
));
29786 PyDict_SetItemString(d
,"SYS_COLOUR_3DLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DLIGHT
));
29787 PyDict_SetItemString(d
,"SYS_COLOUR_INFOTEXT", SWIG_FromInt((int)wxSYS_COLOUR_INFOTEXT
));
29788 PyDict_SetItemString(d
,"SYS_COLOUR_INFOBK", SWIG_FromInt((int)wxSYS_COLOUR_INFOBK
));
29789 PyDict_SetItemString(d
,"SYS_COLOUR_LISTBOX", SWIG_FromInt((int)wxSYS_COLOUR_LISTBOX
));
29790 PyDict_SetItemString(d
,"SYS_COLOUR_HOTLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_HOTLIGHT
));
29791 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_GRADIENTACTIVECAPTION
));
29792 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_GRADIENTINACTIVECAPTION
));
29793 PyDict_SetItemString(d
,"SYS_COLOUR_MENUHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_MENUHILIGHT
));
29794 PyDict_SetItemString(d
,"SYS_COLOUR_MENUBAR", SWIG_FromInt((int)wxSYS_COLOUR_MENUBAR
));
29795 PyDict_SetItemString(d
,"SYS_COLOUR_MAX", SWIG_FromInt((int)wxSYS_COLOUR_MAX
));
29796 PyDict_SetItemString(d
,"SYS_MOUSE_BUTTONS", SWIG_FromInt((int)wxSYS_MOUSE_BUTTONS
));
29797 PyDict_SetItemString(d
,"SYS_BORDER_X", SWIG_FromInt((int)wxSYS_BORDER_X
));
29798 PyDict_SetItemString(d
,"SYS_BORDER_Y", SWIG_FromInt((int)wxSYS_BORDER_Y
));
29799 PyDict_SetItemString(d
,"SYS_CURSOR_X", SWIG_FromInt((int)wxSYS_CURSOR_X
));
29800 PyDict_SetItemString(d
,"SYS_CURSOR_Y", SWIG_FromInt((int)wxSYS_CURSOR_Y
));
29801 PyDict_SetItemString(d
,"SYS_DCLICK_X", SWIG_FromInt((int)wxSYS_DCLICK_X
));
29802 PyDict_SetItemString(d
,"SYS_DCLICK_Y", SWIG_FromInt((int)wxSYS_DCLICK_Y
));
29803 PyDict_SetItemString(d
,"SYS_DRAG_X", SWIG_FromInt((int)wxSYS_DRAG_X
));
29804 PyDict_SetItemString(d
,"SYS_DRAG_Y", SWIG_FromInt((int)wxSYS_DRAG_Y
));
29805 PyDict_SetItemString(d
,"SYS_EDGE_X", SWIG_FromInt((int)wxSYS_EDGE_X
));
29806 PyDict_SetItemString(d
,"SYS_EDGE_Y", SWIG_FromInt((int)wxSYS_EDGE_Y
));
29807 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_X", SWIG_FromInt((int)wxSYS_HSCROLL_ARROW_X
));
29808 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_Y", SWIG_FromInt((int)wxSYS_HSCROLL_ARROW_Y
));
29809 PyDict_SetItemString(d
,"SYS_HTHUMB_X", SWIG_FromInt((int)wxSYS_HTHUMB_X
));
29810 PyDict_SetItemString(d
,"SYS_ICON_X", SWIG_FromInt((int)wxSYS_ICON_X
));
29811 PyDict_SetItemString(d
,"SYS_ICON_Y", SWIG_FromInt((int)wxSYS_ICON_Y
));
29812 PyDict_SetItemString(d
,"SYS_ICONSPACING_X", SWIG_FromInt((int)wxSYS_ICONSPACING_X
));
29813 PyDict_SetItemString(d
,"SYS_ICONSPACING_Y", SWIG_FromInt((int)wxSYS_ICONSPACING_Y
));
29814 PyDict_SetItemString(d
,"SYS_WINDOWMIN_X", SWIG_FromInt((int)wxSYS_WINDOWMIN_X
));
29815 PyDict_SetItemString(d
,"SYS_WINDOWMIN_Y", SWIG_FromInt((int)wxSYS_WINDOWMIN_Y
));
29816 PyDict_SetItemString(d
,"SYS_SCREEN_X", SWIG_FromInt((int)wxSYS_SCREEN_X
));
29817 PyDict_SetItemString(d
,"SYS_SCREEN_Y", SWIG_FromInt((int)wxSYS_SCREEN_Y
));
29818 PyDict_SetItemString(d
,"SYS_FRAMESIZE_X", SWIG_FromInt((int)wxSYS_FRAMESIZE_X
));
29819 PyDict_SetItemString(d
,"SYS_FRAMESIZE_Y", SWIG_FromInt((int)wxSYS_FRAMESIZE_Y
));
29820 PyDict_SetItemString(d
,"SYS_SMALLICON_X", SWIG_FromInt((int)wxSYS_SMALLICON_X
));
29821 PyDict_SetItemString(d
,"SYS_SMALLICON_Y", SWIG_FromInt((int)wxSYS_SMALLICON_Y
));
29822 PyDict_SetItemString(d
,"SYS_HSCROLL_Y", SWIG_FromInt((int)wxSYS_HSCROLL_Y
));
29823 PyDict_SetItemString(d
,"SYS_VSCROLL_X", SWIG_FromInt((int)wxSYS_VSCROLL_X
));
29824 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_X", SWIG_FromInt((int)wxSYS_VSCROLL_ARROW_X
));
29825 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_Y", SWIG_FromInt((int)wxSYS_VSCROLL_ARROW_Y
));
29826 PyDict_SetItemString(d
,"SYS_VTHUMB_Y", SWIG_FromInt((int)wxSYS_VTHUMB_Y
));
29827 PyDict_SetItemString(d
,"SYS_CAPTION_Y", SWIG_FromInt((int)wxSYS_CAPTION_Y
));
29828 PyDict_SetItemString(d
,"SYS_MENU_Y", SWIG_FromInt((int)wxSYS_MENU_Y
));
29829 PyDict_SetItemString(d
,"SYS_NETWORK_PRESENT", SWIG_FromInt((int)wxSYS_NETWORK_PRESENT
));
29830 PyDict_SetItemString(d
,"SYS_PENWINDOWS_PRESENT", SWIG_FromInt((int)wxSYS_PENWINDOWS_PRESENT
));
29831 PyDict_SetItemString(d
,"SYS_SHOW_SOUNDS", SWIG_FromInt((int)wxSYS_SHOW_SOUNDS
));
29832 PyDict_SetItemString(d
,"SYS_SWAP_BUTTONS", SWIG_FromInt((int)wxSYS_SWAP_BUTTONS
));
29833 PyDict_SetItemString(d
,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_FromInt((int)wxSYS_CAN_DRAW_FRAME_DECORATIONS
));
29834 PyDict_SetItemString(d
,"SYS_CAN_ICONIZE_FRAME", SWIG_FromInt((int)wxSYS_CAN_ICONIZE_FRAME
));
29835 PyDict_SetItemString(d
,"SYS_SCREEN_NONE", SWIG_FromInt((int)wxSYS_SCREEN_NONE
));
29836 PyDict_SetItemString(d
,"SYS_SCREEN_TINY", SWIG_FromInt((int)wxSYS_SCREEN_TINY
));
29837 PyDict_SetItemString(d
,"SYS_SCREEN_PDA", SWIG_FromInt((int)wxSYS_SCREEN_PDA
));
29838 PyDict_SetItemString(d
,"SYS_SCREEN_SMALL", SWIG_FromInt((int)wxSYS_SCREEN_SMALL
));
29839 PyDict_SetItemString(d
,"SYS_SCREEN_DESKTOP", SWIG_FromInt((int)wxSYS_SCREEN_DESKTOP
));
29840 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
29841 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
29842 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
29843 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
29844 PyDict_SetItemString(d
,"SHUTDOWN_POWEROFF", SWIG_FromInt((int)wxSHUTDOWN_POWEROFF
));
29845 PyDict_SetItemString(d
,"SHUTDOWN_REBOOT", SWIG_FromInt((int)wxSHUTDOWN_REBOOT
));
29846 PyDict_SetItemString(d
,"TIMER_CONTINUOUS", SWIG_FromInt((int)wxTIMER_CONTINUOUS
));
29847 PyDict_SetItemString(d
,"TIMER_ONE_SHOT", SWIG_FromInt((int)wxTIMER_ONE_SHOT
));
29848 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
29850 wxPyPtrTypeMap_Add("wxTimer", "wxPyTimer");
29852 PyDict_SetItemString(d
,"LOG_FatalError", SWIG_FromInt((int)wxLOG_FatalError
));
29853 PyDict_SetItemString(d
,"LOG_Error", SWIG_FromInt((int)wxLOG_Error
));
29854 PyDict_SetItemString(d
,"LOG_Warning", SWIG_FromInt((int)wxLOG_Warning
));
29855 PyDict_SetItemString(d
,"LOG_Message", SWIG_FromInt((int)wxLOG_Message
));
29856 PyDict_SetItemString(d
,"LOG_Status", SWIG_FromInt((int)wxLOG_Status
));
29857 PyDict_SetItemString(d
,"LOG_Info", SWIG_FromInt((int)wxLOG_Info
));
29858 PyDict_SetItemString(d
,"LOG_Debug", SWIG_FromInt((int)wxLOG_Debug
));
29859 PyDict_SetItemString(d
,"LOG_Trace", SWIG_FromInt((int)wxLOG_Trace
));
29860 PyDict_SetItemString(d
,"LOG_Progress", SWIG_FromInt((int)wxLOG_Progress
));
29861 PyDict_SetItemString(d
,"LOG_User", SWIG_FromInt((int)wxLOG_User
));
29862 PyDict_SetItemString(d
,"LOG_Max", SWIG_FromInt((int)wxLOG_Max
));
29863 PyDict_SetItemString(d
,"TRACE_MemAlloc", SWIG_FromCharPtr("memalloc"));
29864 PyDict_SetItemString(d
,"TRACE_Messages", SWIG_FromCharPtr("messages"));
29865 PyDict_SetItemString(d
,"TRACE_ResAlloc", SWIG_FromCharPtr("resalloc"));
29866 PyDict_SetItemString(d
,"TRACE_RefCount", SWIG_FromCharPtr("refcount"));
29867 PyDict_SetItemString(d
,"TRACE_OleCalls", SWIG_FromCharPtr("ole"));
29868 PyDict_SetItemString(d
,"TraceMemAlloc", SWIG_FromInt((int)0x0001));
29869 PyDict_SetItemString(d
,"TraceMessages", SWIG_FromInt((int)0x0002));
29870 PyDict_SetItemString(d
,"TraceResAlloc", SWIG_FromInt((int)0x0004));
29871 PyDict_SetItemString(d
,"TraceRefCount", SWIG_FromInt((int)0x0008));
29872 PyDict_SetItemString(d
,"TraceOleCalls", SWIG_FromInt((int)0x0100));
29873 PyDict_SetItemString(d
,"PROCESS_DEFAULT", SWIG_FromInt((int)wxPROCESS_DEFAULT
));
29874 PyDict_SetItemString(d
,"PROCESS_REDIRECT", SWIG_FromInt((int)wxPROCESS_REDIRECT
));
29875 PyDict_SetItemString(d
,"KILL_OK", SWIG_FromInt((int)wxKILL_OK
));
29876 PyDict_SetItemString(d
,"KILL_BAD_SIGNAL", SWIG_FromInt((int)wxKILL_BAD_SIGNAL
));
29877 PyDict_SetItemString(d
,"KILL_ACCESS_DENIED", SWIG_FromInt((int)wxKILL_ACCESS_DENIED
));
29878 PyDict_SetItemString(d
,"KILL_NO_PROCESS", SWIG_FromInt((int)wxKILL_NO_PROCESS
));
29879 PyDict_SetItemString(d
,"KILL_ERROR", SWIG_FromInt((int)wxKILL_ERROR
));
29880 PyDict_SetItemString(d
,"SIGNONE", SWIG_FromInt((int)wxSIGNONE
));
29881 PyDict_SetItemString(d
,"SIGHUP", SWIG_FromInt((int)wxSIGHUP
));
29882 PyDict_SetItemString(d
,"SIGINT", SWIG_FromInt((int)wxSIGINT
));
29883 PyDict_SetItemString(d
,"SIGQUIT", SWIG_FromInt((int)wxSIGQUIT
));
29884 PyDict_SetItemString(d
,"SIGILL", SWIG_FromInt((int)wxSIGILL
));
29885 PyDict_SetItemString(d
,"SIGTRAP", SWIG_FromInt((int)wxSIGTRAP
));
29886 PyDict_SetItemString(d
,"SIGABRT", SWIG_FromInt((int)wxSIGABRT
));
29887 PyDict_SetItemString(d
,"SIGIOT", SWIG_FromInt((int)wxSIGIOT
));
29888 PyDict_SetItemString(d
,"SIGEMT", SWIG_FromInt((int)wxSIGEMT
));
29889 PyDict_SetItemString(d
,"SIGFPE", SWIG_FromInt((int)wxSIGFPE
));
29890 PyDict_SetItemString(d
,"SIGKILL", SWIG_FromInt((int)wxSIGKILL
));
29891 PyDict_SetItemString(d
,"SIGBUS", SWIG_FromInt((int)wxSIGBUS
));
29892 PyDict_SetItemString(d
,"SIGSEGV", SWIG_FromInt((int)wxSIGSEGV
));
29893 PyDict_SetItemString(d
,"SIGSYS", SWIG_FromInt((int)wxSIGSYS
));
29894 PyDict_SetItemString(d
,"SIGPIPE", SWIG_FromInt((int)wxSIGPIPE
));
29895 PyDict_SetItemString(d
,"SIGALRM", SWIG_FromInt((int)wxSIGALRM
));
29896 PyDict_SetItemString(d
,"SIGTERM", SWIG_FromInt((int)wxSIGTERM
));
29897 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
29898 PyDict_SetItemString(d
,"EXEC_ASYNC", SWIG_FromInt((int)wxEXEC_ASYNC
));
29899 PyDict_SetItemString(d
,"EXEC_SYNC", SWIG_FromInt((int)wxEXEC_SYNC
));
29900 PyDict_SetItemString(d
,"EXEC_NOHIDE", SWIG_FromInt((int)wxEXEC_NOHIDE
));
29901 PyDict_SetItemString(d
,"EXEC_MAKE_GROUP_LEADER", SWIG_FromInt((int)wxEXEC_MAKE_GROUP_LEADER
));
29903 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
29905 PyDict_SetItemString(d
,"JOYSTICK1", SWIG_FromInt((int)wxJOYSTICK1
));
29906 PyDict_SetItemString(d
,"JOYSTICK2", SWIG_FromInt((int)wxJOYSTICK2
));
29907 PyDict_SetItemString(d
,"JOY_BUTTON_ANY", SWIG_FromInt((int)wxJOY_BUTTON_ANY
));
29908 PyDict_SetItemString(d
,"JOY_BUTTON1", SWIG_FromInt((int)wxJOY_BUTTON1
));
29909 PyDict_SetItemString(d
,"JOY_BUTTON2", SWIG_FromInt((int)wxJOY_BUTTON2
));
29910 PyDict_SetItemString(d
,"JOY_BUTTON3", SWIG_FromInt((int)wxJOY_BUTTON3
));
29911 PyDict_SetItemString(d
,"JOY_BUTTON4", SWIG_FromInt((int)wxJOY_BUTTON4
));
29912 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
29913 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
29914 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
29915 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
29916 PyDict_SetItemString(d
,"SOUND_SYNC", SWIG_FromInt((int)wxSOUND_SYNC
));
29917 PyDict_SetItemString(d
,"SOUND_ASYNC", SWIG_FromInt((int)wxSOUND_ASYNC
));
29918 PyDict_SetItemString(d
,"SOUND_LOOP", SWIG_FromInt((int)wxSOUND_LOOP
));
29919 PyDict_SetItemString(d
,"MAILCAP_STANDARD", SWIG_FromInt((int)wxMAILCAP_STANDARD
));
29920 PyDict_SetItemString(d
,"MAILCAP_NETSCAPE", SWIG_FromInt((int)wxMAILCAP_NETSCAPE
));
29921 PyDict_SetItemString(d
,"MAILCAP_KDE", SWIG_FromInt((int)wxMAILCAP_KDE
));
29922 PyDict_SetItemString(d
,"MAILCAP_GNOME", SWIG_FromInt((int)wxMAILCAP_GNOME
));
29923 PyDict_SetItemString(d
,"MAILCAP_ALL", SWIG_FromInt((int)wxMAILCAP_ALL
));
29924 SWIG_addvarlink(SWIG_globals
,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get
, _wrap_TheMimeTypesManager_set
);
29925 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get
, _wrap_ART_TOOLBAR_set
);
29926 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MENU",_wrap_ART_MENU_get
, _wrap_ART_MENU_set
);
29927 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get
, _wrap_ART_FRAME_ICON_set
);
29928 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get
, _wrap_ART_CMN_DIALOG_set
);
29929 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get
, _wrap_ART_HELP_BROWSER_set
);
29930 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get
, _wrap_ART_MESSAGE_BOX_set
);
29931 SWIG_addvarlink(SWIG_globals
,(char*)"ART_OTHER",_wrap_ART_OTHER_get
, _wrap_ART_OTHER_set
);
29932 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get
, _wrap_ART_ADD_BOOKMARK_set
);
29933 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get
, _wrap_ART_DEL_BOOKMARK_set
);
29934 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get
, _wrap_ART_HELP_SIDE_PANEL_set
);
29935 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get
, _wrap_ART_HELP_SETTINGS_set
);
29936 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get
, _wrap_ART_HELP_BOOK_set
);
29937 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get
, _wrap_ART_HELP_FOLDER_set
);
29938 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get
, _wrap_ART_HELP_PAGE_set
);
29939 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get
, _wrap_ART_GO_BACK_set
);
29940 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get
, _wrap_ART_GO_FORWARD_set
);
29941 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get
, _wrap_ART_GO_UP_set
);
29942 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get
, _wrap_ART_GO_DOWN_set
);
29943 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get
, _wrap_ART_GO_TO_PARENT_set
);
29944 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get
, _wrap_ART_GO_HOME_set
);
29945 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get
, _wrap_ART_FILE_OPEN_set
);
29946 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PRINT",_wrap_ART_PRINT_get
, _wrap_ART_PRINT_set
);
29947 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP",_wrap_ART_HELP_get
, _wrap_ART_HELP_set
);
29948 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TIP",_wrap_ART_TIP_get
, _wrap_ART_TIP_set
);
29949 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get
, _wrap_ART_REPORT_VIEW_set
);
29950 SWIG_addvarlink(SWIG_globals
,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get
, _wrap_ART_LIST_VIEW_set
);
29951 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get
, _wrap_ART_NEW_DIR_set
);
29952 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get
, _wrap_ART_FOLDER_set
);
29953 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get
, _wrap_ART_GO_DIR_UP_set
);
29954 SWIG_addvarlink(SWIG_globals
,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get
, _wrap_ART_EXECUTABLE_FILE_set
);
29955 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get
, _wrap_ART_NORMAL_FILE_set
);
29956 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get
, _wrap_ART_TICK_MARK_set
);
29957 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get
, _wrap_ART_CROSS_MARK_set
);
29958 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ERROR",_wrap_ART_ERROR_get
, _wrap_ART_ERROR_set
);
29959 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get
, _wrap_ART_QUESTION_set
);
29960 SWIG_addvarlink(SWIG_globals
,(char*)"ART_WARNING",_wrap_ART_WARNING_get
, _wrap_ART_WARNING_set
);
29961 SWIG_addvarlink(SWIG_globals
,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get
, _wrap_ART_INFORMATION_set
);
29962 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get
, _wrap_ART_MISSING_IMAGE_set
);
29964 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
29966 PyDict_SetItemString(d
,"CONFIG_USE_LOCAL_FILE", SWIG_FromInt((int)wxCONFIG_USE_LOCAL_FILE
));
29967 PyDict_SetItemString(d
,"CONFIG_USE_GLOBAL_FILE", SWIG_FromInt((int)wxCONFIG_USE_GLOBAL_FILE
));
29968 PyDict_SetItemString(d
,"CONFIG_USE_RELATIVE_PATH", SWIG_FromInt((int)wxCONFIG_USE_RELATIVE_PATH
));
29969 PyDict_SetItemString(d
,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_FromInt((int)wxCONFIG_USE_NO_ESCAPE_CHARACTERS
));
29970 PyDict_SetItemString(d
,"ConfigBase_Type_Unknown", SWIG_FromInt((int)wxConfigBase::Type_Unknown
));
29971 PyDict_SetItemString(d
,"ConfigBase_Type_String", SWIG_FromInt((int)wxConfigBase::Type_String
));
29972 PyDict_SetItemString(d
,"ConfigBase_Type_Boolean", SWIG_FromInt((int)wxConfigBase::Type_Boolean
));
29973 PyDict_SetItemString(d
,"ConfigBase_Type_Integer", SWIG_FromInt((int)wxConfigBase::Type_Integer
));
29974 PyDict_SetItemString(d
,"ConfigBase_Type_Float", SWIG_FromInt((int)wxConfigBase::Type_Float
));
29975 SWIG_addvarlink(SWIG_globals
,(char*)"DateFormatStr",_wrap_DateFormatStr_get
, _wrap_DateFormatStr_set
);
29976 SWIG_addvarlink(SWIG_globals
,(char*)"TimeSpanFormatStr",_wrap_TimeSpanFormatStr_get
, _wrap_TimeSpanFormatStr_set
);
29977 PyDict_SetItemString(d
,"DateTime_Local", SWIG_FromInt((int)wxDateTime::Local
));
29978 PyDict_SetItemString(d
,"DateTime_GMT_12", SWIG_FromInt((int)wxDateTime::GMT_12
));
29979 PyDict_SetItemString(d
,"DateTime_GMT_11", SWIG_FromInt((int)wxDateTime::GMT_11
));
29980 PyDict_SetItemString(d
,"DateTime_GMT_10", SWIG_FromInt((int)wxDateTime::GMT_10
));
29981 PyDict_SetItemString(d
,"DateTime_GMT_9", SWIG_FromInt((int)wxDateTime::GMT_9
));
29982 PyDict_SetItemString(d
,"DateTime_GMT_8", SWIG_FromInt((int)wxDateTime::GMT_8
));
29983 PyDict_SetItemString(d
,"DateTime_GMT_7", SWIG_FromInt((int)wxDateTime::GMT_7
));
29984 PyDict_SetItemString(d
,"DateTime_GMT_6", SWIG_FromInt((int)wxDateTime::GMT_6
));
29985 PyDict_SetItemString(d
,"DateTime_GMT_5", SWIG_FromInt((int)wxDateTime::GMT_5
));
29986 PyDict_SetItemString(d
,"DateTime_GMT_4", SWIG_FromInt((int)wxDateTime::GMT_4
));
29987 PyDict_SetItemString(d
,"DateTime_GMT_3", SWIG_FromInt((int)wxDateTime::GMT_3
));
29988 PyDict_SetItemString(d
,"DateTime_GMT_2", SWIG_FromInt((int)wxDateTime::GMT_2
));
29989 PyDict_SetItemString(d
,"DateTime_GMT_1", SWIG_FromInt((int)wxDateTime::GMT_1
));
29990 PyDict_SetItemString(d
,"DateTime_GMT0", SWIG_FromInt((int)wxDateTime::GMT0
));
29991 PyDict_SetItemString(d
,"DateTime_GMT1", SWIG_FromInt((int)wxDateTime::GMT1
));
29992 PyDict_SetItemString(d
,"DateTime_GMT2", SWIG_FromInt((int)wxDateTime::GMT2
));
29993 PyDict_SetItemString(d
,"DateTime_GMT3", SWIG_FromInt((int)wxDateTime::GMT3
));
29994 PyDict_SetItemString(d
,"DateTime_GMT4", SWIG_FromInt((int)wxDateTime::GMT4
));
29995 PyDict_SetItemString(d
,"DateTime_GMT5", SWIG_FromInt((int)wxDateTime::GMT5
));
29996 PyDict_SetItemString(d
,"DateTime_GMT6", SWIG_FromInt((int)wxDateTime::GMT6
));
29997 PyDict_SetItemString(d
,"DateTime_GMT7", SWIG_FromInt((int)wxDateTime::GMT7
));
29998 PyDict_SetItemString(d
,"DateTime_GMT8", SWIG_FromInt((int)wxDateTime::GMT8
));
29999 PyDict_SetItemString(d
,"DateTime_GMT9", SWIG_FromInt((int)wxDateTime::GMT9
));
30000 PyDict_SetItemString(d
,"DateTime_GMT10", SWIG_FromInt((int)wxDateTime::GMT10
));
30001 PyDict_SetItemString(d
,"DateTime_GMT11", SWIG_FromInt((int)wxDateTime::GMT11
));
30002 PyDict_SetItemString(d
,"DateTime_GMT12", SWIG_FromInt((int)wxDateTime::GMT12
));
30003 PyDict_SetItemString(d
,"DateTime_WET", SWIG_FromInt((int)wxDateTime::WET
));
30004 PyDict_SetItemString(d
,"DateTime_WEST", SWIG_FromInt((int)wxDateTime::WEST
));
30005 PyDict_SetItemString(d
,"DateTime_CET", SWIG_FromInt((int)wxDateTime::CET
));
30006 PyDict_SetItemString(d
,"DateTime_CEST", SWIG_FromInt((int)wxDateTime::CEST
));
30007 PyDict_SetItemString(d
,"DateTime_EET", SWIG_FromInt((int)wxDateTime::EET
));
30008 PyDict_SetItemString(d
,"DateTime_EEST", SWIG_FromInt((int)wxDateTime::EEST
));
30009 PyDict_SetItemString(d
,"DateTime_MSK", SWIG_FromInt((int)wxDateTime::MSK
));
30010 PyDict_SetItemString(d
,"DateTime_MSD", SWIG_FromInt((int)wxDateTime::MSD
));
30011 PyDict_SetItemString(d
,"DateTime_AST", SWIG_FromInt((int)wxDateTime::AST
));
30012 PyDict_SetItemString(d
,"DateTime_ADT", SWIG_FromInt((int)wxDateTime::ADT
));
30013 PyDict_SetItemString(d
,"DateTime_EST", SWIG_FromInt((int)wxDateTime::EST
));
30014 PyDict_SetItemString(d
,"DateTime_EDT", SWIG_FromInt((int)wxDateTime::EDT
));
30015 PyDict_SetItemString(d
,"DateTime_CST", SWIG_FromInt((int)wxDateTime::CST
));
30016 PyDict_SetItemString(d
,"DateTime_CDT", SWIG_FromInt((int)wxDateTime::CDT
));
30017 PyDict_SetItemString(d
,"DateTime_MST", SWIG_FromInt((int)wxDateTime::MST
));
30018 PyDict_SetItemString(d
,"DateTime_MDT", SWIG_FromInt((int)wxDateTime::MDT
));
30019 PyDict_SetItemString(d
,"DateTime_PST", SWIG_FromInt((int)wxDateTime::PST
));
30020 PyDict_SetItemString(d
,"DateTime_PDT", SWIG_FromInt((int)wxDateTime::PDT
));
30021 PyDict_SetItemString(d
,"DateTime_HST", SWIG_FromInt((int)wxDateTime::HST
));
30022 PyDict_SetItemString(d
,"DateTime_AKST", SWIG_FromInt((int)wxDateTime::AKST
));
30023 PyDict_SetItemString(d
,"DateTime_AKDT", SWIG_FromInt((int)wxDateTime::AKDT
));
30024 PyDict_SetItemString(d
,"DateTime_A_WST", SWIG_FromInt((int)wxDateTime::A_WST
));
30025 PyDict_SetItemString(d
,"DateTime_A_CST", SWIG_FromInt((int)wxDateTime::A_CST
));
30026 PyDict_SetItemString(d
,"DateTime_A_EST", SWIG_FromInt((int)wxDateTime::A_EST
));
30027 PyDict_SetItemString(d
,"DateTime_A_ESST", SWIG_FromInt((int)wxDateTime::A_ESST
));
30028 PyDict_SetItemString(d
,"DateTime_UTC", SWIG_FromInt((int)wxDateTime::UTC
));
30029 PyDict_SetItemString(d
,"DateTime_Gregorian", SWIG_FromInt((int)wxDateTime::Gregorian
));
30030 PyDict_SetItemString(d
,"DateTime_Julian", SWIG_FromInt((int)wxDateTime::Julian
));
30031 PyDict_SetItemString(d
,"DateTime_Gr_Unknown", SWIG_FromInt((int)wxDateTime::Gr_Unknown
));
30032 PyDict_SetItemString(d
,"DateTime_Gr_Standard", SWIG_FromInt((int)wxDateTime::Gr_Standard
));
30033 PyDict_SetItemString(d
,"DateTime_Gr_Alaska", SWIG_FromInt((int)wxDateTime::Gr_Alaska
));
30034 PyDict_SetItemString(d
,"DateTime_Gr_Albania", SWIG_FromInt((int)wxDateTime::Gr_Albania
));
30035 PyDict_SetItemString(d
,"DateTime_Gr_Austria", SWIG_FromInt((int)wxDateTime::Gr_Austria
));
30036 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Brixen", SWIG_FromInt((int)wxDateTime::Gr_Austria_Brixen
));
30037 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Salzburg", SWIG_FromInt((int)wxDateTime::Gr_Austria_Salzburg
));
30038 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Tyrol", SWIG_FromInt((int)wxDateTime::Gr_Austria_Tyrol
));
30039 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Carinthia", SWIG_FromInt((int)wxDateTime::Gr_Austria_Carinthia
));
30040 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Styria", SWIG_FromInt((int)wxDateTime::Gr_Austria_Styria
));
30041 PyDict_SetItemString(d
,"DateTime_Gr_Belgium", SWIG_FromInt((int)wxDateTime::Gr_Belgium
));
30042 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria
));
30043 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_1", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_1
));
30044 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_2", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_2
));
30045 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_3", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_3
));
30046 PyDict_SetItemString(d
,"DateTime_Gr_Canada", SWIG_FromInt((int)wxDateTime::Gr_Canada
));
30047 PyDict_SetItemString(d
,"DateTime_Gr_China", SWIG_FromInt((int)wxDateTime::Gr_China
));
30048 PyDict_SetItemString(d
,"DateTime_Gr_China_1", SWIG_FromInt((int)wxDateTime::Gr_China_1
));
30049 PyDict_SetItemString(d
,"DateTime_Gr_China_2", SWIG_FromInt((int)wxDateTime::Gr_China_2
));
30050 PyDict_SetItemString(d
,"DateTime_Gr_Czechoslovakia", SWIG_FromInt((int)wxDateTime::Gr_Czechoslovakia
));
30051 PyDict_SetItemString(d
,"DateTime_Gr_Denmark", SWIG_FromInt((int)wxDateTime::Gr_Denmark
));
30052 PyDict_SetItemString(d
,"DateTime_Gr_Egypt", SWIG_FromInt((int)wxDateTime::Gr_Egypt
));
30053 PyDict_SetItemString(d
,"DateTime_Gr_Estonia", SWIG_FromInt((int)wxDateTime::Gr_Estonia
));
30054 PyDict_SetItemString(d
,"DateTime_Gr_Finland", SWIG_FromInt((int)wxDateTime::Gr_Finland
));
30055 PyDict_SetItemString(d
,"DateTime_Gr_France", SWIG_FromInt((int)wxDateTime::Gr_France
));
30056 PyDict_SetItemString(d
,"DateTime_Gr_France_Alsace", SWIG_FromInt((int)wxDateTime::Gr_France_Alsace
));
30057 PyDict_SetItemString(d
,"DateTime_Gr_France_Lorraine", SWIG_FromInt((int)wxDateTime::Gr_France_Lorraine
));
30058 PyDict_SetItemString(d
,"DateTime_Gr_France_Strasbourg", SWIG_FromInt((int)wxDateTime::Gr_France_Strasbourg
));
30059 PyDict_SetItemString(d
,"DateTime_Gr_Germany", SWIG_FromInt((int)wxDateTime::Gr_Germany
));
30060 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Catholic", SWIG_FromInt((int)wxDateTime::Gr_Germany_Catholic
));
30061 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Prussia", SWIG_FromInt((int)wxDateTime::Gr_Germany_Prussia
));
30062 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Protestant", SWIG_FromInt((int)wxDateTime::Gr_Germany_Protestant
));
30063 PyDict_SetItemString(d
,"DateTime_Gr_GreatBritain", SWIG_FromInt((int)wxDateTime::Gr_GreatBritain
));
30064 PyDict_SetItemString(d
,"DateTime_Gr_Greece", SWIG_FromInt((int)wxDateTime::Gr_Greece
));
30065 PyDict_SetItemString(d
,"DateTime_Gr_Hungary", SWIG_FromInt((int)wxDateTime::Gr_Hungary
));
30066 PyDict_SetItemString(d
,"DateTime_Gr_Ireland", SWIG_FromInt((int)wxDateTime::Gr_Ireland
));
30067 PyDict_SetItemString(d
,"DateTime_Gr_Italy", SWIG_FromInt((int)wxDateTime::Gr_Italy
));
30068 PyDict_SetItemString(d
,"DateTime_Gr_Japan", SWIG_FromInt((int)wxDateTime::Gr_Japan
));
30069 PyDict_SetItemString(d
,"DateTime_Gr_Japan_1", SWIG_FromInt((int)wxDateTime::Gr_Japan_1
));
30070 PyDict_SetItemString(d
,"DateTime_Gr_Japan_2", SWIG_FromInt((int)wxDateTime::Gr_Japan_2
));
30071 PyDict_SetItemString(d
,"DateTime_Gr_Japan_3", SWIG_FromInt((int)wxDateTime::Gr_Japan_3
));
30072 PyDict_SetItemString(d
,"DateTime_Gr_Latvia", SWIG_FromInt((int)wxDateTime::Gr_Latvia
));
30073 PyDict_SetItemString(d
,"DateTime_Gr_Lithuania", SWIG_FromInt((int)wxDateTime::Gr_Lithuania
));
30074 PyDict_SetItemString(d
,"DateTime_Gr_Luxemburg", SWIG_FromInt((int)wxDateTime::Gr_Luxemburg
));
30075 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands", SWIG_FromInt((int)wxDateTime::Gr_Netherlands
));
30076 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Groningen", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Groningen
));
30077 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Gelderland", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Gelderland
));
30078 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Utrecht", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Utrecht
));
30079 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Friesland", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Friesland
));
30080 PyDict_SetItemString(d
,"DateTime_Gr_Norway", SWIG_FromInt((int)wxDateTime::Gr_Norway
));
30081 PyDict_SetItemString(d
,"DateTime_Gr_Poland", SWIG_FromInt((int)wxDateTime::Gr_Poland
));
30082 PyDict_SetItemString(d
,"DateTime_Gr_Portugal", SWIG_FromInt((int)wxDateTime::Gr_Portugal
));
30083 PyDict_SetItemString(d
,"DateTime_Gr_Romania", SWIG_FromInt((int)wxDateTime::Gr_Romania
));
30084 PyDict_SetItemString(d
,"DateTime_Gr_Russia", SWIG_FromInt((int)wxDateTime::Gr_Russia
));
30085 PyDict_SetItemString(d
,"DateTime_Gr_Scotland", SWIG_FromInt((int)wxDateTime::Gr_Scotland
));
30086 PyDict_SetItemString(d
,"DateTime_Gr_Spain", SWIG_FromInt((int)wxDateTime::Gr_Spain
));
30087 PyDict_SetItemString(d
,"DateTime_Gr_Sweden", SWIG_FromInt((int)wxDateTime::Gr_Sweden
));
30088 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland", SWIG_FromInt((int)wxDateTime::Gr_Switzerland
));
30089 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Catholic", SWIG_FromInt((int)wxDateTime::Gr_Switzerland_Catholic
));
30090 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Protestant", SWIG_FromInt((int)wxDateTime::Gr_Switzerland_Protestant
));
30091 PyDict_SetItemString(d
,"DateTime_Gr_Turkey", SWIG_FromInt((int)wxDateTime::Gr_Turkey
));
30092 PyDict_SetItemString(d
,"DateTime_Gr_USA", SWIG_FromInt((int)wxDateTime::Gr_USA
));
30093 PyDict_SetItemString(d
,"DateTime_Gr_Wales", SWIG_FromInt((int)wxDateTime::Gr_Wales
));
30094 PyDict_SetItemString(d
,"DateTime_Gr_Yugoslavia", SWIG_FromInt((int)wxDateTime::Gr_Yugoslavia
));
30095 PyDict_SetItemString(d
,"DateTime_Country_Unknown", SWIG_FromInt((int)wxDateTime::Country_Unknown
));
30096 PyDict_SetItemString(d
,"DateTime_Country_Default", SWIG_FromInt((int)wxDateTime::Country_Default
));
30097 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_Start", SWIG_FromInt((int)wxDateTime::Country_WesternEurope_Start
));
30098 PyDict_SetItemString(d
,"DateTime_Country_EEC", SWIG_FromInt((int)wxDateTime::Country_EEC
));
30099 PyDict_SetItemString(d
,"DateTime_France", SWIG_FromInt((int)wxDateTime::France
));
30100 PyDict_SetItemString(d
,"DateTime_Germany", SWIG_FromInt((int)wxDateTime::Germany
));
30101 PyDict_SetItemString(d
,"DateTime_UK", SWIG_FromInt((int)wxDateTime::UK
));
30102 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_End", SWIG_FromInt((int)wxDateTime::Country_WesternEurope_End
));
30103 PyDict_SetItemString(d
,"DateTime_Russia", SWIG_FromInt((int)wxDateTime::Russia
));
30104 PyDict_SetItemString(d
,"DateTime_USA", SWIG_FromInt((int)wxDateTime::USA
));
30105 PyDict_SetItemString(d
,"DateTime_Jan", SWIG_FromInt((int)wxDateTime::Jan
));
30106 PyDict_SetItemString(d
,"DateTime_Feb", SWIG_FromInt((int)wxDateTime::Feb
));
30107 PyDict_SetItemString(d
,"DateTime_Mar", SWIG_FromInt((int)wxDateTime::Mar
));
30108 PyDict_SetItemString(d
,"DateTime_Apr", SWIG_FromInt((int)wxDateTime::Apr
));
30109 PyDict_SetItemString(d
,"DateTime_May", SWIG_FromInt((int)wxDateTime::May
));
30110 PyDict_SetItemString(d
,"DateTime_Jun", SWIG_FromInt((int)wxDateTime::Jun
));
30111 PyDict_SetItemString(d
,"DateTime_Jul", SWIG_FromInt((int)wxDateTime::Jul
));
30112 PyDict_SetItemString(d
,"DateTime_Aug", SWIG_FromInt((int)wxDateTime::Aug
));
30113 PyDict_SetItemString(d
,"DateTime_Sep", SWIG_FromInt((int)wxDateTime::Sep
));
30114 PyDict_SetItemString(d
,"DateTime_Oct", SWIG_FromInt((int)wxDateTime::Oct
));
30115 PyDict_SetItemString(d
,"DateTime_Nov", SWIG_FromInt((int)wxDateTime::Nov
));
30116 PyDict_SetItemString(d
,"DateTime_Dec", SWIG_FromInt((int)wxDateTime::Dec
));
30117 PyDict_SetItemString(d
,"DateTime_Inv_Month", SWIG_FromInt((int)wxDateTime::Inv_Month
));
30118 PyDict_SetItemString(d
,"DateTime_Sun", SWIG_FromInt((int)wxDateTime::Sun
));
30119 PyDict_SetItemString(d
,"DateTime_Mon", SWIG_FromInt((int)wxDateTime::Mon
));
30120 PyDict_SetItemString(d
,"DateTime_Tue", SWIG_FromInt((int)wxDateTime::Tue
));
30121 PyDict_SetItemString(d
,"DateTime_Wed", SWIG_FromInt((int)wxDateTime::Wed
));
30122 PyDict_SetItemString(d
,"DateTime_Thu", SWIG_FromInt((int)wxDateTime::Thu
));
30123 PyDict_SetItemString(d
,"DateTime_Fri", SWIG_FromInt((int)wxDateTime::Fri
));
30124 PyDict_SetItemString(d
,"DateTime_Sat", SWIG_FromInt((int)wxDateTime::Sat
));
30125 PyDict_SetItemString(d
,"DateTime_Inv_WeekDay", SWIG_FromInt((int)wxDateTime::Inv_WeekDay
));
30126 PyDict_SetItemString(d
,"DateTime_Inv_Year", SWIG_FromInt((int)wxDateTime::Inv_Year
));
30127 PyDict_SetItemString(d
,"DateTime_Name_Full", SWIG_FromInt((int)wxDateTime::Name_Full
));
30128 PyDict_SetItemString(d
,"DateTime_Name_Abbr", SWIG_FromInt((int)wxDateTime::Name_Abbr
));
30129 PyDict_SetItemString(d
,"DateTime_Default_First", SWIG_FromInt((int)wxDateTime::Default_First
));
30130 PyDict_SetItemString(d
,"DateTime_Monday_First", SWIG_FromInt((int)wxDateTime::Monday_First
));
30131 PyDict_SetItemString(d
,"DateTime_Sunday_First", SWIG_FromInt((int)wxDateTime::Sunday_First
));
30132 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultDateTime",_wrap_DefaultDateTime_get
, _wrap_DefaultDateTime_set
);
30133 PyDict_SetItemString(d
,"DF_INVALID", SWIG_FromInt((int)wxDF_INVALID
));
30134 PyDict_SetItemString(d
,"DF_TEXT", SWIG_FromInt((int)wxDF_TEXT
));
30135 PyDict_SetItemString(d
,"DF_BITMAP", SWIG_FromInt((int)wxDF_BITMAP
));
30136 PyDict_SetItemString(d
,"DF_METAFILE", SWIG_FromInt((int)wxDF_METAFILE
));
30137 PyDict_SetItemString(d
,"DF_SYLK", SWIG_FromInt((int)wxDF_SYLK
));
30138 PyDict_SetItemString(d
,"DF_DIF", SWIG_FromInt((int)wxDF_DIF
));
30139 PyDict_SetItemString(d
,"DF_TIFF", SWIG_FromInt((int)wxDF_TIFF
));
30140 PyDict_SetItemString(d
,"DF_OEMTEXT", SWIG_FromInt((int)wxDF_OEMTEXT
));
30141 PyDict_SetItemString(d
,"DF_DIB", SWIG_FromInt((int)wxDF_DIB
));
30142 PyDict_SetItemString(d
,"DF_PALETTE", SWIG_FromInt((int)wxDF_PALETTE
));
30143 PyDict_SetItemString(d
,"DF_PENDATA", SWIG_FromInt((int)wxDF_PENDATA
));
30144 PyDict_SetItemString(d
,"DF_RIFF", SWIG_FromInt((int)wxDF_RIFF
));
30145 PyDict_SetItemString(d
,"DF_WAVE", SWIG_FromInt((int)wxDF_WAVE
));
30146 PyDict_SetItemString(d
,"DF_UNICODETEXT", SWIG_FromInt((int)wxDF_UNICODETEXT
));
30147 PyDict_SetItemString(d
,"DF_ENHMETAFILE", SWIG_FromInt((int)wxDF_ENHMETAFILE
));
30148 PyDict_SetItemString(d
,"DF_FILENAME", SWIG_FromInt((int)wxDF_FILENAME
));
30149 PyDict_SetItemString(d
,"DF_LOCALE", SWIG_FromInt((int)wxDF_LOCALE
));
30150 PyDict_SetItemString(d
,"DF_PRIVATE", SWIG_FromInt((int)wxDF_PRIVATE
));
30151 PyDict_SetItemString(d
,"DF_HTML", SWIG_FromInt((int)wxDF_HTML
));
30152 PyDict_SetItemString(d
,"DF_MAX", SWIG_FromInt((int)wxDF_MAX
));
30153 SWIG_addvarlink(SWIG_globals
,(char*)"FormatInvalid",_wrap_FormatInvalid_get
, _wrap_FormatInvalid_set
);
30154 PyDict_SetItemString(d
,"DataObject_Get", SWIG_FromInt((int)wxDataObject::Get
));
30155 PyDict_SetItemString(d
,"DataObject_Set", SWIG_FromInt((int)wxDataObject::Set
));
30156 PyDict_SetItemString(d
,"DataObject_Both", SWIG_FromInt((int)wxDataObject::Both
));
30157 PyDict_SetItemString(d
,"Drag_CopyOnly", SWIG_FromInt((int)wxDrag_CopyOnly
));
30158 PyDict_SetItemString(d
,"Drag_AllowMove", SWIG_FromInt((int)wxDrag_AllowMove
));
30159 PyDict_SetItemString(d
,"Drag_DefaultMove", SWIG_FromInt((int)wxDrag_DefaultMove
));
30160 PyDict_SetItemString(d
,"DragError", SWIG_FromInt((int)wxDragError
));
30161 PyDict_SetItemString(d
,"DragNone", SWIG_FromInt((int)wxDragNone
));
30162 PyDict_SetItemString(d
,"DragCopy", SWIG_FromInt((int)wxDragCopy
));
30163 PyDict_SetItemString(d
,"DragMove", SWIG_FromInt((int)wxDragMove
));
30164 PyDict_SetItemString(d
,"DragLink", SWIG_FromInt((int)wxDragLink
));
30165 PyDict_SetItemString(d
,"DragCancel", SWIG_FromInt((int)wxDragCancel
));
30167 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
30168 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
30169 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
30170 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
30172 SWIG_addvarlink(SWIG_globals
,(char*)"TheClipboard",_wrap_TheClipboard_get
, _wrap_TheClipboard_set
);
30173 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultVideoMode",_wrap_DefaultVideoMode_get
, _wrap_DefaultVideoMode_set
);