1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
52 /***********************************************************************
53 * common.swg for wxPython
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
60 ************************************************************************/
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
90 # define SWIGRUNTIME(a) static a
97 typedef void *(*swig_converter_func
)(void *);
98 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
100 typedef struct swig_type_info
{
102 swig_converter_func converter
;
105 swig_dycast_func dcast
;
106 struct swig_type_info
*next
;
107 struct swig_type_info
*prev
;
111 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
114 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
116 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
126 /***********************************************************************
127 * pyrun.swg for wxPython
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
134 ************************************************************************/
142 #define SWIG_PY_INT 1
143 #define SWIG_PY_FLOAT 2
144 #define SWIG_PY_STRING 3
145 #define SWIG_PY_POINTER 4
146 #define SWIG_PY_BINARY 5
148 /* Flags for pointer conversion */
150 #define SWIG_POINTER_EXCEPTION 0x1
151 #define SWIG_POINTER_DISOWN 0x2
153 /* Exception handling in wrappers */
154 #define SWIG_fail goto fail
156 /* Constant information structure */
157 typedef struct swig_const_info
{
163 swig_type_info
**ptype
;
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183 #define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
186 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
189 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
191 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
194 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
198 /* Contract support */
200 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
207 /* -------- TYPES TABLE (BEGIN) -------- */
209 #define SWIGTYPE_p_wxLogChain swig_types[0]
210 #define SWIGTYPE_p_wxMutexGuiLocker swig_types[1]
211 #define SWIGTYPE_p_wxMetafile swig_types[2]
212 #define SWIGTYPE_p_wxFileHistory swig_types[3]
213 #define SWIGTYPE_p_wxLog swig_types[4]
214 #define SWIGTYPE_p_wxDateTime__TimeZone swig_types[5]
215 #define SWIGTYPE_p_wxMenu swig_types[6]
216 #define SWIGTYPE_p_wxEvent swig_types[7]
217 #define SWIGTYPE_p_wxConfigBase swig_types[8]
218 #define SWIGTYPE_p_wxDisplay swig_types[9]
219 #define SWIGTYPE_p_wxFileType swig_types[10]
220 #define SWIGTYPE_p_wxLogGui swig_types[11]
221 #define SWIGTYPE_p_wxFont swig_types[12]
222 #define SWIGTYPE_p_wxDataFormat swig_types[13]
223 #define SWIGTYPE_p_wxTimerEvent swig_types[14]
224 #define SWIGTYPE_p_wxCaret swig_types[15]
225 #define SWIGTYPE_p_int swig_types[16]
226 #define SWIGTYPE_p_wxSize swig_types[17]
227 #define SWIGTYPE_p_wxClipboard swig_types[18]
228 #define SWIGTYPE_p_wxStopWatch swig_types[19]
229 #define SWIGTYPE_p_wxDC swig_types[20]
230 #define SWIGTYPE_p_wxClipboardLocker swig_types[21]
231 #define SWIGTYPE_p_wxIcon swig_types[22]
232 #define SWIGTYPE_p_wxLogStderr swig_types[23]
233 #define SWIGTYPE_p_wxLogTextCtrl swig_types[24]
234 #define SWIGTYPE_p_wxTextCtrl swig_types[25]
235 #define SWIGTYPE_p_wxBusyCursor swig_types[26]
236 #define SWIGTYPE_p_wxPyBitmapDataObject swig_types[27]
237 #define SWIGTYPE_p_wxPyTextDataObject swig_types[28]
238 #define SWIGTYPE_p_wxBitmapDataObject swig_types[29]
239 #define SWIGTYPE_p_wxTextDataObject swig_types[30]
240 #define SWIGTYPE_p_wxDataObject swig_types[31]
241 #define SWIGTYPE_p_wxFileDataObject swig_types[32]
242 #define SWIGTYPE_p_wxCustomDataObject swig_types[33]
243 #define SWIGTYPE_p_wxURLDataObject swig_types[34]
244 #define SWIGTYPE_p_wxMetafileDataObject swig_types[35]
245 #define SWIGTYPE_p_wxSound swig_types[36]
246 #define SWIGTYPE_p_wxTimerRunner swig_types[37]
247 #define SWIGTYPE_p_wxLogWindow swig_types[38]
248 #define SWIGTYPE_p_wxTimeSpan swig_types[39]
249 #define SWIGTYPE_p_wxArrayString swig_types[40]
250 #define SWIGTYPE_p_wxWindowDisabler swig_types[41]
251 #define SWIGTYPE_p_wxToolTip swig_types[42]
252 #define SWIGTYPE_p_wxDataObjectComposite swig_types[43]
253 #define SWIGTYPE_p_wxFileConfig swig_types[44]
254 #define SWIGTYPE_p_wxSystemSettings swig_types[45]
255 #define SWIGTYPE_p_wxVideoMode swig_types[46]
256 #define SWIGTYPE_p_wxPyDataObjectSimple swig_types[47]
257 #define SWIGTYPE_p_wxDataObjectSimple swig_types[48]
258 #define SWIGTYPE_p_wxEvtHandler swig_types[49]
259 #define SWIGTYPE_p_wxRect swig_types[50]
260 #define SWIGTYPE_p_char swig_types[51]
261 #define SWIGTYPE_p_wxSingleInstanceChecker swig_types[52]
262 #define SWIGTYPE_p_wxFileTypeInfo swig_types[53]
263 #define SWIGTYPE_p_wxFrame swig_types[54]
264 #define SWIGTYPE_p_wxTimer swig_types[55]
265 #define SWIGTYPE_p_wxMimeTypesManager swig_types[56]
266 #define SWIGTYPE_p_wxPyArtProvider swig_types[57]
267 #define SWIGTYPE_p_wxPyTipProvider swig_types[58]
268 #define SWIGTYPE_p_wxTipProvider swig_types[59]
269 #define SWIGTYPE_p_wxJoystick swig_types[60]
270 #define SWIGTYPE_p_wxSystemOptions swig_types[61]
271 #define SWIGTYPE_p_wxPoint swig_types[62]
272 #define SWIGTYPE_p_wxJoystickEvent swig_types[63]
273 #define SWIGTYPE_p_wxCursor swig_types[64]
274 #define SWIGTYPE_p_wxObject swig_types[65]
275 #define SWIGTYPE_p_wxOutputStream swig_types[66]
276 #define SWIGTYPE_p_wxDateTime swig_types[67]
277 #define SWIGTYPE_p_wxPyDropSource swig_types[68]
278 #define SWIGTYPE_p_wxWindow swig_types[69]
279 #define SWIGTYPE_p_wxString swig_types[70]
280 #define SWIGTYPE_p_wxPyProcess swig_types[71]
281 #define SWIGTYPE_p_wxBitmap swig_types[72]
282 #define SWIGTYPE_p_wxConfig swig_types[73]
283 #define SWIGTYPE_p_wxChar swig_types[74]
284 #define SWIGTYPE_p_wxBusyInfo swig_types[75]
285 #define SWIGTYPE_p_wxPyDropTarget swig_types[76]
286 #define SWIGTYPE_p_wxPyTextDropTarget swig_types[77]
287 #define SWIGTYPE_p_wxPyFileDropTarget swig_types[78]
288 #define SWIGTYPE_p_wxProcessEvent swig_types[79]
289 #define SWIGTYPE_p_wxPyLog swig_types[80]
290 #define SWIGTYPE_p_wxLogNull swig_types[81]
291 #define SWIGTYPE_p_wxColour swig_types[82]
292 #define SWIGTYPE_p_wxConfigPathChanger swig_types[83]
293 #define SWIGTYPE_p_wxPyTimer swig_types[84]
294 #define SWIGTYPE_p_wxDateSpan swig_types[85]
295 static swig_type_info
*swig_types
[87];
297 /* -------- TYPES TABLE (END) -------- */
300 /*-----------------------------------------------
301 @(target):= _misc_.so
302 ------------------------------------------------*/
303 #define SWIG_init init_misc_
305 #define SWIG_name "_misc_"
307 /* Auxiliar swig macros */
310 #define SWIGSTATICINLINE(a) static inline a
311 #define SWIGSTATIC(a) static a
312 #define swig_new_array(type, size) (new type[(size)])
313 #define swig_delete_array(cptr) delete[] cptr
314 #define swig_const_cast(type,a) const_cast<type>(a)
315 #define swig_static_cast(type,a) static_cast<type>(a)
316 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
318 #ifdef HAVE_NUMERIC_CAST
319 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
321 #define swig_numeric_cast(type,a) static_cast<type>(a)
326 #define SWIGSTATICINLINE(a) static a
327 #define SWIGSTATIC(a) static a
328 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
329 #define swig_delete_array(cptr) free((char*)cptr)
330 #define swig_const_cast(type,a) (type)(a)
331 #define swig_static_cast(type,a) (type)(a)
332 #define swig_reinterpret_cast(type,a) (type)(a)
333 #define swig_numeric_cast(type,a) (type)(a)
335 #endif /* __cplusplus */
338 #define SWIG_FromSignedChar PyInt_FromLong
339 #define SWIG_FromUnsignedChar PyInt_FromLong
340 #define SWIG_FromShort PyInt_FromLong
341 #define SWIG_FromUnsignedShort PyInt_FromLong
342 #define SWIG_FromInt PyInt_FromLong
343 #define SWIG_FromLong PyInt_FromLong
344 #define SWIG_FromFloat PyFloat_FromDouble
345 #define SWIG_FromDouble PyFloat_FromDouble
346 #define SWIG_FromFloat PyFloat_FromDouble
347 #define SWIG_FromDouble PyFloat_FromDouble
350 #include "wx/wxPython/wxPython.h"
351 #include "wx/wxPython/pyclasses.h"
352 #include "wx/wxPython/pyistream.h"
354 static const wxString
wxPyEmptyString(wxEmptyString
);
361 SWIGSTATICINLINE(long)
362 SWIG_CheckLongInRange(long value
, const char* type
,
363 long min_value
, long max_value
)
365 if (!PyErr_Occurred()) {
366 if (value
< min_value
) {
368 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
369 value
, type
, min_value
);
371 PyErr_SetObject(PyExc_OverflowError
, err
);
373 } else if (value
> max_value
) {
375 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
376 value
, type
, max_value
);
377 PyErr_SetObject(PyExc_OverflowError
, err
);
385 SWIGSTATICINLINE(long)
386 SWIG_AsLong(PyObject
* obj
)
388 if (PyNumber_Check(obj
))
389 return PyInt_AsLong(obj
);
391 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
392 obj
->ob_type
->tp_name
);
393 PyErr_SetObject(PyExc_TypeError
, errmsg
);
400 #if INT_MAX != LONG_MAX
401 SWIGSTATICINLINE(int)
402 SWIG_AsInt(PyObject
*obj
)
404 return swig_numeric_cast(int,
405 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
406 "int", INT_MIN
, INT_MAX
));
409 #define SWIG_AsInt SWIG_AsLong
413 SWIGSTATICINLINE(int)
414 SWIG_CheckInt(PyObject
* obj
)
417 if (PyErr_Occurred()) {
425 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
426 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
427 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
429 SWIGSTATICINLINE(int)
430 SWIG_CheckLong(PyObject
* obj
)
433 if (PyErr_Occurred()) {
442 SWIGSTATICINLINE(bool)
443 SWIG_AsBool(PyObject
*obj
)
445 return PyObject_IsTrue(obj
) ? true : false;
449 SWIGSTATICINLINE(int)
450 SWIG_CheckBool(PyObject
* obj
)
453 if (PyErr_Occurred()) {
462 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
468 } else if (target
== Py_None
) {
472 if (!PyTuple_Check(target
)) {
474 target
= PyTuple_New(1);
475 PyTuple_SetItem(target
, 0, o2
);
478 PyTuple_SetItem(o3
, 0, o
);
481 target
= PySequence_Concat(o2
, o3
);
489 SWIGSTATICINLINE(unsigned long)
490 SWIG_AsUnsignedLong(PyObject
* obj
)
492 if (PyLong_Check(obj
)) {
493 return PyLong_AsUnsignedLong(obj
);
495 long i
= SWIG_AsLong(obj
);
496 if ( !PyErr_Occurred() && (i
< 0)) {
497 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
504 SWIGSTATICINLINE(int)
505 SWIG_CheckUnsignedLong(PyObject
* obj
)
507 SWIG_AsUnsignedLong(obj
);
508 if (PyErr_Occurred()) {
517 SWIGSTATICINLINE(PyObject
* )
518 SWIG_FromUnsignedLong(unsigned long value
)
520 return (value
> LONG_MAX
) ?
521 PyLong_FromUnsignedLong(value
)
522 : PyInt_FromLong(swig_numeric_cast(long,value
));
526 bool wxThread_IsMain() {
527 #ifdef WXP_WITH_THREAD
528 return wxThread::IsMain();
535 int wxCaret_GetBlinkTime() {
536 return wxCaret::GetBlinkTime();
539 void wxCaret_SetBlinkTime(int milliseconds
) {
540 wxCaret::SetBlinkTime(milliseconds
);
544 #include <wx/snglinst.h>
548 #include <wx/msw/private.h>
549 #include <wx/dynload.h>
554 void wxDrawWindowOnDC(wxWindow
* window
, const wxDC
& dc
, int method
)
561 // This one only partially works. Appears to be an undocumented
562 // "standard" convention that not all widgets adhear to. For
563 // example, for some widgets backgrounds or non-client areas may
565 ::SendMessage(GetHwndOf(window
), WM_PAINT
, (long)GetHdcOf(dc
), 0);
569 // This one works much better, except for on XP. On Win2k nearly
570 // all widgets and their children are captured correctly[**]. On
571 // XP with Themes activated most native widgets draw only
572 // partially, if at all. Without themes it works just like on
575 // ** For example the radio buttons in a wxRadioBox are not its
576 // children by default, but you can capture it via the panel
577 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
578 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
579 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
580 PRF_ERASEBKGND
| PRF_OWNED
);
584 // This one is only defined in the latest SDK and is only
585 // available on XP. MSDN says it is similar to sending WM_PRINT
586 // so I expect that it will work similar to the above. Since it
587 // is avaialble only on XP, it can't be compiled like this and
588 // will have to be loaded dynamically.
589 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
594 // Use PrintWindow if available, or fallback to WM_PRINT
595 // otherwise. Unfortunately using PrintWindow is even worse than
596 // WM_PRINT. For most native widgets nothing is drawn to the dc
597 // at all, with or without Themes.
598 typedef BOOL (WINAPI
*PrintWindow_t
)(HWND
, HDC
, UINT
);
599 static bool s_triedToLoad
= False
;
600 static PrintWindow_t pfnPrintWindow
= NULL
;
601 if ( !s_triedToLoad
)
604 s_triedToLoad
= True
;
605 wxDynamicLibrary
dllUser32(_T("user32.dll"));
606 if ( dllUser32
.IsLoaded() )
608 wxLogNull nolog
; // Don't report errors here
609 pfnPrintWindow
= (PrintWindow_t
)dllUser32
.GetSymbol(_T("PrintWindow"));
614 printf("Using PrintWindow\n");
615 pfnPrintWindow(GetHwndOf(window
), GetHdcOf(dc
), 0);
619 printf("Using WM_PRINT\n");
620 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
621 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
| PRF_ERASEBKGND
| PRF_OWNED
);
629 #include <wx/tipdlg.h>
632 class wxPyTipProvider
: public wxTipProvider
{
634 wxPyTipProvider(size_t currentTip
)
635 : wxTipProvider(currentTip
) {}
637 DEC_PYCALLBACK_STRING__pure(GetTip
);
638 DEC_PYCALLBACK_STRING_STRING(PreprocessTip
);
642 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
643 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider
, wxTipProvider
, PreprocessTip
);
646 //IMP_PYCALLBACK__(wxPyTimer, wxTimer, Notify);
648 IMPLEMENT_ABSTRACT_CLASS(wxPyTimer
, wxTimer
);
650 void wxPyTimer::Notify() {
652 bool blocked
= wxPyBeginBlockThreads();
653 if ((found
= wxPyCBH_findCallback(m_myInst
, "Notify")))
654 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("()"));
655 wxPyEndBlockThreads(blocked
);
659 void wxPyTimer::base_Notify() {
665 SWIGSTATICINLINE(PyObject
*)
666 SWIG_FromCharPtr(const char* cptr
)
668 size_t size
= cptr
? strlen(cptr
) : 0;
670 if (size
> INT_MAX
) {
671 return SWIG_NewPointerObj(swig_const_cast(char*,cptr
),
672 SWIG_TypeQuery("char *"), 0);
674 return PyString_FromStringAndSize(cptr
, swig_numeric_cast(int,size
));
683 SWIGSTATICINLINE(unsigned long)
684 SWIG_CheckUnsignedLongInRange(unsigned long value
, const char* type
,
685 unsigned long max_value
)
687 if (!PyErr_Occurred()) {
688 if (value
> max_value
) {
690 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
691 value
, type
, max_value
);
692 PyErr_SetObject(PyExc_OverflowError
, err
);
700 #if UINT_MAX != ULONG_MAX
701 SWIGSTATICINLINE(unsigned int)
702 SWIG_AsUnsignedInt(PyObject
*obj
)
704 return swig_numeric_cast(unsigned int,
705 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj
),
706 "unsigned int", UINT_MAX
));
709 #define SWIG_AsUnsignedInt SWIG_AsUnsignedLong
713 SWIGSTATICINLINE(int)
714 SWIG_CheckUnsignedInt(PyObject
* obj
)
716 SWIG_AsUnsignedInt(obj
);
717 if (PyErr_Occurred()) {
725 wxString
Log_TimeStamp(){
727 wxLog::TimeStamp(&msg
);
730 void wxLog_Destroy(wxLog
*self
){ delete self
; }
732 // A wxLog class that can be derived from in wxPython
733 class wxPyLog
: public wxLog
{
735 wxPyLog() : wxLog() {}
737 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
739 bool blocked
= wxPyBeginBlockThreads();
740 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog"))) {
741 PyObject
* s
= wx2PyString(szString
);
742 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iOi)", level
, s
, t
));
745 wxPyEndBlockThreads(blocked
);
747 wxLog::DoLog(level
, szString
, t
);
750 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
752 bool blocked
= wxPyBeginBlockThreads();
753 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString"))) {
754 PyObject
* s
= wx2PyString(szString
);
755 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(Oi)", s
, t
));
758 wxPyEndBlockThreads(blocked
);
760 wxLog::DoLogString(szString
, t
);
769 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
772 #include <wx/joystick.h>
775 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
776 // A C++ stub class for wxJoystick for platforms that don't have it.
777 class wxJoystick
: public wxObject
{
779 wxJoystick(int joystick
= wxJOYSTICK1
) {
780 bool blocked
= wxPyBeginBlockThreads();
781 PyErr_SetString(PyExc_NotImplementedError
,
782 "wxJoystick is not available on this platform.");
783 wxPyEndBlockThreads(blocked
);
785 wxPoint
GetPosition() { return wxPoint(-1,-1); }
786 int GetZPosition() { return -1; }
787 int GetButtonState() { return -1; }
788 int GetPOVPosition() { return -1; }
789 int GetPOVCTSPosition() { return -1; }
790 int GetRudderPosition() { return -1; }
791 int GetUPosition() { return -1; }
792 int GetVPosition() { return -1; }
793 int GetMovementThreshold() { return -1; }
794 void SetMovementThreshold(int threshold
) {}
796 bool IsOk(void) { return False
; }
797 int GetNumberJoysticks() { return -1; }
798 int GetManufacturerId() { return -1; }
799 int GetProductId() { return -1; }
800 wxString
GetProductName() { return wxEmptyString
; }
801 int GetXMin() { return -1; }
802 int GetYMin() { return -1; }
803 int GetZMin() { return -1; }
804 int GetXMax() { return -1; }
805 int GetYMax() { return -1; }
806 int GetZMax() { return -1; }
807 int GetNumberButtons() { return -1; }
808 int GetNumberAxes() { return -1; }
809 int GetMaxButtons() { return -1; }
810 int GetMaxAxes() { return -1; }
811 int GetPollingMin() { return -1; }
812 int GetPollingMax() { return -1; }
813 int GetRudderMin() { return -1; }
814 int GetRudderMax() { return -1; }
815 int GetUMin() { return -1; }
816 int GetUMax() { return -1; }
817 int GetVMin() { return -1; }
818 int GetVMax() { return -1; }
820 bool HasRudder() { return False
; }
821 bool HasZ() { return False
; }
822 bool HasU() { return False
; }
823 bool HasV() { return False
; }
824 bool HasPOV() { return False
; }
825 bool HasPOV4Dir() { return False
; }
826 bool HasPOVCTS() { return False
; }
828 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return False
; }
829 bool ReleaseCapture() { return False
; }
834 #include <wx/sound.h>
838 // A C++ stub class for wxWave for platforms that don't have it.
839 class wxSound
: public wxObject
843 bool blocked
= wxPyBeginBlockThreads();
844 PyErr_SetString(PyExc_NotImplementedError
,
845 "wxSound is not available on this platform.");
846 wxPyEndBlockThreads(blocked
);
848 wxSound(const wxString
&/*, bool*/) {
849 bool blocked
= wxPyBeginBlockThreads();
850 PyErr_SetString(PyExc_NotImplementedError
,
851 "wxSound is not available on this platform.");
852 wxPyEndBlockThreads(blocked
);
854 wxSound(int, const wxByte
*) {
855 bool blocked
= wxPyBeginBlockThreads();
856 PyErr_SetString(PyExc_NotImplementedError
,
857 "wxSound is not available on this platform.");
858 wxPyEndBlockThreads(blocked
);
863 bool Create(const wxString
&/*, bool*/) { return false; }
864 bool Create(int, const wxByte
*) { return false; };
865 bool IsOk() { return false; };
866 bool Play(unsigned) const { return false; }
867 static bool Play(const wxString
&, unsigned) { return false; }
868 static void Stop() {}
873 wxSound
*new_wxSound(wxString
const &fileName
){
874 if (fileName
.Length() == 0)
877 return new wxSound(fileName
);
879 wxSound
*new_wxSound(PyObject
*data
){
880 unsigned char* buffer
; int size
;
881 wxSound
*sound
= NULL
;
883 bool blocked
= wxPyBeginBlockThreads();
884 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
886 sound
= new wxSound(size
, buffer
);
888 wxPyEndBlockThreads(blocked
);
891 bool wxSound_CreateFromData(wxSound
*self
,PyObject
*data
){
893 unsigned char* buffer
;
897 bool blocked
= wxPyBeginBlockThreads();
898 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
900 rv
= self
->Create(size
, buffer
);
902 wxPyEndBlockThreads(blocked
);
905 bool blocked
= wxPyBeginBlockThreads();
906 PyErr_SetString(PyExc_NotImplementedError
,
907 "Create from data is not available on this platform.");
908 wxPyEndBlockThreads(blocked
);
912 void Sound_Stop(){ wxPyRaiseNotImplemented(); }
914 #include <wx/mimetype.h>
916 PyObject
*wxFileType_GetMimeType(wxFileType
*self
){
918 if (self
->GetMimeType(&str
))
919 return wx2PyString(str
);
923 PyObject
*wxFileType_GetMimeTypes(wxFileType
*self
){
925 if (self
->GetMimeTypes(arr
))
926 return wxArrayString2PyList_helper(arr
);
930 PyObject
*wxFileType_GetExtensions(wxFileType
*self
){
932 if (self
->GetExtensions(arr
))
933 return wxArrayString2PyList_helper(arr
);
937 wxIcon
*wxFileType_GetIcon(wxFileType
*self
){
939 if (self
->GetIcon(&loc
))
940 return new wxIcon(loc
);
944 PyObject
*wxFileType_GetIconInfo(wxFileType
*self
){
946 if (self
->GetIcon(&loc
)) {
947 wxString iconFile
= loc
.GetFileName();
952 // Make a tuple and put the values in it
953 bool blocked
= wxPyBeginBlockThreads();
954 PyObject
* tuple
= PyTuple_New(3);
955 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(loc
),
956 wxT("wxIcon"), True
));
957 PyTuple_SetItem(tuple
, 1, wx2PyString(iconFile
));
958 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
959 wxPyEndBlockThreads(blocked
);
965 PyObject
*wxFileType_GetDescription(wxFileType
*self
){
967 if (self
->GetDescription(&str
))
968 return wx2PyString(str
);
972 PyObject
*wxFileType_GetOpenCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
974 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
975 return wx2PyString(str
);
979 PyObject
*wxFileType_GetPrintCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
981 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
982 return wx2PyString(str
);
986 PyObject
*wxFileType_GetAllCommands(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
988 wxArrayString commands
;
989 if (self
->GetAllCommands(&verbs
, &commands
,
990 wxFileType::MessageParameters(filename
, mimetype
))) {
991 bool blocked
= wxPyBeginBlockThreads();
992 PyObject
* tuple
= PyTuple_New(2);
993 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
994 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
995 wxPyEndBlockThreads(blocked
);
1001 wxString
FileType_ExpandCommand(wxString
const &command
,wxString
const &filename
,wxString
const &mimetype
){
1002 return wxFileType::ExpandCommand(command
,
1003 wxFileType::MessageParameters(filename
, mimetype
));
1005 PyObject
*wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
){
1007 self
->EnumAllFileTypes(arr
);
1008 return wxArrayString2PyList_helper(arr
);
1011 #include <wx/artprov.h>
1013 static const wxString
wxPyART_TOOLBAR(wxART_TOOLBAR
);
1014 static const wxString
wxPyART_MENU(wxART_MENU
);
1015 static const wxString
wxPyART_FRAME_ICON(wxART_FRAME_ICON
);
1016 static const wxString
wxPyART_CMN_DIALOG(wxART_CMN_DIALOG
);
1017 static const wxString
wxPyART_HELP_BROWSER(wxART_HELP_BROWSER
);
1018 static const wxString
wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX
);
1019 static const wxString
wxPyART_OTHER(wxART_OTHER
);
1020 static const wxString
wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK
);
1021 static const wxString
wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK
);
1022 static const wxString
wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL
);
1023 static const wxString
wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS
);
1024 static const wxString
wxPyART_HELP_BOOK(wxART_HELP_BOOK
);
1025 static const wxString
wxPyART_HELP_FOLDER(wxART_HELP_FOLDER
);
1026 static const wxString
wxPyART_HELP_PAGE(wxART_HELP_PAGE
);
1027 static const wxString
wxPyART_GO_BACK(wxART_GO_BACK
);
1028 static const wxString
wxPyART_GO_FORWARD(wxART_GO_FORWARD
);
1029 static const wxString
wxPyART_GO_UP(wxART_GO_UP
);
1030 static const wxString
wxPyART_GO_DOWN(wxART_GO_DOWN
);
1031 static const wxString
wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT
);
1032 static const wxString
wxPyART_GO_HOME(wxART_GO_HOME
);
1033 static const wxString
wxPyART_FILE_OPEN(wxART_FILE_OPEN
);
1034 static const wxString
wxPyART_PRINT(wxART_PRINT
);
1035 static const wxString
wxPyART_HELP(wxART_HELP
);
1036 static const wxString
wxPyART_TIP(wxART_TIP
);
1037 static const wxString
wxPyART_REPORT_VIEW(wxART_REPORT_VIEW
);
1038 static const wxString
wxPyART_LIST_VIEW(wxART_LIST_VIEW
);
1039 static const wxString
wxPyART_NEW_DIR(wxART_NEW_DIR
);
1040 static const wxString
wxPyART_FOLDER(wxART_FOLDER
);
1041 static const wxString
wxPyART_GO_DIR_UP(wxART_GO_DIR_UP
);
1042 static const wxString
wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE
);
1043 static const wxString
wxPyART_NORMAL_FILE(wxART_NORMAL_FILE
);
1044 static const wxString
wxPyART_TICK_MARK(wxART_TICK_MARK
);
1045 static const wxString
wxPyART_CROSS_MARK(wxART_CROSS_MARK
);
1046 static const wxString
wxPyART_ERROR(wxART_ERROR
);
1047 static const wxString
wxPyART_QUESTION(wxART_QUESTION
);
1048 static const wxString
wxPyART_WARNING(wxART_WARNING
);
1049 static const wxString
wxPyART_INFORMATION(wxART_INFORMATION
);
1050 static const wxString
wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE
);
1051 // Python aware wxArtProvider
1052 class wxPyArtProvider
: public wxArtProvider
{
1055 virtual wxBitmap
CreateBitmap(const wxArtID
& id
,
1056 const wxArtClient
& client
,
1057 const wxSize
& size
) {
1058 wxBitmap rval
= wxNullBitmap
;
1059 bool blocked
= wxPyBeginBlockThreads();
1060 if ((wxPyCBH_findCallback(m_myInst
, "CreateBitmap"))) {
1061 PyObject
* so
= wxPyConstructObject((void*)&size
, wxT("wxSize"), 0);
1065 s1
= wx2PyString(id
);
1066 s2
= wx2PyString(client
);
1067 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOO)", s1
, s2
, so
));
1072 if (wxPyConvertSwigPtr(ro
, (void**)&ptr
, wxT("wxBitmap")))
1077 wxPyEndBlockThreads(blocked
);
1084 void wxPyArtProvider_Destroy(wxPyArtProvider
*self
){ delete self
; }
1088 static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) {
1089 PyObject
* ret
= PyTuple_New(3);
1091 PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
));
1092 PyTuple_SET_ITEM(ret
, 1, wx2PyString(str
));
1093 PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
));
1098 PyObject
*wxConfigBase_GetFirstGroup(wxConfigBase
*self
){
1103 cont
= self
->GetFirstGroup(value
, index
);
1104 return __EnumerationHelper(cont
, value
, index
);
1106 PyObject
*wxConfigBase_GetNextGroup(wxConfigBase
*self
,long index
){
1110 cont
= self
->GetNextGroup(value
, index
);
1111 return __EnumerationHelper(cont
, value
, index
);
1113 PyObject
*wxConfigBase_GetFirstEntry(wxConfigBase
*self
){
1118 cont
= self
->GetFirstEntry(value
, index
);
1119 return __EnumerationHelper(cont
, value
, index
);
1121 PyObject
*wxConfigBase_GetNextEntry(wxConfigBase
*self
,long index
){
1125 cont
= self
->GetNextEntry(value
, index
);
1126 return __EnumerationHelper(cont
, value
, index
);
1128 long wxConfigBase_ReadInt(wxConfigBase
*self
,wxString
const &key
,long defaultVal
){
1130 self
->Read(key
, &rv
, defaultVal
);
1134 SWIGSTATICINLINE(double)
1135 SWIG_AsDouble(PyObject
*obj
)
1137 if (PyNumber_Check(obj
))
1138 return PyFloat_AsDouble(obj
);
1140 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
1141 obj
->ob_type
->tp_name
);
1142 PyErr_SetObject(PyExc_TypeError
, errmsg
);
1149 SWIGSTATICINLINE(int)
1150 SWIG_CheckDouble(PyObject
* obj
)
1153 if (PyErr_Occurred()) {
1161 double wxConfigBase_ReadFloat(wxConfigBase
*self
,wxString
const &key
,double defaultVal
){
1163 self
->Read(key
, &rv
, defaultVal
);
1166 bool wxConfigBase_ReadBool(wxConfigBase
*self
,wxString
const &key
,bool defaultVal
){
1168 self
->Read(key
, &rv
, defaultVal
);
1172 #include <wx/datetime.h>
1175 static const wxString
wxPyDateFormatStr(wxT("%c"));
1176 static const wxString
wxPyTimeSpanFormatStr(wxT("%H:%M:%S"));
1178 #define LOCAL_TZ wxDateTime::Local
1181 #if UINT_MAX < LONG_MAX
1182 #define SWIG_FromUnsignedInt SWIG_FromLong
1184 #define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
1187 wxDateTime
wxDateTime___add____SWIG_0(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
1188 wxDateTime
wxDateTime___add____SWIG_1(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
1189 wxTimeSpan
wxDateTime___sub____SWIG_0(wxDateTime
*self
,wxDateTime
const &other
){ return *self
- other
; }
1190 wxDateTime
wxDateTime___sub____SWIG_1(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
1191 wxDateTime
wxDateTime___sub____SWIG_2(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
- other
; }
1192 bool wxDateTime___lt__(wxDateTime
*self
,wxDateTime
const *other
){
1193 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
< other
;
1194 return (*self
< *other
);
1196 bool wxDateTime___le__(wxDateTime
*self
,wxDateTime
const *other
){
1197 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
<= other
;
1198 return (*self
<= *other
);
1200 bool wxDateTime___gt__(wxDateTime
*self
,wxDateTime
const *other
){
1201 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
> other
;
1202 return (*self
> *other
);
1204 bool wxDateTime___ge__(wxDateTime
*self
,wxDateTime
const *other
){
1205 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
>= other
;
1206 return (*self
>= *other
);
1208 bool wxDateTime___eq__(wxDateTime
*self
,wxDateTime
const *other
){
1209 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
== other
;
1210 return (*self
== *other
);
1212 bool wxDateTime___ne__(wxDateTime
*self
,wxDateTime
const *other
){
1213 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
!= other
;
1214 return (*self
!= *other
);
1216 int wxDateTime_ParseRfc822Date(wxDateTime
*self
,wxString
const &date
){
1218 const wxChar
* _date
= date
;
1219 rv
= self
->ParseRfc822Date(_date
);
1220 if (rv
== NULL
) return -1;
1223 int wxDateTime_ParseFormat(wxDateTime
*self
,wxString
const &date
,wxString
const &format
,wxDateTime
const &dateDef
){
1225 const wxChar
* _date
= date
;
1226 rv
= self
->ParseFormat(_date
, format
, dateDef
);
1227 if (rv
== NULL
) return -1;
1230 int wxDateTime_ParseDateTime(wxDateTime
*self
,wxString
const &datetime
){
1232 const wxChar
* _datetime
= datetime
;
1233 rv
= self
->ParseDateTime(_datetime
);
1234 if (rv
== NULL
) return -1;
1235 return rv
- _datetime
;
1237 int wxDateTime_ParseDate(wxDateTime
*self
,wxString
const &date
){
1239 const wxChar
* _date
= date
;
1240 rv
= self
->ParseDate(_date
);
1241 if (rv
== NULL
) return -1;
1244 int wxDateTime_ParseTime(wxDateTime
*self
,wxString
const &time
){
1246 const wxChar
* _time
= time
;
1247 rv
= self
->ParseTime(_time
);
1248 if (rv
== NULL
) return -1;
1251 wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
1252 wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
1253 wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
){ return *self
* n
; }
1254 wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
){ return n
* *self
; }
1255 bool wxTimeSpan___lt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
< *other
) : False
; }
1256 bool wxTimeSpan___le__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
<= *other
) : False
; }
1257 bool wxTimeSpan___gt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
> *other
) : True
; }
1258 bool wxTimeSpan___ge__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
>= *other
) : True
; }
1259 bool wxTimeSpan___eq__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
== *other
) : False
; }
1260 bool wxTimeSpan___ne__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
!= *other
) : True
; }
1261 wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
1262 wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
- other
; }
1263 wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
){ return *self
* n
; }
1264 wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
){ return n
* *self
; }
1265 bool wxDateSpan___eq__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
== *other
) : False
; }
1266 bool wxDateSpan___ne__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
!= *other
) : True
; }
1268 #include <wx/dataobj.h>
1270 PyObject
*wxDataObject_GetAllFormats(wxDataObject
*self
,wxDataObject::Direction dir
){
1271 size_t count
= self
->GetFormatCount(dir
);
1272 wxDataFormat
* formats
= new wxDataFormat
[count
];
1273 self
->GetAllFormats(formats
, dir
);
1275 bool blocked
= wxPyBeginBlockThreads();
1276 PyObject
* list
= PyList_New(count
);
1277 for (size_t i
=0; i
<count
; i
++) {
1278 wxDataFormat
* format
= new wxDataFormat(formats
[i
]);
1279 PyObject
* obj
= wxPyConstructObject((void*)format
, wxT("wxDataFormat"), True
);
1280 PyList_Append(list
, obj
);
1283 wxPyEndBlockThreads(blocked
);
1287 PyObject
*wxDataObject_GetDataHere(wxDataObject
*self
,wxDataFormat
const &format
){
1288 PyObject
* rval
= NULL
;
1289 size_t size
= self
->GetDataSize(format
);
1290 bool blocked
= wxPyBeginBlockThreads();
1292 char* buf
= new char[size
];
1293 if (self
->GetDataHere(format
, buf
))
1294 rval
= PyString_FromStringAndSize(buf
, size
);
1301 wxPyEndBlockThreads(blocked
);
1304 bool wxDataObject_SetData(wxDataObject
*self
,wxDataFormat
const &format
,PyObject
*data
){
1306 bool blocked
= wxPyBeginBlockThreads();
1307 if (PyString_Check(data
)) {
1308 rval
= self
->SetData(format
, PyString_Size(data
), PyString_AsString(data
));
1311 // raise a TypeError if not a string
1312 PyErr_SetString(PyExc_TypeError
, "String expected.");
1315 wxPyEndBlockThreads(blocked
);
1318 PyObject
*wxDataObjectSimple_GetDataHere(wxDataObjectSimple
*self
){
1319 PyObject
* rval
= NULL
;
1320 size_t size
= self
->GetDataSize();
1321 bool blocked
= wxPyBeginBlockThreads();
1323 char* buf
= new char[size
];
1324 if (self
->GetDataHere(buf
))
1325 rval
= PyString_FromStringAndSize(buf
, size
);
1332 wxPyEndBlockThreads(blocked
);
1335 bool wxDataObjectSimple_SetData(wxDataObjectSimple
*self
,PyObject
*data
){
1337 bool blocked
= wxPyBeginBlockThreads();
1338 if (PyString_Check(data
)) {
1339 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1342 // raise a TypeError if not a string
1343 PyErr_SetString(PyExc_TypeError
, "String expected.");
1346 wxPyEndBlockThreads(blocked
);
1349 // Create a new class for wxPython to use
1350 class wxPyDataObjectSimple
: public wxDataObjectSimple
{
1352 wxPyDataObjectSimple(const wxDataFormat
& format
= wxFormatInvalid
)
1353 : wxDataObjectSimple(format
) {}
1355 DEC_PYCALLBACK_SIZET__const(GetDataSize
);
1356 bool GetDataHere(void *buf
) const;
1357 bool SetData(size_t len
, const void *buf
) const;
1361 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple
, wxDataObjectSimple
, GetDataSize
);
1363 bool wxPyDataObjectSimple::GetDataHere(void *buf
) const {
1364 // We need to get the data for this object and write it to buf. I think
1365 // the best way to do this for wxPython is to have the Python method
1366 // return either a string or None and then act appropriately with the
1370 bool blocked
= wxPyBeginBlockThreads();
1371 if (wxPyCBH_findCallback(m_myInst
, "GetDataHere")) {
1373 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1375 rval
= (ro
!= Py_None
&& PyString_Check(ro
));
1377 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
));
1381 wxPyEndBlockThreads(blocked
);
1385 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) const{
1386 // For this one we simply need to make a string from buf and len
1387 // and send it to the Python method.
1389 bool blocked
= wxPyBeginBlockThreads();
1390 if (wxPyCBH_findCallback(m_myInst
, "SetData")) {
1391 PyObject
* data
= PyString_FromStringAndSize((char*)buf
, len
);
1392 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", data
));
1395 wxPyEndBlockThreads(blocked
);
1399 // Create a new class for wxPython to use
1400 class wxPyTextDataObject
: public wxTextDataObject
{
1402 wxPyTextDataObject(const wxString
& text
= wxPyEmptyString
)
1403 : wxTextDataObject(text
) {}
1405 DEC_PYCALLBACK_SIZET__const(GetTextLength
);
1406 DEC_PYCALLBACK_STRING__const(GetText
);
1407 DEC_PYCALLBACK__STRING(SetText
);
1411 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
);
1412 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject
, wxTextDataObject
, GetText
);
1413 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
);
1416 // Create a new class for wxPython to use
1417 class wxPyBitmapDataObject
: public wxBitmapDataObject
{
1419 wxPyBitmapDataObject(const wxBitmap
& bitmap
= wxNullBitmap
)
1420 : wxBitmapDataObject(bitmap
) {}
1422 wxBitmap
GetBitmap() const;
1423 void SetBitmap(const wxBitmap
& bitmap
);
1427 wxBitmap
wxPyBitmapDataObject::GetBitmap() const {
1428 wxBitmap
* rval
= &wxNullBitmap
;
1429 bool blocked
= wxPyBeginBlockThreads();
1430 if (wxPyCBH_findCallback(m_myInst
, "GetBitmap")) {
1433 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1435 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxBitmap")))
1440 wxPyEndBlockThreads(blocked
);
1444 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) {
1445 bool blocked
= wxPyBeginBlockThreads();
1446 if (wxPyCBH_findCallback(m_myInst
, "SetBitmap")) {
1447 PyObject
* bo
= wxPyConstructObject((void*)&bitmap
, wxT("wxBitmap"), False
);
1448 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", bo
));
1451 wxPyEndBlockThreads(blocked
);
1454 bool wxCustomDataObject_SetData(wxCustomDataObject
*self
,PyObject
*data
){
1456 bool blocked
= wxPyBeginBlockThreads();
1457 if (PyString_Check(data
)) {
1458 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1461 // raise a TypeError if not a string
1462 PyErr_SetString(PyExc_TypeError
, "String expected.");
1465 wxPyEndBlockThreads(blocked
);
1468 PyObject
*wxCustomDataObject_GetData(wxCustomDataObject
*self
){
1470 bool blocked
= wxPyBeginBlockThreads();
1471 obj
= PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize());
1472 wxPyEndBlockThreads(blocked
);
1476 #include <wx/metafile.h>
1479 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
1482 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
1483 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
1484 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
1485 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
1486 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
1489 class wxPyTextDropTarget
: public wxTextDropTarget
{
1491 wxPyTextDropTarget() {}
1493 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
1495 DEC_PYCALLBACK__(OnLeave
);
1496 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1497 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1498 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
1499 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1504 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
1505 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
1506 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
1507 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
1508 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
1509 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
1513 class wxPyFileDropTarget
: public wxFileDropTarget
{
1515 wxPyFileDropTarget() {}
1517 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
1519 DEC_PYCALLBACK__(OnLeave
);
1520 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1521 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1522 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
1523 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1528 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
1529 const wxArrayString
& filenames
) {
1531 bool blocked
= wxPyBeginBlockThreads();
1532 if (wxPyCBH_findCallback(m_myInst
, "OnDropFiles")) {
1533 PyObject
* list
= wxArrayString2PyList_helper(filenames
);
1534 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",x
,y
,list
));
1537 wxPyEndBlockThreads(blocked
);
1543 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
1544 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
1545 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
1546 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
1547 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
1552 bool wxClipboardLocker___nonzero__(wxClipboardLocker
*self
){ return !!(*self
); }
1554 #include "wx/display.h"
1556 bool wxVideoMode___eq__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
== *other
) : False
; }
1557 bool wxVideoMode___ne__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
!= *other
) : True
; }
1558 int Display_GetFromWindow(wxWindow
*window
){ wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
1559 PyObject
*wxDisplay_GetModes(wxDisplay
*self
,wxVideoMode
const &mode
){
1560 PyObject
* pyList
= NULL
;
1561 wxArrayVideoModes arr
= self
->GetModes(mode
);
1562 bool blocked
= wxPyBeginBlockThreads();
1563 pyList
= PyList_New(0);
1564 for (int i
=0; i
< arr
.GetCount(); i
++) {
1565 wxVideoMode
* m
= new wxVideoMode(arr
.Item(i
));
1566 PyObject
* pyObj
= wxPyConstructObject(m
, wxT("wxVideoMode"), true);
1567 PyList_Append(pyList
, pyObj
);
1570 wxPyEndBlockThreads(blocked
);
1576 static PyObject
*_wrap_SystemSettings_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1577 PyObject
*resultobj
;
1580 PyObject
* obj0
= 0 ;
1582 (char *) "index", NULL
1585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetColour",kwnames
,&obj0
)) goto fail
;
1586 arg1
= (wxSystemColour
) SWIG_AsInt(obj0
);
1587 if (PyErr_Occurred()) SWIG_fail
;
1589 if (!wxPyCheckForApp()) SWIG_fail
;
1590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1591 result
= wxSystemSettings::GetColour((wxSystemColour
)arg1
);
1593 wxPyEndAllowThreads(__tstate
);
1594 if (PyErr_Occurred()) SWIG_fail
;
1597 wxColour
* resultptr
;
1598 resultptr
= new wxColour((wxColour
&) result
);
1599 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
1607 static PyObject
*_wrap_SystemSettings_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1608 PyObject
*resultobj
;
1611 PyObject
* obj0
= 0 ;
1613 (char *) "index", NULL
1616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetFont",kwnames
,&obj0
)) goto fail
;
1617 arg1
= (wxSystemFont
) SWIG_AsInt(obj0
);
1618 if (PyErr_Occurred()) SWIG_fail
;
1620 if (!wxPyCheckForApp()) SWIG_fail
;
1621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1622 result
= wxSystemSettings::GetFont((wxSystemFont
)arg1
);
1624 wxPyEndAllowThreads(__tstate
);
1625 if (PyErr_Occurred()) SWIG_fail
;
1629 resultptr
= new wxFont((wxFont
&) result
);
1630 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
1638 static PyObject
*_wrap_SystemSettings_GetMetric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1639 PyObject
*resultobj
;
1642 PyObject
* obj0
= 0 ;
1644 (char *) "index", NULL
1647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetMetric",kwnames
,&obj0
)) goto fail
;
1648 arg1
= (wxSystemMetric
) SWIG_AsInt(obj0
);
1649 if (PyErr_Occurred()) SWIG_fail
;
1651 if (!wxPyCheckForApp()) SWIG_fail
;
1652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1653 result
= (int)wxSystemSettings::GetMetric((wxSystemMetric
)arg1
);
1655 wxPyEndAllowThreads(__tstate
);
1656 if (PyErr_Occurred()) SWIG_fail
;
1658 resultobj
= SWIG_FromInt((int)result
);
1665 static PyObject
*_wrap_SystemSettings_HasFeature(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1666 PyObject
*resultobj
;
1669 PyObject
* obj0
= 0 ;
1671 (char *) "index", NULL
1674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_HasFeature",kwnames
,&obj0
)) goto fail
;
1675 arg1
= (wxSystemFeature
) SWIG_AsInt(obj0
);
1676 if (PyErr_Occurred()) SWIG_fail
;
1678 if (!wxPyCheckForApp()) SWIG_fail
;
1679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1680 result
= (bool)wxSystemSettings::HasFeature((wxSystemFeature
)arg1
);
1682 wxPyEndAllowThreads(__tstate
);
1683 if (PyErr_Occurred()) SWIG_fail
;
1686 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1694 static PyObject
*_wrap_SystemSettings_GetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1695 PyObject
*resultobj
;
1701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SystemSettings_GetScreenType",kwnames
)) goto fail
;
1703 if (!wxPyCheckForApp()) SWIG_fail
;
1704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1705 result
= (int)wxSystemSettings::GetScreenType();
1707 wxPyEndAllowThreads(__tstate
);
1708 if (PyErr_Occurred()) SWIG_fail
;
1710 resultobj
= SWIG_FromInt((int)result
);
1717 static PyObject
*_wrap_SystemSettings_SetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1718 PyObject
*resultobj
;
1720 PyObject
* obj0
= 0 ;
1722 (char *) "screen", NULL
1725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_SetScreenType",kwnames
,&obj0
)) goto fail
;
1726 arg1
= (wxSystemScreenType
) SWIG_AsInt(obj0
);
1727 if (PyErr_Occurred()) SWIG_fail
;
1729 if (!wxPyCheckForApp()) SWIG_fail
;
1730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1731 wxSystemSettings::SetScreenType((wxSystemScreenType
)arg1
);
1733 wxPyEndAllowThreads(__tstate
);
1734 if (PyErr_Occurred()) SWIG_fail
;
1736 Py_INCREF(Py_None
); resultobj
= Py_None
;
1743 static PyObject
* SystemSettings_swigregister(PyObject
*self
, PyObject
*args
) {
1745 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1746 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings
, obj
);
1748 return Py_BuildValue((char *)"");
1750 static PyObject
*_wrap_new_SystemOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1751 PyObject
*resultobj
;
1752 wxSystemOptions
*result
;
1757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SystemOptions",kwnames
)) goto fail
;
1759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1760 result
= (wxSystemOptions
*)new wxSystemOptions();
1762 wxPyEndAllowThreads(__tstate
);
1763 if (PyErr_Occurred()) SWIG_fail
;
1765 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSystemOptions
, 1);
1772 static PyObject
*_wrap_SystemOptions_SetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1773 PyObject
*resultobj
;
1774 wxString
*arg1
= 0 ;
1775 wxString
*arg2
= 0 ;
1776 bool temp1
= False
;
1777 bool temp2
= False
;
1778 PyObject
* obj0
= 0 ;
1779 PyObject
* obj1
= 0 ;
1781 (char *) "name",(char *) "value", NULL
1784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
1786 arg1
= wxString_in_helper(obj0
);
1787 if (arg1
== NULL
) SWIG_fail
;
1791 arg2
= wxString_in_helper(obj1
);
1792 if (arg2
== NULL
) SWIG_fail
;
1796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1797 wxSystemOptions::SetOption((wxString
const &)*arg1
,(wxString
const &)*arg2
);
1799 wxPyEndAllowThreads(__tstate
);
1800 if (PyErr_Occurred()) SWIG_fail
;
1802 Py_INCREF(Py_None
); resultobj
= Py_None
;
1825 static PyObject
*_wrap_SystemOptions_SetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1826 PyObject
*resultobj
;
1827 wxString
*arg1
= 0 ;
1829 bool temp1
= False
;
1830 PyObject
* obj0
= 0 ;
1831 PyObject
* obj1
= 0 ;
1833 (char *) "name",(char *) "value", NULL
1836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
1838 arg1
= wxString_in_helper(obj0
);
1839 if (arg1
== NULL
) SWIG_fail
;
1842 arg2
= (int) SWIG_AsInt(obj1
);
1843 if (PyErr_Occurred()) SWIG_fail
;
1845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1846 wxSystemOptions::SetOption((wxString
const &)*arg1
,arg2
);
1848 wxPyEndAllowThreads(__tstate
);
1849 if (PyErr_Occurred()) SWIG_fail
;
1851 Py_INCREF(Py_None
); resultobj
= Py_None
;
1866 static PyObject
*_wrap_SystemOptions_GetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1867 PyObject
*resultobj
;
1868 wxString
*arg1
= 0 ;
1870 bool temp1
= False
;
1871 PyObject
* obj0
= 0 ;
1873 (char *) "name", NULL
1876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) goto fail
;
1878 arg1
= wxString_in_helper(obj0
);
1879 if (arg1
== NULL
) SWIG_fail
;
1883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1884 result
= wxSystemOptions::GetOption((wxString
const &)*arg1
);
1886 wxPyEndAllowThreads(__tstate
);
1887 if (PyErr_Occurred()) SWIG_fail
;
1891 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1893 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1910 static PyObject
*_wrap_SystemOptions_GetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1911 PyObject
*resultobj
;
1912 wxString
*arg1
= 0 ;
1914 bool temp1
= False
;
1915 PyObject
* obj0
= 0 ;
1917 (char *) "name", NULL
1920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) goto fail
;
1922 arg1
= wxString_in_helper(obj0
);
1923 if (arg1
== NULL
) SWIG_fail
;
1927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1928 result
= (int)wxSystemOptions::GetOptionInt((wxString
const &)*arg1
);
1930 wxPyEndAllowThreads(__tstate
);
1931 if (PyErr_Occurred()) SWIG_fail
;
1933 resultobj
= SWIG_FromInt((int)result
);
1948 static PyObject
*_wrap_SystemOptions_HasOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1949 PyObject
*resultobj
;
1950 wxString
*arg1
= 0 ;
1952 bool temp1
= False
;
1953 PyObject
* obj0
= 0 ;
1955 (char *) "name", NULL
1958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) goto fail
;
1960 arg1
= wxString_in_helper(obj0
);
1961 if (arg1
== NULL
) SWIG_fail
;
1965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1966 result
= (bool)wxSystemOptions::HasOption((wxString
const &)*arg1
);
1968 wxPyEndAllowThreads(__tstate
);
1969 if (PyErr_Occurred()) SWIG_fail
;
1972 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1988 static PyObject
* SystemOptions_swigregister(PyObject
*self
, PyObject
*args
) {
1990 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1991 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions
, obj
);
1993 return Py_BuildValue((char *)"");
1995 static int _wrap_FileSelectorPromptStr_set(PyObject
*_val
) {
1996 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
2001 static PyObject
*_wrap_FileSelectorPromptStr_get() {
2006 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
2008 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
2015 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*_val
) {
2016 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
2021 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
2026 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
2028 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
2035 static int _wrap_DirSelectorPromptStr_set(PyObject
*_val
) {
2036 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
2041 static PyObject
*_wrap_DirSelectorPromptStr_get() {
2046 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
2048 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
2055 static PyObject
*_wrap_NewId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2056 PyObject
*resultobj
;
2062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewId",kwnames
)) goto fail
;
2064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2065 result
= (long)wxNewId();
2067 wxPyEndAllowThreads(__tstate
);
2068 if (PyErr_Occurred()) SWIG_fail
;
2070 resultobj
= SWIG_FromLong((long)result
);
2077 static PyObject
*_wrap_RegisterId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2078 PyObject
*resultobj
;
2080 PyObject
* obj0
= 0 ;
2085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegisterId",kwnames
,&obj0
)) goto fail
;
2086 arg1
= (long) SWIG_AsLong(obj0
);
2087 if (PyErr_Occurred()) SWIG_fail
;
2089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2092 wxPyEndAllowThreads(__tstate
);
2093 if (PyErr_Occurred()) SWIG_fail
;
2095 Py_INCREF(Py_None
); resultobj
= Py_None
;
2102 static PyObject
*_wrap_GetCurrentId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2103 PyObject
*resultobj
;
2109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentId",kwnames
)) goto fail
;
2111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2112 result
= (long)wxGetCurrentId();
2114 wxPyEndAllowThreads(__tstate
);
2115 if (PyErr_Occurred()) SWIG_fail
;
2117 resultobj
= SWIG_FromLong((long)result
);
2124 static PyObject
*_wrap_Bell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2125 PyObject
*resultobj
;
2130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Bell",kwnames
)) goto fail
;
2132 if (!wxPyCheckForApp()) SWIG_fail
;
2133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2136 wxPyEndAllowThreads(__tstate
);
2137 if (PyErr_Occurred()) SWIG_fail
;
2139 Py_INCREF(Py_None
); resultobj
= Py_None
;
2146 static PyObject
*_wrap_EndBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2147 PyObject
*resultobj
;
2152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EndBusyCursor",kwnames
)) goto fail
;
2154 if (!wxPyCheckForApp()) SWIG_fail
;
2155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2158 wxPyEndAllowThreads(__tstate
);
2159 if (PyErr_Occurred()) SWIG_fail
;
2161 Py_INCREF(Py_None
); resultobj
= Py_None
;
2168 static PyObject
*_wrap_GetElapsedTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2169 PyObject
*resultobj
;
2170 bool arg1
= (bool) True
;
2172 PyObject
* obj0
= 0 ;
2174 (char *) "resetTimer", NULL
2177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) goto fail
;
2179 arg1
= (bool) SWIG_AsBool(obj0
);
2180 if (PyErr_Occurred()) SWIG_fail
;
2183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2184 result
= (long)wxGetElapsedTime(arg1
);
2186 wxPyEndAllowThreads(__tstate
);
2187 if (PyErr_Occurred()) SWIG_fail
;
2189 resultobj
= SWIG_FromLong((long)result
);
2196 static PyObject
*_wrap_GetMousePosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2197 PyObject
*resultobj
;
2198 int *arg1
= (int *) 0 ;
2199 int *arg2
= (int *) 0 ;
2208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetMousePosition",kwnames
)) goto fail
;
2210 if (!wxPyCheckForApp()) SWIG_fail
;
2211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2212 wxGetMousePosition(arg1
,arg2
);
2214 wxPyEndAllowThreads(__tstate
);
2215 if (PyErr_Occurred()) SWIG_fail
;
2217 Py_INCREF(Py_None
); resultobj
= Py_None
;
2219 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
2220 resultobj
= t_output_helper(resultobj
,o
);
2223 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
2224 resultobj
= t_output_helper(resultobj
,o
);
2232 static PyObject
*_wrap_IsBusy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2233 PyObject
*resultobj
;
2239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IsBusy",kwnames
)) goto fail
;
2241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2242 result
= (bool)wxIsBusy();
2244 wxPyEndAllowThreads(__tstate
);
2245 if (PyErr_Occurred()) SWIG_fail
;
2248 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2256 static PyObject
*_wrap_Now(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2257 PyObject
*resultobj
;
2263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Now",kwnames
)) goto fail
;
2265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2268 wxPyEndAllowThreads(__tstate
);
2269 if (PyErr_Occurred()) SWIG_fail
;
2273 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2275 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2284 static PyObject
*_wrap_Shell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2285 PyObject
*resultobj
;
2286 wxString
const &arg1_defvalue
= wxPyEmptyString
;
2287 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2289 bool temp1
= False
;
2290 PyObject
* obj0
= 0 ;
2292 (char *) "command", NULL
2295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) goto fail
;
2298 arg1
= wxString_in_helper(obj0
);
2299 if (arg1
== NULL
) SWIG_fail
;
2304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2305 result
= (bool)wxShell((wxString
const &)*arg1
);
2307 wxPyEndAllowThreads(__tstate
);
2308 if (PyErr_Occurred()) SWIG_fail
;
2311 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2327 static PyObject
*_wrap_StartTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2328 PyObject
*resultobj
;
2333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StartTimer",kwnames
)) goto fail
;
2335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2338 wxPyEndAllowThreads(__tstate
);
2339 if (PyErr_Occurred()) SWIG_fail
;
2341 Py_INCREF(Py_None
); resultobj
= Py_None
;
2348 static PyObject
*_wrap_GetOsVersion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2349 PyObject
*resultobj
;
2350 int *arg1
= (int *) 0 ;
2351 int *arg2
= (int *) 0 ;
2361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsVersion",kwnames
)) goto fail
;
2363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2364 result
= (int)wxGetOsVersion(arg1
,arg2
);
2366 wxPyEndAllowThreads(__tstate
);
2367 if (PyErr_Occurred()) SWIG_fail
;
2369 resultobj
= SWIG_FromInt((int)result
);
2371 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
2372 resultobj
= t_output_helper(resultobj
,o
);
2375 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
2376 resultobj
= t_output_helper(resultobj
,o
);
2384 static PyObject
*_wrap_GetOsDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2385 PyObject
*resultobj
;
2391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsDescription",kwnames
)) goto fail
;
2393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2394 result
= wxGetOsDescription();
2396 wxPyEndAllowThreads(__tstate
);
2397 if (PyErr_Occurred()) SWIG_fail
;
2401 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2403 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2412 static PyObject
*_wrap_GetFreeMemory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2413 PyObject
*resultobj
;
2419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFreeMemory",kwnames
)) goto fail
;
2421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2422 result
= (long)wxGetFreeMemory();
2424 wxPyEndAllowThreads(__tstate
);
2425 if (PyErr_Occurred()) SWIG_fail
;
2427 resultobj
= SWIG_FromLong((long)result
);
2434 static PyObject
*_wrap_Shutdown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2435 PyObject
*resultobj
;
2438 PyObject
* obj0
= 0 ;
2440 (char *) "wFlags", NULL
2443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Shutdown",kwnames
,&obj0
)) goto fail
;
2444 arg1
= (wxShutdownFlags
) SWIG_AsInt(obj0
);
2445 if (PyErr_Occurred()) SWIG_fail
;
2447 if (!wxPyCheckForApp()) SWIG_fail
;
2448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2449 result
= (bool)wxShutdown((wxShutdownFlags
)arg1
);
2451 wxPyEndAllowThreads(__tstate
);
2452 if (PyErr_Occurred()) SWIG_fail
;
2455 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2463 static PyObject
*_wrap_Sleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2464 PyObject
*resultobj
;
2466 PyObject
* obj0
= 0 ;
2468 (char *) "secs", NULL
2471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sleep",kwnames
,&obj0
)) goto fail
;
2472 arg1
= (int) SWIG_AsInt(obj0
);
2473 if (PyErr_Occurred()) SWIG_fail
;
2475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2478 wxPyEndAllowThreads(__tstate
);
2479 if (PyErr_Occurred()) SWIG_fail
;
2481 Py_INCREF(Py_None
); resultobj
= Py_None
;
2488 static PyObject
*_wrap_Usleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2489 PyObject
*resultobj
;
2490 unsigned long arg1
;
2491 PyObject
* obj0
= 0 ;
2493 (char *) "milliseconds", NULL
2496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Usleep",kwnames
,&obj0
)) goto fail
;
2497 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
2498 if (PyErr_Occurred()) SWIG_fail
;
2500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2503 wxPyEndAllowThreads(__tstate
);
2504 if (PyErr_Occurred()) SWIG_fail
;
2506 Py_INCREF(Py_None
); resultobj
= Py_None
;
2513 static PyObject
*_wrap_EnableTopLevelWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2514 PyObject
*resultobj
;
2516 PyObject
* obj0
= 0 ;
2518 (char *) "enable", NULL
2521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) goto fail
;
2522 arg1
= (bool) SWIG_AsBool(obj0
);
2523 if (PyErr_Occurred()) SWIG_fail
;
2525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2526 wxEnableTopLevelWindows(arg1
);
2528 wxPyEndAllowThreads(__tstate
);
2529 if (PyErr_Occurred()) SWIG_fail
;
2531 Py_INCREF(Py_None
); resultobj
= Py_None
;
2538 static PyObject
*_wrap_StripMenuCodes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2539 PyObject
*resultobj
;
2540 wxString
*arg1
= 0 ;
2542 bool temp1
= False
;
2543 PyObject
* obj0
= 0 ;
2548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) goto fail
;
2550 arg1
= wxString_in_helper(obj0
);
2551 if (arg1
== NULL
) SWIG_fail
;
2555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2556 result
= wxStripMenuCodes((wxString
const &)*arg1
);
2558 wxPyEndAllowThreads(__tstate
);
2559 if (PyErr_Occurred()) SWIG_fail
;
2563 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2565 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2582 static PyObject
*_wrap_GetEmailAddress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2583 PyObject
*resultobj
;
2589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetEmailAddress",kwnames
)) goto fail
;
2591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2592 result
= wxGetEmailAddress();
2594 wxPyEndAllowThreads(__tstate
);
2595 if (PyErr_Occurred()) SWIG_fail
;
2599 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2601 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2610 static PyObject
*_wrap_GetHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2611 PyObject
*resultobj
;
2617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHostName",kwnames
)) goto fail
;
2619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2620 result
= wxGetHostName();
2622 wxPyEndAllowThreads(__tstate
);
2623 if (PyErr_Occurred()) SWIG_fail
;
2627 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2629 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2638 static PyObject
*_wrap_GetFullHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2639 PyObject
*resultobj
;
2645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFullHostName",kwnames
)) goto fail
;
2647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2648 result
= wxGetFullHostName();
2650 wxPyEndAllowThreads(__tstate
);
2651 if (PyErr_Occurred()) SWIG_fail
;
2655 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2657 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2666 static PyObject
*_wrap_GetUserId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2667 PyObject
*resultobj
;
2673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserId",kwnames
)) goto fail
;
2675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2676 result
= wxGetUserId();
2678 wxPyEndAllowThreads(__tstate
);
2679 if (PyErr_Occurred()) SWIG_fail
;
2683 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2685 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2694 static PyObject
*_wrap_GetUserName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2695 PyObject
*resultobj
;
2701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserName",kwnames
)) goto fail
;
2703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2704 result
= wxGetUserName();
2706 wxPyEndAllowThreads(__tstate
);
2707 if (PyErr_Occurred()) SWIG_fail
;
2711 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2713 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2722 static PyObject
*_wrap_GetHomeDir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2723 PyObject
*resultobj
;
2729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHomeDir",kwnames
)) goto fail
;
2731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2732 result
= wxGetHomeDir();
2734 wxPyEndAllowThreads(__tstate
);
2735 if (PyErr_Occurred()) SWIG_fail
;
2739 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2741 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2750 static PyObject
*_wrap_GetUserHome(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2751 PyObject
*resultobj
;
2752 wxString
const &arg1_defvalue
= wxPyEmptyString
;
2753 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2755 bool temp1
= False
;
2756 PyObject
* obj0
= 0 ;
2758 (char *) "user", NULL
2761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) goto fail
;
2764 arg1
= wxString_in_helper(obj0
);
2765 if (arg1
== NULL
) SWIG_fail
;
2770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2771 result
= wxGetUserHome((wxString
const &)*arg1
);
2773 wxPyEndAllowThreads(__tstate
);
2774 if (PyErr_Occurred()) SWIG_fail
;
2778 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2780 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2797 static PyObject
*_wrap_GetProcessId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2798 PyObject
*resultobj
;
2799 unsigned long result
;
2804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetProcessId",kwnames
)) goto fail
;
2806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2807 result
= (unsigned long)wxGetProcessId();
2809 wxPyEndAllowThreads(__tstate
);
2810 if (PyErr_Occurred()) SWIG_fail
;
2812 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
2819 static PyObject
*_wrap_Trap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2820 PyObject
*resultobj
;
2825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Trap",kwnames
)) goto fail
;
2827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2830 wxPyEndAllowThreads(__tstate
);
2831 if (PyErr_Occurred()) SWIG_fail
;
2833 Py_INCREF(Py_None
); resultobj
= Py_None
;
2840 static PyObject
*_wrap_FileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2841 PyObject
*resultobj
;
2842 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
2843 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2844 wxString
const &arg2_defvalue
= wxPyEmptyString
;
2845 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
2846 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2847 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2848 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2849 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2850 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
2851 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
2852 int arg6
= (int) 0 ;
2853 wxWindow
*arg7
= (wxWindow
*) NULL
;
2854 int arg8
= (int) -1 ;
2855 int arg9
= (int) -1 ;
2857 bool temp1
= False
;
2858 bool temp2
= False
;
2859 bool temp3
= False
;
2860 bool temp4
= False
;
2861 bool temp5
= False
;
2862 PyObject
* obj0
= 0 ;
2863 PyObject
* obj1
= 0 ;
2864 PyObject
* obj2
= 0 ;
2865 PyObject
* obj3
= 0 ;
2866 PyObject
* obj4
= 0 ;
2867 PyObject
* obj5
= 0 ;
2868 PyObject
* obj6
= 0 ;
2869 PyObject
* obj7
= 0 ;
2870 PyObject
* obj8
= 0 ;
2872 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
2875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOOOO:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2878 arg1
= wxString_in_helper(obj0
);
2879 if (arg1
== NULL
) SWIG_fail
;
2885 arg2
= wxString_in_helper(obj1
);
2886 if (arg2
== NULL
) SWIG_fail
;
2892 arg3
= wxString_in_helper(obj2
);
2893 if (arg3
== NULL
) SWIG_fail
;
2899 arg4
= wxString_in_helper(obj3
);
2900 if (arg4
== NULL
) SWIG_fail
;
2906 arg5
= wxString_in_helper(obj4
);
2907 if (arg5
== NULL
) SWIG_fail
;
2912 arg6
= (int) SWIG_AsInt(obj5
);
2913 if (PyErr_Occurred()) SWIG_fail
;
2916 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxWindow
,
2917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2920 arg8
= (int) SWIG_AsInt(obj7
);
2921 if (PyErr_Occurred()) SWIG_fail
;
2924 arg9
= (int) SWIG_AsInt(obj8
);
2925 if (PyErr_Occurred()) SWIG_fail
;
2928 if (!wxPyCheckForApp()) SWIG_fail
;
2929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2930 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
2932 wxPyEndAllowThreads(__tstate
);
2933 if (PyErr_Occurred()) SWIG_fail
;
2937 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2939 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2988 static PyObject
*_wrap_LoadFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2989 PyObject
*resultobj
;
2990 wxString
*arg1
= 0 ;
2991 wxString
*arg2
= 0 ;
2992 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2993 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2994 wxWindow
*arg4
= (wxWindow
*) NULL
;
2996 bool temp1
= False
;
2997 bool temp2
= False
;
2998 bool temp3
= False
;
2999 PyObject
* obj0
= 0 ;
3000 PyObject
* obj1
= 0 ;
3001 PyObject
* obj2
= 0 ;
3002 PyObject
* obj3
= 0 ;
3004 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
3007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3009 arg1
= wxString_in_helper(obj0
);
3010 if (arg1
== NULL
) SWIG_fail
;
3014 arg2
= wxString_in_helper(obj1
);
3015 if (arg2
== NULL
) SWIG_fail
;
3020 arg3
= wxString_in_helper(obj2
);
3021 if (arg3
== NULL
) SWIG_fail
;
3026 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3030 if (!wxPyCheckForApp()) SWIG_fail
;
3031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3032 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3034 wxPyEndAllowThreads(__tstate
);
3035 if (PyErr_Occurred()) SWIG_fail
;
3039 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3041 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3074 static PyObject
*_wrap_SaveFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3075 PyObject
*resultobj
;
3076 wxString
*arg1
= 0 ;
3077 wxString
*arg2
= 0 ;
3078 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3079 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3080 wxWindow
*arg4
= (wxWindow
*) NULL
;
3082 bool temp1
= False
;
3083 bool temp2
= False
;
3084 bool temp3
= False
;
3085 PyObject
* obj0
= 0 ;
3086 PyObject
* obj1
= 0 ;
3087 PyObject
* obj2
= 0 ;
3088 PyObject
* obj3
= 0 ;
3090 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
3093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3095 arg1
= wxString_in_helper(obj0
);
3096 if (arg1
== NULL
) SWIG_fail
;
3100 arg2
= wxString_in_helper(obj1
);
3101 if (arg2
== NULL
) SWIG_fail
;
3106 arg3
= wxString_in_helper(obj2
);
3107 if (arg3
== NULL
) SWIG_fail
;
3112 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3116 if (!wxPyCheckForApp()) SWIG_fail
;
3117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3118 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3120 wxPyEndAllowThreads(__tstate
);
3121 if (PyErr_Occurred()) SWIG_fail
;
3125 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3127 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3160 static PyObject
*_wrap_DirSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3161 PyObject
*resultobj
;
3162 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
3163 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3164 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3165 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3166 long arg3
= (long) wxDD_DEFAULT_STYLE
;
3167 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3168 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3169 wxWindow
*arg5
= (wxWindow
*) NULL
;
3171 bool temp1
= False
;
3172 bool temp2
= False
;
3174 PyObject
* obj0
= 0 ;
3175 PyObject
* obj1
= 0 ;
3176 PyObject
* obj2
= 0 ;
3177 PyObject
* obj3
= 0 ;
3178 PyObject
* obj4
= 0 ;
3180 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
3183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:DirSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3186 arg1
= wxString_in_helper(obj0
);
3187 if (arg1
== NULL
) SWIG_fail
;
3193 arg2
= wxString_in_helper(obj1
);
3194 if (arg2
== NULL
) SWIG_fail
;
3199 arg3
= (long) SWIG_AsLong(obj2
);
3200 if (PyErr_Occurred()) SWIG_fail
;
3205 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3209 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3213 if (!wxPyCheckForApp()) SWIG_fail
;
3214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3215 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
3217 wxPyEndAllowThreads(__tstate
);
3218 if (PyErr_Occurred()) SWIG_fail
;
3222 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3224 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3249 static PyObject
*_wrap_GetTextFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3250 PyObject
*resultobj
;
3251 wxString
*arg1
= 0 ;
3252 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3253 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3254 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3255 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3256 wxWindow
*arg4
= (wxWindow
*) NULL
;
3257 int arg5
= (int) -1 ;
3258 int arg6
= (int) -1 ;
3259 bool arg7
= (bool) True
;
3261 bool temp1
= False
;
3262 bool temp2
= False
;
3263 bool temp3
= False
;
3264 PyObject
* obj0
= 0 ;
3265 PyObject
* obj1
= 0 ;
3266 PyObject
* obj2
= 0 ;
3267 PyObject
* obj3
= 0 ;
3268 PyObject
* obj4
= 0 ;
3269 PyObject
* obj5
= 0 ;
3270 PyObject
* obj6
= 0 ;
3272 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
3275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3277 arg1
= wxString_in_helper(obj0
);
3278 if (arg1
== NULL
) SWIG_fail
;
3283 arg2
= wxString_in_helper(obj1
);
3284 if (arg2
== NULL
) SWIG_fail
;
3290 arg3
= wxString_in_helper(obj2
);
3291 if (arg3
== NULL
) SWIG_fail
;
3296 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3300 arg5
= (int) SWIG_AsInt(obj4
);
3301 if (PyErr_Occurred()) SWIG_fail
;
3304 arg6
= (int) SWIG_AsInt(obj5
);
3305 if (PyErr_Occurred()) SWIG_fail
;
3308 arg7
= (bool) SWIG_AsBool(obj6
);
3309 if (PyErr_Occurred()) SWIG_fail
;
3312 if (!wxPyCheckForApp()) SWIG_fail
;
3313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3314 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
3316 wxPyEndAllowThreads(__tstate
);
3317 if (PyErr_Occurred()) SWIG_fail
;
3321 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3323 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3356 static PyObject
*_wrap_GetPasswordFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3357 PyObject
*resultobj
;
3358 wxString
*arg1
= 0 ;
3359 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3360 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3361 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3362 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3363 wxWindow
*arg4
= (wxWindow
*) NULL
;
3365 bool temp1
= False
;
3366 bool temp2
= False
;
3367 bool temp3
= False
;
3368 PyObject
* obj0
= 0 ;
3369 PyObject
* obj1
= 0 ;
3370 PyObject
* obj2
= 0 ;
3371 PyObject
* obj3
= 0 ;
3373 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
3376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3378 arg1
= wxString_in_helper(obj0
);
3379 if (arg1
== NULL
) SWIG_fail
;
3384 arg2
= wxString_in_helper(obj1
);
3385 if (arg2
== NULL
) SWIG_fail
;
3391 arg3
= wxString_in_helper(obj2
);
3392 if (arg3
== NULL
) SWIG_fail
;
3397 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3401 if (!wxPyCheckForApp()) SWIG_fail
;
3402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3403 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3405 wxPyEndAllowThreads(__tstate
);
3406 if (PyErr_Occurred()) SWIG_fail
;
3410 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3412 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3445 static PyObject
*_wrap_GetSingleChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3446 PyObject
*resultobj
;
3447 wxString
*arg1
= 0 ;
3448 wxString
*arg2
= 0 ;
3450 wxString
*arg4
= (wxString
*) 0 ;
3451 wxWindow
*arg5
= (wxWindow
*) NULL
;
3452 int arg6
= (int) -1 ;
3453 int arg7
= (int) -1 ;
3454 bool arg8
= (bool) True
;
3455 int arg9
= (int) 150 ;
3456 int arg10
= (int) 200 ;
3458 bool temp1
= False
;
3459 bool temp2
= False
;
3460 PyObject
* obj0
= 0 ;
3461 PyObject
* obj1
= 0 ;
3462 PyObject
* obj2
= 0 ;
3463 PyObject
* obj3
= 0 ;
3464 PyObject
* obj4
= 0 ;
3465 PyObject
* obj5
= 0 ;
3466 PyObject
* obj6
= 0 ;
3467 PyObject
* obj7
= 0 ;
3468 PyObject
* obj8
= 0 ;
3470 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3475 arg1
= wxString_in_helper(obj0
);
3476 if (arg1
== NULL
) SWIG_fail
;
3480 arg2
= wxString_in_helper(obj1
);
3481 if (arg2
== NULL
) SWIG_fail
;
3485 arg3
= PyList_Size(obj2
);
3486 arg4
= wxString_LIST_helper(obj2
);
3487 if (arg4
== NULL
) SWIG_fail
;
3490 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3494 arg6
= (int) SWIG_AsInt(obj4
);
3495 if (PyErr_Occurred()) SWIG_fail
;
3498 arg7
= (int) SWIG_AsInt(obj5
);
3499 if (PyErr_Occurred()) SWIG_fail
;
3502 arg8
= (bool) SWIG_AsBool(obj6
);
3503 if (PyErr_Occurred()) SWIG_fail
;
3506 arg9
= (int) SWIG_AsInt(obj7
);
3507 if (PyErr_Occurred()) SWIG_fail
;
3510 arg10
= (int) SWIG_AsInt(obj8
);
3511 if (PyErr_Occurred()) SWIG_fail
;
3514 if (!wxPyCheckForApp()) SWIG_fail
;
3515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3516 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
3518 wxPyEndAllowThreads(__tstate
);
3519 if (PyErr_Occurred()) SWIG_fail
;
3523 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3525 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3537 if (arg4
) delete [] arg4
;
3550 if (arg4
) delete [] arg4
;
3556 static PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3557 PyObject
*resultobj
;
3558 wxString
*arg1
= 0 ;
3559 wxString
*arg2
= 0 ;
3561 wxString
*arg4
= (wxString
*) 0 ;
3562 wxWindow
*arg5
= (wxWindow
*) NULL
;
3563 int arg6
= (int) -1 ;
3564 int arg7
= (int) -1 ;
3565 bool arg8
= (bool) True
;
3566 int arg9
= (int) 150 ;
3567 int arg10
= (int) 200 ;
3569 bool temp1
= False
;
3570 bool temp2
= False
;
3571 PyObject
* obj0
= 0 ;
3572 PyObject
* obj1
= 0 ;
3573 PyObject
* obj2
= 0 ;
3574 PyObject
* obj3
= 0 ;
3575 PyObject
* obj4
= 0 ;
3576 PyObject
* obj5
= 0 ;
3577 PyObject
* obj6
= 0 ;
3578 PyObject
* obj7
= 0 ;
3579 PyObject
* obj8
= 0 ;
3581 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3586 arg1
= wxString_in_helper(obj0
);
3587 if (arg1
== NULL
) SWIG_fail
;
3591 arg2
= wxString_in_helper(obj1
);
3592 if (arg2
== NULL
) SWIG_fail
;
3596 arg3
= PyList_Size(obj2
);
3597 arg4
= wxString_LIST_helper(obj2
);
3598 if (arg4
== NULL
) SWIG_fail
;
3601 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3605 arg6
= (int) SWIG_AsInt(obj4
);
3606 if (PyErr_Occurred()) SWIG_fail
;
3609 arg7
= (int) SWIG_AsInt(obj5
);
3610 if (PyErr_Occurred()) SWIG_fail
;
3613 arg8
= (bool) SWIG_AsBool(obj6
);
3614 if (PyErr_Occurred()) SWIG_fail
;
3617 arg9
= (int) SWIG_AsInt(obj7
);
3618 if (PyErr_Occurred()) SWIG_fail
;
3621 arg10
= (int) SWIG_AsInt(obj8
);
3622 if (PyErr_Occurred()) SWIG_fail
;
3625 if (!wxPyCheckForApp()) SWIG_fail
;
3626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3627 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
3629 wxPyEndAllowThreads(__tstate
);
3630 if (PyErr_Occurred()) SWIG_fail
;
3632 resultobj
= SWIG_FromInt((int)result
);
3642 if (arg4
) delete [] arg4
;
3655 if (arg4
) delete [] arg4
;
3661 static PyObject
*_wrap_MessageBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3662 PyObject
*resultobj
;
3663 wxString
*arg1
= 0 ;
3664 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3665 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3666 int arg3
= (int) wxOK
|wxCENTRE
;
3667 wxWindow
*arg4
= (wxWindow
*) NULL
;
3668 int arg5
= (int) -1 ;
3669 int arg6
= (int) -1 ;
3671 bool temp1
= False
;
3672 bool temp2
= False
;
3673 PyObject
* obj0
= 0 ;
3674 PyObject
* obj1
= 0 ;
3675 PyObject
* obj2
= 0 ;
3676 PyObject
* obj3
= 0 ;
3677 PyObject
* obj4
= 0 ;
3678 PyObject
* obj5
= 0 ;
3680 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
3683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:MessageBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
3685 arg1
= wxString_in_helper(obj0
);
3686 if (arg1
== NULL
) SWIG_fail
;
3691 arg2
= wxString_in_helper(obj1
);
3692 if (arg2
== NULL
) SWIG_fail
;
3697 arg3
= (int) SWIG_AsInt(obj2
);
3698 if (PyErr_Occurred()) SWIG_fail
;
3701 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3705 arg5
= (int) SWIG_AsInt(obj4
);
3706 if (PyErr_Occurred()) SWIG_fail
;
3709 arg6
= (int) SWIG_AsInt(obj5
);
3710 if (PyErr_Occurred()) SWIG_fail
;
3713 if (!wxPyCheckForApp()) SWIG_fail
;
3714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3715 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
3717 wxPyEndAllowThreads(__tstate
);
3718 if (PyErr_Occurred()) SWIG_fail
;
3720 resultobj
= SWIG_FromInt((int)result
);
3743 static PyObject
*_wrap_GetNumberFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3744 PyObject
*resultobj
;
3745 wxString
*arg1
= 0 ;
3746 wxString
*arg2
= 0 ;
3747 wxString
*arg3
= 0 ;
3749 long arg5
= (long) 0 ;
3750 long arg6
= (long) 100 ;
3751 wxWindow
*arg7
= (wxWindow
*) NULL
;
3752 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
3753 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
3755 bool temp1
= False
;
3756 bool temp2
= False
;
3757 bool temp3
= False
;
3759 PyObject
* obj0
= 0 ;
3760 PyObject
* obj1
= 0 ;
3761 PyObject
* obj2
= 0 ;
3762 PyObject
* obj3
= 0 ;
3763 PyObject
* obj4
= 0 ;
3764 PyObject
* obj5
= 0 ;
3765 PyObject
* obj6
= 0 ;
3766 PyObject
* obj7
= 0 ;
3768 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
3771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3773 arg1
= wxString_in_helper(obj0
);
3774 if (arg1
== NULL
) SWIG_fail
;
3778 arg2
= wxString_in_helper(obj1
);
3779 if (arg2
== NULL
) SWIG_fail
;
3783 arg3
= wxString_in_helper(obj2
);
3784 if (arg3
== NULL
) SWIG_fail
;
3787 arg4
= (long) SWIG_AsLong(obj3
);
3788 if (PyErr_Occurred()) SWIG_fail
;
3790 arg5
= (long) SWIG_AsLong(obj4
);
3791 if (PyErr_Occurred()) SWIG_fail
;
3794 arg6
= (long) SWIG_AsLong(obj5
);
3795 if (PyErr_Occurred()) SWIG_fail
;
3798 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxWindow
,
3799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3804 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
3808 if (!wxPyCheckForApp()) SWIG_fail
;
3809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3810 result
= (long)wxGetNumberFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
3812 wxPyEndAllowThreads(__tstate
);
3813 if (PyErr_Occurred()) SWIG_fail
;
3815 resultobj
= SWIG_FromLong((long)result
);
3846 static PyObject
*_wrap_ColourDisplay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3847 PyObject
*resultobj
;
3853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ColourDisplay",kwnames
)) goto fail
;
3855 if (!wxPyCheckForApp()) SWIG_fail
;
3856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3857 result
= (bool)wxColourDisplay();
3859 wxPyEndAllowThreads(__tstate
);
3860 if (PyErr_Occurred()) SWIG_fail
;
3863 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3871 static PyObject
*_wrap_DisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3872 PyObject
*resultobj
;
3878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplayDepth",kwnames
)) goto fail
;
3880 if (!wxPyCheckForApp()) SWIG_fail
;
3881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3882 result
= (int)wxDisplayDepth();
3884 wxPyEndAllowThreads(__tstate
);
3885 if (PyErr_Occurred()) SWIG_fail
;
3887 resultobj
= SWIG_FromInt((int)result
);
3894 static PyObject
*_wrap_GetDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3895 PyObject
*resultobj
;
3901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplayDepth",kwnames
)) goto fail
;
3903 if (!wxPyCheckForApp()) SWIG_fail
;
3904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3905 result
= (int)wxGetDisplayDepth();
3907 wxPyEndAllowThreads(__tstate
);
3908 if (PyErr_Occurred()) SWIG_fail
;
3910 resultobj
= SWIG_FromInt((int)result
);
3917 static PyObject
*_wrap_DisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3918 PyObject
*resultobj
;
3919 int *arg1
= (int *) 0 ;
3920 int *arg2
= (int *) 0 ;
3929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySize",kwnames
)) goto fail
;
3931 if (!wxPyCheckForApp()) SWIG_fail
;
3932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3933 wxDisplaySize(arg1
,arg2
);
3935 wxPyEndAllowThreads(__tstate
);
3936 if (PyErr_Occurred()) SWIG_fail
;
3938 Py_INCREF(Py_None
); resultobj
= Py_None
;
3940 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
3941 resultobj
= t_output_helper(resultobj
,o
);
3944 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3945 resultobj
= t_output_helper(resultobj
,o
);
3953 static PyObject
*_wrap_GetDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3954 PyObject
*resultobj
;
3960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySize",kwnames
)) goto fail
;
3962 if (!wxPyCheckForApp()) SWIG_fail
;
3963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3964 result
= wxGetDisplaySize();
3966 wxPyEndAllowThreads(__tstate
);
3967 if (PyErr_Occurred()) SWIG_fail
;
3971 resultptr
= new wxSize((wxSize
&) result
);
3972 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3980 static PyObject
*_wrap_DisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3981 PyObject
*resultobj
;
3982 int *arg1
= (int *) 0 ;
3983 int *arg2
= (int *) 0 ;
3992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySizeMM",kwnames
)) goto fail
;
3994 if (!wxPyCheckForApp()) SWIG_fail
;
3995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3996 wxDisplaySizeMM(arg1
,arg2
);
3998 wxPyEndAllowThreads(__tstate
);
3999 if (PyErr_Occurred()) SWIG_fail
;
4001 Py_INCREF(Py_None
); resultobj
= Py_None
;
4003 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
4004 resultobj
= t_output_helper(resultobj
,o
);
4007 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4008 resultobj
= t_output_helper(resultobj
,o
);
4016 static PyObject
*_wrap_GetDisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4017 PyObject
*resultobj
;
4023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySizeMM",kwnames
)) goto fail
;
4025 if (!wxPyCheckForApp()) SWIG_fail
;
4026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4027 result
= wxGetDisplaySizeMM();
4029 wxPyEndAllowThreads(__tstate
);
4030 if (PyErr_Occurred()) SWIG_fail
;
4034 resultptr
= new wxSize((wxSize
&) result
);
4035 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
4043 static PyObject
*_wrap_ClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4044 PyObject
*resultobj
;
4045 int *arg1
= (int *) 0 ;
4046 int *arg2
= (int *) 0 ;
4047 int *arg3
= (int *) 0 ;
4048 int *arg4
= (int *) 0 ;
4061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ClientDisplayRect",kwnames
)) goto fail
;
4063 if (!wxPyCheckForApp()) SWIG_fail
;
4064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4065 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
4067 wxPyEndAllowThreads(__tstate
);
4068 if (PyErr_Occurred()) SWIG_fail
;
4070 Py_INCREF(Py_None
); resultobj
= Py_None
;
4072 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
4073 resultobj
= t_output_helper(resultobj
,o
);
4076 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4077 resultobj
= t_output_helper(resultobj
,o
);
4080 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4081 resultobj
= t_output_helper(resultobj
,o
);
4084 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
4085 resultobj
= t_output_helper(resultobj
,o
);
4093 static PyObject
*_wrap_GetClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4094 PyObject
*resultobj
;
4100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetClientDisplayRect",kwnames
)) goto fail
;
4102 if (!wxPyCheckForApp()) SWIG_fail
;
4103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4104 result
= wxGetClientDisplayRect();
4106 wxPyEndAllowThreads(__tstate
);
4107 if (PyErr_Occurred()) SWIG_fail
;
4111 resultptr
= new wxRect((wxRect
&) result
);
4112 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
4120 static PyObject
*_wrap_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4121 PyObject
*resultobj
;
4122 wxCursor
*arg1
= 0 ;
4123 PyObject
* obj0
= 0 ;
4125 (char *) "cursor", NULL
4128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) goto fail
;
4129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4130 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4133 PyErr_SetString(PyExc_TypeError
,"null reference");
4137 if (!wxPyCheckForApp()) SWIG_fail
;
4138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4141 wxPyEndAllowThreads(__tstate
);
4142 if (PyErr_Occurred()) SWIG_fail
;
4144 Py_INCREF(Py_None
); resultobj
= Py_None
;
4151 static PyObject
*_wrap_BeginBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4152 PyObject
*resultobj
;
4153 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
4154 PyObject
* obj0
= 0 ;
4156 (char *) "cursor", NULL
4159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) goto fail
;
4161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4165 if (!wxPyCheckForApp()) SWIG_fail
;
4166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4167 wxBeginBusyCursor(arg1
);
4169 wxPyEndAllowThreads(__tstate
);
4170 if (PyErr_Occurred()) SWIG_fail
;
4172 Py_INCREF(Py_None
); resultobj
= Py_None
;
4179 static PyObject
*_wrap_GetActiveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4180 PyObject
*resultobj
;
4186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetActiveWindow",kwnames
)) goto fail
;
4188 if (!wxPyCheckForApp()) SWIG_fail
;
4189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4190 result
= (wxWindow
*)wxGetActiveWindow();
4192 wxPyEndAllowThreads(__tstate
);
4193 if (PyErr_Occurred()) SWIG_fail
;
4196 resultobj
= wxPyMake_wxObject(result
);
4204 static PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4205 PyObject
*resultobj
;
4209 PyObject
* obj0
= 0 ;
4214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
4217 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4220 if (!wxPyCheckForApp()) SWIG_fail
;
4221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4222 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
4224 wxPyEndAllowThreads(__tstate
);
4225 if (PyErr_Occurred()) SWIG_fail
;
4228 resultobj
= wxPyMake_wxObject(result
);
4236 static PyObject
*_wrap_FindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4237 PyObject
*resultobj
;
4241 PyObject
* obj0
= 0 ;
4246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
4249 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4252 if (!wxPyCheckForApp()) SWIG_fail
;
4253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4254 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
4256 wxPyEndAllowThreads(__tstate
);
4257 if (PyErr_Occurred()) SWIG_fail
;
4260 resultobj
= wxPyMake_wxObject(result
);
4268 static PyObject
*_wrap_GetTopLevelParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4269 PyObject
*resultobj
;
4270 wxWindow
*arg1
= (wxWindow
*) 0 ;
4272 PyObject
* obj0
= 0 ;
4274 (char *) "win", NULL
4277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) goto fail
;
4278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4281 if (!wxPyCheckForApp()) SWIG_fail
;
4282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4283 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
4285 wxPyEndAllowThreads(__tstate
);
4286 if (PyErr_Occurred()) SWIG_fail
;
4289 resultobj
= wxPyMake_wxObject(result
);
4297 static PyObject
*_wrap_GetKeyState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4298 PyObject
*resultobj
;
4301 PyObject
* obj0
= 0 ;
4303 (char *) "key", NULL
4306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetKeyState",kwnames
,&obj0
)) goto fail
;
4307 arg1
= (wxKeyCode
) SWIG_AsInt(obj0
);
4308 if (PyErr_Occurred()) SWIG_fail
;
4310 if (!wxPyCheckForApp()) SWIG_fail
;
4311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4312 result
= (bool)wxGetKeyState((wxKeyCode
)arg1
);
4314 wxPyEndAllowThreads(__tstate
);
4315 if (PyErr_Occurred()) SWIG_fail
;
4318 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4326 static PyObject
*_wrap_WakeUpMainThread(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4327 PyObject
*resultobj
;
4332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpMainThread",kwnames
)) goto fail
;
4334 if (!wxPyCheckForApp()) SWIG_fail
;
4335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4336 wxWakeUpMainThread();
4338 wxPyEndAllowThreads(__tstate
);
4339 if (PyErr_Occurred()) SWIG_fail
;
4341 Py_INCREF(Py_None
); resultobj
= Py_None
;
4348 static PyObject
*_wrap_MutexGuiEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4349 PyObject
*resultobj
;
4354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiEnter",kwnames
)) goto fail
;
4356 if (!wxPyCheckForApp()) SWIG_fail
;
4357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4360 wxPyEndAllowThreads(__tstate
);
4361 if (PyErr_Occurred()) SWIG_fail
;
4363 Py_INCREF(Py_None
); resultobj
= Py_None
;
4370 static PyObject
*_wrap_MutexGuiLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4371 PyObject
*resultobj
;
4376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiLeave",kwnames
)) goto fail
;
4378 if (!wxPyCheckForApp()) SWIG_fail
;
4379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4382 wxPyEndAllowThreads(__tstate
);
4383 if (PyErr_Occurred()) SWIG_fail
;
4385 Py_INCREF(Py_None
); resultobj
= Py_None
;
4392 static PyObject
*_wrap_new_MutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4393 PyObject
*resultobj
;
4394 wxMutexGuiLocker
*result
;
4399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MutexGuiLocker",kwnames
)) goto fail
;
4401 if (!wxPyCheckForApp()) SWIG_fail
;
4402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4403 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
4405 wxPyEndAllowThreads(__tstate
);
4406 if (PyErr_Occurred()) SWIG_fail
;
4408 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMutexGuiLocker
, 1);
4415 static PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4416 PyObject
*resultobj
;
4417 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
4418 PyObject
* obj0
= 0 ;
4420 (char *) "self", NULL
4423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MutexGuiLocker",kwnames
,&obj0
)) goto fail
;
4424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMutexGuiLocker
,
4425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4430 wxPyEndAllowThreads(__tstate
);
4431 if (PyErr_Occurred()) SWIG_fail
;
4433 Py_INCREF(Py_None
); resultobj
= Py_None
;
4440 static PyObject
* MutexGuiLocker_swigregister(PyObject
*self
, PyObject
*args
) {
4442 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4443 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker
, obj
);
4445 return Py_BuildValue((char *)"");
4447 static PyObject
*_wrap_Thread_IsMain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4448 PyObject
*resultobj
;
4454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Thread_IsMain",kwnames
)) goto fail
;
4456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4457 result
= (bool)wxThread_IsMain();
4459 wxPyEndAllowThreads(__tstate
);
4460 if (PyErr_Occurred()) SWIG_fail
;
4463 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4471 static PyObject
*_wrap_new_ToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4472 PyObject
*resultobj
;
4473 wxString
*arg1
= 0 ;
4475 bool temp1
= False
;
4476 PyObject
* obj0
= 0 ;
4478 (char *) "tip", NULL
4481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) goto fail
;
4483 arg1
= wxString_in_helper(obj0
);
4484 if (arg1
== NULL
) SWIG_fail
;
4488 if (!wxPyCheckForApp()) SWIG_fail
;
4489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4490 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
4492 wxPyEndAllowThreads(__tstate
);
4493 if (PyErr_Occurred()) SWIG_fail
;
4496 resultobj
= wxPyMake_wxObject(result
);
4512 static PyObject
*_wrap_ToolTip_SetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4513 PyObject
*resultobj
;
4514 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4515 wxString
*arg2
= 0 ;
4516 bool temp2
= False
;
4517 PyObject
* obj0
= 0 ;
4518 PyObject
* obj1
= 0 ;
4520 (char *) "self",(char *) "tip", NULL
4523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) goto fail
;
4524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4527 arg2
= wxString_in_helper(obj1
);
4528 if (arg2
== NULL
) SWIG_fail
;
4532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4533 (arg1
)->SetTip((wxString
const &)*arg2
);
4535 wxPyEndAllowThreads(__tstate
);
4536 if (PyErr_Occurred()) SWIG_fail
;
4538 Py_INCREF(Py_None
); resultobj
= Py_None
;
4553 static PyObject
*_wrap_ToolTip_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4554 PyObject
*resultobj
;
4555 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4557 PyObject
* obj0
= 0 ;
4559 (char *) "self", NULL
4562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetTip",kwnames
,&obj0
)) goto fail
;
4563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4567 result
= (arg1
)->GetTip();
4569 wxPyEndAllowThreads(__tstate
);
4570 if (PyErr_Occurred()) SWIG_fail
;
4574 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4576 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4585 static PyObject
*_wrap_ToolTip_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4586 PyObject
*resultobj
;
4587 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4589 PyObject
* obj0
= 0 ;
4591 (char *) "self", NULL
4594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetWindow",kwnames
,&obj0
)) goto fail
;
4595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4599 result
= (wxWindow
*)(arg1
)->GetWindow();
4601 wxPyEndAllowThreads(__tstate
);
4602 if (PyErr_Occurred()) SWIG_fail
;
4605 resultobj
= wxPyMake_wxObject(result
);
4613 static PyObject
*_wrap_ToolTip_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4614 PyObject
*resultobj
;
4616 PyObject
* obj0
= 0 ;
4618 (char *) "flag", NULL
4621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) goto fail
;
4622 arg1
= (bool) SWIG_AsBool(obj0
);
4623 if (PyErr_Occurred()) SWIG_fail
;
4625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4626 wxToolTip::Enable(arg1
);
4628 wxPyEndAllowThreads(__tstate
);
4629 if (PyErr_Occurred()) SWIG_fail
;
4631 Py_INCREF(Py_None
); resultobj
= Py_None
;
4638 static PyObject
*_wrap_ToolTip_SetDelay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4639 PyObject
*resultobj
;
4641 PyObject
* obj0
= 0 ;
4643 (char *) "milliseconds", NULL
4646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_SetDelay",kwnames
,&obj0
)) goto fail
;
4647 arg1
= (long) SWIG_AsLong(obj0
);
4648 if (PyErr_Occurred()) SWIG_fail
;
4650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4651 wxToolTip::SetDelay(arg1
);
4653 wxPyEndAllowThreads(__tstate
);
4654 if (PyErr_Occurred()) SWIG_fail
;
4656 Py_INCREF(Py_None
); resultobj
= Py_None
;
4663 static PyObject
* ToolTip_swigregister(PyObject
*self
, PyObject
*args
) {
4665 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4666 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip
, obj
);
4668 return Py_BuildValue((char *)"");
4670 static PyObject
*_wrap_new_Caret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4671 PyObject
*resultobj
;
4672 wxWindow
*arg1
= (wxWindow
*) 0 ;
4676 PyObject
* obj0
= 0 ;
4677 PyObject
* obj1
= 0 ;
4679 (char *) "window",(char *) "size", NULL
4682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) goto fail
;
4683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4687 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4690 if (!wxPyCheckForApp()) SWIG_fail
;
4691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4692 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
4694 wxPyEndAllowThreads(__tstate
);
4695 if (PyErr_Occurred()) SWIG_fail
;
4697 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 1);
4704 static PyObject
*_wrap_delete_Caret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4705 PyObject
*resultobj
;
4706 wxCaret
*arg1
= (wxCaret
*) 0 ;
4707 PyObject
* obj0
= 0 ;
4709 (char *) "self", NULL
4712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Caret",kwnames
,&obj0
)) goto fail
;
4713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4719 wxPyEndAllowThreads(__tstate
);
4720 if (PyErr_Occurred()) SWIG_fail
;
4722 Py_INCREF(Py_None
); resultobj
= Py_None
;
4729 static PyObject
*_wrap_Caret_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4730 PyObject
*resultobj
;
4731 wxCaret
*arg1
= (wxCaret
*) 0 ;
4733 PyObject
* obj0
= 0 ;
4735 (char *) "self", NULL
4738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsOk",kwnames
,&obj0
)) goto fail
;
4739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4743 result
= (bool)(arg1
)->IsOk();
4745 wxPyEndAllowThreads(__tstate
);
4746 if (PyErr_Occurred()) SWIG_fail
;
4749 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4757 static PyObject
*_wrap_Caret_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4758 PyObject
*resultobj
;
4759 wxCaret
*arg1
= (wxCaret
*) 0 ;
4761 PyObject
* obj0
= 0 ;
4763 (char *) "self", NULL
4766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsVisible",kwnames
,&obj0
)) goto fail
;
4767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4771 result
= (bool)(arg1
)->IsVisible();
4773 wxPyEndAllowThreads(__tstate
);
4774 if (PyErr_Occurred()) SWIG_fail
;
4777 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4785 static PyObject
*_wrap_Caret_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4786 PyObject
*resultobj
;
4787 wxCaret
*arg1
= (wxCaret
*) 0 ;
4789 PyObject
* obj0
= 0 ;
4791 (char *) "self", NULL
4794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPosition",kwnames
,&obj0
)) goto fail
;
4795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4799 result
= (arg1
)->GetPosition();
4801 wxPyEndAllowThreads(__tstate
);
4802 if (PyErr_Occurred()) SWIG_fail
;
4805 wxPoint
* resultptr
;
4806 resultptr
= new wxPoint((wxPoint
&) result
);
4807 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4815 static PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4816 PyObject
*resultobj
;
4817 wxCaret
*arg1
= (wxCaret
*) 0 ;
4818 int *arg2
= (int *) 0 ;
4819 int *arg3
= (int *) 0 ;
4822 PyObject
* obj0
= 0 ;
4824 (char *) "self", NULL
4829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
4830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4834 (arg1
)->GetPosition(arg2
,arg3
);
4836 wxPyEndAllowThreads(__tstate
);
4837 if (PyErr_Occurred()) SWIG_fail
;
4839 Py_INCREF(Py_None
); resultobj
= Py_None
;
4841 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4842 resultobj
= t_output_helper(resultobj
,o
);
4845 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4846 resultobj
= t_output_helper(resultobj
,o
);
4854 static PyObject
*_wrap_Caret_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4855 PyObject
*resultobj
;
4856 wxCaret
*arg1
= (wxCaret
*) 0 ;
4858 PyObject
* obj0
= 0 ;
4860 (char *) "self", NULL
4863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSize",kwnames
,&obj0
)) goto fail
;
4864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4868 result
= (arg1
)->GetSize();
4870 wxPyEndAllowThreads(__tstate
);
4871 if (PyErr_Occurred()) SWIG_fail
;
4875 resultptr
= new wxSize((wxSize
&) result
);
4876 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
4884 static PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4885 PyObject
*resultobj
;
4886 wxCaret
*arg1
= (wxCaret
*) 0 ;
4887 int *arg2
= (int *) 0 ;
4888 int *arg3
= (int *) 0 ;
4891 PyObject
* obj0
= 0 ;
4893 (char *) "self", NULL
4898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
4899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4903 (arg1
)->GetSize(arg2
,arg3
);
4905 wxPyEndAllowThreads(__tstate
);
4906 if (PyErr_Occurred()) SWIG_fail
;
4908 Py_INCREF(Py_None
); resultobj
= Py_None
;
4910 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4911 resultobj
= t_output_helper(resultobj
,o
);
4914 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4915 resultobj
= t_output_helper(resultobj
,o
);
4923 static PyObject
*_wrap_Caret_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4924 PyObject
*resultobj
;
4925 wxCaret
*arg1
= (wxCaret
*) 0 ;
4927 PyObject
* obj0
= 0 ;
4929 (char *) "self", NULL
4932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetWindow",kwnames
,&obj0
)) goto fail
;
4933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4937 result
= (wxWindow
*)(arg1
)->GetWindow();
4939 wxPyEndAllowThreads(__tstate
);
4940 if (PyErr_Occurred()) SWIG_fail
;
4943 resultobj
= wxPyMake_wxObject(result
);
4951 static PyObject
*_wrap_Caret_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4952 PyObject
*resultobj
;
4953 wxCaret
*arg1
= (wxCaret
*) 0 ;
4956 PyObject
* obj0
= 0 ;
4957 PyObject
* obj1
= 0 ;
4958 PyObject
* obj2
= 0 ;
4960 (char *) "self",(char *) "x",(char *) "y", NULL
4963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4966 arg2
= (int) SWIG_AsInt(obj1
);
4967 if (PyErr_Occurred()) SWIG_fail
;
4968 arg3
= (int) SWIG_AsInt(obj2
);
4969 if (PyErr_Occurred()) SWIG_fail
;
4971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4972 (arg1
)->Move(arg2
,arg3
);
4974 wxPyEndAllowThreads(__tstate
);
4975 if (PyErr_Occurred()) SWIG_fail
;
4977 Py_INCREF(Py_None
); resultobj
= Py_None
;
4984 static PyObject
*_wrap_Caret_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4985 PyObject
*resultobj
;
4986 wxCaret
*arg1
= (wxCaret
*) 0 ;
4989 PyObject
* obj0
= 0 ;
4990 PyObject
* obj1
= 0 ;
4992 (char *) "self",(char *) "pt", NULL
4995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
4996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5000 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5004 (arg1
)->Move((wxPoint
const &)*arg2
);
5006 wxPyEndAllowThreads(__tstate
);
5007 if (PyErr_Occurred()) SWIG_fail
;
5009 Py_INCREF(Py_None
); resultobj
= Py_None
;
5016 static PyObject
*_wrap_Caret_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5017 PyObject
*resultobj
;
5018 wxCaret
*arg1
= (wxCaret
*) 0 ;
5021 PyObject
* obj0
= 0 ;
5022 PyObject
* obj1
= 0 ;
5023 PyObject
* obj2
= 0 ;
5025 (char *) "self",(char *) "width",(char *) "height", NULL
5028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5031 arg2
= (int) SWIG_AsInt(obj1
);
5032 if (PyErr_Occurred()) SWIG_fail
;
5033 arg3
= (int) SWIG_AsInt(obj2
);
5034 if (PyErr_Occurred()) SWIG_fail
;
5036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5037 (arg1
)->SetSize(arg2
,arg3
);
5039 wxPyEndAllowThreads(__tstate
);
5040 if (PyErr_Occurred()) SWIG_fail
;
5042 Py_INCREF(Py_None
); resultobj
= Py_None
;
5049 static PyObject
*_wrap_Caret_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5050 PyObject
*resultobj
;
5051 wxCaret
*arg1
= (wxCaret
*) 0 ;
5054 PyObject
* obj0
= 0 ;
5055 PyObject
* obj1
= 0 ;
5057 (char *) "self",(char *) "size", NULL
5060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5065 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
5068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5069 (arg1
)->SetSize((wxSize
const &)*arg2
);
5071 wxPyEndAllowThreads(__tstate
);
5072 if (PyErr_Occurred()) SWIG_fail
;
5074 Py_INCREF(Py_None
); resultobj
= Py_None
;
5081 static PyObject
*_wrap_Caret_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5082 PyObject
*resultobj
;
5083 wxCaret
*arg1
= (wxCaret
*) 0 ;
5084 int arg2
= (int) True
;
5085 PyObject
* obj0
= 0 ;
5086 PyObject
* obj1
= 0 ;
5088 (char *) "self",(char *) "show", NULL
5091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Caret_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
5092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5095 arg2
= (int) SWIG_AsInt(obj1
);
5096 if (PyErr_Occurred()) SWIG_fail
;
5099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5102 wxPyEndAllowThreads(__tstate
);
5103 if (PyErr_Occurred()) SWIG_fail
;
5105 Py_INCREF(Py_None
); resultobj
= Py_None
;
5112 static PyObject
*_wrap_Caret_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5113 PyObject
*resultobj
;
5114 wxCaret
*arg1
= (wxCaret
*) 0 ;
5115 PyObject
* obj0
= 0 ;
5117 (char *) "self", NULL
5120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Hide",kwnames
,&obj0
)) goto fail
;
5121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5127 wxPyEndAllowThreads(__tstate
);
5128 if (PyErr_Occurred()) SWIG_fail
;
5130 Py_INCREF(Py_None
); resultobj
= Py_None
;
5137 static PyObject
* Caret_swigregister(PyObject
*self
, PyObject
*args
) {
5139 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5140 SWIG_TypeClientData(SWIGTYPE_p_wxCaret
, obj
);
5142 return Py_BuildValue((char *)"");
5144 static PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5145 PyObject
*resultobj
;
5151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Caret_GetBlinkTime",kwnames
)) goto fail
;
5153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5154 result
= (int)wxCaret_GetBlinkTime();
5156 wxPyEndAllowThreads(__tstate
);
5157 if (PyErr_Occurred()) SWIG_fail
;
5159 resultobj
= SWIG_FromInt((int)result
);
5166 static PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5167 PyObject
*resultobj
;
5169 PyObject
* obj0
= 0 ;
5171 (char *) "milliseconds", NULL
5174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_SetBlinkTime",kwnames
,&obj0
)) goto fail
;
5175 arg1
= (int) SWIG_AsInt(obj0
);
5176 if (PyErr_Occurred()) SWIG_fail
;
5178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5179 wxCaret_SetBlinkTime(arg1
);
5181 wxPyEndAllowThreads(__tstate
);
5182 if (PyErr_Occurred()) SWIG_fail
;
5184 Py_INCREF(Py_None
); resultobj
= Py_None
;
5191 static PyObject
*_wrap_new_BusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5192 PyObject
*resultobj
;
5193 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
5194 wxBusyCursor
*result
;
5195 PyObject
* obj0
= 0 ;
5197 (char *) "cursor", NULL
5200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) goto fail
;
5202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5206 if (!wxPyCheckForApp()) SWIG_fail
;
5207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5208 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
5210 wxPyEndAllowThreads(__tstate
);
5211 if (PyErr_Occurred()) SWIG_fail
;
5213 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyCursor
, 1);
5220 static PyObject
*_wrap_delete_BusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5221 PyObject
*resultobj
;
5222 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
5223 PyObject
* obj0
= 0 ;
5225 (char *) "self", NULL
5228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyCursor",kwnames
,&obj0
)) goto fail
;
5229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBusyCursor
,
5230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5235 wxPyEndAllowThreads(__tstate
);
5236 if (PyErr_Occurred()) SWIG_fail
;
5238 Py_INCREF(Py_None
); resultobj
= Py_None
;
5245 static PyObject
* BusyCursor_swigregister(PyObject
*self
, PyObject
*args
) {
5247 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5248 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor
, obj
);
5250 return Py_BuildValue((char *)"");
5252 static PyObject
*_wrap_new_WindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5253 PyObject
*resultobj
;
5254 wxWindow
*arg1
= (wxWindow
*) NULL
;
5255 wxWindowDisabler
*result
;
5256 PyObject
* obj0
= 0 ;
5258 (char *) "winToSkip", NULL
5261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) goto fail
;
5263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5267 if (!wxPyCheckForApp()) SWIG_fail
;
5268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5269 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
5271 wxPyEndAllowThreads(__tstate
);
5272 if (PyErr_Occurred()) SWIG_fail
;
5274 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDisabler
, 1);
5281 static PyObject
*_wrap_delete_WindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5282 PyObject
*resultobj
;
5283 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
5284 PyObject
* obj0
= 0 ;
5286 (char *) "self", NULL
5289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_WindowDisabler",kwnames
,&obj0
)) goto fail
;
5290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowDisabler
,
5291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5296 wxPyEndAllowThreads(__tstate
);
5297 if (PyErr_Occurred()) SWIG_fail
;
5299 Py_INCREF(Py_None
); resultobj
= Py_None
;
5306 static PyObject
* WindowDisabler_swigregister(PyObject
*self
, PyObject
*args
) {
5308 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5309 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler
, obj
);
5311 return Py_BuildValue((char *)"");
5313 static PyObject
*_wrap_new_BusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5314 PyObject
*resultobj
;
5315 wxString
*arg1
= 0 ;
5317 bool temp1
= False
;
5318 PyObject
* obj0
= 0 ;
5320 (char *) "message", NULL
5323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) goto fail
;
5325 arg1
= wxString_in_helper(obj0
);
5326 if (arg1
== NULL
) SWIG_fail
;
5330 if (!wxPyCheckForApp()) SWIG_fail
;
5331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5332 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
);
5334 wxPyEndAllowThreads(__tstate
);
5335 if (PyErr_Occurred()) SWIG_fail
;
5337 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyInfo
, 1);
5352 static PyObject
*_wrap_delete_BusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5353 PyObject
*resultobj
;
5354 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
5355 PyObject
* obj0
= 0 ;
5357 (char *) "self", NULL
5360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyInfo",kwnames
,&obj0
)) goto fail
;
5361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBusyInfo
,
5362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5367 wxPyEndAllowThreads(__tstate
);
5368 if (PyErr_Occurred()) SWIG_fail
;
5370 Py_INCREF(Py_None
); resultobj
= Py_None
;
5377 static PyObject
* BusyInfo_swigregister(PyObject
*self
, PyObject
*args
) {
5379 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5380 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo
, obj
);
5382 return Py_BuildValue((char *)"");
5384 static PyObject
*_wrap_new_StopWatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5385 PyObject
*resultobj
;
5386 wxStopWatch
*result
;
5391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StopWatch",kwnames
)) goto fail
;
5393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5394 result
= (wxStopWatch
*)new wxStopWatch();
5396 wxPyEndAllowThreads(__tstate
);
5397 if (PyErr_Occurred()) SWIG_fail
;
5399 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStopWatch
, 1);
5406 static PyObject
*_wrap_StopWatch_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5407 PyObject
*resultobj
;
5408 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5409 long arg2
= (long) 0 ;
5410 PyObject
* obj0
= 0 ;
5411 PyObject
* obj1
= 0 ;
5413 (char *) "self",(char *) "t0", NULL
5416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StopWatch_Start",kwnames
,&obj0
,&obj1
)) goto fail
;
5417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5420 arg2
= (long) SWIG_AsLong(obj1
);
5421 if (PyErr_Occurred()) SWIG_fail
;
5424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5425 (arg1
)->Start(arg2
);
5427 wxPyEndAllowThreads(__tstate
);
5428 if (PyErr_Occurred()) SWIG_fail
;
5430 Py_INCREF(Py_None
); resultobj
= Py_None
;
5437 static PyObject
*_wrap_StopWatch_Pause(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5438 PyObject
*resultobj
;
5439 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5440 PyObject
* obj0
= 0 ;
5442 (char *) "self", NULL
5445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Pause",kwnames
,&obj0
)) goto fail
;
5446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5452 wxPyEndAllowThreads(__tstate
);
5453 if (PyErr_Occurred()) SWIG_fail
;
5455 Py_INCREF(Py_None
); resultobj
= Py_None
;
5462 static PyObject
*_wrap_StopWatch_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5463 PyObject
*resultobj
;
5464 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5465 PyObject
* obj0
= 0 ;
5467 (char *) "self", NULL
5470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Resume",kwnames
,&obj0
)) goto fail
;
5471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5477 wxPyEndAllowThreads(__tstate
);
5478 if (PyErr_Occurred()) SWIG_fail
;
5480 Py_INCREF(Py_None
); resultobj
= Py_None
;
5487 static PyObject
*_wrap_StopWatch_Time(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5488 PyObject
*resultobj
;
5489 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5491 PyObject
* obj0
= 0 ;
5493 (char *) "self", NULL
5496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Time",kwnames
,&obj0
)) goto fail
;
5497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5501 result
= (long)((wxStopWatch
const *)arg1
)->Time();
5503 wxPyEndAllowThreads(__tstate
);
5504 if (PyErr_Occurred()) SWIG_fail
;
5506 resultobj
= SWIG_FromLong((long)result
);
5513 static PyObject
* StopWatch_swigregister(PyObject
*self
, PyObject
*args
) {
5515 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5516 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch
, obj
);
5518 return Py_BuildValue((char *)"");
5520 static PyObject
*_wrap_new_FileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5521 PyObject
*resultobj
;
5522 int arg1
= (int) 9 ;
5523 wxFileHistory
*result
;
5524 PyObject
* obj0
= 0 ;
5526 (char *) "maxFiles", NULL
5529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FileHistory",kwnames
,&obj0
)) goto fail
;
5531 arg1
= (int) SWIG_AsInt(obj0
);
5532 if (PyErr_Occurred()) SWIG_fail
;
5535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5536 result
= (wxFileHistory
*)new wxFileHistory(arg1
);
5538 wxPyEndAllowThreads(__tstate
);
5539 if (PyErr_Occurred()) SWIG_fail
;
5541 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileHistory
, 1);
5548 static PyObject
*_wrap_delete_FileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5549 PyObject
*resultobj
;
5550 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5551 PyObject
* obj0
= 0 ;
5553 (char *) "self", NULL
5556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileHistory",kwnames
,&obj0
)) goto fail
;
5557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5563 wxPyEndAllowThreads(__tstate
);
5564 if (PyErr_Occurred()) SWIG_fail
;
5566 Py_INCREF(Py_None
); resultobj
= Py_None
;
5573 static PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5574 PyObject
*resultobj
;
5575 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5576 wxString
*arg2
= 0 ;
5577 bool temp2
= False
;
5578 PyObject
* obj0
= 0 ;
5579 PyObject
* obj1
= 0 ;
5581 (char *) "self",(char *) "file", NULL
5584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
5585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5588 arg2
= wxString_in_helper(obj1
);
5589 if (arg2
== NULL
) SWIG_fail
;
5593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5594 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
5596 wxPyEndAllowThreads(__tstate
);
5597 if (PyErr_Occurred()) SWIG_fail
;
5599 Py_INCREF(Py_None
); resultobj
= Py_None
;
5614 static PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5615 PyObject
*resultobj
;
5616 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5618 PyObject
* obj0
= 0 ;
5619 PyObject
* obj1
= 0 ;
5621 (char *) "self",(char *) "i", NULL
5624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
5625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5627 arg2
= (int) SWIG_AsInt(obj1
);
5628 if (PyErr_Occurred()) SWIG_fail
;
5630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5631 (arg1
)->RemoveFileFromHistory(arg2
);
5633 wxPyEndAllowThreads(__tstate
);
5634 if (PyErr_Occurred()) SWIG_fail
;
5636 Py_INCREF(Py_None
); resultobj
= Py_None
;
5643 static PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5644 PyObject
*resultobj
;
5645 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5647 PyObject
* obj0
= 0 ;
5649 (char *) "self", NULL
5652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetMaxFiles",kwnames
,&obj0
)) goto fail
;
5653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5657 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
5659 wxPyEndAllowThreads(__tstate
);
5660 if (PyErr_Occurred()) SWIG_fail
;
5662 resultobj
= SWIG_FromInt((int)result
);
5669 static PyObject
*_wrap_FileHistory_UseMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5670 PyObject
*resultobj
;
5671 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5672 wxMenu
*arg2
= (wxMenu
*) 0 ;
5673 PyObject
* obj0
= 0 ;
5674 PyObject
* obj1
= 0 ;
5676 (char *) "self",(char *) "menu", NULL
5679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5682 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
5683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5686 (arg1
)->UseMenu(arg2
);
5688 wxPyEndAllowThreads(__tstate
);
5689 if (PyErr_Occurred()) SWIG_fail
;
5691 Py_INCREF(Py_None
); resultobj
= Py_None
;
5698 static PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5699 PyObject
*resultobj
;
5700 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5701 wxMenu
*arg2
= (wxMenu
*) 0 ;
5702 PyObject
* obj0
= 0 ;
5703 PyObject
* obj1
= 0 ;
5705 (char *) "self",(char *) "menu", NULL
5708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5711 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
5712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5715 (arg1
)->RemoveMenu(arg2
);
5717 wxPyEndAllowThreads(__tstate
);
5718 if (PyErr_Occurred()) SWIG_fail
;
5720 Py_INCREF(Py_None
); resultobj
= Py_None
;
5727 static PyObject
*_wrap_FileHistory_Load(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5728 PyObject
*resultobj
;
5729 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5730 wxConfigBase
*arg2
= 0 ;
5731 PyObject
* obj0
= 0 ;
5732 PyObject
* obj1
= 0 ;
5734 (char *) "self",(char *) "config", NULL
5737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) goto fail
;
5738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5740 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
5741 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5744 PyErr_SetString(PyExc_TypeError
,"null reference");
5748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5749 (arg1
)->Load(*arg2
);
5751 wxPyEndAllowThreads(__tstate
);
5752 if (PyErr_Occurred()) SWIG_fail
;
5754 Py_INCREF(Py_None
); resultobj
= Py_None
;
5761 static PyObject
*_wrap_FileHistory_Save(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5762 PyObject
*resultobj
;
5763 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5764 wxConfigBase
*arg2
= 0 ;
5765 PyObject
* obj0
= 0 ;
5766 PyObject
* obj1
= 0 ;
5768 (char *) "self",(char *) "config", NULL
5771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) goto fail
;
5772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5774 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
5775 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5778 PyErr_SetString(PyExc_TypeError
,"null reference");
5782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5783 (arg1
)->Save(*arg2
);
5785 wxPyEndAllowThreads(__tstate
);
5786 if (PyErr_Occurred()) SWIG_fail
;
5788 Py_INCREF(Py_None
); resultobj
= Py_None
;
5795 static PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5796 PyObject
*resultobj
;
5797 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5798 PyObject
* obj0
= 0 ;
5800 (char *) "self", NULL
5803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_AddFilesToMenu",kwnames
,&obj0
)) goto fail
;
5804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5808 (arg1
)->AddFilesToMenu();
5810 wxPyEndAllowThreads(__tstate
);
5811 if (PyErr_Occurred()) SWIG_fail
;
5813 Py_INCREF(Py_None
); resultobj
= Py_None
;
5820 static PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5821 PyObject
*resultobj
;
5822 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5823 wxMenu
*arg2
= (wxMenu
*) 0 ;
5824 PyObject
* obj0
= 0 ;
5825 PyObject
* obj1
= 0 ;
5827 (char *) "self",(char *) "menu", NULL
5830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5833 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
5834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5837 (arg1
)->AddFilesToMenu(arg2
);
5839 wxPyEndAllowThreads(__tstate
);
5840 if (PyErr_Occurred()) SWIG_fail
;
5842 Py_INCREF(Py_None
); resultobj
= Py_None
;
5849 static PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5850 PyObject
*resultobj
;
5851 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5854 PyObject
* obj0
= 0 ;
5855 PyObject
* obj1
= 0 ;
5857 (char *) "self",(char *) "i", NULL
5860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_GetHistoryFile",kwnames
,&obj0
,&obj1
)) goto fail
;
5861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5863 arg2
= (int) SWIG_AsInt(obj1
);
5864 if (PyErr_Occurred()) SWIG_fail
;
5866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5867 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
5869 wxPyEndAllowThreads(__tstate
);
5870 if (PyErr_Occurred()) SWIG_fail
;
5874 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5876 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5885 static PyObject
*_wrap_FileHistory_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5886 PyObject
*resultobj
;
5887 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5889 PyObject
* obj0
= 0 ;
5891 (char *) "self", NULL
5894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetCount",kwnames
,&obj0
)) goto fail
;
5895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5899 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
5901 wxPyEndAllowThreads(__tstate
);
5902 if (PyErr_Occurred()) SWIG_fail
;
5904 resultobj
= SWIG_FromInt((int)result
);
5911 static PyObject
* FileHistory_swigregister(PyObject
*self
, PyObject
*args
) {
5913 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5914 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory
, obj
);
5916 return Py_BuildValue((char *)"");
5918 static PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5919 PyObject
*resultobj
;
5920 wxString
*arg1
= 0 ;
5921 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5922 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5923 wxSingleInstanceChecker
*result
;
5924 bool temp1
= False
;
5925 bool temp2
= False
;
5926 PyObject
* obj0
= 0 ;
5927 PyObject
* obj1
= 0 ;
5929 (char *) "name",(char *) "path", NULL
5932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) goto fail
;
5934 arg1
= wxString_in_helper(obj0
);
5935 if (arg1
== NULL
) SWIG_fail
;
5940 arg2
= wxString_in_helper(obj1
);
5941 if (arg2
== NULL
) SWIG_fail
;
5946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5947 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
5949 wxPyEndAllowThreads(__tstate
);
5950 if (PyErr_Occurred()) SWIG_fail
;
5952 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
5975 static PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5976 PyObject
*resultobj
;
5977 wxSingleInstanceChecker
*result
;
5982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSingleInstanceChecker",kwnames
)) goto fail
;
5984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5985 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
5987 wxPyEndAllowThreads(__tstate
);
5988 if (PyErr_Occurred()) SWIG_fail
;
5990 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
5997 static PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5998 PyObject
*resultobj
;
5999 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
6000 PyObject
* obj0
= 0 ;
6002 (char *) "self", NULL
6005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_SingleInstanceChecker",kwnames
,&obj0
)) goto fail
;
6006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
6007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6012 wxPyEndAllowThreads(__tstate
);
6013 if (PyErr_Occurred()) SWIG_fail
;
6015 Py_INCREF(Py_None
); resultobj
= Py_None
;
6022 static PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6023 PyObject
*resultobj
;
6024 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
6025 wxString
*arg2
= 0 ;
6026 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6027 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6029 bool temp2
= False
;
6030 bool temp3
= False
;
6031 PyObject
* obj0
= 0 ;
6032 PyObject
* obj1
= 0 ;
6033 PyObject
* obj2
= 0 ;
6035 (char *) "self",(char *) "name",(char *) "path", NULL
6038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
6040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6042 arg2
= wxString_in_helper(obj1
);
6043 if (arg2
== NULL
) SWIG_fail
;
6048 arg3
= wxString_in_helper(obj2
);
6049 if (arg3
== NULL
) SWIG_fail
;
6054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6055 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
6057 wxPyEndAllowThreads(__tstate
);
6058 if (PyErr_Occurred()) SWIG_fail
;
6061 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6085 static PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6086 PyObject
*resultobj
;
6087 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
6089 PyObject
* obj0
= 0 ;
6091 (char *) "self", NULL
6094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames
,&obj0
)) goto fail
;
6095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
6096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6099 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
6101 wxPyEndAllowThreads(__tstate
);
6102 if (PyErr_Occurred()) SWIG_fail
;
6105 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6113 static PyObject
* SingleInstanceChecker_swigregister(PyObject
*self
, PyObject
*args
) {
6115 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6116 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker
, obj
);
6118 return Py_BuildValue((char *)"");
6120 static PyObject
*_wrap_DrawWindowOnDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6121 PyObject
*resultobj
;
6122 wxWindow
*arg1
= (wxWindow
*) 0 ;
6125 PyObject
* obj0
= 0 ;
6126 PyObject
* obj1
= 0 ;
6127 PyObject
* obj2
= 0 ;
6129 (char *) "window",(char *) "dc",(char *) "method", NULL
6132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DrawWindowOnDC",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6135 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
6136 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6139 PyErr_SetString(PyExc_TypeError
,"null reference");
6142 arg3
= (int) SWIG_AsInt(obj2
);
6143 if (PyErr_Occurred()) SWIG_fail
;
6145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6146 wxDrawWindowOnDC(arg1
,(wxDC
const &)*arg2
,arg3
);
6148 wxPyEndAllowThreads(__tstate
);
6149 if (PyErr_Occurred()) SWIG_fail
;
6151 Py_INCREF(Py_None
); resultobj
= Py_None
;
6158 static PyObject
*_wrap_delete_TipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6159 PyObject
*resultobj
;
6160 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6161 PyObject
* obj0
= 0 ;
6163 (char *) "self", NULL
6166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TipProvider",kwnames
,&obj0
)) goto fail
;
6167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6173 wxPyEndAllowThreads(__tstate
);
6174 if (PyErr_Occurred()) SWIG_fail
;
6176 Py_INCREF(Py_None
); resultobj
= Py_None
;
6183 static PyObject
*_wrap_TipProvider_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6184 PyObject
*resultobj
;
6185 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6187 PyObject
* obj0
= 0 ;
6189 (char *) "self", NULL
6192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetTip",kwnames
,&obj0
)) goto fail
;
6193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6197 result
= (arg1
)->GetTip();
6199 wxPyEndAllowThreads(__tstate
);
6200 if (PyErr_Occurred()) SWIG_fail
;
6204 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6206 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6215 static PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6216 PyObject
*resultobj
;
6217 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6219 PyObject
* obj0
= 0 ;
6221 (char *) "self", NULL
6224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetCurrentTip",kwnames
,&obj0
)) goto fail
;
6225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6229 result
= (size_t)(arg1
)->GetCurrentTip();
6231 wxPyEndAllowThreads(__tstate
);
6232 if (PyErr_Occurred()) SWIG_fail
;
6234 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
6241 static PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6242 PyObject
*resultobj
;
6243 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6244 wxString
*arg2
= 0 ;
6246 bool temp2
= False
;
6247 PyObject
* obj0
= 0 ;
6248 PyObject
* obj1
= 0 ;
6250 (char *) "self",(char *) "tip", NULL
6253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) goto fail
;
6254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6257 arg2
= wxString_in_helper(obj1
);
6258 if (arg2
== NULL
) SWIG_fail
;
6262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6263 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
6265 wxPyEndAllowThreads(__tstate
);
6266 if (PyErr_Occurred()) SWIG_fail
;
6270 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6272 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6289 static PyObject
* TipProvider_swigregister(PyObject
*self
, PyObject
*args
) {
6291 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6292 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider
, obj
);
6294 return Py_BuildValue((char *)"");
6296 static PyObject
*_wrap_new_PyTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6297 PyObject
*resultobj
;
6299 wxPyTipProvider
*result
;
6300 PyObject
* obj0
= 0 ;
6302 (char *) "currentTip", NULL
6305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) goto fail
;
6306 arg1
= (size_t) SWIG_AsUnsignedLong(obj0
);
6307 if (PyErr_Occurred()) SWIG_fail
;
6309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6310 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
6312 wxPyEndAllowThreads(__tstate
);
6313 if (PyErr_Occurred()) SWIG_fail
;
6315 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTipProvider
, 1);
6322 static PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6323 PyObject
*resultobj
;
6324 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
6325 PyObject
*arg2
= (PyObject
*) 0 ;
6326 PyObject
*arg3
= (PyObject
*) 0 ;
6327 PyObject
* obj0
= 0 ;
6328 PyObject
* obj1
= 0 ;
6329 PyObject
* obj2
= 0 ;
6331 (char *) "self",(char *) "self",(char *) "_class", NULL
6334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTipProvider
,
6336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6341 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6343 wxPyEndAllowThreads(__tstate
);
6344 if (PyErr_Occurred()) SWIG_fail
;
6346 Py_INCREF(Py_None
); resultobj
= Py_None
;
6353 static PyObject
* PyTipProvider_swigregister(PyObject
*self
, PyObject
*args
) {
6355 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6356 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider
, obj
);
6358 return Py_BuildValue((char *)"");
6360 static PyObject
*_wrap_ShowTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6361 PyObject
*resultobj
;
6362 wxWindow
*arg1
= (wxWindow
*) 0 ;
6363 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
6364 bool arg3
= (bool) True
;
6366 PyObject
* obj0
= 0 ;
6367 PyObject
* obj1
= 0 ;
6368 PyObject
* obj2
= 0 ;
6370 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
6373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6376 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTipProvider
,
6377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6379 arg3
= (bool) SWIG_AsBool(obj2
);
6380 if (PyErr_Occurred()) SWIG_fail
;
6383 if (!wxPyCheckForApp()) SWIG_fail
;
6384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6385 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
6387 wxPyEndAllowThreads(__tstate
);
6388 if (PyErr_Occurred()) SWIG_fail
;
6391 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6399 static PyObject
*_wrap_CreateFileTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6400 PyObject
*resultobj
;
6401 wxString
*arg1
= 0 ;
6403 wxTipProvider
*result
;
6404 bool temp1
= False
;
6405 PyObject
* obj0
= 0 ;
6406 PyObject
* obj1
= 0 ;
6408 (char *) "filename",(char *) "currentTip", NULL
6411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) goto fail
;
6413 arg1
= wxString_in_helper(obj0
);
6414 if (arg1
== NULL
) SWIG_fail
;
6417 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
6418 if (PyErr_Occurred()) SWIG_fail
;
6420 if (!wxPyCheckForApp()) SWIG_fail
;
6421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6422 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
6424 wxPyEndAllowThreads(__tstate
);
6425 if (PyErr_Occurred()) SWIG_fail
;
6427 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipProvider
, 1);
6442 static PyObject
*_wrap_new_Timer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6443 PyObject
*resultobj
;
6444 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
6445 int arg2
= (int) -1 ;
6447 PyObject
* obj0
= 0 ;
6448 PyObject
* obj1
= 0 ;
6450 (char *) "owner",(char *) "id", NULL
6453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Timer",kwnames
,&obj0
,&obj1
)) goto fail
;
6455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
6456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6459 arg2
= (int) SWIG_AsInt(obj1
);
6460 if (PyErr_Occurred()) SWIG_fail
;
6463 if (!wxPyCheckForApp()) SWIG_fail
;
6464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6465 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
6467 wxPyEndAllowThreads(__tstate
);
6468 if (PyErr_Occurred()) SWIG_fail
;
6470 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTimer
, 1);
6477 static PyObject
*_wrap_delete_Timer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6478 PyObject
*resultobj
;
6479 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6480 PyObject
* obj0
= 0 ;
6482 (char *) "self", NULL
6485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Timer",kwnames
,&obj0
)) goto fail
;
6486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6492 wxPyEndAllowThreads(__tstate
);
6493 if (PyErr_Occurred()) SWIG_fail
;
6495 Py_INCREF(Py_None
); resultobj
= Py_None
;
6502 static PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6503 PyObject
*resultobj
;
6504 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6505 PyObject
*arg2
= (PyObject
*) 0 ;
6506 PyObject
*arg3
= (PyObject
*) 0 ;
6507 int arg4
= (int) 1 ;
6508 PyObject
* obj0
= 0 ;
6509 PyObject
* obj1
= 0 ;
6510 PyObject
* obj2
= 0 ;
6511 PyObject
* obj3
= 0 ;
6513 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
6516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6522 arg4
= (int) SWIG_AsInt(obj3
);
6523 if (PyErr_Occurred()) SWIG_fail
;
6526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6527 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
6529 wxPyEndAllowThreads(__tstate
);
6530 if (PyErr_Occurred()) SWIG_fail
;
6532 Py_INCREF(Py_None
); resultobj
= Py_None
;
6539 static PyObject
*_wrap_Timer_SetOwner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6540 PyObject
*resultobj
;
6541 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6542 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
6543 int arg3
= (int) -1 ;
6544 PyObject
* obj0
= 0 ;
6545 PyObject
* obj1
= 0 ;
6546 PyObject
* obj2
= 0 ;
6548 (char *) "self",(char *) "owner",(char *) "id", NULL
6551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6554 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
6555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6557 arg3
= (int) SWIG_AsInt(obj2
);
6558 if (PyErr_Occurred()) SWIG_fail
;
6561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6562 (arg1
)->SetOwner(arg2
,arg3
);
6564 wxPyEndAllowThreads(__tstate
);
6565 if (PyErr_Occurred()) SWIG_fail
;
6567 Py_INCREF(Py_None
); resultobj
= Py_None
;
6574 static PyObject
*_wrap_Timer_GetOwner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6575 PyObject
*resultobj
;
6576 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6577 wxEvtHandler
*result
;
6578 PyObject
* obj0
= 0 ;
6580 (char *) "self", NULL
6583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetOwner",kwnames
,&obj0
)) goto fail
;
6584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6588 result
= (wxEvtHandler
*)(arg1
)->GetOwner();
6590 wxPyEndAllowThreads(__tstate
);
6591 if (PyErr_Occurred()) SWIG_fail
;
6594 resultobj
= wxPyMake_wxObject(result
);
6602 static PyObject
*_wrap_Timer_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6603 PyObject
*resultobj
;
6604 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6605 int arg2
= (int) -1 ;
6606 bool arg3
= (bool) False
;
6608 PyObject
* obj0
= 0 ;
6609 PyObject
* obj1
= 0 ;
6610 PyObject
* obj2
= 0 ;
6612 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
6615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Timer_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6619 arg2
= (int) SWIG_AsInt(obj1
);
6620 if (PyErr_Occurred()) SWIG_fail
;
6623 arg3
= (bool) SWIG_AsBool(obj2
);
6624 if (PyErr_Occurred()) SWIG_fail
;
6627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6628 result
= (bool)(arg1
)->Start(arg2
,arg3
);
6630 wxPyEndAllowThreads(__tstate
);
6631 if (PyErr_Occurred()) SWIG_fail
;
6634 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6642 static PyObject
*_wrap_Timer_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6643 PyObject
*resultobj
;
6644 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6645 PyObject
* obj0
= 0 ;
6647 (char *) "self", NULL
6650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_Stop",kwnames
,&obj0
)) goto fail
;
6651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6657 wxPyEndAllowThreads(__tstate
);
6658 if (PyErr_Occurred()) SWIG_fail
;
6660 Py_INCREF(Py_None
); resultobj
= Py_None
;
6667 static PyObject
*_wrap_Timer_IsRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6668 PyObject
*resultobj
;
6669 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6671 PyObject
* obj0
= 0 ;
6673 (char *) "self", NULL
6676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsRunning",kwnames
,&obj0
)) goto fail
;
6677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6681 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
6683 wxPyEndAllowThreads(__tstate
);
6684 if (PyErr_Occurred()) SWIG_fail
;
6687 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6695 static PyObject
*_wrap_Timer_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6696 PyObject
*resultobj
;
6697 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6699 PyObject
* obj0
= 0 ;
6701 (char *) "self", NULL
6704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetInterval",kwnames
,&obj0
)) goto fail
;
6705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6709 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
6711 wxPyEndAllowThreads(__tstate
);
6712 if (PyErr_Occurred()) SWIG_fail
;
6714 resultobj
= SWIG_FromInt((int)result
);
6721 static PyObject
*_wrap_Timer_IsOneShot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6722 PyObject
*resultobj
;
6723 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6725 PyObject
* obj0
= 0 ;
6727 (char *) "self", NULL
6730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsOneShot",kwnames
,&obj0
)) goto fail
;
6731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6735 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
6737 wxPyEndAllowThreads(__tstate
);
6738 if (PyErr_Occurred()) SWIG_fail
;
6741 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6749 static PyObject
*_wrap_Timer_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6750 PyObject
*resultobj
;
6751 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6753 PyObject
* obj0
= 0 ;
6755 (char *) "self", NULL
6758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetId",kwnames
,&obj0
)) goto fail
;
6759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6763 result
= (int)((wxPyTimer
const *)arg1
)->GetId();
6765 wxPyEndAllowThreads(__tstate
);
6766 if (PyErr_Occurred()) SWIG_fail
;
6768 resultobj
= SWIG_FromInt((int)result
);
6775 static PyObject
* Timer_swigregister(PyObject
*self
, PyObject
*args
) {
6777 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6778 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer
, obj
);
6780 return Py_BuildValue((char *)"");
6782 static PyObject
*_wrap_new_TimerEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6783 PyObject
*resultobj
;
6784 int arg1
= (int) 0 ;
6785 int arg2
= (int) 0 ;
6786 wxTimerEvent
*result
;
6787 PyObject
* obj0
= 0 ;
6788 PyObject
* obj1
= 0 ;
6790 (char *) "timerid",(char *) "interval", NULL
6793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TimerEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
6795 arg1
= (int) SWIG_AsInt(obj0
);
6796 if (PyErr_Occurred()) SWIG_fail
;
6799 arg2
= (int) SWIG_AsInt(obj1
);
6800 if (PyErr_Occurred()) SWIG_fail
;
6803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6804 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
6806 wxPyEndAllowThreads(__tstate
);
6807 if (PyErr_Occurred()) SWIG_fail
;
6809 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerEvent
, 1);
6816 static PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6817 PyObject
*resultobj
;
6818 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
6820 PyObject
* obj0
= 0 ;
6822 (char *) "self", NULL
6825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimerEvent_GetInterval",kwnames
,&obj0
)) goto fail
;
6826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerEvent
,
6827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6830 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
6832 wxPyEndAllowThreads(__tstate
);
6833 if (PyErr_Occurred()) SWIG_fail
;
6835 resultobj
= SWIG_FromInt((int)result
);
6842 static PyObject
* TimerEvent_swigregister(PyObject
*self
, PyObject
*args
) {
6844 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6845 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent
, obj
);
6847 return Py_BuildValue((char *)"");
6849 static PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*self
, PyObject
*args
) {
6850 PyObject
*resultobj
;
6852 wxTimerRunner
*result
;
6853 PyObject
* obj0
= 0 ;
6855 if(!PyArg_ParseTuple(args
,(char *)"O:new_TimerRunner",&obj0
)) goto fail
;
6856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimer
,
6857 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6860 PyErr_SetString(PyExc_TypeError
,"null reference");
6864 if (!wxPyCheckForApp()) SWIG_fail
;
6865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6866 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
6868 wxPyEndAllowThreads(__tstate
);
6869 if (PyErr_Occurred()) SWIG_fail
;
6871 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
6878 static PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*self
, PyObject
*args
) {
6879 PyObject
*resultobj
;
6882 bool arg3
= (bool) False
;
6883 wxTimerRunner
*result
;
6884 PyObject
* obj0
= 0 ;
6885 PyObject
* obj1
= 0 ;
6886 PyObject
* obj2
= 0 ;
6888 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_TimerRunner",&obj0
,&obj1
,&obj2
)) goto fail
;
6889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimer
,
6890 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6893 PyErr_SetString(PyExc_TypeError
,"null reference");
6896 arg2
= (int) SWIG_AsInt(obj1
);
6897 if (PyErr_Occurred()) SWIG_fail
;
6899 arg3
= (bool) SWIG_AsBool(obj2
);
6900 if (PyErr_Occurred()) SWIG_fail
;
6903 if (!wxPyCheckForApp()) SWIG_fail
;
6904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6905 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
6907 wxPyEndAllowThreads(__tstate
);
6908 if (PyErr_Occurred()) SWIG_fail
;
6910 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
6917 static PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
6922 argc
= PyObject_Length(args
);
6923 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
6924 argv
[ii
] = PyTuple_GetItem(args
,ii
);
6930 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
6938 return _wrap_new_TimerRunner__SWIG_0(self
,args
);
6941 if ((argc
>= 2) && (argc
<= 3)) {
6945 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
6953 _v
= SWIG_CheckInt(argv
[1]);
6956 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
6958 _v
= SWIG_CheckBool(argv
[2]);
6960 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
6966 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TimerRunner'");
6971 static PyObject
*_wrap_delete_TimerRunner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6972 PyObject
*resultobj
;
6973 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
6974 PyObject
* obj0
= 0 ;
6976 (char *) "self", NULL
6979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimerRunner",kwnames
,&obj0
)) goto fail
;
6980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerRunner
,
6981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6986 wxPyEndAllowThreads(__tstate
);
6987 if (PyErr_Occurred()) SWIG_fail
;
6989 Py_INCREF(Py_None
); resultobj
= Py_None
;
6996 static PyObject
*_wrap_TimerRunner_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6997 PyObject
*resultobj
;
6998 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
7000 bool arg3
= (bool) False
;
7001 PyObject
* obj0
= 0 ;
7002 PyObject
* obj1
= 0 ;
7003 PyObject
* obj2
= 0 ;
7005 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
7008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TimerRunner_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerRunner
,
7010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7011 arg2
= (int) SWIG_AsInt(obj1
);
7012 if (PyErr_Occurred()) SWIG_fail
;
7014 arg3
= (bool) SWIG_AsBool(obj2
);
7015 if (PyErr_Occurred()) SWIG_fail
;
7018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7019 (arg1
)->Start(arg2
,arg3
);
7021 wxPyEndAllowThreads(__tstate
);
7022 if (PyErr_Occurred()) SWIG_fail
;
7024 Py_INCREF(Py_None
); resultobj
= Py_None
;
7031 static PyObject
* TimerRunner_swigregister(PyObject
*self
, PyObject
*args
) {
7033 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7034 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner
, obj
);
7036 return Py_BuildValue((char *)"");
7038 static PyObject
*_wrap_new_Log(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7039 PyObject
*resultobj
;
7045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Log",kwnames
)) goto fail
;
7047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7048 result
= (wxLog
*)new wxLog();
7050 wxPyEndAllowThreads(__tstate
);
7051 if (PyErr_Occurred()) SWIG_fail
;
7053 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 1);
7060 static PyObject
*_wrap_Log_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7061 PyObject
*resultobj
;
7067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_IsEnabled",kwnames
)) goto fail
;
7069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7070 result
= (bool)wxLog::IsEnabled();
7072 wxPyEndAllowThreads(__tstate
);
7073 if (PyErr_Occurred()) SWIG_fail
;
7076 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7084 static PyObject
*_wrap_Log_EnableLogging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7085 PyObject
*resultobj
;
7086 bool arg1
= (bool) True
;
7088 PyObject
* obj0
= 0 ;
7090 (char *) "doIt", NULL
7093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) goto fail
;
7095 arg1
= (bool) SWIG_AsBool(obj0
);
7096 if (PyErr_Occurred()) SWIG_fail
;
7099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7100 result
= (bool)wxLog::EnableLogging(arg1
);
7102 wxPyEndAllowThreads(__tstate
);
7103 if (PyErr_Occurred()) SWIG_fail
;
7106 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7114 static PyObject
*_wrap_Log_OnLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7115 PyObject
*resultobj
;
7117 wxChar
*arg2
= (wxChar
*) 0 ;
7119 PyObject
* obj0
= 0 ;
7120 PyObject
* obj1
= 0 ;
7121 PyObject
* obj2
= 0 ;
7123 (char *) "level",(char *) "szString",(char *) "t", NULL
7126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7127 arg1
= (wxLogLevel
) SWIG_AsUnsignedLong(obj0
);
7128 if (PyErr_Occurred()) SWIG_fail
;
7129 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxChar
,
7130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7131 arg3
= (time_t) SWIG_AsUnsignedInt(obj2
);
7132 if (PyErr_Occurred()) SWIG_fail
;
7134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7135 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
7137 wxPyEndAllowThreads(__tstate
);
7138 if (PyErr_Occurred()) SWIG_fail
;
7140 Py_INCREF(Py_None
); resultobj
= Py_None
;
7147 static PyObject
*_wrap_Log_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7148 PyObject
*resultobj
;
7149 wxLog
*arg1
= (wxLog
*) 0 ;
7150 PyObject
* obj0
= 0 ;
7152 (char *) "self", NULL
7155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Flush",kwnames
,&obj0
)) goto fail
;
7156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7162 wxPyEndAllowThreads(__tstate
);
7163 if (PyErr_Occurred()) SWIG_fail
;
7165 Py_INCREF(Py_None
); resultobj
= Py_None
;
7172 static PyObject
*_wrap_Log_FlushActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7173 PyObject
*resultobj
;
7178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_FlushActive",kwnames
)) goto fail
;
7180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7181 wxLog::FlushActive();
7183 wxPyEndAllowThreads(__tstate
);
7184 if (PyErr_Occurred()) SWIG_fail
;
7186 Py_INCREF(Py_None
); resultobj
= Py_None
;
7193 static PyObject
*_wrap_Log_GetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7194 PyObject
*resultobj
;
7200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetActiveTarget",kwnames
)) goto fail
;
7202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7203 result
= (wxLog
*)wxLog::GetActiveTarget();
7205 wxPyEndAllowThreads(__tstate
);
7206 if (PyErr_Occurred()) SWIG_fail
;
7208 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7215 static PyObject
*_wrap_Log_SetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7216 PyObject
*resultobj
;
7217 wxLog
*arg1
= (wxLog
*) 0 ;
7219 PyObject
* obj0
= 0 ;
7221 (char *) "pLogger", NULL
7224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) goto fail
;
7225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7229 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
7231 wxPyEndAllowThreads(__tstate
);
7232 if (PyErr_Occurred()) SWIG_fail
;
7234 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7241 static PyObject
*_wrap_Log_Suspend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7242 PyObject
*resultobj
;
7247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Suspend",kwnames
)) goto fail
;
7249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7252 wxPyEndAllowThreads(__tstate
);
7253 if (PyErr_Occurred()) SWIG_fail
;
7255 Py_INCREF(Py_None
); resultobj
= Py_None
;
7262 static PyObject
*_wrap_Log_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7263 PyObject
*resultobj
;
7268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Resume",kwnames
)) goto fail
;
7270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7273 wxPyEndAllowThreads(__tstate
);
7274 if (PyErr_Occurred()) SWIG_fail
;
7276 Py_INCREF(Py_None
); resultobj
= Py_None
;
7283 static PyObject
*_wrap_Log_SetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7284 PyObject
*resultobj
;
7285 bool arg1
= (bool) True
;
7286 PyObject
* obj0
= 0 ;
7288 (char *) "bVerbose", NULL
7291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) goto fail
;
7293 arg1
= (bool) SWIG_AsBool(obj0
);
7294 if (PyErr_Occurred()) SWIG_fail
;
7297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7298 wxLog::SetVerbose(arg1
);
7300 wxPyEndAllowThreads(__tstate
);
7301 if (PyErr_Occurred()) SWIG_fail
;
7303 Py_INCREF(Py_None
); resultobj
= Py_None
;
7310 static PyObject
*_wrap_Log_SetLogLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7311 PyObject
*resultobj
;
7313 PyObject
* obj0
= 0 ;
7315 (char *) "logLevel", NULL
7318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) goto fail
;
7319 arg1
= (wxLogLevel
) SWIG_AsUnsignedLong(obj0
);
7320 if (PyErr_Occurred()) SWIG_fail
;
7322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7323 wxLog::SetLogLevel(arg1
);
7325 wxPyEndAllowThreads(__tstate
);
7326 if (PyErr_Occurred()) SWIG_fail
;
7328 Py_INCREF(Py_None
); resultobj
= Py_None
;
7335 static PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7336 PyObject
*resultobj
;
7341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_DontCreateOnDemand",kwnames
)) goto fail
;
7343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7344 wxLog::DontCreateOnDemand();
7346 wxPyEndAllowThreads(__tstate
);
7347 if (PyErr_Occurred()) SWIG_fail
;
7349 Py_INCREF(Py_None
); resultobj
= Py_None
;
7356 static PyObject
*_wrap_Log_SetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7357 PyObject
*resultobj
;
7359 PyObject
* obj0
= 0 ;
7361 (char *) "ulMask", NULL
7364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) goto fail
;
7365 arg1
= (wxTraceMask
) SWIG_AsUnsignedLong(obj0
);
7366 if (PyErr_Occurred()) SWIG_fail
;
7368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7369 wxLog::SetTraceMask(arg1
);
7371 wxPyEndAllowThreads(__tstate
);
7372 if (PyErr_Occurred()) SWIG_fail
;
7374 Py_INCREF(Py_None
); resultobj
= Py_None
;
7381 static PyObject
*_wrap_Log_AddTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7382 PyObject
*resultobj
;
7383 wxString
*arg1
= 0 ;
7384 bool temp1
= False
;
7385 PyObject
* obj0
= 0 ;
7387 (char *) "str", NULL
7390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) goto fail
;
7392 arg1
= wxString_in_helper(obj0
);
7393 if (arg1
== NULL
) SWIG_fail
;
7397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7398 wxLog::AddTraceMask((wxString
const &)*arg1
);
7400 wxPyEndAllowThreads(__tstate
);
7401 if (PyErr_Occurred()) SWIG_fail
;
7403 Py_INCREF(Py_None
); resultobj
= Py_None
;
7418 static PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7419 PyObject
*resultobj
;
7420 wxString
*arg1
= 0 ;
7421 bool temp1
= False
;
7422 PyObject
* obj0
= 0 ;
7424 (char *) "str", NULL
7427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) goto fail
;
7429 arg1
= wxString_in_helper(obj0
);
7430 if (arg1
== NULL
) SWIG_fail
;
7434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7435 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
7437 wxPyEndAllowThreads(__tstate
);
7438 if (PyErr_Occurred()) SWIG_fail
;
7440 Py_INCREF(Py_None
); resultobj
= Py_None
;
7455 static PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7456 PyObject
*resultobj
;
7461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_ClearTraceMasks",kwnames
)) goto fail
;
7463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7464 wxLog::ClearTraceMasks();
7466 wxPyEndAllowThreads(__tstate
);
7467 if (PyErr_Occurred()) SWIG_fail
;
7469 Py_INCREF(Py_None
); resultobj
= Py_None
;
7476 static PyObject
*_wrap_Log_GetTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7477 PyObject
*resultobj
;
7478 wxArrayString
*result
;
7483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMasks",kwnames
)) goto fail
;
7485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7487 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
7488 result
= (wxArrayString
*) &_result_ref
;
7491 wxPyEndAllowThreads(__tstate
);
7492 if (PyErr_Occurred()) SWIG_fail
;
7495 resultobj
= wxArrayString2PyList_helper(*result
);
7503 static PyObject
*_wrap_Log_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7504 PyObject
*resultobj
;
7505 wxChar
*arg1
= (wxChar
*) 0 ;
7506 PyObject
* obj0
= 0 ;
7511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) goto fail
;
7512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChar
,
7513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7516 wxLog::SetTimestamp((wxChar
const *)arg1
);
7518 wxPyEndAllowThreads(__tstate
);
7519 if (PyErr_Occurred()) SWIG_fail
;
7521 Py_INCREF(Py_None
); resultobj
= Py_None
;
7528 static PyObject
*_wrap_Log_GetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7529 PyObject
*resultobj
;
7535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetVerbose",kwnames
)) goto fail
;
7537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7538 result
= (bool)wxLog::GetVerbose();
7540 wxPyEndAllowThreads(__tstate
);
7541 if (PyErr_Occurred()) SWIG_fail
;
7544 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7552 static PyObject
*_wrap_Log_GetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7553 PyObject
*resultobj
;
7559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMask",kwnames
)) goto fail
;
7561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7562 result
= (wxTraceMask
)wxLog::GetTraceMask();
7564 wxPyEndAllowThreads(__tstate
);
7565 if (PyErr_Occurred()) SWIG_fail
;
7567 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
7574 static PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7575 PyObject
*resultobj
;
7576 wxChar
*arg1
= (wxChar
*) 0 ;
7578 PyObject
* obj0
= 0 ;
7580 (char *) "mask", NULL
7583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) goto fail
;
7584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChar
,
7585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7588 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
7590 wxPyEndAllowThreads(__tstate
);
7591 if (PyErr_Occurred()) SWIG_fail
;
7594 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7602 static PyObject
*_wrap_Log_GetLogLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7603 PyObject
*resultobj
;
7609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetLogLevel",kwnames
)) goto fail
;
7611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7612 result
= (wxLogLevel
)wxLog::GetLogLevel();
7614 wxPyEndAllowThreads(__tstate
);
7615 if (PyErr_Occurred()) SWIG_fail
;
7617 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
7624 static PyObject
*_wrap_Log_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7625 PyObject
*resultobj
;
7631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTimestamp",kwnames
)) goto fail
;
7633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7634 result
= (wxChar
*)wxLog::GetTimestamp();
7636 wxPyEndAllowThreads(__tstate
);
7637 if (PyErr_Occurred()) SWIG_fail
;
7639 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChar
, 0);
7646 static PyObject
*_wrap_Log_TimeStamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7647 PyObject
*resultobj
;
7653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_TimeStamp",kwnames
)) goto fail
;
7655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7656 result
= Log_TimeStamp();
7658 wxPyEndAllowThreads(__tstate
);
7659 if (PyErr_Occurred()) SWIG_fail
;
7663 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7665 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7674 static PyObject
*_wrap_Log_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7675 PyObject
*resultobj
;
7676 wxLog
*arg1
= (wxLog
*) 0 ;
7677 PyObject
* obj0
= 0 ;
7679 (char *) "self", NULL
7682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Destroy",kwnames
,&obj0
)) goto fail
;
7683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7687 wxLog_Destroy(arg1
);
7689 wxPyEndAllowThreads(__tstate
);
7690 if (PyErr_Occurred()) SWIG_fail
;
7692 Py_INCREF(Py_None
); resultobj
= Py_None
;
7699 static PyObject
* Log_swigregister(PyObject
*self
, PyObject
*args
) {
7701 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7702 SWIG_TypeClientData(SWIGTYPE_p_wxLog
, obj
);
7704 return Py_BuildValue((char *)"");
7706 static PyObject
*_wrap_new_LogStderr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7707 PyObject
*resultobj
;
7708 wxLogStderr
*result
;
7713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogStderr",kwnames
)) goto fail
;
7715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7716 result
= (wxLogStderr
*)new wxLogStderr();
7718 wxPyEndAllowThreads(__tstate
);
7719 if (PyErr_Occurred()) SWIG_fail
;
7721 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogStderr
, 1);
7728 static PyObject
* LogStderr_swigregister(PyObject
*self
, PyObject
*args
) {
7730 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7731 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr
, obj
);
7733 return Py_BuildValue((char *)"");
7735 static PyObject
*_wrap_new_LogTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7736 PyObject
*resultobj
;
7737 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7738 wxLogTextCtrl
*result
;
7739 PyObject
* obj0
= 0 ;
7741 (char *) "pTextCtrl", NULL
7744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) goto fail
;
7745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7749 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
7751 wxPyEndAllowThreads(__tstate
);
7752 if (PyErr_Occurred()) SWIG_fail
;
7754 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogTextCtrl
, 1);
7761 static PyObject
* LogTextCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
7763 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7764 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl
, obj
);
7766 return Py_BuildValue((char *)"");
7768 static PyObject
*_wrap_new_LogGui(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7769 PyObject
*resultobj
;
7775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogGui",kwnames
)) goto fail
;
7777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7778 result
= (wxLogGui
*)new wxLogGui();
7780 wxPyEndAllowThreads(__tstate
);
7781 if (PyErr_Occurred()) SWIG_fail
;
7783 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogGui
, 1);
7790 static PyObject
* LogGui_swigregister(PyObject
*self
, PyObject
*args
) {
7792 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7793 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui
, obj
);
7795 return Py_BuildValue((char *)"");
7797 static PyObject
*_wrap_new_LogWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7798 PyObject
*resultobj
;
7799 wxFrame
*arg1
= (wxFrame
*) 0 ;
7800 wxString
*arg2
= 0 ;
7801 bool arg3
= (bool) True
;
7802 bool arg4
= (bool) True
;
7803 wxLogWindow
*result
;
7804 bool temp2
= False
;
7805 PyObject
* obj0
= 0 ;
7806 PyObject
* obj1
= 0 ;
7807 PyObject
* obj2
= 0 ;
7808 PyObject
* obj3
= 0 ;
7810 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
7813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
7815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7817 arg2
= wxString_in_helper(obj1
);
7818 if (arg2
== NULL
) SWIG_fail
;
7822 arg3
= (bool) SWIG_AsBool(obj2
);
7823 if (PyErr_Occurred()) SWIG_fail
;
7826 arg4
= (bool) SWIG_AsBool(obj3
);
7827 if (PyErr_Occurred()) SWIG_fail
;
7830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7831 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
7833 wxPyEndAllowThreads(__tstate
);
7834 if (PyErr_Occurred()) SWIG_fail
;
7836 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogWindow
, 1);
7851 static PyObject
*_wrap_LogWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7852 PyObject
*resultobj
;
7853 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7854 bool arg2
= (bool) True
;
7855 PyObject
* obj0
= 0 ;
7856 PyObject
* obj1
= 0 ;
7858 (char *) "self",(char *) "bShow", NULL
7861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
7862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7865 arg2
= (bool) SWIG_AsBool(obj1
);
7866 if (PyErr_Occurred()) SWIG_fail
;
7869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7872 wxPyEndAllowThreads(__tstate
);
7873 if (PyErr_Occurred()) SWIG_fail
;
7875 Py_INCREF(Py_None
); resultobj
= Py_None
;
7882 static PyObject
*_wrap_LogWindow_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7883 PyObject
*resultobj
;
7884 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7886 PyObject
* obj0
= 0 ;
7888 (char *) "self", NULL
7891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetFrame",kwnames
,&obj0
)) goto fail
;
7892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7896 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
7898 wxPyEndAllowThreads(__tstate
);
7899 if (PyErr_Occurred()) SWIG_fail
;
7902 resultobj
= wxPyMake_wxObject(result
);
7910 static PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7911 PyObject
*resultobj
;
7912 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7914 PyObject
* obj0
= 0 ;
7916 (char *) "self", NULL
7919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetOldLog",kwnames
,&obj0
)) goto fail
;
7920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7924 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
7926 wxPyEndAllowThreads(__tstate
);
7927 if (PyErr_Occurred()) SWIG_fail
;
7929 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7936 static PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7937 PyObject
*resultobj
;
7938 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7940 PyObject
* obj0
= 0 ;
7942 (char *) "self", NULL
7945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
7946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7950 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
7952 wxPyEndAllowThreads(__tstate
);
7953 if (PyErr_Occurred()) SWIG_fail
;
7956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7964 static PyObject
*_wrap_LogWindow_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7965 PyObject
*resultobj
;
7966 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7968 PyObject
* obj0
= 0 ;
7969 PyObject
* obj1
= 0 ;
7971 (char *) "self",(char *) "bDoPass", NULL
7974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
7975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7977 arg2
= (bool) SWIG_AsBool(obj1
);
7978 if (PyErr_Occurred()) SWIG_fail
;
7980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7981 (arg1
)->PassMessages(arg2
);
7983 wxPyEndAllowThreads(__tstate
);
7984 if (PyErr_Occurred()) SWIG_fail
;
7986 Py_INCREF(Py_None
); resultobj
= Py_None
;
7993 static PyObject
* LogWindow_swigregister(PyObject
*self
, PyObject
*args
) {
7995 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7996 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow
, obj
);
7998 return Py_BuildValue((char *)"");
8000 static PyObject
*_wrap_new_LogChain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8001 PyObject
*resultobj
;
8002 wxLog
*arg1
= (wxLog
*) 0 ;
8004 PyObject
* obj0
= 0 ;
8006 (char *) "logger", NULL
8009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) goto fail
;
8010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
8011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8014 result
= (wxLogChain
*)new wxLogChain(arg1
);
8016 wxPyEndAllowThreads(__tstate
);
8017 if (PyErr_Occurred()) SWIG_fail
;
8019 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogChain
, 1);
8026 static PyObject
*_wrap_LogChain_SetLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8027 PyObject
*resultobj
;
8028 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8029 wxLog
*arg2
= (wxLog
*) 0 ;
8030 PyObject
* obj0
= 0 ;
8031 PyObject
* obj1
= 0 ;
8033 (char *) "self",(char *) "logger", NULL
8036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) goto fail
;
8037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8039 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLog
,
8040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8043 (arg1
)->SetLog(arg2
);
8045 wxPyEndAllowThreads(__tstate
);
8046 if (PyErr_Occurred()) SWIG_fail
;
8048 Py_INCREF(Py_None
); resultobj
= Py_None
;
8055 static PyObject
*_wrap_LogChain_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8056 PyObject
*resultobj
;
8057 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8059 PyObject
* obj0
= 0 ;
8060 PyObject
* obj1
= 0 ;
8062 (char *) "self",(char *) "bDoPass", NULL
8065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
8066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8068 arg2
= (bool) SWIG_AsBool(obj1
);
8069 if (PyErr_Occurred()) SWIG_fail
;
8071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8072 (arg1
)->PassMessages(arg2
);
8074 wxPyEndAllowThreads(__tstate
);
8075 if (PyErr_Occurred()) SWIG_fail
;
8077 Py_INCREF(Py_None
); resultobj
= Py_None
;
8084 static PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8085 PyObject
*resultobj
;
8086 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8088 PyObject
* obj0
= 0 ;
8090 (char *) "self", NULL
8093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
8094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8098 result
= (bool)(arg1
)->IsPassingMessages();
8100 wxPyEndAllowThreads(__tstate
);
8101 if (PyErr_Occurred()) SWIG_fail
;
8104 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8112 static PyObject
*_wrap_LogChain_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8113 PyObject
*resultobj
;
8114 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8116 PyObject
* obj0
= 0 ;
8118 (char *) "self", NULL
8121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_GetOldLog",kwnames
,&obj0
)) goto fail
;
8122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8126 result
= (wxLog
*)(arg1
)->GetOldLog();
8128 wxPyEndAllowThreads(__tstate
);
8129 if (PyErr_Occurred()) SWIG_fail
;
8131 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
8138 static PyObject
* LogChain_swigregister(PyObject
*self
, PyObject
*args
) {
8140 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8141 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain
, obj
);
8143 return Py_BuildValue((char *)"");
8145 static PyObject
*_wrap_SysErrorCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8146 PyObject
*resultobj
;
8147 unsigned long result
;
8152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SysErrorCode",kwnames
)) goto fail
;
8154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8155 result
= (unsigned long)wxSysErrorCode();
8157 wxPyEndAllowThreads(__tstate
);
8158 if (PyErr_Occurred()) SWIG_fail
;
8160 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
8167 static PyObject
*_wrap_SysErrorMsg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8168 PyObject
*resultobj
;
8169 unsigned long arg1
= (unsigned long) 0 ;
8171 PyObject
* obj0
= 0 ;
8173 (char *) "nErrCode", NULL
8176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) goto fail
;
8178 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
8179 if (PyErr_Occurred()) SWIG_fail
;
8182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8183 result
= wxSysErrorMsg(arg1
);
8185 wxPyEndAllowThreads(__tstate
);
8186 if (PyErr_Occurred()) SWIG_fail
;
8190 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8192 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8201 static PyObject
*_wrap_LogFatalError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8202 PyObject
*resultobj
;
8203 wxString
*arg1
= 0 ;
8204 bool temp1
= False
;
8205 PyObject
* obj0
= 0 ;
8207 (char *) "msg", NULL
8210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) goto fail
;
8212 arg1
= wxString_in_helper(obj0
);
8213 if (arg1
== NULL
) SWIG_fail
;
8217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8218 wxLogFatalError((wxString
const &)*arg1
);
8220 wxPyEndAllowThreads(__tstate
);
8221 if (PyErr_Occurred()) SWIG_fail
;
8223 Py_INCREF(Py_None
); resultobj
= Py_None
;
8238 static PyObject
*_wrap_LogError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8239 PyObject
*resultobj
;
8240 wxString
*arg1
= 0 ;
8241 bool temp1
= False
;
8242 PyObject
* obj0
= 0 ;
8244 (char *) "msg", NULL
8247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) goto fail
;
8249 arg1
= wxString_in_helper(obj0
);
8250 if (arg1
== NULL
) SWIG_fail
;
8254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8255 wxLogError((wxString
const &)*arg1
);
8257 wxPyEndAllowThreads(__tstate
);
8258 if (PyErr_Occurred()) SWIG_fail
;
8260 Py_INCREF(Py_None
); resultobj
= Py_None
;
8275 static PyObject
*_wrap_LogWarning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8276 PyObject
*resultobj
;
8277 wxString
*arg1
= 0 ;
8278 bool temp1
= False
;
8279 PyObject
* obj0
= 0 ;
8281 (char *) "msg", NULL
8284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) goto fail
;
8286 arg1
= wxString_in_helper(obj0
);
8287 if (arg1
== NULL
) SWIG_fail
;
8291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8292 wxLogWarning((wxString
const &)*arg1
);
8294 wxPyEndAllowThreads(__tstate
);
8295 if (PyErr_Occurred()) SWIG_fail
;
8297 Py_INCREF(Py_None
); resultobj
= Py_None
;
8312 static PyObject
*_wrap_LogMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8313 PyObject
*resultobj
;
8314 wxString
*arg1
= 0 ;
8315 bool temp1
= False
;
8316 PyObject
* obj0
= 0 ;
8318 (char *) "msg", NULL
8321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) goto fail
;
8323 arg1
= wxString_in_helper(obj0
);
8324 if (arg1
== NULL
) SWIG_fail
;
8328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8329 wxLogMessage((wxString
const &)*arg1
);
8331 wxPyEndAllowThreads(__tstate
);
8332 if (PyErr_Occurred()) SWIG_fail
;
8334 Py_INCREF(Py_None
); resultobj
= Py_None
;
8349 static PyObject
*_wrap_LogInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8350 PyObject
*resultobj
;
8351 wxString
*arg1
= 0 ;
8352 bool temp1
= False
;
8353 PyObject
* obj0
= 0 ;
8355 (char *) "msg", NULL
8358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) goto fail
;
8360 arg1
= wxString_in_helper(obj0
);
8361 if (arg1
== NULL
) SWIG_fail
;
8365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8366 wxLogInfo((wxString
const &)*arg1
);
8368 wxPyEndAllowThreads(__tstate
);
8369 if (PyErr_Occurred()) SWIG_fail
;
8371 Py_INCREF(Py_None
); resultobj
= Py_None
;
8386 static PyObject
*_wrap_LogDebug(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8387 PyObject
*resultobj
;
8388 wxString
*arg1
= 0 ;
8389 bool temp1
= False
;
8390 PyObject
* obj0
= 0 ;
8392 (char *) "msg", NULL
8395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) goto fail
;
8397 arg1
= wxString_in_helper(obj0
);
8398 if (arg1
== NULL
) SWIG_fail
;
8402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8403 wxLogDebug((wxString
const &)*arg1
);
8405 wxPyEndAllowThreads(__tstate
);
8406 if (PyErr_Occurred()) SWIG_fail
;
8408 Py_INCREF(Py_None
); resultobj
= Py_None
;
8423 static PyObject
*_wrap_LogVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8424 PyObject
*resultobj
;
8425 wxString
*arg1
= 0 ;
8426 bool temp1
= False
;
8427 PyObject
* obj0
= 0 ;
8429 (char *) "msg", NULL
8432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) goto fail
;
8434 arg1
= wxString_in_helper(obj0
);
8435 if (arg1
== NULL
) SWIG_fail
;
8439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8440 wxLogVerbose((wxString
const &)*arg1
);
8442 wxPyEndAllowThreads(__tstate
);
8443 if (PyErr_Occurred()) SWIG_fail
;
8445 Py_INCREF(Py_None
); resultobj
= Py_None
;
8460 static PyObject
*_wrap_LogStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8461 PyObject
*resultobj
;
8462 wxString
*arg1
= 0 ;
8463 bool temp1
= False
;
8464 PyObject
* obj0
= 0 ;
8466 (char *) "msg", NULL
8469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) goto fail
;
8471 arg1
= wxString_in_helper(obj0
);
8472 if (arg1
== NULL
) SWIG_fail
;
8476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8477 wxLogStatus((wxString
const &)*arg1
);
8479 wxPyEndAllowThreads(__tstate
);
8480 if (PyErr_Occurred()) SWIG_fail
;
8482 Py_INCREF(Py_None
); resultobj
= Py_None
;
8497 static PyObject
*_wrap_LogStatusFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8498 PyObject
*resultobj
;
8499 wxFrame
*arg1
= (wxFrame
*) 0 ;
8500 wxString
*arg2
= 0 ;
8501 bool temp2
= False
;
8502 PyObject
* obj0
= 0 ;
8503 PyObject
* obj1
= 0 ;
8505 (char *) "pFrame",(char *) "msg", NULL
8508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
8509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
8510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8512 arg2
= wxString_in_helper(obj1
);
8513 if (arg2
== NULL
) SWIG_fail
;
8517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8518 wxLogStatus(arg1
,(wxString
const &)*arg2
);
8520 wxPyEndAllowThreads(__tstate
);
8521 if (PyErr_Occurred()) SWIG_fail
;
8523 Py_INCREF(Py_None
); resultobj
= Py_None
;
8538 static PyObject
*_wrap_LogSysError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8539 PyObject
*resultobj
;
8540 wxString
*arg1
= 0 ;
8541 bool temp1
= False
;
8542 PyObject
* obj0
= 0 ;
8544 (char *) "msg", NULL
8547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) goto fail
;
8549 arg1
= wxString_in_helper(obj0
);
8550 if (arg1
== NULL
) SWIG_fail
;
8554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8555 wxLogSysError((wxString
const &)*arg1
);
8557 wxPyEndAllowThreads(__tstate
);
8558 if (PyErr_Occurred()) SWIG_fail
;
8560 Py_INCREF(Py_None
); resultobj
= Py_None
;
8575 static PyObject
*_wrap_LogTrace__SWIG_0(PyObject
*self
, PyObject
*args
) {
8576 PyObject
*resultobj
;
8577 unsigned long arg1
;
8578 wxString
*arg2
= 0 ;
8579 bool temp2
= False
;
8580 PyObject
* obj0
= 0 ;
8581 PyObject
* obj1
= 0 ;
8583 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
8584 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
8585 if (PyErr_Occurred()) SWIG_fail
;
8587 arg2
= wxString_in_helper(obj1
);
8588 if (arg2
== NULL
) SWIG_fail
;
8592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8593 wxLogTrace(arg1
,(wxString
const &)*arg2
);
8595 wxPyEndAllowThreads(__tstate
);
8596 if (PyErr_Occurred()) SWIG_fail
;
8598 Py_INCREF(Py_None
); resultobj
= Py_None
;
8613 static PyObject
*_wrap_LogTrace__SWIG_1(PyObject
*self
, PyObject
*args
) {
8614 PyObject
*resultobj
;
8615 wxString
*arg1
= 0 ;
8616 wxString
*arg2
= 0 ;
8617 bool temp1
= False
;
8618 bool temp2
= False
;
8619 PyObject
* obj0
= 0 ;
8620 PyObject
* obj1
= 0 ;
8622 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
8624 arg1
= wxString_in_helper(obj0
);
8625 if (arg1
== NULL
) SWIG_fail
;
8629 arg2
= wxString_in_helper(obj1
);
8630 if (arg2
== NULL
) SWIG_fail
;
8634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8635 wxLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
8637 wxPyEndAllowThreads(__tstate
);
8638 if (PyErr_Occurred()) SWIG_fail
;
8640 Py_INCREF(Py_None
); resultobj
= Py_None
;
8663 static PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
) {
8668 argc
= PyObject_Length(args
);
8669 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
8670 argv
[ii
] = PyTuple_GetItem(args
,ii
);
8675 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
8679 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
8682 return _wrap_LogTrace__SWIG_1(self
,args
);
8688 _v
= SWIG_CheckUnsignedLong(argv
[0]);
8691 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
8694 return _wrap_LogTrace__SWIG_0(self
,args
);
8699 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'LogTrace'");
8704 static PyObject
*_wrap_LogGeneric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8705 PyObject
*resultobj
;
8706 unsigned long arg1
;
8707 wxString
*arg2
= 0 ;
8708 bool temp2
= False
;
8709 PyObject
* obj0
= 0 ;
8710 PyObject
* obj1
= 0 ;
8712 (char *) "level",(char *) "msg", NULL
8715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) goto fail
;
8716 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
8717 if (PyErr_Occurred()) SWIG_fail
;
8719 arg2
= wxString_in_helper(obj1
);
8720 if (arg2
== NULL
) SWIG_fail
;
8724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8725 wxLogGeneric(arg1
,(wxString
const &)*arg2
);
8727 wxPyEndAllowThreads(__tstate
);
8728 if (PyErr_Occurred()) SWIG_fail
;
8730 Py_INCREF(Py_None
); resultobj
= Py_None
;
8745 static PyObject
*_wrap_SafeShowMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8746 PyObject
*resultobj
;
8747 wxString
*arg1
= 0 ;
8748 wxString
*arg2
= 0 ;
8749 bool temp1
= False
;
8750 bool temp2
= False
;
8751 PyObject
* obj0
= 0 ;
8752 PyObject
* obj1
= 0 ;
8754 (char *) "title",(char *) "text", NULL
8757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
8759 arg1
= wxString_in_helper(obj0
);
8760 if (arg1
== NULL
) SWIG_fail
;
8764 arg2
= wxString_in_helper(obj1
);
8765 if (arg2
== NULL
) SWIG_fail
;
8769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8770 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
8772 wxPyEndAllowThreads(__tstate
);
8773 if (PyErr_Occurred()) SWIG_fail
;
8775 Py_INCREF(Py_None
); resultobj
= Py_None
;
8798 static PyObject
*_wrap_new_LogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8799 PyObject
*resultobj
;
8805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogNull",kwnames
)) goto fail
;
8807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8808 result
= (wxLogNull
*)new wxLogNull();
8810 wxPyEndAllowThreads(__tstate
);
8811 if (PyErr_Occurred()) SWIG_fail
;
8813 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogNull
, 1);
8820 static PyObject
*_wrap_delete_LogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8821 PyObject
*resultobj
;
8822 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
8823 PyObject
* obj0
= 0 ;
8825 (char *) "self", NULL
8828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LogNull",kwnames
,&obj0
)) goto fail
;
8829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogNull
,
8830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8835 wxPyEndAllowThreads(__tstate
);
8836 if (PyErr_Occurred()) SWIG_fail
;
8838 Py_INCREF(Py_None
); resultobj
= Py_None
;
8845 static PyObject
* LogNull_swigregister(PyObject
*self
, PyObject
*args
) {
8847 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8848 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull
, obj
);
8850 return Py_BuildValue((char *)"");
8852 static PyObject
*_wrap_new_PyLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8853 PyObject
*resultobj
;
8859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyLog",kwnames
)) goto fail
;
8861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8862 result
= (wxPyLog
*)new wxPyLog();
8864 wxPyEndAllowThreads(__tstate
);
8865 if (PyErr_Occurred()) SWIG_fail
;
8867 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyLog
, 1);
8874 static PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8875 PyObject
*resultobj
;
8876 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
8877 PyObject
*arg2
= (PyObject
*) 0 ;
8878 PyObject
*arg3
= (PyObject
*) 0 ;
8879 PyObject
* obj0
= 0 ;
8880 PyObject
* obj1
= 0 ;
8881 PyObject
* obj2
= 0 ;
8883 (char *) "self",(char *) "self",(char *) "_class", NULL
8886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLog
,
8888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8893 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8895 wxPyEndAllowThreads(__tstate
);
8896 if (PyErr_Occurred()) SWIG_fail
;
8898 Py_INCREF(Py_None
); resultobj
= Py_None
;
8905 static PyObject
* PyLog_swigregister(PyObject
*self
, PyObject
*args
) {
8907 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8908 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog
, obj
);
8910 return Py_BuildValue((char *)"");
8912 static PyObject
*_wrap_Process_Kill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8913 PyObject
*resultobj
;
8915 int arg2
= (int) wxSIGTERM
;
8917 PyObject
* obj0
= 0 ;
8918 PyObject
* obj1
= 0 ;
8920 (char *) "pid",(char *) "sig", NULL
8923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Kill",kwnames
,&obj0
,&obj1
)) goto fail
;
8924 arg1
= (int) SWIG_AsInt(obj0
);
8925 if (PyErr_Occurred()) SWIG_fail
;
8927 arg2
= (wxSignal
) SWIG_AsInt(obj1
);
8928 if (PyErr_Occurred()) SWIG_fail
;
8931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8932 result
= (int)wxPyProcess::Kill(arg1
,(wxSignal
)arg2
);
8934 wxPyEndAllowThreads(__tstate
);
8935 if (PyErr_Occurred()) SWIG_fail
;
8937 resultobj
= SWIG_FromInt((int)result
);
8944 static PyObject
*_wrap_Process_Exists(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8945 PyObject
*resultobj
;
8948 PyObject
* obj0
= 0 ;
8950 (char *) "pid", NULL
8953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Exists",kwnames
,&obj0
)) goto fail
;
8954 arg1
= (int) SWIG_AsInt(obj0
);
8955 if (PyErr_Occurred()) SWIG_fail
;
8957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8958 result
= (bool)wxPyProcess::Exists(arg1
);
8960 wxPyEndAllowThreads(__tstate
);
8961 if (PyErr_Occurred()) SWIG_fail
;
8964 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8972 static PyObject
*_wrap_Process_Open(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8973 PyObject
*resultobj
;
8974 wxString
*arg1
= 0 ;
8975 int arg2
= (int) wxEXEC_ASYNC
;
8976 wxPyProcess
*result
;
8977 bool temp1
= False
;
8978 PyObject
* obj0
= 0 ;
8979 PyObject
* obj1
= 0 ;
8981 (char *) "cmd",(char *) "flags", NULL
8984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Open",kwnames
,&obj0
,&obj1
)) goto fail
;
8986 arg1
= wxString_in_helper(obj0
);
8987 if (arg1
== NULL
) SWIG_fail
;
8991 arg2
= (int) SWIG_AsInt(obj1
);
8992 if (PyErr_Occurred()) SWIG_fail
;
8995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8996 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
8998 wxPyEndAllowThreads(__tstate
);
8999 if (PyErr_Occurred()) SWIG_fail
;
9001 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 0);
9016 static PyObject
*_wrap_new_Process(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9017 PyObject
*resultobj
;
9018 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
9019 int arg2
= (int) -1 ;
9020 wxPyProcess
*result
;
9021 PyObject
* obj0
= 0 ;
9022 PyObject
* obj1
= 0 ;
9024 (char *) "parent",(char *) "id", NULL
9027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Process",kwnames
,&obj0
,&obj1
)) goto fail
;
9029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
9030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9033 arg2
= (int) SWIG_AsInt(obj1
);
9034 if (PyErr_Occurred()) SWIG_fail
;
9037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9038 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
9040 wxPyEndAllowThreads(__tstate
);
9041 if (PyErr_Occurred()) SWIG_fail
;
9043 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 1);
9050 static PyObject
*_wrap_Process__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9051 PyObject
*resultobj
;
9052 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9053 PyObject
*arg2
= (PyObject
*) 0 ;
9054 PyObject
*arg3
= (PyObject
*) 0 ;
9055 PyObject
* obj0
= 0 ;
9056 PyObject
* obj1
= 0 ;
9057 PyObject
* obj2
= 0 ;
9059 (char *) "self",(char *) "self",(char *) "_class", NULL
9062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9069 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9071 wxPyEndAllowThreads(__tstate
);
9072 if (PyErr_Occurred()) SWIG_fail
;
9074 Py_INCREF(Py_None
); resultobj
= Py_None
;
9081 static PyObject
*_wrap_Process_base_OnTerminate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9082 PyObject
*resultobj
;
9083 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9086 PyObject
* obj0
= 0 ;
9087 PyObject
* obj1
= 0 ;
9088 PyObject
* obj2
= 0 ;
9090 (char *) "self",(char *) "pid",(char *) "status", NULL
9093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process_base_OnTerminate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9096 arg2
= (int) SWIG_AsInt(obj1
);
9097 if (PyErr_Occurred()) SWIG_fail
;
9098 arg3
= (int) SWIG_AsInt(obj2
);
9099 if (PyErr_Occurred()) SWIG_fail
;
9101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9102 (arg1
)->base_OnTerminate(arg2
,arg3
);
9104 wxPyEndAllowThreads(__tstate
);
9105 if (PyErr_Occurred()) SWIG_fail
;
9107 Py_INCREF(Py_None
); resultobj
= Py_None
;
9114 static PyObject
*_wrap_Process_Redirect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9115 PyObject
*resultobj
;
9116 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9117 PyObject
* obj0
= 0 ;
9119 (char *) "self", NULL
9122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Redirect",kwnames
,&obj0
)) goto fail
;
9123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9129 wxPyEndAllowThreads(__tstate
);
9130 if (PyErr_Occurred()) SWIG_fail
;
9132 Py_INCREF(Py_None
); resultobj
= Py_None
;
9139 static PyObject
*_wrap_Process_IsRedirected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9140 PyObject
*resultobj
;
9141 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9143 PyObject
* obj0
= 0 ;
9145 (char *) "self", NULL
9148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsRedirected",kwnames
,&obj0
)) goto fail
;
9149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9153 result
= (bool)(arg1
)->IsRedirected();
9155 wxPyEndAllowThreads(__tstate
);
9156 if (PyErr_Occurred()) SWIG_fail
;
9159 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9167 static PyObject
*_wrap_Process_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9168 PyObject
*resultobj
;
9169 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9170 PyObject
* obj0
= 0 ;
9172 (char *) "self", NULL
9175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Detach",kwnames
,&obj0
)) goto fail
;
9176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9182 wxPyEndAllowThreads(__tstate
);
9183 if (PyErr_Occurred()) SWIG_fail
;
9185 Py_INCREF(Py_None
); resultobj
= Py_None
;
9192 static PyObject
*_wrap_Process_GetInputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9193 PyObject
*resultobj
;
9194 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9195 wxInputStream
*result
;
9196 PyObject
* obj0
= 0 ;
9198 (char *) "self", NULL
9201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetInputStream",kwnames
,&obj0
)) goto fail
;
9202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9206 result
= (wxInputStream
*)(arg1
)->GetInputStream();
9208 wxPyEndAllowThreads(__tstate
);
9209 if (PyErr_Occurred()) SWIG_fail
;
9212 wxPyInputStream
* _ptr
= NULL
;
9215 _ptr
= new wxPyInputStream(result
);
9217 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
9225 static PyObject
*_wrap_Process_GetErrorStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9226 PyObject
*resultobj
;
9227 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9228 wxInputStream
*result
;
9229 PyObject
* obj0
= 0 ;
9231 (char *) "self", NULL
9234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetErrorStream",kwnames
,&obj0
)) goto fail
;
9235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9239 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
9241 wxPyEndAllowThreads(__tstate
);
9242 if (PyErr_Occurred()) SWIG_fail
;
9245 wxPyInputStream
* _ptr
= NULL
;
9248 _ptr
= new wxPyInputStream(result
);
9250 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
9258 static PyObject
*_wrap_Process_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9259 PyObject
*resultobj
;
9260 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9261 wxOutputStream
*result
;
9262 PyObject
* obj0
= 0 ;
9264 (char *) "self", NULL
9267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetOutputStream",kwnames
,&obj0
)) goto fail
;
9268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9272 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
9274 wxPyEndAllowThreads(__tstate
);
9275 if (PyErr_Occurred()) SWIG_fail
;
9277 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
9284 static PyObject
*_wrap_Process_CloseOutput(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9285 PyObject
*resultobj
;
9286 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9287 PyObject
* obj0
= 0 ;
9289 (char *) "self", NULL
9292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_CloseOutput",kwnames
,&obj0
)) goto fail
;
9293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9297 (arg1
)->CloseOutput();
9299 wxPyEndAllowThreads(__tstate
);
9300 if (PyErr_Occurred()) SWIG_fail
;
9302 Py_INCREF(Py_None
); resultobj
= Py_None
;
9309 static PyObject
*_wrap_Process_IsInputOpened(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9310 PyObject
*resultobj
;
9311 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9313 PyObject
* obj0
= 0 ;
9315 (char *) "self", NULL
9318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputOpened",kwnames
,&obj0
)) goto fail
;
9319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9323 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
9325 wxPyEndAllowThreads(__tstate
);
9326 if (PyErr_Occurred()) SWIG_fail
;
9329 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9337 static PyObject
*_wrap_Process_IsInputAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9338 PyObject
*resultobj
;
9339 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9341 PyObject
* obj0
= 0 ;
9343 (char *) "self", NULL
9346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputAvailable",kwnames
,&obj0
)) goto fail
;
9347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9351 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
9353 wxPyEndAllowThreads(__tstate
);
9354 if (PyErr_Occurred()) SWIG_fail
;
9357 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9365 static PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9366 PyObject
*resultobj
;
9367 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9369 PyObject
* obj0
= 0 ;
9371 (char *) "self", NULL
9374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsErrorAvailable",kwnames
,&obj0
)) goto fail
;
9375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9379 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
9381 wxPyEndAllowThreads(__tstate
);
9382 if (PyErr_Occurred()) SWIG_fail
;
9385 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9393 static PyObject
* Process_swigregister(PyObject
*self
, PyObject
*args
) {
9395 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9396 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess
, obj
);
9398 return Py_BuildValue((char *)"");
9400 static PyObject
*_wrap_new_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9401 PyObject
*resultobj
;
9402 int arg1
= (int) 0 ;
9403 int arg2
= (int) 0 ;
9404 int arg3
= (int) 0 ;
9405 wxProcessEvent
*result
;
9406 PyObject
* obj0
= 0 ;
9407 PyObject
* obj1
= 0 ;
9408 PyObject
* obj2
= 0 ;
9410 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
9413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ProcessEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9415 arg1
= (int) SWIG_AsInt(obj0
);
9416 if (PyErr_Occurred()) SWIG_fail
;
9419 arg2
= (int) SWIG_AsInt(obj1
);
9420 if (PyErr_Occurred()) SWIG_fail
;
9423 arg3
= (int) SWIG_AsInt(obj2
);
9424 if (PyErr_Occurred()) SWIG_fail
;
9427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9428 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
9430 wxPyEndAllowThreads(__tstate
);
9431 if (PyErr_Occurred()) SWIG_fail
;
9433 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProcessEvent
, 1);
9440 static PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9441 PyObject
*resultobj
;
9442 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9444 PyObject
* obj0
= 0 ;
9446 (char *) "self", NULL
9449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetPid",kwnames
,&obj0
)) goto fail
;
9450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9454 result
= (int)(arg1
)->GetPid();
9456 wxPyEndAllowThreads(__tstate
);
9457 if (PyErr_Occurred()) SWIG_fail
;
9459 resultobj
= SWIG_FromInt((int)result
);
9466 static PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9467 PyObject
*resultobj
;
9468 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9470 PyObject
* obj0
= 0 ;
9472 (char *) "self", NULL
9475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetExitCode",kwnames
,&obj0
)) goto fail
;
9476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9480 result
= (int)(arg1
)->GetExitCode();
9482 wxPyEndAllowThreads(__tstate
);
9483 if (PyErr_Occurred()) SWIG_fail
;
9485 resultobj
= SWIG_FromInt((int)result
);
9492 static PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9493 PyObject
*resultobj
;
9494 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9496 PyObject
* obj0
= 0 ;
9497 PyObject
* obj1
= 0 ;
9499 (char *) "self",(char *) "m_pid", NULL
9502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_pid_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9505 arg2
= (int) SWIG_AsInt(obj1
);
9506 if (PyErr_Occurred()) SWIG_fail
;
9507 if (arg1
) (arg1
)->m_pid
= arg2
;
9509 Py_INCREF(Py_None
); resultobj
= Py_None
;
9516 static PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9517 PyObject
*resultobj
;
9518 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9520 PyObject
* obj0
= 0 ;
9522 (char *) "self", NULL
9525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_pid_get",kwnames
,&obj0
)) goto fail
;
9526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9528 result
= (int) ((arg1
)->m_pid
);
9530 resultobj
= SWIG_FromInt((int)result
);
9537 static PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9538 PyObject
*resultobj
;
9539 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9541 PyObject
* obj0
= 0 ;
9542 PyObject
* obj1
= 0 ;
9544 (char *) "self",(char *) "m_exitcode", NULL
9547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9550 arg2
= (int) SWIG_AsInt(obj1
);
9551 if (PyErr_Occurred()) SWIG_fail
;
9552 if (arg1
) (arg1
)->m_exitcode
= arg2
;
9554 Py_INCREF(Py_None
); resultobj
= Py_None
;
9561 static PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9562 PyObject
*resultobj
;
9563 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9565 PyObject
* obj0
= 0 ;
9567 (char *) "self", NULL
9570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_exitcode_get",kwnames
,&obj0
)) goto fail
;
9571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9573 result
= (int) ((arg1
)->m_exitcode
);
9575 resultobj
= SWIG_FromInt((int)result
);
9582 static PyObject
* ProcessEvent_swigregister(PyObject
*self
, PyObject
*args
) {
9584 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9585 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent
, obj
);
9587 return Py_BuildValue((char *)"");
9589 static PyObject
*_wrap_Execute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9590 PyObject
*resultobj
;
9591 wxString
*arg1
= 0 ;
9592 int arg2
= (int) wxEXEC_ASYNC
;
9593 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
9595 bool temp1
= False
;
9596 PyObject
* obj0
= 0 ;
9597 PyObject
* obj1
= 0 ;
9598 PyObject
* obj2
= 0 ;
9600 (char *) "command",(char *) "flags",(char *) "process", NULL
9603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Execute",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9605 arg1
= wxString_in_helper(obj0
);
9606 if (arg1
== NULL
) SWIG_fail
;
9610 arg2
= (int) SWIG_AsInt(obj1
);
9611 if (PyErr_Occurred()) SWIG_fail
;
9614 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyProcess
,
9615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9618 if (!wxPyCheckForApp()) SWIG_fail
;
9619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9620 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
9622 wxPyEndAllowThreads(__tstate
);
9623 if (PyErr_Occurred()) SWIG_fail
;
9625 resultobj
= SWIG_FromLong((long)result
);
9640 static PyObject
*_wrap_new_Joystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9641 PyObject
*resultobj
;
9642 int arg1
= (int) wxJOYSTICK1
;
9644 PyObject
* obj0
= 0 ;
9646 (char *) "joystick", NULL
9649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Joystick",kwnames
,&obj0
)) goto fail
;
9651 arg1
= (int) SWIG_AsInt(obj0
);
9652 if (PyErr_Occurred()) SWIG_fail
;
9655 if (!wxPyCheckForApp()) SWIG_fail
;
9656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9657 result
= (wxJoystick
*)new wxJoystick(arg1
);
9659 wxPyEndAllowThreads(__tstate
);
9660 if (PyErr_Occurred()) SWIG_fail
;
9662 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystick
, 1);
9669 static PyObject
*_wrap_delete_Joystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9670 PyObject
*resultobj
;
9671 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9672 PyObject
* obj0
= 0 ;
9674 (char *) "self", NULL
9677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Joystick",kwnames
,&obj0
)) goto fail
;
9678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9684 wxPyEndAllowThreads(__tstate
);
9685 if (PyErr_Occurred()) SWIG_fail
;
9687 Py_INCREF(Py_None
); resultobj
= Py_None
;
9694 static PyObject
*_wrap_Joystick_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9695 PyObject
*resultobj
;
9696 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9698 PyObject
* obj0
= 0 ;
9700 (char *) "self", NULL
9703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPosition",kwnames
,&obj0
)) goto fail
;
9704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9708 result
= (arg1
)->GetPosition();
9710 wxPyEndAllowThreads(__tstate
);
9711 if (PyErr_Occurred()) SWIG_fail
;
9714 wxPoint
* resultptr
;
9715 resultptr
= new wxPoint((wxPoint
&) result
);
9716 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
9724 static PyObject
*_wrap_Joystick_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9725 PyObject
*resultobj
;
9726 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9728 PyObject
* obj0
= 0 ;
9730 (char *) "self", NULL
9733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZPosition",kwnames
,&obj0
)) goto fail
;
9734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9738 result
= (int)(arg1
)->GetZPosition();
9740 wxPyEndAllowThreads(__tstate
);
9741 if (PyErr_Occurred()) SWIG_fail
;
9743 resultobj
= SWIG_FromInt((int)result
);
9750 static PyObject
*_wrap_Joystick_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9751 PyObject
*resultobj
;
9752 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9754 PyObject
* obj0
= 0 ;
9756 (char *) "self", NULL
9759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetButtonState",kwnames
,&obj0
)) goto fail
;
9760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9764 result
= (int)(arg1
)->GetButtonState();
9766 wxPyEndAllowThreads(__tstate
);
9767 if (PyErr_Occurred()) SWIG_fail
;
9769 resultobj
= SWIG_FromInt((int)result
);
9776 static PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9777 PyObject
*resultobj
;
9778 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9780 PyObject
* obj0
= 0 ;
9782 (char *) "self", NULL
9785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVPosition",kwnames
,&obj0
)) goto fail
;
9786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9790 result
= (int)(arg1
)->GetPOVPosition();
9792 wxPyEndAllowThreads(__tstate
);
9793 if (PyErr_Occurred()) SWIG_fail
;
9795 resultobj
= SWIG_FromInt((int)result
);
9802 static PyObject
*_wrap_Joystick_GetPOVCTSPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9803 PyObject
*resultobj
;
9804 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9806 PyObject
* obj0
= 0 ;
9808 (char *) "self", NULL
9811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVCTSPosition",kwnames
,&obj0
)) goto fail
;
9812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9816 result
= (int)(arg1
)->GetPOVCTSPosition();
9818 wxPyEndAllowThreads(__tstate
);
9819 if (PyErr_Occurred()) SWIG_fail
;
9821 resultobj
= SWIG_FromInt((int)result
);
9828 static PyObject
*_wrap_Joystick_GetRudderPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9829 PyObject
*resultobj
;
9830 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9832 PyObject
* obj0
= 0 ;
9834 (char *) "self", NULL
9837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderPosition",kwnames
,&obj0
)) goto fail
;
9838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9842 result
= (int)(arg1
)->GetRudderPosition();
9844 wxPyEndAllowThreads(__tstate
);
9845 if (PyErr_Occurred()) SWIG_fail
;
9847 resultobj
= SWIG_FromInt((int)result
);
9854 static PyObject
*_wrap_Joystick_GetUPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9855 PyObject
*resultobj
;
9856 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9858 PyObject
* obj0
= 0 ;
9860 (char *) "self", NULL
9863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUPosition",kwnames
,&obj0
)) goto fail
;
9864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9868 result
= (int)(arg1
)->GetUPosition();
9870 wxPyEndAllowThreads(__tstate
);
9871 if (PyErr_Occurred()) SWIG_fail
;
9873 resultobj
= SWIG_FromInt((int)result
);
9880 static PyObject
*_wrap_Joystick_GetVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9881 PyObject
*resultobj
;
9882 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9884 PyObject
* obj0
= 0 ;
9886 (char *) "self", NULL
9889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVPosition",kwnames
,&obj0
)) goto fail
;
9890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9894 result
= (int)(arg1
)->GetVPosition();
9896 wxPyEndAllowThreads(__tstate
);
9897 if (PyErr_Occurred()) SWIG_fail
;
9899 resultobj
= SWIG_FromInt((int)result
);
9906 static PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9907 PyObject
*resultobj
;
9908 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9910 PyObject
* obj0
= 0 ;
9912 (char *) "self", NULL
9915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMovementThreshold",kwnames
,&obj0
)) goto fail
;
9916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9920 result
= (int)(arg1
)->GetMovementThreshold();
9922 wxPyEndAllowThreads(__tstate
);
9923 if (PyErr_Occurred()) SWIG_fail
;
9925 resultobj
= SWIG_FromInt((int)result
);
9932 static PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9933 PyObject
*resultobj
;
9934 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9936 PyObject
* obj0
= 0 ;
9937 PyObject
* obj1
= 0 ;
9939 (char *) "self",(char *) "threshold", NULL
9942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Joystick_SetMovementThreshold",kwnames
,&obj0
,&obj1
)) goto fail
;
9943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9945 arg2
= (int) SWIG_AsInt(obj1
);
9946 if (PyErr_Occurred()) SWIG_fail
;
9948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9949 (arg1
)->SetMovementThreshold(arg2
);
9951 wxPyEndAllowThreads(__tstate
);
9952 if (PyErr_Occurred()) SWIG_fail
;
9954 Py_INCREF(Py_None
); resultobj
= Py_None
;
9961 static PyObject
*_wrap_Joystick_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9962 PyObject
*resultobj
;
9963 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9965 PyObject
* obj0
= 0 ;
9967 (char *) "self", NULL
9970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_IsOk",kwnames
,&obj0
)) goto fail
;
9971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9975 result
= (bool)(arg1
)->IsOk();
9977 wxPyEndAllowThreads(__tstate
);
9978 if (PyErr_Occurred()) SWIG_fail
;
9981 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9989 static PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9990 PyObject
*resultobj
;
9991 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9993 PyObject
* obj0
= 0 ;
9995 (char *) "self", NULL
9998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberJoysticks",kwnames
,&obj0
)) goto fail
;
9999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10003 result
= (int)(arg1
)->GetNumberJoysticks();
10005 wxPyEndAllowThreads(__tstate
);
10006 if (PyErr_Occurred()) SWIG_fail
;
10008 resultobj
= SWIG_FromInt((int)result
);
10015 static PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10016 PyObject
*resultobj
;
10017 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10019 PyObject
* obj0
= 0 ;
10020 char *kwnames
[] = {
10021 (char *) "self", NULL
10024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetManufacturerId",kwnames
,&obj0
)) goto fail
;
10025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10029 result
= (int)(arg1
)->GetManufacturerId();
10031 wxPyEndAllowThreads(__tstate
);
10032 if (PyErr_Occurred()) SWIG_fail
;
10034 resultobj
= SWIG_FromInt((int)result
);
10041 static PyObject
*_wrap_Joystick_GetProductId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10042 PyObject
*resultobj
;
10043 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10045 PyObject
* obj0
= 0 ;
10046 char *kwnames
[] = {
10047 (char *) "self", NULL
10050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductId",kwnames
,&obj0
)) goto fail
;
10051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10055 result
= (int)(arg1
)->GetProductId();
10057 wxPyEndAllowThreads(__tstate
);
10058 if (PyErr_Occurred()) SWIG_fail
;
10060 resultobj
= SWIG_FromInt((int)result
);
10067 static PyObject
*_wrap_Joystick_GetProductName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10068 PyObject
*resultobj
;
10069 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10071 PyObject
* obj0
= 0 ;
10072 char *kwnames
[] = {
10073 (char *) "self", NULL
10076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductName",kwnames
,&obj0
)) goto fail
;
10077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10081 result
= (arg1
)->GetProductName();
10083 wxPyEndAllowThreads(__tstate
);
10084 if (PyErr_Occurred()) SWIG_fail
;
10088 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10090 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10099 static PyObject
*_wrap_Joystick_GetXMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10100 PyObject
*resultobj
;
10101 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10103 PyObject
* obj0
= 0 ;
10104 char *kwnames
[] = {
10105 (char *) "self", NULL
10108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMin",kwnames
,&obj0
)) goto fail
;
10109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10113 result
= (int)(arg1
)->GetXMin();
10115 wxPyEndAllowThreads(__tstate
);
10116 if (PyErr_Occurred()) SWIG_fail
;
10118 resultobj
= SWIG_FromInt((int)result
);
10125 static PyObject
*_wrap_Joystick_GetYMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10126 PyObject
*resultobj
;
10127 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10129 PyObject
* obj0
= 0 ;
10130 char *kwnames
[] = {
10131 (char *) "self", NULL
10134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMin",kwnames
,&obj0
)) goto fail
;
10135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10139 result
= (int)(arg1
)->GetYMin();
10141 wxPyEndAllowThreads(__tstate
);
10142 if (PyErr_Occurred()) SWIG_fail
;
10144 resultobj
= SWIG_FromInt((int)result
);
10151 static PyObject
*_wrap_Joystick_GetZMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10152 PyObject
*resultobj
;
10153 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10155 PyObject
* obj0
= 0 ;
10156 char *kwnames
[] = {
10157 (char *) "self", NULL
10160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMin",kwnames
,&obj0
)) goto fail
;
10161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10165 result
= (int)(arg1
)->GetZMin();
10167 wxPyEndAllowThreads(__tstate
);
10168 if (PyErr_Occurred()) SWIG_fail
;
10170 resultobj
= SWIG_FromInt((int)result
);
10177 static PyObject
*_wrap_Joystick_GetXMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10178 PyObject
*resultobj
;
10179 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10181 PyObject
* obj0
= 0 ;
10182 char *kwnames
[] = {
10183 (char *) "self", NULL
10186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMax",kwnames
,&obj0
)) goto fail
;
10187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10191 result
= (int)(arg1
)->GetXMax();
10193 wxPyEndAllowThreads(__tstate
);
10194 if (PyErr_Occurred()) SWIG_fail
;
10196 resultobj
= SWIG_FromInt((int)result
);
10203 static PyObject
*_wrap_Joystick_GetYMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10204 PyObject
*resultobj
;
10205 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10207 PyObject
* obj0
= 0 ;
10208 char *kwnames
[] = {
10209 (char *) "self", NULL
10212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMax",kwnames
,&obj0
)) goto fail
;
10213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10217 result
= (int)(arg1
)->GetYMax();
10219 wxPyEndAllowThreads(__tstate
);
10220 if (PyErr_Occurred()) SWIG_fail
;
10222 resultobj
= SWIG_FromInt((int)result
);
10229 static PyObject
*_wrap_Joystick_GetZMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10230 PyObject
*resultobj
;
10231 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10233 PyObject
* obj0
= 0 ;
10234 char *kwnames
[] = {
10235 (char *) "self", NULL
10238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMax",kwnames
,&obj0
)) goto fail
;
10239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10243 result
= (int)(arg1
)->GetZMax();
10245 wxPyEndAllowThreads(__tstate
);
10246 if (PyErr_Occurred()) SWIG_fail
;
10248 resultobj
= SWIG_FromInt((int)result
);
10255 static PyObject
*_wrap_Joystick_GetNumberButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10256 PyObject
*resultobj
;
10257 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10259 PyObject
* obj0
= 0 ;
10260 char *kwnames
[] = {
10261 (char *) "self", NULL
10264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberButtons",kwnames
,&obj0
)) goto fail
;
10265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10269 result
= (int)(arg1
)->GetNumberButtons();
10271 wxPyEndAllowThreads(__tstate
);
10272 if (PyErr_Occurred()) SWIG_fail
;
10274 resultobj
= SWIG_FromInt((int)result
);
10281 static PyObject
*_wrap_Joystick_GetNumberAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10282 PyObject
*resultobj
;
10283 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10285 PyObject
* obj0
= 0 ;
10286 char *kwnames
[] = {
10287 (char *) "self", NULL
10290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberAxes",kwnames
,&obj0
)) goto fail
;
10291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10295 result
= (int)(arg1
)->GetNumberAxes();
10297 wxPyEndAllowThreads(__tstate
);
10298 if (PyErr_Occurred()) SWIG_fail
;
10300 resultobj
= SWIG_FromInt((int)result
);
10307 static PyObject
*_wrap_Joystick_GetMaxButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10308 PyObject
*resultobj
;
10309 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10311 PyObject
* obj0
= 0 ;
10312 char *kwnames
[] = {
10313 (char *) "self", NULL
10316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxButtons",kwnames
,&obj0
)) goto fail
;
10317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10321 result
= (int)(arg1
)->GetMaxButtons();
10323 wxPyEndAllowThreads(__tstate
);
10324 if (PyErr_Occurred()) SWIG_fail
;
10326 resultobj
= SWIG_FromInt((int)result
);
10333 static PyObject
*_wrap_Joystick_GetMaxAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10334 PyObject
*resultobj
;
10335 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10337 PyObject
* obj0
= 0 ;
10338 char *kwnames
[] = {
10339 (char *) "self", NULL
10342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxAxes",kwnames
,&obj0
)) goto fail
;
10343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10347 result
= (int)(arg1
)->GetMaxAxes();
10349 wxPyEndAllowThreads(__tstate
);
10350 if (PyErr_Occurred()) SWIG_fail
;
10352 resultobj
= SWIG_FromInt((int)result
);
10359 static PyObject
*_wrap_Joystick_GetPollingMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10360 PyObject
*resultobj
;
10361 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10363 PyObject
* obj0
= 0 ;
10364 char *kwnames
[] = {
10365 (char *) "self", NULL
10368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMin",kwnames
,&obj0
)) goto fail
;
10369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10373 result
= (int)(arg1
)->GetPollingMin();
10375 wxPyEndAllowThreads(__tstate
);
10376 if (PyErr_Occurred()) SWIG_fail
;
10378 resultobj
= SWIG_FromInt((int)result
);
10385 static PyObject
*_wrap_Joystick_GetPollingMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10386 PyObject
*resultobj
;
10387 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10389 PyObject
* obj0
= 0 ;
10390 char *kwnames
[] = {
10391 (char *) "self", NULL
10394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMax",kwnames
,&obj0
)) goto fail
;
10395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10399 result
= (int)(arg1
)->GetPollingMax();
10401 wxPyEndAllowThreads(__tstate
);
10402 if (PyErr_Occurred()) SWIG_fail
;
10404 resultobj
= SWIG_FromInt((int)result
);
10411 static PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10412 PyObject
*resultobj
;
10413 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10415 PyObject
* obj0
= 0 ;
10416 char *kwnames
[] = {
10417 (char *) "self", NULL
10420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMin",kwnames
,&obj0
)) goto fail
;
10421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10425 result
= (int)(arg1
)->GetRudderMin();
10427 wxPyEndAllowThreads(__tstate
);
10428 if (PyErr_Occurred()) SWIG_fail
;
10430 resultobj
= SWIG_FromInt((int)result
);
10437 static PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10438 PyObject
*resultobj
;
10439 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10441 PyObject
* obj0
= 0 ;
10442 char *kwnames
[] = {
10443 (char *) "self", NULL
10446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMax",kwnames
,&obj0
)) goto fail
;
10447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10451 result
= (int)(arg1
)->GetRudderMax();
10453 wxPyEndAllowThreads(__tstate
);
10454 if (PyErr_Occurred()) SWIG_fail
;
10456 resultobj
= SWIG_FromInt((int)result
);
10463 static PyObject
*_wrap_Joystick_GetUMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10464 PyObject
*resultobj
;
10465 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10467 PyObject
* obj0
= 0 ;
10468 char *kwnames
[] = {
10469 (char *) "self", NULL
10472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMin",kwnames
,&obj0
)) goto fail
;
10473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10477 result
= (int)(arg1
)->GetUMin();
10479 wxPyEndAllowThreads(__tstate
);
10480 if (PyErr_Occurred()) SWIG_fail
;
10482 resultobj
= SWIG_FromInt((int)result
);
10489 static PyObject
*_wrap_Joystick_GetUMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10490 PyObject
*resultobj
;
10491 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10493 PyObject
* obj0
= 0 ;
10494 char *kwnames
[] = {
10495 (char *) "self", NULL
10498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMax",kwnames
,&obj0
)) goto fail
;
10499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10503 result
= (int)(arg1
)->GetUMax();
10505 wxPyEndAllowThreads(__tstate
);
10506 if (PyErr_Occurred()) SWIG_fail
;
10508 resultobj
= SWIG_FromInt((int)result
);
10515 static PyObject
*_wrap_Joystick_GetVMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10516 PyObject
*resultobj
;
10517 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10519 PyObject
* obj0
= 0 ;
10520 char *kwnames
[] = {
10521 (char *) "self", NULL
10524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMin",kwnames
,&obj0
)) goto fail
;
10525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10529 result
= (int)(arg1
)->GetVMin();
10531 wxPyEndAllowThreads(__tstate
);
10532 if (PyErr_Occurred()) SWIG_fail
;
10534 resultobj
= SWIG_FromInt((int)result
);
10541 static PyObject
*_wrap_Joystick_GetVMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10542 PyObject
*resultobj
;
10543 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10545 PyObject
* obj0
= 0 ;
10546 char *kwnames
[] = {
10547 (char *) "self", NULL
10550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMax",kwnames
,&obj0
)) goto fail
;
10551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10555 result
= (int)(arg1
)->GetVMax();
10557 wxPyEndAllowThreads(__tstate
);
10558 if (PyErr_Occurred()) SWIG_fail
;
10560 resultobj
= SWIG_FromInt((int)result
);
10567 static PyObject
*_wrap_Joystick_HasRudder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10568 PyObject
*resultobj
;
10569 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10571 PyObject
* obj0
= 0 ;
10572 char *kwnames
[] = {
10573 (char *) "self", NULL
10576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasRudder",kwnames
,&obj0
)) goto fail
;
10577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10581 result
= (bool)(arg1
)->HasRudder();
10583 wxPyEndAllowThreads(__tstate
);
10584 if (PyErr_Occurred()) SWIG_fail
;
10587 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10595 static PyObject
*_wrap_Joystick_HasZ(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10596 PyObject
*resultobj
;
10597 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10599 PyObject
* obj0
= 0 ;
10600 char *kwnames
[] = {
10601 (char *) "self", NULL
10604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasZ",kwnames
,&obj0
)) goto fail
;
10605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10609 result
= (bool)(arg1
)->HasZ();
10611 wxPyEndAllowThreads(__tstate
);
10612 if (PyErr_Occurred()) SWIG_fail
;
10615 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10623 static PyObject
*_wrap_Joystick_HasU(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10624 PyObject
*resultobj
;
10625 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10627 PyObject
* obj0
= 0 ;
10628 char *kwnames
[] = {
10629 (char *) "self", NULL
10632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasU",kwnames
,&obj0
)) goto fail
;
10633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10637 result
= (bool)(arg1
)->HasU();
10639 wxPyEndAllowThreads(__tstate
);
10640 if (PyErr_Occurred()) SWIG_fail
;
10643 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10651 static PyObject
*_wrap_Joystick_HasV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10652 PyObject
*resultobj
;
10653 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10655 PyObject
* obj0
= 0 ;
10656 char *kwnames
[] = {
10657 (char *) "self", NULL
10660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasV",kwnames
,&obj0
)) goto fail
;
10661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10665 result
= (bool)(arg1
)->HasV();
10667 wxPyEndAllowThreads(__tstate
);
10668 if (PyErr_Occurred()) SWIG_fail
;
10671 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10679 static PyObject
*_wrap_Joystick_HasPOV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10680 PyObject
*resultobj
;
10681 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10683 PyObject
* obj0
= 0 ;
10684 char *kwnames
[] = {
10685 (char *) "self", NULL
10688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV",kwnames
,&obj0
)) goto fail
;
10689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10693 result
= (bool)(arg1
)->HasPOV();
10695 wxPyEndAllowThreads(__tstate
);
10696 if (PyErr_Occurred()) SWIG_fail
;
10699 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10707 static PyObject
*_wrap_Joystick_HasPOV4Dir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10708 PyObject
*resultobj
;
10709 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10711 PyObject
* obj0
= 0 ;
10712 char *kwnames
[] = {
10713 (char *) "self", NULL
10716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV4Dir",kwnames
,&obj0
)) goto fail
;
10717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10721 result
= (bool)(arg1
)->HasPOV4Dir();
10723 wxPyEndAllowThreads(__tstate
);
10724 if (PyErr_Occurred()) SWIG_fail
;
10727 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10735 static PyObject
*_wrap_Joystick_HasPOVCTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10736 PyObject
*resultobj
;
10737 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10739 PyObject
* obj0
= 0 ;
10740 char *kwnames
[] = {
10741 (char *) "self", NULL
10744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOVCTS",kwnames
,&obj0
)) goto fail
;
10745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10749 result
= (bool)(arg1
)->HasPOVCTS();
10751 wxPyEndAllowThreads(__tstate
);
10752 if (PyErr_Occurred()) SWIG_fail
;
10755 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10763 static PyObject
*_wrap_Joystick_SetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10764 PyObject
*resultobj
;
10765 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10766 wxWindow
*arg2
= (wxWindow
*) 0 ;
10767 int arg3
= (int) 0 ;
10769 PyObject
* obj0
= 0 ;
10770 PyObject
* obj1
= 0 ;
10771 PyObject
* obj2
= 0 ;
10772 char *kwnames
[] = {
10773 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
10776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10779 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10782 arg3
= (int) SWIG_AsInt(obj2
);
10783 if (PyErr_Occurred()) SWIG_fail
;
10786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10787 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
10789 wxPyEndAllowThreads(__tstate
);
10790 if (PyErr_Occurred()) SWIG_fail
;
10793 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10801 static PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10802 PyObject
*resultobj
;
10803 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10805 PyObject
* obj0
= 0 ;
10806 char *kwnames
[] = {
10807 (char *) "self", NULL
10810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_ReleaseCapture",kwnames
,&obj0
)) goto fail
;
10811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10815 result
= (bool)(arg1
)->ReleaseCapture();
10817 wxPyEndAllowThreads(__tstate
);
10818 if (PyErr_Occurred()) SWIG_fail
;
10821 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10829 static PyObject
* Joystick_swigregister(PyObject
*self
, PyObject
*args
) {
10831 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10832 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick
, obj
);
10834 return Py_BuildValue((char *)"");
10836 static PyObject
*_wrap_JoystickEvent_m_pos_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10837 PyObject
*resultobj
;
10838 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10839 wxPoint
*arg2
= (wxPoint
*) 0 ;
10840 PyObject
* obj0
= 0 ;
10841 PyObject
* obj1
= 0 ;
10842 char *kwnames
[] = {
10843 (char *) "self",(char *) "m_pos", NULL
10846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10849 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
10850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10851 if (arg1
) (arg1
)->m_pos
= *arg2
;
10853 Py_INCREF(Py_None
); resultobj
= Py_None
;
10860 static PyObject
*_wrap_JoystickEvent_m_pos_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10861 PyObject
*resultobj
;
10862 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10864 PyObject
* obj0
= 0 ;
10865 char *kwnames
[] = {
10866 (char *) "self", NULL
10869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
10870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10872 result
= (wxPoint
*)& ((arg1
)->m_pos
);
10874 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
10881 static PyObject
*_wrap_JoystickEvent_m_zPosition_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10882 PyObject
*resultobj
;
10883 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10885 PyObject
* obj0
= 0 ;
10886 PyObject
* obj1
= 0 ;
10887 char *kwnames
[] = {
10888 (char *) "self",(char *) "m_zPosition", NULL
10891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_zPosition_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10894 arg2
= (int) SWIG_AsInt(obj1
);
10895 if (PyErr_Occurred()) SWIG_fail
;
10896 if (arg1
) (arg1
)->m_zPosition
= arg2
;
10898 Py_INCREF(Py_None
); resultobj
= Py_None
;
10905 static PyObject
*_wrap_JoystickEvent_m_zPosition_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10906 PyObject
*resultobj
;
10907 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10909 PyObject
* obj0
= 0 ;
10910 char *kwnames
[] = {
10911 (char *) "self", NULL
10914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_zPosition_get",kwnames
,&obj0
)) goto fail
;
10915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10917 result
= (int) ((arg1
)->m_zPosition
);
10919 resultobj
= SWIG_FromInt((int)result
);
10926 static PyObject
*_wrap_JoystickEvent_m_buttonChange_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10927 PyObject
*resultobj
;
10928 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10930 PyObject
* obj0
= 0 ;
10931 PyObject
* obj1
= 0 ;
10932 char *kwnames
[] = {
10933 (char *) "self",(char *) "m_buttonChange", NULL
10936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonChange_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10939 arg2
= (int) SWIG_AsInt(obj1
);
10940 if (PyErr_Occurred()) SWIG_fail
;
10941 if (arg1
) (arg1
)->m_buttonChange
= arg2
;
10943 Py_INCREF(Py_None
); resultobj
= Py_None
;
10950 static PyObject
*_wrap_JoystickEvent_m_buttonChange_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10951 PyObject
*resultobj
;
10952 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10954 PyObject
* obj0
= 0 ;
10955 char *kwnames
[] = {
10956 (char *) "self", NULL
10959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonChange_get",kwnames
,&obj0
)) goto fail
;
10960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10962 result
= (int) ((arg1
)->m_buttonChange
);
10964 resultobj
= SWIG_FromInt((int)result
);
10971 static PyObject
*_wrap_JoystickEvent_m_buttonState_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10972 PyObject
*resultobj
;
10973 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10975 PyObject
* obj0
= 0 ;
10976 PyObject
* obj1
= 0 ;
10977 char *kwnames
[] = {
10978 (char *) "self",(char *) "m_buttonState", NULL
10981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonState_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10984 arg2
= (int) SWIG_AsInt(obj1
);
10985 if (PyErr_Occurred()) SWIG_fail
;
10986 if (arg1
) (arg1
)->m_buttonState
= arg2
;
10988 Py_INCREF(Py_None
); resultobj
= Py_None
;
10995 static PyObject
*_wrap_JoystickEvent_m_buttonState_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10996 PyObject
*resultobj
;
10997 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10999 PyObject
* obj0
= 0 ;
11000 char *kwnames
[] = {
11001 (char *) "self", NULL
11004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonState_get",kwnames
,&obj0
)) goto fail
;
11005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11007 result
= (int) ((arg1
)->m_buttonState
);
11009 resultobj
= SWIG_FromInt((int)result
);
11016 static PyObject
*_wrap_JoystickEvent_m_joyStick_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11017 PyObject
*resultobj
;
11018 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11020 PyObject
* obj0
= 0 ;
11021 PyObject
* obj1
= 0 ;
11022 char *kwnames
[] = {
11023 (char *) "self",(char *) "m_joyStick", NULL
11026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_joyStick_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11029 arg2
= (int) SWIG_AsInt(obj1
);
11030 if (PyErr_Occurred()) SWIG_fail
;
11031 if (arg1
) (arg1
)->m_joyStick
= arg2
;
11033 Py_INCREF(Py_None
); resultobj
= Py_None
;
11040 static PyObject
*_wrap_JoystickEvent_m_joyStick_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11041 PyObject
*resultobj
;
11042 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11044 PyObject
* obj0
= 0 ;
11045 char *kwnames
[] = {
11046 (char *) "self", NULL
11049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_joyStick_get",kwnames
,&obj0
)) goto fail
;
11050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11052 result
= (int) ((arg1
)->m_joyStick
);
11054 resultobj
= SWIG_FromInt((int)result
);
11061 static PyObject
*_wrap_new_JoystickEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11062 PyObject
*resultobj
;
11063 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11064 int arg2
= (int) 0 ;
11065 int arg3
= (int) wxJOYSTICK1
;
11066 int arg4
= (int) 0 ;
11067 wxJoystickEvent
*result
;
11068 PyObject
* obj0
= 0 ;
11069 PyObject
* obj1
= 0 ;
11070 PyObject
* obj2
= 0 ;
11071 PyObject
* obj3
= 0 ;
11072 char *kwnames
[] = {
11073 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
11076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_JoystickEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11078 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
11079 if (PyErr_Occurred()) SWIG_fail
;
11082 arg2
= (int) SWIG_AsInt(obj1
);
11083 if (PyErr_Occurred()) SWIG_fail
;
11086 arg3
= (int) SWIG_AsInt(obj2
);
11087 if (PyErr_Occurred()) SWIG_fail
;
11090 arg4
= (int) SWIG_AsInt(obj3
);
11091 if (PyErr_Occurred()) SWIG_fail
;
11094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11095 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
11097 wxPyEndAllowThreads(__tstate
);
11098 if (PyErr_Occurred()) SWIG_fail
;
11100 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystickEvent
, 1);
11107 static PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11108 PyObject
*resultobj
;
11109 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11111 PyObject
* obj0
= 0 ;
11112 char *kwnames
[] = {
11113 (char *) "self", NULL
11116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
11117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11121 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
11123 wxPyEndAllowThreads(__tstate
);
11124 if (PyErr_Occurred()) SWIG_fail
;
11127 wxPoint
* resultptr
;
11128 resultptr
= new wxPoint((wxPoint
&) result
);
11129 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
11137 static PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11138 PyObject
*resultobj
;
11139 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11141 PyObject
* obj0
= 0 ;
11142 char *kwnames
[] = {
11143 (char *) "self", NULL
11146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetZPosition",kwnames
,&obj0
)) goto fail
;
11147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11151 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
11153 wxPyEndAllowThreads(__tstate
);
11154 if (PyErr_Occurred()) SWIG_fail
;
11156 resultobj
= SWIG_FromInt((int)result
);
11163 static PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11164 PyObject
*resultobj
;
11165 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11167 PyObject
* obj0
= 0 ;
11168 char *kwnames
[] = {
11169 (char *) "self", NULL
11172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonState",kwnames
,&obj0
)) goto fail
;
11173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11177 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
11179 wxPyEndAllowThreads(__tstate
);
11180 if (PyErr_Occurred()) SWIG_fail
;
11182 resultobj
= SWIG_FromInt((int)result
);
11189 static PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11190 PyObject
*resultobj
;
11191 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11193 PyObject
* obj0
= 0 ;
11194 char *kwnames
[] = {
11195 (char *) "self", NULL
11198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonChange",kwnames
,&obj0
)) goto fail
;
11199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11203 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
11205 wxPyEndAllowThreads(__tstate
);
11206 if (PyErr_Occurred()) SWIG_fail
;
11208 resultobj
= SWIG_FromInt((int)result
);
11215 static PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11216 PyObject
*resultobj
;
11217 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11219 PyObject
* obj0
= 0 ;
11220 char *kwnames
[] = {
11221 (char *) "self", NULL
11224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetJoystick",kwnames
,&obj0
)) goto fail
;
11225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11229 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
11231 wxPyEndAllowThreads(__tstate
);
11232 if (PyErr_Occurred()) SWIG_fail
;
11234 resultobj
= SWIG_FromInt((int)result
);
11241 static PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11242 PyObject
*resultobj
;
11243 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11245 PyObject
* obj0
= 0 ;
11246 PyObject
* obj1
= 0 ;
11247 char *kwnames
[] = {
11248 (char *) "self",(char *) "stick", NULL
11251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetJoystick",kwnames
,&obj0
,&obj1
)) goto fail
;
11252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11254 arg2
= (int) SWIG_AsInt(obj1
);
11255 if (PyErr_Occurred()) SWIG_fail
;
11257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11258 (arg1
)->SetJoystick(arg2
);
11260 wxPyEndAllowThreads(__tstate
);
11261 if (PyErr_Occurred()) SWIG_fail
;
11263 Py_INCREF(Py_None
); resultobj
= Py_None
;
11270 static PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11271 PyObject
*resultobj
;
11272 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11274 PyObject
* obj0
= 0 ;
11275 PyObject
* obj1
= 0 ;
11276 char *kwnames
[] = {
11277 (char *) "self",(char *) "state", NULL
11280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonState",kwnames
,&obj0
,&obj1
)) goto fail
;
11281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11283 arg2
= (int) SWIG_AsInt(obj1
);
11284 if (PyErr_Occurred()) SWIG_fail
;
11286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11287 (arg1
)->SetButtonState(arg2
);
11289 wxPyEndAllowThreads(__tstate
);
11290 if (PyErr_Occurred()) SWIG_fail
;
11292 Py_INCREF(Py_None
); resultobj
= Py_None
;
11299 static PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11300 PyObject
*resultobj
;
11301 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11303 PyObject
* obj0
= 0 ;
11304 PyObject
* obj1
= 0 ;
11305 char *kwnames
[] = {
11306 (char *) "self",(char *) "change", NULL
11309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&obj1
)) goto fail
;
11310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11312 arg2
= (int) SWIG_AsInt(obj1
);
11313 if (PyErr_Occurred()) SWIG_fail
;
11315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11316 (arg1
)->SetButtonChange(arg2
);
11318 wxPyEndAllowThreads(__tstate
);
11319 if (PyErr_Occurred()) SWIG_fail
;
11321 Py_INCREF(Py_None
); resultobj
= Py_None
;
11328 static PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11329 PyObject
*resultobj
;
11330 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11331 wxPoint
*arg2
= 0 ;
11333 PyObject
* obj0
= 0 ;
11334 PyObject
* obj1
= 0 ;
11335 char *kwnames
[] = {
11336 (char *) "self",(char *) "pos", NULL
11339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11344 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11348 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
11350 wxPyEndAllowThreads(__tstate
);
11351 if (PyErr_Occurred()) SWIG_fail
;
11353 Py_INCREF(Py_None
); resultobj
= Py_None
;
11360 static PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11361 PyObject
*resultobj
;
11362 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11364 PyObject
* obj0
= 0 ;
11365 PyObject
* obj1
= 0 ;
11366 char *kwnames
[] = {
11367 (char *) "self",(char *) "zPos", NULL
11370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetZPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11373 arg2
= (int) SWIG_AsInt(obj1
);
11374 if (PyErr_Occurred()) SWIG_fail
;
11376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11377 (arg1
)->SetZPosition(arg2
);
11379 wxPyEndAllowThreads(__tstate
);
11380 if (PyErr_Occurred()) SWIG_fail
;
11382 Py_INCREF(Py_None
); resultobj
= Py_None
;
11389 static PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11390 PyObject
*resultobj
;
11391 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11393 PyObject
* obj0
= 0 ;
11394 char *kwnames
[] = {
11395 (char *) "self", NULL
11398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsButton",kwnames
,&obj0
)) goto fail
;
11399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11403 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
11405 wxPyEndAllowThreads(__tstate
);
11406 if (PyErr_Occurred()) SWIG_fail
;
11409 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11417 static PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11418 PyObject
*resultobj
;
11419 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11421 PyObject
* obj0
= 0 ;
11422 char *kwnames
[] = {
11423 (char *) "self", NULL
11426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsMove",kwnames
,&obj0
)) goto fail
;
11427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11431 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
11433 wxPyEndAllowThreads(__tstate
);
11434 if (PyErr_Occurred()) SWIG_fail
;
11437 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11445 static PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11446 PyObject
*resultobj
;
11447 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11449 PyObject
* obj0
= 0 ;
11450 char *kwnames
[] = {
11451 (char *) "self", NULL
11454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsZMove",kwnames
,&obj0
)) goto fail
;
11455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11459 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
11461 wxPyEndAllowThreads(__tstate
);
11462 if (PyErr_Occurred()) SWIG_fail
;
11465 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11473 static PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11474 PyObject
*resultobj
;
11475 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11476 int arg2
= (int) wxJOY_BUTTON_ANY
;
11478 PyObject
* obj0
= 0 ;
11479 PyObject
* obj1
= 0 ;
11480 char *kwnames
[] = {
11481 (char *) "self",(char *) "but", NULL
11484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
11485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11488 arg2
= (int) SWIG_AsInt(obj1
);
11489 if (PyErr_Occurred()) SWIG_fail
;
11492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11493 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
11495 wxPyEndAllowThreads(__tstate
);
11496 if (PyErr_Occurred()) SWIG_fail
;
11499 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11507 static PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11508 PyObject
*resultobj
;
11509 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11510 int arg2
= (int) wxJOY_BUTTON_ANY
;
11512 PyObject
* obj0
= 0 ;
11513 PyObject
* obj1
= 0 ;
11514 char *kwnames
[] = {
11515 (char *) "self",(char *) "but", NULL
11518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
11519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11522 arg2
= (int) SWIG_AsInt(obj1
);
11523 if (PyErr_Occurred()) SWIG_fail
;
11526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11527 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
11529 wxPyEndAllowThreads(__tstate
);
11530 if (PyErr_Occurred()) SWIG_fail
;
11533 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11541 static PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11542 PyObject
*resultobj
;
11543 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11544 int arg2
= (int) wxJOY_BUTTON_ANY
;
11546 PyObject
* obj0
= 0 ;
11547 PyObject
* obj1
= 0 ;
11548 char *kwnames
[] = {
11549 (char *) "self",(char *) "but", NULL
11552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
11553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11556 arg2
= (int) SWIG_AsInt(obj1
);
11557 if (PyErr_Occurred()) SWIG_fail
;
11560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11561 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
11563 wxPyEndAllowThreads(__tstate
);
11564 if (PyErr_Occurred()) SWIG_fail
;
11567 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11575 static PyObject
* JoystickEvent_swigregister(PyObject
*self
, PyObject
*args
) {
11577 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11578 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent
, obj
);
11580 return Py_BuildValue((char *)"");
11582 static PyObject
*_wrap_new_Sound(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11583 PyObject
*resultobj
;
11584 wxString
const &arg1_defvalue
= wxPyEmptyString
;
11585 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
11587 bool temp1
= False
;
11588 PyObject
* obj0
= 0 ;
11589 char *kwnames
[] = {
11590 (char *) "fileName", NULL
11593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Sound",kwnames
,&obj0
)) goto fail
;
11596 arg1
= wxString_in_helper(obj0
);
11597 if (arg1
== NULL
) SWIG_fail
;
11602 if (!wxPyCheckForApp()) SWIG_fail
;
11603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11604 result
= (wxSound
*)new_wxSound((wxString
const &)*arg1
);
11606 wxPyEndAllowThreads(__tstate
);
11607 if (PyErr_Occurred()) SWIG_fail
;
11609 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
11624 static PyObject
*_wrap_new_SoundFromData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11625 PyObject
*resultobj
;
11626 PyObject
*arg1
= (PyObject
*) 0 ;
11628 PyObject
* obj0
= 0 ;
11629 char *kwnames
[] = {
11630 (char *) "data", NULL
11633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_SoundFromData",kwnames
,&obj0
)) goto fail
;
11636 if (!wxPyCheckForApp()) SWIG_fail
;
11637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11638 result
= (wxSound
*)new_wxSound(arg1
);
11640 wxPyEndAllowThreads(__tstate
);
11641 if (PyErr_Occurred()) SWIG_fail
;
11643 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
11650 static PyObject
*_wrap_delete_Sound(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11651 PyObject
*resultobj
;
11652 wxSound
*arg1
= (wxSound
*) 0 ;
11653 PyObject
* obj0
= 0 ;
11654 char *kwnames
[] = {
11655 (char *) "self", NULL
11658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Sound",kwnames
,&obj0
)) goto fail
;
11659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11665 wxPyEndAllowThreads(__tstate
);
11666 if (PyErr_Occurred()) SWIG_fail
;
11668 Py_INCREF(Py_None
); resultobj
= Py_None
;
11675 static PyObject
*_wrap_Sound_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11676 PyObject
*resultobj
;
11677 wxSound
*arg1
= (wxSound
*) 0 ;
11678 wxString
*arg2
= 0 ;
11680 bool temp2
= False
;
11681 PyObject
* obj0
= 0 ;
11682 PyObject
* obj1
= 0 ;
11683 char *kwnames
[] = {
11684 (char *) "self",(char *) "fileName", NULL
11687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_Create",kwnames
,&obj0
,&obj1
)) goto fail
;
11688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11691 arg2
= wxString_in_helper(obj1
);
11692 if (arg2
== NULL
) SWIG_fail
;
11696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11697 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
);
11699 wxPyEndAllowThreads(__tstate
);
11700 if (PyErr_Occurred()) SWIG_fail
;
11703 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11719 static PyObject
*_wrap_Sound_CreateFromData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11720 PyObject
*resultobj
;
11721 wxSound
*arg1
= (wxSound
*) 0 ;
11722 PyObject
*arg2
= (PyObject
*) 0 ;
11724 PyObject
* obj0
= 0 ;
11725 PyObject
* obj1
= 0 ;
11726 char *kwnames
[] = {
11727 (char *) "self",(char *) "data", NULL
11730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_CreateFromData",kwnames
,&obj0
,&obj1
)) goto fail
;
11731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11736 result
= (bool)wxSound_CreateFromData(arg1
,arg2
);
11738 wxPyEndAllowThreads(__tstate
);
11739 if (PyErr_Occurred()) SWIG_fail
;
11742 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11750 static PyObject
*_wrap_Sound_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11751 PyObject
*resultobj
;
11752 wxSound
*arg1
= (wxSound
*) 0 ;
11754 PyObject
* obj0
= 0 ;
11755 char *kwnames
[] = {
11756 (char *) "self", NULL
11759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sound_IsOk",kwnames
,&obj0
)) goto fail
;
11760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11764 result
= (bool)(arg1
)->IsOk();
11766 wxPyEndAllowThreads(__tstate
);
11767 if (PyErr_Occurred()) SWIG_fail
;
11770 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11778 static PyObject
*_wrap_Sound_Play(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11779 PyObject
*resultobj
;
11780 wxSound
*arg1
= (wxSound
*) 0 ;
11781 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
11783 PyObject
* obj0
= 0 ;
11784 PyObject
* obj1
= 0 ;
11785 char *kwnames
[] = {
11786 (char *) "self",(char *) "flags", NULL
11789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_Play",kwnames
,&obj0
,&obj1
)) goto fail
;
11790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11793 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
11794 if (PyErr_Occurred()) SWIG_fail
;
11797 if (!wxPyCheckForApp()) SWIG_fail
;
11798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11799 result
= (bool)((wxSound
const *)arg1
)->Play(arg2
);
11801 wxPyEndAllowThreads(__tstate
);
11802 if (PyErr_Occurred()) SWIG_fail
;
11805 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11813 static PyObject
*_wrap_Sound_PlaySound(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11814 PyObject
*resultobj
;
11815 wxString
*arg1
= 0 ;
11816 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
11818 bool temp1
= False
;
11819 PyObject
* obj0
= 0 ;
11820 PyObject
* obj1
= 0 ;
11821 char *kwnames
[] = {
11822 (char *) "filename",(char *) "flags", NULL
11825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_PlaySound",kwnames
,&obj0
,&obj1
)) goto fail
;
11827 arg1
= wxString_in_helper(obj0
);
11828 if (arg1
== NULL
) SWIG_fail
;
11832 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
11833 if (PyErr_Occurred()) SWIG_fail
;
11836 if (!wxPyCheckForApp()) SWIG_fail
;
11837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11838 result
= (bool)wxSound::Play((wxString
const &)*arg1
,arg2
);
11840 wxPyEndAllowThreads(__tstate
);
11841 if (PyErr_Occurred()) SWIG_fail
;
11844 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11860 static PyObject
*_wrap_Sound_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11861 PyObject
*resultobj
;
11862 char *kwnames
[] = {
11866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Sound_Stop",kwnames
)) goto fail
;
11868 if (!wxPyCheckForApp()) SWIG_fail
;
11869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11872 wxPyEndAllowThreads(__tstate
);
11873 if (PyErr_Occurred()) SWIG_fail
;
11875 Py_INCREF(Py_None
); resultobj
= Py_None
;
11882 static PyObject
* Sound_swigregister(PyObject
*self
, PyObject
*args
) {
11884 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11885 SWIG_TypeClientData(SWIGTYPE_p_wxSound
, obj
);
11887 return Py_BuildValue((char *)"");
11889 static PyObject
*_wrap_new_FileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11890 PyObject
*resultobj
;
11891 wxString
*arg1
= 0 ;
11892 wxString
*arg2
= 0 ;
11893 wxString
*arg3
= 0 ;
11894 wxString
*arg4
= 0 ;
11895 wxFileTypeInfo
*result
;
11896 bool temp1
= False
;
11897 bool temp2
= False
;
11898 bool temp3
= False
;
11899 bool temp4
= False
;
11900 PyObject
* obj0
= 0 ;
11901 PyObject
* obj1
= 0 ;
11902 PyObject
* obj2
= 0 ;
11903 PyObject
* obj3
= 0 ;
11904 char *kwnames
[] = {
11905 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
11908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11910 arg1
= wxString_in_helper(obj0
);
11911 if (arg1
== NULL
) SWIG_fail
;
11915 arg2
= wxString_in_helper(obj1
);
11916 if (arg2
== NULL
) SWIG_fail
;
11920 arg3
= wxString_in_helper(obj2
);
11921 if (arg3
== NULL
) SWIG_fail
;
11925 arg4
= wxString_in_helper(obj3
);
11926 if (arg4
== NULL
) SWIG_fail
;
11930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11931 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
11933 wxPyEndAllowThreads(__tstate
);
11934 if (PyErr_Occurred()) SWIG_fail
;
11936 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
11975 static PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11976 PyObject
*resultobj
;
11977 wxArrayString
*arg1
= 0 ;
11978 wxFileTypeInfo
*result
;
11979 bool temp1
= False
;
11980 PyObject
* obj0
= 0 ;
11981 char *kwnames
[] = {
11982 (char *) "sArray", NULL
11985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) goto fail
;
11987 if (! PySequence_Check(obj0
)) {
11988 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11991 arg1
= new wxArrayString
;
11993 int i
, len
=PySequence_Length(obj0
);
11994 for (i
=0; i
<len
; i
++) {
11995 PyObject
* item
= PySequence_GetItem(obj0
, i
);
11997 PyObject
* str
= PyObject_Unicode(item
);
11999 PyObject
* str
= PyObject_Str(item
);
12001 if (PyErr_Occurred()) SWIG_fail
;
12002 arg1
->Add(Py2wxString(str
));
12008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12009 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
12011 wxPyEndAllowThreads(__tstate
);
12012 if (PyErr_Occurred()) SWIG_fail
;
12014 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
12016 if (temp1
) delete arg1
;
12021 if (temp1
) delete arg1
;
12027 static PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12028 PyObject
*resultobj
;
12029 wxFileTypeInfo
*result
;
12030 char *kwnames
[] = {
12034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NullFileTypeInfo",kwnames
)) goto fail
;
12036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12037 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
12039 wxPyEndAllowThreads(__tstate
);
12040 if (PyErr_Occurred()) SWIG_fail
;
12042 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
12049 static PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12050 PyObject
*resultobj
;
12051 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12053 PyObject
* obj0
= 0 ;
12054 char *kwnames
[] = {
12055 (char *) "self", NULL
12058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_IsValid",kwnames
,&obj0
)) goto fail
;
12059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12063 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
12065 wxPyEndAllowThreads(__tstate
);
12066 if (PyErr_Occurred()) SWIG_fail
;
12069 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12077 static PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12078 PyObject
*resultobj
;
12079 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12080 wxString
*arg2
= 0 ;
12081 int arg3
= (int) 0 ;
12082 bool temp2
= False
;
12083 PyObject
* obj0
= 0 ;
12084 PyObject
* obj1
= 0 ;
12085 PyObject
* obj2
= 0 ;
12086 char *kwnames
[] = {
12087 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
12090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12094 arg2
= wxString_in_helper(obj1
);
12095 if (arg2
== NULL
) SWIG_fail
;
12099 arg3
= (int) SWIG_AsInt(obj2
);
12100 if (PyErr_Occurred()) SWIG_fail
;
12103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12104 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
12106 wxPyEndAllowThreads(__tstate
);
12107 if (PyErr_Occurred()) SWIG_fail
;
12109 Py_INCREF(Py_None
); resultobj
= Py_None
;
12124 static PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12125 PyObject
*resultobj
;
12126 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12127 wxString
*arg2
= 0 ;
12128 bool temp2
= False
;
12129 PyObject
* obj0
= 0 ;
12130 PyObject
* obj1
= 0 ;
12131 char *kwnames
[] = {
12132 (char *) "self",(char *) "shortDesc", NULL
12135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
12136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12139 arg2
= wxString_in_helper(obj1
);
12140 if (arg2
== NULL
) SWIG_fail
;
12144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12145 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
12147 wxPyEndAllowThreads(__tstate
);
12148 if (PyErr_Occurred()) SWIG_fail
;
12150 Py_INCREF(Py_None
); resultobj
= Py_None
;
12165 static PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12166 PyObject
*resultobj
;
12167 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12169 PyObject
* obj0
= 0 ;
12170 char *kwnames
[] = {
12171 (char *) "self", NULL
12174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetMimeType",kwnames
,&obj0
)) goto fail
;
12175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12180 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
12181 result
= (wxString
*) &_result_ref
;
12184 wxPyEndAllowThreads(__tstate
);
12185 if (PyErr_Occurred()) SWIG_fail
;
12189 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12191 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12200 static PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12201 PyObject
*resultobj
;
12202 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12204 PyObject
* obj0
= 0 ;
12205 char *kwnames
[] = {
12206 (char *) "self", NULL
12209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames
,&obj0
)) goto fail
;
12210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12215 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
12216 result
= (wxString
*) &_result_ref
;
12219 wxPyEndAllowThreads(__tstate
);
12220 if (PyErr_Occurred()) SWIG_fail
;
12224 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12226 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12235 static PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12236 PyObject
*resultobj
;
12237 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12239 PyObject
* obj0
= 0 ;
12240 char *kwnames
[] = {
12241 (char *) "self", NULL
12244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames
,&obj0
)) goto fail
;
12245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12250 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
12251 result
= (wxString
*) &_result_ref
;
12254 wxPyEndAllowThreads(__tstate
);
12255 if (PyErr_Occurred()) SWIG_fail
;
12259 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12261 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12270 static PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12271 PyObject
*resultobj
;
12272 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12274 PyObject
* obj0
= 0 ;
12275 char *kwnames
[] = {
12276 (char *) "self", NULL
12279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetShortDesc",kwnames
,&obj0
)) goto fail
;
12280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12285 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
12286 result
= (wxString
*) &_result_ref
;
12289 wxPyEndAllowThreads(__tstate
);
12290 if (PyErr_Occurred()) SWIG_fail
;
12294 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12296 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12305 static PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12306 PyObject
*resultobj
;
12307 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12309 PyObject
* obj0
= 0 ;
12310 char *kwnames
[] = {
12311 (char *) "self", NULL
12314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetDescription",kwnames
,&obj0
)) goto fail
;
12315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12320 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
12321 result
= (wxString
*) &_result_ref
;
12324 wxPyEndAllowThreads(__tstate
);
12325 if (PyErr_Occurred()) SWIG_fail
;
12329 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12331 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12340 static PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12341 PyObject
*resultobj
;
12342 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12343 wxArrayString
*result
;
12344 PyObject
* obj0
= 0 ;
12345 char *kwnames
[] = {
12346 (char *) "self", NULL
12349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensions",kwnames
,&obj0
)) goto fail
;
12350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12355 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
12356 result
= (wxArrayString
*) &_result_ref
;
12359 wxPyEndAllowThreads(__tstate
);
12360 if (PyErr_Occurred()) SWIG_fail
;
12363 resultobj
= wxArrayString2PyList_helper(*result
);
12371 static PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12372 PyObject
*resultobj
;
12373 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12375 PyObject
* obj0
= 0 ;
12376 char *kwnames
[] = {
12377 (char *) "self", NULL
12380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames
,&obj0
)) goto fail
;
12381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12385 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
12387 wxPyEndAllowThreads(__tstate
);
12388 if (PyErr_Occurred()) SWIG_fail
;
12390 resultobj
= SWIG_FromInt((int)result
);
12397 static PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12398 PyObject
*resultobj
;
12399 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12401 PyObject
* obj0
= 0 ;
12402 char *kwnames
[] = {
12403 (char *) "self", NULL
12406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconFile",kwnames
,&obj0
)) goto fail
;
12407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12412 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
12413 result
= (wxString
*) &_result_ref
;
12416 wxPyEndAllowThreads(__tstate
);
12417 if (PyErr_Occurred()) SWIG_fail
;
12421 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12423 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12432 static PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12433 PyObject
*resultobj
;
12434 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12436 PyObject
* obj0
= 0 ;
12437 char *kwnames
[] = {
12438 (char *) "self", NULL
12441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconIndex",kwnames
,&obj0
)) goto fail
;
12442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12446 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
12448 wxPyEndAllowThreads(__tstate
);
12449 if (PyErr_Occurred()) SWIG_fail
;
12451 resultobj
= SWIG_FromInt((int)result
);
12458 static PyObject
* FileTypeInfo_swigregister(PyObject
*self
, PyObject
*args
) {
12460 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12461 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo
, obj
);
12463 return Py_BuildValue((char *)"");
12465 static PyObject
*_wrap_new_FileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12466 PyObject
*resultobj
;
12467 wxFileTypeInfo
*arg1
= 0 ;
12468 wxFileType
*result
;
12469 PyObject
* obj0
= 0 ;
12470 char *kwnames
[] = {
12471 (char *) "ftInfo", NULL
12474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) goto fail
;
12475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12476 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12478 if (arg1
== NULL
) {
12479 PyErr_SetString(PyExc_TypeError
,"null reference");
12483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12484 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
12486 wxPyEndAllowThreads(__tstate
);
12487 if (PyErr_Occurred()) SWIG_fail
;
12489 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
12496 static PyObject
*_wrap_delete_FileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12497 PyObject
*resultobj
;
12498 wxFileType
*arg1
= (wxFileType
*) 0 ;
12499 PyObject
* obj0
= 0 ;
12500 char *kwnames
[] = {
12501 (char *) "self", NULL
12504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileType",kwnames
,&obj0
)) goto fail
;
12505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12511 wxPyEndAllowThreads(__tstate
);
12512 if (PyErr_Occurred()) SWIG_fail
;
12514 Py_INCREF(Py_None
); resultobj
= Py_None
;
12521 static PyObject
*_wrap_FileType_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12522 PyObject
*resultobj
;
12523 wxFileType
*arg1
= (wxFileType
*) 0 ;
12525 PyObject
* obj0
= 0 ;
12526 char *kwnames
[] = {
12527 (char *) "self", NULL
12530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeType",kwnames
,&obj0
)) goto fail
;
12531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12535 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
12537 wxPyEndAllowThreads(__tstate
);
12538 if (PyErr_Occurred()) SWIG_fail
;
12540 resultobj
= result
;
12547 static PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12548 PyObject
*resultobj
;
12549 wxFileType
*arg1
= (wxFileType
*) 0 ;
12551 PyObject
* obj0
= 0 ;
12552 char *kwnames
[] = {
12553 (char *) "self", NULL
12556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeTypes",kwnames
,&obj0
)) goto fail
;
12557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12561 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
12563 wxPyEndAllowThreads(__tstate
);
12564 if (PyErr_Occurred()) SWIG_fail
;
12566 resultobj
= result
;
12573 static PyObject
*_wrap_FileType_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12574 PyObject
*resultobj
;
12575 wxFileType
*arg1
= (wxFileType
*) 0 ;
12577 PyObject
* obj0
= 0 ;
12578 char *kwnames
[] = {
12579 (char *) "self", NULL
12582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetExtensions",kwnames
,&obj0
)) goto fail
;
12583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12587 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
12589 wxPyEndAllowThreads(__tstate
);
12590 if (PyErr_Occurred()) SWIG_fail
;
12592 resultobj
= result
;
12599 static PyObject
*_wrap_FileType_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12600 PyObject
*resultobj
;
12601 wxFileType
*arg1
= (wxFileType
*) 0 ;
12603 PyObject
* obj0
= 0 ;
12604 char *kwnames
[] = {
12605 (char *) "self", NULL
12608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIcon",kwnames
,&obj0
)) goto fail
;
12609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12613 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
12615 wxPyEndAllowThreads(__tstate
);
12616 if (PyErr_Occurred()) SWIG_fail
;
12618 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
12625 static PyObject
*_wrap_FileType_GetIconInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12626 PyObject
*resultobj
;
12627 wxFileType
*arg1
= (wxFileType
*) 0 ;
12629 PyObject
* obj0
= 0 ;
12630 char *kwnames
[] = {
12631 (char *) "self", NULL
12634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIconInfo",kwnames
,&obj0
)) goto fail
;
12635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12639 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
12641 wxPyEndAllowThreads(__tstate
);
12642 if (PyErr_Occurred()) SWIG_fail
;
12644 resultobj
= result
;
12651 static PyObject
*_wrap_FileType_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12652 PyObject
*resultobj
;
12653 wxFileType
*arg1
= (wxFileType
*) 0 ;
12655 PyObject
* obj0
= 0 ;
12656 char *kwnames
[] = {
12657 (char *) "self", NULL
12660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetDescription",kwnames
,&obj0
)) goto fail
;
12661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12665 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
12667 wxPyEndAllowThreads(__tstate
);
12668 if (PyErr_Occurred()) SWIG_fail
;
12670 resultobj
= result
;
12677 static PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12678 PyObject
*resultobj
;
12679 wxFileType
*arg1
= (wxFileType
*) 0 ;
12680 wxString
*arg2
= 0 ;
12681 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12682 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12684 bool temp2
= False
;
12685 bool temp3
= False
;
12686 PyObject
* obj0
= 0 ;
12687 PyObject
* obj1
= 0 ;
12688 PyObject
* obj2
= 0 ;
12689 char *kwnames
[] = {
12690 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12697 arg2
= wxString_in_helper(obj1
);
12698 if (arg2
== NULL
) SWIG_fail
;
12703 arg3
= wxString_in_helper(obj2
);
12704 if (arg3
== NULL
) SWIG_fail
;
12709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12710 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12712 wxPyEndAllowThreads(__tstate
);
12713 if (PyErr_Occurred()) SWIG_fail
;
12715 resultobj
= result
;
12738 static PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12739 PyObject
*resultobj
;
12740 wxFileType
*arg1
= (wxFileType
*) 0 ;
12741 wxString
*arg2
= 0 ;
12742 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12743 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12745 bool temp2
= False
;
12746 bool temp3
= False
;
12747 PyObject
* obj0
= 0 ;
12748 PyObject
* obj1
= 0 ;
12749 PyObject
* obj2
= 0 ;
12750 char *kwnames
[] = {
12751 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12758 arg2
= wxString_in_helper(obj1
);
12759 if (arg2
== NULL
) SWIG_fail
;
12764 arg3
= wxString_in_helper(obj2
);
12765 if (arg3
== NULL
) SWIG_fail
;
12770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12771 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12773 wxPyEndAllowThreads(__tstate
);
12774 if (PyErr_Occurred()) SWIG_fail
;
12776 resultobj
= result
;
12799 static PyObject
*_wrap_FileType_GetAllCommands(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12800 PyObject
*resultobj
;
12801 wxFileType
*arg1
= (wxFileType
*) 0 ;
12802 wxString
*arg2
= 0 ;
12803 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12804 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12806 bool temp2
= False
;
12807 bool temp3
= False
;
12808 PyObject
* obj0
= 0 ;
12809 PyObject
* obj1
= 0 ;
12810 PyObject
* obj2
= 0 ;
12811 char *kwnames
[] = {
12812 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12819 arg2
= wxString_in_helper(obj1
);
12820 if (arg2
== NULL
) SWIG_fail
;
12825 arg3
= wxString_in_helper(obj2
);
12826 if (arg3
== NULL
) SWIG_fail
;
12831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12832 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12834 wxPyEndAllowThreads(__tstate
);
12835 if (PyErr_Occurred()) SWIG_fail
;
12837 resultobj
= result
;
12860 static PyObject
*_wrap_FileType_SetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12861 PyObject
*resultobj
;
12862 wxFileType
*arg1
= (wxFileType
*) 0 ;
12863 wxString
*arg2
= 0 ;
12864 wxString
*arg3
= 0 ;
12865 bool arg4
= (bool) True
;
12867 bool temp2
= False
;
12868 bool temp3
= False
;
12869 PyObject
* obj0
= 0 ;
12870 PyObject
* obj1
= 0 ;
12871 PyObject
* obj2
= 0 ;
12872 PyObject
* obj3
= 0 ;
12873 char *kwnames
[] = {
12874 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
12877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12881 arg2
= wxString_in_helper(obj1
);
12882 if (arg2
== NULL
) SWIG_fail
;
12886 arg3
= wxString_in_helper(obj2
);
12887 if (arg3
== NULL
) SWIG_fail
;
12891 arg4
= (bool) SWIG_AsBool(obj3
);
12892 if (PyErr_Occurred()) SWIG_fail
;
12895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12896 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
12898 wxPyEndAllowThreads(__tstate
);
12899 if (PyErr_Occurred()) SWIG_fail
;
12902 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12926 static PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12927 PyObject
*resultobj
;
12928 wxFileType
*arg1
= (wxFileType
*) 0 ;
12929 wxString
const &arg2_defvalue
= wxPyEmptyString
;
12930 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12931 int arg3
= (int) 0 ;
12933 bool temp2
= False
;
12934 PyObject
* obj0
= 0 ;
12935 PyObject
* obj1
= 0 ;
12936 PyObject
* obj2
= 0 ;
12937 char *kwnames
[] = {
12938 (char *) "self",(char *) "cmd",(char *) "index", NULL
12941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12946 arg2
= wxString_in_helper(obj1
);
12947 if (arg2
== NULL
) SWIG_fail
;
12952 arg3
= (int) SWIG_AsInt(obj2
);
12953 if (PyErr_Occurred()) SWIG_fail
;
12956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12957 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
12959 wxPyEndAllowThreads(__tstate
);
12960 if (PyErr_Occurred()) SWIG_fail
;
12963 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12979 static PyObject
*_wrap_FileType_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12980 PyObject
*resultobj
;
12981 wxFileType
*arg1
= (wxFileType
*) 0 ;
12983 PyObject
* obj0
= 0 ;
12984 char *kwnames
[] = {
12985 (char *) "self", NULL
12988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_Unassociate",kwnames
,&obj0
)) goto fail
;
12989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12993 result
= (bool)(arg1
)->Unassociate();
12995 wxPyEndAllowThreads(__tstate
);
12996 if (PyErr_Occurred()) SWIG_fail
;
12999 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13007 static PyObject
*_wrap_FileType_ExpandCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13008 PyObject
*resultobj
;
13009 wxString
*arg1
= 0 ;
13010 wxString
*arg2
= 0 ;
13011 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13012 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13014 bool temp1
= False
;
13015 bool temp2
= False
;
13016 bool temp3
= False
;
13017 PyObject
* obj0
= 0 ;
13018 PyObject
* obj1
= 0 ;
13019 PyObject
* obj2
= 0 ;
13020 char *kwnames
[] = {
13021 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
13024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13026 arg1
= wxString_in_helper(obj0
);
13027 if (arg1
== NULL
) SWIG_fail
;
13031 arg2
= wxString_in_helper(obj1
);
13032 if (arg2
== NULL
) SWIG_fail
;
13037 arg3
= wxString_in_helper(obj2
);
13038 if (arg3
== NULL
) SWIG_fail
;
13043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13044 result
= FileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
13046 wxPyEndAllowThreads(__tstate
);
13047 if (PyErr_Occurred()) SWIG_fail
;
13051 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13053 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13086 static PyObject
* FileType_swigregister(PyObject
*self
, PyObject
*args
) {
13088 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13089 SWIG_TypeClientData(SWIGTYPE_p_wxFileType
, obj
);
13091 return Py_BuildValue((char *)"");
13093 static int _wrap_TheMimeTypesManager_set(PyObject
*_val
) {
13094 PyErr_SetString(PyExc_TypeError
,"Variable TheMimeTypesManager is read-only.");
13099 static PyObject
*_wrap_TheMimeTypesManager_get() {
13102 pyobj
= SWIG_NewPointerObj((void *)(wxTheMimeTypesManager
), SWIGTYPE_p_wxMimeTypesManager
, 0);
13107 static PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13108 PyObject
*resultobj
;
13109 wxString
*arg1
= 0 ;
13110 wxString
*arg2
= 0 ;
13112 bool temp1
= False
;
13113 bool temp2
= False
;
13114 PyObject
* obj0
= 0 ;
13115 PyObject
* obj1
= 0 ;
13116 char *kwnames
[] = {
13117 (char *) "mimeType",(char *) "wildcard", NULL
13120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) goto fail
;
13122 arg1
= wxString_in_helper(obj0
);
13123 if (arg1
== NULL
) SWIG_fail
;
13127 arg2
= wxString_in_helper(obj1
);
13128 if (arg2
== NULL
) SWIG_fail
;
13132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13133 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
13135 wxPyEndAllowThreads(__tstate
);
13136 if (PyErr_Occurred()) SWIG_fail
;
13139 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13163 static PyObject
*_wrap_new_MimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13164 PyObject
*resultobj
;
13165 wxMimeTypesManager
*result
;
13166 char *kwnames
[] = {
13170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MimeTypesManager",kwnames
)) goto fail
;
13172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13173 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
13175 wxPyEndAllowThreads(__tstate
);
13176 if (PyErr_Occurred()) SWIG_fail
;
13178 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMimeTypesManager
, 1);
13185 static PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13186 PyObject
*resultobj
;
13187 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13188 int arg2
= (int) wxMAILCAP_ALL
;
13189 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13190 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13191 bool temp3
= False
;
13192 PyObject
* obj0
= 0 ;
13193 PyObject
* obj1
= 0 ;
13194 PyObject
* obj2
= 0 ;
13195 char *kwnames
[] = {
13196 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
13199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MimeTypesManager_Initialize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13203 arg2
= (int) SWIG_AsInt(obj1
);
13204 if (PyErr_Occurred()) SWIG_fail
;
13208 arg3
= wxString_in_helper(obj2
);
13209 if (arg3
== NULL
) SWIG_fail
;
13214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13215 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
13217 wxPyEndAllowThreads(__tstate
);
13218 if (PyErr_Occurred()) SWIG_fail
;
13220 Py_INCREF(Py_None
); resultobj
= Py_None
;
13235 static PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13236 PyObject
*resultobj
;
13237 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13238 PyObject
* obj0
= 0 ;
13239 char *kwnames
[] = {
13240 (char *) "self", NULL
13243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_ClearData",kwnames
,&obj0
)) goto fail
;
13244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13248 (arg1
)->ClearData();
13250 wxPyEndAllowThreads(__tstate
);
13251 if (PyErr_Occurred()) SWIG_fail
;
13253 Py_INCREF(Py_None
); resultobj
= Py_None
;
13260 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13261 PyObject
*resultobj
;
13262 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13263 wxString
*arg2
= 0 ;
13264 wxFileType
*result
;
13265 bool temp2
= False
;
13266 PyObject
* obj0
= 0 ;
13267 PyObject
* obj1
= 0 ;
13268 char *kwnames
[] = {
13269 (char *) "self",(char *) "ext", NULL
13272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
13273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13276 arg2
= wxString_in_helper(obj1
);
13277 if (arg2
== NULL
) SWIG_fail
;
13281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13282 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
13284 wxPyEndAllowThreads(__tstate
);
13285 if (PyErr_Occurred()) SWIG_fail
;
13287 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13302 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13303 PyObject
*resultobj
;
13304 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13305 wxString
*arg2
= 0 ;
13306 wxFileType
*result
;
13307 bool temp2
= False
;
13308 PyObject
* obj0
= 0 ;
13309 PyObject
* obj1
= 0 ;
13310 char *kwnames
[] = {
13311 (char *) "self",(char *) "mimeType", NULL
13314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
13315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13318 arg2
= wxString_in_helper(obj1
);
13319 if (arg2
== NULL
) SWIG_fail
;
13323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13324 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
13326 wxPyEndAllowThreads(__tstate
);
13327 if (PyErr_Occurred()) SWIG_fail
;
13329 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13344 static PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13345 PyObject
*resultobj
;
13346 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13347 wxString
*arg2
= 0 ;
13348 bool arg3
= (bool) False
;
13350 bool temp2
= False
;
13351 PyObject
* obj0
= 0 ;
13352 PyObject
* obj1
= 0 ;
13353 PyObject
* obj2
= 0 ;
13354 char *kwnames
[] = {
13355 (char *) "self",(char *) "filename",(char *) "fallback", NULL
13358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13362 arg2
= wxString_in_helper(obj1
);
13363 if (arg2
== NULL
) SWIG_fail
;
13367 arg3
= (bool) SWIG_AsBool(obj2
);
13368 if (PyErr_Occurred()) SWIG_fail
;
13371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13372 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
13374 wxPyEndAllowThreads(__tstate
);
13375 if (PyErr_Occurred()) SWIG_fail
;
13378 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13394 static PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13395 PyObject
*resultobj
;
13396 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13397 wxString
*arg2
= 0 ;
13399 bool temp2
= False
;
13400 PyObject
* obj0
= 0 ;
13401 PyObject
* obj1
= 0 ;
13402 char *kwnames
[] = {
13403 (char *) "self",(char *) "filename", NULL
13406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) goto fail
;
13407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13410 arg2
= wxString_in_helper(obj1
);
13411 if (arg2
== NULL
) SWIG_fail
;
13415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13416 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
13418 wxPyEndAllowThreads(__tstate
);
13419 if (PyErr_Occurred()) SWIG_fail
;
13422 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13438 static PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13439 PyObject
*resultobj
;
13440 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13442 PyObject
* obj0
= 0 ;
13443 char *kwnames
[] = {
13444 (char *) "self", NULL
13447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames
,&obj0
)) goto fail
;
13448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13452 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
13454 wxPyEndAllowThreads(__tstate
);
13455 if (PyErr_Occurred()) SWIG_fail
;
13457 resultobj
= result
;
13464 static PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13465 PyObject
*resultobj
;
13466 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13467 wxFileTypeInfo
*arg2
= 0 ;
13468 PyObject
* obj0
= 0 ;
13469 PyObject
* obj1
= 0 ;
13470 char *kwnames
[] = {
13471 (char *) "self",(char *) "ft", NULL
13474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) goto fail
;
13475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13477 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileTypeInfo
,
13478 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13480 if (arg2
== NULL
) {
13481 PyErr_SetString(PyExc_TypeError
,"null reference");
13485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13486 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
13488 wxPyEndAllowThreads(__tstate
);
13489 if (PyErr_Occurred()) SWIG_fail
;
13491 Py_INCREF(Py_None
); resultobj
= Py_None
;
13498 static PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13499 PyObject
*resultobj
;
13500 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13501 wxFileTypeInfo
*arg2
= 0 ;
13502 wxFileType
*result
;
13503 PyObject
* obj0
= 0 ;
13504 PyObject
* obj1
= 0 ;
13505 char *kwnames
[] = {
13506 (char *) "self",(char *) "ftInfo", NULL
13509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) goto fail
;
13510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13512 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileTypeInfo
,
13513 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13515 if (arg2
== NULL
) {
13516 PyErr_SetString(PyExc_TypeError
,"null reference");
13520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13521 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
13523 wxPyEndAllowThreads(__tstate
);
13524 if (PyErr_Occurred()) SWIG_fail
;
13526 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13533 static PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13534 PyObject
*resultobj
;
13535 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13536 wxFileType
*arg2
= (wxFileType
*) 0 ;
13538 PyObject
* obj0
= 0 ;
13539 PyObject
* obj1
= 0 ;
13540 char *kwnames
[] = {
13541 (char *) "self",(char *) "ft", NULL
13544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) goto fail
;
13545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13547 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileType
,
13548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13551 result
= (bool)(arg1
)->Unassociate(arg2
);
13553 wxPyEndAllowThreads(__tstate
);
13554 if (PyErr_Occurred()) SWIG_fail
;
13557 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13565 static PyObject
*_wrap_delete_MimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13566 PyObject
*resultobj
;
13567 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13568 PyObject
* obj0
= 0 ;
13569 char *kwnames
[] = {
13570 (char *) "self", NULL
13573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MimeTypesManager",kwnames
,&obj0
)) goto fail
;
13574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13580 wxPyEndAllowThreads(__tstate
);
13581 if (PyErr_Occurred()) SWIG_fail
;
13583 Py_INCREF(Py_None
); resultobj
= Py_None
;
13590 static PyObject
* MimeTypesManager_swigregister(PyObject
*self
, PyObject
*args
) {
13592 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13593 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager
, obj
);
13595 return Py_BuildValue((char *)"");
13597 static int _wrap_ART_TOOLBAR_set(PyObject
*_val
) {
13598 PyErr_SetString(PyExc_TypeError
,"Variable ART_TOOLBAR is read-only.");
13603 static PyObject
*_wrap_ART_TOOLBAR_get() {
13608 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
13610 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
13617 static int _wrap_ART_MENU_set(PyObject
*_val
) {
13618 PyErr_SetString(PyExc_TypeError
,"Variable ART_MENU is read-only.");
13623 static PyObject
*_wrap_ART_MENU_get() {
13628 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
13630 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
13637 static int _wrap_ART_FRAME_ICON_set(PyObject
*_val
) {
13638 PyErr_SetString(PyExc_TypeError
,"Variable ART_FRAME_ICON is read-only.");
13643 static PyObject
*_wrap_ART_FRAME_ICON_get() {
13648 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
13650 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
13657 static int _wrap_ART_CMN_DIALOG_set(PyObject
*_val
) {
13658 PyErr_SetString(PyExc_TypeError
,"Variable ART_CMN_DIALOG is read-only.");
13663 static PyObject
*_wrap_ART_CMN_DIALOG_get() {
13668 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
13670 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
13677 static int _wrap_ART_HELP_BROWSER_set(PyObject
*_val
) {
13678 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BROWSER is read-only.");
13683 static PyObject
*_wrap_ART_HELP_BROWSER_get() {
13688 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
13690 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
13697 static int _wrap_ART_MESSAGE_BOX_set(PyObject
*_val
) {
13698 PyErr_SetString(PyExc_TypeError
,"Variable ART_MESSAGE_BOX is read-only.");
13703 static PyObject
*_wrap_ART_MESSAGE_BOX_get() {
13708 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
13710 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
13717 static int _wrap_ART_OTHER_set(PyObject
*_val
) {
13718 PyErr_SetString(PyExc_TypeError
,"Variable ART_OTHER is read-only.");
13723 static PyObject
*_wrap_ART_OTHER_get() {
13728 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
13730 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
13737 static int _wrap_ART_ADD_BOOKMARK_set(PyObject
*_val
) {
13738 PyErr_SetString(PyExc_TypeError
,"Variable ART_ADD_BOOKMARK is read-only.");
13743 static PyObject
*_wrap_ART_ADD_BOOKMARK_get() {
13748 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
13750 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
13757 static int _wrap_ART_DEL_BOOKMARK_set(PyObject
*_val
) {
13758 PyErr_SetString(PyExc_TypeError
,"Variable ART_DEL_BOOKMARK is read-only.");
13763 static PyObject
*_wrap_ART_DEL_BOOKMARK_get() {
13768 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
13770 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
13777 static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject
*_val
) {
13778 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
13783 static PyObject
*_wrap_ART_HELP_SIDE_PANEL_get() {
13788 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
13790 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
13797 static int _wrap_ART_HELP_SETTINGS_set(PyObject
*_val
) {
13798 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SETTINGS is read-only.");
13803 static PyObject
*_wrap_ART_HELP_SETTINGS_get() {
13808 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
13810 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
13817 static int _wrap_ART_HELP_BOOK_set(PyObject
*_val
) {
13818 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BOOK is read-only.");
13823 static PyObject
*_wrap_ART_HELP_BOOK_get() {
13828 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
13830 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
13837 static int _wrap_ART_HELP_FOLDER_set(PyObject
*_val
) {
13838 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_FOLDER is read-only.");
13843 static PyObject
*_wrap_ART_HELP_FOLDER_get() {
13848 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
13850 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
13857 static int _wrap_ART_HELP_PAGE_set(PyObject
*_val
) {
13858 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_PAGE is read-only.");
13863 static PyObject
*_wrap_ART_HELP_PAGE_get() {
13868 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
13870 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
13877 static int _wrap_ART_GO_BACK_set(PyObject
*_val
) {
13878 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_BACK is read-only.");
13883 static PyObject
*_wrap_ART_GO_BACK_get() {
13888 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
13890 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
13897 static int _wrap_ART_GO_FORWARD_set(PyObject
*_val
) {
13898 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_FORWARD is read-only.");
13903 static PyObject
*_wrap_ART_GO_FORWARD_get() {
13908 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
13910 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
13917 static int _wrap_ART_GO_UP_set(PyObject
*_val
) {
13918 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_UP is read-only.");
13923 static PyObject
*_wrap_ART_GO_UP_get() {
13928 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
13930 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
13937 static int _wrap_ART_GO_DOWN_set(PyObject
*_val
) {
13938 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DOWN is read-only.");
13943 static PyObject
*_wrap_ART_GO_DOWN_get() {
13948 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
13950 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
13957 static int _wrap_ART_GO_TO_PARENT_set(PyObject
*_val
) {
13958 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_TO_PARENT is read-only.");
13963 static PyObject
*_wrap_ART_GO_TO_PARENT_get() {
13968 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
13970 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
13977 static int _wrap_ART_GO_HOME_set(PyObject
*_val
) {
13978 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_HOME is read-only.");
13983 static PyObject
*_wrap_ART_GO_HOME_get() {
13988 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
13990 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
13997 static int _wrap_ART_FILE_OPEN_set(PyObject
*_val
) {
13998 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_OPEN is read-only.");
14003 static PyObject
*_wrap_ART_FILE_OPEN_get() {
14008 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
14010 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
14017 static int _wrap_ART_PRINT_set(PyObject
*_val
) {
14018 PyErr_SetString(PyExc_TypeError
,"Variable ART_PRINT is read-only.");
14023 static PyObject
*_wrap_ART_PRINT_get() {
14028 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
14030 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
14037 static int _wrap_ART_HELP_set(PyObject
*_val
) {
14038 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP is read-only.");
14043 static PyObject
*_wrap_ART_HELP_get() {
14048 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
14050 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
14057 static int _wrap_ART_TIP_set(PyObject
*_val
) {
14058 PyErr_SetString(PyExc_TypeError
,"Variable ART_TIP is read-only.");
14063 static PyObject
*_wrap_ART_TIP_get() {
14068 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
14070 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
14077 static int _wrap_ART_REPORT_VIEW_set(PyObject
*_val
) {
14078 PyErr_SetString(PyExc_TypeError
,"Variable ART_REPORT_VIEW is read-only.");
14083 static PyObject
*_wrap_ART_REPORT_VIEW_get() {
14088 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
14090 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
14097 static int _wrap_ART_LIST_VIEW_set(PyObject
*_val
) {
14098 PyErr_SetString(PyExc_TypeError
,"Variable ART_LIST_VIEW is read-only.");
14103 static PyObject
*_wrap_ART_LIST_VIEW_get() {
14108 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
14110 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
14117 static int _wrap_ART_NEW_DIR_set(PyObject
*_val
) {
14118 PyErr_SetString(PyExc_TypeError
,"Variable ART_NEW_DIR is read-only.");
14123 static PyObject
*_wrap_ART_NEW_DIR_get() {
14128 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
14130 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
14137 static int _wrap_ART_FOLDER_set(PyObject
*_val
) {
14138 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER is read-only.");
14143 static PyObject
*_wrap_ART_FOLDER_get() {
14148 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
14150 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
14157 static int _wrap_ART_GO_DIR_UP_set(PyObject
*_val
) {
14158 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DIR_UP is read-only.");
14163 static PyObject
*_wrap_ART_GO_DIR_UP_get() {
14168 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
14170 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
14177 static int _wrap_ART_EXECUTABLE_FILE_set(PyObject
*_val
) {
14178 PyErr_SetString(PyExc_TypeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
14183 static PyObject
*_wrap_ART_EXECUTABLE_FILE_get() {
14188 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
14190 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
14197 static int _wrap_ART_NORMAL_FILE_set(PyObject
*_val
) {
14198 PyErr_SetString(PyExc_TypeError
,"Variable ART_NORMAL_FILE is read-only.");
14203 static PyObject
*_wrap_ART_NORMAL_FILE_get() {
14208 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
14210 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
14217 static int _wrap_ART_TICK_MARK_set(PyObject
*_val
) {
14218 PyErr_SetString(PyExc_TypeError
,"Variable ART_TICK_MARK is read-only.");
14223 static PyObject
*_wrap_ART_TICK_MARK_get() {
14228 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
14230 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
14237 static int _wrap_ART_CROSS_MARK_set(PyObject
*_val
) {
14238 PyErr_SetString(PyExc_TypeError
,"Variable ART_CROSS_MARK is read-only.");
14243 static PyObject
*_wrap_ART_CROSS_MARK_get() {
14248 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
14250 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
14257 static int _wrap_ART_ERROR_set(PyObject
*_val
) {
14258 PyErr_SetString(PyExc_TypeError
,"Variable ART_ERROR is read-only.");
14263 static PyObject
*_wrap_ART_ERROR_get() {
14268 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
14270 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
14277 static int _wrap_ART_QUESTION_set(PyObject
*_val
) {
14278 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUESTION is read-only.");
14283 static PyObject
*_wrap_ART_QUESTION_get() {
14288 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
14290 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
14297 static int _wrap_ART_WARNING_set(PyObject
*_val
) {
14298 PyErr_SetString(PyExc_TypeError
,"Variable ART_WARNING is read-only.");
14303 static PyObject
*_wrap_ART_WARNING_get() {
14308 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
14310 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
14317 static int _wrap_ART_INFORMATION_set(PyObject
*_val
) {
14318 PyErr_SetString(PyExc_TypeError
,"Variable ART_INFORMATION is read-only.");
14323 static PyObject
*_wrap_ART_INFORMATION_get() {
14328 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
14330 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
14337 static int _wrap_ART_MISSING_IMAGE_set(PyObject
*_val
) {
14338 PyErr_SetString(PyExc_TypeError
,"Variable ART_MISSING_IMAGE is read-only.");
14343 static PyObject
*_wrap_ART_MISSING_IMAGE_get() {
14348 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
14350 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
14357 static PyObject
*_wrap_new_ArtProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14358 PyObject
*resultobj
;
14359 wxPyArtProvider
*result
;
14360 char *kwnames
[] = {
14364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ArtProvider",kwnames
)) goto fail
;
14366 if (!wxPyCheckForApp()) SWIG_fail
;
14367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14368 result
= (wxPyArtProvider
*)new wxPyArtProvider();
14370 wxPyEndAllowThreads(__tstate
);
14371 if (PyErr_Occurred()) SWIG_fail
;
14373 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyArtProvider
, 1);
14380 static PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14381 PyObject
*resultobj
;
14382 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14383 PyObject
*arg2
= (PyObject
*) 0 ;
14384 PyObject
*arg3
= (PyObject
*) 0 ;
14385 PyObject
* obj0
= 0 ;
14386 PyObject
* obj1
= 0 ;
14387 PyObject
* obj2
= 0 ;
14388 char *kwnames
[] = {
14389 (char *) "self",(char *) "self",(char *) "_class", NULL
14392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14399 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14401 wxPyEndAllowThreads(__tstate
);
14402 if (PyErr_Occurred()) SWIG_fail
;
14404 Py_INCREF(Py_None
); resultobj
= Py_None
;
14411 static PyObject
*_wrap_ArtProvider_PushProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14412 PyObject
*resultobj
;
14413 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14414 PyObject
* obj0
= 0 ;
14415 char *kwnames
[] = {
14416 (char *) "provider", NULL
14419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_PushProvider",kwnames
,&obj0
)) goto fail
;
14420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14424 wxPyArtProvider::PushProvider(arg1
);
14426 wxPyEndAllowThreads(__tstate
);
14427 if (PyErr_Occurred()) SWIG_fail
;
14429 Py_INCREF(Py_None
); resultobj
= Py_None
;
14436 static PyObject
*_wrap_ArtProvider_PopProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14437 PyObject
*resultobj
;
14439 char *kwnames
[] = {
14443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ArtProvider_PopProvider",kwnames
)) goto fail
;
14445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14446 result
= (bool)wxPyArtProvider::PopProvider();
14448 wxPyEndAllowThreads(__tstate
);
14449 if (PyErr_Occurred()) SWIG_fail
;
14452 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14460 static PyObject
*_wrap_ArtProvider_RemoveProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14461 PyObject
*resultobj
;
14462 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14464 PyObject
* obj0
= 0 ;
14465 char *kwnames
[] = {
14466 (char *) "provider", NULL
14469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",kwnames
,&obj0
)) goto fail
;
14470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14474 result
= (bool)wxPyArtProvider::RemoveProvider(arg1
);
14476 wxPyEndAllowThreads(__tstate
);
14477 if (PyErr_Occurred()) SWIG_fail
;
14480 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14488 static PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14489 PyObject
*resultobj
;
14490 wxString
*arg1
= 0 ;
14491 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
14492 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14493 wxSize
const &arg3_defvalue
= wxDefaultSize
;
14494 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
14496 bool temp1
= False
;
14497 bool temp2
= False
;
14499 PyObject
* obj0
= 0 ;
14500 PyObject
* obj1
= 0 ;
14501 PyObject
* obj2
= 0 ;
14502 char *kwnames
[] = {
14503 (char *) "id",(char *) "client",(char *) "size", NULL
14506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14508 arg1
= wxString_in_helper(obj0
);
14509 if (arg1
== NULL
) SWIG_fail
;
14514 arg2
= wxString_in_helper(obj1
);
14515 if (arg2
== NULL
) SWIG_fail
;
14522 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14526 if (!wxPyCheckForApp()) SWIG_fail
;
14527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14528 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
14530 wxPyEndAllowThreads(__tstate
);
14531 if (PyErr_Occurred()) SWIG_fail
;
14534 wxBitmap
* resultptr
;
14535 resultptr
= new wxBitmap((wxBitmap
&) result
);
14536 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
14560 static PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14561 PyObject
*resultobj
;
14562 wxString
*arg1
= 0 ;
14563 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
14564 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14565 wxSize
const &arg3_defvalue
= wxDefaultSize
;
14566 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
14568 bool temp1
= False
;
14569 bool temp2
= False
;
14571 PyObject
* obj0
= 0 ;
14572 PyObject
* obj1
= 0 ;
14573 PyObject
* obj2
= 0 ;
14574 char *kwnames
[] = {
14575 (char *) "id",(char *) "client",(char *) "size", NULL
14578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14580 arg1
= wxString_in_helper(obj0
);
14581 if (arg1
== NULL
) SWIG_fail
;
14586 arg2
= wxString_in_helper(obj1
);
14587 if (arg2
== NULL
) SWIG_fail
;
14594 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14598 if (!wxPyCheckForApp()) SWIG_fail
;
14599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14600 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
14602 wxPyEndAllowThreads(__tstate
);
14603 if (PyErr_Occurred()) SWIG_fail
;
14606 wxIcon
* resultptr
;
14607 resultptr
= new wxIcon((wxIcon
&) result
);
14608 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
14632 static PyObject
*_wrap_ArtProvider_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14633 PyObject
*resultobj
;
14634 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14635 PyObject
* obj0
= 0 ;
14636 char *kwnames
[] = {
14637 (char *) "self", NULL
14640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Destroy",kwnames
,&obj0
)) goto fail
;
14641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14645 wxPyArtProvider_Destroy(arg1
);
14647 wxPyEndAllowThreads(__tstate
);
14648 if (PyErr_Occurred()) SWIG_fail
;
14650 Py_INCREF(Py_None
); resultobj
= Py_None
;
14657 static PyObject
* ArtProvider_swigregister(PyObject
*self
, PyObject
*args
) {
14659 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14660 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider
, obj
);
14662 return Py_BuildValue((char *)"");
14664 static PyObject
*_wrap_delete_ConfigBase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14665 PyObject
*resultobj
;
14666 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14667 PyObject
* obj0
= 0 ;
14668 char *kwnames
[] = {
14669 (char *) "self", NULL
14672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigBase",kwnames
,&obj0
)) goto fail
;
14673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14679 wxPyEndAllowThreads(__tstate
);
14680 if (PyErr_Occurred()) SWIG_fail
;
14682 Py_INCREF(Py_None
); resultobj
= Py_None
;
14689 static PyObject
*_wrap_ConfigBase_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14690 PyObject
*resultobj
;
14691 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14692 wxConfigBase
*result
;
14693 PyObject
* obj0
= 0 ;
14694 char *kwnames
[] = {
14695 (char *) "config", NULL
14698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) goto fail
;
14699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14703 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
14705 wxPyEndAllowThreads(__tstate
);
14706 if (PyErr_Occurred()) SWIG_fail
;
14708 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
14715 static PyObject
*_wrap_ConfigBase_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14716 PyObject
*resultobj
;
14717 bool arg1
= (bool) True
;
14718 wxConfigBase
*result
;
14719 PyObject
* obj0
= 0 ;
14720 char *kwnames
[] = {
14721 (char *) "createOnDemand", NULL
14724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) goto fail
;
14726 arg1
= (bool) SWIG_AsBool(obj0
);
14727 if (PyErr_Occurred()) SWIG_fail
;
14730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14731 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
14733 wxPyEndAllowThreads(__tstate
);
14734 if (PyErr_Occurred()) SWIG_fail
;
14736 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
14743 static PyObject
*_wrap_ConfigBase_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14744 PyObject
*resultobj
;
14745 wxConfigBase
*result
;
14746 char *kwnames
[] = {
14750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_Create",kwnames
)) goto fail
;
14752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14753 result
= (wxConfigBase
*)wxConfigBase::Create();
14755 wxPyEndAllowThreads(__tstate
);
14756 if (PyErr_Occurred()) SWIG_fail
;
14758 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
14765 static PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14766 PyObject
*resultobj
;
14767 char *kwnames
[] = {
14771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_DontCreateOnDemand",kwnames
)) goto fail
;
14773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14774 wxConfigBase::DontCreateOnDemand();
14776 wxPyEndAllowThreads(__tstate
);
14777 if (PyErr_Occurred()) SWIG_fail
;
14779 Py_INCREF(Py_None
); resultobj
= Py_None
;
14786 static PyObject
*_wrap_ConfigBase_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14787 PyObject
*resultobj
;
14788 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14789 wxString
*arg2
= 0 ;
14790 bool temp2
= False
;
14791 PyObject
* obj0
= 0 ;
14792 PyObject
* obj1
= 0 ;
14793 char *kwnames
[] = {
14794 (char *) "self",(char *) "path", NULL
14797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
14798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14801 arg2
= wxString_in_helper(obj1
);
14802 if (arg2
== NULL
) SWIG_fail
;
14806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14807 (arg1
)->SetPath((wxString
const &)*arg2
);
14809 wxPyEndAllowThreads(__tstate
);
14810 if (PyErr_Occurred()) SWIG_fail
;
14812 Py_INCREF(Py_None
); resultobj
= Py_None
;
14827 static PyObject
*_wrap_ConfigBase_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14828 PyObject
*resultobj
;
14829 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14831 PyObject
* obj0
= 0 ;
14832 char *kwnames
[] = {
14833 (char *) "self", NULL
14836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetPath",kwnames
,&obj0
)) goto fail
;
14837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14842 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
14843 result
= (wxString
*) &_result_ref
;
14846 wxPyEndAllowThreads(__tstate
);
14847 if (PyErr_Occurred()) SWIG_fail
;
14851 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14853 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14862 static PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14863 PyObject
*resultobj
;
14864 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14866 PyObject
* obj0
= 0 ;
14867 char *kwnames
[] = {
14868 (char *) "self", NULL
14871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstGroup",kwnames
,&obj0
)) goto fail
;
14872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14876 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
14878 wxPyEndAllowThreads(__tstate
);
14879 if (PyErr_Occurred()) SWIG_fail
;
14881 resultobj
= result
;
14888 static PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14889 PyObject
*resultobj
;
14890 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14893 PyObject
* obj0
= 0 ;
14894 PyObject
* obj1
= 0 ;
14895 char *kwnames
[] = {
14896 (char *) "self",(char *) "index", NULL
14899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
14900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14902 arg2
= (long) SWIG_AsLong(obj1
);
14903 if (PyErr_Occurred()) SWIG_fail
;
14905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14906 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
14908 wxPyEndAllowThreads(__tstate
);
14909 if (PyErr_Occurred()) SWIG_fail
;
14911 resultobj
= result
;
14918 static PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14919 PyObject
*resultobj
;
14920 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14922 PyObject
* obj0
= 0 ;
14923 char *kwnames
[] = {
14924 (char *) "self", NULL
14927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstEntry",kwnames
,&obj0
)) goto fail
;
14928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14932 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
14934 wxPyEndAllowThreads(__tstate
);
14935 if (PyErr_Occurred()) SWIG_fail
;
14937 resultobj
= result
;
14944 static PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14945 PyObject
*resultobj
;
14946 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14949 PyObject
* obj0
= 0 ;
14950 PyObject
* obj1
= 0 ;
14951 char *kwnames
[] = {
14952 (char *) "self",(char *) "index", NULL
14955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
14956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14958 arg2
= (long) SWIG_AsLong(obj1
);
14959 if (PyErr_Occurred()) SWIG_fail
;
14961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14962 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
14964 wxPyEndAllowThreads(__tstate
);
14965 if (PyErr_Occurred()) SWIG_fail
;
14967 resultobj
= result
;
14974 static PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14975 PyObject
*resultobj
;
14976 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14977 bool arg2
= (bool) False
;
14979 PyObject
* obj0
= 0 ;
14980 PyObject
* obj1
= 0 ;
14981 char *kwnames
[] = {
14982 (char *) "self",(char *) "recursive", NULL
14985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) goto fail
;
14986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14989 arg2
= (bool) SWIG_AsBool(obj1
);
14990 if (PyErr_Occurred()) SWIG_fail
;
14993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14994 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
14996 wxPyEndAllowThreads(__tstate
);
14997 if (PyErr_Occurred()) SWIG_fail
;
14999 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
15006 static PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15007 PyObject
*resultobj
;
15008 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15009 bool arg2
= (bool) False
;
15011 PyObject
* obj0
= 0 ;
15012 PyObject
* obj1
= 0 ;
15013 char *kwnames
[] = {
15014 (char *) "self",(char *) "recursive", NULL
15017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) goto fail
;
15018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15021 arg2
= (bool) SWIG_AsBool(obj1
);
15022 if (PyErr_Occurred()) SWIG_fail
;
15025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15026 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
15028 wxPyEndAllowThreads(__tstate
);
15029 if (PyErr_Occurred()) SWIG_fail
;
15031 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
15038 static PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15039 PyObject
*resultobj
;
15040 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15041 wxString
*arg2
= 0 ;
15043 bool temp2
= False
;
15044 PyObject
* obj0
= 0 ;
15045 PyObject
* obj1
= 0 ;
15046 char *kwnames
[] = {
15047 (char *) "self",(char *) "name", NULL
15050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
15051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15054 arg2
= wxString_in_helper(obj1
);
15055 if (arg2
== NULL
) SWIG_fail
;
15059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15060 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
15062 wxPyEndAllowThreads(__tstate
);
15063 if (PyErr_Occurred()) SWIG_fail
;
15066 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15082 static PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15083 PyObject
*resultobj
;
15084 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15085 wxString
*arg2
= 0 ;
15087 bool temp2
= False
;
15088 PyObject
* obj0
= 0 ;
15089 PyObject
* obj1
= 0 ;
15090 char *kwnames
[] = {
15091 (char *) "self",(char *) "name", NULL
15094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
15095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15098 arg2
= wxString_in_helper(obj1
);
15099 if (arg2
== NULL
) SWIG_fail
;
15103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15104 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
15106 wxPyEndAllowThreads(__tstate
);
15107 if (PyErr_Occurred()) SWIG_fail
;
15110 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15126 static PyObject
*_wrap_ConfigBase_Exists(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15127 PyObject
*resultobj
;
15128 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15129 wxString
*arg2
= 0 ;
15131 bool temp2
= False
;
15132 PyObject
* obj0
= 0 ;
15133 PyObject
* obj1
= 0 ;
15134 char *kwnames
[] = {
15135 (char *) "self",(char *) "name", NULL
15138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) goto fail
;
15139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15142 arg2
= wxString_in_helper(obj1
);
15143 if (arg2
== NULL
) SWIG_fail
;
15147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15148 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
15150 wxPyEndAllowThreads(__tstate
);
15151 if (PyErr_Occurred()) SWIG_fail
;
15154 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15170 static PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15171 PyObject
*resultobj
;
15172 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15173 wxString
*arg2
= 0 ;
15175 bool temp2
= False
;
15176 PyObject
* obj0
= 0 ;
15177 PyObject
* obj1
= 0 ;
15178 char *kwnames
[] = {
15179 (char *) "self",(char *) "name", NULL
15182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) goto fail
;
15183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15186 arg2
= wxString_in_helper(obj1
);
15187 if (arg2
== NULL
) SWIG_fail
;
15191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15192 result
= (int)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
15194 wxPyEndAllowThreads(__tstate
);
15195 if (PyErr_Occurred()) SWIG_fail
;
15197 resultobj
= SWIG_FromInt((int)result
);
15212 static PyObject
*_wrap_ConfigBase_Read(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15213 PyObject
*resultobj
;
15214 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15215 wxString
*arg2
= 0 ;
15216 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15217 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15219 bool temp2
= False
;
15220 bool temp3
= False
;
15221 PyObject
* obj0
= 0 ;
15222 PyObject
* obj1
= 0 ;
15223 PyObject
* obj2
= 0 ;
15224 char *kwnames
[] = {
15225 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15232 arg2
= wxString_in_helper(obj1
);
15233 if (arg2
== NULL
) SWIG_fail
;
15238 arg3
= wxString_in_helper(obj2
);
15239 if (arg3
== NULL
) SWIG_fail
;
15244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15245 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15247 wxPyEndAllowThreads(__tstate
);
15248 if (PyErr_Occurred()) SWIG_fail
;
15252 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15254 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15279 static PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15280 PyObject
*resultobj
;
15281 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15282 wxString
*arg2
= 0 ;
15283 long arg3
= (long) 0 ;
15285 bool temp2
= False
;
15286 PyObject
* obj0
= 0 ;
15287 PyObject
* obj1
= 0 ;
15288 PyObject
* obj2
= 0 ;
15289 char *kwnames
[] = {
15290 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15297 arg2
= wxString_in_helper(obj1
);
15298 if (arg2
== NULL
) SWIG_fail
;
15302 arg3
= (long) SWIG_AsLong(obj2
);
15303 if (PyErr_Occurred()) SWIG_fail
;
15306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15307 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
15309 wxPyEndAllowThreads(__tstate
);
15310 if (PyErr_Occurred()) SWIG_fail
;
15312 resultobj
= SWIG_FromLong((long)result
);
15327 static PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15328 PyObject
*resultobj
;
15329 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15330 wxString
*arg2
= 0 ;
15331 double arg3
= (double) 0.0 ;
15333 bool temp2
= False
;
15334 PyObject
* obj0
= 0 ;
15335 PyObject
* obj1
= 0 ;
15336 PyObject
* obj2
= 0 ;
15337 char *kwnames
[] = {
15338 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15345 arg2
= wxString_in_helper(obj1
);
15346 if (arg2
== NULL
) SWIG_fail
;
15350 arg3
= (double) SWIG_AsDouble(obj2
);
15351 if (PyErr_Occurred()) SWIG_fail
;
15354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15355 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
15357 wxPyEndAllowThreads(__tstate
);
15358 if (PyErr_Occurred()) SWIG_fail
;
15360 resultobj
= SWIG_FromDouble((double)result
);
15375 static PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15376 PyObject
*resultobj
;
15377 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15378 wxString
*arg2
= 0 ;
15379 bool arg3
= (bool) False
;
15381 bool temp2
= False
;
15382 PyObject
* obj0
= 0 ;
15383 PyObject
* obj1
= 0 ;
15384 PyObject
* obj2
= 0 ;
15385 char *kwnames
[] = {
15386 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15393 arg2
= wxString_in_helper(obj1
);
15394 if (arg2
== NULL
) SWIG_fail
;
15398 arg3
= (bool) SWIG_AsBool(obj2
);
15399 if (PyErr_Occurred()) SWIG_fail
;
15402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15403 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
15405 wxPyEndAllowThreads(__tstate
);
15406 if (PyErr_Occurred()) SWIG_fail
;
15409 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15425 static PyObject
*_wrap_ConfigBase_Write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15426 PyObject
*resultobj
;
15427 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15428 wxString
*arg2
= 0 ;
15429 wxString
*arg3
= 0 ;
15431 bool temp2
= False
;
15432 bool temp3
= False
;
15433 PyObject
* obj0
= 0 ;
15434 PyObject
* obj1
= 0 ;
15435 PyObject
* obj2
= 0 ;
15436 char *kwnames
[] = {
15437 (char *) "self",(char *) "key",(char *) "value", NULL
15440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15444 arg2
= wxString_in_helper(obj1
);
15445 if (arg2
== NULL
) SWIG_fail
;
15449 arg3
= wxString_in_helper(obj2
);
15450 if (arg3
== NULL
) SWIG_fail
;
15454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15455 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15457 wxPyEndAllowThreads(__tstate
);
15458 if (PyErr_Occurred()) SWIG_fail
;
15461 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15485 static PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15486 PyObject
*resultobj
;
15487 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15488 wxString
*arg2
= 0 ;
15491 bool temp2
= False
;
15492 PyObject
* obj0
= 0 ;
15493 PyObject
* obj1
= 0 ;
15494 PyObject
* obj2
= 0 ;
15495 char *kwnames
[] = {
15496 (char *) "self",(char *) "key",(char *) "value", NULL
15499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15503 arg2
= wxString_in_helper(obj1
);
15504 if (arg2
== NULL
) SWIG_fail
;
15507 arg3
= (long) SWIG_AsLong(obj2
);
15508 if (PyErr_Occurred()) SWIG_fail
;
15510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15511 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15513 wxPyEndAllowThreads(__tstate
);
15514 if (PyErr_Occurred()) SWIG_fail
;
15517 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15533 static PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15534 PyObject
*resultobj
;
15535 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15536 wxString
*arg2
= 0 ;
15539 bool temp2
= False
;
15540 PyObject
* obj0
= 0 ;
15541 PyObject
* obj1
= 0 ;
15542 PyObject
* obj2
= 0 ;
15543 char *kwnames
[] = {
15544 (char *) "self",(char *) "key",(char *) "value", NULL
15547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15551 arg2
= wxString_in_helper(obj1
);
15552 if (arg2
== NULL
) SWIG_fail
;
15555 arg3
= (double) SWIG_AsDouble(obj2
);
15556 if (PyErr_Occurred()) SWIG_fail
;
15558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15559 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15561 wxPyEndAllowThreads(__tstate
);
15562 if (PyErr_Occurred()) SWIG_fail
;
15565 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15581 static PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15582 PyObject
*resultobj
;
15583 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15584 wxString
*arg2
= 0 ;
15587 bool temp2
= False
;
15588 PyObject
* obj0
= 0 ;
15589 PyObject
* obj1
= 0 ;
15590 PyObject
* obj2
= 0 ;
15591 char *kwnames
[] = {
15592 (char *) "self",(char *) "key",(char *) "value", NULL
15595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15599 arg2
= wxString_in_helper(obj1
);
15600 if (arg2
== NULL
) SWIG_fail
;
15603 arg3
= (bool) SWIG_AsBool(obj2
);
15604 if (PyErr_Occurred()) SWIG_fail
;
15606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15607 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15609 wxPyEndAllowThreads(__tstate
);
15610 if (PyErr_Occurred()) SWIG_fail
;
15613 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15629 static PyObject
*_wrap_ConfigBase_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15630 PyObject
*resultobj
;
15631 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15632 bool arg2
= (bool) False
;
15634 PyObject
* obj0
= 0 ;
15635 PyObject
* obj1
= 0 ;
15636 char *kwnames
[] = {
15637 (char *) "self",(char *) "currentOnly", NULL
15640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) goto fail
;
15641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15644 arg2
= (bool) SWIG_AsBool(obj1
);
15645 if (PyErr_Occurred()) SWIG_fail
;
15648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15649 result
= (bool)(arg1
)->Flush(arg2
);
15651 wxPyEndAllowThreads(__tstate
);
15652 if (PyErr_Occurred()) SWIG_fail
;
15655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15663 static PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15664 PyObject
*resultobj
;
15665 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15666 wxString
*arg2
= 0 ;
15667 wxString
*arg3
= 0 ;
15669 bool temp2
= False
;
15670 bool temp3
= False
;
15671 PyObject
* obj0
= 0 ;
15672 PyObject
* obj1
= 0 ;
15673 PyObject
* obj2
= 0 ;
15674 char *kwnames
[] = {
15675 (char *) "self",(char *) "oldName",(char *) "newName", NULL
15678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15682 arg2
= wxString_in_helper(obj1
);
15683 if (arg2
== NULL
) SWIG_fail
;
15687 arg3
= wxString_in_helper(obj2
);
15688 if (arg3
== NULL
) SWIG_fail
;
15692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15693 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15695 wxPyEndAllowThreads(__tstate
);
15696 if (PyErr_Occurred()) SWIG_fail
;
15699 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15723 static PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15724 PyObject
*resultobj
;
15725 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15726 wxString
*arg2
= 0 ;
15727 wxString
*arg3
= 0 ;
15729 bool temp2
= False
;
15730 bool temp3
= False
;
15731 PyObject
* obj0
= 0 ;
15732 PyObject
* obj1
= 0 ;
15733 PyObject
* obj2
= 0 ;
15734 char *kwnames
[] = {
15735 (char *) "self",(char *) "oldName",(char *) "newName", NULL
15738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15742 arg2
= wxString_in_helper(obj1
);
15743 if (arg2
== NULL
) SWIG_fail
;
15747 arg3
= wxString_in_helper(obj2
);
15748 if (arg3
== NULL
) SWIG_fail
;
15752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15753 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15755 wxPyEndAllowThreads(__tstate
);
15756 if (PyErr_Occurred()) SWIG_fail
;
15759 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15783 static PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15784 PyObject
*resultobj
;
15785 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15786 wxString
*arg2
= 0 ;
15787 bool arg3
= (bool) True
;
15789 bool temp2
= False
;
15790 PyObject
* obj0
= 0 ;
15791 PyObject
* obj1
= 0 ;
15792 PyObject
* obj2
= 0 ;
15793 char *kwnames
[] = {
15794 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
15797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15801 arg2
= wxString_in_helper(obj1
);
15802 if (arg2
== NULL
) SWIG_fail
;
15806 arg3
= (bool) SWIG_AsBool(obj2
);
15807 if (PyErr_Occurred()) SWIG_fail
;
15810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15811 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
15813 wxPyEndAllowThreads(__tstate
);
15814 if (PyErr_Occurred()) SWIG_fail
;
15817 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15833 static PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15834 PyObject
*resultobj
;
15835 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15836 wxString
*arg2
= 0 ;
15838 bool temp2
= False
;
15839 PyObject
* obj0
= 0 ;
15840 PyObject
* obj1
= 0 ;
15841 char *kwnames
[] = {
15842 (char *) "self",(char *) "key", NULL
15845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
15846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15849 arg2
= wxString_in_helper(obj1
);
15850 if (arg2
== NULL
) SWIG_fail
;
15854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15855 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
15857 wxPyEndAllowThreads(__tstate
);
15858 if (PyErr_Occurred()) SWIG_fail
;
15861 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15877 static PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15878 PyObject
*resultobj
;
15879 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15881 PyObject
* obj0
= 0 ;
15882 char *kwnames
[] = {
15883 (char *) "self", NULL
15886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_DeleteAll",kwnames
,&obj0
)) goto fail
;
15887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15891 result
= (bool)(arg1
)->DeleteAll();
15893 wxPyEndAllowThreads(__tstate
);
15894 if (PyErr_Occurred()) SWIG_fail
;
15897 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15905 static PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15906 PyObject
*resultobj
;
15907 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15908 bool arg2
= (bool) True
;
15909 PyObject
* obj0
= 0 ;
15910 PyObject
* obj1
= 0 ;
15911 char *kwnames
[] = {
15912 (char *) "self",(char *) "doIt", NULL
15915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
15916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15919 arg2
= (bool) SWIG_AsBool(obj1
);
15920 if (PyErr_Occurred()) SWIG_fail
;
15923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15924 (arg1
)->SetExpandEnvVars(arg2
);
15926 wxPyEndAllowThreads(__tstate
);
15927 if (PyErr_Occurred()) SWIG_fail
;
15929 Py_INCREF(Py_None
); resultobj
= Py_None
;
15936 static PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15937 PyObject
*resultobj
;
15938 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15940 PyObject
* obj0
= 0 ;
15941 char *kwnames
[] = {
15942 (char *) "self", NULL
15945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames
,&obj0
)) goto fail
;
15946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15950 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
15952 wxPyEndAllowThreads(__tstate
);
15953 if (PyErr_Occurred()) SWIG_fail
;
15956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15964 static PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15965 PyObject
*resultobj
;
15966 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15967 bool arg2
= (bool) True
;
15968 PyObject
* obj0
= 0 ;
15969 PyObject
* obj1
= 0 ;
15970 char *kwnames
[] = {
15971 (char *) "self",(char *) "doIt", NULL
15974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
15975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15978 arg2
= (bool) SWIG_AsBool(obj1
);
15979 if (PyErr_Occurred()) SWIG_fail
;
15982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15983 (arg1
)->SetRecordDefaults(arg2
);
15985 wxPyEndAllowThreads(__tstate
);
15986 if (PyErr_Occurred()) SWIG_fail
;
15988 Py_INCREF(Py_None
); resultobj
= Py_None
;
15995 static PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15996 PyObject
*resultobj
;
15997 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15999 PyObject
* obj0
= 0 ;
16000 char *kwnames
[] = {
16001 (char *) "self", NULL
16004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames
,&obj0
)) goto fail
;
16005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16009 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
16011 wxPyEndAllowThreads(__tstate
);
16012 if (PyErr_Occurred()) SWIG_fail
;
16015 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16023 static PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16024 PyObject
*resultobj
;
16025 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16026 wxString
*arg2
= 0 ;
16028 bool temp2
= False
;
16029 PyObject
* obj0
= 0 ;
16030 PyObject
* obj1
= 0 ;
16031 char *kwnames
[] = {
16032 (char *) "self",(char *) "str", NULL
16035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
16036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16039 arg2
= wxString_in_helper(obj1
);
16040 if (arg2
== NULL
) SWIG_fail
;
16044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16045 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
16047 wxPyEndAllowThreads(__tstate
);
16048 if (PyErr_Occurred()) SWIG_fail
;
16052 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16054 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16071 static PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16072 PyObject
*resultobj
;
16073 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16075 PyObject
* obj0
= 0 ;
16076 char *kwnames
[] = {
16077 (char *) "self", NULL
16080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetAppName",kwnames
,&obj0
)) goto fail
;
16081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16085 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
16087 wxPyEndAllowThreads(__tstate
);
16088 if (PyErr_Occurred()) SWIG_fail
;
16092 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16094 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16103 static PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16104 PyObject
*resultobj
;
16105 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16107 PyObject
* obj0
= 0 ;
16108 char *kwnames
[] = {
16109 (char *) "self", NULL
16112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetVendorName",kwnames
,&obj0
)) goto fail
;
16113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16117 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
16119 wxPyEndAllowThreads(__tstate
);
16120 if (PyErr_Occurred()) SWIG_fail
;
16124 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16126 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16135 static PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16136 PyObject
*resultobj
;
16137 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16138 wxString
*arg2
= 0 ;
16139 bool temp2
= False
;
16140 PyObject
* obj0
= 0 ;
16141 PyObject
* obj1
= 0 ;
16142 char *kwnames
[] = {
16143 (char *) "self",(char *) "appName", NULL
16146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
16147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16150 arg2
= wxString_in_helper(obj1
);
16151 if (arg2
== NULL
) SWIG_fail
;
16155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16156 (arg1
)->SetAppName((wxString
const &)*arg2
);
16158 wxPyEndAllowThreads(__tstate
);
16159 if (PyErr_Occurred()) SWIG_fail
;
16161 Py_INCREF(Py_None
); resultobj
= Py_None
;
16176 static PyObject
*_wrap_ConfigBase_SetVendorName(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 *) "vendorName", NULL
16187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",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
)->SetVendorName((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_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16218 PyObject
*resultobj
;
16219 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16221 PyObject
* obj0
= 0 ;
16222 PyObject
* obj1
= 0 ;
16223 char *kwnames
[] = {
16224 (char *) "self",(char *) "style", NULL
16227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
16228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16230 arg2
= (long) SWIG_AsLong(obj1
);
16231 if (PyErr_Occurred()) SWIG_fail
;
16233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16234 (arg1
)->SetStyle(arg2
);
16236 wxPyEndAllowThreads(__tstate
);
16237 if (PyErr_Occurred()) SWIG_fail
;
16239 Py_INCREF(Py_None
); resultobj
= Py_None
;
16246 static PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16247 PyObject
*resultobj
;
16248 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16250 PyObject
* obj0
= 0 ;
16251 char *kwnames
[] = {
16252 (char *) "self", NULL
16255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetStyle",kwnames
,&obj0
)) goto fail
;
16256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16260 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
16262 wxPyEndAllowThreads(__tstate
);
16263 if (PyErr_Occurred()) SWIG_fail
;
16265 resultobj
= SWIG_FromLong((long)result
);
16272 static PyObject
* ConfigBase_swigregister(PyObject
*self
, PyObject
*args
) {
16274 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16275 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase
, obj
);
16277 return Py_BuildValue((char *)"");
16279 static PyObject
*_wrap_new_Config(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16280 PyObject
*resultobj
;
16281 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16282 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16283 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16284 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16285 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16286 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16287 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16288 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16289 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
16291 bool temp1
= False
;
16292 bool temp2
= False
;
16293 bool temp3
= False
;
16294 bool temp4
= False
;
16295 PyObject
* obj0
= 0 ;
16296 PyObject
* obj1
= 0 ;
16297 PyObject
* obj2
= 0 ;
16298 PyObject
* obj3
= 0 ;
16299 PyObject
* obj4
= 0 ;
16300 char *kwnames
[] = {
16301 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16307 arg1
= wxString_in_helper(obj0
);
16308 if (arg1
== NULL
) SWIG_fail
;
16314 arg2
= wxString_in_helper(obj1
);
16315 if (arg2
== NULL
) SWIG_fail
;
16321 arg3
= wxString_in_helper(obj2
);
16322 if (arg3
== NULL
) SWIG_fail
;
16328 arg4
= wxString_in_helper(obj3
);
16329 if (arg4
== NULL
) SWIG_fail
;
16334 arg5
= (long) SWIG_AsLong(obj4
);
16335 if (PyErr_Occurred()) SWIG_fail
;
16338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16339 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
16341 wxPyEndAllowThreads(__tstate
);
16342 if (PyErr_Occurred()) SWIG_fail
;
16344 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfig
, 1);
16383 static PyObject
*_wrap_delete_Config(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16384 PyObject
*resultobj
;
16385 wxConfig
*arg1
= (wxConfig
*) 0 ;
16386 PyObject
* obj0
= 0 ;
16387 char *kwnames
[] = {
16388 (char *) "self", NULL
16391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Config",kwnames
,&obj0
)) goto fail
;
16392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfig
,
16393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16398 wxPyEndAllowThreads(__tstate
);
16399 if (PyErr_Occurred()) SWIG_fail
;
16401 Py_INCREF(Py_None
); resultobj
= Py_None
;
16408 static PyObject
* Config_swigregister(PyObject
*self
, PyObject
*args
) {
16410 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16411 SWIG_TypeClientData(SWIGTYPE_p_wxConfig
, obj
);
16413 return Py_BuildValue((char *)"");
16415 static PyObject
*_wrap_new_FileConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16416 PyObject
*resultobj
;
16417 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16418 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16419 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16420 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16421 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16422 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16423 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16424 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16425 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
16426 wxFileConfig
*result
;
16427 bool temp1
= False
;
16428 bool temp2
= False
;
16429 bool temp3
= False
;
16430 bool temp4
= False
;
16431 PyObject
* obj0
= 0 ;
16432 PyObject
* obj1
= 0 ;
16433 PyObject
* obj2
= 0 ;
16434 PyObject
* obj3
= 0 ;
16435 PyObject
* obj4
= 0 ;
16436 char *kwnames
[] = {
16437 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16443 arg1
= wxString_in_helper(obj0
);
16444 if (arg1
== NULL
) SWIG_fail
;
16450 arg2
= wxString_in_helper(obj1
);
16451 if (arg2
== NULL
) SWIG_fail
;
16457 arg3
= wxString_in_helper(obj2
);
16458 if (arg3
== NULL
) SWIG_fail
;
16464 arg4
= wxString_in_helper(obj3
);
16465 if (arg4
== NULL
) SWIG_fail
;
16470 arg5
= (long) SWIG_AsLong(obj4
);
16471 if (PyErr_Occurred()) SWIG_fail
;
16474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16475 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
16477 wxPyEndAllowThreads(__tstate
);
16478 if (PyErr_Occurred()) SWIG_fail
;
16480 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileConfig
, 1);
16519 static PyObject
*_wrap_delete_FileConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16520 PyObject
*resultobj
;
16521 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
16522 PyObject
* obj0
= 0 ;
16523 char *kwnames
[] = {
16524 (char *) "self", NULL
16527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileConfig",kwnames
,&obj0
)) goto fail
;
16528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileConfig
,
16529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16534 wxPyEndAllowThreads(__tstate
);
16535 if (PyErr_Occurred()) SWIG_fail
;
16537 Py_INCREF(Py_None
); resultobj
= Py_None
;
16544 static PyObject
* FileConfig_swigregister(PyObject
*self
, PyObject
*args
) {
16546 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16547 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig
, obj
);
16549 return Py_BuildValue((char *)"");
16551 static PyObject
*_wrap_new_ConfigPathChanger(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16552 PyObject
*resultobj
;
16553 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16554 wxString
*arg2
= 0 ;
16555 wxConfigPathChanger
*result
;
16556 bool temp2
= False
;
16557 PyObject
* obj0
= 0 ;
16558 PyObject
* obj1
= 0 ;
16559 char *kwnames
[] = {
16560 (char *) "config",(char *) "entry", NULL
16563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) goto fail
;
16564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16567 arg2
= wxString_in_helper(obj1
);
16568 if (arg2
== NULL
) SWIG_fail
;
16572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16573 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
16575 wxPyEndAllowThreads(__tstate
);
16576 if (PyErr_Occurred()) SWIG_fail
;
16578 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigPathChanger
, 1);
16593 static PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16594 PyObject
*resultobj
;
16595 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
16596 PyObject
* obj0
= 0 ;
16597 char *kwnames
[] = {
16598 (char *) "self", NULL
16601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigPathChanger",kwnames
,&obj0
)) goto fail
;
16602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigPathChanger
,
16603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16608 wxPyEndAllowThreads(__tstate
);
16609 if (PyErr_Occurred()) SWIG_fail
;
16611 Py_INCREF(Py_None
); resultobj
= Py_None
;
16618 static PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16619 PyObject
*resultobj
;
16620 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
16622 PyObject
* obj0
= 0 ;
16623 char *kwnames
[] = {
16624 (char *) "self", NULL
16627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigPathChanger_Name",kwnames
,&obj0
)) goto fail
;
16628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigPathChanger
,
16629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16633 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
16634 result
= (wxString
*) &_result_ref
;
16637 wxPyEndAllowThreads(__tstate
);
16638 if (PyErr_Occurred()) SWIG_fail
;
16642 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16644 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16653 static PyObject
* ConfigPathChanger_swigregister(PyObject
*self
, PyObject
*args
) {
16655 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16656 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger
, obj
);
16658 return Py_BuildValue((char *)"");
16660 static PyObject
*_wrap_ExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16661 PyObject
*resultobj
;
16662 wxString
*arg1
= 0 ;
16664 bool temp1
= False
;
16665 PyObject
* obj0
= 0 ;
16666 char *kwnames
[] = {
16667 (char *) "sz", NULL
16670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) goto fail
;
16672 arg1
= wxString_in_helper(obj0
);
16673 if (arg1
== NULL
) SWIG_fail
;
16677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16678 result
= wxExpandEnvVars((wxString
const &)*arg1
);
16680 wxPyEndAllowThreads(__tstate
);
16681 if (PyErr_Occurred()) SWIG_fail
;
16685 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16687 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16704 static int _wrap_DateFormatStr_set(PyObject
*_val
) {
16705 PyErr_SetString(PyExc_TypeError
,"Variable DateFormatStr is read-only.");
16710 static PyObject
*_wrap_DateFormatStr_get() {
16715 pyobj
= PyUnicode_FromWideChar((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
16717 pyobj
= PyString_FromStringAndSize((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
16724 static int _wrap_TimeSpanFormatStr_set(PyObject
*_val
) {
16725 PyErr_SetString(PyExc_TypeError
,"Variable TimeSpanFormatStr is read-only.");
16730 static PyObject
*_wrap_TimeSpanFormatStr_get() {
16735 pyobj
= PyUnicode_FromWideChar((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
16737 pyobj
= PyString_FromStringAndSize((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
16744 static PyObject
*_wrap_DateTime_SetCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16745 PyObject
*resultobj
;
16747 PyObject
* obj0
= 0 ;
16748 char *kwnames
[] = {
16749 (char *) "country", NULL
16752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) goto fail
;
16753 arg1
= (wxDateTime::Country
) SWIG_AsInt(obj0
);
16754 if (PyErr_Occurred()) SWIG_fail
;
16756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16757 wxDateTime::SetCountry((wxDateTime::Country
)arg1
);
16759 wxPyEndAllowThreads(__tstate
);
16760 if (PyErr_Occurred()) SWIG_fail
;
16762 Py_INCREF(Py_None
); resultobj
= Py_None
;
16769 static PyObject
*_wrap_DateTime_GetCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16770 PyObject
*resultobj
;
16772 char *kwnames
[] = {
16776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetCountry",kwnames
)) goto fail
;
16778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16779 result
= (int)wxDateTime::GetCountry();
16781 wxPyEndAllowThreads(__tstate
);
16782 if (PyErr_Occurred()) SWIG_fail
;
16784 resultobj
= SWIG_FromInt((int)result
);
16791 static PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16792 PyObject
*resultobj
;
16793 int arg1
= (int) wxDateTime::Country_Default
;
16795 PyObject
* obj0
= 0 ;
16796 char *kwnames
[] = {
16797 (char *) "country", NULL
16800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) goto fail
;
16802 arg1
= (wxDateTime::Country
) SWIG_AsInt(obj0
);
16803 if (PyErr_Occurred()) SWIG_fail
;
16806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16807 result
= (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country
)arg1
);
16809 wxPyEndAllowThreads(__tstate
);
16810 if (PyErr_Occurred()) SWIG_fail
;
16813 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16821 static PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16822 PyObject
*resultobj
;
16823 int arg1
= (int) wxDateTime::Gregorian
;
16825 PyObject
* obj0
= 0 ;
16826 char *kwnames
[] = {
16827 (char *) "cal", NULL
16830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) goto fail
;
16832 arg1
= (wxDateTime::Calendar
) SWIG_AsInt(obj0
);
16833 if (PyErr_Occurred()) SWIG_fail
;
16836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16837 result
= (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar
)arg1
);
16839 wxPyEndAllowThreads(__tstate
);
16840 if (PyErr_Occurred()) SWIG_fail
;
16842 resultobj
= SWIG_FromInt((int)result
);
16849 static PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16850 PyObject
*resultobj
;
16853 PyObject
* obj0
= 0 ;
16854 char *kwnames
[] = {
16855 (char *) "year", NULL
16858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) goto fail
;
16859 arg1
= (int) SWIG_AsInt(obj0
);
16860 if (PyErr_Occurred()) SWIG_fail
;
16862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16863 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
16865 wxPyEndAllowThreads(__tstate
);
16866 if (PyErr_Occurred()) SWIG_fail
;
16868 resultobj
= SWIG_FromInt((int)result
);
16875 static PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16876 PyObject
*resultobj
;
16877 int arg1
= (int) wxDateTime::Gregorian
;
16879 PyObject
* obj0
= 0 ;
16880 char *kwnames
[] = {
16881 (char *) "cal", NULL
16884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",kwnames
,&obj0
)) goto fail
;
16886 arg1
= (wxDateTime::Calendar
) SWIG_AsInt(obj0
);
16887 if (PyErr_Occurred()) SWIG_fail
;
16890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16891 result
= (int)wxDateTime::GetCurrentMonth((wxDateTime::Calendar
)arg1
);
16893 wxPyEndAllowThreads(__tstate
);
16894 if (PyErr_Occurred()) SWIG_fail
;
16896 resultobj
= SWIG_FromInt((int)result
);
16903 static PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16904 PyObject
*resultobj
;
16905 int arg1
= (int) wxDateTime::Inv_Year
;
16906 int arg2
= (int) wxDateTime::Gregorian
;
16908 PyObject
* obj0
= 0 ;
16909 PyObject
* obj1
= 0 ;
16910 char *kwnames
[] = {
16911 (char *) "year",(char *) "cal", NULL
16914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) goto fail
;
16916 arg1
= (int) SWIG_AsInt(obj0
);
16917 if (PyErr_Occurred()) SWIG_fail
;
16920 arg2
= (wxDateTime::Calendar
) SWIG_AsInt(obj1
);
16921 if (PyErr_Occurred()) SWIG_fail
;
16924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16925 result
= (bool)wxDateTime::IsLeapYear(arg1
,(wxDateTime::Calendar
)arg2
);
16927 wxPyEndAllowThreads(__tstate
);
16928 if (PyErr_Occurred()) SWIG_fail
;
16931 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16939 static PyObject
*_wrap_DateTime_GetCentury(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16940 PyObject
*resultobj
;
16941 int arg1
= (int) wxDateTime::Inv_Year
;
16943 PyObject
* obj0
= 0 ;
16944 char *kwnames
[] = {
16945 (char *) "year", NULL
16948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) goto fail
;
16950 arg1
= (int) SWIG_AsInt(obj0
);
16951 if (PyErr_Occurred()) SWIG_fail
;
16954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16955 result
= (int)wxDateTime::GetCentury(arg1
);
16957 wxPyEndAllowThreads(__tstate
);
16958 if (PyErr_Occurred()) SWIG_fail
;
16960 resultobj
= SWIG_FromInt((int)result
);
16967 static PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16968 PyObject
*resultobj
;
16970 int arg2
= (int) wxDateTime::Gregorian
;
16972 PyObject
* obj0
= 0 ;
16973 PyObject
* obj1
= 0 ;
16974 char *kwnames
[] = {
16975 (char *) "year",(char *) "cal", NULL
16978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) goto fail
;
16979 arg1
= (int) SWIG_AsInt(obj0
);
16980 if (PyErr_Occurred()) SWIG_fail
;
16982 arg2
= (wxDateTime::Calendar
) SWIG_AsInt(obj1
);
16983 if (PyErr_Occurred()) SWIG_fail
;
16986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16987 result
= (int)wxDateTime::GetNumberOfDays(arg1
,(wxDateTime::Calendar
)arg2
);
16989 wxPyEndAllowThreads(__tstate
);
16990 if (PyErr_Occurred()) SWIG_fail
;
16992 resultobj
= SWIG_FromInt((int)result
);
16999 static PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17000 PyObject
*resultobj
;
17002 int arg2
= (int) wxDateTime::Inv_Year
;
17003 int arg3
= (int) wxDateTime::Gregorian
;
17005 PyObject
* obj0
= 0 ;
17006 PyObject
* obj1
= 0 ;
17007 PyObject
* obj2
= 0 ;
17008 char *kwnames
[] = {
17009 (char *) "month",(char *) "year",(char *) "cal", NULL
17012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17013 arg1
= (wxDateTime::Month
) SWIG_AsInt(obj0
);
17014 if (PyErr_Occurred()) SWIG_fail
;
17016 arg2
= (int) SWIG_AsInt(obj1
);
17017 if (PyErr_Occurred()) SWIG_fail
;
17020 arg3
= (wxDateTime::Calendar
) SWIG_AsInt(obj2
);
17021 if (PyErr_Occurred()) SWIG_fail
;
17024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17025 result
= (int)wxDateTime::GetNumberOfDays((wxDateTime::Month
)arg1
,arg2
,(wxDateTime::Calendar
)arg3
);
17027 wxPyEndAllowThreads(__tstate
);
17028 if (PyErr_Occurred()) SWIG_fail
;
17030 resultobj
= SWIG_FromInt((int)result
);
17037 static PyObject
*_wrap_DateTime_GetMonthName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17038 PyObject
*resultobj
;
17040 int arg2
= (int) wxDateTime::Name_Full
;
17042 PyObject
* obj0
= 0 ;
17043 PyObject
* obj1
= 0 ;
17044 char *kwnames
[] = {
17045 (char *) "month",(char *) "flags", NULL
17048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) goto fail
;
17049 arg1
= (wxDateTime::Month
) SWIG_AsInt(obj0
);
17050 if (PyErr_Occurred()) SWIG_fail
;
17052 arg2
= (wxDateTime::NameFlags
) SWIG_AsInt(obj1
);
17053 if (PyErr_Occurred()) SWIG_fail
;
17056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17057 result
= wxDateTime::GetMonthName((wxDateTime::Month
)arg1
,(wxDateTime::NameFlags
)arg2
);
17059 wxPyEndAllowThreads(__tstate
);
17060 if (PyErr_Occurred()) SWIG_fail
;
17064 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17066 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17075 static PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17076 PyObject
*resultobj
;
17078 int arg2
= (int) wxDateTime::Name_Full
;
17080 PyObject
* obj0
= 0 ;
17081 PyObject
* obj1
= 0 ;
17082 char *kwnames
[] = {
17083 (char *) "weekday",(char *) "flags", NULL
17086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) goto fail
;
17087 arg1
= (wxDateTime::WeekDay
) SWIG_AsInt(obj0
);
17088 if (PyErr_Occurred()) SWIG_fail
;
17090 arg2
= (wxDateTime::NameFlags
) SWIG_AsInt(obj1
);
17091 if (PyErr_Occurred()) SWIG_fail
;
17094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17095 result
= wxDateTime::GetWeekDayName((wxDateTime::WeekDay
)arg1
,(wxDateTime::NameFlags
)arg2
);
17097 wxPyEndAllowThreads(__tstate
);
17098 if (PyErr_Occurred()) SWIG_fail
;
17102 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17104 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17113 static PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17114 PyObject
*resultobj
;
17115 wxString
*arg1
= (wxString
*) 0 ;
17116 wxString
*arg2
= (wxString
*) 0 ;
17117 bool temp1
= False
;
17118 bool temp2
= False
;
17119 PyObject
* obj0
= 0 ;
17120 PyObject
* obj1
= 0 ;
17121 char *kwnames
[] = {
17122 (char *) "OUTPUT",(char *) "OUTPUT", NULL
17125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetAmPmStrings",kwnames
,&obj0
,&obj1
)) goto fail
;
17127 arg1
= wxString_in_helper(obj0
);
17128 if (arg1
== NULL
) SWIG_fail
;
17132 arg2
= wxString_in_helper(obj1
);
17133 if (arg2
== NULL
) SWIG_fail
;
17137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17138 wxDateTime::GetAmPmStrings(arg1
,arg2
);
17140 wxPyEndAllowThreads(__tstate
);
17141 if (PyErr_Occurred()) SWIG_fail
;
17143 Py_INCREF(Py_None
); resultobj
= Py_None
;
17166 static PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17167 PyObject
*resultobj
;
17168 int arg1
= (int) wxDateTime::Inv_Year
;
17169 int arg2
= (int) wxDateTime::Country_Default
;
17171 PyObject
* obj0
= 0 ;
17172 PyObject
* obj1
= 0 ;
17173 char *kwnames
[] = {
17174 (char *) "year",(char *) "country", NULL
17177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) goto fail
;
17179 arg1
= (int) SWIG_AsInt(obj0
);
17180 if (PyErr_Occurred()) SWIG_fail
;
17183 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
17184 if (PyErr_Occurred()) SWIG_fail
;
17187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17188 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,(wxDateTime::Country
)arg2
);
17190 wxPyEndAllowThreads(__tstate
);
17191 if (PyErr_Occurred()) SWIG_fail
;
17194 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17202 static PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17203 PyObject
*resultobj
;
17204 int arg1
= (int) wxDateTime::Inv_Year
;
17205 int arg2
= (int) wxDateTime::Country_Default
;
17207 PyObject
* obj0
= 0 ;
17208 PyObject
* obj1
= 0 ;
17209 char *kwnames
[] = {
17210 (char *) "year",(char *) "country", NULL
17213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetBeginDST",kwnames
,&obj0
,&obj1
)) goto fail
;
17215 arg1
= (int) SWIG_AsInt(obj0
);
17216 if (PyErr_Occurred()) SWIG_fail
;
17219 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
17220 if (PyErr_Occurred()) SWIG_fail
;
17223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17224 result
= wxDateTime::GetBeginDST(arg1
,(wxDateTime::Country
)arg2
);
17226 wxPyEndAllowThreads(__tstate
);
17227 if (PyErr_Occurred()) SWIG_fail
;
17230 wxDateTime
* resultptr
;
17231 resultptr
= new wxDateTime((wxDateTime
&) result
);
17232 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17240 static PyObject
*_wrap_DateTime_GetEndDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17241 PyObject
*resultobj
;
17242 int arg1
= (int) wxDateTime::Inv_Year
;
17243 int arg2
= (int) wxDateTime::Country_Default
;
17245 PyObject
* obj0
= 0 ;
17246 PyObject
* obj1
= 0 ;
17247 char *kwnames
[] = {
17248 (char *) "year",(char *) "country", NULL
17251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) goto fail
;
17253 arg1
= (int) SWIG_AsInt(obj0
);
17254 if (PyErr_Occurred()) SWIG_fail
;
17257 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
17258 if (PyErr_Occurred()) SWIG_fail
;
17261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17262 result
= wxDateTime::GetEndDST(arg1
,(wxDateTime::Country
)arg2
);
17264 wxPyEndAllowThreads(__tstate
);
17265 if (PyErr_Occurred()) SWIG_fail
;
17268 wxDateTime
* resultptr
;
17269 resultptr
= new wxDateTime((wxDateTime
&) result
);
17270 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17278 static PyObject
*_wrap_DateTime_Now(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17279 PyObject
*resultobj
;
17281 char *kwnames
[] = {
17285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Now",kwnames
)) goto fail
;
17287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17288 result
= wxDateTime::Now();
17290 wxPyEndAllowThreads(__tstate
);
17291 if (PyErr_Occurred()) SWIG_fail
;
17294 wxDateTime
* resultptr
;
17295 resultptr
= new wxDateTime((wxDateTime
&) result
);
17296 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17304 static PyObject
*_wrap_DateTime_UNow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17305 PyObject
*resultobj
;
17307 char *kwnames
[] = {
17311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_UNow",kwnames
)) goto fail
;
17313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17314 result
= wxDateTime::UNow();
17316 wxPyEndAllowThreads(__tstate
);
17317 if (PyErr_Occurred()) SWIG_fail
;
17320 wxDateTime
* resultptr
;
17321 resultptr
= new wxDateTime((wxDateTime
&) result
);
17322 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17330 static PyObject
*_wrap_DateTime_Today(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17331 PyObject
*resultobj
;
17333 char *kwnames
[] = {
17337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Today",kwnames
)) goto fail
;
17339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17340 result
= wxDateTime::Today();
17342 wxPyEndAllowThreads(__tstate
);
17343 if (PyErr_Occurred()) SWIG_fail
;
17346 wxDateTime
* resultptr
;
17347 resultptr
= new wxDateTime((wxDateTime
&) result
);
17348 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17356 static PyObject
*_wrap_new_DateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17357 PyObject
*resultobj
;
17358 wxDateTime
*result
;
17359 char *kwnames
[] = {
17363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DateTime",kwnames
)) goto fail
;
17365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17366 result
= (wxDateTime
*)new wxDateTime();
17368 wxPyEndAllowThreads(__tstate
);
17369 if (PyErr_Occurred()) SWIG_fail
;
17371 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17378 static PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17379 PyObject
*resultobj
;
17381 wxDateTime
*result
;
17382 PyObject
* obj0
= 0 ;
17383 char *kwnames
[] = {
17384 (char *) "timet", NULL
17387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) goto fail
;
17388 arg1
= (time_t) SWIG_AsUnsignedInt(obj0
);
17389 if (PyErr_Occurred()) SWIG_fail
;
17391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17392 result
= (wxDateTime
*)new wxDateTime(arg1
);
17394 wxPyEndAllowThreads(__tstate
);
17395 if (PyErr_Occurred()) SWIG_fail
;
17397 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17404 static PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17405 PyObject
*resultobj
;
17407 wxDateTime
*result
;
17408 PyObject
* obj0
= 0 ;
17409 char *kwnames
[] = {
17410 (char *) "jdn", NULL
17413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) goto fail
;
17414 arg1
= (double) SWIG_AsDouble(obj0
);
17415 if (PyErr_Occurred()) SWIG_fail
;
17417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17418 result
= (wxDateTime
*)new wxDateTime(arg1
);
17420 wxPyEndAllowThreads(__tstate
);
17421 if (PyErr_Occurred()) SWIG_fail
;
17423 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17430 static PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17431 PyObject
*resultobj
;
17433 int arg2
= (int) 0 ;
17434 int arg3
= (int) 0 ;
17435 int arg4
= (int) 0 ;
17436 wxDateTime
*result
;
17437 PyObject
* obj0
= 0 ;
17438 PyObject
* obj1
= 0 ;
17439 PyObject
* obj2
= 0 ;
17440 PyObject
* obj3
= 0 ;
17441 char *kwnames
[] = {
17442 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17446 arg1
= (int) SWIG_AsInt(obj0
);
17447 if (PyErr_Occurred()) SWIG_fail
;
17449 arg2
= (int) SWIG_AsInt(obj1
);
17450 if (PyErr_Occurred()) SWIG_fail
;
17453 arg3
= (int) SWIG_AsInt(obj2
);
17454 if (PyErr_Occurred()) SWIG_fail
;
17457 arg4
= (int) SWIG_AsInt(obj3
);
17458 if (PyErr_Occurred()) SWIG_fail
;
17461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17462 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
17464 wxPyEndAllowThreads(__tstate
);
17465 if (PyErr_Occurred()) SWIG_fail
;
17467 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17474 static PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17475 PyObject
*resultobj
;
17477 int arg2
= (int) wxDateTime::Inv_Month
;
17478 int arg3
= (int) wxDateTime::Inv_Year
;
17479 int arg4
= (int) 0 ;
17480 int arg5
= (int) 0 ;
17481 int arg6
= (int) 0 ;
17482 int arg7
= (int) 0 ;
17483 wxDateTime
*result
;
17484 PyObject
* obj0
= 0 ;
17485 PyObject
* obj1
= 0 ;
17486 PyObject
* obj2
= 0 ;
17487 PyObject
* obj3
= 0 ;
17488 PyObject
* obj4
= 0 ;
17489 PyObject
* obj5
= 0 ;
17490 PyObject
* obj6
= 0 ;
17491 char *kwnames
[] = {
17492 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17496 arg1
= (int) SWIG_AsInt(obj0
);
17497 if (PyErr_Occurred()) SWIG_fail
;
17499 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
17500 if (PyErr_Occurred()) SWIG_fail
;
17503 arg3
= (int) SWIG_AsInt(obj2
);
17504 if (PyErr_Occurred()) SWIG_fail
;
17507 arg4
= (int) SWIG_AsInt(obj3
);
17508 if (PyErr_Occurred()) SWIG_fail
;
17511 arg5
= (int) SWIG_AsInt(obj4
);
17512 if (PyErr_Occurred()) SWIG_fail
;
17515 arg6
= (int) SWIG_AsInt(obj5
);
17516 if (PyErr_Occurred()) SWIG_fail
;
17519 arg7
= (int) SWIG_AsInt(obj6
);
17520 if (PyErr_Occurred()) SWIG_fail
;
17523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17524 result
= (wxDateTime
*)new wxDateTime(arg1
,(wxDateTime::Month
)arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
17526 wxPyEndAllowThreads(__tstate
);
17527 if (PyErr_Occurred()) SWIG_fail
;
17529 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17536 static PyObject
*_wrap_delete_DateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17537 PyObject
*resultobj
;
17538 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17539 PyObject
* obj0
= 0 ;
17540 char *kwnames
[] = {
17541 (char *) "self", NULL
17544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateTime",kwnames
,&obj0
)) goto fail
;
17545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17551 wxPyEndAllowThreads(__tstate
);
17552 if (PyErr_Occurred()) SWIG_fail
;
17554 Py_INCREF(Py_None
); resultobj
= Py_None
;
17561 static PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17562 PyObject
*resultobj
;
17563 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17564 wxDateTime
*result
;
17565 PyObject
* obj0
= 0 ;
17566 char *kwnames
[] = {
17567 (char *) "self", NULL
17570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetToCurrent",kwnames
,&obj0
)) goto fail
;
17571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17576 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
17577 result
= (wxDateTime
*) &_result_ref
;
17580 wxPyEndAllowThreads(__tstate
);
17581 if (PyErr_Occurred()) SWIG_fail
;
17583 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17590 static PyObject
*_wrap_DateTime_SetTimeT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17591 PyObject
*resultobj
;
17592 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17594 wxDateTime
*result
;
17595 PyObject
* obj0
= 0 ;
17596 PyObject
* obj1
= 0 ;
17597 char *kwnames
[] = {
17598 (char *) "self",(char *) "timet", NULL
17601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) goto fail
;
17602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17604 arg2
= (time_t) SWIG_AsUnsignedInt(obj1
);
17605 if (PyErr_Occurred()) SWIG_fail
;
17607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17609 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
17610 result
= (wxDateTime
*) &_result_ref
;
17613 wxPyEndAllowThreads(__tstate
);
17614 if (PyErr_Occurred()) SWIG_fail
;
17616 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17623 static PyObject
*_wrap_DateTime_SetJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17624 PyObject
*resultobj
;
17625 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17627 wxDateTime
*result
;
17628 PyObject
* obj0
= 0 ;
17629 PyObject
* obj1
= 0 ;
17630 char *kwnames
[] = {
17631 (char *) "self",(char *) "jdn", NULL
17634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) goto fail
;
17635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17637 arg2
= (double) SWIG_AsDouble(obj1
);
17638 if (PyErr_Occurred()) SWIG_fail
;
17640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17642 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
17643 result
= (wxDateTime
*) &_result_ref
;
17646 wxPyEndAllowThreads(__tstate
);
17647 if (PyErr_Occurred()) SWIG_fail
;
17649 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17656 static PyObject
*_wrap_DateTime_SetHMS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17657 PyObject
*resultobj
;
17658 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17660 int arg3
= (int) 0 ;
17661 int arg4
= (int) 0 ;
17662 int arg5
= (int) 0 ;
17663 wxDateTime
*result
;
17664 PyObject
* obj0
= 0 ;
17665 PyObject
* obj1
= 0 ;
17666 PyObject
* obj2
= 0 ;
17667 PyObject
* obj3
= 0 ;
17668 PyObject
* obj4
= 0 ;
17669 char *kwnames
[] = {
17670 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17676 arg2
= (int) SWIG_AsInt(obj1
);
17677 if (PyErr_Occurred()) SWIG_fail
;
17679 arg3
= (int) SWIG_AsInt(obj2
);
17680 if (PyErr_Occurred()) SWIG_fail
;
17683 arg4
= (int) SWIG_AsInt(obj3
);
17684 if (PyErr_Occurred()) SWIG_fail
;
17687 arg5
= (int) SWIG_AsInt(obj4
);
17688 if (PyErr_Occurred()) SWIG_fail
;
17691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17693 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
17694 result
= (wxDateTime
*) &_result_ref
;
17697 wxPyEndAllowThreads(__tstate
);
17698 if (PyErr_Occurred()) SWIG_fail
;
17700 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17707 static PyObject
*_wrap_DateTime_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17708 PyObject
*resultobj
;
17709 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17711 int arg3
= (int) wxDateTime::Inv_Month
;
17712 int arg4
= (int) wxDateTime::Inv_Year
;
17713 int arg5
= (int) 0 ;
17714 int arg6
= (int) 0 ;
17715 int arg7
= (int) 0 ;
17716 int arg8
= (int) 0 ;
17717 wxDateTime
*result
;
17718 PyObject
* obj0
= 0 ;
17719 PyObject
* obj1
= 0 ;
17720 PyObject
* obj2
= 0 ;
17721 PyObject
* obj3
= 0 ;
17722 PyObject
* obj4
= 0 ;
17723 PyObject
* obj5
= 0 ;
17724 PyObject
* obj6
= 0 ;
17725 PyObject
* obj7
= 0 ;
17726 char *kwnames
[] = {
17727 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
17731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17733 arg2
= (int) SWIG_AsInt(obj1
);
17734 if (PyErr_Occurred()) SWIG_fail
;
17736 arg3
= (wxDateTime::Month
) SWIG_AsInt(obj2
);
17737 if (PyErr_Occurred()) SWIG_fail
;
17740 arg4
= (int) SWIG_AsInt(obj3
);
17741 if (PyErr_Occurred()) SWIG_fail
;
17744 arg5
= (int) SWIG_AsInt(obj4
);
17745 if (PyErr_Occurred()) SWIG_fail
;
17748 arg6
= (int) SWIG_AsInt(obj5
);
17749 if (PyErr_Occurred()) SWIG_fail
;
17752 arg7
= (int) SWIG_AsInt(obj6
);
17753 if (PyErr_Occurred()) SWIG_fail
;
17756 arg8
= (int) SWIG_AsInt(obj7
);
17757 if (PyErr_Occurred()) SWIG_fail
;
17760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17762 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,(wxDateTime::Month
)arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
17763 result
= (wxDateTime
*) &_result_ref
;
17766 wxPyEndAllowThreads(__tstate
);
17767 if (PyErr_Occurred()) SWIG_fail
;
17769 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17776 static PyObject
*_wrap_DateTime_ResetTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17777 PyObject
*resultobj
;
17778 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17779 wxDateTime
*result
;
17780 PyObject
* obj0
= 0 ;
17781 char *kwnames
[] = {
17782 (char *) "self", NULL
17785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ResetTime",kwnames
,&obj0
)) goto fail
;
17786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17791 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
17792 result
= (wxDateTime
*) &_result_ref
;
17795 wxPyEndAllowThreads(__tstate
);
17796 if (PyErr_Occurred()) SWIG_fail
;
17798 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17805 static PyObject
*_wrap_DateTime_SetYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17806 PyObject
*resultobj
;
17807 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17809 wxDateTime
*result
;
17810 PyObject
* obj0
= 0 ;
17811 PyObject
* obj1
= 0 ;
17812 char *kwnames
[] = {
17813 (char *) "self",(char *) "year", NULL
17816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
17817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17819 arg2
= (int) SWIG_AsInt(obj1
);
17820 if (PyErr_Occurred()) SWIG_fail
;
17822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17824 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
17825 result
= (wxDateTime
*) &_result_ref
;
17828 wxPyEndAllowThreads(__tstate
);
17829 if (PyErr_Occurred()) SWIG_fail
;
17831 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17838 static PyObject
*_wrap_DateTime_SetMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17839 PyObject
*resultobj
;
17840 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17842 wxDateTime
*result
;
17843 PyObject
* obj0
= 0 ;
17844 PyObject
* obj1
= 0 ;
17845 char *kwnames
[] = {
17846 (char *) "self",(char *) "month", NULL
17849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
17850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17852 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
17853 if (PyErr_Occurred()) SWIG_fail
;
17855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17857 wxDateTime
&_result_ref
= (arg1
)->SetMonth((wxDateTime::Month
)arg2
);
17858 result
= (wxDateTime
*) &_result_ref
;
17861 wxPyEndAllowThreads(__tstate
);
17862 if (PyErr_Occurred()) SWIG_fail
;
17864 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17871 static PyObject
*_wrap_DateTime_SetDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17872 PyObject
*resultobj
;
17873 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17875 wxDateTime
*result
;
17876 PyObject
* obj0
= 0 ;
17877 PyObject
* obj1
= 0 ;
17878 char *kwnames
[] = {
17879 (char *) "self",(char *) "day", NULL
17882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
17883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17885 arg2
= (int) SWIG_AsInt(obj1
);
17886 if (PyErr_Occurred()) SWIG_fail
;
17888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17890 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
17891 result
= (wxDateTime
*) &_result_ref
;
17894 wxPyEndAllowThreads(__tstate
);
17895 if (PyErr_Occurred()) SWIG_fail
;
17897 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17904 static PyObject
*_wrap_DateTime_SetHour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17905 PyObject
*resultobj
;
17906 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17908 wxDateTime
*result
;
17909 PyObject
* obj0
= 0 ;
17910 PyObject
* obj1
= 0 ;
17911 char *kwnames
[] = {
17912 (char *) "self",(char *) "hour", NULL
17915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
17916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17918 arg2
= (int) SWIG_AsInt(obj1
);
17919 if (PyErr_Occurred()) SWIG_fail
;
17921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17923 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
17924 result
= (wxDateTime
*) &_result_ref
;
17927 wxPyEndAllowThreads(__tstate
);
17928 if (PyErr_Occurred()) SWIG_fail
;
17930 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17937 static PyObject
*_wrap_DateTime_SetMinute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17938 PyObject
*resultobj
;
17939 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17941 wxDateTime
*result
;
17942 PyObject
* obj0
= 0 ;
17943 PyObject
* obj1
= 0 ;
17944 char *kwnames
[] = {
17945 (char *) "self",(char *) "minute", NULL
17948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
17949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17951 arg2
= (int) SWIG_AsInt(obj1
);
17952 if (PyErr_Occurred()) SWIG_fail
;
17954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17956 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
17957 result
= (wxDateTime
*) &_result_ref
;
17960 wxPyEndAllowThreads(__tstate
);
17961 if (PyErr_Occurred()) SWIG_fail
;
17963 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17970 static PyObject
*_wrap_DateTime_SetSecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17971 PyObject
*resultobj
;
17972 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17974 wxDateTime
*result
;
17975 PyObject
* obj0
= 0 ;
17976 PyObject
* obj1
= 0 ;
17977 char *kwnames
[] = {
17978 (char *) "self",(char *) "second", NULL
17981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
17982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17984 arg2
= (int) SWIG_AsInt(obj1
);
17985 if (PyErr_Occurred()) SWIG_fail
;
17987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17989 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
17990 result
= (wxDateTime
*) &_result_ref
;
17993 wxPyEndAllowThreads(__tstate
);
17994 if (PyErr_Occurred()) SWIG_fail
;
17996 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18003 static PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18004 PyObject
*resultobj
;
18005 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18007 wxDateTime
*result
;
18008 PyObject
* obj0
= 0 ;
18009 PyObject
* obj1
= 0 ;
18010 char *kwnames
[] = {
18011 (char *) "self",(char *) "millisecond", NULL
18014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
18015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18017 arg2
= (int) SWIG_AsInt(obj1
);
18018 if (PyErr_Occurred()) SWIG_fail
;
18020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18022 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
18023 result
= (wxDateTime
*) &_result_ref
;
18026 wxPyEndAllowThreads(__tstate
);
18027 if (PyErr_Occurred()) SWIG_fail
;
18029 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18036 static PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18037 PyObject
*resultobj
;
18038 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18040 int arg3
= (int) wxDateTime::Monday_First
;
18041 wxDateTime
*result
;
18042 PyObject
* obj0
= 0 ;
18043 PyObject
* obj1
= 0 ;
18044 PyObject
* obj2
= 0 ;
18045 char *kwnames
[] = {
18046 (char *) "self",(char *) "weekday",(char *) "flags", NULL
18049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18052 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18053 if (PyErr_Occurred()) SWIG_fail
;
18055 arg3
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj2
);
18056 if (PyErr_Occurred()) SWIG_fail
;
18059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18061 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
18062 result
= (wxDateTime
*) &_result_ref
;
18065 wxPyEndAllowThreads(__tstate
);
18066 if (PyErr_Occurred()) SWIG_fail
;
18068 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18075 static PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18076 PyObject
*resultobj
;
18077 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18079 int arg3
= (int) wxDateTime::Monday_First
;
18081 PyObject
* obj0
= 0 ;
18082 PyObject
* obj1
= 0 ;
18083 PyObject
* obj2
= 0 ;
18084 char *kwnames
[] = {
18085 (char *) "self",(char *) "weekday",(char *) "flags", NULL
18088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18091 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18092 if (PyErr_Occurred()) SWIG_fail
;
18094 arg3
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj2
);
18095 if (PyErr_Occurred()) SWIG_fail
;
18098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18099 result
= (arg1
)->GetWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
18101 wxPyEndAllowThreads(__tstate
);
18102 if (PyErr_Occurred()) SWIG_fail
;
18105 wxDateTime
* resultptr
;
18106 resultptr
= new wxDateTime((wxDateTime
&) result
);
18107 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18115 static PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18116 PyObject
*resultobj
;
18117 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18119 wxDateTime
*result
;
18120 PyObject
* obj0
= 0 ;
18121 PyObject
* obj1
= 0 ;
18122 char *kwnames
[] = {
18123 (char *) "self",(char *) "weekday", NULL
18126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18129 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18130 if (PyErr_Occurred()) SWIG_fail
;
18132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18134 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay((wxDateTime::WeekDay
)arg2
);
18135 result
= (wxDateTime
*) &_result_ref
;
18138 wxPyEndAllowThreads(__tstate
);
18139 if (PyErr_Occurred()) SWIG_fail
;
18141 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18148 static PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18149 PyObject
*resultobj
;
18150 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18153 PyObject
* obj0
= 0 ;
18154 PyObject
* obj1
= 0 ;
18155 char *kwnames
[] = {
18156 (char *) "self",(char *) "weekday", NULL
18159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18162 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18163 if (PyErr_Occurred()) SWIG_fail
;
18165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18166 result
= (arg1
)->GetNextWeekDay((wxDateTime::WeekDay
)arg2
);
18168 wxPyEndAllowThreads(__tstate
);
18169 if (PyErr_Occurred()) SWIG_fail
;
18172 wxDateTime
* resultptr
;
18173 resultptr
= new wxDateTime((wxDateTime
&) result
);
18174 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18182 static PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18183 PyObject
*resultobj
;
18184 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18186 wxDateTime
*result
;
18187 PyObject
* obj0
= 0 ;
18188 PyObject
* obj1
= 0 ;
18189 char *kwnames
[] = {
18190 (char *) "self",(char *) "weekday", NULL
18193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18196 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18197 if (PyErr_Occurred()) SWIG_fail
;
18199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18201 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay((wxDateTime::WeekDay
)arg2
);
18202 result
= (wxDateTime
*) &_result_ref
;
18205 wxPyEndAllowThreads(__tstate
);
18206 if (PyErr_Occurred()) SWIG_fail
;
18208 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18215 static PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18216 PyObject
*resultobj
;
18217 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18220 PyObject
* obj0
= 0 ;
18221 PyObject
* obj1
= 0 ;
18222 char *kwnames
[] = {
18223 (char *) "self",(char *) "weekday", NULL
18226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18229 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18230 if (PyErr_Occurred()) SWIG_fail
;
18232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18233 result
= (arg1
)->GetPrevWeekDay((wxDateTime::WeekDay
)arg2
);
18235 wxPyEndAllowThreads(__tstate
);
18236 if (PyErr_Occurred()) SWIG_fail
;
18239 wxDateTime
* resultptr
;
18240 resultptr
= new wxDateTime((wxDateTime
&) result
);
18241 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18249 static PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18250 PyObject
*resultobj
;
18251 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18253 int arg3
= (int) 1 ;
18254 int arg4
= (int) wxDateTime::Inv_Month
;
18255 int arg5
= (int) wxDateTime::Inv_Year
;
18257 PyObject
* obj0
= 0 ;
18258 PyObject
* obj1
= 0 ;
18259 PyObject
* obj2
= 0 ;
18260 PyObject
* obj3
= 0 ;
18261 PyObject
* obj4
= 0 ;
18262 char *kwnames
[] = {
18263 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
18266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18269 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18270 if (PyErr_Occurred()) SWIG_fail
;
18272 arg3
= (int) SWIG_AsInt(obj2
);
18273 if (PyErr_Occurred()) SWIG_fail
;
18276 arg4
= (wxDateTime::Month
) SWIG_AsInt(obj3
);
18277 if (PyErr_Occurred()) SWIG_fail
;
18280 arg5
= (int) SWIG_AsInt(obj4
);
18281 if (PyErr_Occurred()) SWIG_fail
;
18284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18285 result
= (bool)(arg1
)->SetToWeekDay((wxDateTime::WeekDay
)arg2
,arg3
,(wxDateTime::Month
)arg4
,arg5
);
18287 wxPyEndAllowThreads(__tstate
);
18288 if (PyErr_Occurred()) SWIG_fail
;
18291 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18299 static PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18300 PyObject
*resultobj
;
18301 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18303 int arg3
= (int) wxDateTime::Inv_Month
;
18304 int arg4
= (int) wxDateTime::Inv_Year
;
18306 PyObject
* obj0
= 0 ;
18307 PyObject
* obj1
= 0 ;
18308 PyObject
* obj2
= 0 ;
18309 PyObject
* obj3
= 0 ;
18310 char *kwnames
[] = {
18311 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18317 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18318 if (PyErr_Occurred()) SWIG_fail
;
18320 arg3
= (wxDateTime::Month
) SWIG_AsInt(obj2
);
18321 if (PyErr_Occurred()) SWIG_fail
;
18324 arg4
= (int) SWIG_AsInt(obj3
);
18325 if (PyErr_Occurred()) SWIG_fail
;
18328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18329 result
= (bool)(arg1
)->SetToLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
18331 wxPyEndAllowThreads(__tstate
);
18332 if (PyErr_Occurred()) SWIG_fail
;
18335 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18343 static PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18344 PyObject
*resultobj
;
18345 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18347 int arg3
= (int) wxDateTime::Inv_Month
;
18348 int arg4
= (int) wxDateTime::Inv_Year
;
18350 PyObject
* obj0
= 0 ;
18351 PyObject
* obj1
= 0 ;
18352 PyObject
* obj2
= 0 ;
18353 PyObject
* obj3
= 0 ;
18354 char *kwnames
[] = {
18355 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18361 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18362 if (PyErr_Occurred()) SWIG_fail
;
18364 arg3
= (wxDateTime::Month
) SWIG_AsInt(obj2
);
18365 if (PyErr_Occurred()) SWIG_fail
;
18368 arg4
= (int) SWIG_AsInt(obj3
);
18369 if (PyErr_Occurred()) SWIG_fail
;
18372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18373 result
= (arg1
)->GetLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
18375 wxPyEndAllowThreads(__tstate
);
18376 if (PyErr_Occurred()) SWIG_fail
;
18379 wxDateTime
* resultptr
;
18380 resultptr
= new wxDateTime((wxDateTime
&) result
);
18381 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18389 static PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18390 PyObject
*resultobj
;
18391 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18393 int arg3
= (int) wxDateTime::Mon
;
18394 int arg4
= (int) wxDateTime::Monday_First
;
18396 PyObject
* obj0
= 0 ;
18397 PyObject
* obj1
= 0 ;
18398 PyObject
* obj2
= 0 ;
18399 PyObject
* obj3
= 0 ;
18400 char *kwnames
[] = {
18401 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18407 arg2
= (int) SWIG_AsInt(obj1
);
18408 if (PyErr_Occurred()) SWIG_fail
;
18410 arg3
= (wxDateTime::WeekDay
) SWIG_AsInt(obj2
);
18411 if (PyErr_Occurred()) SWIG_fail
;
18414 arg4
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj3
);
18415 if (PyErr_Occurred()) SWIG_fail
;
18418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18419 result
= (bool)(arg1
)->SetToTheWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
18421 wxPyEndAllowThreads(__tstate
);
18422 if (PyErr_Occurred()) SWIG_fail
;
18425 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18433 static PyObject
*_wrap_DateTime_GetWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18434 PyObject
*resultobj
;
18435 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18437 int arg3
= (int) wxDateTime::Mon
;
18438 int arg4
= (int) wxDateTime::Monday_First
;
18440 PyObject
* obj0
= 0 ;
18441 PyObject
* obj1
= 0 ;
18442 PyObject
* obj2
= 0 ;
18443 PyObject
* obj3
= 0 ;
18444 char *kwnames
[] = {
18445 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18451 arg2
= (int) SWIG_AsInt(obj1
);
18452 if (PyErr_Occurred()) SWIG_fail
;
18454 arg3
= (wxDateTime::WeekDay
) SWIG_AsInt(obj2
);
18455 if (PyErr_Occurred()) SWIG_fail
;
18458 arg4
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj3
);
18459 if (PyErr_Occurred()) SWIG_fail
;
18462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18463 result
= (arg1
)->GetWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
18465 wxPyEndAllowThreads(__tstate
);
18466 if (PyErr_Occurred()) SWIG_fail
;
18469 wxDateTime
* resultptr
;
18470 resultptr
= new wxDateTime((wxDateTime
&) result
);
18471 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18479 static PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18480 PyObject
*resultobj
;
18481 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18482 int arg2
= (int) wxDateTime::Inv_Month
;
18483 int arg3
= (int) wxDateTime::Inv_Year
;
18484 wxDateTime
*result
;
18485 PyObject
* obj0
= 0 ;
18486 PyObject
* obj1
= 0 ;
18487 PyObject
* obj2
= 0 ;
18488 char *kwnames
[] = {
18489 (char *) "self",(char *) "month",(char *) "year", NULL
18492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18496 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
18497 if (PyErr_Occurred()) SWIG_fail
;
18500 arg3
= (int) SWIG_AsInt(obj2
);
18501 if (PyErr_Occurred()) SWIG_fail
;
18504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18506 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
18507 result
= (wxDateTime
*) &_result_ref
;
18510 wxPyEndAllowThreads(__tstate
);
18511 if (PyErr_Occurred()) SWIG_fail
;
18513 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18520 static PyObject
*_wrap_DateTime_GetLastMonthDay(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
;
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_GetLastMonthDay",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();
18546 result
= (arg1
)->GetLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
18548 wxPyEndAllowThreads(__tstate
);
18549 if (PyErr_Occurred()) SWIG_fail
;
18552 wxDateTime
* resultptr
;
18553 resultptr
= new wxDateTime((wxDateTime
&) result
);
18554 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18562 static PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18563 PyObject
*resultobj
;
18564 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18566 wxDateTime
*result
;
18567 PyObject
* obj0
= 0 ;
18568 PyObject
* obj1
= 0 ;
18569 char *kwnames
[] = {
18570 (char *) "self",(char *) "yday", NULL
18573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18576 arg2
= (int) SWIG_AsInt(obj1
);
18577 if (PyErr_Occurred()) SWIG_fail
;
18579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18581 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
18582 result
= (wxDateTime
*) &_result_ref
;
18585 wxPyEndAllowThreads(__tstate
);
18586 if (PyErr_Occurred()) SWIG_fail
;
18588 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18595 static PyObject
*_wrap_DateTime_GetYearDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18596 PyObject
*resultobj
;
18597 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18600 PyObject
* obj0
= 0 ;
18601 PyObject
* obj1
= 0 ;
18602 char *kwnames
[] = {
18603 (char *) "self",(char *) "yday", NULL
18606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18609 arg2
= (int) SWIG_AsInt(obj1
);
18610 if (PyErr_Occurred()) SWIG_fail
;
18612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18613 result
= (arg1
)->GetYearDay(arg2
);
18615 wxPyEndAllowThreads(__tstate
);
18616 if (PyErr_Occurred()) SWIG_fail
;
18619 wxDateTime
* resultptr
;
18620 resultptr
= new wxDateTime((wxDateTime
&) result
);
18621 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18629 static PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18630 PyObject
*resultobj
;
18631 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18633 PyObject
* obj0
= 0 ;
18634 char *kwnames
[] = {
18635 (char *) "self", NULL
18638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJulianDayNumber",kwnames
,&obj0
)) goto fail
;
18639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18643 result
= (double)(arg1
)->GetJulianDayNumber();
18645 wxPyEndAllowThreads(__tstate
);
18646 if (PyErr_Occurred()) SWIG_fail
;
18648 resultobj
= SWIG_FromDouble((double)result
);
18655 static PyObject
*_wrap_DateTime_GetJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18656 PyObject
*resultobj
;
18657 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18659 PyObject
* obj0
= 0 ;
18660 char *kwnames
[] = {
18661 (char *) "self", NULL
18664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJDN",kwnames
,&obj0
)) goto fail
;
18665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18669 result
= (double)(arg1
)->GetJDN();
18671 wxPyEndAllowThreads(__tstate
);
18672 if (PyErr_Occurred()) SWIG_fail
;
18674 resultobj
= SWIG_FromDouble((double)result
);
18681 static PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18682 PyObject
*resultobj
;
18683 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18685 PyObject
* obj0
= 0 ;
18686 char *kwnames
[] = {
18687 (char *) "self", NULL
18690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames
,&obj0
)) goto fail
;
18691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18695 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
18697 wxPyEndAllowThreads(__tstate
);
18698 if (PyErr_Occurred()) SWIG_fail
;
18700 resultobj
= SWIG_FromDouble((double)result
);
18707 static PyObject
*_wrap_DateTime_GetMJD(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18708 PyObject
*resultobj
;
18709 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18711 PyObject
* obj0
= 0 ;
18712 char *kwnames
[] = {
18713 (char *) "self", NULL
18716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetMJD",kwnames
,&obj0
)) goto fail
;
18717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18721 result
= (double)(arg1
)->GetMJD();
18723 wxPyEndAllowThreads(__tstate
);
18724 if (PyErr_Occurred()) SWIG_fail
;
18726 resultobj
= SWIG_FromDouble((double)result
);
18733 static PyObject
*_wrap_DateTime_GetRataDie(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18734 PyObject
*resultobj
;
18735 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18737 PyObject
* obj0
= 0 ;
18738 char *kwnames
[] = {
18739 (char *) "self", NULL
18742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetRataDie",kwnames
,&obj0
)) goto fail
;
18743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18747 result
= (double)(arg1
)->GetRataDie();
18749 wxPyEndAllowThreads(__tstate
);
18750 if (PyErr_Occurred()) SWIG_fail
;
18752 resultobj
= SWIG_FromDouble((double)result
);
18759 static PyObject
*_wrap_DateTime_ToTimezone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18760 PyObject
*resultobj
;
18761 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18762 wxDateTime::TimeZone
*arg2
= 0 ;
18763 bool arg3
= (bool) False
;
18765 bool temp2
= False
;
18766 PyObject
* obj0
= 0 ;
18767 PyObject
* obj1
= 0 ;
18768 PyObject
* obj2
= 0 ;
18769 char *kwnames
[] = {
18770 (char *) "self",(char *) "tz",(char *) "noDST", NULL
18773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18777 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18781 arg3
= (bool) SWIG_AsBool(obj2
);
18782 if (PyErr_Occurred()) SWIG_fail
;
18785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18786 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
18788 wxPyEndAllowThreads(__tstate
);
18789 if (PyErr_Occurred()) SWIG_fail
;
18792 wxDateTime
* resultptr
;
18793 resultptr
= new wxDateTime((wxDateTime
&) result
);
18794 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18797 if (temp2
) delete arg2
;
18802 if (temp2
) delete arg2
;
18808 static PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18809 PyObject
*resultobj
;
18810 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18811 wxDateTime::TimeZone
*arg2
= 0 ;
18812 bool arg3
= (bool) False
;
18813 wxDateTime
*result
;
18814 bool temp2
= False
;
18815 PyObject
* obj0
= 0 ;
18816 PyObject
* obj1
= 0 ;
18817 PyObject
* obj2
= 0 ;
18818 char *kwnames
[] = {
18819 (char *) "self",(char *) "tz",(char *) "noDST", NULL
18822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18826 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18830 arg3
= (bool) SWIG_AsBool(obj2
);
18831 if (PyErr_Occurred()) SWIG_fail
;
18834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18836 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
18837 result
= (wxDateTime
*) &_result_ref
;
18840 wxPyEndAllowThreads(__tstate
);
18841 if (PyErr_Occurred()) SWIG_fail
;
18843 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18845 if (temp2
) delete arg2
;
18850 if (temp2
) delete arg2
;
18856 static PyObject
*_wrap_DateTime_ToGMT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18857 PyObject
*resultobj
;
18858 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18859 bool arg2
= (bool) False
;
18861 PyObject
* obj0
= 0 ;
18862 PyObject
* obj1
= 0 ;
18863 char *kwnames
[] = {
18864 (char *) "self",(char *) "noDST", NULL
18867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
18868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18871 arg2
= (bool) SWIG_AsBool(obj1
);
18872 if (PyErr_Occurred()) SWIG_fail
;
18875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18876 result
= (arg1
)->ToGMT(arg2
);
18878 wxPyEndAllowThreads(__tstate
);
18879 if (PyErr_Occurred()) SWIG_fail
;
18882 wxDateTime
* resultptr
;
18883 resultptr
= new wxDateTime((wxDateTime
&) result
);
18884 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18892 static PyObject
*_wrap_DateTime_MakeGMT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18893 PyObject
*resultobj
;
18894 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18895 bool arg2
= (bool) False
;
18896 wxDateTime
*result
;
18897 PyObject
* obj0
= 0 ;
18898 PyObject
* obj1
= 0 ;
18899 char *kwnames
[] = {
18900 (char *) "self",(char *) "noDST", NULL
18903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
18904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18907 arg2
= (bool) SWIG_AsBool(obj1
);
18908 if (PyErr_Occurred()) SWIG_fail
;
18911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18913 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
18914 result
= (wxDateTime
*) &_result_ref
;
18917 wxPyEndAllowThreads(__tstate
);
18918 if (PyErr_Occurred()) SWIG_fail
;
18920 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18927 static PyObject
*_wrap_DateTime_IsDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18928 PyObject
*resultobj
;
18929 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18930 int arg2
= (int) wxDateTime::Country_Default
;
18932 PyObject
* obj0
= 0 ;
18933 PyObject
* obj1
= 0 ;
18934 char *kwnames
[] = {
18935 (char *) "self",(char *) "country", NULL
18938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) goto fail
;
18939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18942 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
18943 if (PyErr_Occurred()) SWIG_fail
;
18946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18947 result
= (int)(arg1
)->IsDST((wxDateTime::Country
)arg2
);
18949 wxPyEndAllowThreads(__tstate
);
18950 if (PyErr_Occurred()) SWIG_fail
;
18952 resultobj
= SWIG_FromInt((int)result
);
18959 static PyObject
*_wrap_DateTime_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18960 PyObject
*resultobj
;
18961 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18963 PyObject
* obj0
= 0 ;
18964 char *kwnames
[] = {
18965 (char *) "self", NULL
18968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_IsValid",kwnames
,&obj0
)) goto fail
;
18969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18973 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
18975 wxPyEndAllowThreads(__tstate
);
18976 if (PyErr_Occurred()) SWIG_fail
;
18979 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18987 static PyObject
*_wrap_DateTime_GetTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18988 PyObject
*resultobj
;
18989 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18991 PyObject
* obj0
= 0 ;
18992 char *kwnames
[] = {
18993 (char *) "self", NULL
18996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetTicks",kwnames
,&obj0
)) goto fail
;
18997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19001 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
19003 wxPyEndAllowThreads(__tstate
);
19004 if (PyErr_Occurred()) SWIG_fail
;
19006 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
19013 static PyObject
*_wrap_DateTime_GetYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19014 PyObject
*resultobj
;
19015 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19016 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19017 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19019 bool temp2
= False
;
19020 PyObject
* obj0
= 0 ;
19021 PyObject
* obj1
= 0 ;
19022 char *kwnames
[] = {
19023 (char *) "self",(char *) "tz", NULL
19026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19031 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19037 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
19039 wxPyEndAllowThreads(__tstate
);
19040 if (PyErr_Occurred()) SWIG_fail
;
19042 resultobj
= SWIG_FromInt((int)result
);
19044 if (temp2
) delete arg2
;
19049 if (temp2
) delete arg2
;
19055 static PyObject
*_wrap_DateTime_GetMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19056 PyObject
*resultobj
;
19057 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19058 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19059 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19061 bool temp2
= False
;
19062 PyObject
* obj0
= 0 ;
19063 PyObject
* obj1
= 0 ;
19064 char *kwnames
[] = {
19065 (char *) "self",(char *) "tz", NULL
19068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
19069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19073 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19079 result
= (int)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
19081 wxPyEndAllowThreads(__tstate
);
19082 if (PyErr_Occurred()) SWIG_fail
;
19084 resultobj
= SWIG_FromInt((int)result
);
19086 if (temp2
) delete arg2
;
19091 if (temp2
) delete arg2
;
19097 static PyObject
*_wrap_DateTime_GetDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19098 PyObject
*resultobj
;
19099 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19100 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19101 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19103 bool temp2
= False
;
19104 PyObject
* obj0
= 0 ;
19105 PyObject
* obj1
= 0 ;
19106 char *kwnames
[] = {
19107 (char *) "self",(char *) "tz", NULL
19110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19115 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19121 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
19123 wxPyEndAllowThreads(__tstate
);
19124 if (PyErr_Occurred()) SWIG_fail
;
19126 resultobj
= SWIG_FromInt((int)result
);
19128 if (temp2
) delete arg2
;
19133 if (temp2
) delete arg2
;
19139 static PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19140 PyObject
*resultobj
;
19141 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19142 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19143 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19145 bool temp2
= False
;
19146 PyObject
* obj0
= 0 ;
19147 PyObject
* obj1
= 0 ;
19148 char *kwnames
[] = {
19149 (char *) "self",(char *) "tz", NULL
19152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19157 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19163 result
= (int)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
19165 wxPyEndAllowThreads(__tstate
);
19166 if (PyErr_Occurred()) SWIG_fail
;
19168 resultobj
= SWIG_FromInt((int)result
);
19170 if (temp2
) delete arg2
;
19175 if (temp2
) delete arg2
;
19181 static PyObject
*_wrap_DateTime_GetHour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19182 PyObject
*resultobj
;
19183 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19184 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19185 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19187 bool temp2
= False
;
19188 PyObject
* obj0
= 0 ;
19189 PyObject
* obj1
= 0 ;
19190 char *kwnames
[] = {
19191 (char *) "self",(char *) "tz", NULL
19194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
19195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19199 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19205 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
19207 wxPyEndAllowThreads(__tstate
);
19208 if (PyErr_Occurred()) SWIG_fail
;
19210 resultobj
= SWIG_FromInt((int)result
);
19212 if (temp2
) delete arg2
;
19217 if (temp2
) delete arg2
;
19223 static PyObject
*_wrap_DateTime_GetMinute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19224 PyObject
*resultobj
;
19225 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19226 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19227 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19229 bool temp2
= False
;
19230 PyObject
* obj0
= 0 ;
19231 PyObject
* obj1
= 0 ;
19232 char *kwnames
[] = {
19233 (char *) "self",(char *) "tz", NULL
19236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
19237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19241 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19247 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
19249 wxPyEndAllowThreads(__tstate
);
19250 if (PyErr_Occurred()) SWIG_fail
;
19252 resultobj
= SWIG_FromInt((int)result
);
19254 if (temp2
) delete arg2
;
19259 if (temp2
) delete arg2
;
19265 static PyObject
*_wrap_DateTime_GetSecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19266 PyObject
*resultobj
;
19267 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19268 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19269 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19271 bool temp2
= False
;
19272 PyObject
* obj0
= 0 ;
19273 PyObject
* obj1
= 0 ;
19274 char *kwnames
[] = {
19275 (char *) "self",(char *) "tz", NULL
19278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
19279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19283 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19289 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
19291 wxPyEndAllowThreads(__tstate
);
19292 if (PyErr_Occurred()) SWIG_fail
;
19294 resultobj
= SWIG_FromInt((int)result
);
19296 if (temp2
) delete arg2
;
19301 if (temp2
) delete arg2
;
19307 static PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19308 PyObject
*resultobj
;
19309 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19310 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19311 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19313 bool temp2
= False
;
19314 PyObject
* obj0
= 0 ;
19315 PyObject
* obj1
= 0 ;
19316 char *kwnames
[] = {
19317 (char *) "self",(char *) "tz", NULL
19320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
19321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19325 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19331 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
19333 wxPyEndAllowThreads(__tstate
);
19334 if (PyErr_Occurred()) SWIG_fail
;
19336 resultobj
= SWIG_FromInt((int)result
);
19338 if (temp2
) delete arg2
;
19343 if (temp2
) delete arg2
;
19349 static PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19350 PyObject
*resultobj
;
19351 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19352 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19353 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19355 bool temp2
= False
;
19356 PyObject
* obj0
= 0 ;
19357 PyObject
* obj1
= 0 ;
19358 char *kwnames
[] = {
19359 (char *) "self",(char *) "tz", NULL
19362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19367 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19373 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
19375 wxPyEndAllowThreads(__tstate
);
19376 if (PyErr_Occurred()) SWIG_fail
;
19378 resultobj
= SWIG_FromInt((int)result
);
19380 if (temp2
) delete arg2
;
19385 if (temp2
) delete arg2
;
19391 static PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19392 PyObject
*resultobj
;
19393 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19394 int arg2
= (int) wxDateTime::Monday_First
;
19395 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
19396 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
19398 bool temp3
= False
;
19399 PyObject
* obj0
= 0 ;
19400 PyObject
* obj1
= 0 ;
19401 PyObject
* obj2
= 0 ;
19402 char *kwnames
[] = {
19403 (char *) "self",(char *) "flags",(char *) "tz", NULL
19406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19410 arg2
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj1
);
19411 if (PyErr_Occurred()) SWIG_fail
;
19415 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
19420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19421 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
19423 wxPyEndAllowThreads(__tstate
);
19424 if (PyErr_Occurred()) SWIG_fail
;
19426 resultobj
= SWIG_FromInt((int)result
);
19428 if (temp3
) delete arg3
;
19433 if (temp3
) delete arg3
;
19439 static PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19440 PyObject
*resultobj
;
19441 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19442 int arg2
= (int) wxDateTime::Monday_First
;
19443 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
19444 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
19446 bool temp3
= False
;
19447 PyObject
* obj0
= 0 ;
19448 PyObject
* obj1
= 0 ;
19449 PyObject
* obj2
= 0 ;
19450 char *kwnames
[] = {
19451 (char *) "self",(char *) "flags",(char *) "tz", NULL
19454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19458 arg2
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj1
);
19459 if (PyErr_Occurred()) SWIG_fail
;
19463 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
19468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19469 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
19471 wxPyEndAllowThreads(__tstate
);
19472 if (PyErr_Occurred()) SWIG_fail
;
19474 resultobj
= SWIG_FromInt((int)result
);
19476 if (temp3
) delete arg3
;
19481 if (temp3
) delete arg3
;
19487 static PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19488 PyObject
*resultobj
;
19489 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19490 int arg2
= (int) wxDateTime::Country_Default
;
19492 PyObject
* obj0
= 0 ;
19493 PyObject
* obj1
= 0 ;
19494 char *kwnames
[] = {
19495 (char *) "self",(char *) "country", NULL
19498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19502 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
19503 if (PyErr_Occurred()) SWIG_fail
;
19506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19507 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay((wxDateTime::Country
)arg2
);
19509 wxPyEndAllowThreads(__tstate
);
19510 if (PyErr_Occurred()) SWIG_fail
;
19513 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19521 static PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19522 PyObject
*resultobj
;
19523 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19524 wxDateTime
*arg2
= 0 ;
19526 PyObject
* obj0
= 0 ;
19527 PyObject
* obj1
= 0 ;
19528 char *kwnames
[] = {
19529 (char *) "self",(char *) "datetime", NULL
19532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
19533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19535 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19536 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19538 if (arg2
== NULL
) {
19539 PyErr_SetString(PyExc_TypeError
,"null reference");
19543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19544 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
19546 wxPyEndAllowThreads(__tstate
);
19547 if (PyErr_Occurred()) SWIG_fail
;
19550 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19558 static PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19559 PyObject
*resultobj
;
19560 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19561 wxDateTime
*arg2
= 0 ;
19563 PyObject
* obj0
= 0 ;
19564 PyObject
* obj1
= 0 ;
19565 char *kwnames
[] = {
19566 (char *) "self",(char *) "datetime", NULL
19569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) goto fail
;
19570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19572 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19573 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19575 if (arg2
== NULL
) {
19576 PyErr_SetString(PyExc_TypeError
,"null reference");
19580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19581 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
19583 wxPyEndAllowThreads(__tstate
);
19584 if (PyErr_Occurred()) SWIG_fail
;
19587 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19595 static PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19596 PyObject
*resultobj
;
19597 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19598 wxDateTime
*arg2
= 0 ;
19600 PyObject
* obj0
= 0 ;
19601 PyObject
* obj1
= 0 ;
19602 char *kwnames
[] = {
19603 (char *) "self",(char *) "datetime", NULL
19606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
19607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19609 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19610 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19612 if (arg2
== NULL
) {
19613 PyErr_SetString(PyExc_TypeError
,"null reference");
19617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19618 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
19620 wxPyEndAllowThreads(__tstate
);
19621 if (PyErr_Occurred()) SWIG_fail
;
19624 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19632 static PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19633 PyObject
*resultobj
;
19634 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19635 wxDateTime
*arg2
= 0 ;
19636 wxDateTime
*arg3
= 0 ;
19638 PyObject
* obj0
= 0 ;
19639 PyObject
* obj1
= 0 ;
19640 PyObject
* obj2
= 0 ;
19641 char *kwnames
[] = {
19642 (char *) "self",(char *) "t1",(char *) "t2", NULL
19645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19648 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19649 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19651 if (arg2
== NULL
) {
19652 PyErr_SetString(PyExc_TypeError
,"null reference");
19655 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
,
19656 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19658 if (arg3
== NULL
) {
19659 PyErr_SetString(PyExc_TypeError
,"null reference");
19663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19664 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
19666 wxPyEndAllowThreads(__tstate
);
19667 if (PyErr_Occurred()) SWIG_fail
;
19670 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19678 static PyObject
*_wrap_DateTime_IsBetween(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19679 PyObject
*resultobj
;
19680 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19681 wxDateTime
*arg2
= 0 ;
19682 wxDateTime
*arg3
= 0 ;
19684 PyObject
* obj0
= 0 ;
19685 PyObject
* obj1
= 0 ;
19686 PyObject
* obj2
= 0 ;
19687 char *kwnames
[] = {
19688 (char *) "self",(char *) "t1",(char *) "t2", NULL
19691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19694 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19695 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19697 if (arg2
== NULL
) {
19698 PyErr_SetString(PyExc_TypeError
,"null reference");
19701 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
,
19702 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19704 if (arg3
== NULL
) {
19705 PyErr_SetString(PyExc_TypeError
,"null reference");
19709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19710 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
19712 wxPyEndAllowThreads(__tstate
);
19713 if (PyErr_Occurred()) SWIG_fail
;
19716 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19724 static PyObject
*_wrap_DateTime_IsSameDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19725 PyObject
*resultobj
;
19726 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19727 wxDateTime
*arg2
= 0 ;
19729 PyObject
* obj0
= 0 ;
19730 PyObject
* obj1
= 0 ;
19731 char *kwnames
[] = {
19732 (char *) "self",(char *) "dt", NULL
19735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) goto fail
;
19736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19738 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19739 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19741 if (arg2
== NULL
) {
19742 PyErr_SetString(PyExc_TypeError
,"null reference");
19746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19747 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
19749 wxPyEndAllowThreads(__tstate
);
19750 if (PyErr_Occurred()) SWIG_fail
;
19753 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19761 static PyObject
*_wrap_DateTime_IsSameTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19762 PyObject
*resultobj
;
19763 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19764 wxDateTime
*arg2
= 0 ;
19766 PyObject
* obj0
= 0 ;
19767 PyObject
* obj1
= 0 ;
19768 char *kwnames
[] = {
19769 (char *) "self",(char *) "dt", NULL
19772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) goto fail
;
19773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19775 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19776 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19778 if (arg2
== NULL
) {
19779 PyErr_SetString(PyExc_TypeError
,"null reference");
19783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19784 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
19786 wxPyEndAllowThreads(__tstate
);
19787 if (PyErr_Occurred()) SWIG_fail
;
19790 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19798 static PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19799 PyObject
*resultobj
;
19800 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19801 wxDateTime
*arg2
= 0 ;
19802 wxTimeSpan
*arg3
= 0 ;
19804 PyObject
* obj0
= 0 ;
19805 PyObject
* obj1
= 0 ;
19806 PyObject
* obj2
= 0 ;
19807 char *kwnames
[] = {
19808 (char *) "self",(char *) "dt",(char *) "ts", NULL
19811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19814 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19815 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19817 if (arg2
== NULL
) {
19818 PyErr_SetString(PyExc_TypeError
,"null reference");
19821 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTimeSpan
,
19822 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19824 if (arg3
== NULL
) {
19825 PyErr_SetString(PyExc_TypeError
,"null reference");
19829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19830 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
19832 wxPyEndAllowThreads(__tstate
);
19833 if (PyErr_Occurred()) SWIG_fail
;
19836 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19844 static PyObject
*_wrap_DateTime_AddTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19845 PyObject
*resultobj
;
19846 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19847 wxTimeSpan
*arg2
= 0 ;
19848 wxDateTime
*result
;
19849 PyObject
* obj0
= 0 ;
19850 PyObject
* obj1
= 0 ;
19851 char *kwnames
[] = {
19852 (char *) "self",(char *) "diff", NULL
19855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) goto fail
;
19856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19858 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
19859 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19861 if (arg2
== NULL
) {
19862 PyErr_SetString(PyExc_TypeError
,"null reference");
19866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19868 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
19869 result
= (wxDateTime
*) &_result_ref
;
19872 wxPyEndAllowThreads(__tstate
);
19873 if (PyErr_Occurred()) SWIG_fail
;
19875 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19882 static PyObject
*_wrap_DateTime_AddDS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19883 PyObject
*resultobj
;
19884 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19885 wxDateSpan
*arg2
= 0 ;
19886 wxDateTime
*result
;
19887 PyObject
* obj0
= 0 ;
19888 PyObject
* obj1
= 0 ;
19889 char *kwnames
[] = {
19890 (char *) "self",(char *) "diff", NULL
19893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) goto fail
;
19894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19896 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
19897 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19899 if (arg2
== NULL
) {
19900 PyErr_SetString(PyExc_TypeError
,"null reference");
19904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19906 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
19907 result
= (wxDateTime
*) &_result_ref
;
19910 wxPyEndAllowThreads(__tstate
);
19911 if (PyErr_Occurred()) SWIG_fail
;
19913 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19920 static PyObject
*_wrap_DateTime_SubtractTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19921 PyObject
*resultobj
;
19922 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19923 wxTimeSpan
*arg2
= 0 ;
19924 wxDateTime
*result
;
19925 PyObject
* obj0
= 0 ;
19926 PyObject
* obj1
= 0 ;
19927 char *kwnames
[] = {
19928 (char *) "self",(char *) "diff", NULL
19931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) goto fail
;
19932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19934 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
19935 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19937 if (arg2
== NULL
) {
19938 PyErr_SetString(PyExc_TypeError
,"null reference");
19942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19944 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
19945 result
= (wxDateTime
*) &_result_ref
;
19948 wxPyEndAllowThreads(__tstate
);
19949 if (PyErr_Occurred()) SWIG_fail
;
19951 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19958 static PyObject
*_wrap_DateTime_SubtractDS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19959 PyObject
*resultobj
;
19960 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19961 wxDateSpan
*arg2
= 0 ;
19962 wxDateTime
*result
;
19963 PyObject
* obj0
= 0 ;
19964 PyObject
* obj1
= 0 ;
19965 char *kwnames
[] = {
19966 (char *) "self",(char *) "diff", NULL
19969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) goto fail
;
19970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19972 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
19973 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19975 if (arg2
== NULL
) {
19976 PyErr_SetString(PyExc_TypeError
,"null reference");
19980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19982 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
19983 result
= (wxDateTime
*) &_result_ref
;
19986 wxPyEndAllowThreads(__tstate
);
19987 if (PyErr_Occurred()) SWIG_fail
;
19989 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19996 static PyObject
*_wrap_DateTime_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19997 PyObject
*resultobj
;
19998 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19999 wxDateTime
*arg2
= 0 ;
20001 PyObject
* obj0
= 0 ;
20002 PyObject
* obj1
= 0 ;
20003 char *kwnames
[] = {
20004 (char *) "self",(char *) "dt", NULL
20007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
20008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20010 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20011 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20013 if (arg2
== NULL
) {
20014 PyErr_SetString(PyExc_TypeError
,"null reference");
20018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20019 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
20021 wxPyEndAllowThreads(__tstate
);
20022 if (PyErr_Occurred()) SWIG_fail
;
20025 wxTimeSpan
* resultptr
;
20026 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
20027 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
20035 static PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*self
, PyObject
*args
) {
20036 PyObject
*resultobj
;
20037 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20038 wxTimeSpan
*arg2
= 0 ;
20039 wxDateTime
*result
;
20040 PyObject
* obj0
= 0 ;
20041 PyObject
* obj1
= 0 ;
20043 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
20044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20046 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20047 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20049 if (arg2
== NULL
) {
20050 PyErr_SetString(PyExc_TypeError
,"null reference");
20054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20056 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
20057 result
= (wxDateTime
*) &_result_ref
;
20060 wxPyEndAllowThreads(__tstate
);
20061 if (PyErr_Occurred()) SWIG_fail
;
20063 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20070 static PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*self
, PyObject
*args
) {
20071 PyObject
*resultobj
;
20072 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20073 wxDateSpan
*arg2
= 0 ;
20074 wxDateTime
*result
;
20075 PyObject
* obj0
= 0 ;
20076 PyObject
* obj1
= 0 ;
20078 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
20079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20081 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20082 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20084 if (arg2
== NULL
) {
20085 PyErr_SetString(PyExc_TypeError
,"null reference");
20089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20091 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
20092 result
= (wxDateTime
*) &_result_ref
;
20095 wxPyEndAllowThreads(__tstate
);
20096 if (PyErr_Occurred()) SWIG_fail
;
20098 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20105 static PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
20110 argc
= PyObject_Length(args
);
20111 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20112 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20118 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20128 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20136 return _wrap_DateTime___iadd____SWIG_0(self
,args
);
20144 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20154 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20162 return _wrap_DateTime___iadd____SWIG_1(self
,args
);
20167 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___iadd__'");
20172 static PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*self
, PyObject
*args
) {
20173 PyObject
*resultobj
;
20174 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20175 wxTimeSpan
*arg2
= 0 ;
20176 wxDateTime
*result
;
20177 PyObject
* obj0
= 0 ;
20178 PyObject
* obj1
= 0 ;
20180 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
20181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20183 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20184 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20186 if (arg2
== NULL
) {
20187 PyErr_SetString(PyExc_TypeError
,"null reference");
20191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20193 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
20194 result
= (wxDateTime
*) &_result_ref
;
20197 wxPyEndAllowThreads(__tstate
);
20198 if (PyErr_Occurred()) SWIG_fail
;
20200 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20207 static PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*self
, PyObject
*args
) {
20208 PyObject
*resultobj
;
20209 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20210 wxDateSpan
*arg2
= 0 ;
20211 wxDateTime
*result
;
20212 PyObject
* obj0
= 0 ;
20213 PyObject
* obj1
= 0 ;
20215 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
20216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20218 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20219 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20221 if (arg2
== NULL
) {
20222 PyErr_SetString(PyExc_TypeError
,"null reference");
20226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20228 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
20229 result
= (wxDateTime
*) &_result_ref
;
20232 wxPyEndAllowThreads(__tstate
);
20233 if (PyErr_Occurred()) SWIG_fail
;
20235 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20242 static PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
20247 argc
= PyObject_Length(args
);
20248 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20249 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20255 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20265 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20273 return _wrap_DateTime___isub____SWIG_0(self
,args
);
20281 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20291 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20299 return _wrap_DateTime___isub____SWIG_1(self
,args
);
20304 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___isub__'");
20309 static PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*self
, PyObject
*args
) {
20310 PyObject
*resultobj
;
20311 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20312 wxTimeSpan
*arg2
= 0 ;
20314 PyObject
* obj0
= 0 ;
20315 PyObject
* obj1
= 0 ;
20317 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
20318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20320 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20321 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20323 if (arg2
== NULL
) {
20324 PyErr_SetString(PyExc_TypeError
,"null reference");
20328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20329 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
20331 wxPyEndAllowThreads(__tstate
);
20332 if (PyErr_Occurred()) SWIG_fail
;
20335 wxDateTime
* resultptr
;
20336 resultptr
= new wxDateTime((wxDateTime
&) result
);
20337 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20345 static PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*self
, PyObject
*args
) {
20346 PyObject
*resultobj
;
20347 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20348 wxDateSpan
*arg2
= 0 ;
20350 PyObject
* obj0
= 0 ;
20351 PyObject
* obj1
= 0 ;
20353 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
20354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20356 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20357 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20359 if (arg2
== NULL
) {
20360 PyErr_SetString(PyExc_TypeError
,"null reference");
20364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20365 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
20367 wxPyEndAllowThreads(__tstate
);
20368 if (PyErr_Occurred()) SWIG_fail
;
20371 wxDateTime
* resultptr
;
20372 resultptr
= new wxDateTime((wxDateTime
&) result
);
20373 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20381 static PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
20386 argc
= PyObject_Length(args
);
20387 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20388 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20394 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20404 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20412 return _wrap_DateTime___add____SWIG_0(self
,args
);
20420 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20430 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20438 return _wrap_DateTime___add____SWIG_1(self
,args
);
20443 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___add__'");
20448 static PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*self
, PyObject
*args
) {
20449 PyObject
*resultobj
;
20450 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20451 wxDateTime
*arg2
= 0 ;
20453 PyObject
* obj0
= 0 ;
20454 PyObject
* obj1
= 0 ;
20456 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20459 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20460 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20462 if (arg2
== NULL
) {
20463 PyErr_SetString(PyExc_TypeError
,"null reference");
20467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20468 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
20470 wxPyEndAllowThreads(__tstate
);
20471 if (PyErr_Occurred()) SWIG_fail
;
20474 wxTimeSpan
* resultptr
;
20475 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
20476 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
20484 static PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*self
, PyObject
*args
) {
20485 PyObject
*resultobj
;
20486 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20487 wxTimeSpan
*arg2
= 0 ;
20489 PyObject
* obj0
= 0 ;
20490 PyObject
* obj1
= 0 ;
20492 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20495 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20496 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20498 if (arg2
== NULL
) {
20499 PyErr_SetString(PyExc_TypeError
,"null reference");
20503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20504 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
20506 wxPyEndAllowThreads(__tstate
);
20507 if (PyErr_Occurred()) SWIG_fail
;
20510 wxDateTime
* resultptr
;
20511 resultptr
= new wxDateTime((wxDateTime
&) result
);
20512 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20520 static PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*self
, PyObject
*args
) {
20521 PyObject
*resultobj
;
20522 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20523 wxDateSpan
*arg2
= 0 ;
20525 PyObject
* obj0
= 0 ;
20526 PyObject
* obj1
= 0 ;
20528 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20531 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20532 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20534 if (arg2
== NULL
) {
20535 PyErr_SetString(PyExc_TypeError
,"null reference");
20539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20540 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
20542 wxPyEndAllowThreads(__tstate
);
20543 if (PyErr_Occurred()) SWIG_fail
;
20546 wxDateTime
* resultptr
;
20547 resultptr
= new wxDateTime((wxDateTime
&) result
);
20548 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20556 static PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
20561 argc
= PyObject_Length(args
);
20562 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20563 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20569 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20579 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20587 return _wrap_DateTime___sub____SWIG_0(self
,args
);
20595 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20605 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20613 return _wrap_DateTime___sub____SWIG_1(self
,args
);
20621 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20631 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20639 return _wrap_DateTime___sub____SWIG_2(self
,args
);
20644 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___sub__'");
20649 static PyObject
*_wrap_DateTime___lt__(PyObject
*self
, PyObject
*args
) {
20650 PyObject
*resultobj
;
20651 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20652 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20654 PyObject
* obj0
= 0 ;
20655 PyObject
* obj1
= 0 ;
20657 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___lt__",&obj0
,&obj1
)) goto fail
;
20658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20660 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20664 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const *)arg2
);
20666 wxPyEndAllowThreads(__tstate
);
20667 if (PyErr_Occurred()) SWIG_fail
;
20670 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20678 static PyObject
*_wrap_DateTime___le__(PyObject
*self
, PyObject
*args
) {
20679 PyObject
*resultobj
;
20680 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20681 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20683 PyObject
* obj0
= 0 ;
20684 PyObject
* obj1
= 0 ;
20686 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___le__",&obj0
,&obj1
)) goto fail
;
20687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20689 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20693 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const *)arg2
);
20695 wxPyEndAllowThreads(__tstate
);
20696 if (PyErr_Occurred()) SWIG_fail
;
20699 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20707 static PyObject
*_wrap_DateTime___gt__(PyObject
*self
, PyObject
*args
) {
20708 PyObject
*resultobj
;
20709 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20710 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20712 PyObject
* obj0
= 0 ;
20713 PyObject
* obj1
= 0 ;
20715 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___gt__",&obj0
,&obj1
)) goto fail
;
20716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20718 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20722 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const *)arg2
);
20724 wxPyEndAllowThreads(__tstate
);
20725 if (PyErr_Occurred()) SWIG_fail
;
20728 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20736 static PyObject
*_wrap_DateTime___ge__(PyObject
*self
, PyObject
*args
) {
20737 PyObject
*resultobj
;
20738 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20739 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20741 PyObject
* obj0
= 0 ;
20742 PyObject
* obj1
= 0 ;
20744 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ge__",&obj0
,&obj1
)) goto fail
;
20745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20747 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20751 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const *)arg2
);
20753 wxPyEndAllowThreads(__tstate
);
20754 if (PyErr_Occurred()) SWIG_fail
;
20757 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20765 static PyObject
*_wrap_DateTime___eq__(PyObject
*self
, PyObject
*args
) {
20766 PyObject
*resultobj
;
20767 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20768 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20770 PyObject
* obj0
= 0 ;
20771 PyObject
* obj1
= 0 ;
20773 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___eq__",&obj0
,&obj1
)) goto fail
;
20774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20776 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20780 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const *)arg2
);
20782 wxPyEndAllowThreads(__tstate
);
20783 if (PyErr_Occurred()) SWIG_fail
;
20786 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20794 static PyObject
*_wrap_DateTime___ne__(PyObject
*self
, PyObject
*args
) {
20795 PyObject
*resultobj
;
20796 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20797 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20799 PyObject
* obj0
= 0 ;
20800 PyObject
* obj1
= 0 ;
20802 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ne__",&obj0
,&obj1
)) goto fail
;
20803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20805 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20809 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const *)arg2
);
20811 wxPyEndAllowThreads(__tstate
);
20812 if (PyErr_Occurred()) SWIG_fail
;
20815 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20823 static PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20824 PyObject
*resultobj
;
20825 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20826 wxString
*arg2
= 0 ;
20828 bool temp2
= False
;
20829 PyObject
* obj0
= 0 ;
20830 PyObject
* obj1
= 0 ;
20831 char *kwnames
[] = {
20832 (char *) "self",(char *) "date", NULL
20835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) goto fail
;
20836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20839 arg2
= wxString_in_helper(obj1
);
20840 if (arg2
== NULL
) SWIG_fail
;
20844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20845 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
20847 wxPyEndAllowThreads(__tstate
);
20848 if (PyErr_Occurred()) SWIG_fail
;
20850 resultobj
= SWIG_FromInt((int)result
);
20865 static PyObject
*_wrap_DateTime_ParseFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20866 PyObject
*resultobj
;
20867 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20868 wxString
*arg2
= 0 ;
20869 wxString
const &arg3_defvalue
= wxPyDateFormatStr
;
20870 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20871 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
20872 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
20874 bool temp2
= False
;
20875 bool temp3
= False
;
20876 PyObject
* obj0
= 0 ;
20877 PyObject
* obj1
= 0 ;
20878 PyObject
* obj2
= 0 ;
20879 PyObject
* obj3
= 0 ;
20880 char *kwnames
[] = {
20881 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
20884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20888 arg2
= wxString_in_helper(obj1
);
20889 if (arg2
== NULL
) SWIG_fail
;
20894 arg3
= wxString_in_helper(obj2
);
20895 if (arg3
== NULL
) SWIG_fail
;
20900 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDateTime
,
20901 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20903 if (arg4
== NULL
) {
20904 PyErr_SetString(PyExc_TypeError
,"null reference");
20909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20910 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
20912 wxPyEndAllowThreads(__tstate
);
20913 if (PyErr_Occurred()) SWIG_fail
;
20915 resultobj
= SWIG_FromInt((int)result
);
20938 static PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20939 PyObject
*resultobj
;
20940 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20941 wxString
*arg2
= 0 ;
20943 bool temp2
= False
;
20944 PyObject
* obj0
= 0 ;
20945 PyObject
* obj1
= 0 ;
20946 char *kwnames
[] = {
20947 (char *) "self",(char *) "datetime", NULL
20950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) goto fail
;
20951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20954 arg2
= wxString_in_helper(obj1
);
20955 if (arg2
== NULL
) SWIG_fail
;
20959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20960 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
20962 wxPyEndAllowThreads(__tstate
);
20963 if (PyErr_Occurred()) SWIG_fail
;
20965 resultobj
= SWIG_FromInt((int)result
);
20980 static PyObject
*_wrap_DateTime_ParseDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20981 PyObject
*resultobj
;
20982 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20983 wxString
*arg2
= 0 ;
20985 bool temp2
= False
;
20986 PyObject
* obj0
= 0 ;
20987 PyObject
* obj1
= 0 ;
20988 char *kwnames
[] = {
20989 (char *) "self",(char *) "date", NULL
20992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) goto fail
;
20993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20996 arg2
= wxString_in_helper(obj1
);
20997 if (arg2
== NULL
) SWIG_fail
;
21001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21002 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
21004 wxPyEndAllowThreads(__tstate
);
21005 if (PyErr_Occurred()) SWIG_fail
;
21007 resultobj
= SWIG_FromInt((int)result
);
21022 static PyObject
*_wrap_DateTime_ParseTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21023 PyObject
*resultobj
;
21024 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21025 wxString
*arg2
= 0 ;
21027 bool temp2
= False
;
21028 PyObject
* obj0
= 0 ;
21029 PyObject
* obj1
= 0 ;
21030 char *kwnames
[] = {
21031 (char *) "self",(char *) "time", NULL
21034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) goto fail
;
21035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21038 arg2
= wxString_in_helper(obj1
);
21039 if (arg2
== NULL
) SWIG_fail
;
21043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21044 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
21046 wxPyEndAllowThreads(__tstate
);
21047 if (PyErr_Occurred()) SWIG_fail
;
21049 resultobj
= SWIG_FromInt((int)result
);
21064 static PyObject
*_wrap_DateTime_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21065 PyObject
*resultobj
;
21066 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21067 wxString
const &arg2_defvalue
= wxPyDateFormatStr
;
21068 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
21069 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
21070 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
21072 bool temp2
= False
;
21073 bool temp3
= False
;
21074 PyObject
* obj0
= 0 ;
21075 PyObject
* obj1
= 0 ;
21076 PyObject
* obj2
= 0 ;
21077 char *kwnames
[] = {
21078 (char *) "self",(char *) "format",(char *) "tz", NULL
21081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21086 arg2
= wxString_in_helper(obj1
);
21087 if (arg2
== NULL
) SWIG_fail
;
21093 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
21098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21099 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
21101 wxPyEndAllowThreads(__tstate
);
21102 if (PyErr_Occurred()) SWIG_fail
;
21106 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21108 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21116 if (temp3
) delete arg3
;
21125 if (temp3
) delete arg3
;
21131 static PyObject
*_wrap_DateTime_FormatDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21132 PyObject
*resultobj
;
21133 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21135 PyObject
* obj0
= 0 ;
21136 char *kwnames
[] = {
21137 (char *) "self", NULL
21140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatDate",kwnames
,&obj0
)) goto fail
;
21141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21145 result
= ((wxDateTime
const *)arg1
)->FormatDate();
21147 wxPyEndAllowThreads(__tstate
);
21148 if (PyErr_Occurred()) SWIG_fail
;
21152 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21154 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21163 static PyObject
*_wrap_DateTime_FormatTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21164 PyObject
*resultobj
;
21165 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21167 PyObject
* obj0
= 0 ;
21168 char *kwnames
[] = {
21169 (char *) "self", NULL
21172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatTime",kwnames
,&obj0
)) goto fail
;
21173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21177 result
= ((wxDateTime
const *)arg1
)->FormatTime();
21179 wxPyEndAllowThreads(__tstate
);
21180 if (PyErr_Occurred()) SWIG_fail
;
21184 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21186 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21195 static PyObject
*_wrap_DateTime_FormatISODate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21196 PyObject
*resultobj
;
21197 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21199 PyObject
* obj0
= 0 ;
21200 char *kwnames
[] = {
21201 (char *) "self", NULL
21204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISODate",kwnames
,&obj0
)) goto fail
;
21205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21209 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
21211 wxPyEndAllowThreads(__tstate
);
21212 if (PyErr_Occurred()) SWIG_fail
;
21216 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21218 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21227 static PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21228 PyObject
*resultobj
;
21229 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21231 PyObject
* obj0
= 0 ;
21232 char *kwnames
[] = {
21233 (char *) "self", NULL
21236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISOTime",kwnames
,&obj0
)) goto fail
;
21237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21241 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
21243 wxPyEndAllowThreads(__tstate
);
21244 if (PyErr_Occurred()) SWIG_fail
;
21248 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21250 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21259 static PyObject
* DateTime_swigregister(PyObject
*self
, PyObject
*args
) {
21261 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21262 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime
, obj
);
21264 return Py_BuildValue((char *)"");
21266 static PyObject
*_wrap_TimeSpan_Seconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21267 PyObject
*resultobj
;
21270 PyObject
* obj0
= 0 ;
21271 char *kwnames
[] = {
21272 (char *) "sec", NULL
21275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",kwnames
,&obj0
)) goto fail
;
21276 arg1
= (long) SWIG_AsLong(obj0
);
21277 if (PyErr_Occurred()) SWIG_fail
;
21279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21280 result
= wxTimeSpan::Seconds(arg1
);
21282 wxPyEndAllowThreads(__tstate
);
21283 if (PyErr_Occurred()) SWIG_fail
;
21286 wxTimeSpan
* resultptr
;
21287 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21288 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21296 static PyObject
*_wrap_TimeSpan_Second(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21297 PyObject
*resultobj
;
21299 char *kwnames
[] = {
21303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Second",kwnames
)) goto fail
;
21305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21306 result
= wxTimeSpan::Second();
21308 wxPyEndAllowThreads(__tstate
);
21309 if (PyErr_Occurred()) SWIG_fail
;
21312 wxTimeSpan
* resultptr
;
21313 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21314 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21322 static PyObject
*_wrap_TimeSpan_Minutes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21323 PyObject
*resultobj
;
21326 PyObject
* obj0
= 0 ;
21327 char *kwnames
[] = {
21328 (char *) "min", NULL
21331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",kwnames
,&obj0
)) goto fail
;
21332 arg1
= (long) SWIG_AsLong(obj0
);
21333 if (PyErr_Occurred()) SWIG_fail
;
21335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21336 result
= wxTimeSpan::Minutes(arg1
);
21338 wxPyEndAllowThreads(__tstate
);
21339 if (PyErr_Occurred()) SWIG_fail
;
21342 wxTimeSpan
* resultptr
;
21343 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21344 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21352 static PyObject
*_wrap_TimeSpan_Minute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21353 PyObject
*resultobj
;
21355 char *kwnames
[] = {
21359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Minute",kwnames
)) goto fail
;
21361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21362 result
= wxTimeSpan::Minute();
21364 wxPyEndAllowThreads(__tstate
);
21365 if (PyErr_Occurred()) SWIG_fail
;
21368 wxTimeSpan
* resultptr
;
21369 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21370 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21378 static PyObject
*_wrap_TimeSpan_Hours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21379 PyObject
*resultobj
;
21382 PyObject
* obj0
= 0 ;
21383 char *kwnames
[] = {
21384 (char *) "hours", NULL
21387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",kwnames
,&obj0
)) goto fail
;
21388 arg1
= (long) SWIG_AsLong(obj0
);
21389 if (PyErr_Occurred()) SWIG_fail
;
21391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21392 result
= wxTimeSpan::Hours(arg1
);
21394 wxPyEndAllowThreads(__tstate
);
21395 if (PyErr_Occurred()) SWIG_fail
;
21398 wxTimeSpan
* resultptr
;
21399 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21400 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21408 static PyObject
*_wrap_TimeSpan_Hour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21409 PyObject
*resultobj
;
21411 char *kwnames
[] = {
21415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Hour",kwnames
)) goto fail
;
21417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21418 result
= wxTimeSpan::Hour();
21420 wxPyEndAllowThreads(__tstate
);
21421 if (PyErr_Occurred()) SWIG_fail
;
21424 wxTimeSpan
* resultptr
;
21425 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21426 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21434 static PyObject
*_wrap_TimeSpan_Days(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21435 PyObject
*resultobj
;
21438 PyObject
* obj0
= 0 ;
21439 char *kwnames
[] = {
21440 (char *) "days", NULL
21443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Days",kwnames
,&obj0
)) goto fail
;
21444 arg1
= (long) SWIG_AsLong(obj0
);
21445 if (PyErr_Occurred()) SWIG_fail
;
21447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21448 result
= wxTimeSpan::Days(arg1
);
21450 wxPyEndAllowThreads(__tstate
);
21451 if (PyErr_Occurred()) SWIG_fail
;
21454 wxTimeSpan
* resultptr
;
21455 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21456 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21464 static PyObject
*_wrap_TimeSpan_Day(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21465 PyObject
*resultobj
;
21467 char *kwnames
[] = {
21471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Day",kwnames
)) goto fail
;
21473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21474 result
= wxTimeSpan::Day();
21476 wxPyEndAllowThreads(__tstate
);
21477 if (PyErr_Occurred()) SWIG_fail
;
21480 wxTimeSpan
* resultptr
;
21481 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21482 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21490 static PyObject
*_wrap_TimeSpan_Weeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21491 PyObject
*resultobj
;
21494 PyObject
* obj0
= 0 ;
21495 char *kwnames
[] = {
21496 (char *) "days", NULL
21499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) goto fail
;
21500 arg1
= (long) SWIG_AsLong(obj0
);
21501 if (PyErr_Occurred()) SWIG_fail
;
21503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21504 result
= wxTimeSpan::Weeks(arg1
);
21506 wxPyEndAllowThreads(__tstate
);
21507 if (PyErr_Occurred()) SWIG_fail
;
21510 wxTimeSpan
* resultptr
;
21511 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21512 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21520 static PyObject
*_wrap_TimeSpan_Week(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21521 PyObject
*resultobj
;
21523 char *kwnames
[] = {
21527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Week",kwnames
)) goto fail
;
21529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21530 result
= wxTimeSpan::Week();
21532 wxPyEndAllowThreads(__tstate
);
21533 if (PyErr_Occurred()) SWIG_fail
;
21536 wxTimeSpan
* resultptr
;
21537 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21538 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21546 static PyObject
*_wrap_new_TimeSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21547 PyObject
*resultobj
;
21548 long arg1
= (long) 0 ;
21549 long arg2
= (long) 0 ;
21550 long arg3
= (long) 0 ;
21551 long arg4
= (long) 0 ;
21552 wxTimeSpan
*result
;
21553 PyObject
* obj0
= 0 ;
21554 PyObject
* obj1
= 0 ;
21555 PyObject
* obj2
= 0 ;
21556 PyObject
* obj3
= 0 ;
21557 char *kwnames
[] = {
21558 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
21561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21563 arg1
= (long) SWIG_AsLong(obj0
);
21564 if (PyErr_Occurred()) SWIG_fail
;
21567 arg2
= (long) SWIG_AsLong(obj1
);
21568 if (PyErr_Occurred()) SWIG_fail
;
21571 arg3
= (long) SWIG_AsLong(obj2
);
21572 if (PyErr_Occurred()) SWIG_fail
;
21575 arg4
= (long) SWIG_AsLong(obj3
);
21576 if (PyErr_Occurred()) SWIG_fail
;
21579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21580 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
21582 wxPyEndAllowThreads(__tstate
);
21583 if (PyErr_Occurred()) SWIG_fail
;
21585 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
21592 static PyObject
*_wrap_delete_TimeSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21593 PyObject
*resultobj
;
21594 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21595 PyObject
* obj0
= 0 ;
21596 char *kwnames
[] = {
21597 (char *) "self", NULL
21600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimeSpan",kwnames
,&obj0
)) goto fail
;
21601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21607 wxPyEndAllowThreads(__tstate
);
21608 if (PyErr_Occurred()) SWIG_fail
;
21610 Py_INCREF(Py_None
); resultobj
= Py_None
;
21617 static PyObject
*_wrap_TimeSpan_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21618 PyObject
*resultobj
;
21619 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21620 wxTimeSpan
*arg2
= 0 ;
21621 wxTimeSpan
*result
;
21622 PyObject
* obj0
= 0 ;
21623 PyObject
* obj1
= 0 ;
21624 char *kwnames
[] = {
21625 (char *) "self",(char *) "diff", NULL
21628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
21629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21631 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21632 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21634 if (arg2
== NULL
) {
21635 PyErr_SetString(PyExc_TypeError
,"null reference");
21639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21641 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
21642 result
= (wxTimeSpan
*) &_result_ref
;
21645 wxPyEndAllowThreads(__tstate
);
21646 if (PyErr_Occurred()) SWIG_fail
;
21648 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21655 static PyObject
*_wrap_TimeSpan_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21656 PyObject
*resultobj
;
21657 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21658 wxTimeSpan
*arg2
= 0 ;
21659 wxTimeSpan
*result
;
21660 PyObject
* obj0
= 0 ;
21661 PyObject
* obj1
= 0 ;
21662 char *kwnames
[] = {
21663 (char *) "self",(char *) "diff", NULL
21666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
21667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21669 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21670 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21672 if (arg2
== NULL
) {
21673 PyErr_SetString(PyExc_TypeError
,"null reference");
21677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21679 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
21680 result
= (wxTimeSpan
*) &_result_ref
;
21683 wxPyEndAllowThreads(__tstate
);
21684 if (PyErr_Occurred()) SWIG_fail
;
21686 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21693 static PyObject
*_wrap_TimeSpan_Multiply(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21694 PyObject
*resultobj
;
21695 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21697 wxTimeSpan
*result
;
21698 PyObject
* obj0
= 0 ;
21699 PyObject
* obj1
= 0 ;
21700 char *kwnames
[] = {
21701 (char *) "self",(char *) "n", NULL
21704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
21705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21707 arg2
= (int) SWIG_AsInt(obj1
);
21708 if (PyErr_Occurred()) SWIG_fail
;
21710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21712 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
21713 result
= (wxTimeSpan
*) &_result_ref
;
21716 wxPyEndAllowThreads(__tstate
);
21717 if (PyErr_Occurred()) SWIG_fail
;
21719 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21726 static PyObject
*_wrap_TimeSpan_Neg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21727 PyObject
*resultobj
;
21728 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21729 wxTimeSpan
*result
;
21730 PyObject
* obj0
= 0 ;
21731 char *kwnames
[] = {
21732 (char *) "self", NULL
21735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Neg",kwnames
,&obj0
)) goto fail
;
21736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21741 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
21742 result
= (wxTimeSpan
*) &_result_ref
;
21745 wxPyEndAllowThreads(__tstate
);
21746 if (PyErr_Occurred()) SWIG_fail
;
21748 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21755 static PyObject
*_wrap_TimeSpan_Abs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21756 PyObject
*resultobj
;
21757 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21759 PyObject
* obj0
= 0 ;
21760 char *kwnames
[] = {
21761 (char *) "self", NULL
21764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Abs",kwnames
,&obj0
)) goto fail
;
21765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21769 result
= ((wxTimeSpan
const *)arg1
)->Abs();
21771 wxPyEndAllowThreads(__tstate
);
21772 if (PyErr_Occurred()) SWIG_fail
;
21775 wxTimeSpan
* resultptr
;
21776 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21777 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21785 static PyObject
*_wrap_TimeSpan___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21786 PyObject
*resultobj
;
21787 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21788 wxTimeSpan
*arg2
= 0 ;
21789 wxTimeSpan
*result
;
21790 PyObject
* obj0
= 0 ;
21791 PyObject
* obj1
= 0 ;
21792 char *kwnames
[] = {
21793 (char *) "self",(char *) "diff", NULL
21796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
21797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21799 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21800 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21802 if (arg2
== NULL
) {
21803 PyErr_SetString(PyExc_TypeError
,"null reference");
21807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21809 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
21810 result
= (wxTimeSpan
*) &_result_ref
;
21813 wxPyEndAllowThreads(__tstate
);
21814 if (PyErr_Occurred()) SWIG_fail
;
21816 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21823 static PyObject
*_wrap_TimeSpan___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21824 PyObject
*resultobj
;
21825 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21826 wxTimeSpan
*arg2
= 0 ;
21827 wxTimeSpan
*result
;
21828 PyObject
* obj0
= 0 ;
21829 PyObject
* obj1
= 0 ;
21830 char *kwnames
[] = {
21831 (char *) "self",(char *) "diff", NULL
21834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
21835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21837 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21838 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21840 if (arg2
== NULL
) {
21841 PyErr_SetString(PyExc_TypeError
,"null reference");
21845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21847 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
21848 result
= (wxTimeSpan
*) &_result_ref
;
21851 wxPyEndAllowThreads(__tstate
);
21852 if (PyErr_Occurred()) SWIG_fail
;
21854 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21861 static PyObject
*_wrap_TimeSpan___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21862 PyObject
*resultobj
;
21863 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21865 wxTimeSpan
*result
;
21866 PyObject
* obj0
= 0 ;
21867 PyObject
* obj1
= 0 ;
21868 char *kwnames
[] = {
21869 (char *) "self",(char *) "n", NULL
21872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
21873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21875 arg2
= (int) SWIG_AsInt(obj1
);
21876 if (PyErr_Occurred()) SWIG_fail
;
21878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21880 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
21881 result
= (wxTimeSpan
*) &_result_ref
;
21884 wxPyEndAllowThreads(__tstate
);
21885 if (PyErr_Occurred()) SWIG_fail
;
21887 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21894 static PyObject
*_wrap_TimeSpan___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21895 PyObject
*resultobj
;
21896 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21897 wxTimeSpan
*result
;
21898 PyObject
* obj0
= 0 ;
21899 char *kwnames
[] = {
21900 (char *) "self", NULL
21903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan___neg__",kwnames
,&obj0
)) goto fail
;
21904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21909 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
21910 result
= (wxTimeSpan
*) &_result_ref
;
21913 wxPyEndAllowThreads(__tstate
);
21914 if (PyErr_Occurred()) SWIG_fail
;
21916 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21923 static PyObject
*_wrap_TimeSpan___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21924 PyObject
*resultobj
;
21925 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21926 wxTimeSpan
*arg2
= 0 ;
21928 PyObject
* obj0
= 0 ;
21929 PyObject
* obj1
= 0 ;
21930 char *kwnames
[] = {
21931 (char *) "self",(char *) "other", NULL
21934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
21935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21937 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21938 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21940 if (arg2
== NULL
) {
21941 PyErr_SetString(PyExc_TypeError
,"null reference");
21945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21946 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
21948 wxPyEndAllowThreads(__tstate
);
21949 if (PyErr_Occurred()) SWIG_fail
;
21952 wxTimeSpan
* resultptr
;
21953 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21954 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21962 static PyObject
*_wrap_TimeSpan___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21963 PyObject
*resultobj
;
21964 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21965 wxTimeSpan
*arg2
= 0 ;
21967 PyObject
* obj0
= 0 ;
21968 PyObject
* obj1
= 0 ;
21969 char *kwnames
[] = {
21970 (char *) "self",(char *) "other", NULL
21973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
21974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21976 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21977 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21979 if (arg2
== NULL
) {
21980 PyErr_SetString(PyExc_TypeError
,"null reference");
21984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21985 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
21987 wxPyEndAllowThreads(__tstate
);
21988 if (PyErr_Occurred()) SWIG_fail
;
21991 wxTimeSpan
* resultptr
;
21992 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21993 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22001 static PyObject
*_wrap_TimeSpan___mul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22002 PyObject
*resultobj
;
22003 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22006 PyObject
* obj0
= 0 ;
22007 PyObject
* obj1
= 0 ;
22008 char *kwnames
[] = {
22009 (char *) "self",(char *) "n", NULL
22012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
22013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22015 arg2
= (int) SWIG_AsInt(obj1
);
22016 if (PyErr_Occurred()) SWIG_fail
;
22018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22019 result
= wxTimeSpan___mul__(arg1
,arg2
);
22021 wxPyEndAllowThreads(__tstate
);
22022 if (PyErr_Occurred()) SWIG_fail
;
22025 wxTimeSpan
* resultptr
;
22026 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22027 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22035 static PyObject
*_wrap_TimeSpan___rmul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22036 PyObject
*resultobj
;
22037 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22040 PyObject
* obj0
= 0 ;
22041 PyObject
* obj1
= 0 ;
22042 char *kwnames
[] = {
22043 (char *) "self",(char *) "n", NULL
22046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
22047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22049 arg2
= (int) SWIG_AsInt(obj1
);
22050 if (PyErr_Occurred()) SWIG_fail
;
22052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22053 result
= wxTimeSpan___rmul__(arg1
,arg2
);
22055 wxPyEndAllowThreads(__tstate
);
22056 if (PyErr_Occurred()) SWIG_fail
;
22059 wxTimeSpan
* resultptr
;
22060 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22061 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22069 static PyObject
*_wrap_TimeSpan___lt__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22070 PyObject
*resultobj
;
22071 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22072 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22074 PyObject
* obj0
= 0 ;
22075 PyObject
* obj1
= 0 ;
22076 char *kwnames
[] = {
22077 (char *) "self",(char *) "other", NULL
22080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
22081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22083 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22087 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const *)arg2
);
22089 wxPyEndAllowThreads(__tstate
);
22090 if (PyErr_Occurred()) SWIG_fail
;
22093 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22101 static PyObject
*_wrap_TimeSpan___le__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22102 PyObject
*resultobj
;
22103 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22104 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22106 PyObject
* obj0
= 0 ;
22107 PyObject
* obj1
= 0 ;
22108 char *kwnames
[] = {
22109 (char *) "self",(char *) "other", NULL
22112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
22113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22115 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22119 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const *)arg2
);
22121 wxPyEndAllowThreads(__tstate
);
22122 if (PyErr_Occurred()) SWIG_fail
;
22125 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22133 static PyObject
*_wrap_TimeSpan___gt__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22134 PyObject
*resultobj
;
22135 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22136 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22138 PyObject
* obj0
= 0 ;
22139 PyObject
* obj1
= 0 ;
22140 char *kwnames
[] = {
22141 (char *) "self",(char *) "other", NULL
22144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
22145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22147 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22151 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const *)arg2
);
22153 wxPyEndAllowThreads(__tstate
);
22154 if (PyErr_Occurred()) SWIG_fail
;
22157 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22165 static PyObject
*_wrap_TimeSpan___ge__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22166 PyObject
*resultobj
;
22167 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22168 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22170 PyObject
* obj0
= 0 ;
22171 PyObject
* obj1
= 0 ;
22172 char *kwnames
[] = {
22173 (char *) "self",(char *) "other", NULL
22176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
22177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22179 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22183 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const *)arg2
);
22185 wxPyEndAllowThreads(__tstate
);
22186 if (PyErr_Occurred()) SWIG_fail
;
22189 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22197 static PyObject
*_wrap_TimeSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22198 PyObject
*resultobj
;
22199 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22200 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22202 PyObject
* obj0
= 0 ;
22203 PyObject
* obj1
= 0 ;
22204 char *kwnames
[] = {
22205 (char *) "self",(char *) "other", NULL
22208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
22209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22211 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22215 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const *)arg2
);
22217 wxPyEndAllowThreads(__tstate
);
22218 if (PyErr_Occurred()) SWIG_fail
;
22221 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22229 static PyObject
*_wrap_TimeSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22230 PyObject
*resultobj
;
22231 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22232 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22234 PyObject
* obj0
= 0 ;
22235 PyObject
* obj1
= 0 ;
22236 char *kwnames
[] = {
22237 (char *) "self",(char *) "other", NULL
22240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
22241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22243 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22247 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const *)arg2
);
22249 wxPyEndAllowThreads(__tstate
);
22250 if (PyErr_Occurred()) SWIG_fail
;
22253 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22261 static PyObject
*_wrap_TimeSpan_IsNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22262 PyObject
*resultobj
;
22263 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22265 PyObject
* obj0
= 0 ;
22266 char *kwnames
[] = {
22267 (char *) "self", NULL
22270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNull",kwnames
,&obj0
)) goto fail
;
22271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22275 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
22277 wxPyEndAllowThreads(__tstate
);
22278 if (PyErr_Occurred()) SWIG_fail
;
22281 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22289 static PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22290 PyObject
*resultobj
;
22291 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22293 PyObject
* obj0
= 0 ;
22294 char *kwnames
[] = {
22295 (char *) "self", NULL
22298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsPositive",kwnames
,&obj0
)) goto fail
;
22299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22303 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
22305 wxPyEndAllowThreads(__tstate
);
22306 if (PyErr_Occurred()) SWIG_fail
;
22309 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22317 static PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22318 PyObject
*resultobj
;
22319 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22321 PyObject
* obj0
= 0 ;
22322 char *kwnames
[] = {
22323 (char *) "self", NULL
22326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNegative",kwnames
,&obj0
)) goto fail
;
22327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22331 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
22333 wxPyEndAllowThreads(__tstate
);
22334 if (PyErr_Occurred()) SWIG_fail
;
22337 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22345 static PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22346 PyObject
*resultobj
;
22347 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22348 wxTimeSpan
*arg2
= 0 ;
22350 PyObject
* obj0
= 0 ;
22351 PyObject
* obj1
= 0 ;
22352 char *kwnames
[] = {
22353 (char *) "self",(char *) "ts", NULL
22356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
22357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22359 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22360 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22362 if (arg2
== NULL
) {
22363 PyErr_SetString(PyExc_TypeError
,"null reference");
22367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22368 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
22370 wxPyEndAllowThreads(__tstate
);
22371 if (PyErr_Occurred()) SWIG_fail
;
22374 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22382 static PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22383 PyObject
*resultobj
;
22384 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22385 wxTimeSpan
*arg2
= 0 ;
22387 PyObject
* obj0
= 0 ;
22388 PyObject
* obj1
= 0 ;
22389 char *kwnames
[] = {
22390 (char *) "self",(char *) "ts", NULL
22393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22396 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22397 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22399 if (arg2
== NULL
) {
22400 PyErr_SetString(PyExc_TypeError
,"null reference");
22404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22405 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
22407 wxPyEndAllowThreads(__tstate
);
22408 if (PyErr_Occurred()) SWIG_fail
;
22411 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22419 static PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22420 PyObject
*resultobj
;
22421 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22422 wxTimeSpan
*arg2
= 0 ;
22424 PyObject
* obj0
= 0 ;
22425 PyObject
* obj1
= 0 ;
22426 char *kwnames
[] = {
22427 (char *) "self",(char *) "t", NULL
22430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22433 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22434 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22436 if (arg2
== NULL
) {
22437 PyErr_SetString(PyExc_TypeError
,"null reference");
22441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22442 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
22444 wxPyEndAllowThreads(__tstate
);
22445 if (PyErr_Occurred()) SWIG_fail
;
22448 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22456 static PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22457 PyObject
*resultobj
;
22458 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22460 PyObject
* obj0
= 0 ;
22461 char *kwnames
[] = {
22462 (char *) "self", NULL
22465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
22466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22470 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
22472 wxPyEndAllowThreads(__tstate
);
22473 if (PyErr_Occurred()) SWIG_fail
;
22475 resultobj
= SWIG_FromInt((int)result
);
22482 static PyObject
*_wrap_TimeSpan_GetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22483 PyObject
*resultobj
;
22484 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22486 PyObject
* obj0
= 0 ;
22487 char *kwnames
[] = {
22488 (char *) "self", NULL
22491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetDays",kwnames
,&obj0
)) goto fail
;
22492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22496 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
22498 wxPyEndAllowThreads(__tstate
);
22499 if (PyErr_Occurred()) SWIG_fail
;
22501 resultobj
= SWIG_FromInt((int)result
);
22508 static PyObject
*_wrap_TimeSpan_GetHours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22509 PyObject
*resultobj
;
22510 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22512 PyObject
* obj0
= 0 ;
22513 char *kwnames
[] = {
22514 (char *) "self", NULL
22517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetHours",kwnames
,&obj0
)) goto fail
;
22518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22522 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
22524 wxPyEndAllowThreads(__tstate
);
22525 if (PyErr_Occurred()) SWIG_fail
;
22527 resultobj
= SWIG_FromInt((int)result
);
22534 static PyObject
*_wrap_TimeSpan_GetMinutes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22535 PyObject
*resultobj
;
22536 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22538 PyObject
* obj0
= 0 ;
22539 char *kwnames
[] = {
22540 (char *) "self", NULL
22543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMinutes",kwnames
,&obj0
)) goto fail
;
22544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22548 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
22550 wxPyEndAllowThreads(__tstate
);
22551 if (PyErr_Occurred()) SWIG_fail
;
22553 resultobj
= SWIG_FromInt((int)result
);
22560 static PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22561 PyObject
*resultobj
;
22562 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22564 PyObject
* obj0
= 0 ;
22565 char *kwnames
[] = {
22566 (char *) "self", NULL
22569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetSeconds",kwnames
,&obj0
)) goto fail
;
22570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22574 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
22576 wxPyEndAllowThreads(__tstate
);
22577 if (PyErr_Occurred()) SWIG_fail
;
22580 PyObject
*hi
, *lo
, *shifter
, *shifted
;
22581 hi
= PyLong_FromLong( (&result
)->GetHi() );
22582 lo
= PyLong_FromLong( (&result
)->GetLo() );
22583 shifter
= PyLong_FromLong(32);
22584 shifted
= PyNumber_Lshift(hi
, shifter
);
22585 resultobj
= PyNumber_Or(shifted
, lo
);
22588 Py_DECREF(shifter
);
22589 Py_DECREF(shifted
);
22597 static PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22598 PyObject
*resultobj
;
22599 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22601 PyObject
* obj0
= 0 ;
22602 char *kwnames
[] = {
22603 (char *) "self", NULL
22606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMilliseconds",kwnames
,&obj0
)) goto fail
;
22607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22611 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
22613 wxPyEndAllowThreads(__tstate
);
22614 if (PyErr_Occurred()) SWIG_fail
;
22617 PyObject
*hi
, *lo
, *shifter
, *shifted
;
22618 hi
= PyLong_FromLong( (&result
)->GetHi() );
22619 lo
= PyLong_FromLong( (&result
)->GetLo() );
22620 shifter
= PyLong_FromLong(32);
22621 shifted
= PyNumber_Lshift(hi
, shifter
);
22622 resultobj
= PyNumber_Or(shifted
, lo
);
22625 Py_DECREF(shifter
);
22626 Py_DECREF(shifted
);
22634 static PyObject
*_wrap_TimeSpan_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22635 PyObject
*resultobj
;
22636 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22637 wxString
const &arg2_defvalue
= wxPyTimeSpanFormatStr
;
22638 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
22640 bool temp2
= False
;
22641 PyObject
* obj0
= 0 ;
22642 PyObject
* obj1
= 0 ;
22643 char *kwnames
[] = {
22644 (char *) "self",(char *) "format", NULL
22647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) goto fail
;
22648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22652 arg2
= wxString_in_helper(obj1
);
22653 if (arg2
== NULL
) SWIG_fail
;
22658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22659 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
22661 wxPyEndAllowThreads(__tstate
);
22662 if (PyErr_Occurred()) SWIG_fail
;
22666 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22668 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22685 static PyObject
* TimeSpan_swigregister(PyObject
*self
, PyObject
*args
) {
22687 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22688 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan
, obj
);
22690 return Py_BuildValue((char *)"");
22692 static PyObject
*_wrap_new_DateSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22693 PyObject
*resultobj
;
22694 int arg1
= (int) 0 ;
22695 int arg2
= (int) 0 ;
22696 int arg3
= (int) 0 ;
22697 int arg4
= (int) 0 ;
22698 wxDateSpan
*result
;
22699 PyObject
* obj0
= 0 ;
22700 PyObject
* obj1
= 0 ;
22701 PyObject
* obj2
= 0 ;
22702 PyObject
* obj3
= 0 ;
22703 char *kwnames
[] = {
22704 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
22707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22709 arg1
= (int) SWIG_AsInt(obj0
);
22710 if (PyErr_Occurred()) SWIG_fail
;
22713 arg2
= (int) SWIG_AsInt(obj1
);
22714 if (PyErr_Occurred()) SWIG_fail
;
22717 arg3
= (int) SWIG_AsInt(obj2
);
22718 if (PyErr_Occurred()) SWIG_fail
;
22721 arg4
= (int) SWIG_AsInt(obj3
);
22722 if (PyErr_Occurred()) SWIG_fail
;
22725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22726 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
22728 wxPyEndAllowThreads(__tstate
);
22729 if (PyErr_Occurred()) SWIG_fail
;
22731 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
22738 static PyObject
*_wrap_delete_DateSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22739 PyObject
*resultobj
;
22740 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22741 PyObject
* obj0
= 0 ;
22742 char *kwnames
[] = {
22743 (char *) "self", NULL
22746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateSpan",kwnames
,&obj0
)) goto fail
;
22747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22753 wxPyEndAllowThreads(__tstate
);
22754 if (PyErr_Occurred()) SWIG_fail
;
22756 Py_INCREF(Py_None
); resultobj
= Py_None
;
22763 static PyObject
*_wrap_DateSpan_Days(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22764 PyObject
*resultobj
;
22767 PyObject
* obj0
= 0 ;
22768 char *kwnames
[] = {
22769 (char *) "days", NULL
22772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",kwnames
,&obj0
)) goto fail
;
22773 arg1
= (int) SWIG_AsInt(obj0
);
22774 if (PyErr_Occurred()) SWIG_fail
;
22776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22777 result
= wxDateSpan::Days(arg1
);
22779 wxPyEndAllowThreads(__tstate
);
22780 if (PyErr_Occurred()) SWIG_fail
;
22783 wxDateSpan
* resultptr
;
22784 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22785 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22793 static PyObject
*_wrap_DateSpan_Day(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22794 PyObject
*resultobj
;
22796 char *kwnames
[] = {
22800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Day",kwnames
)) goto fail
;
22802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22803 result
= wxDateSpan::Day();
22805 wxPyEndAllowThreads(__tstate
);
22806 if (PyErr_Occurred()) SWIG_fail
;
22809 wxDateSpan
* resultptr
;
22810 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22811 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22819 static PyObject
*_wrap_DateSpan_Weeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22820 PyObject
*resultobj
;
22823 PyObject
* obj0
= 0 ;
22824 char *kwnames
[] = {
22825 (char *) "weeks", NULL
22828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",kwnames
,&obj0
)) goto fail
;
22829 arg1
= (int) SWIG_AsInt(obj0
);
22830 if (PyErr_Occurred()) SWIG_fail
;
22832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22833 result
= wxDateSpan::Weeks(arg1
);
22835 wxPyEndAllowThreads(__tstate
);
22836 if (PyErr_Occurred()) SWIG_fail
;
22839 wxDateSpan
* resultptr
;
22840 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22841 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22849 static PyObject
*_wrap_DateSpan_Week(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22850 PyObject
*resultobj
;
22852 char *kwnames
[] = {
22856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Week",kwnames
)) goto fail
;
22858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22859 result
= wxDateSpan::Week();
22861 wxPyEndAllowThreads(__tstate
);
22862 if (PyErr_Occurred()) SWIG_fail
;
22865 wxDateSpan
* resultptr
;
22866 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22867 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22875 static PyObject
*_wrap_DateSpan_Months(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22876 PyObject
*resultobj
;
22879 PyObject
* obj0
= 0 ;
22880 char *kwnames
[] = {
22881 (char *) "mon", NULL
22884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",kwnames
,&obj0
)) goto fail
;
22885 arg1
= (int) SWIG_AsInt(obj0
);
22886 if (PyErr_Occurred()) SWIG_fail
;
22888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22889 result
= wxDateSpan::Months(arg1
);
22891 wxPyEndAllowThreads(__tstate
);
22892 if (PyErr_Occurred()) SWIG_fail
;
22895 wxDateSpan
* resultptr
;
22896 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22897 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22905 static PyObject
*_wrap_DateSpan_Month(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22906 PyObject
*resultobj
;
22908 char *kwnames
[] = {
22912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Month",kwnames
)) goto fail
;
22914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22915 result
= wxDateSpan::Month();
22917 wxPyEndAllowThreads(__tstate
);
22918 if (PyErr_Occurred()) SWIG_fail
;
22921 wxDateSpan
* resultptr
;
22922 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22923 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22931 static PyObject
*_wrap_DateSpan_Years(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22932 PyObject
*resultobj
;
22935 PyObject
* obj0
= 0 ;
22936 char *kwnames
[] = {
22937 (char *) "years", NULL
22940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) goto fail
;
22941 arg1
= (int) SWIG_AsInt(obj0
);
22942 if (PyErr_Occurred()) SWIG_fail
;
22944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22945 result
= wxDateSpan::Years(arg1
);
22947 wxPyEndAllowThreads(__tstate
);
22948 if (PyErr_Occurred()) SWIG_fail
;
22951 wxDateSpan
* resultptr
;
22952 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22953 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22961 static PyObject
*_wrap_DateSpan_Year(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22962 PyObject
*resultobj
;
22964 char *kwnames
[] = {
22968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Year",kwnames
)) goto fail
;
22970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22971 result
= wxDateSpan::Year();
22973 wxPyEndAllowThreads(__tstate
);
22974 if (PyErr_Occurred()) SWIG_fail
;
22977 wxDateSpan
* resultptr
;
22978 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22979 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22987 static PyObject
*_wrap_DateSpan_SetYears(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22988 PyObject
*resultobj
;
22989 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22991 wxDateSpan
*result
;
22992 PyObject
* obj0
= 0 ;
22993 PyObject
* obj1
= 0 ;
22994 char *kwnames
[] = {
22995 (char *) "self",(char *) "n", NULL
22998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetYears",kwnames
,&obj0
,&obj1
)) goto fail
;
22999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23001 arg2
= (int) SWIG_AsInt(obj1
);
23002 if (PyErr_Occurred()) SWIG_fail
;
23004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23006 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
23007 result
= (wxDateSpan
*) &_result_ref
;
23010 wxPyEndAllowThreads(__tstate
);
23011 if (PyErr_Occurred()) SWIG_fail
;
23013 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23020 static PyObject
*_wrap_DateSpan_SetMonths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23021 PyObject
*resultobj
;
23022 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23024 wxDateSpan
*result
;
23025 PyObject
* obj0
= 0 ;
23026 PyObject
* obj1
= 0 ;
23027 char *kwnames
[] = {
23028 (char *) "self",(char *) "n", NULL
23031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetMonths",kwnames
,&obj0
,&obj1
)) goto fail
;
23032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23034 arg2
= (int) SWIG_AsInt(obj1
);
23035 if (PyErr_Occurred()) SWIG_fail
;
23037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23039 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
23040 result
= (wxDateSpan
*) &_result_ref
;
23043 wxPyEndAllowThreads(__tstate
);
23044 if (PyErr_Occurred()) SWIG_fail
;
23046 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23053 static PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23054 PyObject
*resultobj
;
23055 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23057 wxDateSpan
*result
;
23058 PyObject
* obj0
= 0 ;
23059 PyObject
* obj1
= 0 ;
23060 char *kwnames
[] = {
23061 (char *) "self",(char *) "n", NULL
23064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) goto fail
;
23065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23067 arg2
= (int) SWIG_AsInt(obj1
);
23068 if (PyErr_Occurred()) SWIG_fail
;
23070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23072 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
23073 result
= (wxDateSpan
*) &_result_ref
;
23076 wxPyEndAllowThreads(__tstate
);
23077 if (PyErr_Occurred()) SWIG_fail
;
23079 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23086 static PyObject
*_wrap_DateSpan_SetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23087 PyObject
*resultobj
;
23088 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23090 wxDateSpan
*result
;
23091 PyObject
* obj0
= 0 ;
23092 PyObject
* obj1
= 0 ;
23093 char *kwnames
[] = {
23094 (char *) "self",(char *) "n", NULL
23097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) goto fail
;
23098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23100 arg2
= (int) SWIG_AsInt(obj1
);
23101 if (PyErr_Occurred()) SWIG_fail
;
23103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23105 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
23106 result
= (wxDateSpan
*) &_result_ref
;
23109 wxPyEndAllowThreads(__tstate
);
23110 if (PyErr_Occurred()) SWIG_fail
;
23112 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23119 static PyObject
*_wrap_DateSpan_GetYears(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23120 PyObject
*resultobj
;
23121 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23123 PyObject
* obj0
= 0 ;
23124 char *kwnames
[] = {
23125 (char *) "self", NULL
23128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetYears",kwnames
,&obj0
)) goto fail
;
23129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23133 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
23135 wxPyEndAllowThreads(__tstate
);
23136 if (PyErr_Occurred()) SWIG_fail
;
23138 resultobj
= SWIG_FromInt((int)result
);
23145 static PyObject
*_wrap_DateSpan_GetMonths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23146 PyObject
*resultobj
;
23147 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23149 PyObject
* obj0
= 0 ;
23150 char *kwnames
[] = {
23151 (char *) "self", NULL
23154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetMonths",kwnames
,&obj0
)) goto fail
;
23155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23159 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
23161 wxPyEndAllowThreads(__tstate
);
23162 if (PyErr_Occurred()) SWIG_fail
;
23164 resultobj
= SWIG_FromInt((int)result
);
23171 static PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23172 PyObject
*resultobj
;
23173 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23175 PyObject
* obj0
= 0 ;
23176 char *kwnames
[] = {
23177 (char *) "self", NULL
23180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
23181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23185 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
23187 wxPyEndAllowThreads(__tstate
);
23188 if (PyErr_Occurred()) SWIG_fail
;
23190 resultobj
= SWIG_FromInt((int)result
);
23197 static PyObject
*_wrap_DateSpan_GetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23198 PyObject
*resultobj
;
23199 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23201 PyObject
* obj0
= 0 ;
23202 char *kwnames
[] = {
23203 (char *) "self", NULL
23206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetDays",kwnames
,&obj0
)) goto fail
;
23207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23211 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
23213 wxPyEndAllowThreads(__tstate
);
23214 if (PyErr_Occurred()) SWIG_fail
;
23216 resultobj
= SWIG_FromInt((int)result
);
23223 static PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23224 PyObject
*resultobj
;
23225 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23227 PyObject
* obj0
= 0 ;
23228 char *kwnames
[] = {
23229 (char *) "self", NULL
23232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetTotalDays",kwnames
,&obj0
)) goto fail
;
23233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23237 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
23239 wxPyEndAllowThreads(__tstate
);
23240 if (PyErr_Occurred()) SWIG_fail
;
23242 resultobj
= SWIG_FromInt((int)result
);
23249 static PyObject
*_wrap_DateSpan_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23250 PyObject
*resultobj
;
23251 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23252 wxDateSpan
*arg2
= 0 ;
23253 wxDateSpan
*result
;
23254 PyObject
* obj0
= 0 ;
23255 PyObject
* obj1
= 0 ;
23256 char *kwnames
[] = {
23257 (char *) "self",(char *) "other", NULL
23260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
23261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23263 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23264 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23266 if (arg2
== NULL
) {
23267 PyErr_SetString(PyExc_TypeError
,"null reference");
23271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23273 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
23274 result
= (wxDateSpan
*) &_result_ref
;
23277 wxPyEndAllowThreads(__tstate
);
23278 if (PyErr_Occurred()) SWIG_fail
;
23280 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23287 static PyObject
*_wrap_DateSpan_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23288 PyObject
*resultobj
;
23289 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23290 wxDateSpan
*arg2
= 0 ;
23291 wxDateSpan
*result
;
23292 PyObject
* obj0
= 0 ;
23293 PyObject
* obj1
= 0 ;
23294 char *kwnames
[] = {
23295 (char *) "self",(char *) "other", NULL
23298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
23299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23301 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23302 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23304 if (arg2
== NULL
) {
23305 PyErr_SetString(PyExc_TypeError
,"null reference");
23309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23311 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
23312 result
= (wxDateSpan
*) &_result_ref
;
23315 wxPyEndAllowThreads(__tstate
);
23316 if (PyErr_Occurred()) SWIG_fail
;
23318 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23325 static PyObject
*_wrap_DateSpan_Neg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23326 PyObject
*resultobj
;
23327 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23328 wxDateSpan
*result
;
23329 PyObject
* obj0
= 0 ;
23330 char *kwnames
[] = {
23331 (char *) "self", NULL
23334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Neg",kwnames
,&obj0
)) goto fail
;
23335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23340 wxDateSpan
&_result_ref
= (arg1
)->Neg();
23341 result
= (wxDateSpan
*) &_result_ref
;
23344 wxPyEndAllowThreads(__tstate
);
23345 if (PyErr_Occurred()) SWIG_fail
;
23347 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23354 static PyObject
*_wrap_DateSpan_Multiply(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23355 PyObject
*resultobj
;
23356 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23358 wxDateSpan
*result
;
23359 PyObject
* obj0
= 0 ;
23360 PyObject
* obj1
= 0 ;
23361 char *kwnames
[] = {
23362 (char *) "self",(char *) "factor", NULL
23365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
23366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23368 arg2
= (int) SWIG_AsInt(obj1
);
23369 if (PyErr_Occurred()) SWIG_fail
;
23371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23373 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
23374 result
= (wxDateSpan
*) &_result_ref
;
23377 wxPyEndAllowThreads(__tstate
);
23378 if (PyErr_Occurred()) SWIG_fail
;
23380 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23387 static PyObject
*_wrap_DateSpan___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23388 PyObject
*resultobj
;
23389 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23390 wxDateSpan
*arg2
= 0 ;
23391 wxDateSpan
*result
;
23392 PyObject
* obj0
= 0 ;
23393 PyObject
* obj1
= 0 ;
23394 char *kwnames
[] = {
23395 (char *) "self",(char *) "other", NULL
23398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
23399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23401 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23402 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23404 if (arg2
== NULL
) {
23405 PyErr_SetString(PyExc_TypeError
,"null reference");
23409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23411 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
23412 result
= (wxDateSpan
*) &_result_ref
;
23415 wxPyEndAllowThreads(__tstate
);
23416 if (PyErr_Occurred()) SWIG_fail
;
23418 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23425 static PyObject
*_wrap_DateSpan___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23426 PyObject
*resultobj
;
23427 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23428 wxDateSpan
*arg2
= 0 ;
23429 wxDateSpan
*result
;
23430 PyObject
* obj0
= 0 ;
23431 PyObject
* obj1
= 0 ;
23432 char *kwnames
[] = {
23433 (char *) "self",(char *) "other", NULL
23436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
23437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23439 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23440 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23442 if (arg2
== NULL
) {
23443 PyErr_SetString(PyExc_TypeError
,"null reference");
23447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23449 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
23450 result
= (wxDateSpan
*) &_result_ref
;
23453 wxPyEndAllowThreads(__tstate
);
23454 if (PyErr_Occurred()) SWIG_fail
;
23456 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23463 static PyObject
*_wrap_DateSpan___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23464 PyObject
*resultobj
;
23465 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23466 wxDateSpan
*result
;
23467 PyObject
* obj0
= 0 ;
23468 char *kwnames
[] = {
23469 (char *) "self", NULL
23472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan___neg__",kwnames
,&obj0
)) goto fail
;
23473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23478 wxDateSpan
&_result_ref
= (arg1
)->operator -();
23479 result
= (wxDateSpan
*) &_result_ref
;
23482 wxPyEndAllowThreads(__tstate
);
23483 if (PyErr_Occurred()) SWIG_fail
;
23485 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23492 static PyObject
*_wrap_DateSpan___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23493 PyObject
*resultobj
;
23494 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23496 wxDateSpan
*result
;
23497 PyObject
* obj0
= 0 ;
23498 PyObject
* obj1
= 0 ;
23499 char *kwnames
[] = {
23500 (char *) "self",(char *) "factor", NULL
23503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23506 arg2
= (int) SWIG_AsInt(obj1
);
23507 if (PyErr_Occurred()) SWIG_fail
;
23509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23511 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
23512 result
= (wxDateSpan
*) &_result_ref
;
23515 wxPyEndAllowThreads(__tstate
);
23516 if (PyErr_Occurred()) SWIG_fail
;
23518 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23525 static PyObject
*_wrap_DateSpan___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23526 PyObject
*resultobj
;
23527 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23528 wxDateSpan
*arg2
= 0 ;
23530 PyObject
* obj0
= 0 ;
23531 PyObject
* obj1
= 0 ;
23532 char *kwnames
[] = {
23533 (char *) "self",(char *) "other", NULL
23536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
23537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23539 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23540 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23542 if (arg2
== NULL
) {
23543 PyErr_SetString(PyExc_TypeError
,"null reference");
23547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23548 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
23550 wxPyEndAllowThreads(__tstate
);
23551 if (PyErr_Occurred()) SWIG_fail
;
23554 wxDateSpan
* resultptr
;
23555 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23556 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23564 static PyObject
*_wrap_DateSpan___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23565 PyObject
*resultobj
;
23566 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23567 wxDateSpan
*arg2
= 0 ;
23569 PyObject
* obj0
= 0 ;
23570 PyObject
* obj1
= 0 ;
23571 char *kwnames
[] = {
23572 (char *) "self",(char *) "other", NULL
23575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
23576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23578 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23579 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23581 if (arg2
== NULL
) {
23582 PyErr_SetString(PyExc_TypeError
,"null reference");
23586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23587 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
23589 wxPyEndAllowThreads(__tstate
);
23590 if (PyErr_Occurred()) SWIG_fail
;
23593 wxDateSpan
* resultptr
;
23594 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23595 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23603 static PyObject
*_wrap_DateSpan___mul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23604 PyObject
*resultobj
;
23605 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23608 PyObject
* obj0
= 0 ;
23609 PyObject
* obj1
= 0 ;
23610 char *kwnames
[] = {
23611 (char *) "self",(char *) "n", NULL
23614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23617 arg2
= (int) SWIG_AsInt(obj1
);
23618 if (PyErr_Occurred()) SWIG_fail
;
23620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23621 result
= wxDateSpan___mul__(arg1
,arg2
);
23623 wxPyEndAllowThreads(__tstate
);
23624 if (PyErr_Occurred()) SWIG_fail
;
23627 wxDateSpan
* resultptr
;
23628 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23629 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23637 static PyObject
*_wrap_DateSpan___rmul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23638 PyObject
*resultobj
;
23639 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23642 PyObject
* obj0
= 0 ;
23643 PyObject
* obj1
= 0 ;
23644 char *kwnames
[] = {
23645 (char *) "self",(char *) "n", NULL
23648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23651 arg2
= (int) SWIG_AsInt(obj1
);
23652 if (PyErr_Occurred()) SWIG_fail
;
23654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23655 result
= wxDateSpan___rmul__(arg1
,arg2
);
23657 wxPyEndAllowThreads(__tstate
);
23658 if (PyErr_Occurred()) SWIG_fail
;
23661 wxDateSpan
* resultptr
;
23662 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23663 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23671 static PyObject
*_wrap_DateSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23672 PyObject
*resultobj
;
23673 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23674 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
23676 PyObject
* obj0
= 0 ;
23677 PyObject
* obj1
= 0 ;
23678 char *kwnames
[] = {
23679 (char *) "self",(char *) "other", NULL
23682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
23683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23685 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23689 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const *)arg2
);
23691 wxPyEndAllowThreads(__tstate
);
23692 if (PyErr_Occurred()) SWIG_fail
;
23695 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23703 static PyObject
*_wrap_DateSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23704 PyObject
*resultobj
;
23705 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23706 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
23708 PyObject
* obj0
= 0 ;
23709 PyObject
* obj1
= 0 ;
23710 char *kwnames
[] = {
23711 (char *) "self",(char *) "other", NULL
23714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
23715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23717 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23721 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const *)arg2
);
23723 wxPyEndAllowThreads(__tstate
);
23724 if (PyErr_Occurred()) SWIG_fail
;
23727 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23735 static PyObject
* DateSpan_swigregister(PyObject
*self
, PyObject
*args
) {
23737 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23738 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan
, obj
);
23740 return Py_BuildValue((char *)"");
23742 static PyObject
*_wrap_GetLocalTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23743 PyObject
*resultobj
;
23745 char *kwnames
[] = {
23749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTime",kwnames
)) goto fail
;
23751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23752 result
= (long)wxGetLocalTime();
23754 wxPyEndAllowThreads(__tstate
);
23755 if (PyErr_Occurred()) SWIG_fail
;
23757 resultobj
= SWIG_FromLong((long)result
);
23764 static PyObject
*_wrap_GetUTCTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23765 PyObject
*resultobj
;
23767 char *kwnames
[] = {
23771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUTCTime",kwnames
)) goto fail
;
23773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23774 result
= (long)wxGetUTCTime();
23776 wxPyEndAllowThreads(__tstate
);
23777 if (PyErr_Occurred()) SWIG_fail
;
23779 resultobj
= SWIG_FromLong((long)result
);
23786 static PyObject
*_wrap_GetCurrentTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23787 PyObject
*resultobj
;
23789 char *kwnames
[] = {
23793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentTime",kwnames
)) goto fail
;
23795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23796 result
= (long)wxGetCurrentTime();
23798 wxPyEndAllowThreads(__tstate
);
23799 if (PyErr_Occurred()) SWIG_fail
;
23801 resultobj
= SWIG_FromLong((long)result
);
23808 static PyObject
*_wrap_GetLocalTimeMillis(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23809 PyObject
*resultobj
;
23811 char *kwnames
[] = {
23815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTimeMillis",kwnames
)) goto fail
;
23817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23818 result
= wxGetLocalTimeMillis();
23820 wxPyEndAllowThreads(__tstate
);
23821 if (PyErr_Occurred()) SWIG_fail
;
23824 PyObject
*hi
, *lo
, *shifter
, *shifted
;
23825 hi
= PyLong_FromLong( (&result
)->GetHi() );
23826 lo
= PyLong_FromLong( (&result
)->GetLo() );
23827 shifter
= PyLong_FromLong(32);
23828 shifted
= PyNumber_Lshift(hi
, shifter
);
23829 resultobj
= PyNumber_Or(shifted
, lo
);
23832 Py_DECREF(shifter
);
23833 Py_DECREF(shifted
);
23841 static int _wrap_DefaultDateTime_set(PyObject
*_val
) {
23842 PyErr_SetString(PyExc_TypeError
,"Variable DefaultDateTime is read-only.");
23847 static PyObject
*_wrap_DefaultDateTime_get() {
23850 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultDateTime
), SWIGTYPE_p_wxDateTime
, 0);
23855 static PyObject
*_wrap_new_DataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23856 PyObject
*resultobj
;
23858 wxDataFormat
*result
;
23859 PyObject
* obj0
= 0 ;
23860 char *kwnames
[] = {
23861 (char *) "type", NULL
23864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) goto fail
;
23865 arg1
= (wxDataFormatId
) SWIG_AsInt(obj0
);
23866 if (PyErr_Occurred()) SWIG_fail
;
23868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23869 result
= (wxDataFormat
*)new wxDataFormat((wxDataFormatId
)arg1
);
23871 wxPyEndAllowThreads(__tstate
);
23872 if (PyErr_Occurred()) SWIG_fail
;
23874 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
23881 static PyObject
*_wrap_new_CustomDataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23882 PyObject
*resultobj
;
23883 wxString
*arg1
= 0 ;
23884 wxDataFormat
*result
;
23885 bool temp1
= False
;
23886 PyObject
* obj0
= 0 ;
23887 char *kwnames
[] = {
23888 (char *) "format", NULL
23891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) goto fail
;
23893 arg1
= wxString_in_helper(obj0
);
23894 if (arg1
== NULL
) SWIG_fail
;
23898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23899 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
23901 wxPyEndAllowThreads(__tstate
);
23902 if (PyErr_Occurred()) SWIG_fail
;
23904 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
23919 static PyObject
*_wrap_delete_DataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23920 PyObject
*resultobj
;
23921 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23922 PyObject
* obj0
= 0 ;
23923 char *kwnames
[] = {
23924 (char *) "self", NULL
23927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataFormat",kwnames
,&obj0
)) goto fail
;
23928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23934 wxPyEndAllowThreads(__tstate
);
23935 if (PyErr_Occurred()) SWIG_fail
;
23937 Py_INCREF(Py_None
); resultobj
= Py_None
;
23944 static PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*self
, PyObject
*args
) {
23945 PyObject
*resultobj
;
23946 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23949 PyObject
* obj0
= 0 ;
23950 PyObject
* obj1
= 0 ;
23952 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
23953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23955 arg2
= (wxDataFormatId
) SWIG_AsInt(obj1
);
23956 if (PyErr_Occurred()) SWIG_fail
;
23958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23959 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormatId
)arg2
);
23961 wxPyEndAllowThreads(__tstate
);
23962 if (PyErr_Occurred()) SWIG_fail
;
23965 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23973 static PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*self
, PyObject
*args
) {
23974 PyObject
*resultobj
;
23975 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23978 PyObject
* obj0
= 0 ;
23979 PyObject
* obj1
= 0 ;
23981 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
23982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23984 arg2
= (wxDataFormatId
) SWIG_AsInt(obj1
);
23985 if (PyErr_Occurred()) SWIG_fail
;
23987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23988 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormatId
)arg2
);
23990 wxPyEndAllowThreads(__tstate
);
23991 if (PyErr_Occurred()) SWIG_fail
;
23994 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24002 static PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*self
, PyObject
*args
) {
24003 PyObject
*resultobj
;
24004 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24005 wxDataFormat
*arg2
= 0 ;
24007 PyObject
* obj0
= 0 ;
24008 PyObject
* obj1
= 0 ;
24010 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
24011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24013 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24014 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24016 if (arg2
== NULL
) {
24017 PyErr_SetString(PyExc_TypeError
,"null reference");
24021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24022 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
24024 wxPyEndAllowThreads(__tstate
);
24025 if (PyErr_Occurred()) SWIG_fail
;
24028 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24036 static PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
24041 argc
= PyObject_Length(args
);
24042 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
24043 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24049 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24059 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24067 return _wrap_DataFormat___eq____SWIG_1(self
,args
);
24075 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24083 _v
= SWIG_CheckInt(argv
[1]);
24085 return _wrap_DataFormat___eq____SWIG_0(self
,args
);
24090 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___eq__'");
24095 static PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*self
, PyObject
*args
) {
24096 PyObject
*resultobj
;
24097 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24098 wxDataFormat
*arg2
= 0 ;
24100 PyObject
* obj0
= 0 ;
24101 PyObject
* obj1
= 0 ;
24103 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
24104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24106 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24107 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24109 if (arg2
== NULL
) {
24110 PyErr_SetString(PyExc_TypeError
,"null reference");
24114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24115 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
24117 wxPyEndAllowThreads(__tstate
);
24118 if (PyErr_Occurred()) SWIG_fail
;
24121 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24129 static PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
24134 argc
= PyObject_Length(args
);
24135 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
24136 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24142 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24152 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24160 return _wrap_DataFormat___ne____SWIG_1(self
,args
);
24168 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24176 _v
= SWIG_CheckInt(argv
[1]);
24178 return _wrap_DataFormat___ne____SWIG_0(self
,args
);
24183 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___ne__'");
24188 static PyObject
*_wrap_DataFormat_SetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24189 PyObject
*resultobj
;
24190 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24192 PyObject
* obj0
= 0 ;
24193 PyObject
* obj1
= 0 ;
24194 char *kwnames
[] = {
24195 (char *) "self",(char *) "format", NULL
24198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
24199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24201 arg2
= (wxDataFormatId
) SWIG_AsInt(obj1
);
24202 if (PyErr_Occurred()) SWIG_fail
;
24204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24205 (arg1
)->SetType((wxDataFormatId
)arg2
);
24207 wxPyEndAllowThreads(__tstate
);
24208 if (PyErr_Occurred()) SWIG_fail
;
24210 Py_INCREF(Py_None
); resultobj
= Py_None
;
24217 static PyObject
*_wrap_DataFormat_GetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24218 PyObject
*resultobj
;
24219 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24221 PyObject
* obj0
= 0 ;
24222 char *kwnames
[] = {
24223 (char *) "self", NULL
24226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetType",kwnames
,&obj0
)) goto fail
;
24227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24231 result
= (int)((wxDataFormat
const *)arg1
)->GetType();
24233 wxPyEndAllowThreads(__tstate
);
24234 if (PyErr_Occurred()) SWIG_fail
;
24236 resultobj
= SWIG_FromInt((int)result
);
24243 static PyObject
*_wrap_DataFormat_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24244 PyObject
*resultobj
;
24245 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24247 PyObject
* obj0
= 0 ;
24248 char *kwnames
[] = {
24249 (char *) "self", NULL
24252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetId",kwnames
,&obj0
)) goto fail
;
24253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24257 result
= ((wxDataFormat
const *)arg1
)->GetId();
24259 wxPyEndAllowThreads(__tstate
);
24260 if (PyErr_Occurred()) SWIG_fail
;
24264 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24266 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24275 static PyObject
*_wrap_DataFormat_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24276 PyObject
*resultobj
;
24277 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24278 wxString
*arg2
= 0 ;
24279 bool temp2
= False
;
24280 PyObject
* obj0
= 0 ;
24281 PyObject
* obj1
= 0 ;
24282 char *kwnames
[] = {
24283 (char *) "self",(char *) "format", NULL
24286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
24287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24290 arg2
= wxString_in_helper(obj1
);
24291 if (arg2
== NULL
) SWIG_fail
;
24295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24296 (arg1
)->SetId((wxString
const &)*arg2
);
24298 wxPyEndAllowThreads(__tstate
);
24299 if (PyErr_Occurred()) SWIG_fail
;
24301 Py_INCREF(Py_None
); resultobj
= Py_None
;
24316 static PyObject
* DataFormat_swigregister(PyObject
*self
, PyObject
*args
) {
24318 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24319 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat
, obj
);
24321 return Py_BuildValue((char *)"");
24323 static int _wrap_FormatInvalid_set(PyObject
*_val
) {
24324 PyErr_SetString(PyExc_TypeError
,"Variable FormatInvalid is read-only.");
24329 static PyObject
*_wrap_FormatInvalid_get() {
24332 pyobj
= SWIG_NewPointerObj((void *)(&wxFormatInvalid
), SWIGTYPE_p_wxDataFormat
, 0);
24337 static PyObject
*_wrap_delete_DataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24338 PyObject
*resultobj
;
24339 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24340 PyObject
* obj0
= 0 ;
24341 char *kwnames
[] = {
24342 (char *) "self", NULL
24345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataObject",kwnames
,&obj0
)) goto fail
;
24346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24352 wxPyEndAllowThreads(__tstate
);
24353 if (PyErr_Occurred()) SWIG_fail
;
24355 Py_INCREF(Py_None
); resultobj
= Py_None
;
24362 static PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24363 PyObject
*resultobj
;
24364 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24365 int arg2
= (int) wxDataObject::Get
;
24366 SwigValueWrapper
< wxDataFormat
> result
;
24367 PyObject
* obj0
= 0 ;
24368 PyObject
* obj1
= 0 ;
24369 char *kwnames
[] = {
24370 (char *) "self",(char *) "dir", NULL
24373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
24374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24377 arg2
= (wxDataObject::Direction
) SWIG_AsInt(obj1
);
24378 if (PyErr_Occurred()) SWIG_fail
;
24381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24382 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat((wxDataObject::Direction
)arg2
);
24384 wxPyEndAllowThreads(__tstate
);
24385 if (PyErr_Occurred()) SWIG_fail
;
24388 wxDataFormat
* resultptr
;
24389 resultptr
= new wxDataFormat((wxDataFormat
&) result
);
24390 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDataFormat
, 1);
24398 static PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24399 PyObject
*resultobj
;
24400 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24401 int arg2
= (int) wxDataObject::Get
;
24403 PyObject
* obj0
= 0 ;
24404 PyObject
* obj1
= 0 ;
24405 char *kwnames
[] = {
24406 (char *) "self",(char *) "dir", NULL
24409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) goto fail
;
24410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24413 arg2
= (wxDataObject::Direction
) SWIG_AsInt(obj1
);
24414 if (PyErr_Occurred()) SWIG_fail
;
24417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24418 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount((wxDataObject::Direction
)arg2
);
24420 wxPyEndAllowThreads(__tstate
);
24421 if (PyErr_Occurred()) SWIG_fail
;
24423 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24430 static PyObject
*_wrap_DataObject_IsSupported(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24431 PyObject
*resultobj
;
24432 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24433 wxDataFormat
*arg2
= 0 ;
24434 int arg3
= (int) wxDataObject::Get
;
24436 PyObject
* obj0
= 0 ;
24437 PyObject
* obj1
= 0 ;
24438 PyObject
* obj2
= 0 ;
24439 char *kwnames
[] = {
24440 (char *) "self",(char *) "format",(char *) "dir", NULL
24443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24446 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24447 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24449 if (arg2
== NULL
) {
24450 PyErr_SetString(PyExc_TypeError
,"null reference");
24454 arg3
= (wxDataObject::Direction
) SWIG_AsInt(obj2
);
24455 if (PyErr_Occurred()) SWIG_fail
;
24458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24459 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,(wxDataObject::Direction
)arg3
);
24461 wxPyEndAllowThreads(__tstate
);
24462 if (PyErr_Occurred()) SWIG_fail
;
24465 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24473 static PyObject
*_wrap_DataObject_GetDataSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24474 PyObject
*resultobj
;
24475 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24476 wxDataFormat
*arg2
= 0 ;
24478 PyObject
* obj0
= 0 ;
24479 PyObject
* obj1
= 0 ;
24480 char *kwnames
[] = {
24481 (char *) "self",(char *) "format", NULL
24484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24496 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
24498 wxPyEndAllowThreads(__tstate
);
24499 if (PyErr_Occurred()) SWIG_fail
;
24501 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24508 static PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24509 PyObject
*resultobj
;
24510 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24511 int arg2
= (int) wxDataObject::Get
;
24513 PyObject
* obj0
= 0 ;
24514 PyObject
* obj1
= 0 ;
24515 char *kwnames
[] = {
24516 (char *) "self",(char *) "dir", NULL
24519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
)) goto fail
;
24520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24523 arg2
= (wxDataObject::Direction
) SWIG_AsInt(obj1
);
24524 if (PyErr_Occurred()) SWIG_fail
;
24527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24528 result
= (PyObject
*)wxDataObject_GetAllFormats(arg1
,(wxDataObject::Direction
)arg2
);
24530 wxPyEndAllowThreads(__tstate
);
24531 if (PyErr_Occurred()) SWIG_fail
;
24533 resultobj
= result
;
24540 static PyObject
*_wrap_DataObject_GetDataHere(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24541 PyObject
*resultobj
;
24542 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24543 wxDataFormat
*arg2
= 0 ;
24545 PyObject
* obj0
= 0 ;
24546 PyObject
* obj1
= 0 ;
24547 char *kwnames
[] = {
24548 (char *) "self",(char *) "format", NULL
24551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
)) goto fail
;
24552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24554 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24555 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24557 if (arg2
== NULL
) {
24558 PyErr_SetString(PyExc_TypeError
,"null reference");
24562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24563 result
= (PyObject
*)wxDataObject_GetDataHere(arg1
,(wxDataFormat
const &)*arg2
);
24565 wxPyEndAllowThreads(__tstate
);
24566 if (PyErr_Occurred()) SWIG_fail
;
24568 resultobj
= result
;
24575 static PyObject
*_wrap_DataObject_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24576 PyObject
*resultobj
;
24577 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24578 wxDataFormat
*arg2
= 0 ;
24579 PyObject
*arg3
= (PyObject
*) 0 ;
24581 PyObject
* obj0
= 0 ;
24582 PyObject
* obj1
= 0 ;
24583 PyObject
* obj2
= 0 ;
24584 char *kwnames
[] = {
24585 (char *) "self",(char *) "format",(char *) "data", NULL
24588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24591 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24592 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24594 if (arg2
== NULL
) {
24595 PyErr_SetString(PyExc_TypeError
,"null reference");
24600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24601 result
= (bool)wxDataObject_SetData(arg1
,(wxDataFormat
const &)*arg2
,arg3
);
24603 wxPyEndAllowThreads(__tstate
);
24604 if (PyErr_Occurred()) SWIG_fail
;
24607 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24615 static PyObject
* DataObject_swigregister(PyObject
*self
, PyObject
*args
) {
24617 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24618 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject
, obj
);
24620 return Py_BuildValue((char *)"");
24622 static PyObject
*_wrap_new_DataObjectSimple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24623 PyObject
*resultobj
;
24624 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
24625 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
24626 wxDataObjectSimple
*result
;
24627 PyObject
* obj0
= 0 ;
24628 char *kwnames
[] = {
24629 (char *) "format", NULL
24632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) goto fail
;
24634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24635 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24637 if (arg1
== NULL
) {
24638 PyErr_SetString(PyExc_TypeError
,"null reference");
24643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24644 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
24646 wxPyEndAllowThreads(__tstate
);
24647 if (PyErr_Occurred()) SWIG_fail
;
24649 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectSimple
, 1);
24656 static PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24657 PyObject
*resultobj
;
24658 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24659 wxDataFormat
*result
;
24660 PyObject
* obj0
= 0 ;
24661 char *kwnames
[] = {
24662 (char *) "self", NULL
24665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetFormat",kwnames
,&obj0
)) goto fail
;
24666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24671 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
24672 result
= (wxDataFormat
*) &_result_ref
;
24675 wxPyEndAllowThreads(__tstate
);
24676 if (PyErr_Occurred()) SWIG_fail
;
24678 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 0);
24685 static PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24686 PyObject
*resultobj
;
24687 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24688 wxDataFormat
*arg2
= 0 ;
24689 PyObject
* obj0
= 0 ;
24690 PyObject
* obj1
= 0 ;
24691 char *kwnames
[] = {
24692 (char *) "self",(char *) "format", NULL
24695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
24696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24698 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24699 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24701 if (arg2
== NULL
) {
24702 PyErr_SetString(PyExc_TypeError
,"null reference");
24706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24707 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
24709 wxPyEndAllowThreads(__tstate
);
24710 if (PyErr_Occurred()) SWIG_fail
;
24712 Py_INCREF(Py_None
); resultobj
= Py_None
;
24719 static PyObject
*_wrap_DataObjectSimple_GetDataSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24720 PyObject
*resultobj
;
24721 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24723 PyObject
* obj0
= 0 ;
24724 char *kwnames
[] = {
24725 (char *) "self", NULL
24728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataSize",kwnames
,&obj0
)) goto fail
;
24729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24733 result
= (size_t)((wxDataObjectSimple
const *)arg1
)->GetDataSize();
24735 wxPyEndAllowThreads(__tstate
);
24736 if (PyErr_Occurred()) SWIG_fail
;
24738 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24745 static PyObject
*_wrap_DataObjectSimple_GetDataHere(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24746 PyObject
*resultobj
;
24747 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24749 PyObject
* obj0
= 0 ;
24750 char *kwnames
[] = {
24751 (char *) "self", NULL
24754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataHere",kwnames
,&obj0
)) goto fail
;
24755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24759 result
= (PyObject
*)wxDataObjectSimple_GetDataHere(arg1
);
24761 wxPyEndAllowThreads(__tstate
);
24762 if (PyErr_Occurred()) SWIG_fail
;
24764 resultobj
= result
;
24771 static PyObject
*_wrap_DataObjectSimple_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24772 PyObject
*resultobj
;
24773 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24774 PyObject
*arg2
= (PyObject
*) 0 ;
24776 PyObject
* obj0
= 0 ;
24777 PyObject
* obj1
= 0 ;
24778 char *kwnames
[] = {
24779 (char *) "self",(char *) "data", NULL
24782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
24783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24788 result
= (bool)wxDataObjectSimple_SetData(arg1
,arg2
);
24790 wxPyEndAllowThreads(__tstate
);
24791 if (PyErr_Occurred()) SWIG_fail
;
24794 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24802 static PyObject
* DataObjectSimple_swigregister(PyObject
*self
, PyObject
*args
) {
24804 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24805 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple
, obj
);
24807 return Py_BuildValue((char *)"");
24809 static PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24810 PyObject
*resultobj
;
24811 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
24812 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
24813 wxPyDataObjectSimple
*result
;
24814 PyObject
* obj0
= 0 ;
24815 char *kwnames
[] = {
24816 (char *) "format", NULL
24819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) goto fail
;
24821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24822 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24824 if (arg1
== NULL
) {
24825 PyErr_SetString(PyExc_TypeError
,"null reference");
24830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24831 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
24833 wxPyEndAllowThreads(__tstate
);
24834 if (PyErr_Occurred()) SWIG_fail
;
24836 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDataObjectSimple
, 1);
24843 static PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24844 PyObject
*resultobj
;
24845 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
24846 PyObject
*arg2
= (PyObject
*) 0 ;
24847 PyObject
*arg3
= (PyObject
*) 0 ;
24848 PyObject
* obj0
= 0 ;
24849 PyObject
* obj1
= 0 ;
24850 PyObject
* obj2
= 0 ;
24851 char *kwnames
[] = {
24852 (char *) "self",(char *) "self",(char *) "_class", NULL
24855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDataObjectSimple
,
24857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24862 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24864 wxPyEndAllowThreads(__tstate
);
24865 if (PyErr_Occurred()) SWIG_fail
;
24867 Py_INCREF(Py_None
); resultobj
= Py_None
;
24874 static PyObject
* PyDataObjectSimple_swigregister(PyObject
*self
, PyObject
*args
) {
24876 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24877 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple
, obj
);
24879 return Py_BuildValue((char *)"");
24881 static PyObject
*_wrap_new_DataObjectComposite(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24882 PyObject
*resultobj
;
24883 wxDataObjectComposite
*result
;
24884 char *kwnames
[] = {
24888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DataObjectComposite",kwnames
)) goto fail
;
24890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24891 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
24893 wxPyEndAllowThreads(__tstate
);
24894 if (PyErr_Occurred()) SWIG_fail
;
24896 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectComposite
, 1);
24903 static PyObject
*_wrap_DataObjectComposite_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24904 PyObject
*resultobj
;
24905 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
24906 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
24907 bool arg3
= (bool) False
;
24908 PyObject
* obj0
= 0 ;
24909 PyObject
* obj1
= 0 ;
24910 PyObject
* obj2
= 0 ;
24911 char *kwnames
[] = {
24912 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
24915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectComposite
,
24917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24918 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObjectSimple
,
24919 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24921 arg3
= (bool) SWIG_AsBool(obj2
);
24922 if (PyErr_Occurred()) SWIG_fail
;
24925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24926 (arg1
)->Add(arg2
,arg3
);
24928 wxPyEndAllowThreads(__tstate
);
24929 if (PyErr_Occurred()) SWIG_fail
;
24931 Py_INCREF(Py_None
); resultobj
= Py_None
;
24938 static PyObject
* DataObjectComposite_swigregister(PyObject
*self
, PyObject
*args
) {
24940 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24941 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite
, obj
);
24943 return Py_BuildValue((char *)"");
24945 static PyObject
*_wrap_new_TextDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24946 PyObject
*resultobj
;
24947 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24948 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24949 wxTextDataObject
*result
;
24950 bool temp1
= False
;
24951 PyObject
* obj0
= 0 ;
24952 char *kwnames
[] = {
24953 (char *) "text", NULL
24956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) goto fail
;
24959 arg1
= wxString_in_helper(obj0
);
24960 if (arg1
== NULL
) SWIG_fail
;
24965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24966 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
24968 wxPyEndAllowThreads(__tstate
);
24969 if (PyErr_Occurred()) SWIG_fail
;
24971 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextDataObject
, 1);
24986 static PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24987 PyObject
*resultobj
;
24988 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
24990 PyObject
* obj0
= 0 ;
24991 char *kwnames
[] = {
24992 (char *) "self", NULL
24995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetTextLength",kwnames
,&obj0
)) goto fail
;
24996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
24997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25000 result
= (size_t)(arg1
)->GetTextLength();
25002 wxPyEndAllowThreads(__tstate
);
25003 if (PyErr_Occurred()) SWIG_fail
;
25005 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
25012 static PyObject
*_wrap_TextDataObject_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25013 PyObject
*resultobj
;
25014 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
25016 PyObject
* obj0
= 0 ;
25017 char *kwnames
[] = {
25018 (char *) "self", NULL
25021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetText",kwnames
,&obj0
)) goto fail
;
25022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
25023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25026 result
= (arg1
)->GetText();
25028 wxPyEndAllowThreads(__tstate
);
25029 if (PyErr_Occurred()) SWIG_fail
;
25033 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25035 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25044 static PyObject
*_wrap_TextDataObject_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25045 PyObject
*resultobj
;
25046 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
25047 wxString
*arg2
= 0 ;
25048 bool temp2
= False
;
25049 PyObject
* obj0
= 0 ;
25050 PyObject
* obj1
= 0 ;
25051 char *kwnames
[] = {
25052 (char *) "self",(char *) "text", NULL
25055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
25056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
25057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25059 arg2
= wxString_in_helper(obj1
);
25060 if (arg2
== NULL
) SWIG_fail
;
25064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25065 (arg1
)->SetText((wxString
const &)*arg2
);
25067 wxPyEndAllowThreads(__tstate
);
25068 if (PyErr_Occurred()) SWIG_fail
;
25070 Py_INCREF(Py_None
); resultobj
= Py_None
;
25085 static PyObject
* TextDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25087 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25088 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject
, obj
);
25090 return Py_BuildValue((char *)"");
25092 static PyObject
*_wrap_new_PyTextDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25093 PyObject
*resultobj
;
25094 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25095 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25096 wxPyTextDataObject
*result
;
25097 bool temp1
= False
;
25098 PyObject
* obj0
= 0 ;
25099 char *kwnames
[] = {
25100 (char *) "text", NULL
25103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) goto fail
;
25106 arg1
= wxString_in_helper(obj0
);
25107 if (arg1
== NULL
) SWIG_fail
;
25112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25113 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
25115 wxPyEndAllowThreads(__tstate
);
25116 if (PyErr_Occurred()) SWIG_fail
;
25118 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDataObject
, 1);
25133 static PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25134 PyObject
*resultobj
;
25135 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
25136 PyObject
*arg2
= (PyObject
*) 0 ;
25137 PyObject
*arg3
= (PyObject
*) 0 ;
25138 PyObject
* obj0
= 0 ;
25139 PyObject
* obj1
= 0 ;
25140 PyObject
* obj2
= 0 ;
25141 char *kwnames
[] = {
25142 (char *) "self",(char *) "self",(char *) "_class", NULL
25145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDataObject
,
25147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25152 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25154 wxPyEndAllowThreads(__tstate
);
25155 if (PyErr_Occurred()) SWIG_fail
;
25157 Py_INCREF(Py_None
); resultobj
= Py_None
;
25164 static PyObject
* PyTextDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25166 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25167 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject
, obj
);
25169 return Py_BuildValue((char *)"");
25171 static PyObject
*_wrap_new_BitmapDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25172 PyObject
*resultobj
;
25173 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
25174 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
25175 wxBitmapDataObject
*result
;
25176 PyObject
* obj0
= 0 ;
25177 char *kwnames
[] = {
25178 (char *) "bitmap", NULL
25181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) goto fail
;
25183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
25184 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25186 if (arg1
== NULL
) {
25187 PyErr_SetString(PyExc_TypeError
,"null reference");
25192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25193 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
25195 wxPyEndAllowThreads(__tstate
);
25196 if (PyErr_Occurred()) SWIG_fail
;
25198 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapDataObject
, 1);
25205 static PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25206 PyObject
*resultobj
;
25207 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
25209 PyObject
* obj0
= 0 ;
25210 char *kwnames
[] = {
25211 (char *) "self", NULL
25214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapDataObject_GetBitmap",kwnames
,&obj0
)) goto fail
;
25215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapDataObject
,
25216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25219 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
25221 wxPyEndAllowThreads(__tstate
);
25222 if (PyErr_Occurred()) SWIG_fail
;
25225 wxBitmap
* resultptr
;
25226 resultptr
= new wxBitmap((wxBitmap
&) result
);
25227 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
25235 static PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25236 PyObject
*resultobj
;
25237 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
25238 wxBitmap
*arg2
= 0 ;
25239 PyObject
* obj0
= 0 ;
25240 PyObject
* obj1
= 0 ;
25241 char *kwnames
[] = {
25242 (char *) "self",(char *) "bitmap", NULL
25245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
25246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapDataObject
,
25247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25248 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
25249 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25251 if (arg2
== NULL
) {
25252 PyErr_SetString(PyExc_TypeError
,"null reference");
25256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25257 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
25259 wxPyEndAllowThreads(__tstate
);
25260 if (PyErr_Occurred()) SWIG_fail
;
25262 Py_INCREF(Py_None
); resultobj
= Py_None
;
25269 static PyObject
* BitmapDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25271 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25272 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject
, obj
);
25274 return Py_BuildValue((char *)"");
25276 static PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25277 PyObject
*resultobj
;
25278 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
25279 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
25280 wxPyBitmapDataObject
*result
;
25281 PyObject
* obj0
= 0 ;
25282 char *kwnames
[] = {
25283 (char *) "bitmap", NULL
25286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) goto fail
;
25288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
25289 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25291 if (arg1
== NULL
) {
25292 PyErr_SetString(PyExc_TypeError
,"null reference");
25297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25298 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
25300 wxPyEndAllowThreads(__tstate
);
25301 if (PyErr_Occurred()) SWIG_fail
;
25303 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyBitmapDataObject
, 1);
25310 static PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25311 PyObject
*resultobj
;
25312 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
25313 PyObject
*arg2
= (PyObject
*) 0 ;
25314 PyObject
*arg3
= (PyObject
*) 0 ;
25315 PyObject
* obj0
= 0 ;
25316 PyObject
* obj1
= 0 ;
25317 PyObject
* obj2
= 0 ;
25318 char *kwnames
[] = {
25319 (char *) "self",(char *) "self",(char *) "_class", NULL
25322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapDataObject
,
25324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25329 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25331 wxPyEndAllowThreads(__tstate
);
25332 if (PyErr_Occurred()) SWIG_fail
;
25334 Py_INCREF(Py_None
); resultobj
= Py_None
;
25341 static PyObject
* PyBitmapDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25343 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25344 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject
, obj
);
25346 return Py_BuildValue((char *)"");
25348 static PyObject
*_wrap_new_FileDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25349 PyObject
*resultobj
;
25350 wxFileDataObject
*result
;
25351 char *kwnames
[] = {
25355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDataObject",kwnames
)) goto fail
;
25357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25358 result
= (wxFileDataObject
*)new wxFileDataObject();
25360 wxPyEndAllowThreads(__tstate
);
25361 if (PyErr_Occurred()) SWIG_fail
;
25363 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDataObject
, 1);
25370 static PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25371 PyObject
*resultobj
;
25372 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
25373 wxArrayString
*result
;
25374 PyObject
* obj0
= 0 ;
25375 char *kwnames
[] = {
25376 (char *) "self", NULL
25379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDataObject_GetFilenames",kwnames
,&obj0
)) goto fail
;
25380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDataObject
,
25381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25385 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
25386 result
= (wxArrayString
*) &_result_ref
;
25389 wxPyEndAllowThreads(__tstate
);
25390 if (PyErr_Occurred()) SWIG_fail
;
25393 resultobj
= wxArrayString2PyList_helper(*result
);
25401 static PyObject
*_wrap_FileDataObject_AddFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25402 PyObject
*resultobj
;
25403 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
25404 wxString
*arg2
= 0 ;
25405 bool temp2
= False
;
25406 PyObject
* obj0
= 0 ;
25407 PyObject
* obj1
= 0 ;
25408 char *kwnames
[] = {
25409 (char *) "self",(char *) "filename", NULL
25412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDataObject_AddFile",kwnames
,&obj0
,&obj1
)) goto fail
;
25413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDataObject
,
25414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25416 arg2
= wxString_in_helper(obj1
);
25417 if (arg2
== NULL
) SWIG_fail
;
25421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25422 (arg1
)->AddFile((wxString
const &)*arg2
);
25424 wxPyEndAllowThreads(__tstate
);
25425 if (PyErr_Occurred()) SWIG_fail
;
25427 Py_INCREF(Py_None
); resultobj
= Py_None
;
25442 static PyObject
* FileDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25444 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25445 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject
, obj
);
25447 return Py_BuildValue((char *)"");
25449 static PyObject
*_wrap_new_CustomDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25450 PyObject
*resultobj
;
25451 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
25452 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
25453 wxCustomDataObject
*result
;
25454 PyObject
* obj0
= 0 ;
25455 char *kwnames
[] = {
25456 (char *) "format", NULL
25459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CustomDataObject",kwnames
,&obj0
)) goto fail
;
25461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
25462 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25464 if (arg1
== NULL
) {
25465 PyErr_SetString(PyExc_TypeError
,"null reference");
25470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25471 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
25473 wxPyEndAllowThreads(__tstate
);
25474 if (PyErr_Occurred()) SWIG_fail
;
25476 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
25483 static PyObject
*_wrap_CustomDataObject_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25484 PyObject
*resultobj
;
25485 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25486 PyObject
*arg2
= (PyObject
*) 0 ;
25488 PyObject
* obj0
= 0 ;
25489 PyObject
* obj1
= 0 ;
25490 char *kwnames
[] = {
25491 (char *) "self",(char *) "data", NULL
25494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
25495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25500 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
25502 wxPyEndAllowThreads(__tstate
);
25503 if (PyErr_Occurred()) SWIG_fail
;
25506 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25514 static PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25515 PyObject
*resultobj
;
25516 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25518 PyObject
* obj0
= 0 ;
25519 char *kwnames
[] = {
25520 (char *) "self", NULL
25523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetSize",kwnames
,&obj0
)) goto fail
;
25524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25528 result
= (size_t)(arg1
)->GetSize();
25530 wxPyEndAllowThreads(__tstate
);
25531 if (PyErr_Occurred()) SWIG_fail
;
25533 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
25540 static PyObject
*_wrap_CustomDataObject_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25541 PyObject
*resultobj
;
25542 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25544 PyObject
* obj0
= 0 ;
25545 char *kwnames
[] = {
25546 (char *) "self", NULL
25549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetData",kwnames
,&obj0
)) goto fail
;
25550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25554 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
25556 wxPyEndAllowThreads(__tstate
);
25557 if (PyErr_Occurred()) SWIG_fail
;
25559 resultobj
= result
;
25566 static PyObject
* CustomDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25568 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25569 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject
, obj
);
25571 return Py_BuildValue((char *)"");
25573 static PyObject
*_wrap_new_URLDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25574 PyObject
*resultobj
;
25575 wxURLDataObject
*result
;
25576 char *kwnames
[] = {
25580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_URLDataObject",kwnames
)) goto fail
;
25582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25583 result
= (wxURLDataObject
*)new wxURLDataObject();
25585 wxPyEndAllowThreads(__tstate
);
25586 if (PyErr_Occurred()) SWIG_fail
;
25588 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxURLDataObject
, 1);
25595 static PyObject
*_wrap_URLDataObject_GetURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25596 PyObject
*resultobj
;
25597 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
25599 PyObject
* obj0
= 0 ;
25600 char *kwnames
[] = {
25601 (char *) "self", NULL
25604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:URLDataObject_GetURL",kwnames
,&obj0
)) goto fail
;
25605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxURLDataObject
,
25606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25609 result
= (arg1
)->GetURL();
25611 wxPyEndAllowThreads(__tstate
);
25612 if (PyErr_Occurred()) SWIG_fail
;
25616 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25618 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25627 static PyObject
*_wrap_URLDataObject_SetURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25628 PyObject
*resultobj
;
25629 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
25630 wxString
*arg2
= 0 ;
25631 bool temp2
= False
;
25632 PyObject
* obj0
= 0 ;
25633 PyObject
* obj1
= 0 ;
25634 char *kwnames
[] = {
25635 (char *) "self",(char *) "url", NULL
25638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) goto fail
;
25639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxURLDataObject
,
25640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25642 arg2
= wxString_in_helper(obj1
);
25643 if (arg2
== NULL
) SWIG_fail
;
25647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25648 (arg1
)->SetURL((wxString
const &)*arg2
);
25650 wxPyEndAllowThreads(__tstate
);
25651 if (PyErr_Occurred()) SWIG_fail
;
25653 Py_INCREF(Py_None
); resultobj
= Py_None
;
25668 static PyObject
* URLDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25670 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25671 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject
, obj
);
25673 return Py_BuildValue((char *)"");
25675 static PyObject
*_wrap_new_MetafileDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25676 PyObject
*resultobj
;
25677 wxMetafileDataObject
*result
;
25678 char *kwnames
[] = {
25682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MetafileDataObject",kwnames
)) goto fail
;
25684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25685 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
25687 wxPyEndAllowThreads(__tstate
);
25688 if (PyErr_Occurred()) SWIG_fail
;
25690 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetafileDataObject
, 1);
25697 static PyObject
*_wrap_MetafileDataObject_SetMetafile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25698 PyObject
*resultobj
;
25699 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
25700 wxMetafile
*arg2
= 0 ;
25701 PyObject
* obj0
= 0 ;
25702 PyObject
* obj1
= 0 ;
25703 char *kwnames
[] = {
25704 (char *) "self",(char *) "metafile", NULL
25707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MetafileDataObject_SetMetafile",kwnames
,&obj0
,&obj1
)) goto fail
;
25708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetafileDataObject
,
25709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25710 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMetafile
,
25711 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25713 if (arg2
== NULL
) {
25714 PyErr_SetString(PyExc_TypeError
,"null reference");
25718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25719 (arg1
)->SetMetafile((wxMetafile
const &)*arg2
);
25721 wxPyEndAllowThreads(__tstate
);
25722 if (PyErr_Occurred()) SWIG_fail
;
25724 Py_INCREF(Py_None
); resultobj
= Py_None
;
25731 static PyObject
*_wrap_MetafileDataObject_GetMetafile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25732 PyObject
*resultobj
;
25733 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
25735 PyObject
* obj0
= 0 ;
25736 char *kwnames
[] = {
25737 (char *) "self", NULL
25740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetafileDataObject_GetMetafile",kwnames
,&obj0
)) goto fail
;
25741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetafileDataObject
,
25742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25745 result
= ((wxMetafileDataObject
const *)arg1
)->GetMetafile();
25747 wxPyEndAllowThreads(__tstate
);
25748 if (PyErr_Occurred()) SWIG_fail
;
25751 wxMetafile
* resultptr
;
25752 resultptr
= new wxMetafile((wxMetafile
&) result
);
25753 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxMetafile
, 1);
25761 static PyObject
* MetafileDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25763 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25764 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject
, obj
);
25766 return Py_BuildValue((char *)"");
25768 static PyObject
*_wrap_IsDragResultOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25769 PyObject
*resultobj
;
25772 PyObject
* obj0
= 0 ;
25773 char *kwnames
[] = {
25774 (char *) "res", NULL
25777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) goto fail
;
25778 arg1
= (wxDragResult
) SWIG_AsInt(obj0
);
25779 if (PyErr_Occurred()) SWIG_fail
;
25781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25782 result
= (bool)wxIsDragResultOk((wxDragResult
)arg1
);
25784 wxPyEndAllowThreads(__tstate
);
25785 if (PyErr_Occurred()) SWIG_fail
;
25788 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25796 static PyObject
*_wrap_new_DropSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25797 PyObject
*resultobj
;
25798 wxWindow
*arg1
= (wxWindow
*) 0 ;
25799 wxCursor
const &arg2_defvalue
= wxNullCursor
;
25800 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
25801 wxCursor
const &arg3_defvalue
= wxNullCursor
;
25802 wxCursor
*arg3
= (wxCursor
*) &arg3_defvalue
;
25803 wxCursor
const &arg4_defvalue
= wxNullCursor
;
25804 wxCursor
*arg4
= (wxCursor
*) &arg4_defvalue
;
25805 wxPyDropSource
*result
;
25806 PyObject
* obj0
= 0 ;
25807 PyObject
* obj1
= 0 ;
25808 PyObject
* obj2
= 0 ;
25809 PyObject
* obj3
= 0 ;
25810 char *kwnames
[] = {
25811 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
25814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25818 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
25819 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25821 if (arg2
== NULL
) {
25822 PyErr_SetString(PyExc_TypeError
,"null reference");
25827 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxCursor
,
25828 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25830 if (arg3
== NULL
) {
25831 PyErr_SetString(PyExc_TypeError
,"null reference");
25836 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxCursor
,
25837 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25839 if (arg4
== NULL
) {
25840 PyErr_SetString(PyExc_TypeError
,"null reference");
25845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25846 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxCursor
const &)*arg2
,(wxCursor
const &)*arg3
,(wxCursor
const &)*arg4
);
25848 wxPyEndAllowThreads(__tstate
);
25849 if (PyErr_Occurred()) SWIG_fail
;
25851 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropSource
, 1);
25858 static PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25859 PyObject
*resultobj
;
25860 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25861 PyObject
*arg2
= (PyObject
*) 0 ;
25862 PyObject
*arg3
= (PyObject
*) 0 ;
25864 PyObject
* obj0
= 0 ;
25865 PyObject
* obj1
= 0 ;
25866 PyObject
* obj2
= 0 ;
25867 PyObject
* obj3
= 0 ;
25868 char *kwnames
[] = {
25869 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
25872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25877 arg4
= (int) SWIG_AsInt(obj3
);
25878 if (PyErr_Occurred()) SWIG_fail
;
25880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25881 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
25883 wxPyEndAllowThreads(__tstate
);
25884 if (PyErr_Occurred()) SWIG_fail
;
25886 Py_INCREF(Py_None
); resultobj
= Py_None
;
25893 static PyObject
*_wrap_delete_DropSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25894 PyObject
*resultobj
;
25895 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25896 PyObject
* obj0
= 0 ;
25897 char *kwnames
[] = {
25898 (char *) "self", NULL
25901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropSource",kwnames
,&obj0
)) goto fail
;
25902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25908 wxPyEndAllowThreads(__tstate
);
25909 if (PyErr_Occurred()) SWIG_fail
;
25911 Py_INCREF(Py_None
); resultobj
= Py_None
;
25918 static PyObject
*_wrap_DropSource_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25919 PyObject
*resultobj
;
25920 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25921 wxDataObject
*arg2
= 0 ;
25922 PyObject
* obj0
= 0 ;
25923 PyObject
* obj1
= 0 ;
25924 char *kwnames
[] = {
25925 (char *) "self",(char *) "data", NULL
25928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
25929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25931 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
25932 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25934 if (arg2
== NULL
) {
25935 PyErr_SetString(PyExc_TypeError
,"null reference");
25939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25940 (arg1
)->SetData(*arg2
);
25942 wxPyEndAllowThreads(__tstate
);
25943 if (PyErr_Occurred()) SWIG_fail
;
25945 Py_INCREF(Py_None
); resultobj
= Py_None
;
25952 static PyObject
*_wrap_DropSource_GetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25953 PyObject
*resultobj
;
25954 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25955 wxDataObject
*result
;
25956 PyObject
* obj0
= 0 ;
25957 char *kwnames
[] = {
25958 (char *) "self", NULL
25961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropSource_GetDataObject",kwnames
,&obj0
)) goto fail
;
25962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25966 result
= (wxDataObject
*)(arg1
)->GetDataObject();
25968 wxPyEndAllowThreads(__tstate
);
25969 if (PyErr_Occurred()) SWIG_fail
;
25971 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
25978 static PyObject
*_wrap_DropSource_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25979 PyObject
*resultobj
;
25980 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25982 wxCursor
*arg3
= 0 ;
25983 PyObject
* obj0
= 0 ;
25984 PyObject
* obj1
= 0 ;
25985 PyObject
* obj2
= 0 ;
25986 char *kwnames
[] = {
25987 (char *) "self",(char *) "res",(char *) "cursor", NULL
25990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25993 arg2
= (wxDragResult
) SWIG_AsInt(obj1
);
25994 if (PyErr_Occurred()) SWIG_fail
;
25995 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxCursor
,
25996 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25998 if (arg3
== NULL
) {
25999 PyErr_SetString(PyExc_TypeError
,"null reference");
26003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26004 (arg1
)->SetCursor((wxDragResult
)arg2
,(wxCursor
const &)*arg3
);
26006 wxPyEndAllowThreads(__tstate
);
26007 if (PyErr_Occurred()) SWIG_fail
;
26009 Py_INCREF(Py_None
); resultobj
= Py_None
;
26016 static PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26017 PyObject
*resultobj
;
26018 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26019 int arg2
= (int) wxDrag_CopyOnly
;
26021 PyObject
* obj0
= 0 ;
26022 PyObject
* obj1
= 0 ;
26023 char *kwnames
[] = {
26024 (char *) "self",(char *) "flags", NULL
26027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) goto fail
;
26028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26031 arg2
= (int) SWIG_AsInt(obj1
);
26032 if (PyErr_Occurred()) SWIG_fail
;
26035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26036 result
= (int)(arg1
)->DoDragDrop(arg2
);
26038 wxPyEndAllowThreads(__tstate
);
26039 if (PyErr_Occurred()) SWIG_fail
;
26041 resultobj
= SWIG_FromInt((int)result
);
26048 static PyObject
*_wrap_DropSource_base_GiveFeedback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26049 PyObject
*resultobj
;
26050 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26053 PyObject
* obj0
= 0 ;
26054 PyObject
* obj1
= 0 ;
26055 char *kwnames
[] = {
26056 (char *) "self",(char *) "effect", NULL
26059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_base_GiveFeedback",kwnames
,&obj0
,&obj1
)) goto fail
;
26060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26062 arg2
= (wxDragResult
) SWIG_AsInt(obj1
);
26063 if (PyErr_Occurred()) SWIG_fail
;
26065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26066 result
= (bool)(arg1
)->base_GiveFeedback((wxDragResult
)arg2
);
26068 wxPyEndAllowThreads(__tstate
);
26069 if (PyErr_Occurred()) SWIG_fail
;
26072 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26080 static PyObject
* DropSource_swigregister(PyObject
*self
, PyObject
*args
) {
26082 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26083 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource
, obj
);
26085 return Py_BuildValue((char *)"");
26087 static PyObject
*_wrap_new_DropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26088 PyObject
*resultobj
;
26089 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
26090 wxPyDropTarget
*result
;
26091 PyObject
* obj0
= 0 ;
26092 char *kwnames
[] = {
26093 (char *) "dataObject", NULL
26096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DropTarget",kwnames
,&obj0
)) goto fail
;
26098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
26099 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26103 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
26105 wxPyEndAllowThreads(__tstate
);
26106 if (PyErr_Occurred()) SWIG_fail
;
26108 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 1);
26115 static PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26116 PyObject
*resultobj
;
26117 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26118 PyObject
*arg2
= (PyObject
*) 0 ;
26119 PyObject
*arg3
= (PyObject
*) 0 ;
26120 PyObject
* obj0
= 0 ;
26121 PyObject
* obj1
= 0 ;
26122 PyObject
* obj2
= 0 ;
26123 char *kwnames
[] = {
26124 (char *) "self",(char *) "self",(char *) "_class", NULL
26127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26134 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26136 wxPyEndAllowThreads(__tstate
);
26137 if (PyErr_Occurred()) SWIG_fail
;
26139 Py_INCREF(Py_None
); resultobj
= Py_None
;
26146 static PyObject
*_wrap_delete_DropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26147 PyObject
*resultobj
;
26148 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26149 PyObject
* obj0
= 0 ;
26150 char *kwnames
[] = {
26151 (char *) "self", NULL
26154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropTarget",kwnames
,&obj0
)) goto fail
;
26155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26161 wxPyEndAllowThreads(__tstate
);
26162 if (PyErr_Occurred()) SWIG_fail
;
26164 Py_INCREF(Py_None
); resultobj
= Py_None
;
26171 static PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26172 PyObject
*resultobj
;
26173 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26174 wxDataObject
*result
;
26175 PyObject
* obj0
= 0 ;
26176 char *kwnames
[] = {
26177 (char *) "self", NULL
26180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDataObject",kwnames
,&obj0
)) goto fail
;
26181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26185 result
= (wxDataObject
*)(arg1
)->GetDataObject();
26187 wxPyEndAllowThreads(__tstate
);
26188 if (PyErr_Occurred()) SWIG_fail
;
26190 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
26197 static PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26198 PyObject
*resultobj
;
26199 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26200 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
26201 PyObject
* obj0
= 0 ;
26202 PyObject
* obj1
= 0 ;
26203 char *kwnames
[] = {
26204 (char *) "self",(char *) "dataObject", NULL
26207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) goto fail
;
26208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26210 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26211 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26214 (arg1
)->SetDataObject(arg2
);
26216 wxPyEndAllowThreads(__tstate
);
26217 if (PyErr_Occurred()) SWIG_fail
;
26219 Py_INCREF(Py_None
); resultobj
= Py_None
;
26226 static PyObject
*_wrap_DropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26227 PyObject
*resultobj
;
26228 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26233 PyObject
* obj0
= 0 ;
26234 PyObject
* obj1
= 0 ;
26235 PyObject
* obj2
= 0 ;
26236 PyObject
* obj3
= 0 ;
26237 char *kwnames
[] = {
26238 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26244 arg2
= (int) SWIG_AsInt(obj1
);
26245 if (PyErr_Occurred()) SWIG_fail
;
26246 arg3
= (int) SWIG_AsInt(obj2
);
26247 if (PyErr_Occurred()) SWIG_fail
;
26248 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26249 if (PyErr_Occurred()) SWIG_fail
;
26251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26252 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26254 wxPyEndAllowThreads(__tstate
);
26255 if (PyErr_Occurred()) SWIG_fail
;
26257 resultobj
= SWIG_FromInt((int)result
);
26264 static PyObject
*_wrap_DropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26265 PyObject
*resultobj
;
26266 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26271 PyObject
* obj0
= 0 ;
26272 PyObject
* obj1
= 0 ;
26273 PyObject
* obj2
= 0 ;
26274 PyObject
* obj3
= 0 ;
26275 char *kwnames
[] = {
26276 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26282 arg2
= (int) SWIG_AsInt(obj1
);
26283 if (PyErr_Occurred()) SWIG_fail
;
26284 arg3
= (int) SWIG_AsInt(obj2
);
26285 if (PyErr_Occurred()) SWIG_fail
;
26286 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26287 if (PyErr_Occurred()) SWIG_fail
;
26289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26290 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26292 wxPyEndAllowThreads(__tstate
);
26293 if (PyErr_Occurred()) SWIG_fail
;
26295 resultobj
= SWIG_FromInt((int)result
);
26302 static PyObject
*_wrap_DropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26303 PyObject
*resultobj
;
26304 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26305 PyObject
* obj0
= 0 ;
26306 char *kwnames
[] = {
26307 (char *) "self", NULL
26310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26315 (arg1
)->base_OnLeave();
26317 wxPyEndAllowThreads(__tstate
);
26318 if (PyErr_Occurred()) SWIG_fail
;
26320 Py_INCREF(Py_None
); resultobj
= Py_None
;
26327 static PyObject
*_wrap_DropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26328 PyObject
*resultobj
;
26329 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26333 PyObject
* obj0
= 0 ;
26334 PyObject
* obj1
= 0 ;
26335 PyObject
* obj2
= 0 ;
26336 char *kwnames
[] = {
26337 (char *) "self",(char *) "x",(char *) "y", NULL
26340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26343 arg2
= (int) SWIG_AsInt(obj1
);
26344 if (PyErr_Occurred()) SWIG_fail
;
26345 arg3
= (int) SWIG_AsInt(obj2
);
26346 if (PyErr_Occurred()) SWIG_fail
;
26348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26349 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26351 wxPyEndAllowThreads(__tstate
);
26352 if (PyErr_Occurred()) SWIG_fail
;
26355 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26363 static PyObject
*_wrap_DropTarget_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26364 PyObject
*resultobj
;
26365 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26367 PyObject
* obj0
= 0 ;
26368 char *kwnames
[] = {
26369 (char *) "self", NULL
26372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetData",kwnames
,&obj0
)) goto fail
;
26373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26377 result
= (bool)(arg1
)->GetData();
26379 wxPyEndAllowThreads(__tstate
);
26380 if (PyErr_Occurred()) SWIG_fail
;
26383 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26391 static PyObject
* DropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
26393 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26394 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget
, obj
);
26396 return Py_BuildValue((char *)"");
26398 static PyObject
*_wrap_new_TextDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26399 PyObject
*resultobj
;
26400 wxPyTextDropTarget
*result
;
26401 char *kwnames
[] = {
26405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TextDropTarget",kwnames
)) goto fail
;
26407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26408 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
26410 wxPyEndAllowThreads(__tstate
);
26411 if (PyErr_Occurred()) SWIG_fail
;
26413 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDropTarget
, 1);
26420 static PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26421 PyObject
*resultobj
;
26422 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26423 PyObject
*arg2
= (PyObject
*) 0 ;
26424 PyObject
*arg3
= (PyObject
*) 0 ;
26425 PyObject
* obj0
= 0 ;
26426 PyObject
* obj1
= 0 ;
26427 PyObject
* obj2
= 0 ;
26428 char *kwnames
[] = {
26429 (char *) "self",(char *) "self",(char *) "_class", NULL
26432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26439 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26441 wxPyEndAllowThreads(__tstate
);
26442 if (PyErr_Occurred()) SWIG_fail
;
26444 Py_INCREF(Py_None
); resultobj
= Py_None
;
26451 static PyObject
*_wrap_TextDropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26452 PyObject
*resultobj
;
26453 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26458 PyObject
* obj0
= 0 ;
26459 PyObject
* obj1
= 0 ;
26460 PyObject
* obj2
= 0 ;
26461 PyObject
* obj3
= 0 ;
26462 char *kwnames
[] = {
26463 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26469 arg2
= (int) SWIG_AsInt(obj1
);
26470 if (PyErr_Occurred()) SWIG_fail
;
26471 arg3
= (int) SWIG_AsInt(obj2
);
26472 if (PyErr_Occurred()) SWIG_fail
;
26473 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26474 if (PyErr_Occurred()) SWIG_fail
;
26476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26477 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26479 wxPyEndAllowThreads(__tstate
);
26480 if (PyErr_Occurred()) SWIG_fail
;
26482 resultobj
= SWIG_FromInt((int)result
);
26489 static PyObject
*_wrap_TextDropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26490 PyObject
*resultobj
;
26491 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26496 PyObject
* obj0
= 0 ;
26497 PyObject
* obj1
= 0 ;
26498 PyObject
* obj2
= 0 ;
26499 PyObject
* obj3
= 0 ;
26500 char *kwnames
[] = {
26501 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26507 arg2
= (int) SWIG_AsInt(obj1
);
26508 if (PyErr_Occurred()) SWIG_fail
;
26509 arg3
= (int) SWIG_AsInt(obj2
);
26510 if (PyErr_Occurred()) SWIG_fail
;
26511 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26512 if (PyErr_Occurred()) SWIG_fail
;
26514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26515 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26517 wxPyEndAllowThreads(__tstate
);
26518 if (PyErr_Occurred()) SWIG_fail
;
26520 resultobj
= SWIG_FromInt((int)result
);
26527 static PyObject
*_wrap_TextDropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26528 PyObject
*resultobj
;
26529 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26530 PyObject
* obj0
= 0 ;
26531 char *kwnames
[] = {
26532 (char *) "self", NULL
26535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26540 (arg1
)->base_OnLeave();
26542 wxPyEndAllowThreads(__tstate
);
26543 if (PyErr_Occurred()) SWIG_fail
;
26545 Py_INCREF(Py_None
); resultobj
= Py_None
;
26552 static PyObject
*_wrap_TextDropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26553 PyObject
*resultobj
;
26554 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26558 PyObject
* obj0
= 0 ;
26559 PyObject
* obj1
= 0 ;
26560 PyObject
* obj2
= 0 ;
26561 char *kwnames
[] = {
26562 (char *) "self",(char *) "x",(char *) "y", NULL
26565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26568 arg2
= (int) SWIG_AsInt(obj1
);
26569 if (PyErr_Occurred()) SWIG_fail
;
26570 arg3
= (int) SWIG_AsInt(obj2
);
26571 if (PyErr_Occurred()) SWIG_fail
;
26573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26574 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26576 wxPyEndAllowThreads(__tstate
);
26577 if (PyErr_Occurred()) SWIG_fail
;
26580 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26588 static PyObject
*_wrap_TextDropTarget_base_OnData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26589 PyObject
*resultobj
;
26590 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26595 PyObject
* obj0
= 0 ;
26596 PyObject
* obj1
= 0 ;
26597 PyObject
* obj2
= 0 ;
26598 PyObject
* obj3
= 0 ;
26599 char *kwnames
[] = {
26600 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26606 arg2
= (int) SWIG_AsInt(obj1
);
26607 if (PyErr_Occurred()) SWIG_fail
;
26608 arg3
= (int) SWIG_AsInt(obj2
);
26609 if (PyErr_Occurred()) SWIG_fail
;
26610 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26611 if (PyErr_Occurred()) SWIG_fail
;
26613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26614 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
26616 wxPyEndAllowThreads(__tstate
);
26617 if (PyErr_Occurred()) SWIG_fail
;
26619 resultobj
= SWIG_FromInt((int)result
);
26626 static PyObject
* TextDropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
26628 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26629 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget
, obj
);
26631 return Py_BuildValue((char *)"");
26633 static PyObject
*_wrap_new_FileDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26634 PyObject
*resultobj
;
26635 wxPyFileDropTarget
*result
;
26636 char *kwnames
[] = {
26640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDropTarget",kwnames
)) goto fail
;
26642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26643 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
26645 wxPyEndAllowThreads(__tstate
);
26646 if (PyErr_Occurred()) SWIG_fail
;
26648 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileDropTarget
, 1);
26655 static PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26656 PyObject
*resultobj
;
26657 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26658 PyObject
*arg2
= (PyObject
*) 0 ;
26659 PyObject
*arg3
= (PyObject
*) 0 ;
26660 PyObject
* obj0
= 0 ;
26661 PyObject
* obj1
= 0 ;
26662 PyObject
* obj2
= 0 ;
26663 char *kwnames
[] = {
26664 (char *) "self",(char *) "self",(char *) "_class", NULL
26667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26674 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26676 wxPyEndAllowThreads(__tstate
);
26677 if (PyErr_Occurred()) SWIG_fail
;
26679 Py_INCREF(Py_None
); resultobj
= Py_None
;
26686 static PyObject
*_wrap_FileDropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26687 PyObject
*resultobj
;
26688 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26693 PyObject
* obj0
= 0 ;
26694 PyObject
* obj1
= 0 ;
26695 PyObject
* obj2
= 0 ;
26696 PyObject
* obj3
= 0 ;
26697 char *kwnames
[] = {
26698 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26704 arg2
= (int) SWIG_AsInt(obj1
);
26705 if (PyErr_Occurred()) SWIG_fail
;
26706 arg3
= (int) SWIG_AsInt(obj2
);
26707 if (PyErr_Occurred()) SWIG_fail
;
26708 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26709 if (PyErr_Occurred()) SWIG_fail
;
26711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26712 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26714 wxPyEndAllowThreads(__tstate
);
26715 if (PyErr_Occurred()) SWIG_fail
;
26717 resultobj
= SWIG_FromInt((int)result
);
26724 static PyObject
*_wrap_FileDropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26725 PyObject
*resultobj
;
26726 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26731 PyObject
* obj0
= 0 ;
26732 PyObject
* obj1
= 0 ;
26733 PyObject
* obj2
= 0 ;
26734 PyObject
* obj3
= 0 ;
26735 char *kwnames
[] = {
26736 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26742 arg2
= (int) SWIG_AsInt(obj1
);
26743 if (PyErr_Occurred()) SWIG_fail
;
26744 arg3
= (int) SWIG_AsInt(obj2
);
26745 if (PyErr_Occurred()) SWIG_fail
;
26746 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26747 if (PyErr_Occurred()) SWIG_fail
;
26749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26750 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26752 wxPyEndAllowThreads(__tstate
);
26753 if (PyErr_Occurred()) SWIG_fail
;
26755 resultobj
= SWIG_FromInt((int)result
);
26762 static PyObject
*_wrap_FileDropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26763 PyObject
*resultobj
;
26764 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26765 PyObject
* obj0
= 0 ;
26766 char *kwnames
[] = {
26767 (char *) "self", NULL
26770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26775 (arg1
)->base_OnLeave();
26777 wxPyEndAllowThreads(__tstate
);
26778 if (PyErr_Occurred()) SWIG_fail
;
26780 Py_INCREF(Py_None
); resultobj
= Py_None
;
26787 static PyObject
*_wrap_FileDropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26788 PyObject
*resultobj
;
26789 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26793 PyObject
* obj0
= 0 ;
26794 PyObject
* obj1
= 0 ;
26795 PyObject
* obj2
= 0 ;
26796 char *kwnames
[] = {
26797 (char *) "self",(char *) "x",(char *) "y", NULL
26800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26803 arg2
= (int) SWIG_AsInt(obj1
);
26804 if (PyErr_Occurred()) SWIG_fail
;
26805 arg3
= (int) SWIG_AsInt(obj2
);
26806 if (PyErr_Occurred()) SWIG_fail
;
26808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26809 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26811 wxPyEndAllowThreads(__tstate
);
26812 if (PyErr_Occurred()) SWIG_fail
;
26815 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26823 static PyObject
*_wrap_FileDropTarget_base_OnData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26824 PyObject
*resultobj
;
26825 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26830 PyObject
* obj0
= 0 ;
26831 PyObject
* obj1
= 0 ;
26832 PyObject
* obj2
= 0 ;
26833 PyObject
* obj3
= 0 ;
26834 char *kwnames
[] = {
26835 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26841 arg2
= (int) SWIG_AsInt(obj1
);
26842 if (PyErr_Occurred()) SWIG_fail
;
26843 arg3
= (int) SWIG_AsInt(obj2
);
26844 if (PyErr_Occurred()) SWIG_fail
;
26845 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26846 if (PyErr_Occurred()) SWIG_fail
;
26848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26849 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
26851 wxPyEndAllowThreads(__tstate
);
26852 if (PyErr_Occurred()) SWIG_fail
;
26854 resultobj
= SWIG_FromInt((int)result
);
26861 static PyObject
* FileDropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
26863 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26864 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget
, obj
);
26866 return Py_BuildValue((char *)"");
26868 static PyObject
*_wrap_new_Clipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26869 PyObject
*resultobj
;
26870 wxClipboard
*result
;
26871 char *kwnames
[] = {
26875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Clipboard",kwnames
)) goto fail
;
26877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26878 result
= (wxClipboard
*)new wxClipboard();
26880 wxPyEndAllowThreads(__tstate
);
26881 if (PyErr_Occurred()) SWIG_fail
;
26883 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 1);
26890 static PyObject
*_wrap_delete_Clipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26891 PyObject
*resultobj
;
26892 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26893 PyObject
* obj0
= 0 ;
26894 char *kwnames
[] = {
26895 (char *) "self", NULL
26898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Clipboard",kwnames
,&obj0
)) goto fail
;
26899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26905 wxPyEndAllowThreads(__tstate
);
26906 if (PyErr_Occurred()) SWIG_fail
;
26908 Py_INCREF(Py_None
); resultobj
= Py_None
;
26915 static PyObject
*_wrap_Clipboard_Open(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26916 PyObject
*resultobj
;
26917 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26919 PyObject
* obj0
= 0 ;
26920 char *kwnames
[] = {
26921 (char *) "self", NULL
26924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Open",kwnames
,&obj0
)) goto fail
;
26925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26929 result
= (bool)(arg1
)->Open();
26931 wxPyEndAllowThreads(__tstate
);
26932 if (PyErr_Occurred()) SWIG_fail
;
26935 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26943 static PyObject
*_wrap_Clipboard_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26944 PyObject
*resultobj
;
26945 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26946 PyObject
* obj0
= 0 ;
26947 char *kwnames
[] = {
26948 (char *) "self", NULL
26951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Close",kwnames
,&obj0
)) goto fail
;
26952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26958 wxPyEndAllowThreads(__tstate
);
26959 if (PyErr_Occurred()) SWIG_fail
;
26961 Py_INCREF(Py_None
); resultobj
= Py_None
;
26968 static PyObject
*_wrap_Clipboard_IsOpened(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26969 PyObject
*resultobj
;
26970 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26972 PyObject
* obj0
= 0 ;
26973 char *kwnames
[] = {
26974 (char *) "self", NULL
26977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_IsOpened",kwnames
,&obj0
)) goto fail
;
26978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26982 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
26984 wxPyEndAllowThreads(__tstate
);
26985 if (PyErr_Occurred()) SWIG_fail
;
26988 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26996 static PyObject
*_wrap_Clipboard_AddData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26997 PyObject
*resultobj
;
26998 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26999 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
27001 PyObject
* obj0
= 0 ;
27002 PyObject
* obj1
= 0 ;
27003 char *kwnames
[] = {
27004 (char *) "self",(char *) "data", NULL
27007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) goto fail
;
27008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27010 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
27011 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
27013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27014 result
= (bool)(arg1
)->AddData(arg2
);
27016 wxPyEndAllowThreads(__tstate
);
27017 if (PyErr_Occurred()) SWIG_fail
;
27020 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27028 static PyObject
*_wrap_Clipboard_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27029 PyObject
*resultobj
;
27030 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27031 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
27033 PyObject
* obj0
= 0 ;
27034 PyObject
* obj1
= 0 ;
27035 char *kwnames
[] = {
27036 (char *) "self",(char *) "data", NULL
27039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
27040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27042 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
27043 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
27045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27046 result
= (bool)(arg1
)->SetData(arg2
);
27048 wxPyEndAllowThreads(__tstate
);
27049 if (PyErr_Occurred()) SWIG_fail
;
27052 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27060 static PyObject
*_wrap_Clipboard_IsSupported(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27061 PyObject
*resultobj
;
27062 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27063 wxDataFormat
*arg2
= 0 ;
27065 PyObject
* obj0
= 0 ;
27066 PyObject
* obj1
= 0 ;
27067 char *kwnames
[] = {
27068 (char *) "self",(char *) "format", NULL
27071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) goto fail
;
27072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27074 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
27075 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27077 if (arg2
== NULL
) {
27078 PyErr_SetString(PyExc_TypeError
,"null reference");
27082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27083 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
27085 wxPyEndAllowThreads(__tstate
);
27086 if (PyErr_Occurred()) SWIG_fail
;
27089 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27097 static PyObject
*_wrap_Clipboard_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27098 PyObject
*resultobj
;
27099 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27100 wxDataObject
*arg2
= 0 ;
27102 PyObject
* obj0
= 0 ;
27103 PyObject
* obj1
= 0 ;
27104 char *kwnames
[] = {
27105 (char *) "self",(char *) "data", NULL
27108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) goto fail
;
27109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27111 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
27112 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27114 if (arg2
== NULL
) {
27115 PyErr_SetString(PyExc_TypeError
,"null reference");
27119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27120 result
= (bool)(arg1
)->GetData(*arg2
);
27122 wxPyEndAllowThreads(__tstate
);
27123 if (PyErr_Occurred()) SWIG_fail
;
27126 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27134 static PyObject
*_wrap_Clipboard_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27135 PyObject
*resultobj
;
27136 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27137 PyObject
* obj0
= 0 ;
27138 char *kwnames
[] = {
27139 (char *) "self", NULL
27142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Clear",kwnames
,&obj0
)) goto fail
;
27143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27149 wxPyEndAllowThreads(__tstate
);
27150 if (PyErr_Occurred()) SWIG_fail
;
27152 Py_INCREF(Py_None
); resultobj
= Py_None
;
27159 static PyObject
*_wrap_Clipboard_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27160 PyObject
*resultobj
;
27161 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27163 PyObject
* obj0
= 0 ;
27164 char *kwnames
[] = {
27165 (char *) "self", NULL
27168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Flush",kwnames
,&obj0
)) goto fail
;
27169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27173 result
= (bool)(arg1
)->Flush();
27175 wxPyEndAllowThreads(__tstate
);
27176 if (PyErr_Occurred()) SWIG_fail
;
27179 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27187 static PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27188 PyObject
*resultobj
;
27189 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27190 bool arg2
= (bool) True
;
27191 PyObject
* obj0
= 0 ;
27192 PyObject
* obj1
= 0 ;
27193 char *kwnames
[] = {
27194 (char *) "self",(char *) "primary", NULL
27197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) goto fail
;
27198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27201 arg2
= (bool) SWIG_AsBool(obj1
);
27202 if (PyErr_Occurred()) SWIG_fail
;
27205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27206 (arg1
)->UsePrimarySelection(arg2
);
27208 wxPyEndAllowThreads(__tstate
);
27209 if (PyErr_Occurred()) SWIG_fail
;
27211 Py_INCREF(Py_None
); resultobj
= Py_None
;
27218 static PyObject
* Clipboard_swigregister(PyObject
*self
, PyObject
*args
) {
27220 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27221 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard
, obj
);
27223 return Py_BuildValue((char *)"");
27225 static int _wrap_TheClipboard_set(PyObject
*_val
) {
27226 PyErr_SetString(PyExc_TypeError
,"Variable TheClipboard is read-only.");
27231 static PyObject
*_wrap_TheClipboard_get() {
27234 pyobj
= SWIG_NewPointerObj((void *)(wxTheClipboard
), SWIGTYPE_p_wxClipboard
, 0);
27239 static PyObject
*_wrap_new_ClipboardLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27240 PyObject
*resultobj
;
27241 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
27242 wxClipboardLocker
*result
;
27243 PyObject
* obj0
= 0 ;
27244 char *kwnames
[] = {
27245 (char *) "clipboard", NULL
27248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
27250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27255 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
27257 wxPyEndAllowThreads(__tstate
);
27258 if (PyErr_Occurred()) SWIG_fail
;
27260 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboardLocker
, 1);
27267 static PyObject
*_wrap_delete_ClipboardLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27268 PyObject
*resultobj
;
27269 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
27270 PyObject
* obj0
= 0 ;
27271 char *kwnames
[] = {
27272 (char *) "self", NULL
27275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
27276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboardLocker
,
27277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27282 wxPyEndAllowThreads(__tstate
);
27283 if (PyErr_Occurred()) SWIG_fail
;
27285 Py_INCREF(Py_None
); resultobj
= Py_None
;
27292 static PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27293 PyObject
*resultobj
;
27294 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
27296 PyObject
* obj0
= 0 ;
27297 char *kwnames
[] = {
27298 (char *) "self", NULL
27301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ClipboardLocker___nonzero__",kwnames
,&obj0
)) goto fail
;
27302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboardLocker
,
27303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27306 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
27308 wxPyEndAllowThreads(__tstate
);
27309 if (PyErr_Occurred()) SWIG_fail
;
27312 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27320 static PyObject
* ClipboardLocker_swigregister(PyObject
*self
, PyObject
*args
) {
27322 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27323 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker
, obj
);
27325 return Py_BuildValue((char *)"");
27327 static PyObject
*_wrap_new_VideoMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27328 PyObject
*resultobj
;
27329 int arg1
= (int) 0 ;
27330 int arg2
= (int) 0 ;
27331 int arg3
= (int) 0 ;
27332 int arg4
= (int) 0 ;
27333 wxVideoMode
*result
;
27334 PyObject
* obj0
= 0 ;
27335 PyObject
* obj1
= 0 ;
27336 PyObject
* obj2
= 0 ;
27337 PyObject
* obj3
= 0 ;
27338 char *kwnames
[] = {
27339 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
27342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_VideoMode",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27344 arg1
= (int) SWIG_AsInt(obj0
);
27345 if (PyErr_Occurred()) SWIG_fail
;
27348 arg2
= (int) SWIG_AsInt(obj1
);
27349 if (PyErr_Occurred()) SWIG_fail
;
27352 arg3
= (int) SWIG_AsInt(obj2
);
27353 if (PyErr_Occurred()) SWIG_fail
;
27356 arg4
= (int) SWIG_AsInt(obj3
);
27357 if (PyErr_Occurred()) SWIG_fail
;
27360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27361 result
= (wxVideoMode
*)new wxVideoMode(arg1
,arg2
,arg3
,arg4
);
27363 wxPyEndAllowThreads(__tstate
);
27364 if (PyErr_Occurred()) SWIG_fail
;
27366 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVideoMode
, 1);
27373 static PyObject
*_wrap_delete_VideoMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27374 PyObject
*resultobj
;
27375 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27376 PyObject
* obj0
= 0 ;
27377 char *kwnames
[] = {
27378 (char *) "self", NULL
27381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VideoMode",kwnames
,&obj0
)) goto fail
;
27382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27388 wxPyEndAllowThreads(__tstate
);
27389 if (PyErr_Occurred()) SWIG_fail
;
27391 Py_INCREF(Py_None
); resultobj
= Py_None
;
27398 static PyObject
*_wrap_VideoMode_Matches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27399 PyObject
*resultobj
;
27400 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27401 wxVideoMode
*arg2
= 0 ;
27403 PyObject
* obj0
= 0 ;
27404 PyObject
* obj1
= 0 ;
27405 char *kwnames
[] = {
27406 (char *) "self",(char *) "other", NULL
27409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_Matches",kwnames
,&obj0
,&obj1
)) goto fail
;
27410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27412 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27413 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27415 if (arg2
== NULL
) {
27416 PyErr_SetString(PyExc_TypeError
,"null reference");
27420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27421 result
= (bool)((wxVideoMode
const *)arg1
)->Matches((wxVideoMode
const &)*arg2
);
27423 wxPyEndAllowThreads(__tstate
);
27424 if (PyErr_Occurred()) SWIG_fail
;
27427 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27435 static PyObject
*_wrap_VideoMode_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27436 PyObject
*resultobj
;
27437 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27439 PyObject
* obj0
= 0 ;
27440 char *kwnames
[] = {
27441 (char *) "self", NULL
27444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetWidth",kwnames
,&obj0
)) goto fail
;
27445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27449 result
= (int)((wxVideoMode
const *)arg1
)->GetWidth();
27451 wxPyEndAllowThreads(__tstate
);
27452 if (PyErr_Occurred()) SWIG_fail
;
27454 resultobj
= SWIG_FromInt((int)result
);
27461 static PyObject
*_wrap_VideoMode_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27462 PyObject
*resultobj
;
27463 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27465 PyObject
* obj0
= 0 ;
27466 char *kwnames
[] = {
27467 (char *) "self", NULL
27470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetHeight",kwnames
,&obj0
)) goto fail
;
27471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27475 result
= (int)((wxVideoMode
const *)arg1
)->GetHeight();
27477 wxPyEndAllowThreads(__tstate
);
27478 if (PyErr_Occurred()) SWIG_fail
;
27480 resultobj
= SWIG_FromInt((int)result
);
27487 static PyObject
*_wrap_VideoMode_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27488 PyObject
*resultobj
;
27489 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27491 PyObject
* obj0
= 0 ;
27492 char *kwnames
[] = {
27493 (char *) "self", NULL
27496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetDepth",kwnames
,&obj0
)) goto fail
;
27497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27501 result
= (int)((wxVideoMode
const *)arg1
)->GetDepth();
27503 wxPyEndAllowThreads(__tstate
);
27504 if (PyErr_Occurred()) SWIG_fail
;
27506 resultobj
= SWIG_FromInt((int)result
);
27513 static PyObject
*_wrap_VideoMode_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27514 PyObject
*resultobj
;
27515 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27517 PyObject
* obj0
= 0 ;
27518 char *kwnames
[] = {
27519 (char *) "self", NULL
27522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_IsOk",kwnames
,&obj0
)) goto fail
;
27523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27527 result
= (bool)((wxVideoMode
const *)arg1
)->IsOk();
27529 wxPyEndAllowThreads(__tstate
);
27530 if (PyErr_Occurred()) SWIG_fail
;
27533 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27541 static PyObject
*_wrap_VideoMode___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27542 PyObject
*resultobj
;
27543 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27544 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
27546 PyObject
* obj0
= 0 ;
27547 PyObject
* obj1
= 0 ;
27548 char *kwnames
[] = {
27549 (char *) "self",(char *) "other", NULL
27552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
27553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27555 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27559 result
= (bool)wxVideoMode___eq__(arg1
,(wxVideoMode
const *)arg2
);
27561 wxPyEndAllowThreads(__tstate
);
27562 if (PyErr_Occurred()) SWIG_fail
;
27565 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27573 static PyObject
*_wrap_VideoMode___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27574 PyObject
*resultobj
;
27575 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27576 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
27578 PyObject
* obj0
= 0 ;
27579 PyObject
* obj1
= 0 ;
27580 char *kwnames
[] = {
27581 (char *) "self",(char *) "other", NULL
27584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
27585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27587 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27591 result
= (bool)wxVideoMode___ne__(arg1
,(wxVideoMode
const *)arg2
);
27593 wxPyEndAllowThreads(__tstate
);
27594 if (PyErr_Occurred()) SWIG_fail
;
27597 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27605 static PyObject
*_wrap_VideoMode_w_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27606 PyObject
*resultobj
;
27607 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27609 PyObject
* obj0
= 0 ;
27610 PyObject
* obj1
= 0 ;
27611 char *kwnames
[] = {
27612 (char *) "self",(char *) "w", NULL
27615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_w_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27618 arg2
= (int) SWIG_AsInt(obj1
);
27619 if (PyErr_Occurred()) SWIG_fail
;
27620 if (arg1
) (arg1
)->w
= arg2
;
27622 Py_INCREF(Py_None
); resultobj
= Py_None
;
27629 static PyObject
*_wrap_VideoMode_w_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27630 PyObject
*resultobj
;
27631 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27633 PyObject
* obj0
= 0 ;
27634 char *kwnames
[] = {
27635 (char *) "self", NULL
27638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_w_get",kwnames
,&obj0
)) goto fail
;
27639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27641 result
= (int) ((arg1
)->w
);
27643 resultobj
= SWIG_FromInt((int)result
);
27650 static PyObject
*_wrap_VideoMode_h_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27651 PyObject
*resultobj
;
27652 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27654 PyObject
* obj0
= 0 ;
27655 PyObject
* obj1
= 0 ;
27656 char *kwnames
[] = {
27657 (char *) "self",(char *) "h", NULL
27660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_h_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27663 arg2
= (int) SWIG_AsInt(obj1
);
27664 if (PyErr_Occurred()) SWIG_fail
;
27665 if (arg1
) (arg1
)->h
= arg2
;
27667 Py_INCREF(Py_None
); resultobj
= Py_None
;
27674 static PyObject
*_wrap_VideoMode_h_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27675 PyObject
*resultobj
;
27676 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27678 PyObject
* obj0
= 0 ;
27679 char *kwnames
[] = {
27680 (char *) "self", NULL
27683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_h_get",kwnames
,&obj0
)) goto fail
;
27684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27686 result
= (int) ((arg1
)->h
);
27688 resultobj
= SWIG_FromInt((int)result
);
27695 static PyObject
*_wrap_VideoMode_bpp_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27696 PyObject
*resultobj
;
27697 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27699 PyObject
* obj0
= 0 ;
27700 PyObject
* obj1
= 0 ;
27701 char *kwnames
[] = {
27702 (char *) "self",(char *) "bpp", NULL
27705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_bpp_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27708 arg2
= (int) SWIG_AsInt(obj1
);
27709 if (PyErr_Occurred()) SWIG_fail
;
27710 if (arg1
) (arg1
)->bpp
= arg2
;
27712 Py_INCREF(Py_None
); resultobj
= Py_None
;
27719 static PyObject
*_wrap_VideoMode_bpp_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27720 PyObject
*resultobj
;
27721 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27723 PyObject
* obj0
= 0 ;
27724 char *kwnames
[] = {
27725 (char *) "self", NULL
27728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_bpp_get",kwnames
,&obj0
)) goto fail
;
27729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27731 result
= (int) ((arg1
)->bpp
);
27733 resultobj
= SWIG_FromInt((int)result
);
27740 static PyObject
*_wrap_VideoMode_refresh_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27741 PyObject
*resultobj
;
27742 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27744 PyObject
* obj0
= 0 ;
27745 PyObject
* obj1
= 0 ;
27746 char *kwnames
[] = {
27747 (char *) "self",(char *) "refresh", NULL
27750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_refresh_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27753 arg2
= (int) SWIG_AsInt(obj1
);
27754 if (PyErr_Occurred()) SWIG_fail
;
27755 if (arg1
) (arg1
)->refresh
= arg2
;
27757 Py_INCREF(Py_None
); resultobj
= Py_None
;
27764 static PyObject
*_wrap_VideoMode_refresh_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27765 PyObject
*resultobj
;
27766 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27768 PyObject
* obj0
= 0 ;
27769 char *kwnames
[] = {
27770 (char *) "self", NULL
27773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_refresh_get",kwnames
,&obj0
)) goto fail
;
27774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27776 result
= (int) ((arg1
)->refresh
);
27778 resultobj
= SWIG_FromInt((int)result
);
27785 static PyObject
* VideoMode_swigregister(PyObject
*self
, PyObject
*args
) {
27787 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27788 SWIG_TypeClientData(SWIGTYPE_p_wxVideoMode
, obj
);
27790 return Py_BuildValue((char *)"");
27792 static int _wrap_DefaultVideoMode_set(PyObject
*_val
) {
27793 PyErr_SetString(PyExc_TypeError
,"Variable DefaultVideoMode is read-only.");
27798 static PyObject
*_wrap_DefaultVideoMode_get() {
27801 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultVideoMode
), SWIGTYPE_p_wxVideoMode
, 0);
27806 static PyObject
*_wrap_new_Display(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27807 PyObject
*resultobj
;
27808 size_t arg1
= (size_t) 0 ;
27810 PyObject
* obj0
= 0 ;
27811 char *kwnames
[] = {
27812 (char *) "index", NULL
27815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Display",kwnames
,&obj0
)) goto fail
;
27817 arg1
= (size_t) SWIG_AsUnsignedLong(obj0
);
27818 if (PyErr_Occurred()) SWIG_fail
;
27821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27822 result
= (wxDisplay
*)new wxDisplay(arg1
);
27824 wxPyEndAllowThreads(__tstate
);
27825 if (PyErr_Occurred()) SWIG_fail
;
27827 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplay
, 1);
27834 static PyObject
*_wrap_delete_Display(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27835 PyObject
*resultobj
;
27836 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27837 PyObject
* obj0
= 0 ;
27838 char *kwnames
[] = {
27839 (char *) "self", NULL
27842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Display",kwnames
,&obj0
)) goto fail
;
27843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27849 wxPyEndAllowThreads(__tstate
);
27850 if (PyErr_Occurred()) SWIG_fail
;
27852 Py_INCREF(Py_None
); resultobj
= Py_None
;
27859 static PyObject
*_wrap_Display_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27860 PyObject
*resultobj
;
27862 char *kwnames
[] = {
27866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Display_GetCount",kwnames
)) goto fail
;
27868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27869 result
= (size_t)wxDisplay::GetCount();
27871 wxPyEndAllowThreads(__tstate
);
27872 if (PyErr_Occurred()) SWIG_fail
;
27874 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
27881 static PyObject
*_wrap_Display_GetFromPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27882 PyObject
*resultobj
;
27883 wxPoint
*arg1
= 0 ;
27886 PyObject
* obj0
= 0 ;
27887 char *kwnames
[] = {
27888 (char *) "pt", NULL
27891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromPoint",kwnames
,&obj0
)) goto fail
;
27894 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
27897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27898 result
= (int)wxDisplay::GetFromPoint((wxPoint
const &)*arg1
);
27900 wxPyEndAllowThreads(__tstate
);
27901 if (PyErr_Occurred()) SWIG_fail
;
27903 resultobj
= SWIG_FromInt((int)result
);
27910 static PyObject
*_wrap_Display_GetFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27911 PyObject
*resultobj
;
27912 wxWindow
*arg1
= (wxWindow
*) 0 ;
27914 PyObject
* obj0
= 0 ;
27915 char *kwnames
[] = {
27916 (char *) "window", NULL
27919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromWindow",kwnames
,&obj0
)) goto fail
;
27920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27924 result
= (int)Display_GetFromWindow(arg1
);
27926 wxPyEndAllowThreads(__tstate
);
27927 if (PyErr_Occurred()) SWIG_fail
;
27929 resultobj
= SWIG_FromInt((int)result
);
27936 static PyObject
*_wrap_Display_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27937 PyObject
*resultobj
;
27938 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27940 PyObject
* obj0
= 0 ;
27941 char *kwnames
[] = {
27942 (char *) "self", NULL
27945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsOk",kwnames
,&obj0
)) goto fail
;
27946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27950 result
= (bool)((wxDisplay
const *)arg1
)->IsOk();
27952 wxPyEndAllowThreads(__tstate
);
27953 if (PyErr_Occurred()) SWIG_fail
;
27956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27964 static PyObject
*_wrap_Display_GetGeometry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27965 PyObject
*resultobj
;
27966 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27968 PyObject
* obj0
= 0 ;
27969 char *kwnames
[] = {
27970 (char *) "self", NULL
27973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetGeometry",kwnames
,&obj0
)) goto fail
;
27974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27978 result
= ((wxDisplay
const *)arg1
)->GetGeometry();
27980 wxPyEndAllowThreads(__tstate
);
27981 if (PyErr_Occurred()) SWIG_fail
;
27984 wxRect
* resultptr
;
27985 resultptr
= new wxRect((wxRect
&) result
);
27986 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
27994 static PyObject
*_wrap_Display_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27995 PyObject
*resultobj
;
27996 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27998 PyObject
* obj0
= 0 ;
27999 char *kwnames
[] = {
28000 (char *) "self", NULL
28003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetName",kwnames
,&obj0
)) goto fail
;
28004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28008 result
= ((wxDisplay
const *)arg1
)->GetName();
28010 wxPyEndAllowThreads(__tstate
);
28011 if (PyErr_Occurred()) SWIG_fail
;
28015 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28017 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28026 static PyObject
*_wrap_Display_IsPrimary(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28027 PyObject
*resultobj
;
28028 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28030 PyObject
* obj0
= 0 ;
28031 char *kwnames
[] = {
28032 (char *) "self", NULL
28035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsPrimary",kwnames
,&obj0
)) goto fail
;
28036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28040 result
= (bool)((wxDisplay
const *)arg1
)->IsPrimary();
28042 wxPyEndAllowThreads(__tstate
);
28043 if (PyErr_Occurred()) SWIG_fail
;
28046 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28054 static PyObject
*_wrap_Display_GetModes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28055 PyObject
*resultobj
;
28056 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28057 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
28058 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
28060 PyObject
* obj0
= 0 ;
28061 PyObject
* obj1
= 0 ;
28062 char *kwnames
[] = {
28063 (char *) "self",(char *) "mode", NULL
28066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_GetModes",kwnames
,&obj0
,&obj1
)) goto fail
;
28067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28070 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
28071 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28073 if (arg2
== NULL
) {
28074 PyErr_SetString(PyExc_TypeError
,"null reference");
28079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28080 result
= (PyObject
*)wxDisplay_GetModes(arg1
,(wxVideoMode
const &)*arg2
);
28082 wxPyEndAllowThreads(__tstate
);
28083 if (PyErr_Occurred()) SWIG_fail
;
28085 resultobj
= result
;
28092 static PyObject
*_wrap_Display_GetCurrentMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28093 PyObject
*resultobj
;
28094 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28095 wxVideoMode result
;
28096 PyObject
* obj0
= 0 ;
28097 char *kwnames
[] = {
28098 (char *) "self", NULL
28101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetCurrentMode",kwnames
,&obj0
)) goto fail
;
28102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28106 result
= ((wxDisplay
const *)arg1
)->GetCurrentMode();
28108 wxPyEndAllowThreads(__tstate
);
28109 if (PyErr_Occurred()) SWIG_fail
;
28112 wxVideoMode
* resultptr
;
28113 resultptr
= new wxVideoMode((wxVideoMode
&) result
);
28114 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVideoMode
, 1);
28122 static PyObject
*_wrap_Display_ChangeMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28123 PyObject
*resultobj
;
28124 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28125 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
28126 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
28128 PyObject
* obj0
= 0 ;
28129 PyObject
* obj1
= 0 ;
28130 char *kwnames
[] = {
28131 (char *) "self",(char *) "mode", NULL
28134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_ChangeMode",kwnames
,&obj0
,&obj1
)) goto fail
;
28135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28138 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
28139 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28141 if (arg2
== NULL
) {
28142 PyErr_SetString(PyExc_TypeError
,"null reference");
28147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28148 result
= (bool)(arg1
)->ChangeMode((wxVideoMode
const &)*arg2
);
28150 wxPyEndAllowThreads(__tstate
);
28151 if (PyErr_Occurred()) SWIG_fail
;
28154 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28162 static PyObject
*_wrap_Display_ResetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28163 PyObject
*resultobj
;
28164 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28165 PyObject
* obj0
= 0 ;
28166 char *kwnames
[] = {
28167 (char *) "self", NULL
28170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_ResetMode",kwnames
,&obj0
)) goto fail
;
28171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28175 (arg1
)->ResetMode();
28177 wxPyEndAllowThreads(__tstate
);
28178 if (PyErr_Occurred()) SWIG_fail
;
28180 Py_INCREF(Py_None
); resultobj
= Py_None
;
28187 static PyObject
* Display_swigregister(PyObject
*self
, PyObject
*args
) {
28189 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28190 SWIG_TypeClientData(SWIGTYPE_p_wxDisplay
, obj
);
28192 return Py_BuildValue((char *)"");
28194 static PyMethodDef SwigMethods
[] = {
28195 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
28196 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
28197 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
},
28198 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
},
28199 { (char *)"SystemSettings_GetScreenType", (PyCFunction
) _wrap_SystemSettings_GetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
28200 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
28201 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
},
28202 { (char *)"new_SystemOptions", (PyCFunction
) _wrap_new_SystemOptions
, METH_VARARGS
| METH_KEYWORDS
},
28203 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
},
28204 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
28205 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
},
28206 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
28207 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
},
28208 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
},
28209 { (char *)"NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
},
28210 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
},
28211 { (char *)"GetCurrentId", (PyCFunction
) _wrap_GetCurrentId
, METH_VARARGS
| METH_KEYWORDS
},
28212 { (char *)"Bell", (PyCFunction
) _wrap_Bell
, METH_VARARGS
| METH_KEYWORDS
},
28213 { (char *)"EndBusyCursor", (PyCFunction
) _wrap_EndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
28214 { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
},
28215 { (char *)"GetMousePosition", (PyCFunction
) _wrap_GetMousePosition
, METH_VARARGS
| METH_KEYWORDS
},
28216 { (char *)"IsBusy", (PyCFunction
) _wrap_IsBusy
, METH_VARARGS
| METH_KEYWORDS
},
28217 { (char *)"Now", (PyCFunction
) _wrap_Now
, METH_VARARGS
| METH_KEYWORDS
},
28218 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
},
28219 { (char *)"StartTimer", (PyCFunction
) _wrap_StartTimer
, METH_VARARGS
| METH_KEYWORDS
},
28220 { (char *)"GetOsVersion", (PyCFunction
) _wrap_GetOsVersion
, METH_VARARGS
| METH_KEYWORDS
},
28221 { (char *)"GetOsDescription", (PyCFunction
) _wrap_GetOsDescription
, METH_VARARGS
| METH_KEYWORDS
},
28222 { (char *)"GetFreeMemory", (PyCFunction
) _wrap_GetFreeMemory
, METH_VARARGS
| METH_KEYWORDS
},
28223 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
},
28224 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
},
28225 { (char *)"Usleep", (PyCFunction
) _wrap_Usleep
, METH_VARARGS
| METH_KEYWORDS
},
28226 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
},
28227 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
},
28228 { (char *)"GetEmailAddress", (PyCFunction
) _wrap_GetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
},
28229 { (char *)"GetHostName", (PyCFunction
) _wrap_GetHostName
, METH_VARARGS
| METH_KEYWORDS
},
28230 { (char *)"GetFullHostName", (PyCFunction
) _wrap_GetFullHostName
, METH_VARARGS
| METH_KEYWORDS
},
28231 { (char *)"GetUserId", (PyCFunction
) _wrap_GetUserId
, METH_VARARGS
| METH_KEYWORDS
},
28232 { (char *)"GetUserName", (PyCFunction
) _wrap_GetUserName
, METH_VARARGS
| METH_KEYWORDS
},
28233 { (char *)"GetHomeDir", (PyCFunction
) _wrap_GetHomeDir
, METH_VARARGS
| METH_KEYWORDS
},
28234 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
},
28235 { (char *)"GetProcessId", (PyCFunction
) _wrap_GetProcessId
, METH_VARARGS
| METH_KEYWORDS
},
28236 { (char *)"Trap", (PyCFunction
) _wrap_Trap
, METH_VARARGS
| METH_KEYWORDS
},
28237 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
},
28238 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
28239 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
28240 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
},
28241 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
},
28242 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
},
28243 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
},
28244 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
},
28245 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
},
28246 { (char *)"GetNumberFromUser", (PyCFunction
) _wrap_GetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
},
28247 { (char *)"ColourDisplay", (PyCFunction
) _wrap_ColourDisplay
, METH_VARARGS
| METH_KEYWORDS
},
28248 { (char *)"DisplayDepth", (PyCFunction
) _wrap_DisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
28249 { (char *)"GetDisplayDepth", (PyCFunction
) _wrap_GetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
28250 { (char *)"DisplaySize", (PyCFunction
) _wrap_DisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
28251 { (char *)"GetDisplaySize", (PyCFunction
) _wrap_GetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
28252 { (char *)"DisplaySizeMM", (PyCFunction
) _wrap_DisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
28253 { (char *)"GetDisplaySizeMM", (PyCFunction
) _wrap_GetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
28254 { (char *)"ClientDisplayRect", (PyCFunction
) _wrap_ClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
28255 { (char *)"GetClientDisplayRect", (PyCFunction
) _wrap_GetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
28256 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
28257 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
28258 { (char *)"GetActiveWindow", (PyCFunction
) _wrap_GetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
},
28259 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
28260 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
28261 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
},
28262 { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS
| METH_KEYWORDS
},
28263 { (char *)"WakeUpMainThread", (PyCFunction
) _wrap_WakeUpMainThread
, METH_VARARGS
| METH_KEYWORDS
},
28264 { (char *)"MutexGuiEnter", (PyCFunction
) _wrap_MutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
},
28265 { (char *)"MutexGuiLeave", (PyCFunction
) _wrap_MutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
},
28266 { (char *)"new_MutexGuiLocker", (PyCFunction
) _wrap_new_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
28267 { (char *)"delete_MutexGuiLocker", (PyCFunction
) _wrap_delete_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
28268 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
},
28269 { (char *)"Thread_IsMain", (PyCFunction
) _wrap_Thread_IsMain
, METH_VARARGS
| METH_KEYWORDS
},
28270 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
},
28271 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
},
28272 { (char *)"ToolTip_GetTip", (PyCFunction
) _wrap_ToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
28273 { (char *)"ToolTip_GetWindow", (PyCFunction
) _wrap_ToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
28274 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
},
28275 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
},
28276 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
},
28277 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
},
28278 { (char *)"delete_Caret", (PyCFunction
) _wrap_delete_Caret
, METH_VARARGS
| METH_KEYWORDS
},
28279 { (char *)"Caret_IsOk", (PyCFunction
) _wrap_Caret_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28280 { (char *)"Caret_IsVisible", (PyCFunction
) _wrap_Caret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
28281 { (char *)"Caret_GetPosition", (PyCFunction
) _wrap_Caret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28282 { (char *)"Caret_GetPositionTuple", (PyCFunction
) _wrap_Caret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
28283 { (char *)"Caret_GetSize", (PyCFunction
) _wrap_Caret_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
28284 { (char *)"Caret_GetSizeTuple", (PyCFunction
) _wrap_Caret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
28285 { (char *)"Caret_GetWindow", (PyCFunction
) _wrap_Caret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
28286 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
28287 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
},
28288 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
28289 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
28290 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
},
28291 { (char *)"Caret_Hide", (PyCFunction
) _wrap_Caret_Hide
, METH_VARARGS
| METH_KEYWORDS
},
28292 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
},
28293 { (char *)"Caret_GetBlinkTime", (PyCFunction
) _wrap_Caret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
28294 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
28295 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
28296 { (char *)"delete_BusyCursor", (PyCFunction
) _wrap_delete_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
28297 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
},
28298 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
28299 { (char *)"delete_WindowDisabler", (PyCFunction
) _wrap_delete_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
28300 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
},
28301 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
28302 { (char *)"delete_BusyInfo", (PyCFunction
) _wrap_delete_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
28303 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
},
28304 { (char *)"new_StopWatch", (PyCFunction
) _wrap_new_StopWatch
, METH_VARARGS
| METH_KEYWORDS
},
28305 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
},
28306 { (char *)"StopWatch_Pause", (PyCFunction
) _wrap_StopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
},
28307 { (char *)"StopWatch_Resume", (PyCFunction
) _wrap_StopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
},
28308 { (char *)"StopWatch_Time", (PyCFunction
) _wrap_StopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
},
28309 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
},
28310 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
},
28311 { (char *)"delete_FileHistory", (PyCFunction
) _wrap_delete_FileHistory
, METH_VARARGS
| METH_KEYWORDS
},
28312 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
},
28313 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
},
28314 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
) _wrap_FileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
},
28315 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
},
28316 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
},
28317 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
},
28318 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
},
28319 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
},
28320 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
},
28321 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
},
28322 { (char *)"FileHistory_GetCount", (PyCFunction
) _wrap_FileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
28323 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
},
28324 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
28325 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
) _wrap_new_PreSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
28326 { (char *)"delete_SingleInstanceChecker", (PyCFunction
) _wrap_delete_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
28327 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
},
28328 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
) _wrap_SingleInstanceChecker_IsAnotherRunning
, METH_VARARGS
| METH_KEYWORDS
},
28329 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
},
28330 { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
},
28331 { (char *)"delete_TipProvider", (PyCFunction
) _wrap_delete_TipProvider
, METH_VARARGS
| METH_KEYWORDS
},
28332 { (char *)"TipProvider_GetTip", (PyCFunction
) _wrap_TipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
28333 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
) _wrap_TipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
},
28334 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
},
28335 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
},
28336 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
28337 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28338 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
},
28339 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
},
28340 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
28341 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
},
28342 { (char *)"delete_Timer", (PyCFunction
) _wrap_delete_Timer
, METH_VARARGS
| METH_KEYWORDS
},
28343 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28344 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
},
28345 { (char *)"Timer_GetOwner", (PyCFunction
) _wrap_Timer_GetOwner
, METH_VARARGS
| METH_KEYWORDS
},
28346 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
},
28347 { (char *)"Timer_Stop", (PyCFunction
) _wrap_Timer_Stop
, METH_VARARGS
| METH_KEYWORDS
},
28348 { (char *)"Timer_IsRunning", (PyCFunction
) _wrap_Timer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
},
28349 { (char *)"Timer_GetInterval", (PyCFunction
) _wrap_Timer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
28350 { (char *)"Timer_IsOneShot", (PyCFunction
) _wrap_Timer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
},
28351 { (char *)"Timer_GetId", (PyCFunction
) _wrap_Timer_GetId
, METH_VARARGS
| METH_KEYWORDS
},
28352 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
},
28353 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
},
28354 { (char *)"TimerEvent_GetInterval", (PyCFunction
) _wrap_TimerEvent_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
28355 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
},
28356 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
},
28357 { (char *)"delete_TimerRunner", (PyCFunction
) _wrap_delete_TimerRunner
, METH_VARARGS
| METH_KEYWORDS
},
28358 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
},
28359 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
},
28360 { (char *)"new_Log", (PyCFunction
) _wrap_new_Log
, METH_VARARGS
| METH_KEYWORDS
},
28361 { (char *)"Log_IsEnabled", (PyCFunction
) _wrap_Log_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
28362 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
},
28363 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
},
28364 { (char *)"Log_Flush", (PyCFunction
) _wrap_Log_Flush
, METH_VARARGS
| METH_KEYWORDS
},
28365 { (char *)"Log_FlushActive", (PyCFunction
) _wrap_Log_FlushActive
, METH_VARARGS
| METH_KEYWORDS
},
28366 { (char *)"Log_GetActiveTarget", (PyCFunction
) _wrap_Log_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
28367 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
28368 { (char *)"Log_Suspend", (PyCFunction
) _wrap_Log_Suspend
, METH_VARARGS
| METH_KEYWORDS
},
28369 { (char *)"Log_Resume", (PyCFunction
) _wrap_Log_Resume
, METH_VARARGS
| METH_KEYWORDS
},
28370 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
28371 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
},
28372 { (char *)"Log_DontCreateOnDemand", (PyCFunction
) _wrap_Log_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
28373 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28374 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28375 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28376 { (char *)"Log_ClearTraceMasks", (PyCFunction
) _wrap_Log_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
28377 { (char *)"Log_GetTraceMasks", (PyCFunction
) _wrap_Log_GetTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
28378 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
28379 { (char *)"Log_GetVerbose", (PyCFunction
) _wrap_Log_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
28380 { (char *)"Log_GetTraceMask", (PyCFunction
) _wrap_Log_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28381 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28382 { (char *)"Log_GetLogLevel", (PyCFunction
) _wrap_Log_GetLogLevel
, METH_VARARGS
| METH_KEYWORDS
},
28383 { (char *)"Log_GetTimestamp", (PyCFunction
) _wrap_Log_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
28384 { (char *)"Log_TimeStamp", (PyCFunction
) _wrap_Log_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
},
28385 { (char *)"Log_Destroy", (PyCFunction
) _wrap_Log_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
28386 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
},
28387 { (char *)"new_LogStderr", (PyCFunction
) _wrap_new_LogStderr
, METH_VARARGS
| METH_KEYWORDS
},
28388 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
},
28389 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
28390 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
},
28391 { (char *)"new_LogGui", (PyCFunction
) _wrap_new_LogGui
, METH_VARARGS
| METH_KEYWORDS
},
28392 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
},
28393 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
},
28394 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
28395 { (char *)"LogWindow_GetFrame", (PyCFunction
) _wrap_LogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
28396 { (char *)"LogWindow_GetOldLog", (PyCFunction
) _wrap_LogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
28397 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
) _wrap_LogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
28398 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
28399 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
},
28400 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
},
28401 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
},
28402 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
28403 { (char *)"LogChain_IsPassingMessages", (PyCFunction
) _wrap_LogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
28404 { (char *)"LogChain_GetOldLog", (PyCFunction
) _wrap_LogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
28405 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
},
28406 { (char *)"SysErrorCode", (PyCFunction
) _wrap_SysErrorCode
, METH_VARARGS
| METH_KEYWORDS
},
28407 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
},
28408 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
},
28409 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
},
28410 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
},
28411 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
},
28412 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
},
28413 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
},
28414 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
},
28415 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
},
28416 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
},
28417 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
},
28418 { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS
},
28419 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
},
28420 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
},
28421 { (char *)"new_LogNull", (PyCFunction
) _wrap_new_LogNull
, METH_VARARGS
| METH_KEYWORDS
},
28422 { (char *)"delete_LogNull", (PyCFunction
) _wrap_delete_LogNull
, METH_VARARGS
| METH_KEYWORDS
},
28423 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
},
28424 { (char *)"new_PyLog", (PyCFunction
) _wrap_new_PyLog
, METH_VARARGS
| METH_KEYWORDS
},
28425 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28426 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
},
28427 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
},
28428 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
},
28429 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
},
28430 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
},
28431 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28432 { (char *)"Process_base_OnTerminate", (PyCFunction
) _wrap_Process_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
},
28433 { (char *)"Process_Redirect", (PyCFunction
) _wrap_Process_Redirect
, METH_VARARGS
| METH_KEYWORDS
},
28434 { (char *)"Process_IsRedirected", (PyCFunction
) _wrap_Process_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
},
28435 { (char *)"Process_Detach", (PyCFunction
) _wrap_Process_Detach
, METH_VARARGS
| METH_KEYWORDS
},
28436 { (char *)"Process_GetInputStream", (PyCFunction
) _wrap_Process_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
},
28437 { (char *)"Process_GetErrorStream", (PyCFunction
) _wrap_Process_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
},
28438 { (char *)"Process_GetOutputStream", (PyCFunction
) _wrap_Process_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
28439 { (char *)"Process_CloseOutput", (PyCFunction
) _wrap_Process_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
},
28440 { (char *)"Process_IsInputOpened", (PyCFunction
) _wrap_Process_IsInputOpened
, METH_VARARGS
| METH_KEYWORDS
},
28441 { (char *)"Process_IsInputAvailable", (PyCFunction
) _wrap_Process_IsInputAvailable
, METH_VARARGS
| METH_KEYWORDS
},
28442 { (char *)"Process_IsErrorAvailable", (PyCFunction
) _wrap_Process_IsErrorAvailable
, METH_VARARGS
| METH_KEYWORDS
},
28443 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
},
28444 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
28445 { (char *)"ProcessEvent_GetPid", (PyCFunction
) _wrap_ProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
},
28446 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
) _wrap_ProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
},
28447 { (char *)"ProcessEvent_m_pid_set", (PyCFunction
) _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
},
28448 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
) _wrap_ProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
},
28449 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
},
28450 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
},
28451 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
},
28452 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
},
28453 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
},
28454 { (char *)"delete_Joystick", (PyCFunction
) _wrap_delete_Joystick
, METH_VARARGS
| METH_KEYWORDS
},
28455 { (char *)"Joystick_GetPosition", (PyCFunction
) _wrap_Joystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28456 { (char *)"Joystick_GetZPosition", (PyCFunction
) _wrap_Joystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
28457 { (char *)"Joystick_GetButtonState", (PyCFunction
) _wrap_Joystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
28458 { (char *)"Joystick_GetPOVPosition", (PyCFunction
) _wrap_Joystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
},
28459 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
) _wrap_Joystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
},
28460 { (char *)"Joystick_GetRudderPosition", (PyCFunction
) _wrap_Joystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
},
28461 { (char *)"Joystick_GetUPosition", (PyCFunction
) _wrap_Joystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
},
28462 { (char *)"Joystick_GetVPosition", (PyCFunction
) _wrap_Joystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
},
28463 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
) _wrap_Joystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
28464 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
28465 { (char *)"Joystick_IsOk", (PyCFunction
) _wrap_Joystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28466 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
) _wrap_Joystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
},
28467 { (char *)"Joystick_GetManufacturerId", (PyCFunction
) _wrap_Joystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
},
28468 { (char *)"Joystick_GetProductId", (PyCFunction
) _wrap_Joystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
},
28469 { (char *)"Joystick_GetProductName", (PyCFunction
) _wrap_Joystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
},
28470 { (char *)"Joystick_GetXMin", (PyCFunction
) _wrap_Joystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
},
28471 { (char *)"Joystick_GetYMin", (PyCFunction
) _wrap_Joystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
},
28472 { (char *)"Joystick_GetZMin", (PyCFunction
) _wrap_Joystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
},
28473 { (char *)"Joystick_GetXMax", (PyCFunction
) _wrap_Joystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
},
28474 { (char *)"Joystick_GetYMax", (PyCFunction
) _wrap_Joystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
},
28475 { (char *)"Joystick_GetZMax", (PyCFunction
) _wrap_Joystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
},
28476 { (char *)"Joystick_GetNumberButtons", (PyCFunction
) _wrap_Joystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
},
28477 { (char *)"Joystick_GetNumberAxes", (PyCFunction
) _wrap_Joystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
},
28478 { (char *)"Joystick_GetMaxButtons", (PyCFunction
) _wrap_Joystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
},
28479 { (char *)"Joystick_GetMaxAxes", (PyCFunction
) _wrap_Joystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
},
28480 { (char *)"Joystick_GetPollingMin", (PyCFunction
) _wrap_Joystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
},
28481 { (char *)"Joystick_GetPollingMax", (PyCFunction
) _wrap_Joystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
},
28482 { (char *)"Joystick_GetRudderMin", (PyCFunction
) _wrap_Joystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
},
28483 { (char *)"Joystick_GetRudderMax", (PyCFunction
) _wrap_Joystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
},
28484 { (char *)"Joystick_GetUMin", (PyCFunction
) _wrap_Joystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
},
28485 { (char *)"Joystick_GetUMax", (PyCFunction
) _wrap_Joystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
},
28486 { (char *)"Joystick_GetVMin", (PyCFunction
) _wrap_Joystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
},
28487 { (char *)"Joystick_GetVMax", (PyCFunction
) _wrap_Joystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
},
28488 { (char *)"Joystick_HasRudder", (PyCFunction
) _wrap_Joystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
},
28489 { (char *)"Joystick_HasZ", (PyCFunction
) _wrap_Joystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
},
28490 { (char *)"Joystick_HasU", (PyCFunction
) _wrap_Joystick_HasU
, METH_VARARGS
| METH_KEYWORDS
},
28491 { (char *)"Joystick_HasV", (PyCFunction
) _wrap_Joystick_HasV
, METH_VARARGS
| METH_KEYWORDS
},
28492 { (char *)"Joystick_HasPOV", (PyCFunction
) _wrap_Joystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
},
28493 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
) _wrap_Joystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
},
28494 { (char *)"Joystick_HasPOVCTS", (PyCFunction
) _wrap_Joystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
},
28495 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
},
28496 { (char *)"Joystick_ReleaseCapture", (PyCFunction
) _wrap_Joystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
},
28497 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
},
28498 { (char *)"JoystickEvent_m_pos_set", (PyCFunction
) _wrap_JoystickEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
},
28499 { (char *)"JoystickEvent_m_pos_get", (PyCFunction
) _wrap_JoystickEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
},
28500 { (char *)"JoystickEvent_m_zPosition_set", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_set
, METH_VARARGS
| METH_KEYWORDS
},
28501 { (char *)"JoystickEvent_m_zPosition_get", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_get
, METH_VARARGS
| METH_KEYWORDS
},
28502 { (char *)"JoystickEvent_m_buttonChange_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_set
, METH_VARARGS
| METH_KEYWORDS
},
28503 { (char *)"JoystickEvent_m_buttonChange_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_get
, METH_VARARGS
| METH_KEYWORDS
},
28504 { (char *)"JoystickEvent_m_buttonState_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_set
, METH_VARARGS
| METH_KEYWORDS
},
28505 { (char *)"JoystickEvent_m_buttonState_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_get
, METH_VARARGS
| METH_KEYWORDS
},
28506 { (char *)"JoystickEvent_m_joyStick_set", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_set
, METH_VARARGS
| METH_KEYWORDS
},
28507 { (char *)"JoystickEvent_m_joyStick_get", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_get
, METH_VARARGS
| METH_KEYWORDS
},
28508 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
},
28509 { (char *)"JoystickEvent_GetPosition", (PyCFunction
) _wrap_JoystickEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28510 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
) _wrap_JoystickEvent_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
28511 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
) _wrap_JoystickEvent_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
28512 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
) _wrap_JoystickEvent_GetButtonChange
, METH_VARARGS
| METH_KEYWORDS
},
28513 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
) _wrap_JoystickEvent_GetJoystick
, METH_VARARGS
| METH_KEYWORDS
},
28514 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
},
28515 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
28516 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
},
28517 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28518 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
28519 { (char *)"JoystickEvent_IsButton", (PyCFunction
) _wrap_JoystickEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
28520 { (char *)"JoystickEvent_IsMove", (PyCFunction
) _wrap_JoystickEvent_IsMove
, METH_VARARGS
| METH_KEYWORDS
},
28521 { (char *)"JoystickEvent_IsZMove", (PyCFunction
) _wrap_JoystickEvent_IsZMove
, METH_VARARGS
| METH_KEYWORDS
},
28522 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
},
28523 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
},
28524 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
},
28525 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
},
28526 { (char *)"new_Sound", (PyCFunction
) _wrap_new_Sound
, METH_VARARGS
| METH_KEYWORDS
},
28527 { (char *)"new_SoundFromData", (PyCFunction
) _wrap_new_SoundFromData
, METH_VARARGS
| METH_KEYWORDS
},
28528 { (char *)"delete_Sound", (PyCFunction
) _wrap_delete_Sound
, METH_VARARGS
| METH_KEYWORDS
},
28529 { (char *)"Sound_Create", (PyCFunction
) _wrap_Sound_Create
, METH_VARARGS
| METH_KEYWORDS
},
28530 { (char *)"Sound_CreateFromData", (PyCFunction
) _wrap_Sound_CreateFromData
, METH_VARARGS
| METH_KEYWORDS
},
28531 { (char *)"Sound_IsOk", (PyCFunction
) _wrap_Sound_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28532 { (char *)"Sound_Play", (PyCFunction
) _wrap_Sound_Play
, METH_VARARGS
| METH_KEYWORDS
},
28533 { (char *)"Sound_PlaySound", (PyCFunction
) _wrap_Sound_PlaySound
, METH_VARARGS
| METH_KEYWORDS
},
28534 { (char *)"Sound_Stop", (PyCFunction
) _wrap_Sound_Stop
, METH_VARARGS
| METH_KEYWORDS
},
28535 { (char *)"Sound_swigregister", Sound_swigregister
, METH_VARARGS
},
28536 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
28537 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
},
28538 { (char *)"new_NullFileTypeInfo", (PyCFunction
) _wrap_new_NullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
28539 { (char *)"FileTypeInfo_IsValid", (PyCFunction
) _wrap_FileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
28540 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
28541 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
28542 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
) _wrap_FileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
28543 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_FileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
28544 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_FileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
28545 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
28546 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
) _wrap_FileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
28547 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
) _wrap_FileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
28548 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_FileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
},
28549 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
) _wrap_FileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
},
28550 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_FileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
},
28551 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
},
28552 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
},
28553 { (char *)"delete_FileType", (PyCFunction
) _wrap_delete_FileType
, METH_VARARGS
| METH_KEYWORDS
},
28554 { (char *)"FileType_GetMimeType", (PyCFunction
) _wrap_FileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
28555 { (char *)"FileType_GetMimeTypes", (PyCFunction
) _wrap_FileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
28556 { (char *)"FileType_GetExtensions", (PyCFunction
) _wrap_FileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
28557 { (char *)"FileType_GetIcon", (PyCFunction
) _wrap_FileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
28558 { (char *)"FileType_GetIconInfo", (PyCFunction
) _wrap_FileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
},
28559 { (char *)"FileType_GetDescription", (PyCFunction
) _wrap_FileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
28560 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
28561 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
28562 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
},
28563 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
},
28564 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
},
28565 { (char *)"FileType_Unassociate", (PyCFunction
) _wrap_FileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
28566 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
},
28567 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
},
28568 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
},
28569 { (char *)"new_MimeTypesManager", (PyCFunction
) _wrap_new_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
28570 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
28571 { (char *)"MimeTypesManager_ClearData", (PyCFunction
) _wrap_MimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
},
28572 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
},
28573 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
},
28574 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
},
28575 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
28576 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_MimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
},
28577 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
},
28578 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
},
28579 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
28580 { (char *)"delete_MimeTypesManager", (PyCFunction
) _wrap_delete_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
28581 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
},
28582 { (char *)"new_ArtProvider", (PyCFunction
) _wrap_new_ArtProvider
, METH_VARARGS
| METH_KEYWORDS
},
28583 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28584 { (char *)"ArtProvider_PushProvider", (PyCFunction
) _wrap_ArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
},
28585 { (char *)"ArtProvider_PopProvider", (PyCFunction
) _wrap_ArtProvider_PopProvider
, METH_VARARGS
| METH_KEYWORDS
},
28586 { (char *)"ArtProvider_RemoveProvider", (PyCFunction
) _wrap_ArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
},
28587 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
28588 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
28589 { (char *)"ArtProvider_Destroy", (PyCFunction
) _wrap_ArtProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
28590 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
},
28591 { (char *)"delete_ConfigBase", (PyCFunction
) _wrap_delete_ConfigBase
, METH_VARARGS
| METH_KEYWORDS
},
28592 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
},
28593 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
},
28594 { (char *)"ConfigBase_Create", (PyCFunction
) _wrap_ConfigBase_Create
, METH_VARARGS
| METH_KEYWORDS
},
28595 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
) _wrap_ConfigBase_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
28596 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
28597 { (char *)"ConfigBase_GetPath", (PyCFunction
) _wrap_ConfigBase_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
28598 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
) _wrap_ConfigBase_GetFirstGroup
, METH_VARARGS
| METH_KEYWORDS
},
28599 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
},
28600 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
) _wrap_ConfigBase_GetFirstEntry
, METH_VARARGS
| METH_KEYWORDS
},
28601 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
},
28602 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
},
28603 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
},
28604 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
},
28605 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
},
28606 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
},
28607 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
},
28608 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
},
28609 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
},
28610 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
},
28611 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
},
28612 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
},
28613 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
},
28614 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
},
28615 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
},
28616 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
},
28617 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
},
28618 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
},
28619 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
},
28620 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
},
28621 { (char *)"ConfigBase_DeleteAll", (PyCFunction
) _wrap_ConfigBase_DeleteAll
, METH_VARARGS
| METH_KEYWORDS
},
28622 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28623 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
) _wrap_ConfigBase_IsExpandingEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28624 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
},
28625 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
) _wrap_ConfigBase_IsRecordingDefaults
, METH_VARARGS
| METH_KEYWORDS
},
28626 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28627 { (char *)"ConfigBase_GetAppName", (PyCFunction
) _wrap_ConfigBase_GetAppName
, METH_VARARGS
| METH_KEYWORDS
},
28628 { (char *)"ConfigBase_GetVendorName", (PyCFunction
) _wrap_ConfigBase_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
28629 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
},
28630 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
28631 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
28632 { (char *)"ConfigBase_GetStyle", (PyCFunction
) _wrap_ConfigBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
28633 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
},
28634 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
},
28635 { (char *)"delete_Config", (PyCFunction
) _wrap_delete_Config
, METH_VARARGS
| METH_KEYWORDS
},
28636 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
},
28637 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
},
28638 { (char *)"delete_FileConfig", (PyCFunction
) _wrap_delete_FileConfig
, METH_VARARGS
| METH_KEYWORDS
},
28639 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
},
28640 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
},
28641 { (char *)"delete_ConfigPathChanger", (PyCFunction
) _wrap_delete_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
},
28642 { (char *)"ConfigPathChanger_Name", (PyCFunction
) _wrap_ConfigPathChanger_Name
, METH_VARARGS
| METH_KEYWORDS
},
28643 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
},
28644 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28645 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
},
28646 { (char *)"DateTime_GetCountry", (PyCFunction
) _wrap_DateTime_GetCountry
, METH_VARARGS
| METH_KEYWORDS
},
28647 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
},
28648 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
},
28649 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
},
28650 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
},
28651 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
},
28652 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
},
28653 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
},
28654 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
},
28655 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
},
28656 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
},
28657 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
) _wrap_DateTime_GetAmPmStrings
, METH_VARARGS
| METH_KEYWORDS
},
28658 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
},
28659 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
},
28660 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
},
28661 { (char *)"DateTime_Now", (PyCFunction
) _wrap_DateTime_Now
, METH_VARARGS
| METH_KEYWORDS
},
28662 { (char *)"DateTime_UNow", (PyCFunction
) _wrap_DateTime_UNow
, METH_VARARGS
| METH_KEYWORDS
},
28663 { (char *)"DateTime_Today", (PyCFunction
) _wrap_DateTime_Today
, METH_VARARGS
| METH_KEYWORDS
},
28664 { (char *)"new_DateTime", (PyCFunction
) _wrap_new_DateTime
, METH_VARARGS
| METH_KEYWORDS
},
28665 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
},
28666 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
},
28667 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
},
28668 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
},
28669 { (char *)"delete_DateTime", (PyCFunction
) _wrap_delete_DateTime
, METH_VARARGS
| METH_KEYWORDS
},
28670 { (char *)"DateTime_SetToCurrent", (PyCFunction
) _wrap_DateTime_SetToCurrent
, METH_VARARGS
| METH_KEYWORDS
},
28671 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
},
28672 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
},
28673 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
},
28674 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
},
28675 { (char *)"DateTime_ResetTime", (PyCFunction
) _wrap_DateTime_ResetTime
, METH_VARARGS
| METH_KEYWORDS
},
28676 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
},
28677 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
},
28678 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
},
28679 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
},
28680 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
},
28681 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
},
28682 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
28683 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
28684 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
28685 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28686 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28687 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28688 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28689 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28690 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28691 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28692 { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
},
28693 { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
},
28694 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
28695 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
28696 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
},
28697 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
},
28698 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
28699 { (char *)"DateTime_GetJDN", (PyCFunction
) _wrap_DateTime_GetJDN
, METH_VARARGS
| METH_KEYWORDS
},
28700 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetModifiedJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
28701 { (char *)"DateTime_GetMJD", (PyCFunction
) _wrap_DateTime_GetMJD
, METH_VARARGS
| METH_KEYWORDS
},
28702 { (char *)"DateTime_GetRataDie", (PyCFunction
) _wrap_DateTime_GetRataDie
, METH_VARARGS
| METH_KEYWORDS
},
28703 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
},
28704 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
},
28705 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
},
28706 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
},
28707 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
},
28708 { (char *)"DateTime_IsValid", (PyCFunction
) _wrap_DateTime_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
28709 { (char *)"DateTime_GetTicks", (PyCFunction
) _wrap_DateTime_GetTicks
, METH_VARARGS
| METH_KEYWORDS
},
28710 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
},
28711 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
},
28712 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
},
28713 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28714 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
},
28715 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
},
28716 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
},
28717 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
28718 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
},
28719 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
},
28720 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
},
28721 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
},
28722 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
28723 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
},
28724 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
},
28725 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
},
28726 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
},
28727 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
},
28728 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
},
28729 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
},
28730 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
},
28731 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
},
28732 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
},
28733 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
},
28734 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
28735 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
},
28736 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
},
28737 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
},
28738 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
},
28739 { (char *)"DateTime___lt__", _wrap_DateTime___lt__
, METH_VARARGS
},
28740 { (char *)"DateTime___le__", _wrap_DateTime___le__
, METH_VARARGS
},
28741 { (char *)"DateTime___gt__", _wrap_DateTime___gt__
, METH_VARARGS
},
28742 { (char *)"DateTime___ge__", _wrap_DateTime___ge__
, METH_VARARGS
},
28743 { (char *)"DateTime___eq__", _wrap_DateTime___eq__
, METH_VARARGS
},
28744 { (char *)"DateTime___ne__", _wrap_DateTime___ne__
, METH_VARARGS
},
28745 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
},
28746 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
},
28747 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
},
28748 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
},
28749 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
},
28750 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
},
28751 { (char *)"DateTime_FormatDate", (PyCFunction
) _wrap_DateTime_FormatDate
, METH_VARARGS
| METH_KEYWORDS
},
28752 { (char *)"DateTime_FormatTime", (PyCFunction
) _wrap_DateTime_FormatTime
, METH_VARARGS
| METH_KEYWORDS
},
28753 { (char *)"DateTime_FormatISODate", (PyCFunction
) _wrap_DateTime_FormatISODate
, METH_VARARGS
| METH_KEYWORDS
},
28754 { (char *)"DateTime_FormatISOTime", (PyCFunction
) _wrap_DateTime_FormatISOTime
, METH_VARARGS
| METH_KEYWORDS
},
28755 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
},
28756 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
},
28757 { (char *)"TimeSpan_Second", (PyCFunction
) _wrap_TimeSpan_Second
, METH_VARARGS
| METH_KEYWORDS
},
28758 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
},
28759 { (char *)"TimeSpan_Minute", (PyCFunction
) _wrap_TimeSpan_Minute
, METH_VARARGS
| METH_KEYWORDS
},
28760 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
},
28761 { (char *)"TimeSpan_Hour", (PyCFunction
) _wrap_TimeSpan_Hour
, METH_VARARGS
| METH_KEYWORDS
},
28762 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
28763 { (char *)"TimeSpan_Day", (PyCFunction
) _wrap_TimeSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
28764 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
28765 { (char *)"TimeSpan_Week", (PyCFunction
) _wrap_TimeSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
28766 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
28767 { (char *)"delete_TimeSpan", (PyCFunction
) _wrap_delete_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
28768 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
28769 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
28770 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
28771 { (char *)"TimeSpan_Neg", (PyCFunction
) _wrap_TimeSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
28772 { (char *)"TimeSpan_Abs", (PyCFunction
) _wrap_TimeSpan_Abs
, METH_VARARGS
| METH_KEYWORDS
},
28773 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
28774 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
},
28775 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
},
28776 { (char *)"TimeSpan___neg__", (PyCFunction
) _wrap_TimeSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
28777 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
28778 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
28779 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
28780 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
28781 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
},
28782 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
},
28783 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
},
28784 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
},
28785 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
28786 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
28787 { (char *)"TimeSpan_IsNull", (PyCFunction
) _wrap_TimeSpan_IsNull
, METH_VARARGS
| METH_KEYWORDS
},
28788 { (char *)"TimeSpan_IsPositive", (PyCFunction
) _wrap_TimeSpan_IsPositive
, METH_VARARGS
| METH_KEYWORDS
},
28789 { (char *)"TimeSpan_IsNegative", (PyCFunction
) _wrap_TimeSpan_IsNegative
, METH_VARARGS
| METH_KEYWORDS
},
28790 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
28791 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
},
28792 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
},
28793 { (char *)"TimeSpan_GetWeeks", (PyCFunction
) _wrap_TimeSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
28794 { (char *)"TimeSpan_GetDays", (PyCFunction
) _wrap_TimeSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
28795 { (char *)"TimeSpan_GetHours", (PyCFunction
) _wrap_TimeSpan_GetHours
, METH_VARARGS
| METH_KEYWORDS
},
28796 { (char *)"TimeSpan_GetMinutes", (PyCFunction
) _wrap_TimeSpan_GetMinutes
, METH_VARARGS
| METH_KEYWORDS
},
28797 { (char *)"TimeSpan_GetSeconds", (PyCFunction
) _wrap_TimeSpan_GetSeconds
, METH_VARARGS
| METH_KEYWORDS
},
28798 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
) _wrap_TimeSpan_GetMilliseconds
, METH_VARARGS
| METH_KEYWORDS
},
28799 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
},
28800 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
},
28801 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
},
28802 { (char *)"delete_DateSpan", (PyCFunction
) _wrap_delete_DateSpan
, METH_VARARGS
| METH_KEYWORDS
},
28803 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
28804 { (char *)"DateSpan_Day", (PyCFunction
) _wrap_DateSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
28805 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
28806 { (char *)"DateSpan_Week", (PyCFunction
) _wrap_DateSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
28807 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
},
28808 { (char *)"DateSpan_Month", (PyCFunction
) _wrap_DateSpan_Month
, METH_VARARGS
| METH_KEYWORDS
},
28809 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
},
28810 { (char *)"DateSpan_Year", (PyCFunction
) _wrap_DateSpan_Year
, METH_VARARGS
| METH_KEYWORDS
},
28811 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
},
28812 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
},
28813 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
28814 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
},
28815 { (char *)"DateSpan_GetYears", (PyCFunction
) _wrap_DateSpan_GetYears
, METH_VARARGS
| METH_KEYWORDS
},
28816 { (char *)"DateSpan_GetMonths", (PyCFunction
) _wrap_DateSpan_GetMonths
, METH_VARARGS
| METH_KEYWORDS
},
28817 { (char *)"DateSpan_GetWeeks", (PyCFunction
) _wrap_DateSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
28818 { (char *)"DateSpan_GetDays", (PyCFunction
) _wrap_DateSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
28819 { (char *)"DateSpan_GetTotalDays", (PyCFunction
) _wrap_DateSpan_GetTotalDays
, METH_VARARGS
| METH_KEYWORDS
},
28820 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
28821 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
28822 { (char *)"DateSpan_Neg", (PyCFunction
) _wrap_DateSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
28823 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
28824 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
28825 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
},
28826 { (char *)"DateSpan___neg__", (PyCFunction
) _wrap_DateSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
28827 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
},
28828 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
28829 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
28830 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
28831 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
28832 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
28833 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
28834 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
},
28835 { (char *)"GetLocalTime", (PyCFunction
) _wrap_GetLocalTime
, METH_VARARGS
| METH_KEYWORDS
},
28836 { (char *)"GetUTCTime", (PyCFunction
) _wrap_GetUTCTime
, METH_VARARGS
| METH_KEYWORDS
},
28837 { (char *)"GetCurrentTime", (PyCFunction
) _wrap_GetCurrentTime
, METH_VARARGS
| METH_KEYWORDS
},
28838 { (char *)"GetLocalTimeMillis", (PyCFunction
) _wrap_GetLocalTimeMillis
, METH_VARARGS
| METH_KEYWORDS
},
28839 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
},
28840 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
},
28841 { (char *)"delete_DataFormat", (PyCFunction
) _wrap_delete_DataFormat
, METH_VARARGS
| METH_KEYWORDS
},
28842 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
},
28843 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
},
28844 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
},
28845 { (char *)"DataFormat_GetType", (PyCFunction
) _wrap_DataFormat_GetType
, METH_VARARGS
| METH_KEYWORDS
},
28846 { (char *)"DataFormat_GetId", (PyCFunction
) _wrap_DataFormat_GetId
, METH_VARARGS
| METH_KEYWORDS
},
28847 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
},
28848 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
},
28849 { (char *)"delete_DataObject", (PyCFunction
) _wrap_delete_DataObject
, METH_VARARGS
| METH_KEYWORDS
},
28850 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
},
28851 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
},
28852 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
},
28853 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
},
28854 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
},
28855 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
},
28856 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28857 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
},
28858 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
},
28859 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
) _wrap_DataObjectSimple_GetFormat
, METH_VARARGS
| METH_KEYWORDS
},
28860 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
},
28861 { (char *)"DataObjectSimple_GetDataSize", (PyCFunction
) _wrap_DataObjectSimple_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
},
28862 { (char *)"DataObjectSimple_GetDataHere", (PyCFunction
) _wrap_DataObjectSimple_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
},
28863 { (char *)"DataObjectSimple_SetData", (PyCFunction
) _wrap_DataObjectSimple_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28864 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
},
28865 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
},
28866 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28867 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
},
28868 { (char *)"new_DataObjectComposite", (PyCFunction
) _wrap_new_DataObjectComposite
, METH_VARARGS
| METH_KEYWORDS
},
28869 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
},
28870 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
},
28871 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28872 { (char *)"TextDataObject_GetTextLength", (PyCFunction
) _wrap_TextDataObject_GetTextLength
, METH_VARARGS
| METH_KEYWORDS
},
28873 { (char *)"TextDataObject_GetText", (PyCFunction
) _wrap_TextDataObject_GetText
, METH_VARARGS
| METH_KEYWORDS
},
28874 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
},
28875 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
},
28876 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28877 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28878 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
},
28879 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28880 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
) _wrap_BitmapDataObject_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
28881 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
28882 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
},
28883 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28884 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28885 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
},
28886 { (char *)"new_FileDataObject", (PyCFunction
) _wrap_new_FileDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28887 { (char *)"FileDataObject_GetFilenames", (PyCFunction
) _wrap_FileDataObject_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
},
28888 { (char *)"FileDataObject_AddFile", (PyCFunction
) _wrap_FileDataObject_AddFile
, METH_VARARGS
| METH_KEYWORDS
},
28889 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
},
28890 { (char *)"new_CustomDataObject", (PyCFunction
) _wrap_new_CustomDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28891 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28892 { (char *)"CustomDataObject_GetSize", (PyCFunction
) _wrap_CustomDataObject_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
28893 { (char *)"CustomDataObject_GetData", (PyCFunction
) _wrap_CustomDataObject_GetData
, METH_VARARGS
| METH_KEYWORDS
},
28894 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
},
28895 { (char *)"new_URLDataObject", (PyCFunction
) _wrap_new_URLDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28896 { (char *)"URLDataObject_GetURL", (PyCFunction
) _wrap_URLDataObject_GetURL
, METH_VARARGS
| METH_KEYWORDS
},
28897 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
},
28898 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
},
28899 { (char *)"new_MetafileDataObject", (PyCFunction
) _wrap_new_MetafileDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28900 { (char *)"MetafileDataObject_SetMetafile", (PyCFunction
) _wrap_MetafileDataObject_SetMetafile
, METH_VARARGS
| METH_KEYWORDS
},
28901 { (char *)"MetafileDataObject_GetMetafile", (PyCFunction
) _wrap_MetafileDataObject_GetMetafile
, METH_VARARGS
| METH_KEYWORDS
},
28902 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
},
28903 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
},
28904 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
},
28905 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28906 { (char *)"delete_DropSource", (PyCFunction
) _wrap_delete_DropSource
, METH_VARARGS
| METH_KEYWORDS
},
28907 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28908 { (char *)"DropSource_GetDataObject", (PyCFunction
) _wrap_DropSource_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28909 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
28910 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
},
28911 { (char *)"DropSource_base_GiveFeedback", (PyCFunction
) _wrap_DropSource_base_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
},
28912 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
},
28913 { (char *)"new_DropTarget", (PyCFunction
) _wrap_new_DropTarget
, METH_VARARGS
| METH_KEYWORDS
},
28914 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28915 { (char *)"delete_DropTarget", (PyCFunction
) _wrap_delete_DropTarget
, METH_VARARGS
| METH_KEYWORDS
},
28916 { (char *)"DropTarget_GetDataObject", (PyCFunction
) _wrap_DropTarget_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28917 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28918 { (char *)"DropTarget_base_OnEnter", (PyCFunction
) _wrap_DropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
28919 { (char *)"DropTarget_base_OnDragOver", (PyCFunction
) _wrap_DropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
28920 { (char *)"DropTarget_base_OnLeave", (PyCFunction
) _wrap_DropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
28921 { (char *)"DropTarget_base_OnDrop", (PyCFunction
) _wrap_DropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
28922 { (char *)"DropTarget_GetData", (PyCFunction
) _wrap_DropTarget_GetData
, METH_VARARGS
| METH_KEYWORDS
},
28923 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
},
28924 { (char *)"new_TextDropTarget", (PyCFunction
) _wrap_new_TextDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
28925 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28926 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction
) _wrap_TextDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
28927 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
28928 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction
) _wrap_TextDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
28929 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction
) _wrap_TextDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
28930 { (char *)"TextDropTarget_base_OnData", (PyCFunction
) _wrap_TextDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
},
28931 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
},
28932 { (char *)"new_FileDropTarget", (PyCFunction
) _wrap_new_FileDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
28933 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28934 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction
) _wrap_FileDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
28935 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
28936 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction
) _wrap_FileDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
28937 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction
) _wrap_FileDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
28938 { (char *)"FileDropTarget_base_OnData", (PyCFunction
) _wrap_FileDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
},
28939 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
},
28940 { (char *)"new_Clipboard", (PyCFunction
) _wrap_new_Clipboard
, METH_VARARGS
| METH_KEYWORDS
},
28941 { (char *)"delete_Clipboard", (PyCFunction
) _wrap_delete_Clipboard
, METH_VARARGS
| METH_KEYWORDS
},
28942 { (char *)"Clipboard_Open", (PyCFunction
) _wrap_Clipboard_Open
, METH_VARARGS
| METH_KEYWORDS
},
28943 { (char *)"Clipboard_Close", (PyCFunction
) _wrap_Clipboard_Close
, METH_VARARGS
| METH_KEYWORDS
},
28944 { (char *)"Clipboard_IsOpened", (PyCFunction
) _wrap_Clipboard_IsOpened
, METH_VARARGS
| METH_KEYWORDS
},
28945 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
},
28946 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28947 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
},
28948 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
},
28949 { (char *)"Clipboard_Clear", (PyCFunction
) _wrap_Clipboard_Clear
, METH_VARARGS
| METH_KEYWORDS
},
28950 { (char *)"Clipboard_Flush", (PyCFunction
) _wrap_Clipboard_Flush
, METH_VARARGS
| METH_KEYWORDS
},
28951 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
},
28952 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
},
28953 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
},
28954 { (char *)"delete_ClipboardLocker", (PyCFunction
) _wrap_delete_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
},
28955 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
) _wrap_ClipboardLocker___nonzero__
, METH_VARARGS
| METH_KEYWORDS
},
28956 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
},
28957 { (char *)"new_VideoMode", (PyCFunction
) _wrap_new_VideoMode
, METH_VARARGS
| METH_KEYWORDS
},
28958 { (char *)"delete_VideoMode", (PyCFunction
) _wrap_delete_VideoMode
, METH_VARARGS
| METH_KEYWORDS
},
28959 { (char *)"VideoMode_Matches", (PyCFunction
) _wrap_VideoMode_Matches
, METH_VARARGS
| METH_KEYWORDS
},
28960 { (char *)"VideoMode_GetWidth", (PyCFunction
) _wrap_VideoMode_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
28961 { (char *)"VideoMode_GetHeight", (PyCFunction
) _wrap_VideoMode_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
28962 { (char *)"VideoMode_GetDepth", (PyCFunction
) _wrap_VideoMode_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
28963 { (char *)"VideoMode_IsOk", (PyCFunction
) _wrap_VideoMode_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28964 { (char *)"VideoMode___eq__", (PyCFunction
) _wrap_VideoMode___eq__
, METH_VARARGS
| METH_KEYWORDS
},
28965 { (char *)"VideoMode___ne__", (PyCFunction
) _wrap_VideoMode___ne__
, METH_VARARGS
| METH_KEYWORDS
},
28966 { (char *)"VideoMode_w_set", (PyCFunction
) _wrap_VideoMode_w_set
, METH_VARARGS
| METH_KEYWORDS
},
28967 { (char *)"VideoMode_w_get", (PyCFunction
) _wrap_VideoMode_w_get
, METH_VARARGS
| METH_KEYWORDS
},
28968 { (char *)"VideoMode_h_set", (PyCFunction
) _wrap_VideoMode_h_set
, METH_VARARGS
| METH_KEYWORDS
},
28969 { (char *)"VideoMode_h_get", (PyCFunction
) _wrap_VideoMode_h_get
, METH_VARARGS
| METH_KEYWORDS
},
28970 { (char *)"VideoMode_bpp_set", (PyCFunction
) _wrap_VideoMode_bpp_set
, METH_VARARGS
| METH_KEYWORDS
},
28971 { (char *)"VideoMode_bpp_get", (PyCFunction
) _wrap_VideoMode_bpp_get
, METH_VARARGS
| METH_KEYWORDS
},
28972 { (char *)"VideoMode_refresh_set", (PyCFunction
) _wrap_VideoMode_refresh_set
, METH_VARARGS
| METH_KEYWORDS
},
28973 { (char *)"VideoMode_refresh_get", (PyCFunction
) _wrap_VideoMode_refresh_get
, METH_VARARGS
| METH_KEYWORDS
},
28974 { (char *)"VideoMode_swigregister", VideoMode_swigregister
, METH_VARARGS
},
28975 { (char *)"new_Display", (PyCFunction
) _wrap_new_Display
, METH_VARARGS
| METH_KEYWORDS
},
28976 { (char *)"delete_Display", (PyCFunction
) _wrap_delete_Display
, METH_VARARGS
| METH_KEYWORDS
},
28977 { (char *)"Display_GetCount", (PyCFunction
) _wrap_Display_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
28978 { (char *)"Display_GetFromPoint", (PyCFunction
) _wrap_Display_GetFromPoint
, METH_VARARGS
| METH_KEYWORDS
},
28979 { (char *)"Display_GetFromWindow", (PyCFunction
) _wrap_Display_GetFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
28980 { (char *)"Display_IsOk", (PyCFunction
) _wrap_Display_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28981 { (char *)"Display_GetGeometry", (PyCFunction
) _wrap_Display_GetGeometry
, METH_VARARGS
| METH_KEYWORDS
},
28982 { (char *)"Display_GetName", (PyCFunction
) _wrap_Display_GetName
, METH_VARARGS
| METH_KEYWORDS
},
28983 { (char *)"Display_IsPrimary", (PyCFunction
) _wrap_Display_IsPrimary
, METH_VARARGS
| METH_KEYWORDS
},
28984 { (char *)"Display_GetModes", (PyCFunction
) _wrap_Display_GetModes
, METH_VARARGS
| METH_KEYWORDS
},
28985 { (char *)"Display_GetCurrentMode", (PyCFunction
) _wrap_Display_GetCurrentMode
, METH_VARARGS
| METH_KEYWORDS
},
28986 { (char *)"Display_ChangeMode", (PyCFunction
) _wrap_Display_ChangeMode
, METH_VARARGS
| METH_KEYWORDS
},
28987 { (char *)"Display_ResetMode", (PyCFunction
) _wrap_Display_ResetMode
, METH_VARARGS
| METH_KEYWORDS
},
28988 { (char *)"Display_swigregister", Display_swigregister
, METH_VARARGS
},
28993 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
28995 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
28996 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
28998 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
28999 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
29001 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
29002 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
29004 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
29005 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
29007 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
29008 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
29010 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
29011 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
29013 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
29014 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
29016 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
29017 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
29019 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
29020 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
29022 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
29023 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
29025 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
29026 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
29028 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
29029 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
29031 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
29032 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
29034 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
29035 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
29037 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
29038 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
29040 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
29041 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
29043 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
29044 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
29046 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
29047 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
29049 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
29050 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
29052 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
29053 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
29055 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
29056 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
29058 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
29059 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
29061 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
29062 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
29064 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
29065 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
29067 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
29068 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
29070 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
29071 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
29073 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
29074 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
29076 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
29077 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
29079 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
29080 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
29082 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
29083 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
29085 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
29086 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
29088 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
29089 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
29091 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
29092 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
29094 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
29095 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
29097 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
29098 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
29100 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
29101 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
29103 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
29104 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
29106 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
29107 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
29109 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
29110 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
29112 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
29113 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
29115 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
29116 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
29118 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
29119 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
29121 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
29122 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
29124 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
29125 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
29127 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
29128 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
29130 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
29131 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
29133 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
29134 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
29136 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
29137 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
29139 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
29140 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
29142 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
29143 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
29145 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
29146 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
29148 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
29149 return (void *)((wxDataObject
*) (wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
29151 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
29152 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
29154 static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x
) {
29155 return (void *)((wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
29157 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
29158 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
29160 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
29161 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
29163 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
29164 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
29166 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
29167 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
29169 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
29170 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
29172 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
29173 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
29175 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
29176 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
29178 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
29179 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
29181 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
29182 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
29184 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
29185 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
29187 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
29188 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
29190 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
29191 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
29193 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
29194 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
29196 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
29197 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
29199 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
29200 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
29202 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
29203 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
29205 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
29206 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
29208 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
29209 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
29211 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
29212 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
29214 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
29215 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
29217 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
29218 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
29220 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
29221 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
29223 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
29224 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
29226 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
29227 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
29229 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
29230 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
29232 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
29233 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
29235 static void *_p_wxSizerTo_p_wxObject(void *x
) {
29236 return (void *)((wxObject
*) ((wxSizer
*) x
));
29238 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
29239 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
29241 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
29242 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
29244 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
29245 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
29247 static void *_p_wxEventTo_p_wxObject(void *x
) {
29248 return (void *)((wxObject
*) ((wxEvent
*) x
));
29250 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
29251 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
29253 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
29254 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
29256 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
29257 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
29259 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
29260 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
29262 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
29263 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
29265 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
29266 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
29268 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
29269 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
29271 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
29272 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
29274 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
29275 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
29277 static void *_p_wxControlTo_p_wxObject(void *x
) {
29278 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
29280 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
29281 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
29283 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
29284 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
29286 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
29287 return (void *)((wxObject
*) ((wxFSFile
*) x
));
29289 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
29290 return (void *)((wxObject
*) ((wxClipboard
*) x
));
29292 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
29293 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
29295 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
29296 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
29298 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
29299 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
29301 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
29302 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
29304 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
29305 return (void *)((wxObject
*) ((wxToolTip
*) x
));
29307 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
29308 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
29310 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
29311 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
29313 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
29314 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
29316 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
29317 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
29319 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
29320 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
29322 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
29323 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
29325 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
29326 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
29328 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
29329 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
29331 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
29332 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
29334 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
29335 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
29337 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
29338 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
29340 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
29341 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
29343 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
29344 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
29346 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
29347 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
29349 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
29350 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
29352 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
29353 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
29355 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
29356 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
29358 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
29359 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
29361 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
29362 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
29364 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
29365 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
29367 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
29368 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
29370 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
29371 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
29373 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
29374 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
29376 static void *_p_wxImageTo_p_wxObject(void *x
) {
29377 return (void *)((wxObject
*) ((wxImage
*) x
));
29379 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
29380 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
29382 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
29383 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
29385 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
29386 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
29388 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
29389 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
29391 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
29392 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
29394 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
29395 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
29397 static void *_p_wxWindowTo_p_wxObject(void *x
) {
29398 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
29400 static void *_p_wxMenuTo_p_wxObject(void *x
) {
29401 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
29403 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
29404 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
29406 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
29407 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
29409 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
29410 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
29412 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
29413 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
29415 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
29416 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
29418 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
29419 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
29421 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
29422 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
29424 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
29425 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
29427 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
29428 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
29430 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
29431 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
29433 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
29434 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
29436 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
29437 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
29439 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
29440 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
29442 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
29443 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
29445 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
29446 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
29448 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
29449 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
29451 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
29452 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
29454 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
29455 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
29457 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
29458 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
29460 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
29461 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
29463 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
29464 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
29466 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
29467 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
29469 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
29470 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
29472 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
29473 return (void *)((wxLog
*) ((wxLogChain
*) x
));
29475 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
29476 return (void *)((wxLog
*) ((wxLogGui
*) x
));
29478 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
29479 return (void *)((wxLog
*) ((wxPyLog
*) x
));
29481 static void *_p_wxControlTo_p_wxWindow(void *x
) {
29482 return (void *)((wxWindow
*) ((wxControl
*) x
));
29484 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
29485 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
29487 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
29488 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
29490 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
29491 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
29493 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
29494 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
29496 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}};
29497 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}};
29498 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}};
29499 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}};
29500 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}};
29501 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}};
29502 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}};
29503 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}};
29504 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}};
29505 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}};
29506 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}};
29507 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}};
29508 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}};
29509 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}};
29510 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}};
29511 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}};
29512 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}};
29513 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}};
29514 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}};
29515 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}};
29516 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}};
29517 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}};
29518 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}};
29519 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}};
29520 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}};
29521 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}};
29522 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}};
29523 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}};
29524 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}};
29525 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}};
29526 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}};
29527 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}};
29528 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}};
29529 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}};
29530 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}};
29531 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}};
29532 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}};
29533 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}};
29534 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}};
29535 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}};
29536 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}};
29537 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}};
29538 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}};
29539 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}};
29540 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}};
29541 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}};
29542 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}};
29543 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}};
29544 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}};
29545 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}};
29546 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}};
29547 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}};
29548 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}};
29549 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}};
29550 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}};
29551 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}};
29552 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}};
29553 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}};
29554 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}};
29555 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}};
29556 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}};
29557 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}};
29558 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}};
29559 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}};
29560 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}};
29561 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}};
29562 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}};
29563 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}};
29564 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}};
29565 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}};
29566 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}};
29567 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}};
29568 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}};
29569 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}};
29570 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}};
29571 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}};
29572 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}};
29573 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}};
29574 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}};
29575 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}};
29576 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}};
29577 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}};
29578 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}};
29579 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}};
29580 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}};
29581 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}};
29583 static swig_type_info
*swig_types_initial
[] = {
29584 _swigt__p_wxLogChain
,
29585 _swigt__p_wxMutexGuiLocker
,
29586 _swigt__p_wxMetafile
,
29587 _swigt__p_wxFileHistory
,
29589 _swigt__p_wxDateTime__TimeZone
,
29592 _swigt__p_wxConfigBase
,
29593 _swigt__p_wxDisplay
,
29594 _swigt__p_wxFileType
,
29595 _swigt__p_wxLogGui
,
29597 _swigt__p_wxDataFormat
,
29598 _swigt__p_wxTimerEvent
,
29602 _swigt__p_wxClipboard
,
29603 _swigt__p_wxStopWatch
,
29605 _swigt__p_wxClipboardLocker
,
29607 _swigt__p_wxLogStderr
,
29608 _swigt__p_wxLogTextCtrl
,
29609 _swigt__p_wxTextCtrl
,
29610 _swigt__p_wxBusyCursor
,
29611 _swigt__p_wxPyBitmapDataObject
,
29612 _swigt__p_wxPyTextDataObject
,
29613 _swigt__p_wxBitmapDataObject
,
29614 _swigt__p_wxTextDataObject
,
29615 _swigt__p_wxDataObject
,
29616 _swigt__p_wxFileDataObject
,
29617 _swigt__p_wxCustomDataObject
,
29618 _swigt__p_wxURLDataObject
,
29619 _swigt__p_wxMetafileDataObject
,
29621 _swigt__p_wxTimerRunner
,
29622 _swigt__p_wxLogWindow
,
29623 _swigt__p_wxTimeSpan
,
29624 _swigt__p_wxArrayString
,
29625 _swigt__p_wxWindowDisabler
,
29626 _swigt__p_wxToolTip
,
29627 _swigt__p_wxDataObjectComposite
,
29628 _swigt__p_wxFileConfig
,
29629 _swigt__p_wxSystemSettings
,
29630 _swigt__p_wxVideoMode
,
29631 _swigt__p_wxPyDataObjectSimple
,
29632 _swigt__p_wxDataObjectSimple
,
29633 _swigt__p_wxEvtHandler
,
29636 _swigt__p_wxSingleInstanceChecker
,
29637 _swigt__p_wxFileTypeInfo
,
29640 _swigt__p_wxMimeTypesManager
,
29641 _swigt__p_wxPyArtProvider
,
29642 _swigt__p_wxPyTipProvider
,
29643 _swigt__p_wxTipProvider
,
29644 _swigt__p_wxJoystick
,
29645 _swigt__p_wxSystemOptions
,
29647 _swigt__p_wxJoystickEvent
,
29648 _swigt__p_wxCursor
,
29649 _swigt__p_wxObject
,
29650 _swigt__p_wxOutputStream
,
29651 _swigt__p_wxDateTime
,
29652 _swigt__p_wxPyDropSource
,
29653 _swigt__p_wxWindow
,
29654 _swigt__p_wxString
,
29655 _swigt__p_wxPyProcess
,
29656 _swigt__p_wxBitmap
,
29657 _swigt__p_wxConfig
,
29659 _swigt__p_wxBusyInfo
,
29660 _swigt__p_wxPyDropTarget
,
29661 _swigt__p_wxPyTextDropTarget
,
29662 _swigt__p_wxPyFileDropTarget
,
29663 _swigt__p_wxProcessEvent
,
29665 _swigt__p_wxLogNull
,
29666 _swigt__p_wxColour
,
29667 _swigt__p_wxConfigPathChanger
,
29668 _swigt__p_wxPyTimer
,
29669 _swigt__p_wxDateSpan
,
29674 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
29676 static swig_const_info swig_const_table
[] = {
29677 { SWIG_PY_POINTER
, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", &SWIGTYPE_p_char
},
29678 { SWIG_PY_POINTER
, (char*)"TRACE_Messages", 0, 0, (void *)"messages", &SWIGTYPE_p_char
},
29679 { SWIG_PY_POINTER
, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", &SWIGTYPE_p_char
},
29680 { SWIG_PY_POINTER
, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", &SWIGTYPE_p_char
},
29681 { SWIG_PY_POINTER
, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", &SWIGTYPE_p_char
},
29691 SWIGEXPORT(void) SWIG_init(void) {
29692 static PyObject
*SWIG_globals
= 0;
29693 static int typeinit
= 0;
29696 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
29697 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
29698 d
= PyModule_GetDict(m
);
29701 for (i
= 0; swig_types_initial
[i
]; i
++) {
29702 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
29706 SWIG_InstallConstants(d
,swig_const_table
);
29708 PyDict_SetItemString(d
,"SYS_OEM_FIXED_FONT", SWIG_FromInt((int)wxSYS_OEM_FIXED_FONT
));
29709 PyDict_SetItemString(d
,"SYS_ANSI_FIXED_FONT", SWIG_FromInt((int)wxSYS_ANSI_FIXED_FONT
));
29710 PyDict_SetItemString(d
,"SYS_ANSI_VAR_FONT", SWIG_FromInt((int)wxSYS_ANSI_VAR_FONT
));
29711 PyDict_SetItemString(d
,"SYS_SYSTEM_FONT", SWIG_FromInt((int)wxSYS_SYSTEM_FONT
));
29712 PyDict_SetItemString(d
,"SYS_DEVICE_DEFAULT_FONT", SWIG_FromInt((int)wxSYS_DEVICE_DEFAULT_FONT
));
29713 PyDict_SetItemString(d
,"SYS_DEFAULT_PALETTE", SWIG_FromInt((int)wxSYS_DEFAULT_PALETTE
));
29714 PyDict_SetItemString(d
,"SYS_SYSTEM_FIXED_FONT", SWIG_FromInt((int)wxSYS_SYSTEM_FIXED_FONT
));
29715 PyDict_SetItemString(d
,"SYS_DEFAULT_GUI_FONT", SWIG_FromInt((int)wxSYS_DEFAULT_GUI_FONT
));
29716 PyDict_SetItemString(d
,"SYS_ICONTITLE_FONT", SWIG_FromInt((int)wxSYS_ICONTITLE_FONT
));
29717 PyDict_SetItemString(d
,"SYS_COLOUR_SCROLLBAR", SWIG_FromInt((int)wxSYS_COLOUR_SCROLLBAR
));
29718 PyDict_SetItemString(d
,"SYS_COLOUR_BACKGROUND", SWIG_FromInt((int)wxSYS_COLOUR_BACKGROUND
));
29719 PyDict_SetItemString(d
,"SYS_COLOUR_DESKTOP", SWIG_FromInt((int)wxSYS_COLOUR_DESKTOP
));
29720 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_ACTIVECAPTION
));
29721 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVECAPTION
));
29722 PyDict_SetItemString(d
,"SYS_COLOUR_MENU", SWIG_FromInt((int)wxSYS_COLOUR_MENU
));
29723 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOW", SWIG_FromInt((int)wxSYS_COLOUR_WINDOW
));
29724 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWFRAME", SWIG_FromInt((int)wxSYS_COLOUR_WINDOWFRAME
));
29725 PyDict_SetItemString(d
,"SYS_COLOUR_MENUTEXT", SWIG_FromInt((int)wxSYS_COLOUR_MENUTEXT
));
29726 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWTEXT", SWIG_FromInt((int)wxSYS_COLOUR_WINDOWTEXT
));
29727 PyDict_SetItemString(d
,"SYS_COLOUR_CAPTIONTEXT", SWIG_FromInt((int)wxSYS_COLOUR_CAPTIONTEXT
));
29728 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVEBORDER", SWIG_FromInt((int)wxSYS_COLOUR_ACTIVEBORDER
));
29729 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVEBORDER", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVEBORDER
));
29730 PyDict_SetItemString(d
,"SYS_COLOUR_APPWORKSPACE", SWIG_FromInt((int)wxSYS_COLOUR_APPWORKSPACE
));
29731 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_HIGHLIGHT
));
29732 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_FromInt((int)wxSYS_COLOUR_HIGHLIGHTTEXT
));
29733 PyDict_SetItemString(d
,"SYS_COLOUR_BTNFACE", SWIG_FromInt((int)wxSYS_COLOUR_BTNFACE
));
29734 PyDict_SetItemString(d
,"SYS_COLOUR_3DFACE", SWIG_FromInt((int)wxSYS_COLOUR_3DFACE
));
29735 PyDict_SetItemString(d
,"SYS_COLOUR_BTNSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_BTNSHADOW
));
29736 PyDict_SetItemString(d
,"SYS_COLOUR_3DSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_3DSHADOW
));
29737 PyDict_SetItemString(d
,"SYS_COLOUR_GRAYTEXT", SWIG_FromInt((int)wxSYS_COLOUR_GRAYTEXT
));
29738 PyDict_SetItemString(d
,"SYS_COLOUR_BTNTEXT", SWIG_FromInt((int)wxSYS_COLOUR_BTNTEXT
));
29739 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVECAPTIONTEXT
));
29740 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_BTNHIGHLIGHT
));
29741 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_BTNHILIGHT
));
29742 PyDict_SetItemString(d
,"SYS_COLOUR_3DHIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DHIGHLIGHT
));
29743 PyDict_SetItemString(d
,"SYS_COLOUR_3DHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DHILIGHT
));
29744 PyDict_SetItemString(d
,"SYS_COLOUR_3DDKSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_3DDKSHADOW
));
29745 PyDict_SetItemString(d
,"SYS_COLOUR_3DLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DLIGHT
));
29746 PyDict_SetItemString(d
,"SYS_COLOUR_INFOTEXT", SWIG_FromInt((int)wxSYS_COLOUR_INFOTEXT
));
29747 PyDict_SetItemString(d
,"SYS_COLOUR_INFOBK", SWIG_FromInt((int)wxSYS_COLOUR_INFOBK
));
29748 PyDict_SetItemString(d
,"SYS_COLOUR_LISTBOX", SWIG_FromInt((int)wxSYS_COLOUR_LISTBOX
));
29749 PyDict_SetItemString(d
,"SYS_COLOUR_HOTLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_HOTLIGHT
));
29750 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_GRADIENTACTIVECAPTION
));
29751 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_GRADIENTINACTIVECAPTION
));
29752 PyDict_SetItemString(d
,"SYS_COLOUR_MENUHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_MENUHILIGHT
));
29753 PyDict_SetItemString(d
,"SYS_COLOUR_MENUBAR", SWIG_FromInt((int)wxSYS_COLOUR_MENUBAR
));
29754 PyDict_SetItemString(d
,"SYS_COLOUR_MAX", SWIG_FromInt((int)wxSYS_COLOUR_MAX
));
29755 PyDict_SetItemString(d
,"SYS_MOUSE_BUTTONS", SWIG_FromInt((int)wxSYS_MOUSE_BUTTONS
));
29756 PyDict_SetItemString(d
,"SYS_BORDER_X", SWIG_FromInt((int)wxSYS_BORDER_X
));
29757 PyDict_SetItemString(d
,"SYS_BORDER_Y", SWIG_FromInt((int)wxSYS_BORDER_Y
));
29758 PyDict_SetItemString(d
,"SYS_CURSOR_X", SWIG_FromInt((int)wxSYS_CURSOR_X
));
29759 PyDict_SetItemString(d
,"SYS_CURSOR_Y", SWIG_FromInt((int)wxSYS_CURSOR_Y
));
29760 PyDict_SetItemString(d
,"SYS_DCLICK_X", SWIG_FromInt((int)wxSYS_DCLICK_X
));
29761 PyDict_SetItemString(d
,"SYS_DCLICK_Y", SWIG_FromInt((int)wxSYS_DCLICK_Y
));
29762 PyDict_SetItemString(d
,"SYS_DRAG_X", SWIG_FromInt((int)wxSYS_DRAG_X
));
29763 PyDict_SetItemString(d
,"SYS_DRAG_Y", SWIG_FromInt((int)wxSYS_DRAG_Y
));
29764 PyDict_SetItemString(d
,"SYS_EDGE_X", SWIG_FromInt((int)wxSYS_EDGE_X
));
29765 PyDict_SetItemString(d
,"SYS_EDGE_Y", SWIG_FromInt((int)wxSYS_EDGE_Y
));
29766 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_X", SWIG_FromInt((int)wxSYS_HSCROLL_ARROW_X
));
29767 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_Y", SWIG_FromInt((int)wxSYS_HSCROLL_ARROW_Y
));
29768 PyDict_SetItemString(d
,"SYS_HTHUMB_X", SWIG_FromInt((int)wxSYS_HTHUMB_X
));
29769 PyDict_SetItemString(d
,"SYS_ICON_X", SWIG_FromInt((int)wxSYS_ICON_X
));
29770 PyDict_SetItemString(d
,"SYS_ICON_Y", SWIG_FromInt((int)wxSYS_ICON_Y
));
29771 PyDict_SetItemString(d
,"SYS_ICONSPACING_X", SWIG_FromInt((int)wxSYS_ICONSPACING_X
));
29772 PyDict_SetItemString(d
,"SYS_ICONSPACING_Y", SWIG_FromInt((int)wxSYS_ICONSPACING_Y
));
29773 PyDict_SetItemString(d
,"SYS_WINDOWMIN_X", SWIG_FromInt((int)wxSYS_WINDOWMIN_X
));
29774 PyDict_SetItemString(d
,"SYS_WINDOWMIN_Y", SWIG_FromInt((int)wxSYS_WINDOWMIN_Y
));
29775 PyDict_SetItemString(d
,"SYS_SCREEN_X", SWIG_FromInt((int)wxSYS_SCREEN_X
));
29776 PyDict_SetItemString(d
,"SYS_SCREEN_Y", SWIG_FromInt((int)wxSYS_SCREEN_Y
));
29777 PyDict_SetItemString(d
,"SYS_FRAMESIZE_X", SWIG_FromInt((int)wxSYS_FRAMESIZE_X
));
29778 PyDict_SetItemString(d
,"SYS_FRAMESIZE_Y", SWIG_FromInt((int)wxSYS_FRAMESIZE_Y
));
29779 PyDict_SetItemString(d
,"SYS_SMALLICON_X", SWIG_FromInt((int)wxSYS_SMALLICON_X
));
29780 PyDict_SetItemString(d
,"SYS_SMALLICON_Y", SWIG_FromInt((int)wxSYS_SMALLICON_Y
));
29781 PyDict_SetItemString(d
,"SYS_HSCROLL_Y", SWIG_FromInt((int)wxSYS_HSCROLL_Y
));
29782 PyDict_SetItemString(d
,"SYS_VSCROLL_X", SWIG_FromInt((int)wxSYS_VSCROLL_X
));
29783 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_X", SWIG_FromInt((int)wxSYS_VSCROLL_ARROW_X
));
29784 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_Y", SWIG_FromInt((int)wxSYS_VSCROLL_ARROW_Y
));
29785 PyDict_SetItemString(d
,"SYS_VTHUMB_Y", SWIG_FromInt((int)wxSYS_VTHUMB_Y
));
29786 PyDict_SetItemString(d
,"SYS_CAPTION_Y", SWIG_FromInt((int)wxSYS_CAPTION_Y
));
29787 PyDict_SetItemString(d
,"SYS_MENU_Y", SWIG_FromInt((int)wxSYS_MENU_Y
));
29788 PyDict_SetItemString(d
,"SYS_NETWORK_PRESENT", SWIG_FromInt((int)wxSYS_NETWORK_PRESENT
));
29789 PyDict_SetItemString(d
,"SYS_PENWINDOWS_PRESENT", SWIG_FromInt((int)wxSYS_PENWINDOWS_PRESENT
));
29790 PyDict_SetItemString(d
,"SYS_SHOW_SOUNDS", SWIG_FromInt((int)wxSYS_SHOW_SOUNDS
));
29791 PyDict_SetItemString(d
,"SYS_SWAP_BUTTONS", SWIG_FromInt((int)wxSYS_SWAP_BUTTONS
));
29792 PyDict_SetItemString(d
,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_FromInt((int)wxSYS_CAN_DRAW_FRAME_DECORATIONS
));
29793 PyDict_SetItemString(d
,"SYS_CAN_ICONIZE_FRAME", SWIG_FromInt((int)wxSYS_CAN_ICONIZE_FRAME
));
29794 PyDict_SetItemString(d
,"SYS_SCREEN_NONE", SWIG_FromInt((int)wxSYS_SCREEN_NONE
));
29795 PyDict_SetItemString(d
,"SYS_SCREEN_TINY", SWIG_FromInt((int)wxSYS_SCREEN_TINY
));
29796 PyDict_SetItemString(d
,"SYS_SCREEN_PDA", SWIG_FromInt((int)wxSYS_SCREEN_PDA
));
29797 PyDict_SetItemString(d
,"SYS_SCREEN_SMALL", SWIG_FromInt((int)wxSYS_SCREEN_SMALL
));
29798 PyDict_SetItemString(d
,"SYS_SCREEN_DESKTOP", SWIG_FromInt((int)wxSYS_SCREEN_DESKTOP
));
29799 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
29800 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
29801 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
29802 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
29803 PyDict_SetItemString(d
,"SHUTDOWN_POWEROFF", SWIG_FromInt((int)wxSHUTDOWN_POWEROFF
));
29804 PyDict_SetItemString(d
,"SHUTDOWN_REBOOT", SWIG_FromInt((int)wxSHUTDOWN_REBOOT
));
29805 PyDict_SetItemString(d
,"TIMER_CONTINUOUS", SWIG_FromInt((int)wxTIMER_CONTINUOUS
));
29806 PyDict_SetItemString(d
,"TIMER_ONE_SHOT", SWIG_FromInt((int)wxTIMER_ONE_SHOT
));
29807 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
29809 wxPyPtrTypeMap_Add("wxTimer", "wxPyTimer");
29811 PyDict_SetItemString(d
,"LOG_FatalError", SWIG_FromInt((int)wxLOG_FatalError
));
29812 PyDict_SetItemString(d
,"LOG_Error", SWIG_FromInt((int)wxLOG_Error
));
29813 PyDict_SetItemString(d
,"LOG_Warning", SWIG_FromInt((int)wxLOG_Warning
));
29814 PyDict_SetItemString(d
,"LOG_Message", SWIG_FromInt((int)wxLOG_Message
));
29815 PyDict_SetItemString(d
,"LOG_Status", SWIG_FromInt((int)wxLOG_Status
));
29816 PyDict_SetItemString(d
,"LOG_Info", SWIG_FromInt((int)wxLOG_Info
));
29817 PyDict_SetItemString(d
,"LOG_Debug", SWIG_FromInt((int)wxLOG_Debug
));
29818 PyDict_SetItemString(d
,"LOG_Trace", SWIG_FromInt((int)wxLOG_Trace
));
29819 PyDict_SetItemString(d
,"LOG_Progress", SWIG_FromInt((int)wxLOG_Progress
));
29820 PyDict_SetItemString(d
,"LOG_User", SWIG_FromInt((int)wxLOG_User
));
29821 PyDict_SetItemString(d
,"LOG_Max", SWIG_FromInt((int)wxLOG_Max
));
29822 PyDict_SetItemString(d
,"TRACE_MemAlloc", SWIG_FromCharPtr("memalloc"));
29823 PyDict_SetItemString(d
,"TRACE_Messages", SWIG_FromCharPtr("messages"));
29824 PyDict_SetItemString(d
,"TRACE_ResAlloc", SWIG_FromCharPtr("resalloc"));
29825 PyDict_SetItemString(d
,"TRACE_RefCount", SWIG_FromCharPtr("refcount"));
29826 PyDict_SetItemString(d
,"TRACE_OleCalls", SWIG_FromCharPtr("ole"));
29827 PyDict_SetItemString(d
,"TraceMemAlloc", SWIG_FromInt((int)0x0001));
29828 PyDict_SetItemString(d
,"TraceMessages", SWIG_FromInt((int)0x0002));
29829 PyDict_SetItemString(d
,"TraceResAlloc", SWIG_FromInt((int)0x0004));
29830 PyDict_SetItemString(d
,"TraceRefCount", SWIG_FromInt((int)0x0008));
29831 PyDict_SetItemString(d
,"TraceOleCalls", SWIG_FromInt((int)0x0100));
29832 PyDict_SetItemString(d
,"PROCESS_DEFAULT", SWIG_FromInt((int)wxPROCESS_DEFAULT
));
29833 PyDict_SetItemString(d
,"PROCESS_REDIRECT", SWIG_FromInt((int)wxPROCESS_REDIRECT
));
29834 PyDict_SetItemString(d
,"KILL_OK", SWIG_FromInt((int)wxKILL_OK
));
29835 PyDict_SetItemString(d
,"KILL_BAD_SIGNAL", SWIG_FromInt((int)wxKILL_BAD_SIGNAL
));
29836 PyDict_SetItemString(d
,"KILL_ACCESS_DENIED", SWIG_FromInt((int)wxKILL_ACCESS_DENIED
));
29837 PyDict_SetItemString(d
,"KILL_NO_PROCESS", SWIG_FromInt((int)wxKILL_NO_PROCESS
));
29838 PyDict_SetItemString(d
,"KILL_ERROR", SWIG_FromInt((int)wxKILL_ERROR
));
29839 PyDict_SetItemString(d
,"SIGNONE", SWIG_FromInt((int)wxSIGNONE
));
29840 PyDict_SetItemString(d
,"SIGHUP", SWIG_FromInt((int)wxSIGHUP
));
29841 PyDict_SetItemString(d
,"SIGINT", SWIG_FromInt((int)wxSIGINT
));
29842 PyDict_SetItemString(d
,"SIGQUIT", SWIG_FromInt((int)wxSIGQUIT
));
29843 PyDict_SetItemString(d
,"SIGILL", SWIG_FromInt((int)wxSIGILL
));
29844 PyDict_SetItemString(d
,"SIGTRAP", SWIG_FromInt((int)wxSIGTRAP
));
29845 PyDict_SetItemString(d
,"SIGABRT", SWIG_FromInt((int)wxSIGABRT
));
29846 PyDict_SetItemString(d
,"SIGIOT", SWIG_FromInt((int)wxSIGIOT
));
29847 PyDict_SetItemString(d
,"SIGEMT", SWIG_FromInt((int)wxSIGEMT
));
29848 PyDict_SetItemString(d
,"SIGFPE", SWIG_FromInt((int)wxSIGFPE
));
29849 PyDict_SetItemString(d
,"SIGKILL", SWIG_FromInt((int)wxSIGKILL
));
29850 PyDict_SetItemString(d
,"SIGBUS", SWIG_FromInt((int)wxSIGBUS
));
29851 PyDict_SetItemString(d
,"SIGSEGV", SWIG_FromInt((int)wxSIGSEGV
));
29852 PyDict_SetItemString(d
,"SIGSYS", SWIG_FromInt((int)wxSIGSYS
));
29853 PyDict_SetItemString(d
,"SIGPIPE", SWIG_FromInt((int)wxSIGPIPE
));
29854 PyDict_SetItemString(d
,"SIGALRM", SWIG_FromInt((int)wxSIGALRM
));
29855 PyDict_SetItemString(d
,"SIGTERM", SWIG_FromInt((int)wxSIGTERM
));
29856 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
29857 PyDict_SetItemString(d
,"EXEC_ASYNC", SWIG_FromInt((int)wxEXEC_ASYNC
));
29858 PyDict_SetItemString(d
,"EXEC_SYNC", SWIG_FromInt((int)wxEXEC_SYNC
));
29859 PyDict_SetItemString(d
,"EXEC_NOHIDE", SWIG_FromInt((int)wxEXEC_NOHIDE
));
29860 PyDict_SetItemString(d
,"EXEC_MAKE_GROUP_LEADER", SWIG_FromInt((int)wxEXEC_MAKE_GROUP_LEADER
));
29862 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
29864 PyDict_SetItemString(d
,"JOYSTICK1", SWIG_FromInt((int)wxJOYSTICK1
));
29865 PyDict_SetItemString(d
,"JOYSTICK2", SWIG_FromInt((int)wxJOYSTICK2
));
29866 PyDict_SetItemString(d
,"JOY_BUTTON_ANY", SWIG_FromInt((int)wxJOY_BUTTON_ANY
));
29867 PyDict_SetItemString(d
,"JOY_BUTTON1", SWIG_FromInt((int)wxJOY_BUTTON1
));
29868 PyDict_SetItemString(d
,"JOY_BUTTON2", SWIG_FromInt((int)wxJOY_BUTTON2
));
29869 PyDict_SetItemString(d
,"JOY_BUTTON3", SWIG_FromInt((int)wxJOY_BUTTON3
));
29870 PyDict_SetItemString(d
,"JOY_BUTTON4", SWIG_FromInt((int)wxJOY_BUTTON4
));
29871 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
29872 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
29873 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
29874 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
29875 PyDict_SetItemString(d
,"SOUND_SYNC", SWIG_FromInt((int)wxSOUND_SYNC
));
29876 PyDict_SetItemString(d
,"SOUND_ASYNC", SWIG_FromInt((int)wxSOUND_ASYNC
));
29877 PyDict_SetItemString(d
,"SOUND_LOOP", SWIG_FromInt((int)wxSOUND_LOOP
));
29878 PyDict_SetItemString(d
,"MAILCAP_STANDARD", SWIG_FromInt((int)wxMAILCAP_STANDARD
));
29879 PyDict_SetItemString(d
,"MAILCAP_NETSCAPE", SWIG_FromInt((int)wxMAILCAP_NETSCAPE
));
29880 PyDict_SetItemString(d
,"MAILCAP_KDE", SWIG_FromInt((int)wxMAILCAP_KDE
));
29881 PyDict_SetItemString(d
,"MAILCAP_GNOME", SWIG_FromInt((int)wxMAILCAP_GNOME
));
29882 PyDict_SetItemString(d
,"MAILCAP_ALL", SWIG_FromInt((int)wxMAILCAP_ALL
));
29883 SWIG_addvarlink(SWIG_globals
,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get
, _wrap_TheMimeTypesManager_set
);
29884 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get
, _wrap_ART_TOOLBAR_set
);
29885 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MENU",_wrap_ART_MENU_get
, _wrap_ART_MENU_set
);
29886 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get
, _wrap_ART_FRAME_ICON_set
);
29887 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get
, _wrap_ART_CMN_DIALOG_set
);
29888 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get
, _wrap_ART_HELP_BROWSER_set
);
29889 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get
, _wrap_ART_MESSAGE_BOX_set
);
29890 SWIG_addvarlink(SWIG_globals
,(char*)"ART_OTHER",_wrap_ART_OTHER_get
, _wrap_ART_OTHER_set
);
29891 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get
, _wrap_ART_ADD_BOOKMARK_set
);
29892 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get
, _wrap_ART_DEL_BOOKMARK_set
);
29893 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get
, _wrap_ART_HELP_SIDE_PANEL_set
);
29894 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get
, _wrap_ART_HELP_SETTINGS_set
);
29895 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get
, _wrap_ART_HELP_BOOK_set
);
29896 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get
, _wrap_ART_HELP_FOLDER_set
);
29897 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get
, _wrap_ART_HELP_PAGE_set
);
29898 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get
, _wrap_ART_GO_BACK_set
);
29899 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get
, _wrap_ART_GO_FORWARD_set
);
29900 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get
, _wrap_ART_GO_UP_set
);
29901 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get
, _wrap_ART_GO_DOWN_set
);
29902 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get
, _wrap_ART_GO_TO_PARENT_set
);
29903 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get
, _wrap_ART_GO_HOME_set
);
29904 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get
, _wrap_ART_FILE_OPEN_set
);
29905 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PRINT",_wrap_ART_PRINT_get
, _wrap_ART_PRINT_set
);
29906 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP",_wrap_ART_HELP_get
, _wrap_ART_HELP_set
);
29907 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TIP",_wrap_ART_TIP_get
, _wrap_ART_TIP_set
);
29908 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get
, _wrap_ART_REPORT_VIEW_set
);
29909 SWIG_addvarlink(SWIG_globals
,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get
, _wrap_ART_LIST_VIEW_set
);
29910 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get
, _wrap_ART_NEW_DIR_set
);
29911 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get
, _wrap_ART_FOLDER_set
);
29912 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get
, _wrap_ART_GO_DIR_UP_set
);
29913 SWIG_addvarlink(SWIG_globals
,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get
, _wrap_ART_EXECUTABLE_FILE_set
);
29914 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get
, _wrap_ART_NORMAL_FILE_set
);
29915 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get
, _wrap_ART_TICK_MARK_set
);
29916 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get
, _wrap_ART_CROSS_MARK_set
);
29917 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ERROR",_wrap_ART_ERROR_get
, _wrap_ART_ERROR_set
);
29918 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get
, _wrap_ART_QUESTION_set
);
29919 SWIG_addvarlink(SWIG_globals
,(char*)"ART_WARNING",_wrap_ART_WARNING_get
, _wrap_ART_WARNING_set
);
29920 SWIG_addvarlink(SWIG_globals
,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get
, _wrap_ART_INFORMATION_set
);
29921 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get
, _wrap_ART_MISSING_IMAGE_set
);
29923 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
29925 PyDict_SetItemString(d
,"CONFIG_USE_LOCAL_FILE", SWIG_FromInt((int)wxCONFIG_USE_LOCAL_FILE
));
29926 PyDict_SetItemString(d
,"CONFIG_USE_GLOBAL_FILE", SWIG_FromInt((int)wxCONFIG_USE_GLOBAL_FILE
));
29927 PyDict_SetItemString(d
,"CONFIG_USE_RELATIVE_PATH", SWIG_FromInt((int)wxCONFIG_USE_RELATIVE_PATH
));
29928 PyDict_SetItemString(d
,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_FromInt((int)wxCONFIG_USE_NO_ESCAPE_CHARACTERS
));
29929 PyDict_SetItemString(d
,"ConfigBase_Type_Unknown", SWIG_FromInt((int)wxConfigBase::Type_Unknown
));
29930 PyDict_SetItemString(d
,"ConfigBase_Type_String", SWIG_FromInt((int)wxConfigBase::Type_String
));
29931 PyDict_SetItemString(d
,"ConfigBase_Type_Boolean", SWIG_FromInt((int)wxConfigBase::Type_Boolean
));
29932 PyDict_SetItemString(d
,"ConfigBase_Type_Integer", SWIG_FromInt((int)wxConfigBase::Type_Integer
));
29933 PyDict_SetItemString(d
,"ConfigBase_Type_Float", SWIG_FromInt((int)wxConfigBase::Type_Float
));
29934 SWIG_addvarlink(SWIG_globals
,(char*)"DateFormatStr",_wrap_DateFormatStr_get
, _wrap_DateFormatStr_set
);
29935 SWIG_addvarlink(SWIG_globals
,(char*)"TimeSpanFormatStr",_wrap_TimeSpanFormatStr_get
, _wrap_TimeSpanFormatStr_set
);
29936 PyDict_SetItemString(d
,"DateTime_Local", SWIG_FromInt((int)wxDateTime::Local
));
29937 PyDict_SetItemString(d
,"DateTime_GMT_12", SWIG_FromInt((int)wxDateTime::GMT_12
));
29938 PyDict_SetItemString(d
,"DateTime_GMT_11", SWIG_FromInt((int)wxDateTime::GMT_11
));
29939 PyDict_SetItemString(d
,"DateTime_GMT_10", SWIG_FromInt((int)wxDateTime::GMT_10
));
29940 PyDict_SetItemString(d
,"DateTime_GMT_9", SWIG_FromInt((int)wxDateTime::GMT_9
));
29941 PyDict_SetItemString(d
,"DateTime_GMT_8", SWIG_FromInt((int)wxDateTime::GMT_8
));
29942 PyDict_SetItemString(d
,"DateTime_GMT_7", SWIG_FromInt((int)wxDateTime::GMT_7
));
29943 PyDict_SetItemString(d
,"DateTime_GMT_6", SWIG_FromInt((int)wxDateTime::GMT_6
));
29944 PyDict_SetItemString(d
,"DateTime_GMT_5", SWIG_FromInt((int)wxDateTime::GMT_5
));
29945 PyDict_SetItemString(d
,"DateTime_GMT_4", SWIG_FromInt((int)wxDateTime::GMT_4
));
29946 PyDict_SetItemString(d
,"DateTime_GMT_3", SWIG_FromInt((int)wxDateTime::GMT_3
));
29947 PyDict_SetItemString(d
,"DateTime_GMT_2", SWIG_FromInt((int)wxDateTime::GMT_2
));
29948 PyDict_SetItemString(d
,"DateTime_GMT_1", SWIG_FromInt((int)wxDateTime::GMT_1
));
29949 PyDict_SetItemString(d
,"DateTime_GMT0", SWIG_FromInt((int)wxDateTime::GMT0
));
29950 PyDict_SetItemString(d
,"DateTime_GMT1", SWIG_FromInt((int)wxDateTime::GMT1
));
29951 PyDict_SetItemString(d
,"DateTime_GMT2", SWIG_FromInt((int)wxDateTime::GMT2
));
29952 PyDict_SetItemString(d
,"DateTime_GMT3", SWIG_FromInt((int)wxDateTime::GMT3
));
29953 PyDict_SetItemString(d
,"DateTime_GMT4", SWIG_FromInt((int)wxDateTime::GMT4
));
29954 PyDict_SetItemString(d
,"DateTime_GMT5", SWIG_FromInt((int)wxDateTime::GMT5
));
29955 PyDict_SetItemString(d
,"DateTime_GMT6", SWIG_FromInt((int)wxDateTime::GMT6
));
29956 PyDict_SetItemString(d
,"DateTime_GMT7", SWIG_FromInt((int)wxDateTime::GMT7
));
29957 PyDict_SetItemString(d
,"DateTime_GMT8", SWIG_FromInt((int)wxDateTime::GMT8
));
29958 PyDict_SetItemString(d
,"DateTime_GMT9", SWIG_FromInt((int)wxDateTime::GMT9
));
29959 PyDict_SetItemString(d
,"DateTime_GMT10", SWIG_FromInt((int)wxDateTime::GMT10
));
29960 PyDict_SetItemString(d
,"DateTime_GMT11", SWIG_FromInt((int)wxDateTime::GMT11
));
29961 PyDict_SetItemString(d
,"DateTime_GMT12", SWIG_FromInt((int)wxDateTime::GMT12
));
29962 PyDict_SetItemString(d
,"DateTime_WET", SWIG_FromInt((int)wxDateTime::WET
));
29963 PyDict_SetItemString(d
,"DateTime_WEST", SWIG_FromInt((int)wxDateTime::WEST
));
29964 PyDict_SetItemString(d
,"DateTime_CET", SWIG_FromInt((int)wxDateTime::CET
));
29965 PyDict_SetItemString(d
,"DateTime_CEST", SWIG_FromInt((int)wxDateTime::CEST
));
29966 PyDict_SetItemString(d
,"DateTime_EET", SWIG_FromInt((int)wxDateTime::EET
));
29967 PyDict_SetItemString(d
,"DateTime_EEST", SWIG_FromInt((int)wxDateTime::EEST
));
29968 PyDict_SetItemString(d
,"DateTime_MSK", SWIG_FromInt((int)wxDateTime::MSK
));
29969 PyDict_SetItemString(d
,"DateTime_MSD", SWIG_FromInt((int)wxDateTime::MSD
));
29970 PyDict_SetItemString(d
,"DateTime_AST", SWIG_FromInt((int)wxDateTime::AST
));
29971 PyDict_SetItemString(d
,"DateTime_ADT", SWIG_FromInt((int)wxDateTime::ADT
));
29972 PyDict_SetItemString(d
,"DateTime_EST", SWIG_FromInt((int)wxDateTime::EST
));
29973 PyDict_SetItemString(d
,"DateTime_EDT", SWIG_FromInt((int)wxDateTime::EDT
));
29974 PyDict_SetItemString(d
,"DateTime_CST", SWIG_FromInt((int)wxDateTime::CST
));
29975 PyDict_SetItemString(d
,"DateTime_CDT", SWIG_FromInt((int)wxDateTime::CDT
));
29976 PyDict_SetItemString(d
,"DateTime_MST", SWIG_FromInt((int)wxDateTime::MST
));
29977 PyDict_SetItemString(d
,"DateTime_MDT", SWIG_FromInt((int)wxDateTime::MDT
));
29978 PyDict_SetItemString(d
,"DateTime_PST", SWIG_FromInt((int)wxDateTime::PST
));
29979 PyDict_SetItemString(d
,"DateTime_PDT", SWIG_FromInt((int)wxDateTime::PDT
));
29980 PyDict_SetItemString(d
,"DateTime_HST", SWIG_FromInt((int)wxDateTime::HST
));
29981 PyDict_SetItemString(d
,"DateTime_AKST", SWIG_FromInt((int)wxDateTime::AKST
));
29982 PyDict_SetItemString(d
,"DateTime_AKDT", SWIG_FromInt((int)wxDateTime::AKDT
));
29983 PyDict_SetItemString(d
,"DateTime_A_WST", SWIG_FromInt((int)wxDateTime::A_WST
));
29984 PyDict_SetItemString(d
,"DateTime_A_CST", SWIG_FromInt((int)wxDateTime::A_CST
));
29985 PyDict_SetItemString(d
,"DateTime_A_EST", SWIG_FromInt((int)wxDateTime::A_EST
));
29986 PyDict_SetItemString(d
,"DateTime_A_ESST", SWIG_FromInt((int)wxDateTime::A_ESST
));
29987 PyDict_SetItemString(d
,"DateTime_UTC", SWIG_FromInt((int)wxDateTime::UTC
));
29988 PyDict_SetItemString(d
,"DateTime_Gregorian", SWIG_FromInt((int)wxDateTime::Gregorian
));
29989 PyDict_SetItemString(d
,"DateTime_Julian", SWIG_FromInt((int)wxDateTime::Julian
));
29990 PyDict_SetItemString(d
,"DateTime_Gr_Unknown", SWIG_FromInt((int)wxDateTime::Gr_Unknown
));
29991 PyDict_SetItemString(d
,"DateTime_Gr_Standard", SWIG_FromInt((int)wxDateTime::Gr_Standard
));
29992 PyDict_SetItemString(d
,"DateTime_Gr_Alaska", SWIG_FromInt((int)wxDateTime::Gr_Alaska
));
29993 PyDict_SetItemString(d
,"DateTime_Gr_Albania", SWIG_FromInt((int)wxDateTime::Gr_Albania
));
29994 PyDict_SetItemString(d
,"DateTime_Gr_Austria", SWIG_FromInt((int)wxDateTime::Gr_Austria
));
29995 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Brixen", SWIG_FromInt((int)wxDateTime::Gr_Austria_Brixen
));
29996 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Salzburg", SWIG_FromInt((int)wxDateTime::Gr_Austria_Salzburg
));
29997 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Tyrol", SWIG_FromInt((int)wxDateTime::Gr_Austria_Tyrol
));
29998 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Carinthia", SWIG_FromInt((int)wxDateTime::Gr_Austria_Carinthia
));
29999 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Styria", SWIG_FromInt((int)wxDateTime::Gr_Austria_Styria
));
30000 PyDict_SetItemString(d
,"DateTime_Gr_Belgium", SWIG_FromInt((int)wxDateTime::Gr_Belgium
));
30001 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria
));
30002 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_1", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_1
));
30003 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_2", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_2
));
30004 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_3", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_3
));
30005 PyDict_SetItemString(d
,"DateTime_Gr_Canada", SWIG_FromInt((int)wxDateTime::Gr_Canada
));
30006 PyDict_SetItemString(d
,"DateTime_Gr_China", SWIG_FromInt((int)wxDateTime::Gr_China
));
30007 PyDict_SetItemString(d
,"DateTime_Gr_China_1", SWIG_FromInt((int)wxDateTime::Gr_China_1
));
30008 PyDict_SetItemString(d
,"DateTime_Gr_China_2", SWIG_FromInt((int)wxDateTime::Gr_China_2
));
30009 PyDict_SetItemString(d
,"DateTime_Gr_Czechoslovakia", SWIG_FromInt((int)wxDateTime::Gr_Czechoslovakia
));
30010 PyDict_SetItemString(d
,"DateTime_Gr_Denmark", SWIG_FromInt((int)wxDateTime::Gr_Denmark
));
30011 PyDict_SetItemString(d
,"DateTime_Gr_Egypt", SWIG_FromInt((int)wxDateTime::Gr_Egypt
));
30012 PyDict_SetItemString(d
,"DateTime_Gr_Estonia", SWIG_FromInt((int)wxDateTime::Gr_Estonia
));
30013 PyDict_SetItemString(d
,"DateTime_Gr_Finland", SWIG_FromInt((int)wxDateTime::Gr_Finland
));
30014 PyDict_SetItemString(d
,"DateTime_Gr_France", SWIG_FromInt((int)wxDateTime::Gr_France
));
30015 PyDict_SetItemString(d
,"DateTime_Gr_France_Alsace", SWIG_FromInt((int)wxDateTime::Gr_France_Alsace
));
30016 PyDict_SetItemString(d
,"DateTime_Gr_France_Lorraine", SWIG_FromInt((int)wxDateTime::Gr_France_Lorraine
));
30017 PyDict_SetItemString(d
,"DateTime_Gr_France_Strasbourg", SWIG_FromInt((int)wxDateTime::Gr_France_Strasbourg
));
30018 PyDict_SetItemString(d
,"DateTime_Gr_Germany", SWIG_FromInt((int)wxDateTime::Gr_Germany
));
30019 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Catholic", SWIG_FromInt((int)wxDateTime::Gr_Germany_Catholic
));
30020 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Prussia", SWIG_FromInt((int)wxDateTime::Gr_Germany_Prussia
));
30021 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Protestant", SWIG_FromInt((int)wxDateTime::Gr_Germany_Protestant
));
30022 PyDict_SetItemString(d
,"DateTime_Gr_GreatBritain", SWIG_FromInt((int)wxDateTime::Gr_GreatBritain
));
30023 PyDict_SetItemString(d
,"DateTime_Gr_Greece", SWIG_FromInt((int)wxDateTime::Gr_Greece
));
30024 PyDict_SetItemString(d
,"DateTime_Gr_Hungary", SWIG_FromInt((int)wxDateTime::Gr_Hungary
));
30025 PyDict_SetItemString(d
,"DateTime_Gr_Ireland", SWIG_FromInt((int)wxDateTime::Gr_Ireland
));
30026 PyDict_SetItemString(d
,"DateTime_Gr_Italy", SWIG_FromInt((int)wxDateTime::Gr_Italy
));
30027 PyDict_SetItemString(d
,"DateTime_Gr_Japan", SWIG_FromInt((int)wxDateTime::Gr_Japan
));
30028 PyDict_SetItemString(d
,"DateTime_Gr_Japan_1", SWIG_FromInt((int)wxDateTime::Gr_Japan_1
));
30029 PyDict_SetItemString(d
,"DateTime_Gr_Japan_2", SWIG_FromInt((int)wxDateTime::Gr_Japan_2
));
30030 PyDict_SetItemString(d
,"DateTime_Gr_Japan_3", SWIG_FromInt((int)wxDateTime::Gr_Japan_3
));
30031 PyDict_SetItemString(d
,"DateTime_Gr_Latvia", SWIG_FromInt((int)wxDateTime::Gr_Latvia
));
30032 PyDict_SetItemString(d
,"DateTime_Gr_Lithuania", SWIG_FromInt((int)wxDateTime::Gr_Lithuania
));
30033 PyDict_SetItemString(d
,"DateTime_Gr_Luxemburg", SWIG_FromInt((int)wxDateTime::Gr_Luxemburg
));
30034 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands", SWIG_FromInt((int)wxDateTime::Gr_Netherlands
));
30035 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Groningen", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Groningen
));
30036 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Gelderland", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Gelderland
));
30037 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Utrecht", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Utrecht
));
30038 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Friesland", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Friesland
));
30039 PyDict_SetItemString(d
,"DateTime_Gr_Norway", SWIG_FromInt((int)wxDateTime::Gr_Norway
));
30040 PyDict_SetItemString(d
,"DateTime_Gr_Poland", SWIG_FromInt((int)wxDateTime::Gr_Poland
));
30041 PyDict_SetItemString(d
,"DateTime_Gr_Portugal", SWIG_FromInt((int)wxDateTime::Gr_Portugal
));
30042 PyDict_SetItemString(d
,"DateTime_Gr_Romania", SWIG_FromInt((int)wxDateTime::Gr_Romania
));
30043 PyDict_SetItemString(d
,"DateTime_Gr_Russia", SWIG_FromInt((int)wxDateTime::Gr_Russia
));
30044 PyDict_SetItemString(d
,"DateTime_Gr_Scotland", SWIG_FromInt((int)wxDateTime::Gr_Scotland
));
30045 PyDict_SetItemString(d
,"DateTime_Gr_Spain", SWIG_FromInt((int)wxDateTime::Gr_Spain
));
30046 PyDict_SetItemString(d
,"DateTime_Gr_Sweden", SWIG_FromInt((int)wxDateTime::Gr_Sweden
));
30047 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland", SWIG_FromInt((int)wxDateTime::Gr_Switzerland
));
30048 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Catholic", SWIG_FromInt((int)wxDateTime::Gr_Switzerland_Catholic
));
30049 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Protestant", SWIG_FromInt((int)wxDateTime::Gr_Switzerland_Protestant
));
30050 PyDict_SetItemString(d
,"DateTime_Gr_Turkey", SWIG_FromInt((int)wxDateTime::Gr_Turkey
));
30051 PyDict_SetItemString(d
,"DateTime_Gr_USA", SWIG_FromInt((int)wxDateTime::Gr_USA
));
30052 PyDict_SetItemString(d
,"DateTime_Gr_Wales", SWIG_FromInt((int)wxDateTime::Gr_Wales
));
30053 PyDict_SetItemString(d
,"DateTime_Gr_Yugoslavia", SWIG_FromInt((int)wxDateTime::Gr_Yugoslavia
));
30054 PyDict_SetItemString(d
,"DateTime_Country_Unknown", SWIG_FromInt((int)wxDateTime::Country_Unknown
));
30055 PyDict_SetItemString(d
,"DateTime_Country_Default", SWIG_FromInt((int)wxDateTime::Country_Default
));
30056 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_Start", SWIG_FromInt((int)wxDateTime::Country_WesternEurope_Start
));
30057 PyDict_SetItemString(d
,"DateTime_Country_EEC", SWIG_FromInt((int)wxDateTime::Country_EEC
));
30058 PyDict_SetItemString(d
,"DateTime_France", SWIG_FromInt((int)wxDateTime::France
));
30059 PyDict_SetItemString(d
,"DateTime_Germany", SWIG_FromInt((int)wxDateTime::Germany
));
30060 PyDict_SetItemString(d
,"DateTime_UK", SWIG_FromInt((int)wxDateTime::UK
));
30061 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_End", SWIG_FromInt((int)wxDateTime::Country_WesternEurope_End
));
30062 PyDict_SetItemString(d
,"DateTime_Russia", SWIG_FromInt((int)wxDateTime::Russia
));
30063 PyDict_SetItemString(d
,"DateTime_USA", SWIG_FromInt((int)wxDateTime::USA
));
30064 PyDict_SetItemString(d
,"DateTime_Jan", SWIG_FromInt((int)wxDateTime::Jan
));
30065 PyDict_SetItemString(d
,"DateTime_Feb", SWIG_FromInt((int)wxDateTime::Feb
));
30066 PyDict_SetItemString(d
,"DateTime_Mar", SWIG_FromInt((int)wxDateTime::Mar
));
30067 PyDict_SetItemString(d
,"DateTime_Apr", SWIG_FromInt((int)wxDateTime::Apr
));
30068 PyDict_SetItemString(d
,"DateTime_May", SWIG_FromInt((int)wxDateTime::May
));
30069 PyDict_SetItemString(d
,"DateTime_Jun", SWIG_FromInt((int)wxDateTime::Jun
));
30070 PyDict_SetItemString(d
,"DateTime_Jul", SWIG_FromInt((int)wxDateTime::Jul
));
30071 PyDict_SetItemString(d
,"DateTime_Aug", SWIG_FromInt((int)wxDateTime::Aug
));
30072 PyDict_SetItemString(d
,"DateTime_Sep", SWIG_FromInt((int)wxDateTime::Sep
));
30073 PyDict_SetItemString(d
,"DateTime_Oct", SWIG_FromInt((int)wxDateTime::Oct
));
30074 PyDict_SetItemString(d
,"DateTime_Nov", SWIG_FromInt((int)wxDateTime::Nov
));
30075 PyDict_SetItemString(d
,"DateTime_Dec", SWIG_FromInt((int)wxDateTime::Dec
));
30076 PyDict_SetItemString(d
,"DateTime_Inv_Month", SWIG_FromInt((int)wxDateTime::Inv_Month
));
30077 PyDict_SetItemString(d
,"DateTime_Sun", SWIG_FromInt((int)wxDateTime::Sun
));
30078 PyDict_SetItemString(d
,"DateTime_Mon", SWIG_FromInt((int)wxDateTime::Mon
));
30079 PyDict_SetItemString(d
,"DateTime_Tue", SWIG_FromInt((int)wxDateTime::Tue
));
30080 PyDict_SetItemString(d
,"DateTime_Wed", SWIG_FromInt((int)wxDateTime::Wed
));
30081 PyDict_SetItemString(d
,"DateTime_Thu", SWIG_FromInt((int)wxDateTime::Thu
));
30082 PyDict_SetItemString(d
,"DateTime_Fri", SWIG_FromInt((int)wxDateTime::Fri
));
30083 PyDict_SetItemString(d
,"DateTime_Sat", SWIG_FromInt((int)wxDateTime::Sat
));
30084 PyDict_SetItemString(d
,"DateTime_Inv_WeekDay", SWIG_FromInt((int)wxDateTime::Inv_WeekDay
));
30085 PyDict_SetItemString(d
,"DateTime_Inv_Year", SWIG_FromInt((int)wxDateTime::Inv_Year
));
30086 PyDict_SetItemString(d
,"DateTime_Name_Full", SWIG_FromInt((int)wxDateTime::Name_Full
));
30087 PyDict_SetItemString(d
,"DateTime_Name_Abbr", SWIG_FromInt((int)wxDateTime::Name_Abbr
));
30088 PyDict_SetItemString(d
,"DateTime_Default_First", SWIG_FromInt((int)wxDateTime::Default_First
));
30089 PyDict_SetItemString(d
,"DateTime_Monday_First", SWIG_FromInt((int)wxDateTime::Monday_First
));
30090 PyDict_SetItemString(d
,"DateTime_Sunday_First", SWIG_FromInt((int)wxDateTime::Sunday_First
));
30091 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultDateTime",_wrap_DefaultDateTime_get
, _wrap_DefaultDateTime_set
);
30092 PyDict_SetItemString(d
,"DF_INVALID", SWIG_FromInt((int)wxDF_INVALID
));
30093 PyDict_SetItemString(d
,"DF_TEXT", SWIG_FromInt((int)wxDF_TEXT
));
30094 PyDict_SetItemString(d
,"DF_BITMAP", SWIG_FromInt((int)wxDF_BITMAP
));
30095 PyDict_SetItemString(d
,"DF_METAFILE", SWIG_FromInt((int)wxDF_METAFILE
));
30096 PyDict_SetItemString(d
,"DF_SYLK", SWIG_FromInt((int)wxDF_SYLK
));
30097 PyDict_SetItemString(d
,"DF_DIF", SWIG_FromInt((int)wxDF_DIF
));
30098 PyDict_SetItemString(d
,"DF_TIFF", SWIG_FromInt((int)wxDF_TIFF
));
30099 PyDict_SetItemString(d
,"DF_OEMTEXT", SWIG_FromInt((int)wxDF_OEMTEXT
));
30100 PyDict_SetItemString(d
,"DF_DIB", SWIG_FromInt((int)wxDF_DIB
));
30101 PyDict_SetItemString(d
,"DF_PALETTE", SWIG_FromInt((int)wxDF_PALETTE
));
30102 PyDict_SetItemString(d
,"DF_PENDATA", SWIG_FromInt((int)wxDF_PENDATA
));
30103 PyDict_SetItemString(d
,"DF_RIFF", SWIG_FromInt((int)wxDF_RIFF
));
30104 PyDict_SetItemString(d
,"DF_WAVE", SWIG_FromInt((int)wxDF_WAVE
));
30105 PyDict_SetItemString(d
,"DF_UNICODETEXT", SWIG_FromInt((int)wxDF_UNICODETEXT
));
30106 PyDict_SetItemString(d
,"DF_ENHMETAFILE", SWIG_FromInt((int)wxDF_ENHMETAFILE
));
30107 PyDict_SetItemString(d
,"DF_FILENAME", SWIG_FromInt((int)wxDF_FILENAME
));
30108 PyDict_SetItemString(d
,"DF_LOCALE", SWIG_FromInt((int)wxDF_LOCALE
));
30109 PyDict_SetItemString(d
,"DF_PRIVATE", SWIG_FromInt((int)wxDF_PRIVATE
));
30110 PyDict_SetItemString(d
,"DF_HTML", SWIG_FromInt((int)wxDF_HTML
));
30111 PyDict_SetItemString(d
,"DF_MAX", SWIG_FromInt((int)wxDF_MAX
));
30112 SWIG_addvarlink(SWIG_globals
,(char*)"FormatInvalid",_wrap_FormatInvalid_get
, _wrap_FormatInvalid_set
);
30113 PyDict_SetItemString(d
,"DataObject_Get", SWIG_FromInt((int)wxDataObject::Get
));
30114 PyDict_SetItemString(d
,"DataObject_Set", SWIG_FromInt((int)wxDataObject::Set
));
30115 PyDict_SetItemString(d
,"DataObject_Both", SWIG_FromInt((int)wxDataObject::Both
));
30116 PyDict_SetItemString(d
,"Drag_CopyOnly", SWIG_FromInt((int)wxDrag_CopyOnly
));
30117 PyDict_SetItemString(d
,"Drag_AllowMove", SWIG_FromInt((int)wxDrag_AllowMove
));
30118 PyDict_SetItemString(d
,"Drag_DefaultMove", SWIG_FromInt((int)wxDrag_DefaultMove
));
30119 PyDict_SetItemString(d
,"DragError", SWIG_FromInt((int)wxDragError
));
30120 PyDict_SetItemString(d
,"DragNone", SWIG_FromInt((int)wxDragNone
));
30121 PyDict_SetItemString(d
,"DragCopy", SWIG_FromInt((int)wxDragCopy
));
30122 PyDict_SetItemString(d
,"DragMove", SWIG_FromInt((int)wxDragMove
));
30123 PyDict_SetItemString(d
,"DragLink", SWIG_FromInt((int)wxDragLink
));
30124 PyDict_SetItemString(d
,"DragCancel", SWIG_FromInt((int)wxDragCancel
));
30126 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
30127 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
30128 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
30129 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
30131 SWIG_addvarlink(SWIG_globals
,(char*)"TheClipboard",_wrap_TheClipboard_get
, _wrap_TheClipboard_set
);
30132 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultVideoMode",_wrap_DefaultVideoMode_get
, _wrap_DefaultVideoMode_set
);