1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
52 /***********************************************************************
53 * common.swg for wxPython
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
60 ************************************************************************/
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
90 # define SWIGRUNTIME(a) static a
97 typedef void *(*swig_converter_func
)(void *);
98 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
100 typedef struct swig_type_info
{
102 swig_converter_func converter
;
105 swig_dycast_func dcast
;
106 struct swig_type_info
*next
;
107 struct swig_type_info
*prev
;
111 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
114 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
116 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
126 /***********************************************************************
127 * pyrun.swg for wxPython
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
134 ************************************************************************/
142 #define SWIG_PY_INT 1
143 #define SWIG_PY_FLOAT 2
144 #define SWIG_PY_STRING 3
145 #define SWIG_PY_POINTER 4
146 #define SWIG_PY_BINARY 5
148 /* Flags for pointer conversion */
150 #define SWIG_POINTER_EXCEPTION 0x1
151 #define SWIG_POINTER_DISOWN 0x2
153 /* Exception handling in wrappers */
154 #define SWIG_fail goto fail
156 /* Constant information structure */
157 typedef struct swig_const_info
{
163 swig_type_info
**ptype
;
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183 #define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
186 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
189 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
191 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
194 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
198 /* Contract support */
200 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
207 /* -------- TYPES TABLE (BEGIN) -------- */
209 #define SWIGTYPE_p_wxLogChain swig_types[0]
210 #define SWIGTYPE_p_wxMutexGuiLocker swig_types[1]
211 #define SWIGTYPE_p_wxMetafile swig_types[2]
212 #define SWIGTYPE_p_wxFileHistory swig_types[3]
213 #define SWIGTYPE_p_wxLog swig_types[4]
214 #define SWIGTYPE_p_wxDateTime__TimeZone swig_types[5]
215 #define SWIGTYPE_p_wxMenu swig_types[6]
216 #define SWIGTYPE_p_wxEvent swig_types[7]
217 #define SWIGTYPE_p_wxConfigBase swig_types[8]
218 #define SWIGTYPE_p_wxDisplay swig_types[9]
219 #define SWIGTYPE_p_wxFileType swig_types[10]
220 #define SWIGTYPE_p_wxLogGui swig_types[11]
221 #define SWIGTYPE_p_wxFont swig_types[12]
222 #define SWIGTYPE_p_wxDataFormat swig_types[13]
223 #define SWIGTYPE_p_wxTimerEvent swig_types[14]
224 #define SWIGTYPE_p_wxCaret swig_types[15]
225 #define SWIGTYPE_p_int swig_types[16]
226 #define SWIGTYPE_p_wxSize swig_types[17]
227 #define SWIGTYPE_p_wxClipboard swig_types[18]
228 #define SWIGTYPE_p_wxStopWatch swig_types[19]
229 #define SWIGTYPE_p_wxDC swig_types[20]
230 #define SWIGTYPE_p_wxClipboardLocker swig_types[21]
231 #define SWIGTYPE_p_wxIcon swig_types[22]
232 #define SWIGTYPE_p_wxLogStderr swig_types[23]
233 #define SWIGTYPE_p_wxLogTextCtrl swig_types[24]
234 #define SWIGTYPE_p_wxTextCtrl swig_types[25]
235 #define SWIGTYPE_p_wxBusyCursor swig_types[26]
236 #define SWIGTYPE_p_wxPyBitmapDataObject swig_types[27]
237 #define SWIGTYPE_p_wxPyTextDataObject swig_types[28]
238 #define SWIGTYPE_p_wxBitmapDataObject swig_types[29]
239 #define SWIGTYPE_p_wxTextDataObject swig_types[30]
240 #define SWIGTYPE_p_wxDataObject swig_types[31]
241 #define SWIGTYPE_p_wxFileDataObject swig_types[32]
242 #define SWIGTYPE_p_wxCustomDataObject swig_types[33]
243 #define SWIGTYPE_p_wxURLDataObject swig_types[34]
244 #define SWIGTYPE_p_wxMetafileDataObject swig_types[35]
245 #define SWIGTYPE_p_wxSound swig_types[36]
246 #define SWIGTYPE_p_wxTimerRunner swig_types[37]
247 #define SWIGTYPE_p_wxLogWindow swig_types[38]
248 #define SWIGTYPE_p_wxTimeSpan swig_types[39]
249 #define SWIGTYPE_p_wxArrayString swig_types[40]
250 #define SWIGTYPE_p_wxWindowDisabler swig_types[41]
251 #define SWIGTYPE_p_wxToolTip swig_types[42]
252 #define SWIGTYPE_p_wxDataObjectComposite swig_types[43]
253 #define SWIGTYPE_p_wxFileConfig swig_types[44]
254 #define SWIGTYPE_p_wxSystemSettings swig_types[45]
255 #define SWIGTYPE_p_wxVideoMode swig_types[46]
256 #define SWIGTYPE_p_wxPyDataObjectSimple swig_types[47]
257 #define SWIGTYPE_p_wxDataObjectSimple swig_types[48]
258 #define SWIGTYPE_p_wxEvtHandler swig_types[49]
259 #define SWIGTYPE_p_wxRect swig_types[50]
260 #define SWIGTYPE_p_char swig_types[51]
261 #define SWIGTYPE_p_wxSingleInstanceChecker swig_types[52]
262 #define SWIGTYPE_p_wxFileTypeInfo swig_types[53]
263 #define SWIGTYPE_p_wxFrame swig_types[54]
264 #define SWIGTYPE_p_wxTimer swig_types[55]
265 #define SWIGTYPE_p_wxMimeTypesManager swig_types[56]
266 #define SWIGTYPE_p_wxPyArtProvider swig_types[57]
267 #define SWIGTYPE_p_wxPyTipProvider swig_types[58]
268 #define SWIGTYPE_p_wxTipProvider swig_types[59]
269 #define SWIGTYPE_p_wxJoystick swig_types[60]
270 #define SWIGTYPE_p_wxSystemOptions swig_types[61]
271 #define SWIGTYPE_p_wxPoint swig_types[62]
272 #define SWIGTYPE_p_wxJoystickEvent swig_types[63]
273 #define SWIGTYPE_p_wxCursor swig_types[64]
274 #define SWIGTYPE_p_wxObject swig_types[65]
275 #define SWIGTYPE_p_wxOutputStream swig_types[66]
276 #define SWIGTYPE_p_wxDateTime swig_types[67]
277 #define SWIGTYPE_p_wxPyDropSource swig_types[68]
278 #define SWIGTYPE_p_wxWindow swig_types[69]
279 #define SWIGTYPE_p_wxString swig_types[70]
280 #define SWIGTYPE_p_wxPyProcess swig_types[71]
281 #define SWIGTYPE_p_wxBitmap swig_types[72]
282 #define SWIGTYPE_p_wxConfig swig_types[73]
283 #define SWIGTYPE_p_wxChar swig_types[74]
284 #define SWIGTYPE_p_wxBusyInfo swig_types[75]
285 #define SWIGTYPE_p_wxPyDropTarget swig_types[76]
286 #define SWIGTYPE_p_wxPyTextDropTarget swig_types[77]
287 #define SWIGTYPE_p_wxPyFileDropTarget swig_types[78]
288 #define SWIGTYPE_p_wxProcessEvent swig_types[79]
289 #define SWIGTYPE_p_wxPyLog swig_types[80]
290 #define SWIGTYPE_p_wxLogNull swig_types[81]
291 #define SWIGTYPE_p_wxColour swig_types[82]
292 #define SWIGTYPE_p_wxConfigPathChanger swig_types[83]
293 #define SWIGTYPE_p_wxPyTimer swig_types[84]
294 #define SWIGTYPE_p_wxDateSpan swig_types[85]
295 static swig_type_info
*swig_types
[87];
297 /* -------- TYPES TABLE (END) -------- */
300 /*-----------------------------------------------
301 @(target):= _misc_.so
302 ------------------------------------------------*/
303 #define SWIG_init init_misc_
305 #define SWIG_name "_misc_"
307 /* Auxiliar swig macros */
310 #define SWIGSTATICINLINE(a) static inline a
311 #define SWIGSTATIC(a) static a
312 #define swig_new_array(type, size) (new type[(size)])
313 #define swig_delete_array(cptr) delete[] cptr
314 #define swig_const_cast(type,a) const_cast<type>(a)
315 #define swig_static_cast(type,a) static_cast<type>(a)
316 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
318 #ifdef HAVE_NUMERIC_CAST
319 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
321 #define swig_numeric_cast(type,a) static_cast<type>(a)
326 #define SWIGSTATICINLINE(a) static a
327 #define SWIGSTATIC(a) static a
328 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
329 #define swig_delete_array(cptr) free((char*)cptr)
330 #define swig_const_cast(type,a) (type)(a)
331 #define swig_static_cast(type,a) (type)(a)
332 #define swig_reinterpret_cast(type,a) (type)(a)
333 #define swig_numeric_cast(type,a) (type)(a)
335 #endif /* __cplusplus */
338 #define SWIG_FromSignedChar PyInt_FromLong
339 #define SWIG_FromUnsignedChar PyInt_FromLong
340 #define SWIG_FromShort PyInt_FromLong
341 #define SWIG_FromUnsignedShort PyInt_FromLong
342 #define SWIG_FromInt PyInt_FromLong
343 #define SWIG_FromLong PyInt_FromLong
344 #define SWIG_FromFloat PyFloat_FromDouble
345 #define SWIG_FromDouble PyFloat_FromDouble
346 #define SWIG_FromFloat PyFloat_FromDouble
347 #define SWIG_FromDouble PyFloat_FromDouble
350 #include "wx/wxPython/wxPython.h"
351 #include "wx/wxPython/pyclasses.h"
352 #include "wx/wxPython/pyistream.h"
354 static const wxString
wxPyEmptyString(wxEmptyString
);
361 SWIGSTATICINLINE(long)
362 SWIG_CheckLongInRange(long value
, const char* type
,
363 long min_value
, long max_value
)
365 if (!PyErr_Occurred()) {
366 if (value
< min_value
) {
368 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
369 value
, type
, min_value
);
371 PyErr_SetObject(PyExc_OverflowError
, err
);
373 } else if (value
> max_value
) {
375 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
376 value
, type
, max_value
);
377 PyErr_SetObject(PyExc_OverflowError
, err
);
385 SWIGSTATICINLINE(long)
386 SWIG_AsLong(PyObject
* obj
)
388 if (PyNumber_Check(obj
))
389 return PyInt_AsLong(obj
);
391 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
392 obj
->ob_type
->tp_name
);
393 PyErr_SetObject(PyExc_TypeError
, errmsg
);
400 #if INT_MAX != LONG_MAX
401 SWIGSTATICINLINE(int)
402 SWIG_AsInt(PyObject
*obj
)
404 return swig_numeric_cast(int,
405 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
406 "int", INT_MIN
, INT_MAX
));
409 #define SWIG_AsInt SWIG_AsLong
413 SWIGSTATICINLINE(int)
414 SWIG_CheckInt(PyObject
* obj
)
417 if (PyErr_Occurred()) {
425 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
426 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
427 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
429 SWIGSTATICINLINE(int)
430 SWIG_CheckLong(PyObject
* obj
)
433 if (PyErr_Occurred()) {
442 SWIGSTATICINLINE(bool)
443 SWIG_AsBool(PyObject
*obj
)
445 return PyObject_IsTrue(obj
) ? true : false;
449 SWIGSTATICINLINE(int)
450 SWIG_CheckBool(PyObject
* obj
)
453 if (PyErr_Occurred()) {
462 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
468 } else if (target
== Py_None
) {
472 if (!PyTuple_Check(target
)) {
474 target
= PyTuple_New(1);
475 PyTuple_SetItem(target
, 0, o2
);
478 PyTuple_SetItem(o3
, 0, o
);
481 target
= PySequence_Concat(o2
, o3
);
489 SWIGSTATICINLINE(unsigned long)
490 SWIG_AsUnsignedLong(PyObject
* obj
)
492 if (PyLong_Check(obj
)) {
493 return PyLong_AsUnsignedLong(obj
);
495 long i
= SWIG_AsLong(obj
);
496 if ( !PyErr_Occurred() && (i
< 0)) {
497 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
504 SWIGSTATICINLINE(int)
505 SWIG_CheckUnsignedLong(PyObject
* obj
)
507 SWIG_AsUnsignedLong(obj
);
508 if (PyErr_Occurred()) {
517 SWIGSTATICINLINE(PyObject
* )
518 SWIG_FromUnsignedLong(unsigned long value
)
520 return (value
> LONG_MAX
) ?
521 PyLong_FromUnsignedLong(value
)
522 : PyInt_FromLong(swig_numeric_cast(long,value
));
526 bool wxThread_IsMain() {
527 #ifdef WXP_WITH_THREAD
528 return wxThread::IsMain();
535 int wxCaret_GetBlinkTime() {
536 return wxCaret::GetBlinkTime();
539 void wxCaret_SetBlinkTime(int milliseconds
) {
540 wxCaret::SetBlinkTime(milliseconds
);
544 #include <wx/snglinst.h>
548 #include <wx/msw/private.h>
549 #include <wx/dynload.h>
554 void wxDrawWindowOnDC(wxWindow
* window
, const wxDC
& dc
, int method
)
561 // This one only partially works. Appears to be an undocumented
562 // "standard" convention that not all widgets adhear to. For
563 // example, for some widgets backgrounds or non-client areas may
565 ::SendMessage(GetHwndOf(window
), WM_PAINT
, (long)GetHdcOf(dc
), 0);
569 // This one works much better, except for on XP. On Win2k nearly
570 // all widgets and their children are captured correctly[**]. On
571 // XP with Themes activated most native widgets draw only
572 // partially, if at all. Without themes it works just like on
575 // ** For example the radio buttons in a wxRadioBox are not its
576 // children by default, but you can capture it via the panel
577 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
578 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
579 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
580 PRF_ERASEBKGND
| PRF_OWNED
);
584 // This one is only defined in the latest SDK and is only
585 // available on XP. MSDN says it is similar to sending WM_PRINT
586 // so I expect that it will work similar to the above. Since it
587 // is avaialble only on XP, it can't be compiled like this and
588 // will have to be loaded dynamically.
589 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
594 // Use PrintWindow if available, or fallback to WM_PRINT
595 // otherwise. Unfortunately using PrintWindow is even worse than
596 // WM_PRINT. For most native widgets nothing is drawn to the dc
597 // at all, with or without Themes.
598 typedef BOOL (WINAPI
*PrintWindow_t
)(HWND
, HDC
, UINT
);
599 static bool s_triedToLoad
= False
;
600 static PrintWindow_t pfnPrintWindow
= NULL
;
601 if ( !s_triedToLoad
)
604 s_triedToLoad
= True
;
605 wxDynamicLibrary
dllUser32(_T("user32.dll"));
606 if ( dllUser32
.IsLoaded() )
608 wxLogNull nolog
; // Don't report errors here
609 pfnPrintWindow
= (PrintWindow_t
)dllUser32
.GetSymbol(_T("PrintWindow"));
614 printf("Using PrintWindow\n");
615 pfnPrintWindow(GetHwndOf(window
), GetHdcOf(dc
), 0);
619 printf("Using WM_PRINT\n");
620 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
621 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
| PRF_ERASEBKGND
| PRF_OWNED
);
629 #include <wx/tipdlg.h>
632 class wxPyTipProvider
: public wxTipProvider
{
634 wxPyTipProvider(size_t currentTip
)
635 : wxTipProvider(currentTip
) {}
637 DEC_PYCALLBACK_STRING__pure(GetTip
);
638 DEC_PYCALLBACK_STRING_STRING(PreprocessTip
);
642 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
643 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider
, wxTipProvider
, PreprocessTip
);
646 //IMP_PYCALLBACK__(wxPyTimer, wxTimer, Notify);
648 IMPLEMENT_ABSTRACT_CLASS(wxPyTimer
, wxTimer
);
650 void wxPyTimer::Notify() {
652 bool blocked
= wxPyBeginBlockThreads();
653 if ((found
= wxPyCBH_findCallback(m_myInst
, "Notify")))
654 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("()"));
655 wxPyEndBlockThreads(blocked
);
659 void wxPyTimer::base_Notify() {
665 SWIGSTATICINLINE(PyObject
*)
666 SWIG_FromCharPtr(const char* cptr
)
668 size_t size
= cptr
? strlen(cptr
) : 0;
670 if (size
> INT_MAX
) {
671 return SWIG_NewPointerObj(swig_const_cast(char*,cptr
),
672 SWIG_TypeQuery("char *"), 0);
674 return PyString_FromStringAndSize(cptr
, swig_numeric_cast(int,size
));
683 SWIGSTATICINLINE(unsigned long)
684 SWIG_CheckUnsignedLongInRange(unsigned long value
, const char* type
,
685 unsigned long max_value
)
687 if (!PyErr_Occurred()) {
688 if (value
> max_value
) {
690 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
691 value
, type
, max_value
);
692 PyErr_SetObject(PyExc_OverflowError
, err
);
700 #if UINT_MAX != ULONG_MAX
701 SWIGSTATICINLINE(unsigned int)
702 SWIG_AsUnsignedInt(PyObject
*obj
)
704 return swig_numeric_cast(unsigned int,
705 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj
),
706 "unsigned int", UINT_MAX
));
709 #define SWIG_AsUnsignedInt SWIG_AsUnsignedLong
713 SWIGSTATICINLINE(int)
714 SWIG_CheckUnsignedInt(PyObject
* obj
)
716 SWIG_AsUnsignedInt(obj
);
717 if (PyErr_Occurred()) {
725 wxString
Log_TimeStamp(){
727 wxLog::TimeStamp(&msg
);
730 void wxLog_Destroy(wxLog
*self
){ delete self
; }
732 // A wxLog class that can be derived from in wxPython
733 class wxPyLog
: public wxLog
{
735 wxPyLog() : wxLog() {}
737 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
739 bool blocked
= wxPyBeginBlockThreads();
740 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog"))) {
741 PyObject
* s
= wx2PyString(szString
);
742 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iOi)", level
, s
, t
));
745 wxPyEndBlockThreads(blocked
);
747 wxLog::DoLog(level
, szString
, t
);
750 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
752 bool blocked
= wxPyBeginBlockThreads();
753 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString"))) {
754 PyObject
* s
= wx2PyString(szString
);
755 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(Oi)", s
, t
));
758 wxPyEndBlockThreads(blocked
);
760 wxLog::DoLogString(szString
, t
);
769 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
772 #include <wx/joystick.h>
775 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
776 // A C++ stub class for wxJoystick for platforms that don't have it.
777 class wxJoystick
: public wxObject
{
779 wxJoystick(int joystick
= wxJOYSTICK1
) {
780 bool blocked
= wxPyBeginBlockThreads();
781 PyErr_SetString(PyExc_NotImplementedError
,
782 "wxJoystick is not available on this platform.");
783 wxPyEndBlockThreads(blocked
);
785 wxPoint
GetPosition() { return wxPoint(-1,-1); }
786 int GetZPosition() { return -1; }
787 int GetButtonState() { return -1; }
788 int GetPOVPosition() { return -1; }
789 int GetPOVCTSPosition() { return -1; }
790 int GetRudderPosition() { return -1; }
791 int GetUPosition() { return -1; }
792 int GetVPosition() { return -1; }
793 int GetMovementThreshold() { return -1; }
794 void SetMovementThreshold(int threshold
) {}
796 bool IsOk(void) { return False
; }
797 int GetNumberJoysticks() { return -1; }
798 int GetManufacturerId() { return -1; }
799 int GetProductId() { return -1; }
800 wxString
GetProductName() { return wxEmptyString
; }
801 int GetXMin() { return -1; }
802 int GetYMin() { return -1; }
803 int GetZMin() { return -1; }
804 int GetXMax() { return -1; }
805 int GetYMax() { return -1; }
806 int GetZMax() { return -1; }
807 int GetNumberButtons() { return -1; }
808 int GetNumberAxes() { return -1; }
809 int GetMaxButtons() { return -1; }
810 int GetMaxAxes() { return -1; }
811 int GetPollingMin() { return -1; }
812 int GetPollingMax() { return -1; }
813 int GetRudderMin() { return -1; }
814 int GetRudderMax() { return -1; }
815 int GetUMin() { return -1; }
816 int GetUMax() { return -1; }
817 int GetVMin() { return -1; }
818 int GetVMax() { return -1; }
820 bool HasRudder() { return False
; }
821 bool HasZ() { return False
; }
822 bool HasU() { return False
; }
823 bool HasV() { return False
; }
824 bool HasPOV() { return False
; }
825 bool HasPOV4Dir() { return False
; }
826 bool HasPOVCTS() { return False
; }
828 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return False
; }
829 bool ReleaseCapture() { return False
; }
834 #include <wx/sound.h>
838 // A C++ stub class for wxWave for platforms that don't have it.
839 class wxSound
: public wxObject
843 bool blocked
= wxPyBeginBlockThreads();
844 PyErr_SetString(PyExc_NotImplementedError
,
845 "wxSound is not available on this platform.");
846 wxPyEndBlockThreads(blocked
);
848 wxSound(const wxString
&/*, bool*/) {
849 bool blocked
= wxPyBeginBlockThreads();
850 PyErr_SetString(PyExc_NotImplementedError
,
851 "wxSound is not available on this platform.");
852 wxPyEndBlockThreads(blocked
);
854 wxSound(int, const wxByte
*) {
855 bool blocked
= wxPyBeginBlockThreads();
856 PyErr_SetString(PyExc_NotImplementedError
,
857 "wxSound is not available on this platform.");
858 wxPyEndBlockThreads(blocked
);
863 bool Create(const wxString
&/*, bool*/) { return false; }
864 bool Create(int, const wxByte
*) { return false; };
865 bool IsOk() { return false; };
866 bool Play(unsigned) const { return false; }
867 static bool Play(const wxString
&, unsigned) { return false; }
868 static void Stop() {}
873 wxSound
*new_wxSound(wxString
const &fileName
){
874 if (fileName
.Length() == 0)
877 return new wxSound(fileName
);
879 wxSound
*new_wxSound(PyObject
*data
){
880 unsigned char* buffer
; int size
;
881 wxSound
*sound
= NULL
;
883 bool blocked
= wxPyBeginBlockThreads();
884 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
886 sound
= new wxSound(size
, buffer
);
888 wxPyEndBlockThreads(blocked
);
891 bool wxSound_CreateFromData(wxSound
*self
,PyObject
*data
){
893 unsigned char* buffer
;
897 bool blocked
= wxPyBeginBlockThreads();
898 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
900 rv
= self
->Create(size
, buffer
);
902 wxPyEndBlockThreads(blocked
);
905 bool blocked
= wxPyBeginBlockThreads();
906 PyErr_SetString(PyExc_NotImplementedError
,
907 "Create from data is not available on this platform.");
908 wxPyEndBlockThreads(blocked
);
913 #include <wx/mimetype.h>
915 PyObject
*wxFileType_GetMimeType(wxFileType
*self
){
917 if (self
->GetMimeType(&str
))
918 return wx2PyString(str
);
922 PyObject
*wxFileType_GetMimeTypes(wxFileType
*self
){
924 if (self
->GetMimeTypes(arr
))
925 return wxArrayString2PyList_helper(arr
);
929 PyObject
*wxFileType_GetExtensions(wxFileType
*self
){
931 if (self
->GetExtensions(arr
))
932 return wxArrayString2PyList_helper(arr
);
936 wxIcon
*wxFileType_GetIcon(wxFileType
*self
){
938 if (self
->GetIcon(&loc
))
939 return new wxIcon(loc
);
943 PyObject
*wxFileType_GetIconInfo(wxFileType
*self
){
945 if (self
->GetIcon(&loc
)) {
946 wxString iconFile
= loc
.GetFileName();
949 iconIndex
= loc
.GetIndex();
951 // Make a tuple and put the values in it
952 bool blocked
= wxPyBeginBlockThreads();
953 PyObject
* tuple
= PyTuple_New(3);
954 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(loc
),
955 wxT("wxIcon"), True
));
956 PyTuple_SetItem(tuple
, 1, wx2PyString(iconFile
));
957 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
958 wxPyEndBlockThreads(blocked
);
964 PyObject
*wxFileType_GetDescription(wxFileType
*self
){
966 if (self
->GetDescription(&str
))
967 return wx2PyString(str
);
971 PyObject
*wxFileType_GetOpenCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
973 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
974 return wx2PyString(str
);
978 PyObject
*wxFileType_GetPrintCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
980 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
981 return wx2PyString(str
);
985 PyObject
*wxFileType_GetAllCommands(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
987 wxArrayString commands
;
988 if (self
->GetAllCommands(&verbs
, &commands
,
989 wxFileType::MessageParameters(filename
, mimetype
))) {
990 bool blocked
= wxPyBeginBlockThreads();
991 PyObject
* tuple
= PyTuple_New(2);
992 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
993 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
994 wxPyEndBlockThreads(blocked
);
1000 wxString
FileType_ExpandCommand(wxString
const &command
,wxString
const &filename
,wxString
const &mimetype
){
1001 return wxFileType::ExpandCommand(command
,
1002 wxFileType::MessageParameters(filename
, mimetype
));
1004 PyObject
*wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
){
1006 self
->EnumAllFileTypes(arr
);
1007 return wxArrayString2PyList_helper(arr
);
1010 #include <wx/artprov.h>
1012 static const wxString
wxPyART_TOOLBAR(wxART_TOOLBAR
);
1013 static const wxString
wxPyART_MENU(wxART_MENU
);
1014 static const wxString
wxPyART_FRAME_ICON(wxART_FRAME_ICON
);
1015 static const wxString
wxPyART_CMN_DIALOG(wxART_CMN_DIALOG
);
1016 static const wxString
wxPyART_HELP_BROWSER(wxART_HELP_BROWSER
);
1017 static const wxString
wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX
);
1018 static const wxString
wxPyART_OTHER(wxART_OTHER
);
1019 static const wxString
wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK
);
1020 static const wxString
wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK
);
1021 static const wxString
wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL
);
1022 static const wxString
wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS
);
1023 static const wxString
wxPyART_HELP_BOOK(wxART_HELP_BOOK
);
1024 static const wxString
wxPyART_HELP_FOLDER(wxART_HELP_FOLDER
);
1025 static const wxString
wxPyART_HELP_PAGE(wxART_HELP_PAGE
);
1026 static const wxString
wxPyART_GO_BACK(wxART_GO_BACK
);
1027 static const wxString
wxPyART_GO_FORWARD(wxART_GO_FORWARD
);
1028 static const wxString
wxPyART_GO_UP(wxART_GO_UP
);
1029 static const wxString
wxPyART_GO_DOWN(wxART_GO_DOWN
);
1030 static const wxString
wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT
);
1031 static const wxString
wxPyART_GO_HOME(wxART_GO_HOME
);
1032 static const wxString
wxPyART_FILE_OPEN(wxART_FILE_OPEN
);
1033 static const wxString
wxPyART_PRINT(wxART_PRINT
);
1034 static const wxString
wxPyART_HELP(wxART_HELP
);
1035 static const wxString
wxPyART_TIP(wxART_TIP
);
1036 static const wxString
wxPyART_REPORT_VIEW(wxART_REPORT_VIEW
);
1037 static const wxString
wxPyART_LIST_VIEW(wxART_LIST_VIEW
);
1038 static const wxString
wxPyART_NEW_DIR(wxART_NEW_DIR
);
1039 static const wxString
wxPyART_FOLDER(wxART_FOLDER
);
1040 static const wxString
wxPyART_GO_DIR_UP(wxART_GO_DIR_UP
);
1041 static const wxString
wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE
);
1042 static const wxString
wxPyART_NORMAL_FILE(wxART_NORMAL_FILE
);
1043 static const wxString
wxPyART_TICK_MARK(wxART_TICK_MARK
);
1044 static const wxString
wxPyART_CROSS_MARK(wxART_CROSS_MARK
);
1045 static const wxString
wxPyART_ERROR(wxART_ERROR
);
1046 static const wxString
wxPyART_QUESTION(wxART_QUESTION
);
1047 static const wxString
wxPyART_WARNING(wxART_WARNING
);
1048 static const wxString
wxPyART_INFORMATION(wxART_INFORMATION
);
1049 static const wxString
wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE
);
1050 // Python aware wxArtProvider
1051 class wxPyArtProvider
: public wxArtProvider
{
1054 virtual wxBitmap
CreateBitmap(const wxArtID
& id
,
1055 const wxArtClient
& client
,
1056 const wxSize
& size
) {
1057 wxBitmap rval
= wxNullBitmap
;
1058 bool blocked
= wxPyBeginBlockThreads();
1059 if ((wxPyCBH_findCallback(m_myInst
, "CreateBitmap"))) {
1060 PyObject
* so
= wxPyConstructObject((void*)&size
, wxT("wxSize"), 0);
1064 s1
= wx2PyString(id
);
1065 s2
= wx2PyString(client
);
1066 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOO)", s1
, s2
, so
));
1071 if (wxPyConvertSwigPtr(ro
, (void**)&ptr
, wxT("wxBitmap")))
1076 wxPyEndBlockThreads(blocked
);
1083 void wxPyArtProvider_Destroy(wxPyArtProvider
*self
){ delete self
; }
1087 static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) {
1088 PyObject
* ret
= PyTuple_New(3);
1090 PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
));
1091 PyTuple_SET_ITEM(ret
, 1, wx2PyString(str
));
1092 PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
));
1097 PyObject
*wxConfigBase_GetFirstGroup(wxConfigBase
*self
){
1102 cont
= self
->GetFirstGroup(value
, index
);
1103 return __EnumerationHelper(cont
, value
, index
);
1105 PyObject
*wxConfigBase_GetNextGroup(wxConfigBase
*self
,long index
){
1109 cont
= self
->GetNextGroup(value
, index
);
1110 return __EnumerationHelper(cont
, value
, index
);
1112 PyObject
*wxConfigBase_GetFirstEntry(wxConfigBase
*self
){
1117 cont
= self
->GetFirstEntry(value
, index
);
1118 return __EnumerationHelper(cont
, value
, index
);
1120 PyObject
*wxConfigBase_GetNextEntry(wxConfigBase
*self
,long index
){
1124 cont
= self
->GetNextEntry(value
, index
);
1125 return __EnumerationHelper(cont
, value
, index
);
1127 long wxConfigBase_ReadInt(wxConfigBase
*self
,wxString
const &key
,long defaultVal
){
1129 self
->Read(key
, &rv
, defaultVal
);
1133 SWIGSTATICINLINE(double)
1134 SWIG_AsDouble(PyObject
*obj
)
1136 if (PyNumber_Check(obj
))
1137 return PyFloat_AsDouble(obj
);
1139 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
1140 obj
->ob_type
->tp_name
);
1141 PyErr_SetObject(PyExc_TypeError
, errmsg
);
1148 SWIGSTATICINLINE(int)
1149 SWIG_CheckDouble(PyObject
* obj
)
1152 if (PyErr_Occurred()) {
1160 double wxConfigBase_ReadFloat(wxConfigBase
*self
,wxString
const &key
,double defaultVal
){
1162 self
->Read(key
, &rv
, defaultVal
);
1165 bool wxConfigBase_ReadBool(wxConfigBase
*self
,wxString
const &key
,bool defaultVal
){
1167 self
->Read(key
, &rv
, defaultVal
);
1171 #include <wx/datetime.h>
1174 static const wxString
wxPyDateFormatStr(wxT("%c"));
1175 static const wxString
wxPyTimeSpanFormatStr(wxT("%H:%M:%S"));
1177 #define LOCAL_TZ wxDateTime::Local
1180 #if UINT_MAX < LONG_MAX
1181 #define SWIG_FromUnsignedInt SWIG_FromLong
1183 #define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
1186 wxDateTime
wxDateTime___add____SWIG_0(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
1187 wxDateTime
wxDateTime___add____SWIG_1(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
1188 wxTimeSpan
wxDateTime___sub____SWIG_0(wxDateTime
*self
,wxDateTime
const &other
){ return *self
- other
; }
1189 wxDateTime
wxDateTime___sub____SWIG_1(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
1190 wxDateTime
wxDateTime___sub____SWIG_2(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
- other
; }
1191 bool wxDateTime___lt__(wxDateTime
*self
,wxDateTime
const *other
){
1192 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
< other
;
1193 return (*self
< *other
);
1195 bool wxDateTime___le__(wxDateTime
*self
,wxDateTime
const *other
){
1196 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
<= other
;
1197 return (*self
<= *other
);
1199 bool wxDateTime___gt__(wxDateTime
*self
,wxDateTime
const *other
){
1200 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
> other
;
1201 return (*self
> *other
);
1203 bool wxDateTime___ge__(wxDateTime
*self
,wxDateTime
const *other
){
1204 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
>= other
;
1205 return (*self
>= *other
);
1207 bool wxDateTime___eq__(wxDateTime
*self
,wxDateTime
const *other
){
1208 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
== other
;
1209 return (*self
== *other
);
1211 bool wxDateTime___ne__(wxDateTime
*self
,wxDateTime
const *other
){
1212 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
!= other
;
1213 return (*self
!= *other
);
1215 int wxDateTime_ParseRfc822Date(wxDateTime
*self
,wxString
const &date
){
1217 const wxChar
* _date
= date
;
1218 rv
= self
->ParseRfc822Date(_date
);
1219 if (rv
== NULL
) return -1;
1222 int wxDateTime_ParseFormat(wxDateTime
*self
,wxString
const &date
,wxString
const &format
,wxDateTime
const &dateDef
){
1224 const wxChar
* _date
= date
;
1225 rv
= self
->ParseFormat(_date
, format
, dateDef
);
1226 if (rv
== NULL
) return -1;
1229 int wxDateTime_ParseDateTime(wxDateTime
*self
,wxString
const &datetime
){
1231 const wxChar
* _datetime
= datetime
;
1232 rv
= self
->ParseDateTime(_datetime
);
1233 if (rv
== NULL
) return -1;
1234 return rv
- _datetime
;
1236 int wxDateTime_ParseDate(wxDateTime
*self
,wxString
const &date
){
1238 const wxChar
* _date
= date
;
1239 rv
= self
->ParseDate(_date
);
1240 if (rv
== NULL
) return -1;
1243 int wxDateTime_ParseTime(wxDateTime
*self
,wxString
const &time
){
1245 const wxChar
* _time
= time
;
1246 rv
= self
->ParseTime(_time
);
1247 if (rv
== NULL
) return -1;
1250 wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
1251 wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
1252 wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
){ return *self
* n
; }
1253 wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
){ return n
* *self
; }
1254 bool wxTimeSpan___lt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
< *other
) : False
; }
1255 bool wxTimeSpan___le__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
<= *other
) : False
; }
1256 bool wxTimeSpan___gt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
> *other
) : True
; }
1257 bool wxTimeSpan___ge__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
>= *other
) : True
; }
1258 bool wxTimeSpan___eq__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
== *other
) : False
; }
1259 bool wxTimeSpan___ne__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
!= *other
) : True
; }
1260 wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
1261 wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
- other
; }
1262 wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
){ return *self
* n
; }
1263 wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
){ return n
* *self
; }
1264 bool wxDateSpan___eq__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
== *other
) : False
; }
1265 bool wxDateSpan___ne__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
!= *other
) : True
; }
1267 #include <wx/dataobj.h>
1269 PyObject
*wxDataObject_GetAllFormats(wxDataObject
*self
,wxDataObject::Direction dir
){
1270 size_t count
= self
->GetFormatCount(dir
);
1271 wxDataFormat
* formats
= new wxDataFormat
[count
];
1272 self
->GetAllFormats(formats
, dir
);
1274 bool blocked
= wxPyBeginBlockThreads();
1275 PyObject
* list
= PyList_New(count
);
1276 for (size_t i
=0; i
<count
; i
++) {
1277 wxDataFormat
* format
= new wxDataFormat(formats
[i
]);
1278 PyObject
* obj
= wxPyConstructObject((void*)format
, wxT("wxDataFormat"), True
);
1279 PyList_Append(list
, obj
);
1282 wxPyEndBlockThreads(blocked
);
1286 PyObject
*wxDataObject_GetDataHere(wxDataObject
*self
,wxDataFormat
const &format
){
1287 PyObject
* rval
= NULL
;
1288 size_t size
= self
->GetDataSize(format
);
1289 bool blocked
= wxPyBeginBlockThreads();
1291 char* buf
= new char[size
];
1292 if (self
->GetDataHere(format
, buf
))
1293 rval
= PyString_FromStringAndSize(buf
, size
);
1300 wxPyEndBlockThreads(blocked
);
1303 bool wxDataObject_SetData(wxDataObject
*self
,wxDataFormat
const &format
,PyObject
*data
){
1305 bool blocked
= wxPyBeginBlockThreads();
1306 if (PyString_Check(data
)) {
1307 rval
= self
->SetData(format
, PyString_Size(data
), PyString_AsString(data
));
1310 // raise a TypeError if not a string
1311 PyErr_SetString(PyExc_TypeError
, "String expected.");
1314 wxPyEndBlockThreads(blocked
);
1317 PyObject
*wxDataObjectSimple_GetDataHere(wxDataObjectSimple
*self
){
1318 PyObject
* rval
= NULL
;
1319 size_t size
= self
->GetDataSize();
1320 bool blocked
= wxPyBeginBlockThreads();
1322 char* buf
= new char[size
];
1323 if (self
->GetDataHere(buf
))
1324 rval
= PyString_FromStringAndSize(buf
, size
);
1331 wxPyEndBlockThreads(blocked
);
1334 bool wxDataObjectSimple_SetData(wxDataObjectSimple
*self
,PyObject
*data
){
1336 bool blocked
= wxPyBeginBlockThreads();
1337 if (PyString_Check(data
)) {
1338 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1341 // raise a TypeError if not a string
1342 PyErr_SetString(PyExc_TypeError
, "String expected.");
1345 wxPyEndBlockThreads(blocked
);
1348 // Create a new class for wxPython to use
1349 class wxPyDataObjectSimple
: public wxDataObjectSimple
{
1351 wxPyDataObjectSimple(const wxDataFormat
& format
= wxFormatInvalid
)
1352 : wxDataObjectSimple(format
) {}
1354 DEC_PYCALLBACK_SIZET__const(GetDataSize
);
1355 bool GetDataHere(void *buf
) const;
1356 bool SetData(size_t len
, const void *buf
) const;
1360 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple
, wxDataObjectSimple
, GetDataSize
);
1362 bool wxPyDataObjectSimple::GetDataHere(void *buf
) const {
1363 // We need to get the data for this object and write it to buf. I think
1364 // the best way to do this for wxPython is to have the Python method
1365 // return either a string or None and then act appropriately with the
1369 bool blocked
= wxPyBeginBlockThreads();
1370 if (wxPyCBH_findCallback(m_myInst
, "GetDataHere")) {
1372 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1374 rval
= (ro
!= Py_None
&& PyString_Check(ro
));
1376 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
));
1380 wxPyEndBlockThreads(blocked
);
1384 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) const{
1385 // For this one we simply need to make a string from buf and len
1386 // and send it to the Python method.
1388 bool blocked
= wxPyBeginBlockThreads();
1389 if (wxPyCBH_findCallback(m_myInst
, "SetData")) {
1390 PyObject
* data
= PyString_FromStringAndSize((char*)buf
, len
);
1391 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", data
));
1394 wxPyEndBlockThreads(blocked
);
1398 // Create a new class for wxPython to use
1399 class wxPyTextDataObject
: public wxTextDataObject
{
1401 wxPyTextDataObject(const wxString
& text
= wxPyEmptyString
)
1402 : wxTextDataObject(text
) {}
1404 DEC_PYCALLBACK_SIZET__const(GetTextLength
);
1405 DEC_PYCALLBACK_STRING__const(GetText
);
1406 DEC_PYCALLBACK__STRING(SetText
);
1410 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
);
1411 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject
, wxTextDataObject
, GetText
);
1412 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
);
1415 // Create a new class for wxPython to use
1416 class wxPyBitmapDataObject
: public wxBitmapDataObject
{
1418 wxPyBitmapDataObject(const wxBitmap
& bitmap
= wxNullBitmap
)
1419 : wxBitmapDataObject(bitmap
) {}
1421 wxBitmap
GetBitmap() const;
1422 void SetBitmap(const wxBitmap
& bitmap
);
1426 wxBitmap
wxPyBitmapDataObject::GetBitmap() const {
1427 wxBitmap
* rval
= &wxNullBitmap
;
1428 bool blocked
= wxPyBeginBlockThreads();
1429 if (wxPyCBH_findCallback(m_myInst
, "GetBitmap")) {
1432 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1434 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxBitmap")))
1439 wxPyEndBlockThreads(blocked
);
1443 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) {
1444 bool blocked
= wxPyBeginBlockThreads();
1445 if (wxPyCBH_findCallback(m_myInst
, "SetBitmap")) {
1446 PyObject
* bo
= wxPyConstructObject((void*)&bitmap
, wxT("wxBitmap"), False
);
1447 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", bo
));
1450 wxPyEndBlockThreads(blocked
);
1453 bool wxCustomDataObject_SetData(wxCustomDataObject
*self
,PyObject
*data
){
1455 bool blocked
= wxPyBeginBlockThreads();
1456 if (PyString_Check(data
)) {
1457 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1460 // raise a TypeError if not a string
1461 PyErr_SetString(PyExc_TypeError
, "String expected.");
1464 wxPyEndBlockThreads(blocked
);
1467 PyObject
*wxCustomDataObject_GetData(wxCustomDataObject
*self
){
1469 bool blocked
= wxPyBeginBlockThreads();
1470 obj
= PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize());
1471 wxPyEndBlockThreads(blocked
);
1475 #include <wx/metafile.h>
1478 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
1481 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
1482 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
1483 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
1484 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
1485 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
1488 class wxPyTextDropTarget
: public wxTextDropTarget
{
1490 wxPyTextDropTarget() {}
1492 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
1494 DEC_PYCALLBACK__(OnLeave
);
1495 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1496 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1497 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
1498 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1503 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
1504 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
1505 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
1506 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
1507 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
1508 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
1512 class wxPyFileDropTarget
: public wxFileDropTarget
{
1514 wxPyFileDropTarget() {}
1516 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
1518 DEC_PYCALLBACK__(OnLeave
);
1519 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1520 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1521 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
1522 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1527 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
1528 const wxArrayString
& filenames
) {
1530 bool blocked
= wxPyBeginBlockThreads();
1531 if (wxPyCBH_findCallback(m_myInst
, "OnDropFiles")) {
1532 PyObject
* list
= wxArrayString2PyList_helper(filenames
);
1533 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",x
,y
,list
));
1536 wxPyEndBlockThreads(blocked
);
1542 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
1543 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
1544 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
1545 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
1546 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
1551 bool wxClipboardLocker___nonzero__(wxClipboardLocker
*self
){ return !!(*self
); }
1553 #include <wx/display.h>
1555 bool wxVideoMode___eq__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
== *other
) : False
; }
1556 bool wxVideoMode___ne__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
!= *other
) : True
; }
1558 // dummy version of wxDisplay for when it is not enabled in the wxWidgets build
1560 #include <wx/dynarray.h>
1561 #include <wx/vidmode.h>
1563 WX_DECLARE_OBJARRAY(wxVideoMode
, wxArrayVideoModes
);
1564 #include "wx/arrimpl.cpp"
1565 WX_DEFINE_OBJARRAY(wxArrayVideoModes
);
1566 const wxVideoMode wxDefaultVideoMode
;
1571 wxDisplay(size_t index
= 0) { wxPyRaiseNotImplemented(); }
1574 static size_t GetCount()
1575 { wxPyRaiseNotImplemented(); return 0; }
1577 static int GetFromPoint(const wxPoint
& pt
)
1578 { wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
1579 static int GetFromWindow(wxWindow
*window
)
1580 { wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
1582 virtual bool IsOk() const { return false; }
1583 virtual wxRect
GetGeometry() const { wxRect r
; return r
; }
1584 virtual wxString
GetName() const { return wxEmptyString
; }
1585 bool IsPrimary() const { return false; }
1587 wxArrayVideoModes
GetModes(const wxVideoMode
& mode
= wxDefaultVideoMode
)
1588 { wxArrayVideoModes a
; return a
; }
1590 virtual wxVideoMode
GetCurrentMode() const
1591 { return wxDefaultVideoMode
; }
1593 virtual bool ChangeMode(const wxVideoMode
& mode
= wxDefaultVideoMode
)
1600 PyObject
*wxDisplay_GetModes(wxDisplay
*self
,wxVideoMode
const &mode
){
1601 PyObject
* pyList
= NULL
;
1602 wxArrayVideoModes arr
= self
->GetModes(mode
);
1603 bool blocked
= wxPyBeginBlockThreads();
1604 pyList
= PyList_New(0);
1605 for (int i
=0; i
< arr
.GetCount(); i
++) {
1606 wxVideoMode
* m
= new wxVideoMode(arr
.Item(i
));
1607 PyObject
* pyObj
= wxPyConstructObject(m
, wxT("wxVideoMode"), true);
1608 PyList_Append(pyList
, pyObj
);
1611 wxPyEndBlockThreads(blocked
);
1617 static PyObject
*_wrap_SystemSettings_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1618 PyObject
*resultobj
;
1621 PyObject
* obj0
= 0 ;
1623 (char *) "index", NULL
1626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetColour",kwnames
,&obj0
)) goto fail
;
1627 arg1
= (wxSystemColour
) SWIG_AsInt(obj0
);
1628 if (PyErr_Occurred()) SWIG_fail
;
1630 if (!wxPyCheckForApp()) SWIG_fail
;
1631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1632 result
= wxSystemSettings::GetColour((wxSystemColour
)arg1
);
1634 wxPyEndAllowThreads(__tstate
);
1635 if (PyErr_Occurred()) SWIG_fail
;
1638 wxColour
* resultptr
;
1639 resultptr
= new wxColour((wxColour
&) result
);
1640 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
1648 static PyObject
*_wrap_SystemSettings_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1649 PyObject
*resultobj
;
1652 PyObject
* obj0
= 0 ;
1654 (char *) "index", NULL
1657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetFont",kwnames
,&obj0
)) goto fail
;
1658 arg1
= (wxSystemFont
) SWIG_AsInt(obj0
);
1659 if (PyErr_Occurred()) SWIG_fail
;
1661 if (!wxPyCheckForApp()) SWIG_fail
;
1662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1663 result
= wxSystemSettings::GetFont((wxSystemFont
)arg1
);
1665 wxPyEndAllowThreads(__tstate
);
1666 if (PyErr_Occurred()) SWIG_fail
;
1670 resultptr
= new wxFont((wxFont
&) result
);
1671 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
1679 static PyObject
*_wrap_SystemSettings_GetMetric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1680 PyObject
*resultobj
;
1683 PyObject
* obj0
= 0 ;
1685 (char *) "index", NULL
1688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetMetric",kwnames
,&obj0
)) goto fail
;
1689 arg1
= (wxSystemMetric
) SWIG_AsInt(obj0
);
1690 if (PyErr_Occurred()) SWIG_fail
;
1692 if (!wxPyCheckForApp()) SWIG_fail
;
1693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1694 result
= (int)wxSystemSettings::GetMetric((wxSystemMetric
)arg1
);
1696 wxPyEndAllowThreads(__tstate
);
1697 if (PyErr_Occurred()) SWIG_fail
;
1699 resultobj
= SWIG_FromInt((int)result
);
1706 static PyObject
*_wrap_SystemSettings_HasFeature(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1707 PyObject
*resultobj
;
1710 PyObject
* obj0
= 0 ;
1712 (char *) "index", NULL
1715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_HasFeature",kwnames
,&obj0
)) goto fail
;
1716 arg1
= (wxSystemFeature
) SWIG_AsInt(obj0
);
1717 if (PyErr_Occurred()) SWIG_fail
;
1719 if (!wxPyCheckForApp()) SWIG_fail
;
1720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1721 result
= (bool)wxSystemSettings::HasFeature((wxSystemFeature
)arg1
);
1723 wxPyEndAllowThreads(__tstate
);
1724 if (PyErr_Occurred()) SWIG_fail
;
1727 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1735 static PyObject
*_wrap_SystemSettings_GetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1736 PyObject
*resultobj
;
1742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SystemSettings_GetScreenType",kwnames
)) goto fail
;
1744 if (!wxPyCheckForApp()) SWIG_fail
;
1745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1746 result
= (int)wxSystemSettings::GetScreenType();
1748 wxPyEndAllowThreads(__tstate
);
1749 if (PyErr_Occurred()) SWIG_fail
;
1751 resultobj
= SWIG_FromInt((int)result
);
1758 static PyObject
*_wrap_SystemSettings_SetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1759 PyObject
*resultobj
;
1761 PyObject
* obj0
= 0 ;
1763 (char *) "screen", NULL
1766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_SetScreenType",kwnames
,&obj0
)) goto fail
;
1767 arg1
= (wxSystemScreenType
) SWIG_AsInt(obj0
);
1768 if (PyErr_Occurred()) SWIG_fail
;
1770 if (!wxPyCheckForApp()) SWIG_fail
;
1771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1772 wxSystemSettings::SetScreenType((wxSystemScreenType
)arg1
);
1774 wxPyEndAllowThreads(__tstate
);
1775 if (PyErr_Occurred()) SWIG_fail
;
1777 Py_INCREF(Py_None
); resultobj
= Py_None
;
1784 static PyObject
* SystemSettings_swigregister(PyObject
*self
, PyObject
*args
) {
1786 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1787 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings
, obj
);
1789 return Py_BuildValue((char *)"");
1791 static PyObject
*_wrap_new_SystemOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1792 PyObject
*resultobj
;
1793 wxSystemOptions
*result
;
1798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SystemOptions",kwnames
)) goto fail
;
1800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1801 result
= (wxSystemOptions
*)new wxSystemOptions();
1803 wxPyEndAllowThreads(__tstate
);
1804 if (PyErr_Occurred()) SWIG_fail
;
1806 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSystemOptions
, 1);
1813 static PyObject
*_wrap_SystemOptions_SetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1814 PyObject
*resultobj
;
1815 wxString
*arg1
= 0 ;
1816 wxString
*arg2
= 0 ;
1817 bool temp1
= False
;
1818 bool temp2
= False
;
1819 PyObject
* obj0
= 0 ;
1820 PyObject
* obj1
= 0 ;
1822 (char *) "name",(char *) "value", NULL
1825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
1827 arg1
= wxString_in_helper(obj0
);
1828 if (arg1
== NULL
) SWIG_fail
;
1832 arg2
= wxString_in_helper(obj1
);
1833 if (arg2
== NULL
) SWIG_fail
;
1837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1838 wxSystemOptions::SetOption((wxString
const &)*arg1
,(wxString
const &)*arg2
);
1840 wxPyEndAllowThreads(__tstate
);
1841 if (PyErr_Occurred()) SWIG_fail
;
1843 Py_INCREF(Py_None
); resultobj
= Py_None
;
1866 static PyObject
*_wrap_SystemOptions_SetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1867 PyObject
*resultobj
;
1868 wxString
*arg1
= 0 ;
1870 bool temp1
= False
;
1871 PyObject
* obj0
= 0 ;
1872 PyObject
* obj1
= 0 ;
1874 (char *) "name",(char *) "value", NULL
1877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
1879 arg1
= wxString_in_helper(obj0
);
1880 if (arg1
== NULL
) SWIG_fail
;
1883 arg2
= (int) SWIG_AsInt(obj1
);
1884 if (PyErr_Occurred()) SWIG_fail
;
1886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1887 wxSystemOptions::SetOption((wxString
const &)*arg1
,arg2
);
1889 wxPyEndAllowThreads(__tstate
);
1890 if (PyErr_Occurred()) SWIG_fail
;
1892 Py_INCREF(Py_None
); resultobj
= Py_None
;
1907 static PyObject
*_wrap_SystemOptions_GetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1908 PyObject
*resultobj
;
1909 wxString
*arg1
= 0 ;
1911 bool temp1
= False
;
1912 PyObject
* obj0
= 0 ;
1914 (char *) "name", NULL
1917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) goto fail
;
1919 arg1
= wxString_in_helper(obj0
);
1920 if (arg1
== NULL
) SWIG_fail
;
1924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1925 result
= wxSystemOptions::GetOption((wxString
const &)*arg1
);
1927 wxPyEndAllowThreads(__tstate
);
1928 if (PyErr_Occurred()) SWIG_fail
;
1932 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1934 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1951 static PyObject
*_wrap_SystemOptions_GetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1952 PyObject
*resultobj
;
1953 wxString
*arg1
= 0 ;
1955 bool temp1
= False
;
1956 PyObject
* obj0
= 0 ;
1958 (char *) "name", NULL
1961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) goto fail
;
1963 arg1
= wxString_in_helper(obj0
);
1964 if (arg1
== NULL
) SWIG_fail
;
1968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1969 result
= (int)wxSystemOptions::GetOptionInt((wxString
const &)*arg1
);
1971 wxPyEndAllowThreads(__tstate
);
1972 if (PyErr_Occurred()) SWIG_fail
;
1974 resultobj
= SWIG_FromInt((int)result
);
1989 static PyObject
*_wrap_SystemOptions_HasOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1990 PyObject
*resultobj
;
1991 wxString
*arg1
= 0 ;
1993 bool temp1
= False
;
1994 PyObject
* obj0
= 0 ;
1996 (char *) "name", NULL
1999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) goto fail
;
2001 arg1
= wxString_in_helper(obj0
);
2002 if (arg1
== NULL
) SWIG_fail
;
2006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2007 result
= (bool)wxSystemOptions::HasOption((wxString
const &)*arg1
);
2009 wxPyEndAllowThreads(__tstate
);
2010 if (PyErr_Occurred()) SWIG_fail
;
2013 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2029 static PyObject
* SystemOptions_swigregister(PyObject
*self
, PyObject
*args
) {
2031 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2032 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions
, obj
);
2034 return Py_BuildValue((char *)"");
2036 static int _wrap_FileSelectorPromptStr_set(PyObject
*_val
) {
2037 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
2042 static PyObject
*_wrap_FileSelectorPromptStr_get() {
2047 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
2049 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
2056 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*_val
) {
2057 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
2062 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
2067 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
2069 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
2076 static int _wrap_DirSelectorPromptStr_set(PyObject
*_val
) {
2077 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
2082 static PyObject
*_wrap_DirSelectorPromptStr_get() {
2087 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
2089 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
2096 static PyObject
*_wrap_NewId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2097 PyObject
*resultobj
;
2103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewId",kwnames
)) goto fail
;
2105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2106 result
= (long)wxNewId();
2108 wxPyEndAllowThreads(__tstate
);
2109 if (PyErr_Occurred()) SWIG_fail
;
2111 resultobj
= SWIG_FromLong((long)result
);
2118 static PyObject
*_wrap_RegisterId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2119 PyObject
*resultobj
;
2121 PyObject
* obj0
= 0 ;
2126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegisterId",kwnames
,&obj0
)) goto fail
;
2127 arg1
= (long) SWIG_AsLong(obj0
);
2128 if (PyErr_Occurred()) SWIG_fail
;
2130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2133 wxPyEndAllowThreads(__tstate
);
2134 if (PyErr_Occurred()) SWIG_fail
;
2136 Py_INCREF(Py_None
); resultobj
= Py_None
;
2143 static PyObject
*_wrap_GetCurrentId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2144 PyObject
*resultobj
;
2150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentId",kwnames
)) goto fail
;
2152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2153 result
= (long)wxGetCurrentId();
2155 wxPyEndAllowThreads(__tstate
);
2156 if (PyErr_Occurred()) SWIG_fail
;
2158 resultobj
= SWIG_FromLong((long)result
);
2165 static PyObject
*_wrap_Bell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2166 PyObject
*resultobj
;
2171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Bell",kwnames
)) goto fail
;
2173 if (!wxPyCheckForApp()) SWIG_fail
;
2174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2177 wxPyEndAllowThreads(__tstate
);
2178 if (PyErr_Occurred()) SWIG_fail
;
2180 Py_INCREF(Py_None
); resultobj
= Py_None
;
2187 static PyObject
*_wrap_EndBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2188 PyObject
*resultobj
;
2193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EndBusyCursor",kwnames
)) goto fail
;
2195 if (!wxPyCheckForApp()) SWIG_fail
;
2196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2199 wxPyEndAllowThreads(__tstate
);
2200 if (PyErr_Occurred()) SWIG_fail
;
2202 Py_INCREF(Py_None
); resultobj
= Py_None
;
2209 static PyObject
*_wrap_GetElapsedTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2210 PyObject
*resultobj
;
2211 bool arg1
= (bool) True
;
2213 PyObject
* obj0
= 0 ;
2215 (char *) "resetTimer", NULL
2218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) goto fail
;
2220 arg1
= (bool) SWIG_AsBool(obj0
);
2221 if (PyErr_Occurred()) SWIG_fail
;
2224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2225 result
= (long)wxGetElapsedTime(arg1
);
2227 wxPyEndAllowThreads(__tstate
);
2228 if (PyErr_Occurred()) SWIG_fail
;
2230 resultobj
= SWIG_FromLong((long)result
);
2237 static PyObject
*_wrap_GetMousePosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2238 PyObject
*resultobj
;
2239 int *arg1
= (int *) 0 ;
2240 int *arg2
= (int *) 0 ;
2249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetMousePosition",kwnames
)) goto fail
;
2251 if (!wxPyCheckForApp()) SWIG_fail
;
2252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2253 wxGetMousePosition(arg1
,arg2
);
2255 wxPyEndAllowThreads(__tstate
);
2256 if (PyErr_Occurred()) SWIG_fail
;
2258 Py_INCREF(Py_None
); resultobj
= Py_None
;
2260 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
2261 resultobj
= t_output_helper(resultobj
,o
);
2264 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
2265 resultobj
= t_output_helper(resultobj
,o
);
2273 static PyObject
*_wrap_IsBusy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2274 PyObject
*resultobj
;
2280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IsBusy",kwnames
)) goto fail
;
2282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2283 result
= (bool)wxIsBusy();
2285 wxPyEndAllowThreads(__tstate
);
2286 if (PyErr_Occurred()) SWIG_fail
;
2289 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2297 static PyObject
*_wrap_Now(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2298 PyObject
*resultobj
;
2304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Now",kwnames
)) goto fail
;
2306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2309 wxPyEndAllowThreads(__tstate
);
2310 if (PyErr_Occurred()) SWIG_fail
;
2314 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2316 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2325 static PyObject
*_wrap_Shell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2326 PyObject
*resultobj
;
2327 wxString
const &arg1_defvalue
= wxPyEmptyString
;
2328 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2330 bool temp1
= False
;
2331 PyObject
* obj0
= 0 ;
2333 (char *) "command", NULL
2336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) goto fail
;
2339 arg1
= wxString_in_helper(obj0
);
2340 if (arg1
== NULL
) SWIG_fail
;
2345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2346 result
= (bool)wxShell((wxString
const &)*arg1
);
2348 wxPyEndAllowThreads(__tstate
);
2349 if (PyErr_Occurred()) SWIG_fail
;
2352 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2368 static PyObject
*_wrap_StartTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2369 PyObject
*resultobj
;
2374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StartTimer",kwnames
)) goto fail
;
2376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2379 wxPyEndAllowThreads(__tstate
);
2380 if (PyErr_Occurred()) SWIG_fail
;
2382 Py_INCREF(Py_None
); resultobj
= Py_None
;
2389 static PyObject
*_wrap_GetOsVersion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2390 PyObject
*resultobj
;
2391 int *arg1
= (int *) 0 ;
2392 int *arg2
= (int *) 0 ;
2402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsVersion",kwnames
)) goto fail
;
2404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2405 result
= (int)wxGetOsVersion(arg1
,arg2
);
2407 wxPyEndAllowThreads(__tstate
);
2408 if (PyErr_Occurred()) SWIG_fail
;
2410 resultobj
= SWIG_FromInt((int)result
);
2412 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
2413 resultobj
= t_output_helper(resultobj
,o
);
2416 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
2417 resultobj
= t_output_helper(resultobj
,o
);
2425 static PyObject
*_wrap_GetOsDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2426 PyObject
*resultobj
;
2432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsDescription",kwnames
)) goto fail
;
2434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2435 result
= wxGetOsDescription();
2437 wxPyEndAllowThreads(__tstate
);
2438 if (PyErr_Occurred()) SWIG_fail
;
2442 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2444 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2453 static PyObject
*_wrap_GetFreeMemory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2454 PyObject
*resultobj
;
2460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFreeMemory",kwnames
)) goto fail
;
2462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2463 result
= (long)wxGetFreeMemory();
2465 wxPyEndAllowThreads(__tstate
);
2466 if (PyErr_Occurred()) SWIG_fail
;
2468 resultobj
= SWIG_FromLong((long)result
);
2475 static PyObject
*_wrap_Shutdown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2476 PyObject
*resultobj
;
2479 PyObject
* obj0
= 0 ;
2481 (char *) "wFlags", NULL
2484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Shutdown",kwnames
,&obj0
)) goto fail
;
2485 arg1
= (wxShutdownFlags
) SWIG_AsInt(obj0
);
2486 if (PyErr_Occurred()) SWIG_fail
;
2488 if (!wxPyCheckForApp()) SWIG_fail
;
2489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2490 result
= (bool)wxShutdown((wxShutdownFlags
)arg1
);
2492 wxPyEndAllowThreads(__tstate
);
2493 if (PyErr_Occurred()) SWIG_fail
;
2496 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2504 static PyObject
*_wrap_Sleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2505 PyObject
*resultobj
;
2507 PyObject
* obj0
= 0 ;
2509 (char *) "secs", NULL
2512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sleep",kwnames
,&obj0
)) goto fail
;
2513 arg1
= (int) SWIG_AsInt(obj0
);
2514 if (PyErr_Occurred()) SWIG_fail
;
2516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2519 wxPyEndAllowThreads(__tstate
);
2520 if (PyErr_Occurred()) SWIG_fail
;
2522 Py_INCREF(Py_None
); resultobj
= Py_None
;
2529 static PyObject
*_wrap_MilliSleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2530 PyObject
*resultobj
;
2531 unsigned long arg1
;
2532 PyObject
* obj0
= 0 ;
2534 (char *) "milliseconds", NULL
2537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MilliSleep",kwnames
,&obj0
)) goto fail
;
2538 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
2539 if (PyErr_Occurred()) SWIG_fail
;
2541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2544 wxPyEndAllowThreads(__tstate
);
2545 if (PyErr_Occurred()) SWIG_fail
;
2547 Py_INCREF(Py_None
); resultobj
= Py_None
;
2554 static PyObject
*_wrap_MicroSleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2555 PyObject
*resultobj
;
2556 unsigned long arg1
;
2557 PyObject
* obj0
= 0 ;
2559 (char *) "microseconds", NULL
2562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MicroSleep",kwnames
,&obj0
)) goto fail
;
2563 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
2564 if (PyErr_Occurred()) SWIG_fail
;
2566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2569 wxPyEndAllowThreads(__tstate
);
2570 if (PyErr_Occurred()) SWIG_fail
;
2572 Py_INCREF(Py_None
); resultobj
= Py_None
;
2579 static PyObject
*_wrap_EnableTopLevelWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2580 PyObject
*resultobj
;
2582 PyObject
* obj0
= 0 ;
2584 (char *) "enable", NULL
2587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) goto fail
;
2588 arg1
= (bool) SWIG_AsBool(obj0
);
2589 if (PyErr_Occurred()) SWIG_fail
;
2591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2592 wxEnableTopLevelWindows(arg1
);
2594 wxPyEndAllowThreads(__tstate
);
2595 if (PyErr_Occurred()) SWIG_fail
;
2597 Py_INCREF(Py_None
); resultobj
= Py_None
;
2604 static PyObject
*_wrap_StripMenuCodes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2605 PyObject
*resultobj
;
2606 wxString
*arg1
= 0 ;
2608 bool temp1
= False
;
2609 PyObject
* obj0
= 0 ;
2614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) goto fail
;
2616 arg1
= wxString_in_helper(obj0
);
2617 if (arg1
== NULL
) SWIG_fail
;
2621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2622 result
= wxStripMenuCodes((wxString
const &)*arg1
);
2624 wxPyEndAllowThreads(__tstate
);
2625 if (PyErr_Occurred()) SWIG_fail
;
2629 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2631 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2648 static PyObject
*_wrap_GetEmailAddress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2649 PyObject
*resultobj
;
2655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetEmailAddress",kwnames
)) goto fail
;
2657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2658 result
= wxGetEmailAddress();
2660 wxPyEndAllowThreads(__tstate
);
2661 if (PyErr_Occurred()) SWIG_fail
;
2665 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2667 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2676 static PyObject
*_wrap_GetHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2677 PyObject
*resultobj
;
2683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHostName",kwnames
)) goto fail
;
2685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2686 result
= wxGetHostName();
2688 wxPyEndAllowThreads(__tstate
);
2689 if (PyErr_Occurred()) SWIG_fail
;
2693 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2695 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2704 static PyObject
*_wrap_GetFullHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2705 PyObject
*resultobj
;
2711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFullHostName",kwnames
)) goto fail
;
2713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2714 result
= wxGetFullHostName();
2716 wxPyEndAllowThreads(__tstate
);
2717 if (PyErr_Occurred()) SWIG_fail
;
2721 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2723 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2732 static PyObject
*_wrap_GetUserId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2733 PyObject
*resultobj
;
2739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserId",kwnames
)) goto fail
;
2741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2742 result
= wxGetUserId();
2744 wxPyEndAllowThreads(__tstate
);
2745 if (PyErr_Occurred()) SWIG_fail
;
2749 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2751 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2760 static PyObject
*_wrap_GetUserName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2761 PyObject
*resultobj
;
2767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserName",kwnames
)) goto fail
;
2769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2770 result
= wxGetUserName();
2772 wxPyEndAllowThreads(__tstate
);
2773 if (PyErr_Occurred()) SWIG_fail
;
2777 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2779 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2788 static PyObject
*_wrap_GetHomeDir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2789 PyObject
*resultobj
;
2795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHomeDir",kwnames
)) goto fail
;
2797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2798 result
= wxGetHomeDir();
2800 wxPyEndAllowThreads(__tstate
);
2801 if (PyErr_Occurred()) SWIG_fail
;
2805 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2807 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2816 static PyObject
*_wrap_GetUserHome(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2817 PyObject
*resultobj
;
2818 wxString
const &arg1_defvalue
= wxPyEmptyString
;
2819 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2821 bool temp1
= False
;
2822 PyObject
* obj0
= 0 ;
2824 (char *) "user", NULL
2827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) goto fail
;
2830 arg1
= wxString_in_helper(obj0
);
2831 if (arg1
== NULL
) SWIG_fail
;
2836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2837 result
= wxGetUserHome((wxString
const &)*arg1
);
2839 wxPyEndAllowThreads(__tstate
);
2840 if (PyErr_Occurred()) SWIG_fail
;
2844 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2846 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2863 static PyObject
*_wrap_GetProcessId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2864 PyObject
*resultobj
;
2865 unsigned long result
;
2870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetProcessId",kwnames
)) goto fail
;
2872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2873 result
= (unsigned long)wxGetProcessId();
2875 wxPyEndAllowThreads(__tstate
);
2876 if (PyErr_Occurred()) SWIG_fail
;
2878 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
2885 static PyObject
*_wrap_Trap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2886 PyObject
*resultobj
;
2891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Trap",kwnames
)) goto fail
;
2893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2896 wxPyEndAllowThreads(__tstate
);
2897 if (PyErr_Occurred()) SWIG_fail
;
2899 Py_INCREF(Py_None
); resultobj
= Py_None
;
2906 static PyObject
*_wrap_FileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2907 PyObject
*resultobj
;
2908 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
2909 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2910 wxString
const &arg2_defvalue
= wxPyEmptyString
;
2911 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
2912 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2913 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2914 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2915 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2916 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
2917 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
2918 int arg6
= (int) 0 ;
2919 wxWindow
*arg7
= (wxWindow
*) NULL
;
2920 int arg8
= (int) -1 ;
2921 int arg9
= (int) -1 ;
2923 bool temp1
= False
;
2924 bool temp2
= False
;
2925 bool temp3
= False
;
2926 bool temp4
= False
;
2927 bool temp5
= False
;
2928 PyObject
* obj0
= 0 ;
2929 PyObject
* obj1
= 0 ;
2930 PyObject
* obj2
= 0 ;
2931 PyObject
* obj3
= 0 ;
2932 PyObject
* obj4
= 0 ;
2933 PyObject
* obj5
= 0 ;
2934 PyObject
* obj6
= 0 ;
2935 PyObject
* obj7
= 0 ;
2936 PyObject
* obj8
= 0 ;
2938 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
2941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOOOO:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2944 arg1
= wxString_in_helper(obj0
);
2945 if (arg1
== NULL
) SWIG_fail
;
2951 arg2
= wxString_in_helper(obj1
);
2952 if (arg2
== NULL
) SWIG_fail
;
2958 arg3
= wxString_in_helper(obj2
);
2959 if (arg3
== NULL
) SWIG_fail
;
2965 arg4
= wxString_in_helper(obj3
);
2966 if (arg4
== NULL
) SWIG_fail
;
2972 arg5
= wxString_in_helper(obj4
);
2973 if (arg5
== NULL
) SWIG_fail
;
2978 arg6
= (int) SWIG_AsInt(obj5
);
2979 if (PyErr_Occurred()) SWIG_fail
;
2982 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxWindow
,
2983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2986 arg8
= (int) SWIG_AsInt(obj7
);
2987 if (PyErr_Occurred()) SWIG_fail
;
2990 arg9
= (int) SWIG_AsInt(obj8
);
2991 if (PyErr_Occurred()) SWIG_fail
;
2994 if (!wxPyCheckForApp()) SWIG_fail
;
2995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2996 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
2998 wxPyEndAllowThreads(__tstate
);
2999 if (PyErr_Occurred()) SWIG_fail
;
3003 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3005 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3054 static PyObject
*_wrap_LoadFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3055 PyObject
*resultobj
;
3056 wxString
*arg1
= 0 ;
3057 wxString
*arg2
= 0 ;
3058 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3059 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3060 wxWindow
*arg4
= (wxWindow
*) NULL
;
3062 bool temp1
= False
;
3063 bool temp2
= False
;
3064 bool temp3
= False
;
3065 PyObject
* obj0
= 0 ;
3066 PyObject
* obj1
= 0 ;
3067 PyObject
* obj2
= 0 ;
3068 PyObject
* obj3
= 0 ;
3070 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
3073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3075 arg1
= wxString_in_helper(obj0
);
3076 if (arg1
== NULL
) SWIG_fail
;
3080 arg2
= wxString_in_helper(obj1
);
3081 if (arg2
== NULL
) SWIG_fail
;
3086 arg3
= wxString_in_helper(obj2
);
3087 if (arg3
== NULL
) SWIG_fail
;
3092 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3096 if (!wxPyCheckForApp()) SWIG_fail
;
3097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3098 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3100 wxPyEndAllowThreads(__tstate
);
3101 if (PyErr_Occurred()) SWIG_fail
;
3105 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3107 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3140 static PyObject
*_wrap_SaveFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3141 PyObject
*resultobj
;
3142 wxString
*arg1
= 0 ;
3143 wxString
*arg2
= 0 ;
3144 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3145 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3146 wxWindow
*arg4
= (wxWindow
*) NULL
;
3148 bool temp1
= False
;
3149 bool temp2
= False
;
3150 bool temp3
= False
;
3151 PyObject
* obj0
= 0 ;
3152 PyObject
* obj1
= 0 ;
3153 PyObject
* obj2
= 0 ;
3154 PyObject
* obj3
= 0 ;
3156 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
3159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3161 arg1
= wxString_in_helper(obj0
);
3162 if (arg1
== NULL
) SWIG_fail
;
3166 arg2
= wxString_in_helper(obj1
);
3167 if (arg2
== NULL
) SWIG_fail
;
3172 arg3
= wxString_in_helper(obj2
);
3173 if (arg3
== NULL
) SWIG_fail
;
3178 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3182 if (!wxPyCheckForApp()) SWIG_fail
;
3183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3184 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3186 wxPyEndAllowThreads(__tstate
);
3187 if (PyErr_Occurred()) SWIG_fail
;
3191 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3193 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3226 static PyObject
*_wrap_DirSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3227 PyObject
*resultobj
;
3228 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
3229 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3230 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3231 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3232 long arg3
= (long) wxDD_DEFAULT_STYLE
;
3233 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3234 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3235 wxWindow
*arg5
= (wxWindow
*) NULL
;
3237 bool temp1
= False
;
3238 bool temp2
= False
;
3240 PyObject
* obj0
= 0 ;
3241 PyObject
* obj1
= 0 ;
3242 PyObject
* obj2
= 0 ;
3243 PyObject
* obj3
= 0 ;
3244 PyObject
* obj4
= 0 ;
3246 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
3249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:DirSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3252 arg1
= wxString_in_helper(obj0
);
3253 if (arg1
== NULL
) SWIG_fail
;
3259 arg2
= wxString_in_helper(obj1
);
3260 if (arg2
== NULL
) SWIG_fail
;
3265 arg3
= (long) SWIG_AsLong(obj2
);
3266 if (PyErr_Occurred()) SWIG_fail
;
3271 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3275 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3279 if (!wxPyCheckForApp()) SWIG_fail
;
3280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3281 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
3283 wxPyEndAllowThreads(__tstate
);
3284 if (PyErr_Occurred()) SWIG_fail
;
3288 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3290 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3315 static PyObject
*_wrap_GetTextFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3316 PyObject
*resultobj
;
3317 wxString
*arg1
= 0 ;
3318 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3319 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3320 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3321 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3322 wxWindow
*arg4
= (wxWindow
*) NULL
;
3323 int arg5
= (int) -1 ;
3324 int arg6
= (int) -1 ;
3325 bool arg7
= (bool) True
;
3327 bool temp1
= False
;
3328 bool temp2
= False
;
3329 bool temp3
= False
;
3330 PyObject
* obj0
= 0 ;
3331 PyObject
* obj1
= 0 ;
3332 PyObject
* obj2
= 0 ;
3333 PyObject
* obj3
= 0 ;
3334 PyObject
* obj4
= 0 ;
3335 PyObject
* obj5
= 0 ;
3336 PyObject
* obj6
= 0 ;
3338 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
3341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3343 arg1
= wxString_in_helper(obj0
);
3344 if (arg1
== NULL
) SWIG_fail
;
3349 arg2
= wxString_in_helper(obj1
);
3350 if (arg2
== NULL
) SWIG_fail
;
3356 arg3
= wxString_in_helper(obj2
);
3357 if (arg3
== NULL
) SWIG_fail
;
3362 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3366 arg5
= (int) SWIG_AsInt(obj4
);
3367 if (PyErr_Occurred()) SWIG_fail
;
3370 arg6
= (int) SWIG_AsInt(obj5
);
3371 if (PyErr_Occurred()) SWIG_fail
;
3374 arg7
= (bool) SWIG_AsBool(obj6
);
3375 if (PyErr_Occurred()) SWIG_fail
;
3378 if (!wxPyCheckForApp()) SWIG_fail
;
3379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3380 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
3382 wxPyEndAllowThreads(__tstate
);
3383 if (PyErr_Occurred()) SWIG_fail
;
3387 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3389 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3422 static PyObject
*_wrap_GetPasswordFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3423 PyObject
*resultobj
;
3424 wxString
*arg1
= 0 ;
3425 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3426 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3427 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3428 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3429 wxWindow
*arg4
= (wxWindow
*) NULL
;
3431 bool temp1
= False
;
3432 bool temp2
= False
;
3433 bool temp3
= False
;
3434 PyObject
* obj0
= 0 ;
3435 PyObject
* obj1
= 0 ;
3436 PyObject
* obj2
= 0 ;
3437 PyObject
* obj3
= 0 ;
3439 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
3442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3444 arg1
= wxString_in_helper(obj0
);
3445 if (arg1
== NULL
) SWIG_fail
;
3450 arg2
= wxString_in_helper(obj1
);
3451 if (arg2
== NULL
) SWIG_fail
;
3457 arg3
= wxString_in_helper(obj2
);
3458 if (arg3
== NULL
) SWIG_fail
;
3463 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3467 if (!wxPyCheckForApp()) SWIG_fail
;
3468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3469 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3471 wxPyEndAllowThreads(__tstate
);
3472 if (PyErr_Occurred()) SWIG_fail
;
3476 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3478 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3511 static PyObject
*_wrap_GetSingleChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3512 PyObject
*resultobj
;
3513 wxString
*arg1
= 0 ;
3514 wxString
*arg2
= 0 ;
3516 wxString
*arg4
= (wxString
*) 0 ;
3517 wxWindow
*arg5
= (wxWindow
*) NULL
;
3518 int arg6
= (int) -1 ;
3519 int arg7
= (int) -1 ;
3520 bool arg8
= (bool) True
;
3521 int arg9
= (int) 150 ;
3522 int arg10
= (int) 200 ;
3524 bool temp1
= False
;
3525 bool temp2
= False
;
3526 PyObject
* obj0
= 0 ;
3527 PyObject
* obj1
= 0 ;
3528 PyObject
* obj2
= 0 ;
3529 PyObject
* obj3
= 0 ;
3530 PyObject
* obj4
= 0 ;
3531 PyObject
* obj5
= 0 ;
3532 PyObject
* obj6
= 0 ;
3533 PyObject
* obj7
= 0 ;
3534 PyObject
* obj8
= 0 ;
3536 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3541 arg1
= wxString_in_helper(obj0
);
3542 if (arg1
== NULL
) SWIG_fail
;
3546 arg2
= wxString_in_helper(obj1
);
3547 if (arg2
== NULL
) SWIG_fail
;
3551 arg3
= PyList_Size(obj2
);
3552 arg4
= wxString_LIST_helper(obj2
);
3553 if (arg4
== NULL
) SWIG_fail
;
3556 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3560 arg6
= (int) SWIG_AsInt(obj4
);
3561 if (PyErr_Occurred()) SWIG_fail
;
3564 arg7
= (int) SWIG_AsInt(obj5
);
3565 if (PyErr_Occurred()) SWIG_fail
;
3568 arg8
= (bool) SWIG_AsBool(obj6
);
3569 if (PyErr_Occurred()) SWIG_fail
;
3572 arg9
= (int) SWIG_AsInt(obj7
);
3573 if (PyErr_Occurred()) SWIG_fail
;
3576 arg10
= (int) SWIG_AsInt(obj8
);
3577 if (PyErr_Occurred()) SWIG_fail
;
3580 if (!wxPyCheckForApp()) SWIG_fail
;
3581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3582 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
3584 wxPyEndAllowThreads(__tstate
);
3585 if (PyErr_Occurred()) SWIG_fail
;
3589 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3591 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3603 if (arg4
) delete [] arg4
;
3616 if (arg4
) delete [] arg4
;
3622 static PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3623 PyObject
*resultobj
;
3624 wxString
*arg1
= 0 ;
3625 wxString
*arg2
= 0 ;
3627 wxString
*arg4
= (wxString
*) 0 ;
3628 wxWindow
*arg5
= (wxWindow
*) NULL
;
3629 int arg6
= (int) -1 ;
3630 int arg7
= (int) -1 ;
3631 bool arg8
= (bool) True
;
3632 int arg9
= (int) 150 ;
3633 int arg10
= (int) 200 ;
3635 bool temp1
= False
;
3636 bool temp2
= False
;
3637 PyObject
* obj0
= 0 ;
3638 PyObject
* obj1
= 0 ;
3639 PyObject
* obj2
= 0 ;
3640 PyObject
* obj3
= 0 ;
3641 PyObject
* obj4
= 0 ;
3642 PyObject
* obj5
= 0 ;
3643 PyObject
* obj6
= 0 ;
3644 PyObject
* obj7
= 0 ;
3645 PyObject
* obj8
= 0 ;
3647 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3652 arg1
= wxString_in_helper(obj0
);
3653 if (arg1
== NULL
) SWIG_fail
;
3657 arg2
= wxString_in_helper(obj1
);
3658 if (arg2
== NULL
) SWIG_fail
;
3662 arg3
= PyList_Size(obj2
);
3663 arg4
= wxString_LIST_helper(obj2
);
3664 if (arg4
== NULL
) SWIG_fail
;
3667 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3671 arg6
= (int) SWIG_AsInt(obj4
);
3672 if (PyErr_Occurred()) SWIG_fail
;
3675 arg7
= (int) SWIG_AsInt(obj5
);
3676 if (PyErr_Occurred()) SWIG_fail
;
3679 arg8
= (bool) SWIG_AsBool(obj6
);
3680 if (PyErr_Occurred()) SWIG_fail
;
3683 arg9
= (int) SWIG_AsInt(obj7
);
3684 if (PyErr_Occurred()) SWIG_fail
;
3687 arg10
= (int) SWIG_AsInt(obj8
);
3688 if (PyErr_Occurred()) SWIG_fail
;
3691 if (!wxPyCheckForApp()) SWIG_fail
;
3692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3693 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
3695 wxPyEndAllowThreads(__tstate
);
3696 if (PyErr_Occurred()) SWIG_fail
;
3698 resultobj
= SWIG_FromInt((int)result
);
3708 if (arg4
) delete [] arg4
;
3721 if (arg4
) delete [] arg4
;
3727 static PyObject
*_wrap_MessageBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3728 PyObject
*resultobj
;
3729 wxString
*arg1
= 0 ;
3730 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3731 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3732 int arg3
= (int) wxOK
|wxCENTRE
;
3733 wxWindow
*arg4
= (wxWindow
*) NULL
;
3734 int arg5
= (int) -1 ;
3735 int arg6
= (int) -1 ;
3737 bool temp1
= False
;
3738 bool temp2
= False
;
3739 PyObject
* obj0
= 0 ;
3740 PyObject
* obj1
= 0 ;
3741 PyObject
* obj2
= 0 ;
3742 PyObject
* obj3
= 0 ;
3743 PyObject
* obj4
= 0 ;
3744 PyObject
* obj5
= 0 ;
3746 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
3749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:MessageBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
3751 arg1
= wxString_in_helper(obj0
);
3752 if (arg1
== NULL
) SWIG_fail
;
3757 arg2
= wxString_in_helper(obj1
);
3758 if (arg2
== NULL
) SWIG_fail
;
3763 arg3
= (int) SWIG_AsInt(obj2
);
3764 if (PyErr_Occurred()) SWIG_fail
;
3767 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3771 arg5
= (int) SWIG_AsInt(obj4
);
3772 if (PyErr_Occurred()) SWIG_fail
;
3775 arg6
= (int) SWIG_AsInt(obj5
);
3776 if (PyErr_Occurred()) SWIG_fail
;
3779 if (!wxPyCheckForApp()) SWIG_fail
;
3780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3781 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
3783 wxPyEndAllowThreads(__tstate
);
3784 if (PyErr_Occurred()) SWIG_fail
;
3786 resultobj
= SWIG_FromInt((int)result
);
3809 static PyObject
*_wrap_GetNumberFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3810 PyObject
*resultobj
;
3811 wxString
*arg1
= 0 ;
3812 wxString
*arg2
= 0 ;
3813 wxString
*arg3
= 0 ;
3815 long arg5
= (long) 0 ;
3816 long arg6
= (long) 100 ;
3817 wxWindow
*arg7
= (wxWindow
*) NULL
;
3818 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
3819 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
3821 bool temp1
= False
;
3822 bool temp2
= False
;
3823 bool temp3
= False
;
3825 PyObject
* obj0
= 0 ;
3826 PyObject
* obj1
= 0 ;
3827 PyObject
* obj2
= 0 ;
3828 PyObject
* obj3
= 0 ;
3829 PyObject
* obj4
= 0 ;
3830 PyObject
* obj5
= 0 ;
3831 PyObject
* obj6
= 0 ;
3832 PyObject
* obj7
= 0 ;
3834 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
3837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3839 arg1
= wxString_in_helper(obj0
);
3840 if (arg1
== NULL
) SWIG_fail
;
3844 arg2
= wxString_in_helper(obj1
);
3845 if (arg2
== NULL
) SWIG_fail
;
3849 arg3
= wxString_in_helper(obj2
);
3850 if (arg3
== NULL
) SWIG_fail
;
3853 arg4
= (long) SWIG_AsLong(obj3
);
3854 if (PyErr_Occurred()) SWIG_fail
;
3856 arg5
= (long) SWIG_AsLong(obj4
);
3857 if (PyErr_Occurred()) SWIG_fail
;
3860 arg6
= (long) SWIG_AsLong(obj5
);
3861 if (PyErr_Occurred()) SWIG_fail
;
3864 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxWindow
,
3865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3870 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
3874 if (!wxPyCheckForApp()) SWIG_fail
;
3875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3876 result
= (long)wxGetNumberFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
3878 wxPyEndAllowThreads(__tstate
);
3879 if (PyErr_Occurred()) SWIG_fail
;
3881 resultobj
= SWIG_FromLong((long)result
);
3912 static PyObject
*_wrap_ColourDisplay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3913 PyObject
*resultobj
;
3919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ColourDisplay",kwnames
)) goto fail
;
3921 if (!wxPyCheckForApp()) SWIG_fail
;
3922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3923 result
= (bool)wxColourDisplay();
3925 wxPyEndAllowThreads(__tstate
);
3926 if (PyErr_Occurred()) SWIG_fail
;
3929 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3937 static PyObject
*_wrap_DisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3938 PyObject
*resultobj
;
3944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplayDepth",kwnames
)) goto fail
;
3946 if (!wxPyCheckForApp()) SWIG_fail
;
3947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3948 result
= (int)wxDisplayDepth();
3950 wxPyEndAllowThreads(__tstate
);
3951 if (PyErr_Occurred()) SWIG_fail
;
3953 resultobj
= SWIG_FromInt((int)result
);
3960 static PyObject
*_wrap_GetDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3961 PyObject
*resultobj
;
3967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplayDepth",kwnames
)) goto fail
;
3969 if (!wxPyCheckForApp()) SWIG_fail
;
3970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3971 result
= (int)wxGetDisplayDepth();
3973 wxPyEndAllowThreads(__tstate
);
3974 if (PyErr_Occurred()) SWIG_fail
;
3976 resultobj
= SWIG_FromInt((int)result
);
3983 static PyObject
*_wrap_DisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3984 PyObject
*resultobj
;
3985 int *arg1
= (int *) 0 ;
3986 int *arg2
= (int *) 0 ;
3995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySize",kwnames
)) goto fail
;
3997 if (!wxPyCheckForApp()) SWIG_fail
;
3998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3999 wxDisplaySize(arg1
,arg2
);
4001 wxPyEndAllowThreads(__tstate
);
4002 if (PyErr_Occurred()) SWIG_fail
;
4004 Py_INCREF(Py_None
); resultobj
= Py_None
;
4006 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
4007 resultobj
= t_output_helper(resultobj
,o
);
4010 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4011 resultobj
= t_output_helper(resultobj
,o
);
4019 static PyObject
*_wrap_GetDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4020 PyObject
*resultobj
;
4026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySize",kwnames
)) goto fail
;
4028 if (!wxPyCheckForApp()) SWIG_fail
;
4029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4030 result
= wxGetDisplaySize();
4032 wxPyEndAllowThreads(__tstate
);
4033 if (PyErr_Occurred()) SWIG_fail
;
4037 resultptr
= new wxSize((wxSize
&) result
);
4038 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
4046 static PyObject
*_wrap_DisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4047 PyObject
*resultobj
;
4048 int *arg1
= (int *) 0 ;
4049 int *arg2
= (int *) 0 ;
4058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySizeMM",kwnames
)) goto fail
;
4060 if (!wxPyCheckForApp()) SWIG_fail
;
4061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4062 wxDisplaySizeMM(arg1
,arg2
);
4064 wxPyEndAllowThreads(__tstate
);
4065 if (PyErr_Occurred()) SWIG_fail
;
4067 Py_INCREF(Py_None
); resultobj
= Py_None
;
4069 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
4070 resultobj
= t_output_helper(resultobj
,o
);
4073 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4074 resultobj
= t_output_helper(resultobj
,o
);
4082 static PyObject
*_wrap_GetDisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4083 PyObject
*resultobj
;
4089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySizeMM",kwnames
)) goto fail
;
4091 if (!wxPyCheckForApp()) SWIG_fail
;
4092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4093 result
= wxGetDisplaySizeMM();
4095 wxPyEndAllowThreads(__tstate
);
4096 if (PyErr_Occurred()) SWIG_fail
;
4100 resultptr
= new wxSize((wxSize
&) result
);
4101 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
4109 static PyObject
*_wrap_ClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4110 PyObject
*resultobj
;
4111 int *arg1
= (int *) 0 ;
4112 int *arg2
= (int *) 0 ;
4113 int *arg3
= (int *) 0 ;
4114 int *arg4
= (int *) 0 ;
4127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ClientDisplayRect",kwnames
)) goto fail
;
4129 if (!wxPyCheckForApp()) SWIG_fail
;
4130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4131 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
4133 wxPyEndAllowThreads(__tstate
);
4134 if (PyErr_Occurred()) SWIG_fail
;
4136 Py_INCREF(Py_None
); resultobj
= Py_None
;
4138 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
4139 resultobj
= t_output_helper(resultobj
,o
);
4142 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4143 resultobj
= t_output_helper(resultobj
,o
);
4146 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4147 resultobj
= t_output_helper(resultobj
,o
);
4150 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
4151 resultobj
= t_output_helper(resultobj
,o
);
4159 static PyObject
*_wrap_GetClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4160 PyObject
*resultobj
;
4166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetClientDisplayRect",kwnames
)) goto fail
;
4168 if (!wxPyCheckForApp()) SWIG_fail
;
4169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4170 result
= wxGetClientDisplayRect();
4172 wxPyEndAllowThreads(__tstate
);
4173 if (PyErr_Occurred()) SWIG_fail
;
4177 resultptr
= new wxRect((wxRect
&) result
);
4178 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
4186 static PyObject
*_wrap_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4187 PyObject
*resultobj
;
4188 wxCursor
*arg1
= 0 ;
4189 PyObject
* obj0
= 0 ;
4191 (char *) "cursor", NULL
4194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) goto fail
;
4195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4196 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4199 PyErr_SetString(PyExc_TypeError
,"null reference");
4203 if (!wxPyCheckForApp()) SWIG_fail
;
4204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4207 wxPyEndAllowThreads(__tstate
);
4208 if (PyErr_Occurred()) SWIG_fail
;
4210 Py_INCREF(Py_None
); resultobj
= Py_None
;
4217 static PyObject
*_wrap_BeginBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4218 PyObject
*resultobj
;
4219 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
4220 PyObject
* obj0
= 0 ;
4222 (char *) "cursor", NULL
4225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) goto fail
;
4227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4231 if (!wxPyCheckForApp()) SWIG_fail
;
4232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4233 wxBeginBusyCursor(arg1
);
4235 wxPyEndAllowThreads(__tstate
);
4236 if (PyErr_Occurred()) SWIG_fail
;
4238 Py_INCREF(Py_None
); resultobj
= Py_None
;
4245 static PyObject
*_wrap_GetActiveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4246 PyObject
*resultobj
;
4252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetActiveWindow",kwnames
)) goto fail
;
4254 if (!wxPyCheckForApp()) SWIG_fail
;
4255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4256 result
= (wxWindow
*)wxGetActiveWindow();
4258 wxPyEndAllowThreads(__tstate
);
4259 if (PyErr_Occurred()) SWIG_fail
;
4262 resultobj
= wxPyMake_wxObject(result
, 0);
4270 static PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4271 PyObject
*resultobj
;
4275 PyObject
* obj0
= 0 ;
4280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
4283 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4286 if (!wxPyCheckForApp()) SWIG_fail
;
4287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4288 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
4290 wxPyEndAllowThreads(__tstate
);
4291 if (PyErr_Occurred()) SWIG_fail
;
4294 resultobj
= wxPyMake_wxObject(result
, 0);
4302 static PyObject
*_wrap_FindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4303 PyObject
*resultobj
;
4307 PyObject
* obj0
= 0 ;
4312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
4315 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4318 if (!wxPyCheckForApp()) SWIG_fail
;
4319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4320 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
4322 wxPyEndAllowThreads(__tstate
);
4323 if (PyErr_Occurred()) SWIG_fail
;
4326 resultobj
= wxPyMake_wxObject(result
, 0);
4334 static PyObject
*_wrap_GetTopLevelParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4335 PyObject
*resultobj
;
4336 wxWindow
*arg1
= (wxWindow
*) 0 ;
4338 PyObject
* obj0
= 0 ;
4340 (char *) "win", NULL
4343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) goto fail
;
4344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4347 if (!wxPyCheckForApp()) SWIG_fail
;
4348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4349 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
4351 wxPyEndAllowThreads(__tstate
);
4352 if (PyErr_Occurred()) SWIG_fail
;
4355 resultobj
= wxPyMake_wxObject(result
, 0);
4363 static PyObject
*_wrap_GetKeyState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4364 PyObject
*resultobj
;
4367 PyObject
* obj0
= 0 ;
4369 (char *) "key", NULL
4372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetKeyState",kwnames
,&obj0
)) goto fail
;
4373 arg1
= (wxKeyCode
) SWIG_AsInt(obj0
);
4374 if (PyErr_Occurred()) SWIG_fail
;
4376 if (!wxPyCheckForApp()) SWIG_fail
;
4377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4378 result
= (bool)wxGetKeyState((wxKeyCode
)arg1
);
4380 wxPyEndAllowThreads(__tstate
);
4381 if (PyErr_Occurred()) SWIG_fail
;
4384 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4392 static PyObject
*_wrap_WakeUpMainThread(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4393 PyObject
*resultobj
;
4398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpMainThread",kwnames
)) goto fail
;
4400 if (!wxPyCheckForApp()) SWIG_fail
;
4401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4402 wxWakeUpMainThread();
4404 wxPyEndAllowThreads(__tstate
);
4405 if (PyErr_Occurred()) SWIG_fail
;
4407 Py_INCREF(Py_None
); resultobj
= Py_None
;
4414 static PyObject
*_wrap_MutexGuiEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4415 PyObject
*resultobj
;
4420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiEnter",kwnames
)) goto fail
;
4422 if (!wxPyCheckForApp()) SWIG_fail
;
4423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4426 wxPyEndAllowThreads(__tstate
);
4427 if (PyErr_Occurred()) SWIG_fail
;
4429 Py_INCREF(Py_None
); resultobj
= Py_None
;
4436 static PyObject
*_wrap_MutexGuiLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4437 PyObject
*resultobj
;
4442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiLeave",kwnames
)) goto fail
;
4444 if (!wxPyCheckForApp()) SWIG_fail
;
4445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4448 wxPyEndAllowThreads(__tstate
);
4449 if (PyErr_Occurred()) SWIG_fail
;
4451 Py_INCREF(Py_None
); resultobj
= Py_None
;
4458 static PyObject
*_wrap_new_MutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4459 PyObject
*resultobj
;
4460 wxMutexGuiLocker
*result
;
4465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MutexGuiLocker",kwnames
)) goto fail
;
4467 if (!wxPyCheckForApp()) SWIG_fail
;
4468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4469 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
4471 wxPyEndAllowThreads(__tstate
);
4472 if (PyErr_Occurred()) SWIG_fail
;
4474 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMutexGuiLocker
, 1);
4481 static PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4482 PyObject
*resultobj
;
4483 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
4484 PyObject
* obj0
= 0 ;
4486 (char *) "self", NULL
4489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MutexGuiLocker",kwnames
,&obj0
)) goto fail
;
4490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMutexGuiLocker
,
4491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4496 wxPyEndAllowThreads(__tstate
);
4497 if (PyErr_Occurred()) SWIG_fail
;
4499 Py_INCREF(Py_None
); resultobj
= Py_None
;
4506 static PyObject
* MutexGuiLocker_swigregister(PyObject
*self
, PyObject
*args
) {
4508 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4509 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker
, obj
);
4511 return Py_BuildValue((char *)"");
4513 static PyObject
*_wrap_Thread_IsMain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4514 PyObject
*resultobj
;
4520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Thread_IsMain",kwnames
)) goto fail
;
4522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4523 result
= (bool)wxThread_IsMain();
4525 wxPyEndAllowThreads(__tstate
);
4526 if (PyErr_Occurred()) SWIG_fail
;
4529 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4537 static PyObject
*_wrap_new_ToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4538 PyObject
*resultobj
;
4539 wxString
*arg1
= 0 ;
4541 bool temp1
= False
;
4542 PyObject
* obj0
= 0 ;
4544 (char *) "tip", NULL
4547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) goto fail
;
4549 arg1
= wxString_in_helper(obj0
);
4550 if (arg1
== NULL
) SWIG_fail
;
4554 if (!wxPyCheckForApp()) SWIG_fail
;
4555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4556 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
4558 wxPyEndAllowThreads(__tstate
);
4559 if (PyErr_Occurred()) SWIG_fail
;
4562 resultobj
= wxPyMake_wxObject(result
, 1);
4578 static PyObject
*_wrap_ToolTip_SetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4579 PyObject
*resultobj
;
4580 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4581 wxString
*arg2
= 0 ;
4582 bool temp2
= False
;
4583 PyObject
* obj0
= 0 ;
4584 PyObject
* obj1
= 0 ;
4586 (char *) "self",(char *) "tip", NULL
4589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) goto fail
;
4590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4593 arg2
= wxString_in_helper(obj1
);
4594 if (arg2
== NULL
) SWIG_fail
;
4598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4599 (arg1
)->SetTip((wxString
const &)*arg2
);
4601 wxPyEndAllowThreads(__tstate
);
4602 if (PyErr_Occurred()) SWIG_fail
;
4604 Py_INCREF(Py_None
); resultobj
= Py_None
;
4619 static PyObject
*_wrap_ToolTip_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4620 PyObject
*resultobj
;
4621 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4623 PyObject
* obj0
= 0 ;
4625 (char *) "self", NULL
4628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetTip",kwnames
,&obj0
)) goto fail
;
4629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4633 result
= (arg1
)->GetTip();
4635 wxPyEndAllowThreads(__tstate
);
4636 if (PyErr_Occurred()) SWIG_fail
;
4640 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4642 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4651 static PyObject
*_wrap_ToolTip_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4652 PyObject
*resultobj
;
4653 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4655 PyObject
* obj0
= 0 ;
4657 (char *) "self", NULL
4660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetWindow",kwnames
,&obj0
)) goto fail
;
4661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4665 result
= (wxWindow
*)(arg1
)->GetWindow();
4667 wxPyEndAllowThreads(__tstate
);
4668 if (PyErr_Occurred()) SWIG_fail
;
4671 resultobj
= wxPyMake_wxObject(result
, 0);
4679 static PyObject
*_wrap_ToolTip_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4680 PyObject
*resultobj
;
4682 PyObject
* obj0
= 0 ;
4684 (char *) "flag", NULL
4687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) goto fail
;
4688 arg1
= (bool) SWIG_AsBool(obj0
);
4689 if (PyErr_Occurred()) SWIG_fail
;
4691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4692 wxToolTip::Enable(arg1
);
4694 wxPyEndAllowThreads(__tstate
);
4695 if (PyErr_Occurred()) SWIG_fail
;
4697 Py_INCREF(Py_None
); resultobj
= Py_None
;
4704 static PyObject
*_wrap_ToolTip_SetDelay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4705 PyObject
*resultobj
;
4707 PyObject
* obj0
= 0 ;
4709 (char *) "milliseconds", NULL
4712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_SetDelay",kwnames
,&obj0
)) goto fail
;
4713 arg1
= (long) SWIG_AsLong(obj0
);
4714 if (PyErr_Occurred()) SWIG_fail
;
4716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4717 wxToolTip::SetDelay(arg1
);
4719 wxPyEndAllowThreads(__tstate
);
4720 if (PyErr_Occurred()) SWIG_fail
;
4722 Py_INCREF(Py_None
); resultobj
= Py_None
;
4729 static PyObject
* ToolTip_swigregister(PyObject
*self
, PyObject
*args
) {
4731 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4732 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip
, obj
);
4734 return Py_BuildValue((char *)"");
4736 static PyObject
*_wrap_new_Caret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4737 PyObject
*resultobj
;
4738 wxWindow
*arg1
= (wxWindow
*) 0 ;
4742 PyObject
* obj0
= 0 ;
4743 PyObject
* obj1
= 0 ;
4745 (char *) "window",(char *) "size", NULL
4748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) goto fail
;
4749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4753 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4756 if (!wxPyCheckForApp()) SWIG_fail
;
4757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4758 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
4760 wxPyEndAllowThreads(__tstate
);
4761 if (PyErr_Occurred()) SWIG_fail
;
4763 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 1);
4770 static PyObject
*_wrap_delete_Caret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4771 PyObject
*resultobj
;
4772 wxCaret
*arg1
= (wxCaret
*) 0 ;
4773 PyObject
* obj0
= 0 ;
4775 (char *) "self", NULL
4778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Caret",kwnames
,&obj0
)) goto fail
;
4779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4785 wxPyEndAllowThreads(__tstate
);
4786 if (PyErr_Occurred()) SWIG_fail
;
4788 Py_INCREF(Py_None
); resultobj
= Py_None
;
4795 static PyObject
*_wrap_Caret_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4796 PyObject
*resultobj
;
4797 wxCaret
*arg1
= (wxCaret
*) 0 ;
4799 PyObject
* obj0
= 0 ;
4801 (char *) "self", NULL
4804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsOk",kwnames
,&obj0
)) goto fail
;
4805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4809 result
= (bool)(arg1
)->IsOk();
4811 wxPyEndAllowThreads(__tstate
);
4812 if (PyErr_Occurred()) SWIG_fail
;
4815 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4823 static PyObject
*_wrap_Caret_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4824 PyObject
*resultobj
;
4825 wxCaret
*arg1
= (wxCaret
*) 0 ;
4827 PyObject
* obj0
= 0 ;
4829 (char *) "self", NULL
4832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsVisible",kwnames
,&obj0
)) goto fail
;
4833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4837 result
= (bool)(arg1
)->IsVisible();
4839 wxPyEndAllowThreads(__tstate
);
4840 if (PyErr_Occurred()) SWIG_fail
;
4843 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4851 static PyObject
*_wrap_Caret_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4852 PyObject
*resultobj
;
4853 wxCaret
*arg1
= (wxCaret
*) 0 ;
4855 PyObject
* obj0
= 0 ;
4857 (char *) "self", NULL
4860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPosition",kwnames
,&obj0
)) goto fail
;
4861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4865 result
= (arg1
)->GetPosition();
4867 wxPyEndAllowThreads(__tstate
);
4868 if (PyErr_Occurred()) SWIG_fail
;
4871 wxPoint
* resultptr
;
4872 resultptr
= new wxPoint((wxPoint
&) result
);
4873 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4881 static PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4882 PyObject
*resultobj
;
4883 wxCaret
*arg1
= (wxCaret
*) 0 ;
4884 int *arg2
= (int *) 0 ;
4885 int *arg3
= (int *) 0 ;
4888 PyObject
* obj0
= 0 ;
4890 (char *) "self", NULL
4895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
4896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4900 (arg1
)->GetPosition(arg2
,arg3
);
4902 wxPyEndAllowThreads(__tstate
);
4903 if (PyErr_Occurred()) SWIG_fail
;
4905 Py_INCREF(Py_None
); resultobj
= Py_None
;
4907 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4908 resultobj
= t_output_helper(resultobj
,o
);
4911 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4912 resultobj
= t_output_helper(resultobj
,o
);
4920 static PyObject
*_wrap_Caret_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4921 PyObject
*resultobj
;
4922 wxCaret
*arg1
= (wxCaret
*) 0 ;
4924 PyObject
* obj0
= 0 ;
4926 (char *) "self", NULL
4929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSize",kwnames
,&obj0
)) goto fail
;
4930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4934 result
= (arg1
)->GetSize();
4936 wxPyEndAllowThreads(__tstate
);
4937 if (PyErr_Occurred()) SWIG_fail
;
4941 resultptr
= new wxSize((wxSize
&) result
);
4942 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
4950 static PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4951 PyObject
*resultobj
;
4952 wxCaret
*arg1
= (wxCaret
*) 0 ;
4953 int *arg2
= (int *) 0 ;
4954 int *arg3
= (int *) 0 ;
4957 PyObject
* obj0
= 0 ;
4959 (char *) "self", NULL
4964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
4965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4969 (arg1
)->GetSize(arg2
,arg3
);
4971 wxPyEndAllowThreads(__tstate
);
4972 if (PyErr_Occurred()) SWIG_fail
;
4974 Py_INCREF(Py_None
); resultobj
= Py_None
;
4976 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4977 resultobj
= t_output_helper(resultobj
,o
);
4980 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4981 resultobj
= t_output_helper(resultobj
,o
);
4989 static PyObject
*_wrap_Caret_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4990 PyObject
*resultobj
;
4991 wxCaret
*arg1
= (wxCaret
*) 0 ;
4993 PyObject
* obj0
= 0 ;
4995 (char *) "self", NULL
4998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetWindow",kwnames
,&obj0
)) goto fail
;
4999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5003 result
= (wxWindow
*)(arg1
)->GetWindow();
5005 wxPyEndAllowThreads(__tstate
);
5006 if (PyErr_Occurred()) SWIG_fail
;
5009 resultobj
= wxPyMake_wxObject(result
, 0);
5017 static PyObject
*_wrap_Caret_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5018 PyObject
*resultobj
;
5019 wxCaret
*arg1
= (wxCaret
*) 0 ;
5022 PyObject
* obj0
= 0 ;
5023 PyObject
* obj1
= 0 ;
5024 PyObject
* obj2
= 0 ;
5026 (char *) "self",(char *) "x",(char *) "y", NULL
5029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5032 arg2
= (int) SWIG_AsInt(obj1
);
5033 if (PyErr_Occurred()) SWIG_fail
;
5034 arg3
= (int) SWIG_AsInt(obj2
);
5035 if (PyErr_Occurred()) SWIG_fail
;
5037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5038 (arg1
)->Move(arg2
,arg3
);
5040 wxPyEndAllowThreads(__tstate
);
5041 if (PyErr_Occurred()) SWIG_fail
;
5043 Py_INCREF(Py_None
); resultobj
= Py_None
;
5050 static PyObject
*_wrap_Caret_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5051 PyObject
*resultobj
;
5052 wxCaret
*arg1
= (wxCaret
*) 0 ;
5055 PyObject
* obj0
= 0 ;
5056 PyObject
* obj1
= 0 ;
5058 (char *) "self",(char *) "pt", NULL
5061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
5062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5066 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5070 (arg1
)->Move((wxPoint
const &)*arg2
);
5072 wxPyEndAllowThreads(__tstate
);
5073 if (PyErr_Occurred()) SWIG_fail
;
5075 Py_INCREF(Py_None
); resultobj
= Py_None
;
5082 static PyObject
*_wrap_Caret_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5083 PyObject
*resultobj
;
5084 wxCaret
*arg1
= (wxCaret
*) 0 ;
5087 PyObject
* obj0
= 0 ;
5088 PyObject
* obj1
= 0 ;
5089 PyObject
* obj2
= 0 ;
5091 (char *) "self",(char *) "width",(char *) "height", NULL
5094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5097 arg2
= (int) SWIG_AsInt(obj1
);
5098 if (PyErr_Occurred()) SWIG_fail
;
5099 arg3
= (int) SWIG_AsInt(obj2
);
5100 if (PyErr_Occurred()) SWIG_fail
;
5102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5103 (arg1
)->SetSize(arg2
,arg3
);
5105 wxPyEndAllowThreads(__tstate
);
5106 if (PyErr_Occurred()) SWIG_fail
;
5108 Py_INCREF(Py_None
); resultobj
= Py_None
;
5115 static PyObject
*_wrap_Caret_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5116 PyObject
*resultobj
;
5117 wxCaret
*arg1
= (wxCaret
*) 0 ;
5120 PyObject
* obj0
= 0 ;
5121 PyObject
* obj1
= 0 ;
5123 (char *) "self",(char *) "size", NULL
5126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5131 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
5134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5135 (arg1
)->SetSize((wxSize
const &)*arg2
);
5137 wxPyEndAllowThreads(__tstate
);
5138 if (PyErr_Occurred()) SWIG_fail
;
5140 Py_INCREF(Py_None
); resultobj
= Py_None
;
5147 static PyObject
*_wrap_Caret_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5148 PyObject
*resultobj
;
5149 wxCaret
*arg1
= (wxCaret
*) 0 ;
5150 int arg2
= (int) True
;
5151 PyObject
* obj0
= 0 ;
5152 PyObject
* obj1
= 0 ;
5154 (char *) "self",(char *) "show", NULL
5157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Caret_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
5158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5161 arg2
= (int) SWIG_AsInt(obj1
);
5162 if (PyErr_Occurred()) SWIG_fail
;
5165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5168 wxPyEndAllowThreads(__tstate
);
5169 if (PyErr_Occurred()) SWIG_fail
;
5171 Py_INCREF(Py_None
); resultobj
= Py_None
;
5178 static PyObject
*_wrap_Caret_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5179 PyObject
*resultobj
;
5180 wxCaret
*arg1
= (wxCaret
*) 0 ;
5181 PyObject
* obj0
= 0 ;
5183 (char *) "self", NULL
5186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Hide",kwnames
,&obj0
)) goto fail
;
5187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5193 wxPyEndAllowThreads(__tstate
);
5194 if (PyErr_Occurred()) SWIG_fail
;
5196 Py_INCREF(Py_None
); resultobj
= Py_None
;
5203 static PyObject
* Caret_swigregister(PyObject
*self
, PyObject
*args
) {
5205 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5206 SWIG_TypeClientData(SWIGTYPE_p_wxCaret
, obj
);
5208 return Py_BuildValue((char *)"");
5210 static PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5211 PyObject
*resultobj
;
5217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Caret_GetBlinkTime",kwnames
)) goto fail
;
5219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5220 result
= (int)wxCaret_GetBlinkTime();
5222 wxPyEndAllowThreads(__tstate
);
5223 if (PyErr_Occurred()) SWIG_fail
;
5225 resultobj
= SWIG_FromInt((int)result
);
5232 static PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5233 PyObject
*resultobj
;
5235 PyObject
* obj0
= 0 ;
5237 (char *) "milliseconds", NULL
5240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_SetBlinkTime",kwnames
,&obj0
)) goto fail
;
5241 arg1
= (int) SWIG_AsInt(obj0
);
5242 if (PyErr_Occurred()) SWIG_fail
;
5244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5245 wxCaret_SetBlinkTime(arg1
);
5247 wxPyEndAllowThreads(__tstate
);
5248 if (PyErr_Occurred()) SWIG_fail
;
5250 Py_INCREF(Py_None
); resultobj
= Py_None
;
5257 static PyObject
*_wrap_new_BusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5258 PyObject
*resultobj
;
5259 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
5260 wxBusyCursor
*result
;
5261 PyObject
* obj0
= 0 ;
5263 (char *) "cursor", NULL
5266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) goto fail
;
5268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5272 if (!wxPyCheckForApp()) SWIG_fail
;
5273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5274 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
5276 wxPyEndAllowThreads(__tstate
);
5277 if (PyErr_Occurred()) SWIG_fail
;
5279 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyCursor
, 1);
5286 static PyObject
*_wrap_delete_BusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5287 PyObject
*resultobj
;
5288 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
5289 PyObject
* obj0
= 0 ;
5291 (char *) "self", NULL
5294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyCursor",kwnames
,&obj0
)) goto fail
;
5295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBusyCursor
,
5296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5301 wxPyEndAllowThreads(__tstate
);
5302 if (PyErr_Occurred()) SWIG_fail
;
5304 Py_INCREF(Py_None
); resultobj
= Py_None
;
5311 static PyObject
* BusyCursor_swigregister(PyObject
*self
, PyObject
*args
) {
5313 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5314 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor
, obj
);
5316 return Py_BuildValue((char *)"");
5318 static PyObject
*_wrap_new_WindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5319 PyObject
*resultobj
;
5320 wxWindow
*arg1
= (wxWindow
*) NULL
;
5321 wxWindowDisabler
*result
;
5322 PyObject
* obj0
= 0 ;
5324 (char *) "winToSkip", NULL
5327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) goto fail
;
5329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5333 if (!wxPyCheckForApp()) SWIG_fail
;
5334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5335 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
5337 wxPyEndAllowThreads(__tstate
);
5338 if (PyErr_Occurred()) SWIG_fail
;
5340 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDisabler
, 1);
5347 static PyObject
*_wrap_delete_WindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5348 PyObject
*resultobj
;
5349 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
5350 PyObject
* obj0
= 0 ;
5352 (char *) "self", NULL
5355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_WindowDisabler",kwnames
,&obj0
)) goto fail
;
5356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowDisabler
,
5357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5362 wxPyEndAllowThreads(__tstate
);
5363 if (PyErr_Occurred()) SWIG_fail
;
5365 Py_INCREF(Py_None
); resultobj
= Py_None
;
5372 static PyObject
* WindowDisabler_swigregister(PyObject
*self
, PyObject
*args
) {
5374 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5375 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler
, obj
);
5377 return Py_BuildValue((char *)"");
5379 static PyObject
*_wrap_new_BusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5380 PyObject
*resultobj
;
5381 wxString
*arg1
= 0 ;
5383 bool temp1
= False
;
5384 PyObject
* obj0
= 0 ;
5386 (char *) "message", NULL
5389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) goto fail
;
5391 arg1
= wxString_in_helper(obj0
);
5392 if (arg1
== NULL
) SWIG_fail
;
5396 if (!wxPyCheckForApp()) SWIG_fail
;
5397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5398 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
);
5400 wxPyEndAllowThreads(__tstate
);
5401 if (PyErr_Occurred()) SWIG_fail
;
5403 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyInfo
, 1);
5418 static PyObject
*_wrap_delete_BusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5419 PyObject
*resultobj
;
5420 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
5421 PyObject
* obj0
= 0 ;
5423 (char *) "self", NULL
5426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyInfo",kwnames
,&obj0
)) goto fail
;
5427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBusyInfo
,
5428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5433 wxPyEndAllowThreads(__tstate
);
5434 if (PyErr_Occurred()) SWIG_fail
;
5436 Py_INCREF(Py_None
); resultobj
= Py_None
;
5443 static PyObject
* BusyInfo_swigregister(PyObject
*self
, PyObject
*args
) {
5445 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5446 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo
, obj
);
5448 return Py_BuildValue((char *)"");
5450 static PyObject
*_wrap_new_StopWatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5451 PyObject
*resultobj
;
5452 wxStopWatch
*result
;
5457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StopWatch",kwnames
)) goto fail
;
5459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5460 result
= (wxStopWatch
*)new wxStopWatch();
5462 wxPyEndAllowThreads(__tstate
);
5463 if (PyErr_Occurred()) SWIG_fail
;
5465 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStopWatch
, 1);
5472 static PyObject
*_wrap_StopWatch_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5473 PyObject
*resultobj
;
5474 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5475 long arg2
= (long) 0 ;
5476 PyObject
* obj0
= 0 ;
5477 PyObject
* obj1
= 0 ;
5479 (char *) "self",(char *) "t0", NULL
5482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StopWatch_Start",kwnames
,&obj0
,&obj1
)) goto fail
;
5483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5486 arg2
= (long) SWIG_AsLong(obj1
);
5487 if (PyErr_Occurred()) SWIG_fail
;
5490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5491 (arg1
)->Start(arg2
);
5493 wxPyEndAllowThreads(__tstate
);
5494 if (PyErr_Occurred()) SWIG_fail
;
5496 Py_INCREF(Py_None
); resultobj
= Py_None
;
5503 static PyObject
*_wrap_StopWatch_Pause(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5504 PyObject
*resultobj
;
5505 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5506 PyObject
* obj0
= 0 ;
5508 (char *) "self", NULL
5511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Pause",kwnames
,&obj0
)) goto fail
;
5512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5518 wxPyEndAllowThreads(__tstate
);
5519 if (PyErr_Occurred()) SWIG_fail
;
5521 Py_INCREF(Py_None
); resultobj
= Py_None
;
5528 static PyObject
*_wrap_StopWatch_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5529 PyObject
*resultobj
;
5530 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5531 PyObject
* obj0
= 0 ;
5533 (char *) "self", NULL
5536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Resume",kwnames
,&obj0
)) goto fail
;
5537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5543 wxPyEndAllowThreads(__tstate
);
5544 if (PyErr_Occurred()) SWIG_fail
;
5546 Py_INCREF(Py_None
); resultobj
= Py_None
;
5553 static PyObject
*_wrap_StopWatch_Time(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5554 PyObject
*resultobj
;
5555 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5557 PyObject
* obj0
= 0 ;
5559 (char *) "self", NULL
5562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Time",kwnames
,&obj0
)) goto fail
;
5563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5567 result
= (long)((wxStopWatch
const *)arg1
)->Time();
5569 wxPyEndAllowThreads(__tstate
);
5570 if (PyErr_Occurred()) SWIG_fail
;
5572 resultobj
= SWIG_FromLong((long)result
);
5579 static PyObject
* StopWatch_swigregister(PyObject
*self
, PyObject
*args
) {
5581 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5582 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch
, obj
);
5584 return Py_BuildValue((char *)"");
5586 static PyObject
*_wrap_new_FileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5587 PyObject
*resultobj
;
5588 int arg1
= (int) 9 ;
5589 wxFileHistory
*result
;
5590 PyObject
* obj0
= 0 ;
5592 (char *) "maxFiles", NULL
5595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FileHistory",kwnames
,&obj0
)) goto fail
;
5597 arg1
= (int) SWIG_AsInt(obj0
);
5598 if (PyErr_Occurred()) SWIG_fail
;
5601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5602 result
= (wxFileHistory
*)new wxFileHistory(arg1
);
5604 wxPyEndAllowThreads(__tstate
);
5605 if (PyErr_Occurred()) SWIG_fail
;
5607 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileHistory
, 1);
5614 static PyObject
*_wrap_delete_FileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5615 PyObject
*resultobj
;
5616 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5617 PyObject
* obj0
= 0 ;
5619 (char *) "self", NULL
5622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileHistory",kwnames
,&obj0
)) goto fail
;
5623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5629 wxPyEndAllowThreads(__tstate
);
5630 if (PyErr_Occurred()) SWIG_fail
;
5632 Py_INCREF(Py_None
); resultobj
= Py_None
;
5639 static PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5640 PyObject
*resultobj
;
5641 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5642 wxString
*arg2
= 0 ;
5643 bool temp2
= False
;
5644 PyObject
* obj0
= 0 ;
5645 PyObject
* obj1
= 0 ;
5647 (char *) "self",(char *) "file", NULL
5650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
5651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5654 arg2
= wxString_in_helper(obj1
);
5655 if (arg2
== NULL
) SWIG_fail
;
5659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5660 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
5662 wxPyEndAllowThreads(__tstate
);
5663 if (PyErr_Occurred()) SWIG_fail
;
5665 Py_INCREF(Py_None
); resultobj
= Py_None
;
5680 static PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5681 PyObject
*resultobj
;
5682 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5684 PyObject
* obj0
= 0 ;
5685 PyObject
* obj1
= 0 ;
5687 (char *) "self",(char *) "i", NULL
5690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
5691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5693 arg2
= (int) SWIG_AsInt(obj1
);
5694 if (PyErr_Occurred()) SWIG_fail
;
5696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5697 (arg1
)->RemoveFileFromHistory(arg2
);
5699 wxPyEndAllowThreads(__tstate
);
5700 if (PyErr_Occurred()) SWIG_fail
;
5702 Py_INCREF(Py_None
); resultobj
= Py_None
;
5709 static PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5710 PyObject
*resultobj
;
5711 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5713 PyObject
* obj0
= 0 ;
5715 (char *) "self", NULL
5718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetMaxFiles",kwnames
,&obj0
)) goto fail
;
5719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5723 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
5725 wxPyEndAllowThreads(__tstate
);
5726 if (PyErr_Occurred()) SWIG_fail
;
5728 resultobj
= SWIG_FromInt((int)result
);
5735 static PyObject
*_wrap_FileHistory_UseMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5736 PyObject
*resultobj
;
5737 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5738 wxMenu
*arg2
= (wxMenu
*) 0 ;
5739 PyObject
* obj0
= 0 ;
5740 PyObject
* obj1
= 0 ;
5742 (char *) "self",(char *) "menu", NULL
5745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5748 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
5749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5752 (arg1
)->UseMenu(arg2
);
5754 wxPyEndAllowThreads(__tstate
);
5755 if (PyErr_Occurred()) SWIG_fail
;
5757 Py_INCREF(Py_None
); resultobj
= Py_None
;
5764 static PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5765 PyObject
*resultobj
;
5766 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5767 wxMenu
*arg2
= (wxMenu
*) 0 ;
5768 PyObject
* obj0
= 0 ;
5769 PyObject
* obj1
= 0 ;
5771 (char *) "self",(char *) "menu", NULL
5774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5777 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
5778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5781 (arg1
)->RemoveMenu(arg2
);
5783 wxPyEndAllowThreads(__tstate
);
5784 if (PyErr_Occurred()) SWIG_fail
;
5786 Py_INCREF(Py_None
); resultobj
= Py_None
;
5793 static PyObject
*_wrap_FileHistory_Load(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5794 PyObject
*resultobj
;
5795 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5796 wxConfigBase
*arg2
= 0 ;
5797 PyObject
* obj0
= 0 ;
5798 PyObject
* obj1
= 0 ;
5800 (char *) "self",(char *) "config", NULL
5803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) goto fail
;
5804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5806 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
5807 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5810 PyErr_SetString(PyExc_TypeError
,"null reference");
5814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5815 (arg1
)->Load(*arg2
);
5817 wxPyEndAllowThreads(__tstate
);
5818 if (PyErr_Occurred()) SWIG_fail
;
5820 Py_INCREF(Py_None
); resultobj
= Py_None
;
5827 static PyObject
*_wrap_FileHistory_Save(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5828 PyObject
*resultobj
;
5829 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5830 wxConfigBase
*arg2
= 0 ;
5831 PyObject
* obj0
= 0 ;
5832 PyObject
* obj1
= 0 ;
5834 (char *) "self",(char *) "config", NULL
5837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) goto fail
;
5838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5840 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
5841 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5844 PyErr_SetString(PyExc_TypeError
,"null reference");
5848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5849 (arg1
)->Save(*arg2
);
5851 wxPyEndAllowThreads(__tstate
);
5852 if (PyErr_Occurred()) SWIG_fail
;
5854 Py_INCREF(Py_None
); resultobj
= Py_None
;
5861 static PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5862 PyObject
*resultobj
;
5863 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5864 PyObject
* obj0
= 0 ;
5866 (char *) "self", NULL
5869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_AddFilesToMenu",kwnames
,&obj0
)) goto fail
;
5870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5874 (arg1
)->AddFilesToMenu();
5876 wxPyEndAllowThreads(__tstate
);
5877 if (PyErr_Occurred()) SWIG_fail
;
5879 Py_INCREF(Py_None
); resultobj
= Py_None
;
5886 static PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5887 PyObject
*resultobj
;
5888 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5889 wxMenu
*arg2
= (wxMenu
*) 0 ;
5890 PyObject
* obj0
= 0 ;
5891 PyObject
* obj1
= 0 ;
5893 (char *) "self",(char *) "menu", NULL
5896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5899 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
5900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5903 (arg1
)->AddFilesToMenu(arg2
);
5905 wxPyEndAllowThreads(__tstate
);
5906 if (PyErr_Occurred()) SWIG_fail
;
5908 Py_INCREF(Py_None
); resultobj
= Py_None
;
5915 static PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5916 PyObject
*resultobj
;
5917 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5920 PyObject
* obj0
= 0 ;
5921 PyObject
* obj1
= 0 ;
5923 (char *) "self",(char *) "i", NULL
5926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_GetHistoryFile",kwnames
,&obj0
,&obj1
)) goto fail
;
5927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5929 arg2
= (int) SWIG_AsInt(obj1
);
5930 if (PyErr_Occurred()) SWIG_fail
;
5932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5933 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
5935 wxPyEndAllowThreads(__tstate
);
5936 if (PyErr_Occurred()) SWIG_fail
;
5940 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5942 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5951 static PyObject
*_wrap_FileHistory_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5952 PyObject
*resultobj
;
5953 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5955 PyObject
* obj0
= 0 ;
5957 (char *) "self", NULL
5960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetCount",kwnames
,&obj0
)) goto fail
;
5961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5965 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
5967 wxPyEndAllowThreads(__tstate
);
5968 if (PyErr_Occurred()) SWIG_fail
;
5970 resultobj
= SWIG_FromInt((int)result
);
5977 static PyObject
* FileHistory_swigregister(PyObject
*self
, PyObject
*args
) {
5979 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5980 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory
, obj
);
5982 return Py_BuildValue((char *)"");
5984 static PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5985 PyObject
*resultobj
;
5986 wxString
*arg1
= 0 ;
5987 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5988 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5989 wxSingleInstanceChecker
*result
;
5990 bool temp1
= False
;
5991 bool temp2
= False
;
5992 PyObject
* obj0
= 0 ;
5993 PyObject
* obj1
= 0 ;
5995 (char *) "name",(char *) "path", NULL
5998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) goto fail
;
6000 arg1
= wxString_in_helper(obj0
);
6001 if (arg1
== NULL
) SWIG_fail
;
6006 arg2
= wxString_in_helper(obj1
);
6007 if (arg2
== NULL
) SWIG_fail
;
6012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6013 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
6015 wxPyEndAllowThreads(__tstate
);
6016 if (PyErr_Occurred()) SWIG_fail
;
6018 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
6041 static PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6042 PyObject
*resultobj
;
6043 wxSingleInstanceChecker
*result
;
6048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSingleInstanceChecker",kwnames
)) goto fail
;
6050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6051 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
6053 wxPyEndAllowThreads(__tstate
);
6054 if (PyErr_Occurred()) SWIG_fail
;
6056 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
6063 static PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6064 PyObject
*resultobj
;
6065 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
6066 PyObject
* obj0
= 0 ;
6068 (char *) "self", NULL
6071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_SingleInstanceChecker",kwnames
,&obj0
)) goto fail
;
6072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
6073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6078 wxPyEndAllowThreads(__tstate
);
6079 if (PyErr_Occurred()) SWIG_fail
;
6081 Py_INCREF(Py_None
); resultobj
= Py_None
;
6088 static PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6089 PyObject
*resultobj
;
6090 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
6091 wxString
*arg2
= 0 ;
6092 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6093 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6095 bool temp2
= False
;
6096 bool temp3
= False
;
6097 PyObject
* obj0
= 0 ;
6098 PyObject
* obj1
= 0 ;
6099 PyObject
* obj2
= 0 ;
6101 (char *) "self",(char *) "name",(char *) "path", NULL
6104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
6106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6108 arg2
= wxString_in_helper(obj1
);
6109 if (arg2
== NULL
) SWIG_fail
;
6114 arg3
= wxString_in_helper(obj2
);
6115 if (arg3
== NULL
) SWIG_fail
;
6120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6121 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
6123 wxPyEndAllowThreads(__tstate
);
6124 if (PyErr_Occurred()) SWIG_fail
;
6127 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6151 static PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6152 PyObject
*resultobj
;
6153 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
6155 PyObject
* obj0
= 0 ;
6157 (char *) "self", NULL
6160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames
,&obj0
)) goto fail
;
6161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
6162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6165 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
6167 wxPyEndAllowThreads(__tstate
);
6168 if (PyErr_Occurred()) SWIG_fail
;
6171 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6179 static PyObject
* SingleInstanceChecker_swigregister(PyObject
*self
, PyObject
*args
) {
6181 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6182 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker
, obj
);
6184 return Py_BuildValue((char *)"");
6186 static PyObject
*_wrap_DrawWindowOnDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6187 PyObject
*resultobj
;
6188 wxWindow
*arg1
= (wxWindow
*) 0 ;
6191 PyObject
* obj0
= 0 ;
6192 PyObject
* obj1
= 0 ;
6193 PyObject
* obj2
= 0 ;
6195 (char *) "window",(char *) "dc",(char *) "method", NULL
6198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DrawWindowOnDC",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6201 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
6202 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6205 PyErr_SetString(PyExc_TypeError
,"null reference");
6208 arg3
= (int) SWIG_AsInt(obj2
);
6209 if (PyErr_Occurred()) SWIG_fail
;
6211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6212 wxDrawWindowOnDC(arg1
,(wxDC
const &)*arg2
,arg3
);
6214 wxPyEndAllowThreads(__tstate
);
6215 if (PyErr_Occurred()) SWIG_fail
;
6217 Py_INCREF(Py_None
); resultobj
= Py_None
;
6224 static PyObject
*_wrap_delete_TipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6225 PyObject
*resultobj
;
6226 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6227 PyObject
* obj0
= 0 ;
6229 (char *) "self", NULL
6232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TipProvider",kwnames
,&obj0
)) goto fail
;
6233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6239 wxPyEndAllowThreads(__tstate
);
6240 if (PyErr_Occurred()) SWIG_fail
;
6242 Py_INCREF(Py_None
); resultobj
= Py_None
;
6249 static PyObject
*_wrap_TipProvider_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6250 PyObject
*resultobj
;
6251 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6253 PyObject
* obj0
= 0 ;
6255 (char *) "self", NULL
6258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetTip",kwnames
,&obj0
)) goto fail
;
6259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6263 result
= (arg1
)->GetTip();
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());
6281 static PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6282 PyObject
*resultobj
;
6283 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6285 PyObject
* obj0
= 0 ;
6287 (char *) "self", NULL
6290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetCurrentTip",kwnames
,&obj0
)) goto fail
;
6291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6295 result
= (size_t)(arg1
)->GetCurrentTip();
6297 wxPyEndAllowThreads(__tstate
);
6298 if (PyErr_Occurred()) SWIG_fail
;
6300 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
6307 static PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6308 PyObject
*resultobj
;
6309 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6310 wxString
*arg2
= 0 ;
6312 bool temp2
= False
;
6313 PyObject
* obj0
= 0 ;
6314 PyObject
* obj1
= 0 ;
6316 (char *) "self",(char *) "tip", NULL
6319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) goto fail
;
6320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6323 arg2
= wxString_in_helper(obj1
);
6324 if (arg2
== NULL
) SWIG_fail
;
6328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6329 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
6331 wxPyEndAllowThreads(__tstate
);
6332 if (PyErr_Occurred()) SWIG_fail
;
6336 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6338 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6355 static PyObject
* TipProvider_swigregister(PyObject
*self
, PyObject
*args
) {
6357 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6358 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider
, obj
);
6360 return Py_BuildValue((char *)"");
6362 static PyObject
*_wrap_new_PyTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6363 PyObject
*resultobj
;
6365 wxPyTipProvider
*result
;
6366 PyObject
* obj0
= 0 ;
6368 (char *) "currentTip", NULL
6371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) goto fail
;
6372 arg1
= (size_t) SWIG_AsUnsignedLong(obj0
);
6373 if (PyErr_Occurred()) SWIG_fail
;
6375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6376 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
6378 wxPyEndAllowThreads(__tstate
);
6379 if (PyErr_Occurred()) SWIG_fail
;
6381 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTipProvider
, 1);
6388 static PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6389 PyObject
*resultobj
;
6390 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
6391 PyObject
*arg2
= (PyObject
*) 0 ;
6392 PyObject
*arg3
= (PyObject
*) 0 ;
6393 PyObject
* obj0
= 0 ;
6394 PyObject
* obj1
= 0 ;
6395 PyObject
* obj2
= 0 ;
6397 (char *) "self",(char *) "self",(char *) "_class", NULL
6400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTipProvider
,
6402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6407 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6409 wxPyEndAllowThreads(__tstate
);
6410 if (PyErr_Occurred()) SWIG_fail
;
6412 Py_INCREF(Py_None
); resultobj
= Py_None
;
6419 static PyObject
* PyTipProvider_swigregister(PyObject
*self
, PyObject
*args
) {
6421 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6422 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider
, obj
);
6424 return Py_BuildValue((char *)"");
6426 static PyObject
*_wrap_ShowTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6427 PyObject
*resultobj
;
6428 wxWindow
*arg1
= (wxWindow
*) 0 ;
6429 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
6430 bool arg3
= (bool) True
;
6432 PyObject
* obj0
= 0 ;
6433 PyObject
* obj1
= 0 ;
6434 PyObject
* obj2
= 0 ;
6436 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
6439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6442 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTipProvider
,
6443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6445 arg3
= (bool) SWIG_AsBool(obj2
);
6446 if (PyErr_Occurred()) SWIG_fail
;
6449 if (!wxPyCheckForApp()) SWIG_fail
;
6450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6451 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
6453 wxPyEndAllowThreads(__tstate
);
6454 if (PyErr_Occurred()) SWIG_fail
;
6457 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6465 static PyObject
*_wrap_CreateFileTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6466 PyObject
*resultobj
;
6467 wxString
*arg1
= 0 ;
6469 wxTipProvider
*result
;
6470 bool temp1
= False
;
6471 PyObject
* obj0
= 0 ;
6472 PyObject
* obj1
= 0 ;
6474 (char *) "filename",(char *) "currentTip", NULL
6477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) goto fail
;
6479 arg1
= wxString_in_helper(obj0
);
6480 if (arg1
== NULL
) SWIG_fail
;
6483 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
6484 if (PyErr_Occurred()) SWIG_fail
;
6486 if (!wxPyCheckForApp()) SWIG_fail
;
6487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6488 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
6490 wxPyEndAllowThreads(__tstate
);
6491 if (PyErr_Occurred()) SWIG_fail
;
6493 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipProvider
, 1);
6508 static PyObject
*_wrap_new_Timer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6509 PyObject
*resultobj
;
6510 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
6511 int arg2
= (int) -1 ;
6513 PyObject
* obj0
= 0 ;
6514 PyObject
* obj1
= 0 ;
6516 (char *) "owner",(char *) "id", NULL
6519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Timer",kwnames
,&obj0
,&obj1
)) goto fail
;
6521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
6522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6525 arg2
= (int) SWIG_AsInt(obj1
);
6526 if (PyErr_Occurred()) SWIG_fail
;
6529 if (!wxPyCheckForApp()) SWIG_fail
;
6530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6531 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
6533 wxPyEndAllowThreads(__tstate
);
6534 if (PyErr_Occurred()) SWIG_fail
;
6536 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTimer
, 1);
6543 static PyObject
*_wrap_delete_Timer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6544 PyObject
*resultobj
;
6545 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6546 PyObject
* obj0
= 0 ;
6548 (char *) "self", NULL
6551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Timer",kwnames
,&obj0
)) goto fail
;
6552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6558 wxPyEndAllowThreads(__tstate
);
6559 if (PyErr_Occurred()) SWIG_fail
;
6561 Py_INCREF(Py_None
); resultobj
= Py_None
;
6568 static PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6569 PyObject
*resultobj
;
6570 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6571 PyObject
*arg2
= (PyObject
*) 0 ;
6572 PyObject
*arg3
= (PyObject
*) 0 ;
6573 int arg4
= (int) 1 ;
6574 PyObject
* obj0
= 0 ;
6575 PyObject
* obj1
= 0 ;
6576 PyObject
* obj2
= 0 ;
6577 PyObject
* obj3
= 0 ;
6579 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
6582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6588 arg4
= (int) SWIG_AsInt(obj3
);
6589 if (PyErr_Occurred()) SWIG_fail
;
6592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6593 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
6595 wxPyEndAllowThreads(__tstate
);
6596 if (PyErr_Occurred()) SWIG_fail
;
6598 Py_INCREF(Py_None
); resultobj
= Py_None
;
6605 static PyObject
*_wrap_Timer_SetOwner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6606 PyObject
*resultobj
;
6607 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6608 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
6609 int arg3
= (int) -1 ;
6610 PyObject
* obj0
= 0 ;
6611 PyObject
* obj1
= 0 ;
6612 PyObject
* obj2
= 0 ;
6614 (char *) "self",(char *) "owner",(char *) "id", NULL
6617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6620 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
6621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6623 arg3
= (int) SWIG_AsInt(obj2
);
6624 if (PyErr_Occurred()) SWIG_fail
;
6627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6628 (arg1
)->SetOwner(arg2
,arg3
);
6630 wxPyEndAllowThreads(__tstate
);
6631 if (PyErr_Occurred()) SWIG_fail
;
6633 Py_INCREF(Py_None
); resultobj
= Py_None
;
6640 static PyObject
*_wrap_Timer_GetOwner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6641 PyObject
*resultobj
;
6642 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6643 wxEvtHandler
*result
;
6644 PyObject
* obj0
= 0 ;
6646 (char *) "self", NULL
6649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetOwner",kwnames
,&obj0
)) goto fail
;
6650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6654 result
= (wxEvtHandler
*)(arg1
)->GetOwner();
6656 wxPyEndAllowThreads(__tstate
);
6657 if (PyErr_Occurred()) SWIG_fail
;
6660 resultobj
= wxPyMake_wxObject(result
, 0);
6668 static PyObject
*_wrap_Timer_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6669 PyObject
*resultobj
;
6670 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6671 int arg2
= (int) -1 ;
6672 bool arg3
= (bool) False
;
6674 PyObject
* obj0
= 0 ;
6675 PyObject
* obj1
= 0 ;
6676 PyObject
* obj2
= 0 ;
6678 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
6681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Timer_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6685 arg2
= (int) SWIG_AsInt(obj1
);
6686 if (PyErr_Occurred()) SWIG_fail
;
6689 arg3
= (bool) SWIG_AsBool(obj2
);
6690 if (PyErr_Occurred()) SWIG_fail
;
6693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6694 result
= (bool)(arg1
)->Start(arg2
,arg3
);
6696 wxPyEndAllowThreads(__tstate
);
6697 if (PyErr_Occurred()) SWIG_fail
;
6700 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6708 static PyObject
*_wrap_Timer_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6709 PyObject
*resultobj
;
6710 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6711 PyObject
* obj0
= 0 ;
6713 (char *) "self", NULL
6716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_Stop",kwnames
,&obj0
)) goto fail
;
6717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6723 wxPyEndAllowThreads(__tstate
);
6724 if (PyErr_Occurred()) SWIG_fail
;
6726 Py_INCREF(Py_None
); resultobj
= Py_None
;
6733 static PyObject
*_wrap_Timer_IsRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6734 PyObject
*resultobj
;
6735 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6737 PyObject
* obj0
= 0 ;
6739 (char *) "self", NULL
6742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsRunning",kwnames
,&obj0
)) goto fail
;
6743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6747 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
6749 wxPyEndAllowThreads(__tstate
);
6750 if (PyErr_Occurred()) SWIG_fail
;
6753 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6761 static PyObject
*_wrap_Timer_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6762 PyObject
*resultobj
;
6763 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6765 PyObject
* obj0
= 0 ;
6767 (char *) "self", NULL
6770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetInterval",kwnames
,&obj0
)) goto fail
;
6771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6775 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
6777 wxPyEndAllowThreads(__tstate
);
6778 if (PyErr_Occurred()) SWIG_fail
;
6780 resultobj
= SWIG_FromInt((int)result
);
6787 static PyObject
*_wrap_Timer_IsOneShot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6788 PyObject
*resultobj
;
6789 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6791 PyObject
* obj0
= 0 ;
6793 (char *) "self", NULL
6796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsOneShot",kwnames
,&obj0
)) goto fail
;
6797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6801 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
6803 wxPyEndAllowThreads(__tstate
);
6804 if (PyErr_Occurred()) SWIG_fail
;
6807 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6815 static PyObject
*_wrap_Timer_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6816 PyObject
*resultobj
;
6817 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6819 PyObject
* obj0
= 0 ;
6821 (char *) "self", NULL
6824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetId",kwnames
,&obj0
)) goto fail
;
6825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6829 result
= (int)((wxPyTimer
const *)arg1
)->GetId();
6831 wxPyEndAllowThreads(__tstate
);
6832 if (PyErr_Occurred()) SWIG_fail
;
6834 resultobj
= SWIG_FromInt((int)result
);
6841 static PyObject
* Timer_swigregister(PyObject
*self
, PyObject
*args
) {
6843 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6844 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer
, obj
);
6846 return Py_BuildValue((char *)"");
6848 static PyObject
*_wrap_new_TimerEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6849 PyObject
*resultobj
;
6850 int arg1
= (int) 0 ;
6851 int arg2
= (int) 0 ;
6852 wxTimerEvent
*result
;
6853 PyObject
* obj0
= 0 ;
6854 PyObject
* obj1
= 0 ;
6856 (char *) "timerid",(char *) "interval", NULL
6859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TimerEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
6861 arg1
= (int) SWIG_AsInt(obj0
);
6862 if (PyErr_Occurred()) SWIG_fail
;
6865 arg2
= (int) SWIG_AsInt(obj1
);
6866 if (PyErr_Occurred()) SWIG_fail
;
6869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6870 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
6872 wxPyEndAllowThreads(__tstate
);
6873 if (PyErr_Occurred()) SWIG_fail
;
6875 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerEvent
, 1);
6882 static PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6883 PyObject
*resultobj
;
6884 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
6886 PyObject
* obj0
= 0 ;
6888 (char *) "self", NULL
6891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimerEvent_GetInterval",kwnames
,&obj0
)) goto fail
;
6892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerEvent
,
6893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6896 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
6898 wxPyEndAllowThreads(__tstate
);
6899 if (PyErr_Occurred()) SWIG_fail
;
6901 resultobj
= SWIG_FromInt((int)result
);
6908 static PyObject
* TimerEvent_swigregister(PyObject
*self
, PyObject
*args
) {
6910 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6911 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent
, obj
);
6913 return Py_BuildValue((char *)"");
6915 static PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*self
, PyObject
*args
) {
6916 PyObject
*resultobj
;
6918 wxTimerRunner
*result
;
6919 PyObject
* obj0
= 0 ;
6921 if(!PyArg_ParseTuple(args
,(char *)"O:new_TimerRunner",&obj0
)) goto fail
;
6922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimer
,
6923 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6926 PyErr_SetString(PyExc_TypeError
,"null reference");
6930 if (!wxPyCheckForApp()) SWIG_fail
;
6931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6932 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
6934 wxPyEndAllowThreads(__tstate
);
6935 if (PyErr_Occurred()) SWIG_fail
;
6937 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
6944 static PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*self
, PyObject
*args
) {
6945 PyObject
*resultobj
;
6948 bool arg3
= (bool) False
;
6949 wxTimerRunner
*result
;
6950 PyObject
* obj0
= 0 ;
6951 PyObject
* obj1
= 0 ;
6952 PyObject
* obj2
= 0 ;
6954 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_TimerRunner",&obj0
,&obj1
,&obj2
)) goto fail
;
6955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimer
,
6956 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6959 PyErr_SetString(PyExc_TypeError
,"null reference");
6962 arg2
= (int) SWIG_AsInt(obj1
);
6963 if (PyErr_Occurred()) SWIG_fail
;
6965 arg3
= (bool) SWIG_AsBool(obj2
);
6966 if (PyErr_Occurred()) SWIG_fail
;
6969 if (!wxPyCheckForApp()) SWIG_fail
;
6970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6971 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
6973 wxPyEndAllowThreads(__tstate
);
6974 if (PyErr_Occurred()) SWIG_fail
;
6976 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
6983 static PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
6988 argc
= PyObject_Length(args
);
6989 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
6990 argv
[ii
] = PyTuple_GetItem(args
,ii
);
6996 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
7004 return _wrap_new_TimerRunner__SWIG_0(self
,args
);
7007 if ((argc
>= 2) && (argc
<= 3)) {
7011 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
7019 _v
= SWIG_CheckInt(argv
[1]);
7022 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
7024 _v
= SWIG_CheckBool(argv
[2]);
7026 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
7032 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TimerRunner'");
7037 static PyObject
*_wrap_delete_TimerRunner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7038 PyObject
*resultobj
;
7039 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
7040 PyObject
* obj0
= 0 ;
7042 (char *) "self", NULL
7045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimerRunner",kwnames
,&obj0
)) goto fail
;
7046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerRunner
,
7047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7052 wxPyEndAllowThreads(__tstate
);
7053 if (PyErr_Occurred()) SWIG_fail
;
7055 Py_INCREF(Py_None
); resultobj
= Py_None
;
7062 static PyObject
*_wrap_TimerRunner_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7063 PyObject
*resultobj
;
7064 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
7066 bool arg3
= (bool) False
;
7067 PyObject
* obj0
= 0 ;
7068 PyObject
* obj1
= 0 ;
7069 PyObject
* obj2
= 0 ;
7071 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
7074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TimerRunner_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerRunner
,
7076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7077 arg2
= (int) SWIG_AsInt(obj1
);
7078 if (PyErr_Occurred()) SWIG_fail
;
7080 arg3
= (bool) SWIG_AsBool(obj2
);
7081 if (PyErr_Occurred()) SWIG_fail
;
7084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7085 (arg1
)->Start(arg2
,arg3
);
7087 wxPyEndAllowThreads(__tstate
);
7088 if (PyErr_Occurred()) SWIG_fail
;
7090 Py_INCREF(Py_None
); resultobj
= Py_None
;
7097 static PyObject
* TimerRunner_swigregister(PyObject
*self
, PyObject
*args
) {
7099 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7100 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner
, obj
);
7102 return Py_BuildValue((char *)"");
7104 static PyObject
*_wrap_new_Log(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7105 PyObject
*resultobj
;
7111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Log",kwnames
)) goto fail
;
7113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7114 result
= (wxLog
*)new wxLog();
7116 wxPyEndAllowThreads(__tstate
);
7117 if (PyErr_Occurred()) SWIG_fail
;
7119 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 1);
7126 static PyObject
*_wrap_Log_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7127 PyObject
*resultobj
;
7133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_IsEnabled",kwnames
)) goto fail
;
7135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7136 result
= (bool)wxLog::IsEnabled();
7138 wxPyEndAllowThreads(__tstate
);
7139 if (PyErr_Occurred()) SWIG_fail
;
7142 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7150 static PyObject
*_wrap_Log_EnableLogging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7151 PyObject
*resultobj
;
7152 bool arg1
= (bool) True
;
7154 PyObject
* obj0
= 0 ;
7156 (char *) "doIt", NULL
7159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) goto fail
;
7161 arg1
= (bool) SWIG_AsBool(obj0
);
7162 if (PyErr_Occurred()) SWIG_fail
;
7165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7166 result
= (bool)wxLog::EnableLogging(arg1
);
7168 wxPyEndAllowThreads(__tstate
);
7169 if (PyErr_Occurred()) SWIG_fail
;
7172 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7180 static PyObject
*_wrap_Log_OnLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7181 PyObject
*resultobj
;
7183 wxChar
*arg2
= (wxChar
*) 0 ;
7185 PyObject
* obj0
= 0 ;
7186 PyObject
* obj1
= 0 ;
7187 PyObject
* obj2
= 0 ;
7189 (char *) "level",(char *) "szString",(char *) "t", NULL
7192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7193 arg1
= (wxLogLevel
) SWIG_AsUnsignedLong(obj0
);
7194 if (PyErr_Occurred()) SWIG_fail
;
7195 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxChar
,
7196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7197 arg3
= (time_t) SWIG_AsUnsignedInt(obj2
);
7198 if (PyErr_Occurred()) SWIG_fail
;
7200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7201 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
7203 wxPyEndAllowThreads(__tstate
);
7204 if (PyErr_Occurred()) SWIG_fail
;
7206 Py_INCREF(Py_None
); resultobj
= Py_None
;
7213 static PyObject
*_wrap_Log_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7214 PyObject
*resultobj
;
7215 wxLog
*arg1
= (wxLog
*) 0 ;
7216 PyObject
* obj0
= 0 ;
7218 (char *) "self", NULL
7221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Flush",kwnames
,&obj0
)) goto fail
;
7222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7228 wxPyEndAllowThreads(__tstate
);
7229 if (PyErr_Occurred()) SWIG_fail
;
7231 Py_INCREF(Py_None
); resultobj
= Py_None
;
7238 static PyObject
*_wrap_Log_FlushActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7239 PyObject
*resultobj
;
7244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_FlushActive",kwnames
)) goto fail
;
7246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7247 wxLog::FlushActive();
7249 wxPyEndAllowThreads(__tstate
);
7250 if (PyErr_Occurred()) SWIG_fail
;
7252 Py_INCREF(Py_None
); resultobj
= Py_None
;
7259 static PyObject
*_wrap_Log_GetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7260 PyObject
*resultobj
;
7266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetActiveTarget",kwnames
)) goto fail
;
7268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7269 result
= (wxLog
*)wxLog::GetActiveTarget();
7271 wxPyEndAllowThreads(__tstate
);
7272 if (PyErr_Occurred()) SWIG_fail
;
7274 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7281 static PyObject
*_wrap_Log_SetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7282 PyObject
*resultobj
;
7283 wxLog
*arg1
= (wxLog
*) 0 ;
7285 PyObject
* obj0
= 0 ;
7287 (char *) "pLogger", NULL
7290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) goto fail
;
7291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7295 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
7297 wxPyEndAllowThreads(__tstate
);
7298 if (PyErr_Occurred()) SWIG_fail
;
7300 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7307 static PyObject
*_wrap_Log_Suspend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7308 PyObject
*resultobj
;
7313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Suspend",kwnames
)) goto fail
;
7315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7318 wxPyEndAllowThreads(__tstate
);
7319 if (PyErr_Occurred()) SWIG_fail
;
7321 Py_INCREF(Py_None
); resultobj
= Py_None
;
7328 static PyObject
*_wrap_Log_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7329 PyObject
*resultobj
;
7334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Resume",kwnames
)) goto fail
;
7336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7339 wxPyEndAllowThreads(__tstate
);
7340 if (PyErr_Occurred()) SWIG_fail
;
7342 Py_INCREF(Py_None
); resultobj
= Py_None
;
7349 static PyObject
*_wrap_Log_SetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7350 PyObject
*resultobj
;
7351 bool arg1
= (bool) True
;
7352 PyObject
* obj0
= 0 ;
7354 (char *) "bVerbose", NULL
7357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) goto fail
;
7359 arg1
= (bool) SWIG_AsBool(obj0
);
7360 if (PyErr_Occurred()) SWIG_fail
;
7363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7364 wxLog::SetVerbose(arg1
);
7366 wxPyEndAllowThreads(__tstate
);
7367 if (PyErr_Occurred()) SWIG_fail
;
7369 Py_INCREF(Py_None
); resultobj
= Py_None
;
7376 static PyObject
*_wrap_Log_SetLogLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7377 PyObject
*resultobj
;
7379 PyObject
* obj0
= 0 ;
7381 (char *) "logLevel", NULL
7384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) goto fail
;
7385 arg1
= (wxLogLevel
) SWIG_AsUnsignedLong(obj0
);
7386 if (PyErr_Occurred()) SWIG_fail
;
7388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7389 wxLog::SetLogLevel(arg1
);
7391 wxPyEndAllowThreads(__tstate
);
7392 if (PyErr_Occurred()) SWIG_fail
;
7394 Py_INCREF(Py_None
); resultobj
= Py_None
;
7401 static PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7402 PyObject
*resultobj
;
7407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_DontCreateOnDemand",kwnames
)) goto fail
;
7409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7410 wxLog::DontCreateOnDemand();
7412 wxPyEndAllowThreads(__tstate
);
7413 if (PyErr_Occurred()) SWIG_fail
;
7415 Py_INCREF(Py_None
); resultobj
= Py_None
;
7422 static PyObject
*_wrap_Log_SetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7423 PyObject
*resultobj
;
7425 PyObject
* obj0
= 0 ;
7427 (char *) "ulMask", NULL
7430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) goto fail
;
7431 arg1
= (wxTraceMask
) SWIG_AsUnsignedLong(obj0
);
7432 if (PyErr_Occurred()) SWIG_fail
;
7434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7435 wxLog::SetTraceMask(arg1
);
7437 wxPyEndAllowThreads(__tstate
);
7438 if (PyErr_Occurred()) SWIG_fail
;
7440 Py_INCREF(Py_None
); resultobj
= Py_None
;
7447 static PyObject
*_wrap_Log_AddTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7448 PyObject
*resultobj
;
7449 wxString
*arg1
= 0 ;
7450 bool temp1
= False
;
7451 PyObject
* obj0
= 0 ;
7453 (char *) "str", NULL
7456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) goto fail
;
7458 arg1
= wxString_in_helper(obj0
);
7459 if (arg1
== NULL
) SWIG_fail
;
7463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7464 wxLog::AddTraceMask((wxString
const &)*arg1
);
7466 wxPyEndAllowThreads(__tstate
);
7467 if (PyErr_Occurred()) SWIG_fail
;
7469 Py_INCREF(Py_None
); resultobj
= Py_None
;
7484 static PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7485 PyObject
*resultobj
;
7486 wxString
*arg1
= 0 ;
7487 bool temp1
= False
;
7488 PyObject
* obj0
= 0 ;
7490 (char *) "str", NULL
7493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) goto fail
;
7495 arg1
= wxString_in_helper(obj0
);
7496 if (arg1
== NULL
) SWIG_fail
;
7500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7501 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
7503 wxPyEndAllowThreads(__tstate
);
7504 if (PyErr_Occurred()) SWIG_fail
;
7506 Py_INCREF(Py_None
); resultobj
= Py_None
;
7521 static PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7522 PyObject
*resultobj
;
7527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_ClearTraceMasks",kwnames
)) goto fail
;
7529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7530 wxLog::ClearTraceMasks();
7532 wxPyEndAllowThreads(__tstate
);
7533 if (PyErr_Occurred()) SWIG_fail
;
7535 Py_INCREF(Py_None
); resultobj
= Py_None
;
7542 static PyObject
*_wrap_Log_GetTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7543 PyObject
*resultobj
;
7544 wxArrayString
*result
;
7549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMasks",kwnames
)) goto fail
;
7551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7553 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
7554 result
= (wxArrayString
*) &_result_ref
;
7557 wxPyEndAllowThreads(__tstate
);
7558 if (PyErr_Occurred()) SWIG_fail
;
7561 resultobj
= wxArrayString2PyList_helper(*result
);
7569 static PyObject
*_wrap_Log_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7570 PyObject
*resultobj
;
7571 wxChar
*arg1
= (wxChar
*) 0 ;
7572 PyObject
* obj0
= 0 ;
7577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) goto fail
;
7578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChar
,
7579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7582 wxLog::SetTimestamp((wxChar
const *)arg1
);
7584 wxPyEndAllowThreads(__tstate
);
7585 if (PyErr_Occurred()) SWIG_fail
;
7587 Py_INCREF(Py_None
); resultobj
= Py_None
;
7594 static PyObject
*_wrap_Log_GetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7595 PyObject
*resultobj
;
7601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetVerbose",kwnames
)) goto fail
;
7603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7604 result
= (bool)wxLog::GetVerbose();
7606 wxPyEndAllowThreads(__tstate
);
7607 if (PyErr_Occurred()) SWIG_fail
;
7610 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7618 static PyObject
*_wrap_Log_GetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7619 PyObject
*resultobj
;
7625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMask",kwnames
)) goto fail
;
7627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7628 result
= (wxTraceMask
)wxLog::GetTraceMask();
7630 wxPyEndAllowThreads(__tstate
);
7631 if (PyErr_Occurred()) SWIG_fail
;
7633 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
7640 static PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7641 PyObject
*resultobj
;
7642 wxChar
*arg1
= (wxChar
*) 0 ;
7644 PyObject
* obj0
= 0 ;
7646 (char *) "mask", NULL
7649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) goto fail
;
7650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChar
,
7651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7654 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
7656 wxPyEndAllowThreads(__tstate
);
7657 if (PyErr_Occurred()) SWIG_fail
;
7660 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7668 static PyObject
*_wrap_Log_GetLogLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7669 PyObject
*resultobj
;
7675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetLogLevel",kwnames
)) goto fail
;
7677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7678 result
= (wxLogLevel
)wxLog::GetLogLevel();
7680 wxPyEndAllowThreads(__tstate
);
7681 if (PyErr_Occurred()) SWIG_fail
;
7683 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
7690 static PyObject
*_wrap_Log_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7691 PyObject
*resultobj
;
7697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTimestamp",kwnames
)) goto fail
;
7699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7700 result
= (wxChar
*)wxLog::GetTimestamp();
7702 wxPyEndAllowThreads(__tstate
);
7703 if (PyErr_Occurred()) SWIG_fail
;
7705 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChar
, 0);
7712 static PyObject
*_wrap_Log_TimeStamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7713 PyObject
*resultobj
;
7719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_TimeStamp",kwnames
)) goto fail
;
7721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7722 result
= Log_TimeStamp();
7724 wxPyEndAllowThreads(__tstate
);
7725 if (PyErr_Occurred()) SWIG_fail
;
7729 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7731 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7740 static PyObject
*_wrap_Log_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7741 PyObject
*resultobj
;
7742 wxLog
*arg1
= (wxLog
*) 0 ;
7743 PyObject
* obj0
= 0 ;
7745 (char *) "self", NULL
7748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Destroy",kwnames
,&obj0
)) goto fail
;
7749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7753 wxLog_Destroy(arg1
);
7755 wxPyEndAllowThreads(__tstate
);
7756 if (PyErr_Occurred()) SWIG_fail
;
7758 Py_INCREF(Py_None
); resultobj
= Py_None
;
7765 static PyObject
* Log_swigregister(PyObject
*self
, PyObject
*args
) {
7767 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7768 SWIG_TypeClientData(SWIGTYPE_p_wxLog
, obj
);
7770 return Py_BuildValue((char *)"");
7772 static PyObject
*_wrap_new_LogStderr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7773 PyObject
*resultobj
;
7774 wxLogStderr
*result
;
7779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogStderr",kwnames
)) goto fail
;
7781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7782 result
= (wxLogStderr
*)new wxLogStderr();
7784 wxPyEndAllowThreads(__tstate
);
7785 if (PyErr_Occurred()) SWIG_fail
;
7787 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogStderr
, 1);
7794 static PyObject
* LogStderr_swigregister(PyObject
*self
, PyObject
*args
) {
7796 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7797 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr
, obj
);
7799 return Py_BuildValue((char *)"");
7801 static PyObject
*_wrap_new_LogTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7802 PyObject
*resultobj
;
7803 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7804 wxLogTextCtrl
*result
;
7805 PyObject
* obj0
= 0 ;
7807 (char *) "pTextCtrl", NULL
7810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) goto fail
;
7811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7815 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
7817 wxPyEndAllowThreads(__tstate
);
7818 if (PyErr_Occurred()) SWIG_fail
;
7820 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogTextCtrl
, 1);
7827 static PyObject
* LogTextCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
7829 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7830 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl
, obj
);
7832 return Py_BuildValue((char *)"");
7834 static PyObject
*_wrap_new_LogGui(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7835 PyObject
*resultobj
;
7841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogGui",kwnames
)) goto fail
;
7843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7844 result
= (wxLogGui
*)new wxLogGui();
7846 wxPyEndAllowThreads(__tstate
);
7847 if (PyErr_Occurred()) SWIG_fail
;
7849 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogGui
, 1);
7856 static PyObject
* LogGui_swigregister(PyObject
*self
, PyObject
*args
) {
7858 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7859 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui
, obj
);
7861 return Py_BuildValue((char *)"");
7863 static PyObject
*_wrap_new_LogWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7864 PyObject
*resultobj
;
7865 wxFrame
*arg1
= (wxFrame
*) 0 ;
7866 wxString
*arg2
= 0 ;
7867 bool arg3
= (bool) True
;
7868 bool arg4
= (bool) True
;
7869 wxLogWindow
*result
;
7870 bool temp2
= False
;
7871 PyObject
* obj0
= 0 ;
7872 PyObject
* obj1
= 0 ;
7873 PyObject
* obj2
= 0 ;
7874 PyObject
* obj3
= 0 ;
7876 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
7879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
7881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7883 arg2
= wxString_in_helper(obj1
);
7884 if (arg2
== NULL
) SWIG_fail
;
7888 arg3
= (bool) SWIG_AsBool(obj2
);
7889 if (PyErr_Occurred()) SWIG_fail
;
7892 arg4
= (bool) SWIG_AsBool(obj3
);
7893 if (PyErr_Occurred()) SWIG_fail
;
7896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7897 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
7899 wxPyEndAllowThreads(__tstate
);
7900 if (PyErr_Occurred()) SWIG_fail
;
7902 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogWindow
, 1);
7917 static PyObject
*_wrap_LogWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7918 PyObject
*resultobj
;
7919 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7920 bool arg2
= (bool) True
;
7921 PyObject
* obj0
= 0 ;
7922 PyObject
* obj1
= 0 ;
7924 (char *) "self",(char *) "bShow", NULL
7927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
7928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7931 arg2
= (bool) SWIG_AsBool(obj1
);
7932 if (PyErr_Occurred()) SWIG_fail
;
7935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7938 wxPyEndAllowThreads(__tstate
);
7939 if (PyErr_Occurred()) SWIG_fail
;
7941 Py_INCREF(Py_None
); resultobj
= Py_None
;
7948 static PyObject
*_wrap_LogWindow_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7949 PyObject
*resultobj
;
7950 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7952 PyObject
* obj0
= 0 ;
7954 (char *) "self", NULL
7957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetFrame",kwnames
,&obj0
)) goto fail
;
7958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7962 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
7964 wxPyEndAllowThreads(__tstate
);
7965 if (PyErr_Occurred()) SWIG_fail
;
7968 resultobj
= wxPyMake_wxObject(result
, 0);
7976 static PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7977 PyObject
*resultobj
;
7978 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7980 PyObject
* obj0
= 0 ;
7982 (char *) "self", NULL
7985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetOldLog",kwnames
,&obj0
)) goto fail
;
7986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7990 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
7992 wxPyEndAllowThreads(__tstate
);
7993 if (PyErr_Occurred()) SWIG_fail
;
7995 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
8002 static PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8003 PyObject
*resultobj
;
8004 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
8006 PyObject
* obj0
= 0 ;
8008 (char *) "self", NULL
8011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
8012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
8013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8016 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
8018 wxPyEndAllowThreads(__tstate
);
8019 if (PyErr_Occurred()) SWIG_fail
;
8022 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8030 static PyObject
*_wrap_LogWindow_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8031 PyObject
*resultobj
;
8032 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
8034 PyObject
* obj0
= 0 ;
8035 PyObject
* obj1
= 0 ;
8037 (char *) "self",(char *) "bDoPass", NULL
8040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
8041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
8042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8043 arg2
= (bool) SWIG_AsBool(obj1
);
8044 if (PyErr_Occurred()) SWIG_fail
;
8046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8047 (arg1
)->PassMessages(arg2
);
8049 wxPyEndAllowThreads(__tstate
);
8050 if (PyErr_Occurred()) SWIG_fail
;
8052 Py_INCREF(Py_None
); resultobj
= Py_None
;
8059 static PyObject
* LogWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8061 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8062 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow
, obj
);
8064 return Py_BuildValue((char *)"");
8066 static PyObject
*_wrap_new_LogChain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8067 PyObject
*resultobj
;
8068 wxLog
*arg1
= (wxLog
*) 0 ;
8070 PyObject
* obj0
= 0 ;
8072 (char *) "logger", NULL
8075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) goto fail
;
8076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
8077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8080 result
= (wxLogChain
*)new wxLogChain(arg1
);
8082 wxPyEndAllowThreads(__tstate
);
8083 if (PyErr_Occurred()) SWIG_fail
;
8085 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogChain
, 1);
8092 static PyObject
*_wrap_LogChain_SetLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8093 PyObject
*resultobj
;
8094 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8095 wxLog
*arg2
= (wxLog
*) 0 ;
8096 PyObject
* obj0
= 0 ;
8097 PyObject
* obj1
= 0 ;
8099 (char *) "self",(char *) "logger", NULL
8102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) goto fail
;
8103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8105 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLog
,
8106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8109 (arg1
)->SetLog(arg2
);
8111 wxPyEndAllowThreads(__tstate
);
8112 if (PyErr_Occurred()) SWIG_fail
;
8114 Py_INCREF(Py_None
); resultobj
= Py_None
;
8121 static PyObject
*_wrap_LogChain_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8122 PyObject
*resultobj
;
8123 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8125 PyObject
* obj0
= 0 ;
8126 PyObject
* obj1
= 0 ;
8128 (char *) "self",(char *) "bDoPass", NULL
8131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
8132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8134 arg2
= (bool) SWIG_AsBool(obj1
);
8135 if (PyErr_Occurred()) SWIG_fail
;
8137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8138 (arg1
)->PassMessages(arg2
);
8140 wxPyEndAllowThreads(__tstate
);
8141 if (PyErr_Occurred()) SWIG_fail
;
8143 Py_INCREF(Py_None
); resultobj
= Py_None
;
8150 static PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8151 PyObject
*resultobj
;
8152 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8154 PyObject
* obj0
= 0 ;
8156 (char *) "self", NULL
8159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
8160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8164 result
= (bool)(arg1
)->IsPassingMessages();
8166 wxPyEndAllowThreads(__tstate
);
8167 if (PyErr_Occurred()) SWIG_fail
;
8170 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8178 static PyObject
*_wrap_LogChain_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8179 PyObject
*resultobj
;
8180 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8182 PyObject
* obj0
= 0 ;
8184 (char *) "self", NULL
8187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_GetOldLog",kwnames
,&obj0
)) goto fail
;
8188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8192 result
= (wxLog
*)(arg1
)->GetOldLog();
8194 wxPyEndAllowThreads(__tstate
);
8195 if (PyErr_Occurred()) SWIG_fail
;
8197 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
8204 static PyObject
* LogChain_swigregister(PyObject
*self
, PyObject
*args
) {
8206 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8207 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain
, obj
);
8209 return Py_BuildValue((char *)"");
8211 static PyObject
*_wrap_SysErrorCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8212 PyObject
*resultobj
;
8213 unsigned long result
;
8218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SysErrorCode",kwnames
)) goto fail
;
8220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8221 result
= (unsigned long)wxSysErrorCode();
8223 wxPyEndAllowThreads(__tstate
);
8224 if (PyErr_Occurred()) SWIG_fail
;
8226 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
8233 static PyObject
*_wrap_SysErrorMsg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8234 PyObject
*resultobj
;
8235 unsigned long arg1
= (unsigned long) 0 ;
8237 PyObject
* obj0
= 0 ;
8239 (char *) "nErrCode", NULL
8242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) goto fail
;
8244 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
8245 if (PyErr_Occurred()) SWIG_fail
;
8248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8249 result
= wxSysErrorMsg(arg1
);
8251 wxPyEndAllowThreads(__tstate
);
8252 if (PyErr_Occurred()) SWIG_fail
;
8256 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8258 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8267 static PyObject
*_wrap_LogFatalError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8268 PyObject
*resultobj
;
8269 wxString
*arg1
= 0 ;
8270 bool temp1
= False
;
8271 PyObject
* obj0
= 0 ;
8273 (char *) "msg", NULL
8276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) goto fail
;
8278 arg1
= wxString_in_helper(obj0
);
8279 if (arg1
== NULL
) SWIG_fail
;
8283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8284 wxLogFatalError((wxString
const &)*arg1
);
8286 wxPyEndAllowThreads(__tstate
);
8287 if (PyErr_Occurred()) SWIG_fail
;
8289 Py_INCREF(Py_None
); resultobj
= Py_None
;
8304 static PyObject
*_wrap_LogError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8305 PyObject
*resultobj
;
8306 wxString
*arg1
= 0 ;
8307 bool temp1
= False
;
8308 PyObject
* obj0
= 0 ;
8310 (char *) "msg", NULL
8313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) goto fail
;
8315 arg1
= wxString_in_helper(obj0
);
8316 if (arg1
== NULL
) SWIG_fail
;
8320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8321 wxLogError((wxString
const &)*arg1
);
8323 wxPyEndAllowThreads(__tstate
);
8324 if (PyErr_Occurred()) SWIG_fail
;
8326 Py_INCREF(Py_None
); resultobj
= Py_None
;
8341 static PyObject
*_wrap_LogWarning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8342 PyObject
*resultobj
;
8343 wxString
*arg1
= 0 ;
8344 bool temp1
= False
;
8345 PyObject
* obj0
= 0 ;
8347 (char *) "msg", NULL
8350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) goto fail
;
8352 arg1
= wxString_in_helper(obj0
);
8353 if (arg1
== NULL
) SWIG_fail
;
8357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8358 wxLogWarning((wxString
const &)*arg1
);
8360 wxPyEndAllowThreads(__tstate
);
8361 if (PyErr_Occurred()) SWIG_fail
;
8363 Py_INCREF(Py_None
); resultobj
= Py_None
;
8378 static PyObject
*_wrap_LogMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8379 PyObject
*resultobj
;
8380 wxString
*arg1
= 0 ;
8381 bool temp1
= False
;
8382 PyObject
* obj0
= 0 ;
8384 (char *) "msg", NULL
8387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) goto fail
;
8389 arg1
= wxString_in_helper(obj0
);
8390 if (arg1
== NULL
) SWIG_fail
;
8394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8395 wxLogMessage((wxString
const &)*arg1
);
8397 wxPyEndAllowThreads(__tstate
);
8398 if (PyErr_Occurred()) SWIG_fail
;
8400 Py_INCREF(Py_None
); resultobj
= Py_None
;
8415 static PyObject
*_wrap_LogInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8416 PyObject
*resultobj
;
8417 wxString
*arg1
= 0 ;
8418 bool temp1
= False
;
8419 PyObject
* obj0
= 0 ;
8421 (char *) "msg", NULL
8424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) goto fail
;
8426 arg1
= wxString_in_helper(obj0
);
8427 if (arg1
== NULL
) SWIG_fail
;
8431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8432 wxLogInfo((wxString
const &)*arg1
);
8434 wxPyEndAllowThreads(__tstate
);
8435 if (PyErr_Occurred()) SWIG_fail
;
8437 Py_INCREF(Py_None
); resultobj
= Py_None
;
8452 static PyObject
*_wrap_LogDebug(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8453 PyObject
*resultobj
;
8454 wxString
*arg1
= 0 ;
8455 bool temp1
= False
;
8456 PyObject
* obj0
= 0 ;
8458 (char *) "msg", NULL
8461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) goto fail
;
8463 arg1
= wxString_in_helper(obj0
);
8464 if (arg1
== NULL
) SWIG_fail
;
8468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8469 wxLogDebug((wxString
const &)*arg1
);
8471 wxPyEndAllowThreads(__tstate
);
8472 if (PyErr_Occurred()) SWIG_fail
;
8474 Py_INCREF(Py_None
); resultobj
= Py_None
;
8489 static PyObject
*_wrap_LogVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8490 PyObject
*resultobj
;
8491 wxString
*arg1
= 0 ;
8492 bool temp1
= False
;
8493 PyObject
* obj0
= 0 ;
8495 (char *) "msg", NULL
8498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) goto fail
;
8500 arg1
= wxString_in_helper(obj0
);
8501 if (arg1
== NULL
) SWIG_fail
;
8505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8506 wxLogVerbose((wxString
const &)*arg1
);
8508 wxPyEndAllowThreads(__tstate
);
8509 if (PyErr_Occurred()) SWIG_fail
;
8511 Py_INCREF(Py_None
); resultobj
= Py_None
;
8526 static PyObject
*_wrap_LogStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8527 PyObject
*resultobj
;
8528 wxString
*arg1
= 0 ;
8529 bool temp1
= False
;
8530 PyObject
* obj0
= 0 ;
8532 (char *) "msg", NULL
8535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) goto fail
;
8537 arg1
= wxString_in_helper(obj0
);
8538 if (arg1
== NULL
) SWIG_fail
;
8542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8543 wxLogStatus((wxString
const &)*arg1
);
8545 wxPyEndAllowThreads(__tstate
);
8546 if (PyErr_Occurred()) SWIG_fail
;
8548 Py_INCREF(Py_None
); resultobj
= Py_None
;
8563 static PyObject
*_wrap_LogStatusFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8564 PyObject
*resultobj
;
8565 wxFrame
*arg1
= (wxFrame
*) 0 ;
8566 wxString
*arg2
= 0 ;
8567 bool temp2
= False
;
8568 PyObject
* obj0
= 0 ;
8569 PyObject
* obj1
= 0 ;
8571 (char *) "pFrame",(char *) "msg", NULL
8574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
8575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
8576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8578 arg2
= wxString_in_helper(obj1
);
8579 if (arg2
== NULL
) SWIG_fail
;
8583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8584 wxLogStatus(arg1
,(wxString
const &)*arg2
);
8586 wxPyEndAllowThreads(__tstate
);
8587 if (PyErr_Occurred()) SWIG_fail
;
8589 Py_INCREF(Py_None
); resultobj
= Py_None
;
8604 static PyObject
*_wrap_LogSysError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8605 PyObject
*resultobj
;
8606 wxString
*arg1
= 0 ;
8607 bool temp1
= False
;
8608 PyObject
* obj0
= 0 ;
8610 (char *) "msg", NULL
8613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) goto fail
;
8615 arg1
= wxString_in_helper(obj0
);
8616 if (arg1
== NULL
) SWIG_fail
;
8620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8621 wxLogSysError((wxString
const &)*arg1
);
8623 wxPyEndAllowThreads(__tstate
);
8624 if (PyErr_Occurred()) SWIG_fail
;
8626 Py_INCREF(Py_None
); resultobj
= Py_None
;
8641 static PyObject
*_wrap_LogTrace__SWIG_0(PyObject
*self
, PyObject
*args
) {
8642 PyObject
*resultobj
;
8643 unsigned long arg1
;
8644 wxString
*arg2
= 0 ;
8645 bool temp2
= False
;
8646 PyObject
* obj0
= 0 ;
8647 PyObject
* obj1
= 0 ;
8649 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
8650 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
8651 if (PyErr_Occurred()) SWIG_fail
;
8653 arg2
= wxString_in_helper(obj1
);
8654 if (arg2
== NULL
) SWIG_fail
;
8658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8659 wxLogTrace(arg1
,(wxString
const &)*arg2
);
8661 wxPyEndAllowThreads(__tstate
);
8662 if (PyErr_Occurred()) SWIG_fail
;
8664 Py_INCREF(Py_None
); resultobj
= Py_None
;
8679 static PyObject
*_wrap_LogTrace__SWIG_1(PyObject
*self
, PyObject
*args
) {
8680 PyObject
*resultobj
;
8681 wxString
*arg1
= 0 ;
8682 wxString
*arg2
= 0 ;
8683 bool temp1
= False
;
8684 bool temp2
= False
;
8685 PyObject
* obj0
= 0 ;
8686 PyObject
* obj1
= 0 ;
8688 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
8690 arg1
= wxString_in_helper(obj0
);
8691 if (arg1
== NULL
) SWIG_fail
;
8695 arg2
= wxString_in_helper(obj1
);
8696 if (arg2
== NULL
) SWIG_fail
;
8700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8701 wxLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
8703 wxPyEndAllowThreads(__tstate
);
8704 if (PyErr_Occurred()) SWIG_fail
;
8706 Py_INCREF(Py_None
); resultobj
= Py_None
;
8729 static PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
) {
8734 argc
= PyObject_Length(args
);
8735 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
8736 argv
[ii
] = PyTuple_GetItem(args
,ii
);
8741 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
8745 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
8748 return _wrap_LogTrace__SWIG_1(self
,args
);
8754 _v
= SWIG_CheckUnsignedLong(argv
[0]);
8757 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
8760 return _wrap_LogTrace__SWIG_0(self
,args
);
8765 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'LogTrace'");
8770 static PyObject
*_wrap_LogGeneric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8771 PyObject
*resultobj
;
8772 unsigned long arg1
;
8773 wxString
*arg2
= 0 ;
8774 bool temp2
= False
;
8775 PyObject
* obj0
= 0 ;
8776 PyObject
* obj1
= 0 ;
8778 (char *) "level",(char *) "msg", NULL
8781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) goto fail
;
8782 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
8783 if (PyErr_Occurred()) SWIG_fail
;
8785 arg2
= wxString_in_helper(obj1
);
8786 if (arg2
== NULL
) SWIG_fail
;
8790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8791 wxLogGeneric(arg1
,(wxString
const &)*arg2
);
8793 wxPyEndAllowThreads(__tstate
);
8794 if (PyErr_Occurred()) SWIG_fail
;
8796 Py_INCREF(Py_None
); resultobj
= Py_None
;
8811 static PyObject
*_wrap_SafeShowMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8812 PyObject
*resultobj
;
8813 wxString
*arg1
= 0 ;
8814 wxString
*arg2
= 0 ;
8815 bool temp1
= False
;
8816 bool temp2
= False
;
8817 PyObject
* obj0
= 0 ;
8818 PyObject
* obj1
= 0 ;
8820 (char *) "title",(char *) "text", NULL
8823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
8825 arg1
= wxString_in_helper(obj0
);
8826 if (arg1
== NULL
) SWIG_fail
;
8830 arg2
= wxString_in_helper(obj1
);
8831 if (arg2
== NULL
) SWIG_fail
;
8835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8836 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
8838 wxPyEndAllowThreads(__tstate
);
8839 if (PyErr_Occurred()) SWIG_fail
;
8841 Py_INCREF(Py_None
); resultobj
= Py_None
;
8864 static PyObject
*_wrap_new_LogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8865 PyObject
*resultobj
;
8871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogNull",kwnames
)) goto fail
;
8873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8874 result
= (wxLogNull
*)new wxLogNull();
8876 wxPyEndAllowThreads(__tstate
);
8877 if (PyErr_Occurred()) SWIG_fail
;
8879 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogNull
, 1);
8886 static PyObject
*_wrap_delete_LogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8887 PyObject
*resultobj
;
8888 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
8889 PyObject
* obj0
= 0 ;
8891 (char *) "self", NULL
8894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LogNull",kwnames
,&obj0
)) goto fail
;
8895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogNull
,
8896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8901 wxPyEndAllowThreads(__tstate
);
8902 if (PyErr_Occurred()) SWIG_fail
;
8904 Py_INCREF(Py_None
); resultobj
= Py_None
;
8911 static PyObject
* LogNull_swigregister(PyObject
*self
, PyObject
*args
) {
8913 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8914 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull
, obj
);
8916 return Py_BuildValue((char *)"");
8918 static PyObject
*_wrap_new_PyLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8919 PyObject
*resultobj
;
8925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyLog",kwnames
)) goto fail
;
8927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8928 result
= (wxPyLog
*)new wxPyLog();
8930 wxPyEndAllowThreads(__tstate
);
8931 if (PyErr_Occurred()) SWIG_fail
;
8933 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyLog
, 1);
8940 static PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8941 PyObject
*resultobj
;
8942 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
8943 PyObject
*arg2
= (PyObject
*) 0 ;
8944 PyObject
*arg3
= (PyObject
*) 0 ;
8945 PyObject
* obj0
= 0 ;
8946 PyObject
* obj1
= 0 ;
8947 PyObject
* obj2
= 0 ;
8949 (char *) "self",(char *) "self",(char *) "_class", NULL
8952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLog
,
8954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8959 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8961 wxPyEndAllowThreads(__tstate
);
8962 if (PyErr_Occurred()) SWIG_fail
;
8964 Py_INCREF(Py_None
); resultobj
= Py_None
;
8971 static PyObject
* PyLog_swigregister(PyObject
*self
, PyObject
*args
) {
8973 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8974 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog
, obj
);
8976 return Py_BuildValue((char *)"");
8978 static PyObject
*_wrap_Process_Kill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8979 PyObject
*resultobj
;
8981 int arg2
= (int) wxSIGTERM
;
8983 PyObject
* obj0
= 0 ;
8984 PyObject
* obj1
= 0 ;
8986 (char *) "pid",(char *) "sig", NULL
8989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Kill",kwnames
,&obj0
,&obj1
)) goto fail
;
8990 arg1
= (int) SWIG_AsInt(obj0
);
8991 if (PyErr_Occurred()) SWIG_fail
;
8993 arg2
= (wxSignal
) SWIG_AsInt(obj1
);
8994 if (PyErr_Occurred()) SWIG_fail
;
8997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8998 result
= (int)wxPyProcess::Kill(arg1
,(wxSignal
)arg2
);
9000 wxPyEndAllowThreads(__tstate
);
9001 if (PyErr_Occurred()) SWIG_fail
;
9003 resultobj
= SWIG_FromInt((int)result
);
9010 static PyObject
*_wrap_Process_Exists(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9011 PyObject
*resultobj
;
9014 PyObject
* obj0
= 0 ;
9016 (char *) "pid", NULL
9019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Exists",kwnames
,&obj0
)) goto fail
;
9020 arg1
= (int) SWIG_AsInt(obj0
);
9021 if (PyErr_Occurred()) SWIG_fail
;
9023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9024 result
= (bool)wxPyProcess::Exists(arg1
);
9026 wxPyEndAllowThreads(__tstate
);
9027 if (PyErr_Occurred()) SWIG_fail
;
9030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9038 static PyObject
*_wrap_Process_Open(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9039 PyObject
*resultobj
;
9040 wxString
*arg1
= 0 ;
9041 int arg2
= (int) wxEXEC_ASYNC
;
9042 wxPyProcess
*result
;
9043 bool temp1
= False
;
9044 PyObject
* obj0
= 0 ;
9045 PyObject
* obj1
= 0 ;
9047 (char *) "cmd",(char *) "flags", NULL
9050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Open",kwnames
,&obj0
,&obj1
)) goto fail
;
9052 arg1
= wxString_in_helper(obj0
);
9053 if (arg1
== NULL
) SWIG_fail
;
9057 arg2
= (int) SWIG_AsInt(obj1
);
9058 if (PyErr_Occurred()) SWIG_fail
;
9061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9062 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
9064 wxPyEndAllowThreads(__tstate
);
9065 if (PyErr_Occurred()) SWIG_fail
;
9067 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 0);
9082 static PyObject
*_wrap_new_Process(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9083 PyObject
*resultobj
;
9084 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
9085 int arg2
= (int) -1 ;
9086 wxPyProcess
*result
;
9087 PyObject
* obj0
= 0 ;
9088 PyObject
* obj1
= 0 ;
9090 (char *) "parent",(char *) "id", NULL
9093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Process",kwnames
,&obj0
,&obj1
)) goto fail
;
9095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
9096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9099 arg2
= (int) SWIG_AsInt(obj1
);
9100 if (PyErr_Occurred()) SWIG_fail
;
9103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9104 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
9106 wxPyEndAllowThreads(__tstate
);
9107 if (PyErr_Occurred()) SWIG_fail
;
9109 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 1);
9116 static PyObject
*_wrap_Process__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9117 PyObject
*resultobj
;
9118 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9119 PyObject
*arg2
= (PyObject
*) 0 ;
9120 PyObject
*arg3
= (PyObject
*) 0 ;
9121 PyObject
* obj0
= 0 ;
9122 PyObject
* obj1
= 0 ;
9123 PyObject
* obj2
= 0 ;
9125 (char *) "self",(char *) "self",(char *) "_class", NULL
9128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9135 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9137 wxPyEndAllowThreads(__tstate
);
9138 if (PyErr_Occurred()) SWIG_fail
;
9140 Py_INCREF(Py_None
); resultobj
= Py_None
;
9147 static PyObject
*_wrap_Process_base_OnTerminate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9148 PyObject
*resultobj
;
9149 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9152 PyObject
* obj0
= 0 ;
9153 PyObject
* obj1
= 0 ;
9154 PyObject
* obj2
= 0 ;
9156 (char *) "self",(char *) "pid",(char *) "status", NULL
9159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process_base_OnTerminate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9162 arg2
= (int) SWIG_AsInt(obj1
);
9163 if (PyErr_Occurred()) SWIG_fail
;
9164 arg3
= (int) SWIG_AsInt(obj2
);
9165 if (PyErr_Occurred()) SWIG_fail
;
9167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9168 (arg1
)->base_OnTerminate(arg2
,arg3
);
9170 wxPyEndAllowThreads(__tstate
);
9171 if (PyErr_Occurred()) SWIG_fail
;
9173 Py_INCREF(Py_None
); resultobj
= Py_None
;
9180 static PyObject
*_wrap_Process_Redirect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9181 PyObject
*resultobj
;
9182 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9183 PyObject
* obj0
= 0 ;
9185 (char *) "self", NULL
9188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Redirect",kwnames
,&obj0
)) goto fail
;
9189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9195 wxPyEndAllowThreads(__tstate
);
9196 if (PyErr_Occurred()) SWIG_fail
;
9198 Py_INCREF(Py_None
); resultobj
= Py_None
;
9205 static PyObject
*_wrap_Process_IsRedirected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9206 PyObject
*resultobj
;
9207 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9209 PyObject
* obj0
= 0 ;
9211 (char *) "self", NULL
9214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsRedirected",kwnames
,&obj0
)) goto fail
;
9215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9219 result
= (bool)(arg1
)->IsRedirected();
9221 wxPyEndAllowThreads(__tstate
);
9222 if (PyErr_Occurred()) SWIG_fail
;
9225 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9233 static PyObject
*_wrap_Process_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9234 PyObject
*resultobj
;
9235 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9236 PyObject
* obj0
= 0 ;
9238 (char *) "self", NULL
9241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Detach",kwnames
,&obj0
)) goto fail
;
9242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9248 wxPyEndAllowThreads(__tstate
);
9249 if (PyErr_Occurred()) SWIG_fail
;
9251 Py_INCREF(Py_None
); resultobj
= Py_None
;
9258 static PyObject
*_wrap_Process_GetInputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9259 PyObject
*resultobj
;
9260 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9261 wxInputStream
*result
;
9262 PyObject
* obj0
= 0 ;
9264 (char *) "self", NULL
9267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetInputStream",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
= (wxInputStream
*)(arg1
)->GetInputStream();
9274 wxPyEndAllowThreads(__tstate
);
9275 if (PyErr_Occurred()) SWIG_fail
;
9278 wxPyInputStream
* _ptr
= NULL
;
9281 _ptr
= new wxPyInputStream(result
);
9283 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
9291 static PyObject
*_wrap_Process_GetErrorStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9292 PyObject
*resultobj
;
9293 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9294 wxInputStream
*result
;
9295 PyObject
* obj0
= 0 ;
9297 (char *) "self", NULL
9300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetErrorStream",kwnames
,&obj0
)) goto fail
;
9301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9305 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
9307 wxPyEndAllowThreads(__tstate
);
9308 if (PyErr_Occurred()) SWIG_fail
;
9311 wxPyInputStream
* _ptr
= NULL
;
9314 _ptr
= new wxPyInputStream(result
);
9316 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
9324 static PyObject
*_wrap_Process_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9325 PyObject
*resultobj
;
9326 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9327 wxOutputStream
*result
;
9328 PyObject
* obj0
= 0 ;
9330 (char *) "self", NULL
9333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetOutputStream",kwnames
,&obj0
)) goto fail
;
9334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9338 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
9340 wxPyEndAllowThreads(__tstate
);
9341 if (PyErr_Occurred()) SWIG_fail
;
9343 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
9350 static PyObject
*_wrap_Process_CloseOutput(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9351 PyObject
*resultobj
;
9352 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9353 PyObject
* obj0
= 0 ;
9355 (char *) "self", NULL
9358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_CloseOutput",kwnames
,&obj0
)) goto fail
;
9359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9363 (arg1
)->CloseOutput();
9365 wxPyEndAllowThreads(__tstate
);
9366 if (PyErr_Occurred()) SWIG_fail
;
9368 Py_INCREF(Py_None
); resultobj
= Py_None
;
9375 static PyObject
*_wrap_Process_IsInputOpened(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9376 PyObject
*resultobj
;
9377 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9379 PyObject
* obj0
= 0 ;
9381 (char *) "self", NULL
9384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputOpened",kwnames
,&obj0
)) goto fail
;
9385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9389 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
9391 wxPyEndAllowThreads(__tstate
);
9392 if (PyErr_Occurred()) SWIG_fail
;
9395 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9403 static PyObject
*_wrap_Process_IsInputAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9404 PyObject
*resultobj
;
9405 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9407 PyObject
* obj0
= 0 ;
9409 (char *) "self", NULL
9412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputAvailable",kwnames
,&obj0
)) goto fail
;
9413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9417 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
9419 wxPyEndAllowThreads(__tstate
);
9420 if (PyErr_Occurred()) SWIG_fail
;
9423 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9431 static PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9432 PyObject
*resultobj
;
9433 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9435 PyObject
* obj0
= 0 ;
9437 (char *) "self", NULL
9440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsErrorAvailable",kwnames
,&obj0
)) goto fail
;
9441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9445 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
9447 wxPyEndAllowThreads(__tstate
);
9448 if (PyErr_Occurred()) SWIG_fail
;
9451 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9459 static PyObject
* Process_swigregister(PyObject
*self
, PyObject
*args
) {
9461 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9462 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess
, obj
);
9464 return Py_BuildValue((char *)"");
9466 static PyObject
*_wrap_new_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9467 PyObject
*resultobj
;
9468 int arg1
= (int) 0 ;
9469 int arg2
= (int) 0 ;
9470 int arg3
= (int) 0 ;
9471 wxProcessEvent
*result
;
9472 PyObject
* obj0
= 0 ;
9473 PyObject
* obj1
= 0 ;
9474 PyObject
* obj2
= 0 ;
9476 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
9479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ProcessEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9481 arg1
= (int) SWIG_AsInt(obj0
);
9482 if (PyErr_Occurred()) SWIG_fail
;
9485 arg2
= (int) SWIG_AsInt(obj1
);
9486 if (PyErr_Occurred()) SWIG_fail
;
9489 arg3
= (int) SWIG_AsInt(obj2
);
9490 if (PyErr_Occurred()) SWIG_fail
;
9493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9494 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
9496 wxPyEndAllowThreads(__tstate
);
9497 if (PyErr_Occurred()) SWIG_fail
;
9499 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProcessEvent
, 1);
9506 static PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9507 PyObject
*resultobj
;
9508 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9510 PyObject
* obj0
= 0 ;
9512 (char *) "self", NULL
9515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetPid",kwnames
,&obj0
)) goto fail
;
9516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9520 result
= (int)(arg1
)->GetPid();
9522 wxPyEndAllowThreads(__tstate
);
9523 if (PyErr_Occurred()) SWIG_fail
;
9525 resultobj
= SWIG_FromInt((int)result
);
9532 static PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9533 PyObject
*resultobj
;
9534 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9536 PyObject
* obj0
= 0 ;
9538 (char *) "self", NULL
9541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetExitCode",kwnames
,&obj0
)) goto fail
;
9542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9546 result
= (int)(arg1
)->GetExitCode();
9548 wxPyEndAllowThreads(__tstate
);
9549 if (PyErr_Occurred()) SWIG_fail
;
9551 resultobj
= SWIG_FromInt((int)result
);
9558 static PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9559 PyObject
*resultobj
;
9560 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9562 PyObject
* obj0
= 0 ;
9563 PyObject
* obj1
= 0 ;
9565 (char *) "self",(char *) "m_pid", NULL
9568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_pid_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9571 arg2
= (int) SWIG_AsInt(obj1
);
9572 if (PyErr_Occurred()) SWIG_fail
;
9573 if (arg1
) (arg1
)->m_pid
= arg2
;
9575 Py_INCREF(Py_None
); resultobj
= Py_None
;
9582 static PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9583 PyObject
*resultobj
;
9584 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9586 PyObject
* obj0
= 0 ;
9588 (char *) "self", NULL
9591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_pid_get",kwnames
,&obj0
)) goto fail
;
9592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9594 result
= (int) ((arg1
)->m_pid
);
9596 resultobj
= SWIG_FromInt((int)result
);
9603 static PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9604 PyObject
*resultobj
;
9605 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9607 PyObject
* obj0
= 0 ;
9608 PyObject
* obj1
= 0 ;
9610 (char *) "self",(char *) "m_exitcode", NULL
9613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9616 arg2
= (int) SWIG_AsInt(obj1
);
9617 if (PyErr_Occurred()) SWIG_fail
;
9618 if (arg1
) (arg1
)->m_exitcode
= arg2
;
9620 Py_INCREF(Py_None
); resultobj
= Py_None
;
9627 static PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9628 PyObject
*resultobj
;
9629 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9631 PyObject
* obj0
= 0 ;
9633 (char *) "self", NULL
9636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_exitcode_get",kwnames
,&obj0
)) goto fail
;
9637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9639 result
= (int) ((arg1
)->m_exitcode
);
9641 resultobj
= SWIG_FromInt((int)result
);
9648 static PyObject
* ProcessEvent_swigregister(PyObject
*self
, PyObject
*args
) {
9650 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9651 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent
, obj
);
9653 return Py_BuildValue((char *)"");
9655 static PyObject
*_wrap_Execute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9656 PyObject
*resultobj
;
9657 wxString
*arg1
= 0 ;
9658 int arg2
= (int) wxEXEC_ASYNC
;
9659 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
9661 bool temp1
= False
;
9662 PyObject
* obj0
= 0 ;
9663 PyObject
* obj1
= 0 ;
9664 PyObject
* obj2
= 0 ;
9666 (char *) "command",(char *) "flags",(char *) "process", NULL
9669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Execute",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9671 arg1
= wxString_in_helper(obj0
);
9672 if (arg1
== NULL
) SWIG_fail
;
9676 arg2
= (int) SWIG_AsInt(obj1
);
9677 if (PyErr_Occurred()) SWIG_fail
;
9680 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyProcess
,
9681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9684 if (!wxPyCheckForApp()) SWIG_fail
;
9685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9686 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
9688 wxPyEndAllowThreads(__tstate
);
9689 if (PyErr_Occurred()) SWIG_fail
;
9691 resultobj
= SWIG_FromLong((long)result
);
9706 static PyObject
*_wrap_new_Joystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9707 PyObject
*resultobj
;
9708 int arg1
= (int) wxJOYSTICK1
;
9710 PyObject
* obj0
= 0 ;
9712 (char *) "joystick", NULL
9715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Joystick",kwnames
,&obj0
)) goto fail
;
9717 arg1
= (int) SWIG_AsInt(obj0
);
9718 if (PyErr_Occurred()) SWIG_fail
;
9721 if (!wxPyCheckForApp()) SWIG_fail
;
9722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9723 result
= (wxJoystick
*)new wxJoystick(arg1
);
9725 wxPyEndAllowThreads(__tstate
);
9726 if (PyErr_Occurred()) SWIG_fail
;
9728 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystick
, 1);
9735 static PyObject
*_wrap_delete_Joystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9736 PyObject
*resultobj
;
9737 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9738 PyObject
* obj0
= 0 ;
9740 (char *) "self", NULL
9743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Joystick",kwnames
,&obj0
)) goto fail
;
9744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9750 wxPyEndAllowThreads(__tstate
);
9751 if (PyErr_Occurred()) SWIG_fail
;
9753 Py_INCREF(Py_None
); resultobj
= Py_None
;
9760 static PyObject
*_wrap_Joystick_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9761 PyObject
*resultobj
;
9762 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9764 PyObject
* obj0
= 0 ;
9766 (char *) "self", NULL
9769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPosition",kwnames
,&obj0
)) goto fail
;
9770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9774 result
= (arg1
)->GetPosition();
9776 wxPyEndAllowThreads(__tstate
);
9777 if (PyErr_Occurred()) SWIG_fail
;
9780 wxPoint
* resultptr
;
9781 resultptr
= new wxPoint((wxPoint
&) result
);
9782 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
9790 static PyObject
*_wrap_Joystick_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9791 PyObject
*resultobj
;
9792 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9794 PyObject
* obj0
= 0 ;
9796 (char *) "self", NULL
9799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZPosition",kwnames
,&obj0
)) goto fail
;
9800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9804 result
= (int)(arg1
)->GetZPosition();
9806 wxPyEndAllowThreads(__tstate
);
9807 if (PyErr_Occurred()) SWIG_fail
;
9809 resultobj
= SWIG_FromInt((int)result
);
9816 static PyObject
*_wrap_Joystick_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9817 PyObject
*resultobj
;
9818 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9820 PyObject
* obj0
= 0 ;
9822 (char *) "self", NULL
9825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetButtonState",kwnames
,&obj0
)) goto fail
;
9826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9830 result
= (int)(arg1
)->GetButtonState();
9832 wxPyEndAllowThreads(__tstate
);
9833 if (PyErr_Occurred()) SWIG_fail
;
9835 resultobj
= SWIG_FromInt((int)result
);
9842 static PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9843 PyObject
*resultobj
;
9844 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9846 PyObject
* obj0
= 0 ;
9848 (char *) "self", NULL
9851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVPosition",kwnames
,&obj0
)) goto fail
;
9852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9856 result
= (int)(arg1
)->GetPOVPosition();
9858 wxPyEndAllowThreads(__tstate
);
9859 if (PyErr_Occurred()) SWIG_fail
;
9861 resultobj
= SWIG_FromInt((int)result
);
9868 static PyObject
*_wrap_Joystick_GetPOVCTSPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9869 PyObject
*resultobj
;
9870 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9872 PyObject
* obj0
= 0 ;
9874 (char *) "self", NULL
9877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVCTSPosition",kwnames
,&obj0
)) goto fail
;
9878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9882 result
= (int)(arg1
)->GetPOVCTSPosition();
9884 wxPyEndAllowThreads(__tstate
);
9885 if (PyErr_Occurred()) SWIG_fail
;
9887 resultobj
= SWIG_FromInt((int)result
);
9894 static PyObject
*_wrap_Joystick_GetRudderPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9895 PyObject
*resultobj
;
9896 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9898 PyObject
* obj0
= 0 ;
9900 (char *) "self", NULL
9903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderPosition",kwnames
,&obj0
)) goto fail
;
9904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9908 result
= (int)(arg1
)->GetRudderPosition();
9910 wxPyEndAllowThreads(__tstate
);
9911 if (PyErr_Occurred()) SWIG_fail
;
9913 resultobj
= SWIG_FromInt((int)result
);
9920 static PyObject
*_wrap_Joystick_GetUPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9921 PyObject
*resultobj
;
9922 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9924 PyObject
* obj0
= 0 ;
9926 (char *) "self", NULL
9929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUPosition",kwnames
,&obj0
)) goto fail
;
9930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9934 result
= (int)(arg1
)->GetUPosition();
9936 wxPyEndAllowThreads(__tstate
);
9937 if (PyErr_Occurred()) SWIG_fail
;
9939 resultobj
= SWIG_FromInt((int)result
);
9946 static PyObject
*_wrap_Joystick_GetVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9947 PyObject
*resultobj
;
9948 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9950 PyObject
* obj0
= 0 ;
9952 (char *) "self", NULL
9955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVPosition",kwnames
,&obj0
)) goto fail
;
9956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9960 result
= (int)(arg1
)->GetVPosition();
9962 wxPyEndAllowThreads(__tstate
);
9963 if (PyErr_Occurred()) SWIG_fail
;
9965 resultobj
= SWIG_FromInt((int)result
);
9972 static PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9973 PyObject
*resultobj
;
9974 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9976 PyObject
* obj0
= 0 ;
9978 (char *) "self", NULL
9981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMovementThreshold",kwnames
,&obj0
)) goto fail
;
9982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9986 result
= (int)(arg1
)->GetMovementThreshold();
9988 wxPyEndAllowThreads(__tstate
);
9989 if (PyErr_Occurred()) SWIG_fail
;
9991 resultobj
= SWIG_FromInt((int)result
);
9998 static PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9999 PyObject
*resultobj
;
10000 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10002 PyObject
* obj0
= 0 ;
10003 PyObject
* obj1
= 0 ;
10004 char *kwnames
[] = {
10005 (char *) "self",(char *) "threshold", NULL
10008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Joystick_SetMovementThreshold",kwnames
,&obj0
,&obj1
)) goto fail
;
10009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10011 arg2
= (int) SWIG_AsInt(obj1
);
10012 if (PyErr_Occurred()) SWIG_fail
;
10014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10015 (arg1
)->SetMovementThreshold(arg2
);
10017 wxPyEndAllowThreads(__tstate
);
10018 if (PyErr_Occurred()) SWIG_fail
;
10020 Py_INCREF(Py_None
); resultobj
= Py_None
;
10027 static PyObject
*_wrap_Joystick_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10028 PyObject
*resultobj
;
10029 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10031 PyObject
* obj0
= 0 ;
10032 char *kwnames
[] = {
10033 (char *) "self", NULL
10036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_IsOk",kwnames
,&obj0
)) goto fail
;
10037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10041 result
= (bool)(arg1
)->IsOk();
10043 wxPyEndAllowThreads(__tstate
);
10044 if (PyErr_Occurred()) SWIG_fail
;
10047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10055 static PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10056 PyObject
*resultobj
;
10057 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10059 PyObject
* obj0
= 0 ;
10060 char *kwnames
[] = {
10061 (char *) "self", NULL
10064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberJoysticks",kwnames
,&obj0
)) goto fail
;
10065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10069 result
= (int)(arg1
)->GetNumberJoysticks();
10071 wxPyEndAllowThreads(__tstate
);
10072 if (PyErr_Occurred()) SWIG_fail
;
10074 resultobj
= SWIG_FromInt((int)result
);
10081 static PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10082 PyObject
*resultobj
;
10083 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10085 PyObject
* obj0
= 0 ;
10086 char *kwnames
[] = {
10087 (char *) "self", NULL
10090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetManufacturerId",kwnames
,&obj0
)) goto fail
;
10091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10095 result
= (int)(arg1
)->GetManufacturerId();
10097 wxPyEndAllowThreads(__tstate
);
10098 if (PyErr_Occurred()) SWIG_fail
;
10100 resultobj
= SWIG_FromInt((int)result
);
10107 static PyObject
*_wrap_Joystick_GetProductId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10108 PyObject
*resultobj
;
10109 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10111 PyObject
* obj0
= 0 ;
10112 char *kwnames
[] = {
10113 (char *) "self", NULL
10116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductId",kwnames
,&obj0
)) goto fail
;
10117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10121 result
= (int)(arg1
)->GetProductId();
10123 wxPyEndAllowThreads(__tstate
);
10124 if (PyErr_Occurred()) SWIG_fail
;
10126 resultobj
= SWIG_FromInt((int)result
);
10133 static PyObject
*_wrap_Joystick_GetProductName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10134 PyObject
*resultobj
;
10135 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10137 PyObject
* obj0
= 0 ;
10138 char *kwnames
[] = {
10139 (char *) "self", NULL
10142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductName",kwnames
,&obj0
)) goto fail
;
10143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10147 result
= (arg1
)->GetProductName();
10149 wxPyEndAllowThreads(__tstate
);
10150 if (PyErr_Occurred()) SWIG_fail
;
10154 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10156 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10165 static PyObject
*_wrap_Joystick_GetXMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10166 PyObject
*resultobj
;
10167 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10169 PyObject
* obj0
= 0 ;
10170 char *kwnames
[] = {
10171 (char *) "self", NULL
10174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMin",kwnames
,&obj0
)) goto fail
;
10175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10179 result
= (int)(arg1
)->GetXMin();
10181 wxPyEndAllowThreads(__tstate
);
10182 if (PyErr_Occurred()) SWIG_fail
;
10184 resultobj
= SWIG_FromInt((int)result
);
10191 static PyObject
*_wrap_Joystick_GetYMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10192 PyObject
*resultobj
;
10193 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10195 PyObject
* obj0
= 0 ;
10196 char *kwnames
[] = {
10197 (char *) "self", NULL
10200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMin",kwnames
,&obj0
)) goto fail
;
10201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10205 result
= (int)(arg1
)->GetYMin();
10207 wxPyEndAllowThreads(__tstate
);
10208 if (PyErr_Occurred()) SWIG_fail
;
10210 resultobj
= SWIG_FromInt((int)result
);
10217 static PyObject
*_wrap_Joystick_GetZMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10218 PyObject
*resultobj
;
10219 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10221 PyObject
* obj0
= 0 ;
10222 char *kwnames
[] = {
10223 (char *) "self", NULL
10226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMin",kwnames
,&obj0
)) goto fail
;
10227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10231 result
= (int)(arg1
)->GetZMin();
10233 wxPyEndAllowThreads(__tstate
);
10234 if (PyErr_Occurred()) SWIG_fail
;
10236 resultobj
= SWIG_FromInt((int)result
);
10243 static PyObject
*_wrap_Joystick_GetXMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10244 PyObject
*resultobj
;
10245 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10247 PyObject
* obj0
= 0 ;
10248 char *kwnames
[] = {
10249 (char *) "self", NULL
10252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMax",kwnames
,&obj0
)) goto fail
;
10253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10257 result
= (int)(arg1
)->GetXMax();
10259 wxPyEndAllowThreads(__tstate
);
10260 if (PyErr_Occurred()) SWIG_fail
;
10262 resultobj
= SWIG_FromInt((int)result
);
10269 static PyObject
*_wrap_Joystick_GetYMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10270 PyObject
*resultobj
;
10271 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10273 PyObject
* obj0
= 0 ;
10274 char *kwnames
[] = {
10275 (char *) "self", NULL
10278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMax",kwnames
,&obj0
)) goto fail
;
10279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10283 result
= (int)(arg1
)->GetYMax();
10285 wxPyEndAllowThreads(__tstate
);
10286 if (PyErr_Occurred()) SWIG_fail
;
10288 resultobj
= SWIG_FromInt((int)result
);
10295 static PyObject
*_wrap_Joystick_GetZMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10296 PyObject
*resultobj
;
10297 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10299 PyObject
* obj0
= 0 ;
10300 char *kwnames
[] = {
10301 (char *) "self", NULL
10304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMax",kwnames
,&obj0
)) goto fail
;
10305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10309 result
= (int)(arg1
)->GetZMax();
10311 wxPyEndAllowThreads(__tstate
);
10312 if (PyErr_Occurred()) SWIG_fail
;
10314 resultobj
= SWIG_FromInt((int)result
);
10321 static PyObject
*_wrap_Joystick_GetNumberButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10322 PyObject
*resultobj
;
10323 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10325 PyObject
* obj0
= 0 ;
10326 char *kwnames
[] = {
10327 (char *) "self", NULL
10330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberButtons",kwnames
,&obj0
)) goto fail
;
10331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10335 result
= (int)(arg1
)->GetNumberButtons();
10337 wxPyEndAllowThreads(__tstate
);
10338 if (PyErr_Occurred()) SWIG_fail
;
10340 resultobj
= SWIG_FromInt((int)result
);
10347 static PyObject
*_wrap_Joystick_GetNumberAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10348 PyObject
*resultobj
;
10349 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10351 PyObject
* obj0
= 0 ;
10352 char *kwnames
[] = {
10353 (char *) "self", NULL
10356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberAxes",kwnames
,&obj0
)) goto fail
;
10357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10361 result
= (int)(arg1
)->GetNumberAxes();
10363 wxPyEndAllowThreads(__tstate
);
10364 if (PyErr_Occurred()) SWIG_fail
;
10366 resultobj
= SWIG_FromInt((int)result
);
10373 static PyObject
*_wrap_Joystick_GetMaxButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10374 PyObject
*resultobj
;
10375 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10377 PyObject
* obj0
= 0 ;
10378 char *kwnames
[] = {
10379 (char *) "self", NULL
10382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxButtons",kwnames
,&obj0
)) goto fail
;
10383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10387 result
= (int)(arg1
)->GetMaxButtons();
10389 wxPyEndAllowThreads(__tstate
);
10390 if (PyErr_Occurred()) SWIG_fail
;
10392 resultobj
= SWIG_FromInt((int)result
);
10399 static PyObject
*_wrap_Joystick_GetMaxAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10400 PyObject
*resultobj
;
10401 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10403 PyObject
* obj0
= 0 ;
10404 char *kwnames
[] = {
10405 (char *) "self", NULL
10408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxAxes",kwnames
,&obj0
)) goto fail
;
10409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10413 result
= (int)(arg1
)->GetMaxAxes();
10415 wxPyEndAllowThreads(__tstate
);
10416 if (PyErr_Occurred()) SWIG_fail
;
10418 resultobj
= SWIG_FromInt((int)result
);
10425 static PyObject
*_wrap_Joystick_GetPollingMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10426 PyObject
*resultobj
;
10427 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10429 PyObject
* obj0
= 0 ;
10430 char *kwnames
[] = {
10431 (char *) "self", NULL
10434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMin",kwnames
,&obj0
)) goto fail
;
10435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10439 result
= (int)(arg1
)->GetPollingMin();
10441 wxPyEndAllowThreads(__tstate
);
10442 if (PyErr_Occurred()) SWIG_fail
;
10444 resultobj
= SWIG_FromInt((int)result
);
10451 static PyObject
*_wrap_Joystick_GetPollingMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10452 PyObject
*resultobj
;
10453 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10455 PyObject
* obj0
= 0 ;
10456 char *kwnames
[] = {
10457 (char *) "self", NULL
10460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMax",kwnames
,&obj0
)) goto fail
;
10461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10465 result
= (int)(arg1
)->GetPollingMax();
10467 wxPyEndAllowThreads(__tstate
);
10468 if (PyErr_Occurred()) SWIG_fail
;
10470 resultobj
= SWIG_FromInt((int)result
);
10477 static PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10478 PyObject
*resultobj
;
10479 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10481 PyObject
* obj0
= 0 ;
10482 char *kwnames
[] = {
10483 (char *) "self", NULL
10486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMin",kwnames
,&obj0
)) goto fail
;
10487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10491 result
= (int)(arg1
)->GetRudderMin();
10493 wxPyEndAllowThreads(__tstate
);
10494 if (PyErr_Occurred()) SWIG_fail
;
10496 resultobj
= SWIG_FromInt((int)result
);
10503 static PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10504 PyObject
*resultobj
;
10505 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10507 PyObject
* obj0
= 0 ;
10508 char *kwnames
[] = {
10509 (char *) "self", NULL
10512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMax",kwnames
,&obj0
)) goto fail
;
10513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10517 result
= (int)(arg1
)->GetRudderMax();
10519 wxPyEndAllowThreads(__tstate
);
10520 if (PyErr_Occurred()) SWIG_fail
;
10522 resultobj
= SWIG_FromInt((int)result
);
10529 static PyObject
*_wrap_Joystick_GetUMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10530 PyObject
*resultobj
;
10531 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10533 PyObject
* obj0
= 0 ;
10534 char *kwnames
[] = {
10535 (char *) "self", NULL
10538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMin",kwnames
,&obj0
)) goto fail
;
10539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10543 result
= (int)(arg1
)->GetUMin();
10545 wxPyEndAllowThreads(__tstate
);
10546 if (PyErr_Occurred()) SWIG_fail
;
10548 resultobj
= SWIG_FromInt((int)result
);
10555 static PyObject
*_wrap_Joystick_GetUMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10556 PyObject
*resultobj
;
10557 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10559 PyObject
* obj0
= 0 ;
10560 char *kwnames
[] = {
10561 (char *) "self", NULL
10564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMax",kwnames
,&obj0
)) goto fail
;
10565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10569 result
= (int)(arg1
)->GetUMax();
10571 wxPyEndAllowThreads(__tstate
);
10572 if (PyErr_Occurred()) SWIG_fail
;
10574 resultobj
= SWIG_FromInt((int)result
);
10581 static PyObject
*_wrap_Joystick_GetVMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10582 PyObject
*resultobj
;
10583 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10585 PyObject
* obj0
= 0 ;
10586 char *kwnames
[] = {
10587 (char *) "self", NULL
10590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMin",kwnames
,&obj0
)) goto fail
;
10591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10595 result
= (int)(arg1
)->GetVMin();
10597 wxPyEndAllowThreads(__tstate
);
10598 if (PyErr_Occurred()) SWIG_fail
;
10600 resultobj
= SWIG_FromInt((int)result
);
10607 static PyObject
*_wrap_Joystick_GetVMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10608 PyObject
*resultobj
;
10609 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10611 PyObject
* obj0
= 0 ;
10612 char *kwnames
[] = {
10613 (char *) "self", NULL
10616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMax",kwnames
,&obj0
)) goto fail
;
10617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10621 result
= (int)(arg1
)->GetVMax();
10623 wxPyEndAllowThreads(__tstate
);
10624 if (PyErr_Occurred()) SWIG_fail
;
10626 resultobj
= SWIG_FromInt((int)result
);
10633 static PyObject
*_wrap_Joystick_HasRudder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10634 PyObject
*resultobj
;
10635 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10637 PyObject
* obj0
= 0 ;
10638 char *kwnames
[] = {
10639 (char *) "self", NULL
10642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasRudder",kwnames
,&obj0
)) goto fail
;
10643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10647 result
= (bool)(arg1
)->HasRudder();
10649 wxPyEndAllowThreads(__tstate
);
10650 if (PyErr_Occurred()) SWIG_fail
;
10653 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10661 static PyObject
*_wrap_Joystick_HasZ(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10662 PyObject
*resultobj
;
10663 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10665 PyObject
* obj0
= 0 ;
10666 char *kwnames
[] = {
10667 (char *) "self", NULL
10670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasZ",kwnames
,&obj0
)) goto fail
;
10671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10675 result
= (bool)(arg1
)->HasZ();
10677 wxPyEndAllowThreads(__tstate
);
10678 if (PyErr_Occurred()) SWIG_fail
;
10681 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10689 static PyObject
*_wrap_Joystick_HasU(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10690 PyObject
*resultobj
;
10691 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10693 PyObject
* obj0
= 0 ;
10694 char *kwnames
[] = {
10695 (char *) "self", NULL
10698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasU",kwnames
,&obj0
)) goto fail
;
10699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10703 result
= (bool)(arg1
)->HasU();
10705 wxPyEndAllowThreads(__tstate
);
10706 if (PyErr_Occurred()) SWIG_fail
;
10709 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10717 static PyObject
*_wrap_Joystick_HasV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10718 PyObject
*resultobj
;
10719 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10721 PyObject
* obj0
= 0 ;
10722 char *kwnames
[] = {
10723 (char *) "self", NULL
10726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasV",kwnames
,&obj0
)) goto fail
;
10727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10731 result
= (bool)(arg1
)->HasV();
10733 wxPyEndAllowThreads(__tstate
);
10734 if (PyErr_Occurred()) SWIG_fail
;
10737 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10745 static PyObject
*_wrap_Joystick_HasPOV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10746 PyObject
*resultobj
;
10747 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10749 PyObject
* obj0
= 0 ;
10750 char *kwnames
[] = {
10751 (char *) "self", NULL
10754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV",kwnames
,&obj0
)) goto fail
;
10755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10759 result
= (bool)(arg1
)->HasPOV();
10761 wxPyEndAllowThreads(__tstate
);
10762 if (PyErr_Occurred()) SWIG_fail
;
10765 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10773 static PyObject
*_wrap_Joystick_HasPOV4Dir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10774 PyObject
*resultobj
;
10775 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10777 PyObject
* obj0
= 0 ;
10778 char *kwnames
[] = {
10779 (char *) "self", NULL
10782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV4Dir",kwnames
,&obj0
)) goto fail
;
10783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10787 result
= (bool)(arg1
)->HasPOV4Dir();
10789 wxPyEndAllowThreads(__tstate
);
10790 if (PyErr_Occurred()) SWIG_fail
;
10793 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10801 static PyObject
*_wrap_Joystick_HasPOVCTS(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_HasPOVCTS",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
)->HasPOVCTS();
10817 wxPyEndAllowThreads(__tstate
);
10818 if (PyErr_Occurred()) SWIG_fail
;
10821 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10829 static PyObject
*_wrap_Joystick_SetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10830 PyObject
*resultobj
;
10831 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10832 wxWindow
*arg2
= (wxWindow
*) 0 ;
10833 int arg3
= (int) 0 ;
10835 PyObject
* obj0
= 0 ;
10836 PyObject
* obj1
= 0 ;
10837 PyObject
* obj2
= 0 ;
10838 char *kwnames
[] = {
10839 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
10842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10845 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10848 arg3
= (int) SWIG_AsInt(obj2
);
10849 if (PyErr_Occurred()) SWIG_fail
;
10852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10853 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
10855 wxPyEndAllowThreads(__tstate
);
10856 if (PyErr_Occurred()) SWIG_fail
;
10859 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10867 static PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10868 PyObject
*resultobj
;
10869 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10871 PyObject
* obj0
= 0 ;
10872 char *kwnames
[] = {
10873 (char *) "self", NULL
10876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_ReleaseCapture",kwnames
,&obj0
)) goto fail
;
10877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10881 result
= (bool)(arg1
)->ReleaseCapture();
10883 wxPyEndAllowThreads(__tstate
);
10884 if (PyErr_Occurred()) SWIG_fail
;
10887 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10895 static PyObject
* Joystick_swigregister(PyObject
*self
, PyObject
*args
) {
10897 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10898 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick
, obj
);
10900 return Py_BuildValue((char *)"");
10902 static PyObject
*_wrap_JoystickEvent_m_pos_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10903 PyObject
*resultobj
;
10904 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10905 wxPoint
*arg2
= (wxPoint
*) 0 ;
10906 PyObject
* obj0
= 0 ;
10907 PyObject
* obj1
= 0 ;
10908 char *kwnames
[] = {
10909 (char *) "self",(char *) "m_pos", NULL
10912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10915 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
10916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10917 if (arg1
) (arg1
)->m_pos
= *arg2
;
10919 Py_INCREF(Py_None
); resultobj
= Py_None
;
10926 static PyObject
*_wrap_JoystickEvent_m_pos_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10927 PyObject
*resultobj
;
10928 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10930 PyObject
* obj0
= 0 ;
10931 char *kwnames
[] = {
10932 (char *) "self", NULL
10935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
10936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10938 result
= (wxPoint
*)& ((arg1
)->m_pos
);
10940 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
10947 static PyObject
*_wrap_JoystickEvent_m_zPosition_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10948 PyObject
*resultobj
;
10949 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10951 PyObject
* obj0
= 0 ;
10952 PyObject
* obj1
= 0 ;
10953 char *kwnames
[] = {
10954 (char *) "self",(char *) "m_zPosition", NULL
10957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_zPosition_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10960 arg2
= (int) SWIG_AsInt(obj1
);
10961 if (PyErr_Occurred()) SWIG_fail
;
10962 if (arg1
) (arg1
)->m_zPosition
= arg2
;
10964 Py_INCREF(Py_None
); resultobj
= Py_None
;
10971 static PyObject
*_wrap_JoystickEvent_m_zPosition_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10972 PyObject
*resultobj
;
10973 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10975 PyObject
* obj0
= 0 ;
10976 char *kwnames
[] = {
10977 (char *) "self", NULL
10980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_zPosition_get",kwnames
,&obj0
)) goto fail
;
10981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10983 result
= (int) ((arg1
)->m_zPosition
);
10985 resultobj
= SWIG_FromInt((int)result
);
10992 static PyObject
*_wrap_JoystickEvent_m_buttonChange_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10993 PyObject
*resultobj
;
10994 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10996 PyObject
* obj0
= 0 ;
10997 PyObject
* obj1
= 0 ;
10998 char *kwnames
[] = {
10999 (char *) "self",(char *) "m_buttonChange", NULL
11002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonChange_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11005 arg2
= (int) SWIG_AsInt(obj1
);
11006 if (PyErr_Occurred()) SWIG_fail
;
11007 if (arg1
) (arg1
)->m_buttonChange
= arg2
;
11009 Py_INCREF(Py_None
); resultobj
= Py_None
;
11016 static PyObject
*_wrap_JoystickEvent_m_buttonChange_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11017 PyObject
*resultobj
;
11018 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11020 PyObject
* obj0
= 0 ;
11021 char *kwnames
[] = {
11022 (char *) "self", NULL
11025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonChange_get",kwnames
,&obj0
)) goto fail
;
11026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11028 result
= (int) ((arg1
)->m_buttonChange
);
11030 resultobj
= SWIG_FromInt((int)result
);
11037 static PyObject
*_wrap_JoystickEvent_m_buttonState_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11038 PyObject
*resultobj
;
11039 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11041 PyObject
* obj0
= 0 ;
11042 PyObject
* obj1
= 0 ;
11043 char *kwnames
[] = {
11044 (char *) "self",(char *) "m_buttonState", NULL
11047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonState_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11050 arg2
= (int) SWIG_AsInt(obj1
);
11051 if (PyErr_Occurred()) SWIG_fail
;
11052 if (arg1
) (arg1
)->m_buttonState
= arg2
;
11054 Py_INCREF(Py_None
); resultobj
= Py_None
;
11061 static PyObject
*_wrap_JoystickEvent_m_buttonState_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11062 PyObject
*resultobj
;
11063 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11065 PyObject
* obj0
= 0 ;
11066 char *kwnames
[] = {
11067 (char *) "self", NULL
11070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonState_get",kwnames
,&obj0
)) goto fail
;
11071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11073 result
= (int) ((arg1
)->m_buttonState
);
11075 resultobj
= SWIG_FromInt((int)result
);
11082 static PyObject
*_wrap_JoystickEvent_m_joyStick_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11083 PyObject
*resultobj
;
11084 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11086 PyObject
* obj0
= 0 ;
11087 PyObject
* obj1
= 0 ;
11088 char *kwnames
[] = {
11089 (char *) "self",(char *) "m_joyStick", NULL
11092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_joyStick_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11095 arg2
= (int) SWIG_AsInt(obj1
);
11096 if (PyErr_Occurred()) SWIG_fail
;
11097 if (arg1
) (arg1
)->m_joyStick
= arg2
;
11099 Py_INCREF(Py_None
); resultobj
= Py_None
;
11106 static PyObject
*_wrap_JoystickEvent_m_joyStick_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11107 PyObject
*resultobj
;
11108 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11110 PyObject
* obj0
= 0 ;
11111 char *kwnames
[] = {
11112 (char *) "self", NULL
11115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_joyStick_get",kwnames
,&obj0
)) goto fail
;
11116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11118 result
= (int) ((arg1
)->m_joyStick
);
11120 resultobj
= SWIG_FromInt((int)result
);
11127 static PyObject
*_wrap_new_JoystickEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11128 PyObject
*resultobj
;
11129 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11130 int arg2
= (int) 0 ;
11131 int arg3
= (int) wxJOYSTICK1
;
11132 int arg4
= (int) 0 ;
11133 wxJoystickEvent
*result
;
11134 PyObject
* obj0
= 0 ;
11135 PyObject
* obj1
= 0 ;
11136 PyObject
* obj2
= 0 ;
11137 PyObject
* obj3
= 0 ;
11138 char *kwnames
[] = {
11139 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
11142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_JoystickEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11144 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
11145 if (PyErr_Occurred()) SWIG_fail
;
11148 arg2
= (int) SWIG_AsInt(obj1
);
11149 if (PyErr_Occurred()) SWIG_fail
;
11152 arg3
= (int) SWIG_AsInt(obj2
);
11153 if (PyErr_Occurred()) SWIG_fail
;
11156 arg4
= (int) SWIG_AsInt(obj3
);
11157 if (PyErr_Occurred()) SWIG_fail
;
11160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11161 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
11163 wxPyEndAllowThreads(__tstate
);
11164 if (PyErr_Occurred()) SWIG_fail
;
11166 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystickEvent
, 1);
11173 static PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11174 PyObject
*resultobj
;
11175 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11177 PyObject
* obj0
= 0 ;
11178 char *kwnames
[] = {
11179 (char *) "self", NULL
11182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
11183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11187 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
11189 wxPyEndAllowThreads(__tstate
);
11190 if (PyErr_Occurred()) SWIG_fail
;
11193 wxPoint
* resultptr
;
11194 resultptr
= new wxPoint((wxPoint
&) result
);
11195 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
11203 static PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11204 PyObject
*resultobj
;
11205 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11207 PyObject
* obj0
= 0 ;
11208 char *kwnames
[] = {
11209 (char *) "self", NULL
11212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetZPosition",kwnames
,&obj0
)) goto fail
;
11213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11217 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
11219 wxPyEndAllowThreads(__tstate
);
11220 if (PyErr_Occurred()) SWIG_fail
;
11222 resultobj
= SWIG_FromInt((int)result
);
11229 static PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11230 PyObject
*resultobj
;
11231 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11233 PyObject
* obj0
= 0 ;
11234 char *kwnames
[] = {
11235 (char *) "self", NULL
11238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonState",kwnames
,&obj0
)) goto fail
;
11239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11243 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
11245 wxPyEndAllowThreads(__tstate
);
11246 if (PyErr_Occurred()) SWIG_fail
;
11248 resultobj
= SWIG_FromInt((int)result
);
11255 static PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11256 PyObject
*resultobj
;
11257 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11259 PyObject
* obj0
= 0 ;
11260 char *kwnames
[] = {
11261 (char *) "self", NULL
11264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonChange",kwnames
,&obj0
)) goto fail
;
11265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11269 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
11271 wxPyEndAllowThreads(__tstate
);
11272 if (PyErr_Occurred()) SWIG_fail
;
11274 resultobj
= SWIG_FromInt((int)result
);
11281 static PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11282 PyObject
*resultobj
;
11283 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11285 PyObject
* obj0
= 0 ;
11286 char *kwnames
[] = {
11287 (char *) "self", NULL
11290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetJoystick",kwnames
,&obj0
)) goto fail
;
11291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11295 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
11297 wxPyEndAllowThreads(__tstate
);
11298 if (PyErr_Occurred()) SWIG_fail
;
11300 resultobj
= SWIG_FromInt((int)result
);
11307 static PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11308 PyObject
*resultobj
;
11309 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11311 PyObject
* obj0
= 0 ;
11312 PyObject
* obj1
= 0 ;
11313 char *kwnames
[] = {
11314 (char *) "self",(char *) "stick", NULL
11317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetJoystick",kwnames
,&obj0
,&obj1
)) goto fail
;
11318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11320 arg2
= (int) SWIG_AsInt(obj1
);
11321 if (PyErr_Occurred()) SWIG_fail
;
11323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11324 (arg1
)->SetJoystick(arg2
);
11326 wxPyEndAllowThreads(__tstate
);
11327 if (PyErr_Occurred()) SWIG_fail
;
11329 Py_INCREF(Py_None
); resultobj
= Py_None
;
11336 static PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11337 PyObject
*resultobj
;
11338 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11340 PyObject
* obj0
= 0 ;
11341 PyObject
* obj1
= 0 ;
11342 char *kwnames
[] = {
11343 (char *) "self",(char *) "state", NULL
11346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonState",kwnames
,&obj0
,&obj1
)) goto fail
;
11347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11349 arg2
= (int) SWIG_AsInt(obj1
);
11350 if (PyErr_Occurred()) SWIG_fail
;
11352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11353 (arg1
)->SetButtonState(arg2
);
11355 wxPyEndAllowThreads(__tstate
);
11356 if (PyErr_Occurred()) SWIG_fail
;
11358 Py_INCREF(Py_None
); resultobj
= Py_None
;
11365 static PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11366 PyObject
*resultobj
;
11367 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11369 PyObject
* obj0
= 0 ;
11370 PyObject
* obj1
= 0 ;
11371 char *kwnames
[] = {
11372 (char *) "self",(char *) "change", NULL
11375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&obj1
)) goto fail
;
11376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11378 arg2
= (int) SWIG_AsInt(obj1
);
11379 if (PyErr_Occurred()) SWIG_fail
;
11381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11382 (arg1
)->SetButtonChange(arg2
);
11384 wxPyEndAllowThreads(__tstate
);
11385 if (PyErr_Occurred()) SWIG_fail
;
11387 Py_INCREF(Py_None
); resultobj
= Py_None
;
11394 static PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11395 PyObject
*resultobj
;
11396 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11397 wxPoint
*arg2
= 0 ;
11399 PyObject
* obj0
= 0 ;
11400 PyObject
* obj1
= 0 ;
11401 char *kwnames
[] = {
11402 (char *) "self",(char *) "pos", NULL
11405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11410 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11414 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
11416 wxPyEndAllowThreads(__tstate
);
11417 if (PyErr_Occurred()) SWIG_fail
;
11419 Py_INCREF(Py_None
); resultobj
= Py_None
;
11426 static PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11427 PyObject
*resultobj
;
11428 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11430 PyObject
* obj0
= 0 ;
11431 PyObject
* obj1
= 0 ;
11432 char *kwnames
[] = {
11433 (char *) "self",(char *) "zPos", NULL
11436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetZPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11439 arg2
= (int) SWIG_AsInt(obj1
);
11440 if (PyErr_Occurred()) SWIG_fail
;
11442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11443 (arg1
)->SetZPosition(arg2
);
11445 wxPyEndAllowThreads(__tstate
);
11446 if (PyErr_Occurred()) SWIG_fail
;
11448 Py_INCREF(Py_None
); resultobj
= Py_None
;
11455 static PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11456 PyObject
*resultobj
;
11457 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11459 PyObject
* obj0
= 0 ;
11460 char *kwnames
[] = {
11461 (char *) "self", NULL
11464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsButton",kwnames
,&obj0
)) goto fail
;
11465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11469 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
11471 wxPyEndAllowThreads(__tstate
);
11472 if (PyErr_Occurred()) SWIG_fail
;
11475 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11483 static PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11484 PyObject
*resultobj
;
11485 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11487 PyObject
* obj0
= 0 ;
11488 char *kwnames
[] = {
11489 (char *) "self", NULL
11492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsMove",kwnames
,&obj0
)) goto fail
;
11493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11497 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
11499 wxPyEndAllowThreads(__tstate
);
11500 if (PyErr_Occurred()) SWIG_fail
;
11503 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11511 static PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11512 PyObject
*resultobj
;
11513 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11515 PyObject
* obj0
= 0 ;
11516 char *kwnames
[] = {
11517 (char *) "self", NULL
11520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsZMove",kwnames
,&obj0
)) goto fail
;
11521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11525 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
11527 wxPyEndAllowThreads(__tstate
);
11528 if (PyErr_Occurred()) SWIG_fail
;
11531 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11539 static PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11540 PyObject
*resultobj
;
11541 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11542 int arg2
= (int) wxJOY_BUTTON_ANY
;
11544 PyObject
* obj0
= 0 ;
11545 PyObject
* obj1
= 0 ;
11546 char *kwnames
[] = {
11547 (char *) "self",(char *) "but", NULL
11550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
11551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11554 arg2
= (int) SWIG_AsInt(obj1
);
11555 if (PyErr_Occurred()) SWIG_fail
;
11558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11559 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
11561 wxPyEndAllowThreads(__tstate
);
11562 if (PyErr_Occurred()) SWIG_fail
;
11565 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11573 static PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11574 PyObject
*resultobj
;
11575 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11576 int arg2
= (int) wxJOY_BUTTON_ANY
;
11578 PyObject
* obj0
= 0 ;
11579 PyObject
* obj1
= 0 ;
11580 char *kwnames
[] = {
11581 (char *) "self",(char *) "but", NULL
11584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
11585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11588 arg2
= (int) SWIG_AsInt(obj1
);
11589 if (PyErr_Occurred()) SWIG_fail
;
11592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11593 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
11595 wxPyEndAllowThreads(__tstate
);
11596 if (PyErr_Occurred()) SWIG_fail
;
11599 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11607 static PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11608 PyObject
*resultobj
;
11609 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11610 int arg2
= (int) wxJOY_BUTTON_ANY
;
11612 PyObject
* obj0
= 0 ;
11613 PyObject
* obj1
= 0 ;
11614 char *kwnames
[] = {
11615 (char *) "self",(char *) "but", NULL
11618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
11619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11622 arg2
= (int) SWIG_AsInt(obj1
);
11623 if (PyErr_Occurred()) SWIG_fail
;
11626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11627 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
11629 wxPyEndAllowThreads(__tstate
);
11630 if (PyErr_Occurred()) SWIG_fail
;
11633 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11641 static PyObject
* JoystickEvent_swigregister(PyObject
*self
, PyObject
*args
) {
11643 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11644 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent
, obj
);
11646 return Py_BuildValue((char *)"");
11648 static PyObject
*_wrap_new_Sound(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11649 PyObject
*resultobj
;
11650 wxString
const &arg1_defvalue
= wxPyEmptyString
;
11651 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
11653 bool temp1
= False
;
11654 PyObject
* obj0
= 0 ;
11655 char *kwnames
[] = {
11656 (char *) "fileName", NULL
11659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Sound",kwnames
,&obj0
)) goto fail
;
11662 arg1
= wxString_in_helper(obj0
);
11663 if (arg1
== NULL
) SWIG_fail
;
11668 if (!wxPyCheckForApp()) SWIG_fail
;
11669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11670 result
= (wxSound
*)new_wxSound((wxString
const &)*arg1
);
11672 wxPyEndAllowThreads(__tstate
);
11673 if (PyErr_Occurred()) SWIG_fail
;
11675 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
11690 static PyObject
*_wrap_new_SoundFromData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11691 PyObject
*resultobj
;
11692 PyObject
*arg1
= (PyObject
*) 0 ;
11694 PyObject
* obj0
= 0 ;
11695 char *kwnames
[] = {
11696 (char *) "data", NULL
11699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_SoundFromData",kwnames
,&obj0
)) goto fail
;
11702 if (!wxPyCheckForApp()) SWIG_fail
;
11703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11704 result
= (wxSound
*)new_wxSound(arg1
);
11706 wxPyEndAllowThreads(__tstate
);
11707 if (PyErr_Occurred()) SWIG_fail
;
11709 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
11716 static PyObject
*_wrap_delete_Sound(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11717 PyObject
*resultobj
;
11718 wxSound
*arg1
= (wxSound
*) 0 ;
11719 PyObject
* obj0
= 0 ;
11720 char *kwnames
[] = {
11721 (char *) "self", NULL
11724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Sound",kwnames
,&obj0
)) goto fail
;
11725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11731 wxPyEndAllowThreads(__tstate
);
11732 if (PyErr_Occurred()) SWIG_fail
;
11734 Py_INCREF(Py_None
); resultobj
= Py_None
;
11741 static PyObject
*_wrap_Sound_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11742 PyObject
*resultobj
;
11743 wxSound
*arg1
= (wxSound
*) 0 ;
11744 wxString
*arg2
= 0 ;
11746 bool temp2
= False
;
11747 PyObject
* obj0
= 0 ;
11748 PyObject
* obj1
= 0 ;
11749 char *kwnames
[] = {
11750 (char *) "self",(char *) "fileName", NULL
11753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_Create",kwnames
,&obj0
,&obj1
)) goto fail
;
11754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11757 arg2
= wxString_in_helper(obj1
);
11758 if (arg2
== NULL
) SWIG_fail
;
11762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11763 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
);
11765 wxPyEndAllowThreads(__tstate
);
11766 if (PyErr_Occurred()) SWIG_fail
;
11769 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11785 static PyObject
*_wrap_Sound_CreateFromData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11786 PyObject
*resultobj
;
11787 wxSound
*arg1
= (wxSound
*) 0 ;
11788 PyObject
*arg2
= (PyObject
*) 0 ;
11790 PyObject
* obj0
= 0 ;
11791 PyObject
* obj1
= 0 ;
11792 char *kwnames
[] = {
11793 (char *) "self",(char *) "data", NULL
11796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_CreateFromData",kwnames
,&obj0
,&obj1
)) goto fail
;
11797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11802 result
= (bool)wxSound_CreateFromData(arg1
,arg2
);
11804 wxPyEndAllowThreads(__tstate
);
11805 if (PyErr_Occurred()) SWIG_fail
;
11808 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11816 static PyObject
*_wrap_Sound_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11817 PyObject
*resultobj
;
11818 wxSound
*arg1
= (wxSound
*) 0 ;
11820 PyObject
* obj0
= 0 ;
11821 char *kwnames
[] = {
11822 (char *) "self", NULL
11825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sound_IsOk",kwnames
,&obj0
)) goto fail
;
11826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11830 result
= (bool)(arg1
)->IsOk();
11832 wxPyEndAllowThreads(__tstate
);
11833 if (PyErr_Occurred()) SWIG_fail
;
11836 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11844 static PyObject
*_wrap_Sound_Play(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11845 PyObject
*resultobj
;
11846 wxSound
*arg1
= (wxSound
*) 0 ;
11847 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
11849 PyObject
* obj0
= 0 ;
11850 PyObject
* obj1
= 0 ;
11851 char *kwnames
[] = {
11852 (char *) "self",(char *) "flags", NULL
11855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_Play",kwnames
,&obj0
,&obj1
)) goto fail
;
11856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11859 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
11860 if (PyErr_Occurred()) SWIG_fail
;
11863 if (!wxPyCheckForApp()) SWIG_fail
;
11864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11865 result
= (bool)((wxSound
const *)arg1
)->Play(arg2
);
11867 wxPyEndAllowThreads(__tstate
);
11868 if (PyErr_Occurred()) SWIG_fail
;
11871 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11879 static PyObject
*_wrap_Sound_PlaySound(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11880 PyObject
*resultobj
;
11881 wxString
*arg1
= 0 ;
11882 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
11884 bool temp1
= False
;
11885 PyObject
* obj0
= 0 ;
11886 PyObject
* obj1
= 0 ;
11887 char *kwnames
[] = {
11888 (char *) "filename",(char *) "flags", NULL
11891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_PlaySound",kwnames
,&obj0
,&obj1
)) goto fail
;
11893 arg1
= wxString_in_helper(obj0
);
11894 if (arg1
== NULL
) SWIG_fail
;
11898 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
11899 if (PyErr_Occurred()) SWIG_fail
;
11902 if (!wxPyCheckForApp()) SWIG_fail
;
11903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11904 result
= (bool)wxSound::Play((wxString
const &)*arg1
,arg2
);
11906 wxPyEndAllowThreads(__tstate
);
11907 if (PyErr_Occurred()) SWIG_fail
;
11910 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11926 static PyObject
*_wrap_Sound_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11927 PyObject
*resultobj
;
11928 char *kwnames
[] = {
11932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Sound_Stop",kwnames
)) goto fail
;
11934 if (!wxPyCheckForApp()) SWIG_fail
;
11935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11938 wxPyEndAllowThreads(__tstate
);
11939 if (PyErr_Occurred()) SWIG_fail
;
11941 Py_INCREF(Py_None
); resultobj
= Py_None
;
11948 static PyObject
* Sound_swigregister(PyObject
*self
, PyObject
*args
) {
11950 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11951 SWIG_TypeClientData(SWIGTYPE_p_wxSound
, obj
);
11953 return Py_BuildValue((char *)"");
11955 static PyObject
*_wrap_new_FileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11956 PyObject
*resultobj
;
11957 wxString
*arg1
= 0 ;
11958 wxString
*arg2
= 0 ;
11959 wxString
*arg3
= 0 ;
11960 wxString
*arg4
= 0 ;
11961 wxFileTypeInfo
*result
;
11962 bool temp1
= False
;
11963 bool temp2
= False
;
11964 bool temp3
= False
;
11965 bool temp4
= False
;
11966 PyObject
* obj0
= 0 ;
11967 PyObject
* obj1
= 0 ;
11968 PyObject
* obj2
= 0 ;
11969 PyObject
* obj3
= 0 ;
11970 char *kwnames
[] = {
11971 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
11974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11976 arg1
= wxString_in_helper(obj0
);
11977 if (arg1
== NULL
) SWIG_fail
;
11981 arg2
= wxString_in_helper(obj1
);
11982 if (arg2
== NULL
) SWIG_fail
;
11986 arg3
= wxString_in_helper(obj2
);
11987 if (arg3
== NULL
) SWIG_fail
;
11991 arg4
= wxString_in_helper(obj3
);
11992 if (arg4
== NULL
) SWIG_fail
;
11996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11997 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
11999 wxPyEndAllowThreads(__tstate
);
12000 if (PyErr_Occurred()) SWIG_fail
;
12002 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
12041 static PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12042 PyObject
*resultobj
;
12043 wxArrayString
*arg1
= 0 ;
12044 wxFileTypeInfo
*result
;
12045 bool temp1
= False
;
12046 PyObject
* obj0
= 0 ;
12047 char *kwnames
[] = {
12048 (char *) "sArray", NULL
12051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) goto fail
;
12053 if (! PySequence_Check(obj0
)) {
12054 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
12057 arg1
= new wxArrayString
;
12059 int i
, len
=PySequence_Length(obj0
);
12060 for (i
=0; i
<len
; i
++) {
12061 PyObject
* item
= PySequence_GetItem(obj0
, i
);
12063 PyObject
* str
= PyObject_Unicode(item
);
12065 PyObject
* str
= PyObject_Str(item
);
12067 if (PyErr_Occurred()) SWIG_fail
;
12068 arg1
->Add(Py2wxString(str
));
12074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12075 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
12077 wxPyEndAllowThreads(__tstate
);
12078 if (PyErr_Occurred()) SWIG_fail
;
12080 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
12082 if (temp1
) delete arg1
;
12087 if (temp1
) delete arg1
;
12093 static PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12094 PyObject
*resultobj
;
12095 wxFileTypeInfo
*result
;
12096 char *kwnames
[] = {
12100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NullFileTypeInfo",kwnames
)) goto fail
;
12102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12103 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
12105 wxPyEndAllowThreads(__tstate
);
12106 if (PyErr_Occurred()) SWIG_fail
;
12108 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
12115 static PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12116 PyObject
*resultobj
;
12117 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12119 PyObject
* obj0
= 0 ;
12120 char *kwnames
[] = {
12121 (char *) "self", NULL
12124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_IsValid",kwnames
,&obj0
)) goto fail
;
12125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12129 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
12131 wxPyEndAllowThreads(__tstate
);
12132 if (PyErr_Occurred()) SWIG_fail
;
12135 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12143 static PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12144 PyObject
*resultobj
;
12145 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12146 wxString
*arg2
= 0 ;
12147 int arg3
= (int) 0 ;
12148 bool temp2
= False
;
12149 PyObject
* obj0
= 0 ;
12150 PyObject
* obj1
= 0 ;
12151 PyObject
* obj2
= 0 ;
12152 char *kwnames
[] = {
12153 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
12156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12160 arg2
= wxString_in_helper(obj1
);
12161 if (arg2
== NULL
) SWIG_fail
;
12165 arg3
= (int) SWIG_AsInt(obj2
);
12166 if (PyErr_Occurred()) SWIG_fail
;
12169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12170 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
12172 wxPyEndAllowThreads(__tstate
);
12173 if (PyErr_Occurred()) SWIG_fail
;
12175 Py_INCREF(Py_None
); resultobj
= Py_None
;
12190 static PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12191 PyObject
*resultobj
;
12192 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12193 wxString
*arg2
= 0 ;
12194 bool temp2
= False
;
12195 PyObject
* obj0
= 0 ;
12196 PyObject
* obj1
= 0 ;
12197 char *kwnames
[] = {
12198 (char *) "self",(char *) "shortDesc", NULL
12201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
12202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12205 arg2
= wxString_in_helper(obj1
);
12206 if (arg2
== NULL
) SWIG_fail
;
12210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12211 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
12213 wxPyEndAllowThreads(__tstate
);
12214 if (PyErr_Occurred()) SWIG_fail
;
12216 Py_INCREF(Py_None
); resultobj
= Py_None
;
12231 static PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12232 PyObject
*resultobj
;
12233 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12235 PyObject
* obj0
= 0 ;
12236 char *kwnames
[] = {
12237 (char *) "self", NULL
12240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetMimeType",kwnames
,&obj0
)) goto fail
;
12241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12246 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
12247 result
= (wxString
*) &_result_ref
;
12250 wxPyEndAllowThreads(__tstate
);
12251 if (PyErr_Occurred()) SWIG_fail
;
12255 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12257 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12266 static PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12267 PyObject
*resultobj
;
12268 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12270 PyObject
* obj0
= 0 ;
12271 char *kwnames
[] = {
12272 (char *) "self", NULL
12275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames
,&obj0
)) goto fail
;
12276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12281 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
12282 result
= (wxString
*) &_result_ref
;
12285 wxPyEndAllowThreads(__tstate
);
12286 if (PyErr_Occurred()) SWIG_fail
;
12290 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12292 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12301 static PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12302 PyObject
*resultobj
;
12303 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12305 PyObject
* obj0
= 0 ;
12306 char *kwnames
[] = {
12307 (char *) "self", NULL
12310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames
,&obj0
)) goto fail
;
12311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12316 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
12317 result
= (wxString
*) &_result_ref
;
12320 wxPyEndAllowThreads(__tstate
);
12321 if (PyErr_Occurred()) SWIG_fail
;
12325 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12327 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12336 static PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12337 PyObject
*resultobj
;
12338 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12340 PyObject
* obj0
= 0 ;
12341 char *kwnames
[] = {
12342 (char *) "self", NULL
12345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetShortDesc",kwnames
,&obj0
)) goto fail
;
12346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12351 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
12352 result
= (wxString
*) &_result_ref
;
12355 wxPyEndAllowThreads(__tstate
);
12356 if (PyErr_Occurred()) SWIG_fail
;
12360 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12362 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12371 static PyObject
*_wrap_FileTypeInfo_GetDescription(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_GetDescription",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();
12386 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
12387 result
= (wxString
*) &_result_ref
;
12390 wxPyEndAllowThreads(__tstate
);
12391 if (PyErr_Occurred()) SWIG_fail
;
12395 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12397 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12406 static PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12407 PyObject
*resultobj
;
12408 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12409 wxArrayString
*result
;
12410 PyObject
* obj0
= 0 ;
12411 char *kwnames
[] = {
12412 (char *) "self", NULL
12415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensions",kwnames
,&obj0
)) goto fail
;
12416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12421 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
12422 result
= (wxArrayString
*) &_result_ref
;
12425 wxPyEndAllowThreads(__tstate
);
12426 if (PyErr_Occurred()) SWIG_fail
;
12429 resultobj
= wxArrayString2PyList_helper(*result
);
12437 static PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12438 PyObject
*resultobj
;
12439 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12441 PyObject
* obj0
= 0 ;
12442 char *kwnames
[] = {
12443 (char *) "self", NULL
12446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames
,&obj0
)) goto fail
;
12447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12451 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
12453 wxPyEndAllowThreads(__tstate
);
12454 if (PyErr_Occurred()) SWIG_fail
;
12456 resultobj
= SWIG_FromInt((int)result
);
12463 static PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12464 PyObject
*resultobj
;
12465 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12467 PyObject
* obj0
= 0 ;
12468 char *kwnames
[] = {
12469 (char *) "self", NULL
12472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconFile",kwnames
,&obj0
)) goto fail
;
12473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12478 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
12479 result
= (wxString
*) &_result_ref
;
12482 wxPyEndAllowThreads(__tstate
);
12483 if (PyErr_Occurred()) SWIG_fail
;
12487 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12489 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12498 static PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12499 PyObject
*resultobj
;
12500 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12502 PyObject
* obj0
= 0 ;
12503 char *kwnames
[] = {
12504 (char *) "self", NULL
12507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconIndex",kwnames
,&obj0
)) goto fail
;
12508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12512 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
12514 wxPyEndAllowThreads(__tstate
);
12515 if (PyErr_Occurred()) SWIG_fail
;
12517 resultobj
= SWIG_FromInt((int)result
);
12524 static PyObject
* FileTypeInfo_swigregister(PyObject
*self
, PyObject
*args
) {
12526 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12527 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo
, obj
);
12529 return Py_BuildValue((char *)"");
12531 static PyObject
*_wrap_new_FileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12532 PyObject
*resultobj
;
12533 wxFileTypeInfo
*arg1
= 0 ;
12534 wxFileType
*result
;
12535 PyObject
* obj0
= 0 ;
12536 char *kwnames
[] = {
12537 (char *) "ftInfo", NULL
12540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) goto fail
;
12541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12542 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12544 if (arg1
== NULL
) {
12545 PyErr_SetString(PyExc_TypeError
,"null reference");
12549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12550 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
12552 wxPyEndAllowThreads(__tstate
);
12553 if (PyErr_Occurred()) SWIG_fail
;
12555 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
12562 static PyObject
*_wrap_delete_FileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12563 PyObject
*resultobj
;
12564 wxFileType
*arg1
= (wxFileType
*) 0 ;
12565 PyObject
* obj0
= 0 ;
12566 char *kwnames
[] = {
12567 (char *) "self", NULL
12570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileType",kwnames
,&obj0
)) goto fail
;
12571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12577 wxPyEndAllowThreads(__tstate
);
12578 if (PyErr_Occurred()) SWIG_fail
;
12580 Py_INCREF(Py_None
); resultobj
= Py_None
;
12587 static PyObject
*_wrap_FileType_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12588 PyObject
*resultobj
;
12589 wxFileType
*arg1
= (wxFileType
*) 0 ;
12591 PyObject
* obj0
= 0 ;
12592 char *kwnames
[] = {
12593 (char *) "self", NULL
12596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeType",kwnames
,&obj0
)) goto fail
;
12597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12601 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
12603 wxPyEndAllowThreads(__tstate
);
12604 if (PyErr_Occurred()) SWIG_fail
;
12606 resultobj
= result
;
12613 static PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12614 PyObject
*resultobj
;
12615 wxFileType
*arg1
= (wxFileType
*) 0 ;
12617 PyObject
* obj0
= 0 ;
12618 char *kwnames
[] = {
12619 (char *) "self", NULL
12622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeTypes",kwnames
,&obj0
)) goto fail
;
12623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12627 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
12629 wxPyEndAllowThreads(__tstate
);
12630 if (PyErr_Occurred()) SWIG_fail
;
12632 resultobj
= result
;
12639 static PyObject
*_wrap_FileType_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12640 PyObject
*resultobj
;
12641 wxFileType
*arg1
= (wxFileType
*) 0 ;
12643 PyObject
* obj0
= 0 ;
12644 char *kwnames
[] = {
12645 (char *) "self", NULL
12648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetExtensions",kwnames
,&obj0
)) goto fail
;
12649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12653 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
12655 wxPyEndAllowThreads(__tstate
);
12656 if (PyErr_Occurred()) SWIG_fail
;
12658 resultobj
= result
;
12665 static PyObject
*_wrap_FileType_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12666 PyObject
*resultobj
;
12667 wxFileType
*arg1
= (wxFileType
*) 0 ;
12669 PyObject
* obj0
= 0 ;
12670 char *kwnames
[] = {
12671 (char *) "self", NULL
12674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIcon",kwnames
,&obj0
)) goto fail
;
12675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12679 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
12681 wxPyEndAllowThreads(__tstate
);
12682 if (PyErr_Occurred()) SWIG_fail
;
12684 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
12691 static PyObject
*_wrap_FileType_GetIconInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12692 PyObject
*resultobj
;
12693 wxFileType
*arg1
= (wxFileType
*) 0 ;
12695 PyObject
* obj0
= 0 ;
12696 char *kwnames
[] = {
12697 (char *) "self", NULL
12700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIconInfo",kwnames
,&obj0
)) goto fail
;
12701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12705 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
12707 wxPyEndAllowThreads(__tstate
);
12708 if (PyErr_Occurred()) SWIG_fail
;
12710 resultobj
= result
;
12717 static PyObject
*_wrap_FileType_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12718 PyObject
*resultobj
;
12719 wxFileType
*arg1
= (wxFileType
*) 0 ;
12721 PyObject
* obj0
= 0 ;
12722 char *kwnames
[] = {
12723 (char *) "self", NULL
12726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetDescription",kwnames
,&obj0
)) goto fail
;
12727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12731 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
12733 wxPyEndAllowThreads(__tstate
);
12734 if (PyErr_Occurred()) SWIG_fail
;
12736 resultobj
= result
;
12743 static PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12744 PyObject
*resultobj
;
12745 wxFileType
*arg1
= (wxFileType
*) 0 ;
12746 wxString
*arg2
= 0 ;
12747 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12748 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12750 bool temp2
= False
;
12751 bool temp3
= False
;
12752 PyObject
* obj0
= 0 ;
12753 PyObject
* obj1
= 0 ;
12754 PyObject
* obj2
= 0 ;
12755 char *kwnames
[] = {
12756 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12763 arg2
= wxString_in_helper(obj1
);
12764 if (arg2
== NULL
) SWIG_fail
;
12769 arg3
= wxString_in_helper(obj2
);
12770 if (arg3
== NULL
) SWIG_fail
;
12775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12776 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12778 wxPyEndAllowThreads(__tstate
);
12779 if (PyErr_Occurred()) SWIG_fail
;
12781 resultobj
= result
;
12804 static PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12805 PyObject
*resultobj
;
12806 wxFileType
*arg1
= (wxFileType
*) 0 ;
12807 wxString
*arg2
= 0 ;
12808 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12809 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12811 bool temp2
= False
;
12812 bool temp3
= False
;
12813 PyObject
* obj0
= 0 ;
12814 PyObject
* obj1
= 0 ;
12815 PyObject
* obj2
= 0 ;
12816 char *kwnames
[] = {
12817 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12824 arg2
= wxString_in_helper(obj1
);
12825 if (arg2
== NULL
) SWIG_fail
;
12830 arg3
= wxString_in_helper(obj2
);
12831 if (arg3
== NULL
) SWIG_fail
;
12836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12837 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12839 wxPyEndAllowThreads(__tstate
);
12840 if (PyErr_Occurred()) SWIG_fail
;
12842 resultobj
= result
;
12865 static PyObject
*_wrap_FileType_GetAllCommands(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12866 PyObject
*resultobj
;
12867 wxFileType
*arg1
= (wxFileType
*) 0 ;
12868 wxString
*arg2
= 0 ;
12869 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12870 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12872 bool temp2
= False
;
12873 bool temp3
= False
;
12874 PyObject
* obj0
= 0 ;
12875 PyObject
* obj1
= 0 ;
12876 PyObject
* obj2
= 0 ;
12877 char *kwnames
[] = {
12878 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12885 arg2
= wxString_in_helper(obj1
);
12886 if (arg2
== NULL
) SWIG_fail
;
12891 arg3
= wxString_in_helper(obj2
);
12892 if (arg3
== NULL
) SWIG_fail
;
12897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12898 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12900 wxPyEndAllowThreads(__tstate
);
12901 if (PyErr_Occurred()) SWIG_fail
;
12903 resultobj
= result
;
12926 static PyObject
*_wrap_FileType_SetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12927 PyObject
*resultobj
;
12928 wxFileType
*arg1
= (wxFileType
*) 0 ;
12929 wxString
*arg2
= 0 ;
12930 wxString
*arg3
= 0 ;
12931 bool arg4
= (bool) True
;
12933 bool temp2
= False
;
12934 bool temp3
= False
;
12935 PyObject
* obj0
= 0 ;
12936 PyObject
* obj1
= 0 ;
12937 PyObject
* obj2
= 0 ;
12938 PyObject
* obj3
= 0 ;
12939 char *kwnames
[] = {
12940 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
12943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12947 arg2
= wxString_in_helper(obj1
);
12948 if (arg2
== NULL
) SWIG_fail
;
12952 arg3
= wxString_in_helper(obj2
);
12953 if (arg3
== NULL
) SWIG_fail
;
12957 arg4
= (bool) SWIG_AsBool(obj3
);
12958 if (PyErr_Occurred()) SWIG_fail
;
12961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12962 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
12964 wxPyEndAllowThreads(__tstate
);
12965 if (PyErr_Occurred()) SWIG_fail
;
12968 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12992 static PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12993 PyObject
*resultobj
;
12994 wxFileType
*arg1
= (wxFileType
*) 0 ;
12995 wxString
const &arg2_defvalue
= wxPyEmptyString
;
12996 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12997 int arg3
= (int) 0 ;
12999 bool temp2
= False
;
13000 PyObject
* obj0
= 0 ;
13001 PyObject
* obj1
= 0 ;
13002 PyObject
* obj2
= 0 ;
13003 char *kwnames
[] = {
13004 (char *) "self",(char *) "cmd",(char *) "index", NULL
13007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13012 arg2
= wxString_in_helper(obj1
);
13013 if (arg2
== NULL
) SWIG_fail
;
13018 arg3
= (int) SWIG_AsInt(obj2
);
13019 if (PyErr_Occurred()) SWIG_fail
;
13022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13023 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
13025 wxPyEndAllowThreads(__tstate
);
13026 if (PyErr_Occurred()) SWIG_fail
;
13029 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13045 static PyObject
*_wrap_FileType_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13046 PyObject
*resultobj
;
13047 wxFileType
*arg1
= (wxFileType
*) 0 ;
13049 PyObject
* obj0
= 0 ;
13050 char *kwnames
[] = {
13051 (char *) "self", NULL
13054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_Unassociate",kwnames
,&obj0
)) goto fail
;
13055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13059 result
= (bool)(arg1
)->Unassociate();
13061 wxPyEndAllowThreads(__tstate
);
13062 if (PyErr_Occurred()) SWIG_fail
;
13065 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13073 static PyObject
*_wrap_FileType_ExpandCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13074 PyObject
*resultobj
;
13075 wxString
*arg1
= 0 ;
13076 wxString
*arg2
= 0 ;
13077 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13078 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13080 bool temp1
= False
;
13081 bool temp2
= False
;
13082 bool temp3
= False
;
13083 PyObject
* obj0
= 0 ;
13084 PyObject
* obj1
= 0 ;
13085 PyObject
* obj2
= 0 ;
13086 char *kwnames
[] = {
13087 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
13090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13092 arg1
= wxString_in_helper(obj0
);
13093 if (arg1
== NULL
) SWIG_fail
;
13097 arg2
= wxString_in_helper(obj1
);
13098 if (arg2
== NULL
) SWIG_fail
;
13103 arg3
= wxString_in_helper(obj2
);
13104 if (arg3
== NULL
) SWIG_fail
;
13109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13110 result
= FileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
13112 wxPyEndAllowThreads(__tstate
);
13113 if (PyErr_Occurred()) SWIG_fail
;
13117 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13119 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13152 static PyObject
* FileType_swigregister(PyObject
*self
, PyObject
*args
) {
13154 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13155 SWIG_TypeClientData(SWIGTYPE_p_wxFileType
, obj
);
13157 return Py_BuildValue((char *)"");
13159 static int _wrap_TheMimeTypesManager_set(PyObject
*_val
) {
13160 PyErr_SetString(PyExc_TypeError
,"Variable TheMimeTypesManager is read-only.");
13165 static PyObject
*_wrap_TheMimeTypesManager_get() {
13168 pyobj
= SWIG_NewPointerObj((void *)(wxTheMimeTypesManager
), SWIGTYPE_p_wxMimeTypesManager
, 0);
13173 static PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13174 PyObject
*resultobj
;
13175 wxString
*arg1
= 0 ;
13176 wxString
*arg2
= 0 ;
13178 bool temp1
= False
;
13179 bool temp2
= False
;
13180 PyObject
* obj0
= 0 ;
13181 PyObject
* obj1
= 0 ;
13182 char *kwnames
[] = {
13183 (char *) "mimeType",(char *) "wildcard", NULL
13186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) goto fail
;
13188 arg1
= wxString_in_helper(obj0
);
13189 if (arg1
== NULL
) SWIG_fail
;
13193 arg2
= wxString_in_helper(obj1
);
13194 if (arg2
== NULL
) SWIG_fail
;
13198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13199 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
13201 wxPyEndAllowThreads(__tstate
);
13202 if (PyErr_Occurred()) SWIG_fail
;
13205 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13229 static PyObject
*_wrap_new_MimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13230 PyObject
*resultobj
;
13231 wxMimeTypesManager
*result
;
13232 char *kwnames
[] = {
13236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MimeTypesManager",kwnames
)) goto fail
;
13238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13239 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
13241 wxPyEndAllowThreads(__tstate
);
13242 if (PyErr_Occurred()) SWIG_fail
;
13244 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMimeTypesManager
, 1);
13251 static PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13252 PyObject
*resultobj
;
13253 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13254 int arg2
= (int) wxMAILCAP_ALL
;
13255 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13256 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13257 bool temp3
= False
;
13258 PyObject
* obj0
= 0 ;
13259 PyObject
* obj1
= 0 ;
13260 PyObject
* obj2
= 0 ;
13261 char *kwnames
[] = {
13262 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
13265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MimeTypesManager_Initialize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13269 arg2
= (int) SWIG_AsInt(obj1
);
13270 if (PyErr_Occurred()) SWIG_fail
;
13274 arg3
= wxString_in_helper(obj2
);
13275 if (arg3
== NULL
) SWIG_fail
;
13280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13281 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
13283 wxPyEndAllowThreads(__tstate
);
13284 if (PyErr_Occurred()) SWIG_fail
;
13286 Py_INCREF(Py_None
); resultobj
= Py_None
;
13301 static PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13302 PyObject
*resultobj
;
13303 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13304 PyObject
* obj0
= 0 ;
13305 char *kwnames
[] = {
13306 (char *) "self", NULL
13309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_ClearData",kwnames
,&obj0
)) goto fail
;
13310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13314 (arg1
)->ClearData();
13316 wxPyEndAllowThreads(__tstate
);
13317 if (PyErr_Occurred()) SWIG_fail
;
13319 Py_INCREF(Py_None
); resultobj
= Py_None
;
13326 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13327 PyObject
*resultobj
;
13328 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13329 wxString
*arg2
= 0 ;
13330 wxFileType
*result
;
13331 bool temp2
= False
;
13332 PyObject
* obj0
= 0 ;
13333 PyObject
* obj1
= 0 ;
13334 char *kwnames
[] = {
13335 (char *) "self",(char *) "ext", NULL
13338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
13339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13342 arg2
= wxString_in_helper(obj1
);
13343 if (arg2
== NULL
) SWIG_fail
;
13347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13348 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
13350 wxPyEndAllowThreads(__tstate
);
13351 if (PyErr_Occurred()) SWIG_fail
;
13353 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13368 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13369 PyObject
*resultobj
;
13370 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13371 wxString
*arg2
= 0 ;
13372 wxFileType
*result
;
13373 bool temp2
= False
;
13374 PyObject
* obj0
= 0 ;
13375 PyObject
* obj1
= 0 ;
13376 char *kwnames
[] = {
13377 (char *) "self",(char *) "mimeType", NULL
13380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
13381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13384 arg2
= wxString_in_helper(obj1
);
13385 if (arg2
== NULL
) SWIG_fail
;
13389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13390 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
13392 wxPyEndAllowThreads(__tstate
);
13393 if (PyErr_Occurred()) SWIG_fail
;
13395 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13410 static PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13411 PyObject
*resultobj
;
13412 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13413 wxString
*arg2
= 0 ;
13414 bool arg3
= (bool) False
;
13416 bool temp2
= False
;
13417 PyObject
* obj0
= 0 ;
13418 PyObject
* obj1
= 0 ;
13419 PyObject
* obj2
= 0 ;
13420 char *kwnames
[] = {
13421 (char *) "self",(char *) "filename",(char *) "fallback", NULL
13424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13428 arg2
= wxString_in_helper(obj1
);
13429 if (arg2
== NULL
) SWIG_fail
;
13433 arg3
= (bool) SWIG_AsBool(obj2
);
13434 if (PyErr_Occurred()) SWIG_fail
;
13437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13438 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
13440 wxPyEndAllowThreads(__tstate
);
13441 if (PyErr_Occurred()) SWIG_fail
;
13444 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13460 static PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13461 PyObject
*resultobj
;
13462 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13463 wxString
*arg2
= 0 ;
13465 bool temp2
= False
;
13466 PyObject
* obj0
= 0 ;
13467 PyObject
* obj1
= 0 ;
13468 char *kwnames
[] = {
13469 (char *) "self",(char *) "filename", NULL
13472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) goto fail
;
13473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13476 arg2
= wxString_in_helper(obj1
);
13477 if (arg2
== NULL
) SWIG_fail
;
13481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13482 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
13484 wxPyEndAllowThreads(__tstate
);
13485 if (PyErr_Occurred()) SWIG_fail
;
13488 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13504 static PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13505 PyObject
*resultobj
;
13506 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13508 PyObject
* obj0
= 0 ;
13509 char *kwnames
[] = {
13510 (char *) "self", NULL
13513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames
,&obj0
)) goto fail
;
13514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13518 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
13520 wxPyEndAllowThreads(__tstate
);
13521 if (PyErr_Occurred()) SWIG_fail
;
13523 resultobj
= result
;
13530 static PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13531 PyObject
*resultobj
;
13532 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13533 wxFileTypeInfo
*arg2
= 0 ;
13534 PyObject
* obj0
= 0 ;
13535 PyObject
* obj1
= 0 ;
13536 char *kwnames
[] = {
13537 (char *) "self",(char *) "ft", NULL
13540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) goto fail
;
13541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13543 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileTypeInfo
,
13544 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13546 if (arg2
== NULL
) {
13547 PyErr_SetString(PyExc_TypeError
,"null reference");
13551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13552 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
13554 wxPyEndAllowThreads(__tstate
);
13555 if (PyErr_Occurred()) SWIG_fail
;
13557 Py_INCREF(Py_None
); resultobj
= Py_None
;
13564 static PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13565 PyObject
*resultobj
;
13566 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13567 wxFileTypeInfo
*arg2
= 0 ;
13568 wxFileType
*result
;
13569 PyObject
* obj0
= 0 ;
13570 PyObject
* obj1
= 0 ;
13571 char *kwnames
[] = {
13572 (char *) "self",(char *) "ftInfo", NULL
13575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) goto fail
;
13576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13578 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileTypeInfo
,
13579 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13581 if (arg2
== NULL
) {
13582 PyErr_SetString(PyExc_TypeError
,"null reference");
13586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13587 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
13589 wxPyEndAllowThreads(__tstate
);
13590 if (PyErr_Occurred()) SWIG_fail
;
13592 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13599 static PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13600 PyObject
*resultobj
;
13601 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13602 wxFileType
*arg2
= (wxFileType
*) 0 ;
13604 PyObject
* obj0
= 0 ;
13605 PyObject
* obj1
= 0 ;
13606 char *kwnames
[] = {
13607 (char *) "self",(char *) "ft", NULL
13610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) goto fail
;
13611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13613 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileType
,
13614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13617 result
= (bool)(arg1
)->Unassociate(arg2
);
13619 wxPyEndAllowThreads(__tstate
);
13620 if (PyErr_Occurred()) SWIG_fail
;
13623 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13631 static PyObject
*_wrap_delete_MimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13632 PyObject
*resultobj
;
13633 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13634 PyObject
* obj0
= 0 ;
13635 char *kwnames
[] = {
13636 (char *) "self", NULL
13639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MimeTypesManager",kwnames
,&obj0
)) goto fail
;
13640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13646 wxPyEndAllowThreads(__tstate
);
13647 if (PyErr_Occurred()) SWIG_fail
;
13649 Py_INCREF(Py_None
); resultobj
= Py_None
;
13656 static PyObject
* MimeTypesManager_swigregister(PyObject
*self
, PyObject
*args
) {
13658 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13659 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager
, obj
);
13661 return Py_BuildValue((char *)"");
13663 static int _wrap_ART_TOOLBAR_set(PyObject
*_val
) {
13664 PyErr_SetString(PyExc_TypeError
,"Variable ART_TOOLBAR is read-only.");
13669 static PyObject
*_wrap_ART_TOOLBAR_get() {
13674 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
13676 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
13683 static int _wrap_ART_MENU_set(PyObject
*_val
) {
13684 PyErr_SetString(PyExc_TypeError
,"Variable ART_MENU is read-only.");
13689 static PyObject
*_wrap_ART_MENU_get() {
13694 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
13696 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
13703 static int _wrap_ART_FRAME_ICON_set(PyObject
*_val
) {
13704 PyErr_SetString(PyExc_TypeError
,"Variable ART_FRAME_ICON is read-only.");
13709 static PyObject
*_wrap_ART_FRAME_ICON_get() {
13714 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
13716 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
13723 static int _wrap_ART_CMN_DIALOG_set(PyObject
*_val
) {
13724 PyErr_SetString(PyExc_TypeError
,"Variable ART_CMN_DIALOG is read-only.");
13729 static PyObject
*_wrap_ART_CMN_DIALOG_get() {
13734 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
13736 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
13743 static int _wrap_ART_HELP_BROWSER_set(PyObject
*_val
) {
13744 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BROWSER is read-only.");
13749 static PyObject
*_wrap_ART_HELP_BROWSER_get() {
13754 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
13756 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
13763 static int _wrap_ART_MESSAGE_BOX_set(PyObject
*_val
) {
13764 PyErr_SetString(PyExc_TypeError
,"Variable ART_MESSAGE_BOX is read-only.");
13769 static PyObject
*_wrap_ART_MESSAGE_BOX_get() {
13774 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
13776 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
13783 static int _wrap_ART_OTHER_set(PyObject
*_val
) {
13784 PyErr_SetString(PyExc_TypeError
,"Variable ART_OTHER is read-only.");
13789 static PyObject
*_wrap_ART_OTHER_get() {
13794 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
13796 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
13803 static int _wrap_ART_ADD_BOOKMARK_set(PyObject
*_val
) {
13804 PyErr_SetString(PyExc_TypeError
,"Variable ART_ADD_BOOKMARK is read-only.");
13809 static PyObject
*_wrap_ART_ADD_BOOKMARK_get() {
13814 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
13816 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
13823 static int _wrap_ART_DEL_BOOKMARK_set(PyObject
*_val
) {
13824 PyErr_SetString(PyExc_TypeError
,"Variable ART_DEL_BOOKMARK is read-only.");
13829 static PyObject
*_wrap_ART_DEL_BOOKMARK_get() {
13834 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
13836 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
13843 static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject
*_val
) {
13844 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
13849 static PyObject
*_wrap_ART_HELP_SIDE_PANEL_get() {
13854 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
13856 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
13863 static int _wrap_ART_HELP_SETTINGS_set(PyObject
*_val
) {
13864 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SETTINGS is read-only.");
13869 static PyObject
*_wrap_ART_HELP_SETTINGS_get() {
13874 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
13876 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
13883 static int _wrap_ART_HELP_BOOK_set(PyObject
*_val
) {
13884 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BOOK is read-only.");
13889 static PyObject
*_wrap_ART_HELP_BOOK_get() {
13894 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
13896 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
13903 static int _wrap_ART_HELP_FOLDER_set(PyObject
*_val
) {
13904 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_FOLDER is read-only.");
13909 static PyObject
*_wrap_ART_HELP_FOLDER_get() {
13914 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
13916 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
13923 static int _wrap_ART_HELP_PAGE_set(PyObject
*_val
) {
13924 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_PAGE is read-only.");
13929 static PyObject
*_wrap_ART_HELP_PAGE_get() {
13934 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
13936 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
13943 static int _wrap_ART_GO_BACK_set(PyObject
*_val
) {
13944 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_BACK is read-only.");
13949 static PyObject
*_wrap_ART_GO_BACK_get() {
13954 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
13956 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
13963 static int _wrap_ART_GO_FORWARD_set(PyObject
*_val
) {
13964 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_FORWARD is read-only.");
13969 static PyObject
*_wrap_ART_GO_FORWARD_get() {
13974 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
13976 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
13983 static int _wrap_ART_GO_UP_set(PyObject
*_val
) {
13984 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_UP is read-only.");
13989 static PyObject
*_wrap_ART_GO_UP_get() {
13994 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
13996 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
14003 static int _wrap_ART_GO_DOWN_set(PyObject
*_val
) {
14004 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DOWN is read-only.");
14009 static PyObject
*_wrap_ART_GO_DOWN_get() {
14014 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
14016 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
14023 static int _wrap_ART_GO_TO_PARENT_set(PyObject
*_val
) {
14024 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_TO_PARENT is read-only.");
14029 static PyObject
*_wrap_ART_GO_TO_PARENT_get() {
14034 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
14036 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
14043 static int _wrap_ART_GO_HOME_set(PyObject
*_val
) {
14044 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_HOME is read-only.");
14049 static PyObject
*_wrap_ART_GO_HOME_get() {
14054 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
14056 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
14063 static int _wrap_ART_FILE_OPEN_set(PyObject
*_val
) {
14064 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_OPEN is read-only.");
14069 static PyObject
*_wrap_ART_FILE_OPEN_get() {
14074 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
14076 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
14083 static int _wrap_ART_PRINT_set(PyObject
*_val
) {
14084 PyErr_SetString(PyExc_TypeError
,"Variable ART_PRINT is read-only.");
14089 static PyObject
*_wrap_ART_PRINT_get() {
14094 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
14096 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
14103 static int _wrap_ART_HELP_set(PyObject
*_val
) {
14104 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP is read-only.");
14109 static PyObject
*_wrap_ART_HELP_get() {
14114 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
14116 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
14123 static int _wrap_ART_TIP_set(PyObject
*_val
) {
14124 PyErr_SetString(PyExc_TypeError
,"Variable ART_TIP is read-only.");
14129 static PyObject
*_wrap_ART_TIP_get() {
14134 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
14136 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
14143 static int _wrap_ART_REPORT_VIEW_set(PyObject
*_val
) {
14144 PyErr_SetString(PyExc_TypeError
,"Variable ART_REPORT_VIEW is read-only.");
14149 static PyObject
*_wrap_ART_REPORT_VIEW_get() {
14154 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
14156 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
14163 static int _wrap_ART_LIST_VIEW_set(PyObject
*_val
) {
14164 PyErr_SetString(PyExc_TypeError
,"Variable ART_LIST_VIEW is read-only.");
14169 static PyObject
*_wrap_ART_LIST_VIEW_get() {
14174 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
14176 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
14183 static int _wrap_ART_NEW_DIR_set(PyObject
*_val
) {
14184 PyErr_SetString(PyExc_TypeError
,"Variable ART_NEW_DIR is read-only.");
14189 static PyObject
*_wrap_ART_NEW_DIR_get() {
14194 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
14196 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
14203 static int _wrap_ART_FOLDER_set(PyObject
*_val
) {
14204 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER is read-only.");
14209 static PyObject
*_wrap_ART_FOLDER_get() {
14214 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
14216 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
14223 static int _wrap_ART_GO_DIR_UP_set(PyObject
*_val
) {
14224 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DIR_UP is read-only.");
14229 static PyObject
*_wrap_ART_GO_DIR_UP_get() {
14234 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
14236 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
14243 static int _wrap_ART_EXECUTABLE_FILE_set(PyObject
*_val
) {
14244 PyErr_SetString(PyExc_TypeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
14249 static PyObject
*_wrap_ART_EXECUTABLE_FILE_get() {
14254 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
14256 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
14263 static int _wrap_ART_NORMAL_FILE_set(PyObject
*_val
) {
14264 PyErr_SetString(PyExc_TypeError
,"Variable ART_NORMAL_FILE is read-only.");
14269 static PyObject
*_wrap_ART_NORMAL_FILE_get() {
14274 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
14276 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
14283 static int _wrap_ART_TICK_MARK_set(PyObject
*_val
) {
14284 PyErr_SetString(PyExc_TypeError
,"Variable ART_TICK_MARK is read-only.");
14289 static PyObject
*_wrap_ART_TICK_MARK_get() {
14294 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
14296 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
14303 static int _wrap_ART_CROSS_MARK_set(PyObject
*_val
) {
14304 PyErr_SetString(PyExc_TypeError
,"Variable ART_CROSS_MARK is read-only.");
14309 static PyObject
*_wrap_ART_CROSS_MARK_get() {
14314 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
14316 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
14323 static int _wrap_ART_ERROR_set(PyObject
*_val
) {
14324 PyErr_SetString(PyExc_TypeError
,"Variable ART_ERROR is read-only.");
14329 static PyObject
*_wrap_ART_ERROR_get() {
14334 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
14336 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
14343 static int _wrap_ART_QUESTION_set(PyObject
*_val
) {
14344 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUESTION is read-only.");
14349 static PyObject
*_wrap_ART_QUESTION_get() {
14354 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
14356 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
14363 static int _wrap_ART_WARNING_set(PyObject
*_val
) {
14364 PyErr_SetString(PyExc_TypeError
,"Variable ART_WARNING is read-only.");
14369 static PyObject
*_wrap_ART_WARNING_get() {
14374 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
14376 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
14383 static int _wrap_ART_INFORMATION_set(PyObject
*_val
) {
14384 PyErr_SetString(PyExc_TypeError
,"Variable ART_INFORMATION is read-only.");
14389 static PyObject
*_wrap_ART_INFORMATION_get() {
14394 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
14396 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
14403 static int _wrap_ART_MISSING_IMAGE_set(PyObject
*_val
) {
14404 PyErr_SetString(PyExc_TypeError
,"Variable ART_MISSING_IMAGE is read-only.");
14409 static PyObject
*_wrap_ART_MISSING_IMAGE_get() {
14414 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
14416 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
14423 static PyObject
*_wrap_new_ArtProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14424 PyObject
*resultobj
;
14425 wxPyArtProvider
*result
;
14426 char *kwnames
[] = {
14430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ArtProvider",kwnames
)) goto fail
;
14432 if (!wxPyCheckForApp()) SWIG_fail
;
14433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14434 result
= (wxPyArtProvider
*)new wxPyArtProvider();
14436 wxPyEndAllowThreads(__tstate
);
14437 if (PyErr_Occurred()) SWIG_fail
;
14439 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyArtProvider
, 1);
14446 static PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14447 PyObject
*resultobj
;
14448 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14449 PyObject
*arg2
= (PyObject
*) 0 ;
14450 PyObject
*arg3
= (PyObject
*) 0 ;
14451 PyObject
* obj0
= 0 ;
14452 PyObject
* obj1
= 0 ;
14453 PyObject
* obj2
= 0 ;
14454 char *kwnames
[] = {
14455 (char *) "self",(char *) "self",(char *) "_class", NULL
14458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14465 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14467 wxPyEndAllowThreads(__tstate
);
14468 if (PyErr_Occurred()) SWIG_fail
;
14470 Py_INCREF(Py_None
); resultobj
= Py_None
;
14477 static PyObject
*_wrap_ArtProvider_PushProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14478 PyObject
*resultobj
;
14479 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14480 PyObject
* obj0
= 0 ;
14481 char *kwnames
[] = {
14482 (char *) "provider", NULL
14485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_PushProvider",kwnames
,&obj0
)) goto fail
;
14486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14490 wxPyArtProvider::PushProvider(arg1
);
14492 wxPyEndAllowThreads(__tstate
);
14493 if (PyErr_Occurred()) SWIG_fail
;
14495 Py_INCREF(Py_None
); resultobj
= Py_None
;
14502 static PyObject
*_wrap_ArtProvider_PopProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14503 PyObject
*resultobj
;
14505 char *kwnames
[] = {
14509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ArtProvider_PopProvider",kwnames
)) goto fail
;
14511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14512 result
= (bool)wxPyArtProvider::PopProvider();
14514 wxPyEndAllowThreads(__tstate
);
14515 if (PyErr_Occurred()) SWIG_fail
;
14518 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14526 static PyObject
*_wrap_ArtProvider_RemoveProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14527 PyObject
*resultobj
;
14528 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14530 PyObject
* obj0
= 0 ;
14531 char *kwnames
[] = {
14532 (char *) "provider", NULL
14535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",kwnames
,&obj0
)) goto fail
;
14536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14540 result
= (bool)wxPyArtProvider::RemoveProvider(arg1
);
14542 wxPyEndAllowThreads(__tstate
);
14543 if (PyErr_Occurred()) SWIG_fail
;
14546 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14554 static PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14555 PyObject
*resultobj
;
14556 wxString
*arg1
= 0 ;
14557 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
14558 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14559 wxSize
const &arg3_defvalue
= wxDefaultSize
;
14560 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
14562 bool temp1
= False
;
14563 bool temp2
= False
;
14565 PyObject
* obj0
= 0 ;
14566 PyObject
* obj1
= 0 ;
14567 PyObject
* obj2
= 0 ;
14568 char *kwnames
[] = {
14569 (char *) "id",(char *) "client",(char *) "size", NULL
14572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14574 arg1
= wxString_in_helper(obj0
);
14575 if (arg1
== NULL
) SWIG_fail
;
14580 arg2
= wxString_in_helper(obj1
);
14581 if (arg2
== NULL
) SWIG_fail
;
14588 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14592 if (!wxPyCheckForApp()) SWIG_fail
;
14593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14594 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
14596 wxPyEndAllowThreads(__tstate
);
14597 if (PyErr_Occurred()) SWIG_fail
;
14600 wxBitmap
* resultptr
;
14601 resultptr
= new wxBitmap((wxBitmap
&) result
);
14602 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
14626 static PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14627 PyObject
*resultobj
;
14628 wxString
*arg1
= 0 ;
14629 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
14630 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14631 wxSize
const &arg3_defvalue
= wxDefaultSize
;
14632 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
14634 bool temp1
= False
;
14635 bool temp2
= False
;
14637 PyObject
* obj0
= 0 ;
14638 PyObject
* obj1
= 0 ;
14639 PyObject
* obj2
= 0 ;
14640 char *kwnames
[] = {
14641 (char *) "id",(char *) "client",(char *) "size", NULL
14644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14646 arg1
= wxString_in_helper(obj0
);
14647 if (arg1
== NULL
) SWIG_fail
;
14652 arg2
= wxString_in_helper(obj1
);
14653 if (arg2
== NULL
) SWIG_fail
;
14660 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14664 if (!wxPyCheckForApp()) SWIG_fail
;
14665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14666 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
14668 wxPyEndAllowThreads(__tstate
);
14669 if (PyErr_Occurred()) SWIG_fail
;
14672 wxIcon
* resultptr
;
14673 resultptr
= new wxIcon((wxIcon
&) result
);
14674 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
14698 static PyObject
*_wrap_ArtProvider_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14699 PyObject
*resultobj
;
14700 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14701 PyObject
* obj0
= 0 ;
14702 char *kwnames
[] = {
14703 (char *) "self", NULL
14706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Destroy",kwnames
,&obj0
)) goto fail
;
14707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14711 wxPyArtProvider_Destroy(arg1
);
14713 wxPyEndAllowThreads(__tstate
);
14714 if (PyErr_Occurred()) SWIG_fail
;
14716 Py_INCREF(Py_None
); resultobj
= Py_None
;
14723 static PyObject
* ArtProvider_swigregister(PyObject
*self
, PyObject
*args
) {
14725 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14726 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider
, obj
);
14728 return Py_BuildValue((char *)"");
14730 static PyObject
*_wrap_delete_ConfigBase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14731 PyObject
*resultobj
;
14732 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14733 PyObject
* obj0
= 0 ;
14734 char *kwnames
[] = {
14735 (char *) "self", NULL
14738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigBase",kwnames
,&obj0
)) goto fail
;
14739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14745 wxPyEndAllowThreads(__tstate
);
14746 if (PyErr_Occurred()) SWIG_fail
;
14748 Py_INCREF(Py_None
); resultobj
= Py_None
;
14755 static PyObject
*_wrap_ConfigBase_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14756 PyObject
*resultobj
;
14757 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14758 wxConfigBase
*result
;
14759 PyObject
* obj0
= 0 ;
14760 char *kwnames
[] = {
14761 (char *) "config", NULL
14764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) goto fail
;
14765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14769 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
14771 wxPyEndAllowThreads(__tstate
);
14772 if (PyErr_Occurred()) SWIG_fail
;
14774 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
14781 static PyObject
*_wrap_ConfigBase_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14782 PyObject
*resultobj
;
14783 bool arg1
= (bool) True
;
14784 wxConfigBase
*result
;
14785 PyObject
* obj0
= 0 ;
14786 char *kwnames
[] = {
14787 (char *) "createOnDemand", NULL
14790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) goto fail
;
14792 arg1
= (bool) SWIG_AsBool(obj0
);
14793 if (PyErr_Occurred()) SWIG_fail
;
14796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14797 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
14799 wxPyEndAllowThreads(__tstate
);
14800 if (PyErr_Occurred()) SWIG_fail
;
14802 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
14809 static PyObject
*_wrap_ConfigBase_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14810 PyObject
*resultobj
;
14811 wxConfigBase
*result
;
14812 char *kwnames
[] = {
14816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_Create",kwnames
)) goto fail
;
14818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14819 result
= (wxConfigBase
*)wxConfigBase::Create();
14821 wxPyEndAllowThreads(__tstate
);
14822 if (PyErr_Occurred()) SWIG_fail
;
14824 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
14831 static PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14832 PyObject
*resultobj
;
14833 char *kwnames
[] = {
14837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_DontCreateOnDemand",kwnames
)) goto fail
;
14839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14840 wxConfigBase::DontCreateOnDemand();
14842 wxPyEndAllowThreads(__tstate
);
14843 if (PyErr_Occurred()) SWIG_fail
;
14845 Py_INCREF(Py_None
); resultobj
= Py_None
;
14852 static PyObject
*_wrap_ConfigBase_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14853 PyObject
*resultobj
;
14854 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14855 wxString
*arg2
= 0 ;
14856 bool temp2
= False
;
14857 PyObject
* obj0
= 0 ;
14858 PyObject
* obj1
= 0 ;
14859 char *kwnames
[] = {
14860 (char *) "self",(char *) "path", NULL
14863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
14864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14867 arg2
= wxString_in_helper(obj1
);
14868 if (arg2
== NULL
) SWIG_fail
;
14872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14873 (arg1
)->SetPath((wxString
const &)*arg2
);
14875 wxPyEndAllowThreads(__tstate
);
14876 if (PyErr_Occurred()) SWIG_fail
;
14878 Py_INCREF(Py_None
); resultobj
= Py_None
;
14893 static PyObject
*_wrap_ConfigBase_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14894 PyObject
*resultobj
;
14895 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14897 PyObject
* obj0
= 0 ;
14898 char *kwnames
[] = {
14899 (char *) "self", NULL
14902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetPath",kwnames
,&obj0
)) goto fail
;
14903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14908 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
14909 result
= (wxString
*) &_result_ref
;
14912 wxPyEndAllowThreads(__tstate
);
14913 if (PyErr_Occurred()) SWIG_fail
;
14917 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14919 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14928 static PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14929 PyObject
*resultobj
;
14930 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14932 PyObject
* obj0
= 0 ;
14933 char *kwnames
[] = {
14934 (char *) "self", NULL
14937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstGroup",kwnames
,&obj0
)) goto fail
;
14938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14942 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
14944 wxPyEndAllowThreads(__tstate
);
14945 if (PyErr_Occurred()) SWIG_fail
;
14947 resultobj
= result
;
14954 static PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14955 PyObject
*resultobj
;
14956 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14959 PyObject
* obj0
= 0 ;
14960 PyObject
* obj1
= 0 ;
14961 char *kwnames
[] = {
14962 (char *) "self",(char *) "index", NULL
14965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
14966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14968 arg2
= (long) SWIG_AsLong(obj1
);
14969 if (PyErr_Occurred()) SWIG_fail
;
14971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14972 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
14974 wxPyEndAllowThreads(__tstate
);
14975 if (PyErr_Occurred()) SWIG_fail
;
14977 resultobj
= result
;
14984 static PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14985 PyObject
*resultobj
;
14986 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14988 PyObject
* obj0
= 0 ;
14989 char *kwnames
[] = {
14990 (char *) "self", NULL
14993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstEntry",kwnames
,&obj0
)) goto fail
;
14994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14998 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
15000 wxPyEndAllowThreads(__tstate
);
15001 if (PyErr_Occurred()) SWIG_fail
;
15003 resultobj
= result
;
15010 static PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15011 PyObject
*resultobj
;
15012 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15015 PyObject
* obj0
= 0 ;
15016 PyObject
* obj1
= 0 ;
15017 char *kwnames
[] = {
15018 (char *) "self",(char *) "index", NULL
15021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
15022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15024 arg2
= (long) SWIG_AsLong(obj1
);
15025 if (PyErr_Occurred()) SWIG_fail
;
15027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15028 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
15030 wxPyEndAllowThreads(__tstate
);
15031 if (PyErr_Occurred()) SWIG_fail
;
15033 resultobj
= result
;
15040 static PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15041 PyObject
*resultobj
;
15042 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15043 bool arg2
= (bool) False
;
15045 PyObject
* obj0
= 0 ;
15046 PyObject
* obj1
= 0 ;
15047 char *kwnames
[] = {
15048 (char *) "self",(char *) "recursive", NULL
15051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) goto fail
;
15052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15055 arg2
= (bool) SWIG_AsBool(obj1
);
15056 if (PyErr_Occurred()) SWIG_fail
;
15059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15060 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
15062 wxPyEndAllowThreads(__tstate
);
15063 if (PyErr_Occurred()) SWIG_fail
;
15065 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
15072 static PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15073 PyObject
*resultobj
;
15074 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15075 bool arg2
= (bool) False
;
15077 PyObject
* obj0
= 0 ;
15078 PyObject
* obj1
= 0 ;
15079 char *kwnames
[] = {
15080 (char *) "self",(char *) "recursive", NULL
15083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) goto fail
;
15084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15087 arg2
= (bool) SWIG_AsBool(obj1
);
15088 if (PyErr_Occurred()) SWIG_fail
;
15091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15092 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
15094 wxPyEndAllowThreads(__tstate
);
15095 if (PyErr_Occurred()) SWIG_fail
;
15097 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
15104 static PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15105 PyObject
*resultobj
;
15106 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15107 wxString
*arg2
= 0 ;
15109 bool temp2
= False
;
15110 PyObject
* obj0
= 0 ;
15111 PyObject
* obj1
= 0 ;
15112 char *kwnames
[] = {
15113 (char *) "self",(char *) "name", NULL
15116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
15117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15120 arg2
= wxString_in_helper(obj1
);
15121 if (arg2
== NULL
) SWIG_fail
;
15125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15126 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
15128 wxPyEndAllowThreads(__tstate
);
15129 if (PyErr_Occurred()) SWIG_fail
;
15132 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15148 static PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15149 PyObject
*resultobj
;
15150 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15151 wxString
*arg2
= 0 ;
15153 bool temp2
= False
;
15154 PyObject
* obj0
= 0 ;
15155 PyObject
* obj1
= 0 ;
15156 char *kwnames
[] = {
15157 (char *) "self",(char *) "name", NULL
15160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
15161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15164 arg2
= wxString_in_helper(obj1
);
15165 if (arg2
== NULL
) SWIG_fail
;
15169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15170 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
15172 wxPyEndAllowThreads(__tstate
);
15173 if (PyErr_Occurred()) SWIG_fail
;
15176 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15192 static PyObject
*_wrap_ConfigBase_Exists(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15193 PyObject
*resultobj
;
15194 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15195 wxString
*arg2
= 0 ;
15197 bool temp2
= False
;
15198 PyObject
* obj0
= 0 ;
15199 PyObject
* obj1
= 0 ;
15200 char *kwnames
[] = {
15201 (char *) "self",(char *) "name", NULL
15204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) goto fail
;
15205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15208 arg2
= wxString_in_helper(obj1
);
15209 if (arg2
== NULL
) SWIG_fail
;
15213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15214 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
15216 wxPyEndAllowThreads(__tstate
);
15217 if (PyErr_Occurred()) SWIG_fail
;
15220 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15236 static PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15237 PyObject
*resultobj
;
15238 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15239 wxString
*arg2
= 0 ;
15241 bool temp2
= False
;
15242 PyObject
* obj0
= 0 ;
15243 PyObject
* obj1
= 0 ;
15244 char *kwnames
[] = {
15245 (char *) "self",(char *) "name", NULL
15248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) goto fail
;
15249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15252 arg2
= wxString_in_helper(obj1
);
15253 if (arg2
== NULL
) SWIG_fail
;
15257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15258 result
= (int)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
15260 wxPyEndAllowThreads(__tstate
);
15261 if (PyErr_Occurred()) SWIG_fail
;
15263 resultobj
= SWIG_FromInt((int)result
);
15278 static PyObject
*_wrap_ConfigBase_Read(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15279 PyObject
*resultobj
;
15280 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15281 wxString
*arg2
= 0 ;
15282 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15283 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15285 bool temp2
= False
;
15286 bool temp3
= False
;
15287 PyObject
* obj0
= 0 ;
15288 PyObject
* obj1
= 0 ;
15289 PyObject
* obj2
= 0 ;
15290 char *kwnames
[] = {
15291 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15298 arg2
= wxString_in_helper(obj1
);
15299 if (arg2
== NULL
) SWIG_fail
;
15304 arg3
= wxString_in_helper(obj2
);
15305 if (arg3
== NULL
) SWIG_fail
;
15310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15311 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15313 wxPyEndAllowThreads(__tstate
);
15314 if (PyErr_Occurred()) SWIG_fail
;
15318 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15320 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15345 static PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15346 PyObject
*resultobj
;
15347 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15348 wxString
*arg2
= 0 ;
15349 long arg3
= (long) 0 ;
15351 bool temp2
= False
;
15352 PyObject
* obj0
= 0 ;
15353 PyObject
* obj1
= 0 ;
15354 PyObject
* obj2
= 0 ;
15355 char *kwnames
[] = {
15356 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15363 arg2
= wxString_in_helper(obj1
);
15364 if (arg2
== NULL
) SWIG_fail
;
15368 arg3
= (long) SWIG_AsLong(obj2
);
15369 if (PyErr_Occurred()) SWIG_fail
;
15372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15373 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
15375 wxPyEndAllowThreads(__tstate
);
15376 if (PyErr_Occurred()) SWIG_fail
;
15378 resultobj
= SWIG_FromLong((long)result
);
15393 static PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15394 PyObject
*resultobj
;
15395 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15396 wxString
*arg2
= 0 ;
15397 double arg3
= (double) 0.0 ;
15399 bool temp2
= False
;
15400 PyObject
* obj0
= 0 ;
15401 PyObject
* obj1
= 0 ;
15402 PyObject
* obj2
= 0 ;
15403 char *kwnames
[] = {
15404 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15411 arg2
= wxString_in_helper(obj1
);
15412 if (arg2
== NULL
) SWIG_fail
;
15416 arg3
= (double) SWIG_AsDouble(obj2
);
15417 if (PyErr_Occurred()) SWIG_fail
;
15420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15421 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
15423 wxPyEndAllowThreads(__tstate
);
15424 if (PyErr_Occurred()) SWIG_fail
;
15426 resultobj
= SWIG_FromDouble((double)result
);
15441 static PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15442 PyObject
*resultobj
;
15443 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15444 wxString
*arg2
= 0 ;
15445 bool arg3
= (bool) False
;
15447 bool temp2
= False
;
15448 PyObject
* obj0
= 0 ;
15449 PyObject
* obj1
= 0 ;
15450 PyObject
* obj2
= 0 ;
15451 char *kwnames
[] = {
15452 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15459 arg2
= wxString_in_helper(obj1
);
15460 if (arg2
== NULL
) SWIG_fail
;
15464 arg3
= (bool) SWIG_AsBool(obj2
);
15465 if (PyErr_Occurred()) SWIG_fail
;
15468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15469 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
15471 wxPyEndAllowThreads(__tstate
);
15472 if (PyErr_Occurred()) SWIG_fail
;
15475 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15491 static PyObject
*_wrap_ConfigBase_Write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15492 PyObject
*resultobj
;
15493 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15494 wxString
*arg2
= 0 ;
15495 wxString
*arg3
= 0 ;
15497 bool temp2
= False
;
15498 bool temp3
= False
;
15499 PyObject
* obj0
= 0 ;
15500 PyObject
* obj1
= 0 ;
15501 PyObject
* obj2
= 0 ;
15502 char *kwnames
[] = {
15503 (char *) "self",(char *) "key",(char *) "value", NULL
15506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15510 arg2
= wxString_in_helper(obj1
);
15511 if (arg2
== NULL
) SWIG_fail
;
15515 arg3
= wxString_in_helper(obj2
);
15516 if (arg3
== NULL
) SWIG_fail
;
15520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15521 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15523 wxPyEndAllowThreads(__tstate
);
15524 if (PyErr_Occurred()) SWIG_fail
;
15527 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15551 static PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15552 PyObject
*resultobj
;
15553 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15554 wxString
*arg2
= 0 ;
15557 bool temp2
= False
;
15558 PyObject
* obj0
= 0 ;
15559 PyObject
* obj1
= 0 ;
15560 PyObject
* obj2
= 0 ;
15561 char *kwnames
[] = {
15562 (char *) "self",(char *) "key",(char *) "value", NULL
15565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15569 arg2
= wxString_in_helper(obj1
);
15570 if (arg2
== NULL
) SWIG_fail
;
15573 arg3
= (long) SWIG_AsLong(obj2
);
15574 if (PyErr_Occurred()) SWIG_fail
;
15576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15577 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15579 wxPyEndAllowThreads(__tstate
);
15580 if (PyErr_Occurred()) SWIG_fail
;
15583 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15599 static PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15600 PyObject
*resultobj
;
15601 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15602 wxString
*arg2
= 0 ;
15605 bool temp2
= False
;
15606 PyObject
* obj0
= 0 ;
15607 PyObject
* obj1
= 0 ;
15608 PyObject
* obj2
= 0 ;
15609 char *kwnames
[] = {
15610 (char *) "self",(char *) "key",(char *) "value", NULL
15613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15617 arg2
= wxString_in_helper(obj1
);
15618 if (arg2
== NULL
) SWIG_fail
;
15621 arg3
= (double) SWIG_AsDouble(obj2
);
15622 if (PyErr_Occurred()) SWIG_fail
;
15624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15625 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15627 wxPyEndAllowThreads(__tstate
);
15628 if (PyErr_Occurred()) SWIG_fail
;
15631 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15647 static PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15648 PyObject
*resultobj
;
15649 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15650 wxString
*arg2
= 0 ;
15653 bool temp2
= False
;
15654 PyObject
* obj0
= 0 ;
15655 PyObject
* obj1
= 0 ;
15656 PyObject
* obj2
= 0 ;
15657 char *kwnames
[] = {
15658 (char *) "self",(char *) "key",(char *) "value", NULL
15661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15665 arg2
= wxString_in_helper(obj1
);
15666 if (arg2
== NULL
) SWIG_fail
;
15669 arg3
= (bool) SWIG_AsBool(obj2
);
15670 if (PyErr_Occurred()) SWIG_fail
;
15672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15673 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15675 wxPyEndAllowThreads(__tstate
);
15676 if (PyErr_Occurred()) SWIG_fail
;
15679 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15695 static PyObject
*_wrap_ConfigBase_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15696 PyObject
*resultobj
;
15697 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15698 bool arg2
= (bool) False
;
15700 PyObject
* obj0
= 0 ;
15701 PyObject
* obj1
= 0 ;
15702 char *kwnames
[] = {
15703 (char *) "self",(char *) "currentOnly", NULL
15706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) goto fail
;
15707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15710 arg2
= (bool) SWIG_AsBool(obj1
);
15711 if (PyErr_Occurred()) SWIG_fail
;
15714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15715 result
= (bool)(arg1
)->Flush(arg2
);
15717 wxPyEndAllowThreads(__tstate
);
15718 if (PyErr_Occurred()) SWIG_fail
;
15721 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15729 static PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15730 PyObject
*resultobj
;
15731 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15732 wxString
*arg2
= 0 ;
15733 wxString
*arg3
= 0 ;
15735 bool temp2
= False
;
15736 bool temp3
= False
;
15737 PyObject
* obj0
= 0 ;
15738 PyObject
* obj1
= 0 ;
15739 PyObject
* obj2
= 0 ;
15740 char *kwnames
[] = {
15741 (char *) "self",(char *) "oldName",(char *) "newName", NULL
15744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15748 arg2
= wxString_in_helper(obj1
);
15749 if (arg2
== NULL
) SWIG_fail
;
15753 arg3
= wxString_in_helper(obj2
);
15754 if (arg3
== NULL
) SWIG_fail
;
15758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15759 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15761 wxPyEndAllowThreads(__tstate
);
15762 if (PyErr_Occurred()) SWIG_fail
;
15765 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15789 static PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15790 PyObject
*resultobj
;
15791 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15792 wxString
*arg2
= 0 ;
15793 wxString
*arg3
= 0 ;
15795 bool temp2
= False
;
15796 bool temp3
= False
;
15797 PyObject
* obj0
= 0 ;
15798 PyObject
* obj1
= 0 ;
15799 PyObject
* obj2
= 0 ;
15800 char *kwnames
[] = {
15801 (char *) "self",(char *) "oldName",(char *) "newName", NULL
15804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15808 arg2
= wxString_in_helper(obj1
);
15809 if (arg2
== NULL
) SWIG_fail
;
15813 arg3
= wxString_in_helper(obj2
);
15814 if (arg3
== NULL
) SWIG_fail
;
15818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15819 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15821 wxPyEndAllowThreads(__tstate
);
15822 if (PyErr_Occurred()) SWIG_fail
;
15825 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15849 static PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15850 PyObject
*resultobj
;
15851 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15852 wxString
*arg2
= 0 ;
15853 bool arg3
= (bool) True
;
15855 bool temp2
= False
;
15856 PyObject
* obj0
= 0 ;
15857 PyObject
* obj1
= 0 ;
15858 PyObject
* obj2
= 0 ;
15859 char *kwnames
[] = {
15860 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
15863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15867 arg2
= wxString_in_helper(obj1
);
15868 if (arg2
== NULL
) SWIG_fail
;
15872 arg3
= (bool) SWIG_AsBool(obj2
);
15873 if (PyErr_Occurred()) SWIG_fail
;
15876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15877 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
15879 wxPyEndAllowThreads(__tstate
);
15880 if (PyErr_Occurred()) SWIG_fail
;
15883 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15899 static PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15900 PyObject
*resultobj
;
15901 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15902 wxString
*arg2
= 0 ;
15904 bool temp2
= False
;
15905 PyObject
* obj0
= 0 ;
15906 PyObject
* obj1
= 0 ;
15907 char *kwnames
[] = {
15908 (char *) "self",(char *) "key", NULL
15911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
15912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15915 arg2
= wxString_in_helper(obj1
);
15916 if (arg2
== NULL
) SWIG_fail
;
15920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15921 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
15923 wxPyEndAllowThreads(__tstate
);
15924 if (PyErr_Occurred()) SWIG_fail
;
15927 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15943 static PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15944 PyObject
*resultobj
;
15945 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15947 PyObject
* obj0
= 0 ;
15948 char *kwnames
[] = {
15949 (char *) "self", NULL
15952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_DeleteAll",kwnames
,&obj0
)) goto fail
;
15953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15957 result
= (bool)(arg1
)->DeleteAll();
15959 wxPyEndAllowThreads(__tstate
);
15960 if (PyErr_Occurred()) SWIG_fail
;
15963 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15971 static PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15972 PyObject
*resultobj
;
15973 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15974 bool arg2
= (bool) True
;
15975 PyObject
* obj0
= 0 ;
15976 PyObject
* obj1
= 0 ;
15977 char *kwnames
[] = {
15978 (char *) "self",(char *) "doIt", NULL
15981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
15982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15985 arg2
= (bool) SWIG_AsBool(obj1
);
15986 if (PyErr_Occurred()) SWIG_fail
;
15989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15990 (arg1
)->SetExpandEnvVars(arg2
);
15992 wxPyEndAllowThreads(__tstate
);
15993 if (PyErr_Occurred()) SWIG_fail
;
15995 Py_INCREF(Py_None
); resultobj
= Py_None
;
16002 static PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16003 PyObject
*resultobj
;
16004 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16006 PyObject
* obj0
= 0 ;
16007 char *kwnames
[] = {
16008 (char *) "self", NULL
16011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames
,&obj0
)) goto fail
;
16012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16016 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
16018 wxPyEndAllowThreads(__tstate
);
16019 if (PyErr_Occurred()) SWIG_fail
;
16022 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16030 static PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16031 PyObject
*resultobj
;
16032 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16033 bool arg2
= (bool) True
;
16034 PyObject
* obj0
= 0 ;
16035 PyObject
* obj1
= 0 ;
16036 char *kwnames
[] = {
16037 (char *) "self",(char *) "doIt", NULL
16040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
16041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16044 arg2
= (bool) SWIG_AsBool(obj1
);
16045 if (PyErr_Occurred()) SWIG_fail
;
16048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16049 (arg1
)->SetRecordDefaults(arg2
);
16051 wxPyEndAllowThreads(__tstate
);
16052 if (PyErr_Occurred()) SWIG_fail
;
16054 Py_INCREF(Py_None
); resultobj
= Py_None
;
16061 static PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16062 PyObject
*resultobj
;
16063 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16065 PyObject
* obj0
= 0 ;
16066 char *kwnames
[] = {
16067 (char *) "self", NULL
16070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames
,&obj0
)) goto fail
;
16071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16075 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
16077 wxPyEndAllowThreads(__tstate
);
16078 if (PyErr_Occurred()) SWIG_fail
;
16081 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16089 static PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16090 PyObject
*resultobj
;
16091 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16092 wxString
*arg2
= 0 ;
16094 bool temp2
= False
;
16095 PyObject
* obj0
= 0 ;
16096 PyObject
* obj1
= 0 ;
16097 char *kwnames
[] = {
16098 (char *) "self",(char *) "str", NULL
16101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
16102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16105 arg2
= wxString_in_helper(obj1
);
16106 if (arg2
== NULL
) SWIG_fail
;
16110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16111 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
16113 wxPyEndAllowThreads(__tstate
);
16114 if (PyErr_Occurred()) SWIG_fail
;
16118 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16120 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16137 static PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16138 PyObject
*resultobj
;
16139 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16141 PyObject
* obj0
= 0 ;
16142 char *kwnames
[] = {
16143 (char *) "self", NULL
16146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetAppName",kwnames
,&obj0
)) goto fail
;
16147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16151 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
16153 wxPyEndAllowThreads(__tstate
);
16154 if (PyErr_Occurred()) SWIG_fail
;
16158 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16160 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16169 static PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16170 PyObject
*resultobj
;
16171 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16173 PyObject
* obj0
= 0 ;
16174 char *kwnames
[] = {
16175 (char *) "self", NULL
16178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetVendorName",kwnames
,&obj0
)) goto fail
;
16179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16183 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
16185 wxPyEndAllowThreads(__tstate
);
16186 if (PyErr_Occurred()) SWIG_fail
;
16190 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16192 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16201 static PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16202 PyObject
*resultobj
;
16203 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16204 wxString
*arg2
= 0 ;
16205 bool temp2
= False
;
16206 PyObject
* obj0
= 0 ;
16207 PyObject
* obj1
= 0 ;
16208 char *kwnames
[] = {
16209 (char *) "self",(char *) "appName", NULL
16212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
16213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16216 arg2
= wxString_in_helper(obj1
);
16217 if (arg2
== NULL
) SWIG_fail
;
16221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16222 (arg1
)->SetAppName((wxString
const &)*arg2
);
16224 wxPyEndAllowThreads(__tstate
);
16225 if (PyErr_Occurred()) SWIG_fail
;
16227 Py_INCREF(Py_None
); resultobj
= Py_None
;
16242 static PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16243 PyObject
*resultobj
;
16244 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16245 wxString
*arg2
= 0 ;
16246 bool temp2
= False
;
16247 PyObject
* obj0
= 0 ;
16248 PyObject
* obj1
= 0 ;
16249 char *kwnames
[] = {
16250 (char *) "self",(char *) "vendorName", NULL
16253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
16254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16257 arg2
= wxString_in_helper(obj1
);
16258 if (arg2
== NULL
) SWIG_fail
;
16262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16263 (arg1
)->SetVendorName((wxString
const &)*arg2
);
16265 wxPyEndAllowThreads(__tstate
);
16266 if (PyErr_Occurred()) SWIG_fail
;
16268 Py_INCREF(Py_None
); resultobj
= Py_None
;
16283 static PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16284 PyObject
*resultobj
;
16285 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16287 PyObject
* obj0
= 0 ;
16288 PyObject
* obj1
= 0 ;
16289 char *kwnames
[] = {
16290 (char *) "self",(char *) "style", NULL
16293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
16294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16296 arg2
= (long) SWIG_AsLong(obj1
);
16297 if (PyErr_Occurred()) SWIG_fail
;
16299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16300 (arg1
)->SetStyle(arg2
);
16302 wxPyEndAllowThreads(__tstate
);
16303 if (PyErr_Occurred()) SWIG_fail
;
16305 Py_INCREF(Py_None
); resultobj
= Py_None
;
16312 static PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16313 PyObject
*resultobj
;
16314 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16316 PyObject
* obj0
= 0 ;
16317 char *kwnames
[] = {
16318 (char *) "self", NULL
16321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetStyle",kwnames
,&obj0
)) goto fail
;
16322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16326 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
16328 wxPyEndAllowThreads(__tstate
);
16329 if (PyErr_Occurred()) SWIG_fail
;
16331 resultobj
= SWIG_FromLong((long)result
);
16338 static PyObject
* ConfigBase_swigregister(PyObject
*self
, PyObject
*args
) {
16340 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16341 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase
, obj
);
16343 return Py_BuildValue((char *)"");
16345 static PyObject
*_wrap_new_Config(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16346 PyObject
*resultobj
;
16347 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16348 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16349 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16350 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16351 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16352 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16353 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16354 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16355 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
16357 bool temp1
= False
;
16358 bool temp2
= False
;
16359 bool temp3
= False
;
16360 bool temp4
= False
;
16361 PyObject
* obj0
= 0 ;
16362 PyObject
* obj1
= 0 ;
16363 PyObject
* obj2
= 0 ;
16364 PyObject
* obj3
= 0 ;
16365 PyObject
* obj4
= 0 ;
16366 char *kwnames
[] = {
16367 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16373 arg1
= wxString_in_helper(obj0
);
16374 if (arg1
== NULL
) SWIG_fail
;
16380 arg2
= wxString_in_helper(obj1
);
16381 if (arg2
== NULL
) SWIG_fail
;
16387 arg3
= wxString_in_helper(obj2
);
16388 if (arg3
== NULL
) SWIG_fail
;
16394 arg4
= wxString_in_helper(obj3
);
16395 if (arg4
== NULL
) SWIG_fail
;
16400 arg5
= (long) SWIG_AsLong(obj4
);
16401 if (PyErr_Occurred()) SWIG_fail
;
16404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16405 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
16407 wxPyEndAllowThreads(__tstate
);
16408 if (PyErr_Occurred()) SWIG_fail
;
16410 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfig
, 1);
16449 static PyObject
*_wrap_delete_Config(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16450 PyObject
*resultobj
;
16451 wxConfig
*arg1
= (wxConfig
*) 0 ;
16452 PyObject
* obj0
= 0 ;
16453 char *kwnames
[] = {
16454 (char *) "self", NULL
16457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Config",kwnames
,&obj0
)) goto fail
;
16458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfig
,
16459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16464 wxPyEndAllowThreads(__tstate
);
16465 if (PyErr_Occurred()) SWIG_fail
;
16467 Py_INCREF(Py_None
); resultobj
= Py_None
;
16474 static PyObject
* Config_swigregister(PyObject
*self
, PyObject
*args
) {
16476 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16477 SWIG_TypeClientData(SWIGTYPE_p_wxConfig
, obj
);
16479 return Py_BuildValue((char *)"");
16481 static PyObject
*_wrap_new_FileConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16482 PyObject
*resultobj
;
16483 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16484 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16485 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16486 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16487 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16488 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16489 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16490 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16491 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
16492 wxFileConfig
*result
;
16493 bool temp1
= False
;
16494 bool temp2
= False
;
16495 bool temp3
= False
;
16496 bool temp4
= False
;
16497 PyObject
* obj0
= 0 ;
16498 PyObject
* obj1
= 0 ;
16499 PyObject
* obj2
= 0 ;
16500 PyObject
* obj3
= 0 ;
16501 PyObject
* obj4
= 0 ;
16502 char *kwnames
[] = {
16503 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16509 arg1
= wxString_in_helper(obj0
);
16510 if (arg1
== NULL
) SWIG_fail
;
16516 arg2
= wxString_in_helper(obj1
);
16517 if (arg2
== NULL
) SWIG_fail
;
16523 arg3
= wxString_in_helper(obj2
);
16524 if (arg3
== NULL
) SWIG_fail
;
16530 arg4
= wxString_in_helper(obj3
);
16531 if (arg4
== NULL
) SWIG_fail
;
16536 arg5
= (long) SWIG_AsLong(obj4
);
16537 if (PyErr_Occurred()) SWIG_fail
;
16540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16541 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
16543 wxPyEndAllowThreads(__tstate
);
16544 if (PyErr_Occurred()) SWIG_fail
;
16546 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileConfig
, 1);
16585 static PyObject
*_wrap_delete_FileConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16586 PyObject
*resultobj
;
16587 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
16588 PyObject
* obj0
= 0 ;
16589 char *kwnames
[] = {
16590 (char *) "self", NULL
16593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileConfig",kwnames
,&obj0
)) goto fail
;
16594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileConfig
,
16595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16600 wxPyEndAllowThreads(__tstate
);
16601 if (PyErr_Occurred()) SWIG_fail
;
16603 Py_INCREF(Py_None
); resultobj
= Py_None
;
16610 static PyObject
* FileConfig_swigregister(PyObject
*self
, PyObject
*args
) {
16612 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16613 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig
, obj
);
16615 return Py_BuildValue((char *)"");
16617 static PyObject
*_wrap_new_ConfigPathChanger(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16618 PyObject
*resultobj
;
16619 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16620 wxString
*arg2
= 0 ;
16621 wxConfigPathChanger
*result
;
16622 bool temp2
= False
;
16623 PyObject
* obj0
= 0 ;
16624 PyObject
* obj1
= 0 ;
16625 char *kwnames
[] = {
16626 (char *) "config",(char *) "entry", NULL
16629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) goto fail
;
16630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16633 arg2
= wxString_in_helper(obj1
);
16634 if (arg2
== NULL
) SWIG_fail
;
16638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16639 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
16641 wxPyEndAllowThreads(__tstate
);
16642 if (PyErr_Occurred()) SWIG_fail
;
16644 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigPathChanger
, 1);
16659 static PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16660 PyObject
*resultobj
;
16661 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
16662 PyObject
* obj0
= 0 ;
16663 char *kwnames
[] = {
16664 (char *) "self", NULL
16667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigPathChanger",kwnames
,&obj0
)) goto fail
;
16668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigPathChanger
,
16669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16674 wxPyEndAllowThreads(__tstate
);
16675 if (PyErr_Occurred()) SWIG_fail
;
16677 Py_INCREF(Py_None
); resultobj
= Py_None
;
16684 static PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16685 PyObject
*resultobj
;
16686 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
16688 PyObject
* obj0
= 0 ;
16689 char *kwnames
[] = {
16690 (char *) "self", NULL
16693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigPathChanger_Name",kwnames
,&obj0
)) goto fail
;
16694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigPathChanger
,
16695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16699 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
16700 result
= (wxString
*) &_result_ref
;
16703 wxPyEndAllowThreads(__tstate
);
16704 if (PyErr_Occurred()) SWIG_fail
;
16708 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16710 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16719 static PyObject
* ConfigPathChanger_swigregister(PyObject
*self
, PyObject
*args
) {
16721 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16722 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger
, obj
);
16724 return Py_BuildValue((char *)"");
16726 static PyObject
*_wrap_ExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16727 PyObject
*resultobj
;
16728 wxString
*arg1
= 0 ;
16730 bool temp1
= False
;
16731 PyObject
* obj0
= 0 ;
16732 char *kwnames
[] = {
16733 (char *) "sz", NULL
16736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) goto fail
;
16738 arg1
= wxString_in_helper(obj0
);
16739 if (arg1
== NULL
) SWIG_fail
;
16743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16744 result
= wxExpandEnvVars((wxString
const &)*arg1
);
16746 wxPyEndAllowThreads(__tstate
);
16747 if (PyErr_Occurred()) SWIG_fail
;
16751 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16753 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16770 static int _wrap_DateFormatStr_set(PyObject
*_val
) {
16771 PyErr_SetString(PyExc_TypeError
,"Variable DateFormatStr is read-only.");
16776 static PyObject
*_wrap_DateFormatStr_get() {
16781 pyobj
= PyUnicode_FromWideChar((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
16783 pyobj
= PyString_FromStringAndSize((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
16790 static int _wrap_TimeSpanFormatStr_set(PyObject
*_val
) {
16791 PyErr_SetString(PyExc_TypeError
,"Variable TimeSpanFormatStr is read-only.");
16796 static PyObject
*_wrap_TimeSpanFormatStr_get() {
16801 pyobj
= PyUnicode_FromWideChar((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
16803 pyobj
= PyString_FromStringAndSize((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
16810 static PyObject
*_wrap_DateTime_SetCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16811 PyObject
*resultobj
;
16813 PyObject
* obj0
= 0 ;
16814 char *kwnames
[] = {
16815 (char *) "country", NULL
16818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) goto fail
;
16819 arg1
= (wxDateTime::Country
) SWIG_AsInt(obj0
);
16820 if (PyErr_Occurred()) SWIG_fail
;
16822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16823 wxDateTime::SetCountry((wxDateTime::Country
)arg1
);
16825 wxPyEndAllowThreads(__tstate
);
16826 if (PyErr_Occurred()) SWIG_fail
;
16828 Py_INCREF(Py_None
); resultobj
= Py_None
;
16835 static PyObject
*_wrap_DateTime_GetCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16836 PyObject
*resultobj
;
16838 char *kwnames
[] = {
16842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetCountry",kwnames
)) goto fail
;
16844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16845 result
= (int)wxDateTime::GetCountry();
16847 wxPyEndAllowThreads(__tstate
);
16848 if (PyErr_Occurred()) SWIG_fail
;
16850 resultobj
= SWIG_FromInt((int)result
);
16857 static PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16858 PyObject
*resultobj
;
16859 int arg1
= (int) wxDateTime::Country_Default
;
16861 PyObject
* obj0
= 0 ;
16862 char *kwnames
[] = {
16863 (char *) "country", NULL
16866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) goto fail
;
16868 arg1
= (wxDateTime::Country
) SWIG_AsInt(obj0
);
16869 if (PyErr_Occurred()) SWIG_fail
;
16872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16873 result
= (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country
)arg1
);
16875 wxPyEndAllowThreads(__tstate
);
16876 if (PyErr_Occurred()) SWIG_fail
;
16879 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16887 static PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16888 PyObject
*resultobj
;
16889 int arg1
= (int) wxDateTime::Gregorian
;
16891 PyObject
* obj0
= 0 ;
16892 char *kwnames
[] = {
16893 (char *) "cal", NULL
16896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) goto fail
;
16898 arg1
= (wxDateTime::Calendar
) SWIG_AsInt(obj0
);
16899 if (PyErr_Occurred()) SWIG_fail
;
16902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16903 result
= (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar
)arg1
);
16905 wxPyEndAllowThreads(__tstate
);
16906 if (PyErr_Occurred()) SWIG_fail
;
16908 resultobj
= SWIG_FromInt((int)result
);
16915 static PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16916 PyObject
*resultobj
;
16919 PyObject
* obj0
= 0 ;
16920 char *kwnames
[] = {
16921 (char *) "year", NULL
16924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) goto fail
;
16925 arg1
= (int) SWIG_AsInt(obj0
);
16926 if (PyErr_Occurred()) SWIG_fail
;
16928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16929 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
16931 wxPyEndAllowThreads(__tstate
);
16932 if (PyErr_Occurred()) SWIG_fail
;
16934 resultobj
= SWIG_FromInt((int)result
);
16941 static PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16942 PyObject
*resultobj
;
16943 int arg1
= (int) wxDateTime::Gregorian
;
16945 PyObject
* obj0
= 0 ;
16946 char *kwnames
[] = {
16947 (char *) "cal", NULL
16950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",kwnames
,&obj0
)) goto fail
;
16952 arg1
= (wxDateTime::Calendar
) SWIG_AsInt(obj0
);
16953 if (PyErr_Occurred()) SWIG_fail
;
16956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16957 result
= (int)wxDateTime::GetCurrentMonth((wxDateTime::Calendar
)arg1
);
16959 wxPyEndAllowThreads(__tstate
);
16960 if (PyErr_Occurred()) SWIG_fail
;
16962 resultobj
= SWIG_FromInt((int)result
);
16969 static PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16970 PyObject
*resultobj
;
16971 int arg1
= (int) wxDateTime::Inv_Year
;
16972 int arg2
= (int) wxDateTime::Gregorian
;
16974 PyObject
* obj0
= 0 ;
16975 PyObject
* obj1
= 0 ;
16976 char *kwnames
[] = {
16977 (char *) "year",(char *) "cal", NULL
16980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) goto fail
;
16982 arg1
= (int) SWIG_AsInt(obj0
);
16983 if (PyErr_Occurred()) SWIG_fail
;
16986 arg2
= (wxDateTime::Calendar
) SWIG_AsInt(obj1
);
16987 if (PyErr_Occurred()) SWIG_fail
;
16990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16991 result
= (bool)wxDateTime::IsLeapYear(arg1
,(wxDateTime::Calendar
)arg2
);
16993 wxPyEndAllowThreads(__tstate
);
16994 if (PyErr_Occurred()) SWIG_fail
;
16997 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17005 static PyObject
*_wrap_DateTime_GetCentury(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17006 PyObject
*resultobj
;
17007 int arg1
= (int) wxDateTime::Inv_Year
;
17009 PyObject
* obj0
= 0 ;
17010 char *kwnames
[] = {
17011 (char *) "year", NULL
17014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) goto fail
;
17016 arg1
= (int) SWIG_AsInt(obj0
);
17017 if (PyErr_Occurred()) SWIG_fail
;
17020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17021 result
= (int)wxDateTime::GetCentury(arg1
);
17023 wxPyEndAllowThreads(__tstate
);
17024 if (PyErr_Occurred()) SWIG_fail
;
17026 resultobj
= SWIG_FromInt((int)result
);
17033 static PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17034 PyObject
*resultobj
;
17036 int arg2
= (int) wxDateTime::Gregorian
;
17038 PyObject
* obj0
= 0 ;
17039 PyObject
* obj1
= 0 ;
17040 char *kwnames
[] = {
17041 (char *) "year",(char *) "cal", NULL
17044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) goto fail
;
17045 arg1
= (int) SWIG_AsInt(obj0
);
17046 if (PyErr_Occurred()) SWIG_fail
;
17048 arg2
= (wxDateTime::Calendar
) SWIG_AsInt(obj1
);
17049 if (PyErr_Occurred()) SWIG_fail
;
17052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17053 result
= (int)wxDateTime::GetNumberOfDays(arg1
,(wxDateTime::Calendar
)arg2
);
17055 wxPyEndAllowThreads(__tstate
);
17056 if (PyErr_Occurred()) SWIG_fail
;
17058 resultobj
= SWIG_FromInt((int)result
);
17065 static PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17066 PyObject
*resultobj
;
17068 int arg2
= (int) wxDateTime::Inv_Year
;
17069 int arg3
= (int) wxDateTime::Gregorian
;
17071 PyObject
* obj0
= 0 ;
17072 PyObject
* obj1
= 0 ;
17073 PyObject
* obj2
= 0 ;
17074 char *kwnames
[] = {
17075 (char *) "month",(char *) "year",(char *) "cal", NULL
17078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17079 arg1
= (wxDateTime::Month
) SWIG_AsInt(obj0
);
17080 if (PyErr_Occurred()) SWIG_fail
;
17082 arg2
= (int) SWIG_AsInt(obj1
);
17083 if (PyErr_Occurred()) SWIG_fail
;
17086 arg3
= (wxDateTime::Calendar
) SWIG_AsInt(obj2
);
17087 if (PyErr_Occurred()) SWIG_fail
;
17090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17091 result
= (int)wxDateTime::GetNumberOfDays((wxDateTime::Month
)arg1
,arg2
,(wxDateTime::Calendar
)arg3
);
17093 wxPyEndAllowThreads(__tstate
);
17094 if (PyErr_Occurred()) SWIG_fail
;
17096 resultobj
= SWIG_FromInt((int)result
);
17103 static PyObject
*_wrap_DateTime_GetMonthName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17104 PyObject
*resultobj
;
17106 int arg2
= (int) wxDateTime::Name_Full
;
17108 PyObject
* obj0
= 0 ;
17109 PyObject
* obj1
= 0 ;
17110 char *kwnames
[] = {
17111 (char *) "month",(char *) "flags", NULL
17114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) goto fail
;
17115 arg1
= (wxDateTime::Month
) SWIG_AsInt(obj0
);
17116 if (PyErr_Occurred()) SWIG_fail
;
17118 arg2
= (wxDateTime::NameFlags
) SWIG_AsInt(obj1
);
17119 if (PyErr_Occurred()) SWIG_fail
;
17122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17123 result
= wxDateTime::GetMonthName((wxDateTime::Month
)arg1
,(wxDateTime::NameFlags
)arg2
);
17125 wxPyEndAllowThreads(__tstate
);
17126 if (PyErr_Occurred()) SWIG_fail
;
17130 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17132 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17141 static PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17142 PyObject
*resultobj
;
17144 int arg2
= (int) wxDateTime::Name_Full
;
17146 PyObject
* obj0
= 0 ;
17147 PyObject
* obj1
= 0 ;
17148 char *kwnames
[] = {
17149 (char *) "weekday",(char *) "flags", NULL
17152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) goto fail
;
17153 arg1
= (wxDateTime::WeekDay
) SWIG_AsInt(obj0
);
17154 if (PyErr_Occurred()) SWIG_fail
;
17156 arg2
= (wxDateTime::NameFlags
) SWIG_AsInt(obj1
);
17157 if (PyErr_Occurred()) SWIG_fail
;
17160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17161 result
= wxDateTime::GetWeekDayName((wxDateTime::WeekDay
)arg1
,(wxDateTime::NameFlags
)arg2
);
17163 wxPyEndAllowThreads(__tstate
);
17164 if (PyErr_Occurred()) SWIG_fail
;
17168 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17170 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17179 static PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17180 PyObject
*resultobj
;
17181 wxString
*arg1
= (wxString
*) 0 ;
17182 wxString
*arg2
= (wxString
*) 0 ;
17183 bool temp1
= False
;
17184 bool temp2
= False
;
17185 PyObject
* obj0
= 0 ;
17186 PyObject
* obj1
= 0 ;
17187 char *kwnames
[] = {
17188 (char *) "OUTPUT",(char *) "OUTPUT", NULL
17191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetAmPmStrings",kwnames
,&obj0
,&obj1
)) goto fail
;
17193 arg1
= wxString_in_helper(obj0
);
17194 if (arg1
== NULL
) SWIG_fail
;
17198 arg2
= wxString_in_helper(obj1
);
17199 if (arg2
== NULL
) SWIG_fail
;
17203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17204 wxDateTime::GetAmPmStrings(arg1
,arg2
);
17206 wxPyEndAllowThreads(__tstate
);
17207 if (PyErr_Occurred()) SWIG_fail
;
17209 Py_INCREF(Py_None
); resultobj
= Py_None
;
17232 static PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17233 PyObject
*resultobj
;
17234 int arg1
= (int) wxDateTime::Inv_Year
;
17235 int arg2
= (int) wxDateTime::Country_Default
;
17237 PyObject
* obj0
= 0 ;
17238 PyObject
* obj1
= 0 ;
17239 char *kwnames
[] = {
17240 (char *) "year",(char *) "country", NULL
17243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) goto fail
;
17245 arg1
= (int) SWIG_AsInt(obj0
);
17246 if (PyErr_Occurred()) SWIG_fail
;
17249 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
17250 if (PyErr_Occurred()) SWIG_fail
;
17253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17254 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,(wxDateTime::Country
)arg2
);
17256 wxPyEndAllowThreads(__tstate
);
17257 if (PyErr_Occurred()) SWIG_fail
;
17260 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17268 static PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17269 PyObject
*resultobj
;
17270 int arg1
= (int) wxDateTime::Inv_Year
;
17271 int arg2
= (int) wxDateTime::Country_Default
;
17273 PyObject
* obj0
= 0 ;
17274 PyObject
* obj1
= 0 ;
17275 char *kwnames
[] = {
17276 (char *) "year",(char *) "country", NULL
17279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetBeginDST",kwnames
,&obj0
,&obj1
)) goto fail
;
17281 arg1
= (int) SWIG_AsInt(obj0
);
17282 if (PyErr_Occurred()) SWIG_fail
;
17285 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
17286 if (PyErr_Occurred()) SWIG_fail
;
17289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17290 result
= wxDateTime::GetBeginDST(arg1
,(wxDateTime::Country
)arg2
);
17292 wxPyEndAllowThreads(__tstate
);
17293 if (PyErr_Occurred()) SWIG_fail
;
17296 wxDateTime
* resultptr
;
17297 resultptr
= new wxDateTime((wxDateTime
&) result
);
17298 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17306 static PyObject
*_wrap_DateTime_GetEndDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17307 PyObject
*resultobj
;
17308 int arg1
= (int) wxDateTime::Inv_Year
;
17309 int arg2
= (int) wxDateTime::Country_Default
;
17311 PyObject
* obj0
= 0 ;
17312 PyObject
* obj1
= 0 ;
17313 char *kwnames
[] = {
17314 (char *) "year",(char *) "country", NULL
17317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) goto fail
;
17319 arg1
= (int) SWIG_AsInt(obj0
);
17320 if (PyErr_Occurred()) SWIG_fail
;
17323 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
17324 if (PyErr_Occurred()) SWIG_fail
;
17327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17328 result
= wxDateTime::GetEndDST(arg1
,(wxDateTime::Country
)arg2
);
17330 wxPyEndAllowThreads(__tstate
);
17331 if (PyErr_Occurred()) SWIG_fail
;
17334 wxDateTime
* resultptr
;
17335 resultptr
= new wxDateTime((wxDateTime
&) result
);
17336 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17344 static PyObject
*_wrap_DateTime_Now(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17345 PyObject
*resultobj
;
17347 char *kwnames
[] = {
17351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Now",kwnames
)) goto fail
;
17353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17354 result
= wxDateTime::Now();
17356 wxPyEndAllowThreads(__tstate
);
17357 if (PyErr_Occurred()) SWIG_fail
;
17360 wxDateTime
* resultptr
;
17361 resultptr
= new wxDateTime((wxDateTime
&) result
);
17362 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17370 static PyObject
*_wrap_DateTime_UNow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17371 PyObject
*resultobj
;
17373 char *kwnames
[] = {
17377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_UNow",kwnames
)) goto fail
;
17379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17380 result
= wxDateTime::UNow();
17382 wxPyEndAllowThreads(__tstate
);
17383 if (PyErr_Occurred()) SWIG_fail
;
17386 wxDateTime
* resultptr
;
17387 resultptr
= new wxDateTime((wxDateTime
&) result
);
17388 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17396 static PyObject
*_wrap_DateTime_Today(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17397 PyObject
*resultobj
;
17399 char *kwnames
[] = {
17403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Today",kwnames
)) goto fail
;
17405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17406 result
= wxDateTime::Today();
17408 wxPyEndAllowThreads(__tstate
);
17409 if (PyErr_Occurred()) SWIG_fail
;
17412 wxDateTime
* resultptr
;
17413 resultptr
= new wxDateTime((wxDateTime
&) result
);
17414 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17422 static PyObject
*_wrap_new_DateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17423 PyObject
*resultobj
;
17424 wxDateTime
*result
;
17425 char *kwnames
[] = {
17429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DateTime",kwnames
)) goto fail
;
17431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17432 result
= (wxDateTime
*)new wxDateTime();
17434 wxPyEndAllowThreads(__tstate
);
17435 if (PyErr_Occurred()) SWIG_fail
;
17437 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17444 static PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17445 PyObject
*resultobj
;
17447 wxDateTime
*result
;
17448 PyObject
* obj0
= 0 ;
17449 char *kwnames
[] = {
17450 (char *) "timet", NULL
17453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) goto fail
;
17454 arg1
= (time_t) SWIG_AsUnsignedInt(obj0
);
17455 if (PyErr_Occurred()) SWIG_fail
;
17457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17458 result
= (wxDateTime
*)new wxDateTime(arg1
);
17460 wxPyEndAllowThreads(__tstate
);
17461 if (PyErr_Occurred()) SWIG_fail
;
17463 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17470 static PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17471 PyObject
*resultobj
;
17473 wxDateTime
*result
;
17474 PyObject
* obj0
= 0 ;
17475 char *kwnames
[] = {
17476 (char *) "jdn", NULL
17479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) goto fail
;
17480 arg1
= (double) SWIG_AsDouble(obj0
);
17481 if (PyErr_Occurred()) SWIG_fail
;
17483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17484 result
= (wxDateTime
*)new wxDateTime(arg1
);
17486 wxPyEndAllowThreads(__tstate
);
17487 if (PyErr_Occurred()) SWIG_fail
;
17489 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17496 static PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17497 PyObject
*resultobj
;
17499 int arg2
= (int) 0 ;
17500 int arg3
= (int) 0 ;
17501 int arg4
= (int) 0 ;
17502 wxDateTime
*result
;
17503 PyObject
* obj0
= 0 ;
17504 PyObject
* obj1
= 0 ;
17505 PyObject
* obj2
= 0 ;
17506 PyObject
* obj3
= 0 ;
17507 char *kwnames
[] = {
17508 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17512 arg1
= (int) SWIG_AsInt(obj0
);
17513 if (PyErr_Occurred()) SWIG_fail
;
17515 arg2
= (int) SWIG_AsInt(obj1
);
17516 if (PyErr_Occurred()) SWIG_fail
;
17519 arg3
= (int) SWIG_AsInt(obj2
);
17520 if (PyErr_Occurred()) SWIG_fail
;
17523 arg4
= (int) SWIG_AsInt(obj3
);
17524 if (PyErr_Occurred()) SWIG_fail
;
17527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17528 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
17530 wxPyEndAllowThreads(__tstate
);
17531 if (PyErr_Occurred()) SWIG_fail
;
17533 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17540 static PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17541 PyObject
*resultobj
;
17543 int arg2
= (int) wxDateTime::Inv_Month
;
17544 int arg3
= (int) wxDateTime::Inv_Year
;
17545 int arg4
= (int) 0 ;
17546 int arg5
= (int) 0 ;
17547 int arg6
= (int) 0 ;
17548 int arg7
= (int) 0 ;
17549 wxDateTime
*result
;
17550 PyObject
* obj0
= 0 ;
17551 PyObject
* obj1
= 0 ;
17552 PyObject
* obj2
= 0 ;
17553 PyObject
* obj3
= 0 ;
17554 PyObject
* obj4
= 0 ;
17555 PyObject
* obj5
= 0 ;
17556 PyObject
* obj6
= 0 ;
17557 char *kwnames
[] = {
17558 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17562 arg1
= (int) SWIG_AsInt(obj0
);
17563 if (PyErr_Occurred()) SWIG_fail
;
17565 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
17566 if (PyErr_Occurred()) SWIG_fail
;
17569 arg3
= (int) SWIG_AsInt(obj2
);
17570 if (PyErr_Occurred()) SWIG_fail
;
17573 arg4
= (int) SWIG_AsInt(obj3
);
17574 if (PyErr_Occurred()) SWIG_fail
;
17577 arg5
= (int) SWIG_AsInt(obj4
);
17578 if (PyErr_Occurred()) SWIG_fail
;
17581 arg6
= (int) SWIG_AsInt(obj5
);
17582 if (PyErr_Occurred()) SWIG_fail
;
17585 arg7
= (int) SWIG_AsInt(obj6
);
17586 if (PyErr_Occurred()) SWIG_fail
;
17589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17590 result
= (wxDateTime
*)new wxDateTime(arg1
,(wxDateTime::Month
)arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
17592 wxPyEndAllowThreads(__tstate
);
17593 if (PyErr_Occurred()) SWIG_fail
;
17595 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17602 static PyObject
*_wrap_delete_DateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17603 PyObject
*resultobj
;
17604 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17605 PyObject
* obj0
= 0 ;
17606 char *kwnames
[] = {
17607 (char *) "self", NULL
17610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateTime",kwnames
,&obj0
)) goto fail
;
17611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17617 wxPyEndAllowThreads(__tstate
);
17618 if (PyErr_Occurred()) SWIG_fail
;
17620 Py_INCREF(Py_None
); resultobj
= Py_None
;
17627 static PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17628 PyObject
*resultobj
;
17629 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17630 wxDateTime
*result
;
17631 PyObject
* obj0
= 0 ;
17632 char *kwnames
[] = {
17633 (char *) "self", NULL
17636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetToCurrent",kwnames
,&obj0
)) goto fail
;
17637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17642 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
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_SetTimeT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17657 PyObject
*resultobj
;
17658 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17660 wxDateTime
*result
;
17661 PyObject
* obj0
= 0 ;
17662 PyObject
* obj1
= 0 ;
17663 char *kwnames
[] = {
17664 (char *) "self",(char *) "timet", NULL
17667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) goto fail
;
17668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17670 arg2
= (time_t) SWIG_AsUnsignedInt(obj1
);
17671 if (PyErr_Occurred()) SWIG_fail
;
17673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17675 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
17676 result
= (wxDateTime
*) &_result_ref
;
17679 wxPyEndAllowThreads(__tstate
);
17680 if (PyErr_Occurred()) SWIG_fail
;
17682 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17689 static PyObject
*_wrap_DateTime_SetJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17690 PyObject
*resultobj
;
17691 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17693 wxDateTime
*result
;
17694 PyObject
* obj0
= 0 ;
17695 PyObject
* obj1
= 0 ;
17696 char *kwnames
[] = {
17697 (char *) "self",(char *) "jdn", NULL
17700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) goto fail
;
17701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17703 arg2
= (double) SWIG_AsDouble(obj1
);
17704 if (PyErr_Occurred()) SWIG_fail
;
17706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17708 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
17709 result
= (wxDateTime
*) &_result_ref
;
17712 wxPyEndAllowThreads(__tstate
);
17713 if (PyErr_Occurred()) SWIG_fail
;
17715 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17722 static PyObject
*_wrap_DateTime_SetHMS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17723 PyObject
*resultobj
;
17724 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17726 int arg3
= (int) 0 ;
17727 int arg4
= (int) 0 ;
17728 int arg5
= (int) 0 ;
17729 wxDateTime
*result
;
17730 PyObject
* obj0
= 0 ;
17731 PyObject
* obj1
= 0 ;
17732 PyObject
* obj2
= 0 ;
17733 PyObject
* obj3
= 0 ;
17734 PyObject
* obj4
= 0 ;
17735 char *kwnames
[] = {
17736 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17742 arg2
= (int) SWIG_AsInt(obj1
);
17743 if (PyErr_Occurred()) SWIG_fail
;
17745 arg3
= (int) SWIG_AsInt(obj2
);
17746 if (PyErr_Occurred()) SWIG_fail
;
17749 arg4
= (int) SWIG_AsInt(obj3
);
17750 if (PyErr_Occurred()) SWIG_fail
;
17753 arg5
= (int) SWIG_AsInt(obj4
);
17754 if (PyErr_Occurred()) SWIG_fail
;
17757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17759 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
17760 result
= (wxDateTime
*) &_result_ref
;
17763 wxPyEndAllowThreads(__tstate
);
17764 if (PyErr_Occurred()) SWIG_fail
;
17766 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17773 static PyObject
*_wrap_DateTime_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17774 PyObject
*resultobj
;
17775 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17777 int arg3
= (int) wxDateTime::Inv_Month
;
17778 int arg4
= (int) wxDateTime::Inv_Year
;
17779 int arg5
= (int) 0 ;
17780 int arg6
= (int) 0 ;
17781 int arg7
= (int) 0 ;
17782 int arg8
= (int) 0 ;
17783 wxDateTime
*result
;
17784 PyObject
* obj0
= 0 ;
17785 PyObject
* obj1
= 0 ;
17786 PyObject
* obj2
= 0 ;
17787 PyObject
* obj3
= 0 ;
17788 PyObject
* obj4
= 0 ;
17789 PyObject
* obj5
= 0 ;
17790 PyObject
* obj6
= 0 ;
17791 PyObject
* obj7
= 0 ;
17792 char *kwnames
[] = {
17793 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
17797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17799 arg2
= (int) SWIG_AsInt(obj1
);
17800 if (PyErr_Occurred()) SWIG_fail
;
17802 arg3
= (wxDateTime::Month
) SWIG_AsInt(obj2
);
17803 if (PyErr_Occurred()) SWIG_fail
;
17806 arg4
= (int) SWIG_AsInt(obj3
);
17807 if (PyErr_Occurred()) SWIG_fail
;
17810 arg5
= (int) SWIG_AsInt(obj4
);
17811 if (PyErr_Occurred()) SWIG_fail
;
17814 arg6
= (int) SWIG_AsInt(obj5
);
17815 if (PyErr_Occurred()) SWIG_fail
;
17818 arg7
= (int) SWIG_AsInt(obj6
);
17819 if (PyErr_Occurred()) SWIG_fail
;
17822 arg8
= (int) SWIG_AsInt(obj7
);
17823 if (PyErr_Occurred()) SWIG_fail
;
17826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17828 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,(wxDateTime::Month
)arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
17829 result
= (wxDateTime
*) &_result_ref
;
17832 wxPyEndAllowThreads(__tstate
);
17833 if (PyErr_Occurred()) SWIG_fail
;
17835 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17842 static PyObject
*_wrap_DateTime_ResetTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17843 PyObject
*resultobj
;
17844 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17845 wxDateTime
*result
;
17846 PyObject
* obj0
= 0 ;
17847 char *kwnames
[] = {
17848 (char *) "self", NULL
17851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ResetTime",kwnames
,&obj0
)) goto fail
;
17852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17857 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
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_SetYear(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 *) "year", NULL
17882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",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
)->SetYear(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_SetMonth(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 *) "month", NULL
17915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",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
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
17919 if (PyErr_Occurred()) SWIG_fail
;
17921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17923 wxDateTime
&_result_ref
= (arg1
)->SetMonth((wxDateTime::Month
)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_SetDay(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 *) "day", NULL
17948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",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
)->SetDay(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_SetHour(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 *) "hour", NULL
17981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",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
)->SetHour(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_SetMinute(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 *) "minute", NULL
18014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",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
)->SetMinute(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_SetSecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18037 PyObject
*resultobj
;
18038 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18040 wxDateTime
*result
;
18041 PyObject
* obj0
= 0 ;
18042 PyObject
* obj1
= 0 ;
18043 char *kwnames
[] = {
18044 (char *) "self",(char *) "second", NULL
18047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
18048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18050 arg2
= (int) SWIG_AsInt(obj1
);
18051 if (PyErr_Occurred()) SWIG_fail
;
18053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18055 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
18056 result
= (wxDateTime
*) &_result_ref
;
18059 wxPyEndAllowThreads(__tstate
);
18060 if (PyErr_Occurred()) SWIG_fail
;
18062 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18069 static PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18070 PyObject
*resultobj
;
18071 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18073 wxDateTime
*result
;
18074 PyObject
* obj0
= 0 ;
18075 PyObject
* obj1
= 0 ;
18076 char *kwnames
[] = {
18077 (char *) "self",(char *) "millisecond", NULL
18080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
18081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18083 arg2
= (int) SWIG_AsInt(obj1
);
18084 if (PyErr_Occurred()) SWIG_fail
;
18086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18088 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
18089 result
= (wxDateTime
*) &_result_ref
;
18092 wxPyEndAllowThreads(__tstate
);
18093 if (PyErr_Occurred()) SWIG_fail
;
18095 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18102 static PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18103 PyObject
*resultobj
;
18104 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18106 int arg3
= (int) wxDateTime::Monday_First
;
18107 wxDateTime
*result
;
18108 PyObject
* obj0
= 0 ;
18109 PyObject
* obj1
= 0 ;
18110 PyObject
* obj2
= 0 ;
18111 char *kwnames
[] = {
18112 (char *) "self",(char *) "weekday",(char *) "flags", NULL
18115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18118 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18119 if (PyErr_Occurred()) SWIG_fail
;
18121 arg3
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj2
);
18122 if (PyErr_Occurred()) SWIG_fail
;
18125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18127 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
18128 result
= (wxDateTime
*) &_result_ref
;
18131 wxPyEndAllowThreads(__tstate
);
18132 if (PyErr_Occurred()) SWIG_fail
;
18134 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18141 static PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18142 PyObject
*resultobj
;
18143 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18145 int arg3
= (int) wxDateTime::Monday_First
;
18147 PyObject
* obj0
= 0 ;
18148 PyObject
* obj1
= 0 ;
18149 PyObject
* obj2
= 0 ;
18150 char *kwnames
[] = {
18151 (char *) "self",(char *) "weekday",(char *) "flags", NULL
18154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18157 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18158 if (PyErr_Occurred()) SWIG_fail
;
18160 arg3
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj2
);
18161 if (PyErr_Occurred()) SWIG_fail
;
18164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18165 result
= (arg1
)->GetWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
18167 wxPyEndAllowThreads(__tstate
);
18168 if (PyErr_Occurred()) SWIG_fail
;
18171 wxDateTime
* resultptr
;
18172 resultptr
= new wxDateTime((wxDateTime
&) result
);
18173 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18181 static PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18182 PyObject
*resultobj
;
18183 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18185 wxDateTime
*result
;
18186 PyObject
* obj0
= 0 ;
18187 PyObject
* obj1
= 0 ;
18188 char *kwnames
[] = {
18189 (char *) "self",(char *) "weekday", NULL
18192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18195 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18196 if (PyErr_Occurred()) SWIG_fail
;
18198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18200 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay((wxDateTime::WeekDay
)arg2
);
18201 result
= (wxDateTime
*) &_result_ref
;
18204 wxPyEndAllowThreads(__tstate
);
18205 if (PyErr_Occurred()) SWIG_fail
;
18207 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18214 static PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18215 PyObject
*resultobj
;
18216 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18219 PyObject
* obj0
= 0 ;
18220 PyObject
* obj1
= 0 ;
18221 char *kwnames
[] = {
18222 (char *) "self",(char *) "weekday", NULL
18225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18228 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18229 if (PyErr_Occurred()) SWIG_fail
;
18231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18232 result
= (arg1
)->GetNextWeekDay((wxDateTime::WeekDay
)arg2
);
18234 wxPyEndAllowThreads(__tstate
);
18235 if (PyErr_Occurred()) SWIG_fail
;
18238 wxDateTime
* resultptr
;
18239 resultptr
= new wxDateTime((wxDateTime
&) result
);
18240 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18248 static PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18249 PyObject
*resultobj
;
18250 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18252 wxDateTime
*result
;
18253 PyObject
* obj0
= 0 ;
18254 PyObject
* obj1
= 0 ;
18255 char *kwnames
[] = {
18256 (char *) "self",(char *) "weekday", NULL
18259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18262 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18263 if (PyErr_Occurred()) SWIG_fail
;
18265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18267 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay((wxDateTime::WeekDay
)arg2
);
18268 result
= (wxDateTime
*) &_result_ref
;
18271 wxPyEndAllowThreads(__tstate
);
18272 if (PyErr_Occurred()) SWIG_fail
;
18274 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18281 static PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18282 PyObject
*resultobj
;
18283 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18286 PyObject
* obj0
= 0 ;
18287 PyObject
* obj1
= 0 ;
18288 char *kwnames
[] = {
18289 (char *) "self",(char *) "weekday", NULL
18292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18295 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18296 if (PyErr_Occurred()) SWIG_fail
;
18298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18299 result
= (arg1
)->GetPrevWeekDay((wxDateTime::WeekDay
)arg2
);
18301 wxPyEndAllowThreads(__tstate
);
18302 if (PyErr_Occurred()) SWIG_fail
;
18305 wxDateTime
* resultptr
;
18306 resultptr
= new wxDateTime((wxDateTime
&) result
);
18307 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18315 static PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18316 PyObject
*resultobj
;
18317 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18319 int arg3
= (int) 1 ;
18320 int arg4
= (int) wxDateTime::Inv_Month
;
18321 int arg5
= (int) wxDateTime::Inv_Year
;
18323 PyObject
* obj0
= 0 ;
18324 PyObject
* obj1
= 0 ;
18325 PyObject
* obj2
= 0 ;
18326 PyObject
* obj3
= 0 ;
18327 PyObject
* obj4
= 0 ;
18328 char *kwnames
[] = {
18329 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
18332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18335 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18336 if (PyErr_Occurred()) SWIG_fail
;
18338 arg3
= (int) SWIG_AsInt(obj2
);
18339 if (PyErr_Occurred()) SWIG_fail
;
18342 arg4
= (wxDateTime::Month
) SWIG_AsInt(obj3
);
18343 if (PyErr_Occurred()) SWIG_fail
;
18346 arg5
= (int) SWIG_AsInt(obj4
);
18347 if (PyErr_Occurred()) SWIG_fail
;
18350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18351 result
= (bool)(arg1
)->SetToWeekDay((wxDateTime::WeekDay
)arg2
,arg3
,(wxDateTime::Month
)arg4
,arg5
);
18353 wxPyEndAllowThreads(__tstate
);
18354 if (PyErr_Occurred()) SWIG_fail
;
18357 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18365 static PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18366 PyObject
*resultobj
;
18367 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18369 int arg3
= (int) wxDateTime::Inv_Month
;
18370 int arg4
= (int) wxDateTime::Inv_Year
;
18372 PyObject
* obj0
= 0 ;
18373 PyObject
* obj1
= 0 ;
18374 PyObject
* obj2
= 0 ;
18375 PyObject
* obj3
= 0 ;
18376 char *kwnames
[] = {
18377 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18383 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18384 if (PyErr_Occurred()) SWIG_fail
;
18386 arg3
= (wxDateTime::Month
) SWIG_AsInt(obj2
);
18387 if (PyErr_Occurred()) SWIG_fail
;
18390 arg4
= (int) SWIG_AsInt(obj3
);
18391 if (PyErr_Occurred()) SWIG_fail
;
18394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18395 result
= (bool)(arg1
)->SetToLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
18397 wxPyEndAllowThreads(__tstate
);
18398 if (PyErr_Occurred()) SWIG_fail
;
18401 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18409 static PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18410 PyObject
*resultobj
;
18411 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18413 int arg3
= (int) wxDateTime::Inv_Month
;
18414 int arg4
= (int) wxDateTime::Inv_Year
;
18416 PyObject
* obj0
= 0 ;
18417 PyObject
* obj1
= 0 ;
18418 PyObject
* obj2
= 0 ;
18419 PyObject
* obj3
= 0 ;
18420 char *kwnames
[] = {
18421 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18427 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18428 if (PyErr_Occurred()) SWIG_fail
;
18430 arg3
= (wxDateTime::Month
) SWIG_AsInt(obj2
);
18431 if (PyErr_Occurred()) SWIG_fail
;
18434 arg4
= (int) SWIG_AsInt(obj3
);
18435 if (PyErr_Occurred()) SWIG_fail
;
18438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18439 result
= (arg1
)->GetLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
18441 wxPyEndAllowThreads(__tstate
);
18442 if (PyErr_Occurred()) SWIG_fail
;
18445 wxDateTime
* resultptr
;
18446 resultptr
= new wxDateTime((wxDateTime
&) result
);
18447 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18455 static PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18456 PyObject
*resultobj
;
18457 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18459 int arg3
= (int) wxDateTime::Mon
;
18460 int arg4
= (int) wxDateTime::Monday_First
;
18462 PyObject
* obj0
= 0 ;
18463 PyObject
* obj1
= 0 ;
18464 PyObject
* obj2
= 0 ;
18465 PyObject
* obj3
= 0 ;
18466 char *kwnames
[] = {
18467 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18473 arg2
= (int) SWIG_AsInt(obj1
);
18474 if (PyErr_Occurred()) SWIG_fail
;
18476 arg3
= (wxDateTime::WeekDay
) SWIG_AsInt(obj2
);
18477 if (PyErr_Occurred()) SWIG_fail
;
18480 arg4
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj3
);
18481 if (PyErr_Occurred()) SWIG_fail
;
18484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18485 result
= (bool)(arg1
)->SetToTheWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
18487 wxPyEndAllowThreads(__tstate
);
18488 if (PyErr_Occurred()) SWIG_fail
;
18491 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18499 static PyObject
*_wrap_DateTime_GetWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18500 PyObject
*resultobj
;
18501 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18503 int arg3
= (int) wxDateTime::Mon
;
18504 int arg4
= (int) wxDateTime::Monday_First
;
18506 PyObject
* obj0
= 0 ;
18507 PyObject
* obj1
= 0 ;
18508 PyObject
* obj2
= 0 ;
18509 PyObject
* obj3
= 0 ;
18510 char *kwnames
[] = {
18511 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18517 arg2
= (int) SWIG_AsInt(obj1
);
18518 if (PyErr_Occurred()) SWIG_fail
;
18520 arg3
= (wxDateTime::WeekDay
) SWIG_AsInt(obj2
);
18521 if (PyErr_Occurred()) SWIG_fail
;
18524 arg4
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj3
);
18525 if (PyErr_Occurred()) SWIG_fail
;
18528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18529 result
= (arg1
)->GetWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
18531 wxPyEndAllowThreads(__tstate
);
18532 if (PyErr_Occurred()) SWIG_fail
;
18535 wxDateTime
* resultptr
;
18536 resultptr
= new wxDateTime((wxDateTime
&) result
);
18537 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18545 static PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18546 PyObject
*resultobj
;
18547 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18548 int arg2
= (int) wxDateTime::Inv_Month
;
18549 int arg3
= (int) wxDateTime::Inv_Year
;
18550 wxDateTime
*result
;
18551 PyObject
* obj0
= 0 ;
18552 PyObject
* obj1
= 0 ;
18553 PyObject
* obj2
= 0 ;
18554 char *kwnames
[] = {
18555 (char *) "self",(char *) "month",(char *) "year", NULL
18558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18562 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
18563 if (PyErr_Occurred()) SWIG_fail
;
18566 arg3
= (int) SWIG_AsInt(obj2
);
18567 if (PyErr_Occurred()) SWIG_fail
;
18570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18572 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
18573 result
= (wxDateTime
*) &_result_ref
;
18576 wxPyEndAllowThreads(__tstate
);
18577 if (PyErr_Occurred()) SWIG_fail
;
18579 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18586 static PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18587 PyObject
*resultobj
;
18588 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18589 int arg2
= (int) wxDateTime::Inv_Month
;
18590 int arg3
= (int) wxDateTime::Inv_Year
;
18592 PyObject
* obj0
= 0 ;
18593 PyObject
* obj1
= 0 ;
18594 PyObject
* obj2
= 0 ;
18595 char *kwnames
[] = {
18596 (char *) "self",(char *) "month",(char *) "year", NULL
18599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18603 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
18604 if (PyErr_Occurred()) SWIG_fail
;
18607 arg3
= (int) SWIG_AsInt(obj2
);
18608 if (PyErr_Occurred()) SWIG_fail
;
18611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18612 result
= (arg1
)->GetLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
18614 wxPyEndAllowThreads(__tstate
);
18615 if (PyErr_Occurred()) SWIG_fail
;
18618 wxDateTime
* resultptr
;
18619 resultptr
= new wxDateTime((wxDateTime
&) result
);
18620 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18628 static PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18629 PyObject
*resultobj
;
18630 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18632 wxDateTime
*result
;
18633 PyObject
* obj0
= 0 ;
18634 PyObject
* obj1
= 0 ;
18635 char *kwnames
[] = {
18636 (char *) "self",(char *) "yday", NULL
18639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18642 arg2
= (int) SWIG_AsInt(obj1
);
18643 if (PyErr_Occurred()) SWIG_fail
;
18645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18647 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
18648 result
= (wxDateTime
*) &_result_ref
;
18651 wxPyEndAllowThreads(__tstate
);
18652 if (PyErr_Occurred()) SWIG_fail
;
18654 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18661 static PyObject
*_wrap_DateTime_GetYearDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18662 PyObject
*resultobj
;
18663 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18666 PyObject
* obj0
= 0 ;
18667 PyObject
* obj1
= 0 ;
18668 char *kwnames
[] = {
18669 (char *) "self",(char *) "yday", NULL
18672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18675 arg2
= (int) SWIG_AsInt(obj1
);
18676 if (PyErr_Occurred()) SWIG_fail
;
18678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18679 result
= (arg1
)->GetYearDay(arg2
);
18681 wxPyEndAllowThreads(__tstate
);
18682 if (PyErr_Occurred()) SWIG_fail
;
18685 wxDateTime
* resultptr
;
18686 resultptr
= new wxDateTime((wxDateTime
&) result
);
18687 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18695 static PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18696 PyObject
*resultobj
;
18697 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18699 PyObject
* obj0
= 0 ;
18700 char *kwnames
[] = {
18701 (char *) "self", NULL
18704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJulianDayNumber",kwnames
,&obj0
)) goto fail
;
18705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18709 result
= (double)(arg1
)->GetJulianDayNumber();
18711 wxPyEndAllowThreads(__tstate
);
18712 if (PyErr_Occurred()) SWIG_fail
;
18714 resultobj
= SWIG_FromDouble((double)result
);
18721 static PyObject
*_wrap_DateTime_GetJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18722 PyObject
*resultobj
;
18723 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18725 PyObject
* obj0
= 0 ;
18726 char *kwnames
[] = {
18727 (char *) "self", NULL
18730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJDN",kwnames
,&obj0
)) goto fail
;
18731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18735 result
= (double)(arg1
)->GetJDN();
18737 wxPyEndAllowThreads(__tstate
);
18738 if (PyErr_Occurred()) SWIG_fail
;
18740 resultobj
= SWIG_FromDouble((double)result
);
18747 static PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18748 PyObject
*resultobj
;
18749 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18751 PyObject
* obj0
= 0 ;
18752 char *kwnames
[] = {
18753 (char *) "self", NULL
18756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames
,&obj0
)) goto fail
;
18757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18761 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
18763 wxPyEndAllowThreads(__tstate
);
18764 if (PyErr_Occurred()) SWIG_fail
;
18766 resultobj
= SWIG_FromDouble((double)result
);
18773 static PyObject
*_wrap_DateTime_GetMJD(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18774 PyObject
*resultobj
;
18775 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18777 PyObject
* obj0
= 0 ;
18778 char *kwnames
[] = {
18779 (char *) "self", NULL
18782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetMJD",kwnames
,&obj0
)) goto fail
;
18783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18787 result
= (double)(arg1
)->GetMJD();
18789 wxPyEndAllowThreads(__tstate
);
18790 if (PyErr_Occurred()) SWIG_fail
;
18792 resultobj
= SWIG_FromDouble((double)result
);
18799 static PyObject
*_wrap_DateTime_GetRataDie(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18800 PyObject
*resultobj
;
18801 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18803 PyObject
* obj0
= 0 ;
18804 char *kwnames
[] = {
18805 (char *) "self", NULL
18808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetRataDie",kwnames
,&obj0
)) goto fail
;
18809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18813 result
= (double)(arg1
)->GetRataDie();
18815 wxPyEndAllowThreads(__tstate
);
18816 if (PyErr_Occurred()) SWIG_fail
;
18818 resultobj
= SWIG_FromDouble((double)result
);
18825 static PyObject
*_wrap_DateTime_ToTimezone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18826 PyObject
*resultobj
;
18827 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18828 wxDateTime::TimeZone
*arg2
= 0 ;
18829 bool arg3
= (bool) False
;
18831 bool temp2
= False
;
18832 PyObject
* obj0
= 0 ;
18833 PyObject
* obj1
= 0 ;
18834 PyObject
* obj2
= 0 ;
18835 char *kwnames
[] = {
18836 (char *) "self",(char *) "tz",(char *) "noDST", NULL
18839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18843 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18847 arg3
= (bool) SWIG_AsBool(obj2
);
18848 if (PyErr_Occurred()) SWIG_fail
;
18851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18852 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
18854 wxPyEndAllowThreads(__tstate
);
18855 if (PyErr_Occurred()) SWIG_fail
;
18858 wxDateTime
* resultptr
;
18859 resultptr
= new wxDateTime((wxDateTime
&) result
);
18860 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18863 if (temp2
) delete arg2
;
18868 if (temp2
) delete arg2
;
18874 static PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18875 PyObject
*resultobj
;
18876 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18877 wxDateTime::TimeZone
*arg2
= 0 ;
18878 bool arg3
= (bool) False
;
18879 wxDateTime
*result
;
18880 bool temp2
= False
;
18881 PyObject
* obj0
= 0 ;
18882 PyObject
* obj1
= 0 ;
18883 PyObject
* obj2
= 0 ;
18884 char *kwnames
[] = {
18885 (char *) "self",(char *) "tz",(char *) "noDST", NULL
18888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18892 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18896 arg3
= (bool) SWIG_AsBool(obj2
);
18897 if (PyErr_Occurred()) SWIG_fail
;
18900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18902 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
18903 result
= (wxDateTime
*) &_result_ref
;
18906 wxPyEndAllowThreads(__tstate
);
18907 if (PyErr_Occurred()) SWIG_fail
;
18909 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18911 if (temp2
) delete arg2
;
18916 if (temp2
) delete arg2
;
18922 static PyObject
*_wrap_DateTime_ToGMT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18923 PyObject
*resultobj
;
18924 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18925 bool arg2
= (bool) False
;
18927 PyObject
* obj0
= 0 ;
18928 PyObject
* obj1
= 0 ;
18929 char *kwnames
[] = {
18930 (char *) "self",(char *) "noDST", NULL
18933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
18934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18937 arg2
= (bool) SWIG_AsBool(obj1
);
18938 if (PyErr_Occurred()) SWIG_fail
;
18941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18942 result
= (arg1
)->ToGMT(arg2
);
18944 wxPyEndAllowThreads(__tstate
);
18945 if (PyErr_Occurred()) SWIG_fail
;
18948 wxDateTime
* resultptr
;
18949 resultptr
= new wxDateTime((wxDateTime
&) result
);
18950 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18958 static PyObject
*_wrap_DateTime_MakeGMT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18959 PyObject
*resultobj
;
18960 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18961 bool arg2
= (bool) False
;
18962 wxDateTime
*result
;
18963 PyObject
* obj0
= 0 ;
18964 PyObject
* obj1
= 0 ;
18965 char *kwnames
[] = {
18966 (char *) "self",(char *) "noDST", NULL
18969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
18970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18973 arg2
= (bool) SWIG_AsBool(obj1
);
18974 if (PyErr_Occurred()) SWIG_fail
;
18977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18979 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
18980 result
= (wxDateTime
*) &_result_ref
;
18983 wxPyEndAllowThreads(__tstate
);
18984 if (PyErr_Occurred()) SWIG_fail
;
18986 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18993 static PyObject
*_wrap_DateTime_IsDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18994 PyObject
*resultobj
;
18995 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18996 int arg2
= (int) wxDateTime::Country_Default
;
18998 PyObject
* obj0
= 0 ;
18999 PyObject
* obj1
= 0 ;
19000 char *kwnames
[] = {
19001 (char *) "self",(char *) "country", NULL
19004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) goto fail
;
19005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19008 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
19009 if (PyErr_Occurred()) SWIG_fail
;
19012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19013 result
= (int)(arg1
)->IsDST((wxDateTime::Country
)arg2
);
19015 wxPyEndAllowThreads(__tstate
);
19016 if (PyErr_Occurred()) SWIG_fail
;
19018 resultobj
= SWIG_FromInt((int)result
);
19025 static PyObject
*_wrap_DateTime_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19026 PyObject
*resultobj
;
19027 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19029 PyObject
* obj0
= 0 ;
19030 char *kwnames
[] = {
19031 (char *) "self", NULL
19034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_IsValid",kwnames
,&obj0
)) goto fail
;
19035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19039 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
19041 wxPyEndAllowThreads(__tstate
);
19042 if (PyErr_Occurred()) SWIG_fail
;
19045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19053 static PyObject
*_wrap_DateTime_GetTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19054 PyObject
*resultobj
;
19055 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19057 PyObject
* obj0
= 0 ;
19058 char *kwnames
[] = {
19059 (char *) "self", NULL
19062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetTicks",kwnames
,&obj0
)) goto fail
;
19063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19067 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
19069 wxPyEndAllowThreads(__tstate
);
19070 if (PyErr_Occurred()) SWIG_fail
;
19072 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
19079 static PyObject
*_wrap_DateTime_GetYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19080 PyObject
*resultobj
;
19081 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19082 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19083 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19085 bool temp2
= False
;
19086 PyObject
* obj0
= 0 ;
19087 PyObject
* obj1
= 0 ;
19088 char *kwnames
[] = {
19089 (char *) "self",(char *) "tz", NULL
19092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19097 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19103 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
19105 wxPyEndAllowThreads(__tstate
);
19106 if (PyErr_Occurred()) SWIG_fail
;
19108 resultobj
= SWIG_FromInt((int)result
);
19110 if (temp2
) delete arg2
;
19115 if (temp2
) delete arg2
;
19121 static PyObject
*_wrap_DateTime_GetMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19122 PyObject
*resultobj
;
19123 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19124 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19125 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19127 bool temp2
= False
;
19128 PyObject
* obj0
= 0 ;
19129 PyObject
* obj1
= 0 ;
19130 char *kwnames
[] = {
19131 (char *) "self",(char *) "tz", NULL
19134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
19135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19139 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19145 result
= (int)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
19147 wxPyEndAllowThreads(__tstate
);
19148 if (PyErr_Occurred()) SWIG_fail
;
19150 resultobj
= SWIG_FromInt((int)result
);
19152 if (temp2
) delete arg2
;
19157 if (temp2
) delete arg2
;
19163 static PyObject
*_wrap_DateTime_GetDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19164 PyObject
*resultobj
;
19165 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19166 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19167 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19169 bool temp2
= False
;
19170 PyObject
* obj0
= 0 ;
19171 PyObject
* obj1
= 0 ;
19172 char *kwnames
[] = {
19173 (char *) "self",(char *) "tz", NULL
19176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19181 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19187 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
19189 wxPyEndAllowThreads(__tstate
);
19190 if (PyErr_Occurred()) SWIG_fail
;
19192 resultobj
= SWIG_FromInt((int)result
);
19194 if (temp2
) delete arg2
;
19199 if (temp2
) delete arg2
;
19205 static PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19206 PyObject
*resultobj
;
19207 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19208 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19209 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19211 bool temp2
= False
;
19212 PyObject
* obj0
= 0 ;
19213 PyObject
* obj1
= 0 ;
19214 char *kwnames
[] = {
19215 (char *) "self",(char *) "tz", NULL
19218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19223 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19229 result
= (int)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
19231 wxPyEndAllowThreads(__tstate
);
19232 if (PyErr_Occurred()) SWIG_fail
;
19234 resultobj
= SWIG_FromInt((int)result
);
19236 if (temp2
) delete arg2
;
19241 if (temp2
) delete arg2
;
19247 static PyObject
*_wrap_DateTime_GetHour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19248 PyObject
*resultobj
;
19249 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19250 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19251 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19253 bool temp2
= False
;
19254 PyObject
* obj0
= 0 ;
19255 PyObject
* obj1
= 0 ;
19256 char *kwnames
[] = {
19257 (char *) "self",(char *) "tz", NULL
19260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
19261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19265 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19271 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
19273 wxPyEndAllowThreads(__tstate
);
19274 if (PyErr_Occurred()) SWIG_fail
;
19276 resultobj
= SWIG_FromInt((int)result
);
19278 if (temp2
) delete arg2
;
19283 if (temp2
) delete arg2
;
19289 static PyObject
*_wrap_DateTime_GetMinute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19290 PyObject
*resultobj
;
19291 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19292 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19293 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19295 bool temp2
= False
;
19296 PyObject
* obj0
= 0 ;
19297 PyObject
* obj1
= 0 ;
19298 char *kwnames
[] = {
19299 (char *) "self",(char *) "tz", NULL
19302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
19303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19307 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19313 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
19315 wxPyEndAllowThreads(__tstate
);
19316 if (PyErr_Occurred()) SWIG_fail
;
19318 resultobj
= SWIG_FromInt((int)result
);
19320 if (temp2
) delete arg2
;
19325 if (temp2
) delete arg2
;
19331 static PyObject
*_wrap_DateTime_GetSecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19332 PyObject
*resultobj
;
19333 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19334 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19335 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19337 bool temp2
= False
;
19338 PyObject
* obj0
= 0 ;
19339 PyObject
* obj1
= 0 ;
19340 char *kwnames
[] = {
19341 (char *) "self",(char *) "tz", NULL
19344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
19345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19349 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19355 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
19357 wxPyEndAllowThreads(__tstate
);
19358 if (PyErr_Occurred()) SWIG_fail
;
19360 resultobj
= SWIG_FromInt((int)result
);
19362 if (temp2
) delete arg2
;
19367 if (temp2
) delete arg2
;
19373 static PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19374 PyObject
*resultobj
;
19375 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19376 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19377 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19379 bool temp2
= False
;
19380 PyObject
* obj0
= 0 ;
19381 PyObject
* obj1
= 0 ;
19382 char *kwnames
[] = {
19383 (char *) "self",(char *) "tz", NULL
19386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
19387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19391 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19397 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
19399 wxPyEndAllowThreads(__tstate
);
19400 if (PyErr_Occurred()) SWIG_fail
;
19402 resultobj
= SWIG_FromInt((int)result
);
19404 if (temp2
) delete arg2
;
19409 if (temp2
) delete arg2
;
19415 static PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19416 PyObject
*resultobj
;
19417 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19418 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19419 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19421 bool temp2
= False
;
19422 PyObject
* obj0
= 0 ;
19423 PyObject
* obj1
= 0 ;
19424 char *kwnames
[] = {
19425 (char *) "self",(char *) "tz", NULL
19428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19433 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19439 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
19441 wxPyEndAllowThreads(__tstate
);
19442 if (PyErr_Occurred()) SWIG_fail
;
19444 resultobj
= SWIG_FromInt((int)result
);
19446 if (temp2
) delete arg2
;
19451 if (temp2
) delete arg2
;
19457 static PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19458 PyObject
*resultobj
;
19459 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19460 int arg2
= (int) wxDateTime::Monday_First
;
19461 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
19462 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
19464 bool temp3
= False
;
19465 PyObject
* obj0
= 0 ;
19466 PyObject
* obj1
= 0 ;
19467 PyObject
* obj2
= 0 ;
19468 char *kwnames
[] = {
19469 (char *) "self",(char *) "flags",(char *) "tz", NULL
19472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19476 arg2
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj1
);
19477 if (PyErr_Occurred()) SWIG_fail
;
19481 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
19486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19487 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
19489 wxPyEndAllowThreads(__tstate
);
19490 if (PyErr_Occurred()) SWIG_fail
;
19492 resultobj
= SWIG_FromInt((int)result
);
19494 if (temp3
) delete arg3
;
19499 if (temp3
) delete arg3
;
19505 static PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19506 PyObject
*resultobj
;
19507 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19508 int arg2
= (int) wxDateTime::Monday_First
;
19509 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
19510 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
19512 bool temp3
= False
;
19513 PyObject
* obj0
= 0 ;
19514 PyObject
* obj1
= 0 ;
19515 PyObject
* obj2
= 0 ;
19516 char *kwnames
[] = {
19517 (char *) "self",(char *) "flags",(char *) "tz", NULL
19520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19524 arg2
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj1
);
19525 if (PyErr_Occurred()) SWIG_fail
;
19529 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
19534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19535 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
19537 wxPyEndAllowThreads(__tstate
);
19538 if (PyErr_Occurred()) SWIG_fail
;
19540 resultobj
= SWIG_FromInt((int)result
);
19542 if (temp3
) delete arg3
;
19547 if (temp3
) delete arg3
;
19553 static PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19554 PyObject
*resultobj
;
19555 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19556 int arg2
= (int) wxDateTime::Country_Default
;
19558 PyObject
* obj0
= 0 ;
19559 PyObject
* obj1
= 0 ;
19560 char *kwnames
[] = {
19561 (char *) "self",(char *) "country", NULL
19564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19568 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
19569 if (PyErr_Occurred()) SWIG_fail
;
19572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19573 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay((wxDateTime::Country
)arg2
);
19575 wxPyEndAllowThreads(__tstate
);
19576 if (PyErr_Occurred()) SWIG_fail
;
19579 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19587 static PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19588 PyObject
*resultobj
;
19589 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19590 wxDateTime
*arg2
= 0 ;
19592 PyObject
* obj0
= 0 ;
19593 PyObject
* obj1
= 0 ;
19594 char *kwnames
[] = {
19595 (char *) "self",(char *) "datetime", NULL
19598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
19599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19601 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19602 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19604 if (arg2
== NULL
) {
19605 PyErr_SetString(PyExc_TypeError
,"null reference");
19609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19610 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
19612 wxPyEndAllowThreads(__tstate
);
19613 if (PyErr_Occurred()) SWIG_fail
;
19616 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19624 static PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19625 PyObject
*resultobj
;
19626 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19627 wxDateTime
*arg2
= 0 ;
19629 PyObject
* obj0
= 0 ;
19630 PyObject
* obj1
= 0 ;
19631 char *kwnames
[] = {
19632 (char *) "self",(char *) "datetime", NULL
19635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) goto fail
;
19636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19638 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19639 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19641 if (arg2
== NULL
) {
19642 PyErr_SetString(PyExc_TypeError
,"null reference");
19646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19647 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
19649 wxPyEndAllowThreads(__tstate
);
19650 if (PyErr_Occurred()) SWIG_fail
;
19653 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19661 static PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19662 PyObject
*resultobj
;
19663 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19664 wxDateTime
*arg2
= 0 ;
19666 PyObject
* obj0
= 0 ;
19667 PyObject
* obj1
= 0 ;
19668 char *kwnames
[] = {
19669 (char *) "self",(char *) "datetime", NULL
19672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
19673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19675 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19676 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19678 if (arg2
== NULL
) {
19679 PyErr_SetString(PyExc_TypeError
,"null reference");
19683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19684 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
19686 wxPyEndAllowThreads(__tstate
);
19687 if (PyErr_Occurred()) SWIG_fail
;
19690 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19698 static PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19699 PyObject
*resultobj
;
19700 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19701 wxDateTime
*arg2
= 0 ;
19702 wxDateTime
*arg3
= 0 ;
19704 PyObject
* obj0
= 0 ;
19705 PyObject
* obj1
= 0 ;
19706 PyObject
* obj2
= 0 ;
19707 char *kwnames
[] = {
19708 (char *) "self",(char *) "t1",(char *) "t2", NULL
19711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19714 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19715 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19717 if (arg2
== NULL
) {
19718 PyErr_SetString(PyExc_TypeError
,"null reference");
19721 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
,
19722 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19724 if (arg3
== NULL
) {
19725 PyErr_SetString(PyExc_TypeError
,"null reference");
19729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19730 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
19732 wxPyEndAllowThreads(__tstate
);
19733 if (PyErr_Occurred()) SWIG_fail
;
19736 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19744 static PyObject
*_wrap_DateTime_IsBetween(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19745 PyObject
*resultobj
;
19746 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19747 wxDateTime
*arg2
= 0 ;
19748 wxDateTime
*arg3
= 0 ;
19750 PyObject
* obj0
= 0 ;
19751 PyObject
* obj1
= 0 ;
19752 PyObject
* obj2
= 0 ;
19753 char *kwnames
[] = {
19754 (char *) "self",(char *) "t1",(char *) "t2", NULL
19757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19760 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19761 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19763 if (arg2
== NULL
) {
19764 PyErr_SetString(PyExc_TypeError
,"null reference");
19767 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
,
19768 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19770 if (arg3
== NULL
) {
19771 PyErr_SetString(PyExc_TypeError
,"null reference");
19775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19776 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
19778 wxPyEndAllowThreads(__tstate
);
19779 if (PyErr_Occurred()) SWIG_fail
;
19782 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19790 static PyObject
*_wrap_DateTime_IsSameDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19791 PyObject
*resultobj
;
19792 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19793 wxDateTime
*arg2
= 0 ;
19795 PyObject
* obj0
= 0 ;
19796 PyObject
* obj1
= 0 ;
19797 char *kwnames
[] = {
19798 (char *) "self",(char *) "dt", NULL
19801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) goto fail
;
19802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19804 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19805 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19807 if (arg2
== NULL
) {
19808 PyErr_SetString(PyExc_TypeError
,"null reference");
19812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19813 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
19815 wxPyEndAllowThreads(__tstate
);
19816 if (PyErr_Occurred()) SWIG_fail
;
19819 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19827 static PyObject
*_wrap_DateTime_IsSameTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19828 PyObject
*resultobj
;
19829 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19830 wxDateTime
*arg2
= 0 ;
19832 PyObject
* obj0
= 0 ;
19833 PyObject
* obj1
= 0 ;
19834 char *kwnames
[] = {
19835 (char *) "self",(char *) "dt", NULL
19838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) goto fail
;
19839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19841 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19842 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19844 if (arg2
== NULL
) {
19845 PyErr_SetString(PyExc_TypeError
,"null reference");
19849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19850 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
19852 wxPyEndAllowThreads(__tstate
);
19853 if (PyErr_Occurred()) SWIG_fail
;
19856 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19864 static PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19865 PyObject
*resultobj
;
19866 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19867 wxDateTime
*arg2
= 0 ;
19868 wxTimeSpan
*arg3
= 0 ;
19870 PyObject
* obj0
= 0 ;
19871 PyObject
* obj1
= 0 ;
19872 PyObject
* obj2
= 0 ;
19873 char *kwnames
[] = {
19874 (char *) "self",(char *) "dt",(char *) "ts", NULL
19877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19880 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19881 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19883 if (arg2
== NULL
) {
19884 PyErr_SetString(PyExc_TypeError
,"null reference");
19887 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTimeSpan
,
19888 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19890 if (arg3
== NULL
) {
19891 PyErr_SetString(PyExc_TypeError
,"null reference");
19895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19896 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
19898 wxPyEndAllowThreads(__tstate
);
19899 if (PyErr_Occurred()) SWIG_fail
;
19902 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19910 static PyObject
*_wrap_DateTime_AddTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19911 PyObject
*resultobj
;
19912 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19913 wxTimeSpan
*arg2
= 0 ;
19914 wxDateTime
*result
;
19915 PyObject
* obj0
= 0 ;
19916 PyObject
* obj1
= 0 ;
19917 char *kwnames
[] = {
19918 (char *) "self",(char *) "diff", NULL
19921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) goto fail
;
19922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19924 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
19925 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19927 if (arg2
== NULL
) {
19928 PyErr_SetString(PyExc_TypeError
,"null reference");
19932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19934 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
19935 result
= (wxDateTime
*) &_result_ref
;
19938 wxPyEndAllowThreads(__tstate
);
19939 if (PyErr_Occurred()) SWIG_fail
;
19941 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19948 static PyObject
*_wrap_DateTime_AddDS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19949 PyObject
*resultobj
;
19950 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19951 wxDateSpan
*arg2
= 0 ;
19952 wxDateTime
*result
;
19953 PyObject
* obj0
= 0 ;
19954 PyObject
* obj1
= 0 ;
19955 char *kwnames
[] = {
19956 (char *) "self",(char *) "diff", NULL
19959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) goto fail
;
19960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19962 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
19963 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19965 if (arg2
== NULL
) {
19966 PyErr_SetString(PyExc_TypeError
,"null reference");
19970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19972 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
19973 result
= (wxDateTime
*) &_result_ref
;
19976 wxPyEndAllowThreads(__tstate
);
19977 if (PyErr_Occurred()) SWIG_fail
;
19979 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19986 static PyObject
*_wrap_DateTime_SubtractTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19987 PyObject
*resultobj
;
19988 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19989 wxTimeSpan
*arg2
= 0 ;
19990 wxDateTime
*result
;
19991 PyObject
* obj0
= 0 ;
19992 PyObject
* obj1
= 0 ;
19993 char *kwnames
[] = {
19994 (char *) "self",(char *) "diff", NULL
19997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) goto fail
;
19998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20000 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20001 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20003 if (arg2
== NULL
) {
20004 PyErr_SetString(PyExc_TypeError
,"null reference");
20008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20010 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
20011 result
= (wxDateTime
*) &_result_ref
;
20014 wxPyEndAllowThreads(__tstate
);
20015 if (PyErr_Occurred()) SWIG_fail
;
20017 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20024 static PyObject
*_wrap_DateTime_SubtractDS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20025 PyObject
*resultobj
;
20026 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20027 wxDateSpan
*arg2
= 0 ;
20028 wxDateTime
*result
;
20029 PyObject
* obj0
= 0 ;
20030 PyObject
* obj1
= 0 ;
20031 char *kwnames
[] = {
20032 (char *) "self",(char *) "diff", NULL
20035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) goto fail
;
20036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20038 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20039 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20041 if (arg2
== NULL
) {
20042 PyErr_SetString(PyExc_TypeError
,"null reference");
20046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20048 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
20049 result
= (wxDateTime
*) &_result_ref
;
20052 wxPyEndAllowThreads(__tstate
);
20053 if (PyErr_Occurred()) SWIG_fail
;
20055 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20062 static PyObject
*_wrap_DateTime_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20063 PyObject
*resultobj
;
20064 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20065 wxDateTime
*arg2
= 0 ;
20067 PyObject
* obj0
= 0 ;
20068 PyObject
* obj1
= 0 ;
20069 char *kwnames
[] = {
20070 (char *) "self",(char *) "dt", NULL
20073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
20074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20076 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20077 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20079 if (arg2
== NULL
) {
20080 PyErr_SetString(PyExc_TypeError
,"null reference");
20084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20085 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
20087 wxPyEndAllowThreads(__tstate
);
20088 if (PyErr_Occurred()) SWIG_fail
;
20091 wxTimeSpan
* resultptr
;
20092 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
20093 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
20101 static PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*self
, PyObject
*args
) {
20102 PyObject
*resultobj
;
20103 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20104 wxTimeSpan
*arg2
= 0 ;
20105 wxDateTime
*result
;
20106 PyObject
* obj0
= 0 ;
20107 PyObject
* obj1
= 0 ;
20109 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
20110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20112 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20113 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20115 if (arg2
== NULL
) {
20116 PyErr_SetString(PyExc_TypeError
,"null reference");
20120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20122 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
20123 result
= (wxDateTime
*) &_result_ref
;
20126 wxPyEndAllowThreads(__tstate
);
20127 if (PyErr_Occurred()) SWIG_fail
;
20129 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20136 static PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*self
, PyObject
*args
) {
20137 PyObject
*resultobj
;
20138 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20139 wxDateSpan
*arg2
= 0 ;
20140 wxDateTime
*result
;
20141 PyObject
* obj0
= 0 ;
20142 PyObject
* obj1
= 0 ;
20144 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
20145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20147 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20148 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20150 if (arg2
== NULL
) {
20151 PyErr_SetString(PyExc_TypeError
,"null reference");
20155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20157 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
20158 result
= (wxDateTime
*) &_result_ref
;
20161 wxPyEndAllowThreads(__tstate
);
20162 if (PyErr_Occurred()) SWIG_fail
;
20164 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20171 static PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
20176 argc
= PyObject_Length(args
);
20177 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20178 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20184 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20194 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20202 return _wrap_DateTime___iadd____SWIG_0(self
,args
);
20210 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20220 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20228 return _wrap_DateTime___iadd____SWIG_1(self
,args
);
20233 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___iadd__'");
20238 static PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*self
, PyObject
*args
) {
20239 PyObject
*resultobj
;
20240 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20241 wxTimeSpan
*arg2
= 0 ;
20242 wxDateTime
*result
;
20243 PyObject
* obj0
= 0 ;
20244 PyObject
* obj1
= 0 ;
20246 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
20247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20249 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20250 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20252 if (arg2
== NULL
) {
20253 PyErr_SetString(PyExc_TypeError
,"null reference");
20257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20259 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
20260 result
= (wxDateTime
*) &_result_ref
;
20263 wxPyEndAllowThreads(__tstate
);
20264 if (PyErr_Occurred()) SWIG_fail
;
20266 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20273 static PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*self
, PyObject
*args
) {
20274 PyObject
*resultobj
;
20275 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20276 wxDateSpan
*arg2
= 0 ;
20277 wxDateTime
*result
;
20278 PyObject
* obj0
= 0 ;
20279 PyObject
* obj1
= 0 ;
20281 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
20282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20284 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20285 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20287 if (arg2
== NULL
) {
20288 PyErr_SetString(PyExc_TypeError
,"null reference");
20292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20294 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
20295 result
= (wxDateTime
*) &_result_ref
;
20298 wxPyEndAllowThreads(__tstate
);
20299 if (PyErr_Occurred()) SWIG_fail
;
20301 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20308 static PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
20313 argc
= PyObject_Length(args
);
20314 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20315 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20321 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20331 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20339 return _wrap_DateTime___isub____SWIG_0(self
,args
);
20347 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20357 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20365 return _wrap_DateTime___isub____SWIG_1(self
,args
);
20370 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___isub__'");
20375 static PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*self
, PyObject
*args
) {
20376 PyObject
*resultobj
;
20377 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20378 wxTimeSpan
*arg2
= 0 ;
20380 PyObject
* obj0
= 0 ;
20381 PyObject
* obj1
= 0 ;
20383 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
20384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20386 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20387 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20389 if (arg2
== NULL
) {
20390 PyErr_SetString(PyExc_TypeError
,"null reference");
20394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20395 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
20397 wxPyEndAllowThreads(__tstate
);
20398 if (PyErr_Occurred()) SWIG_fail
;
20401 wxDateTime
* resultptr
;
20402 resultptr
= new wxDateTime((wxDateTime
&) result
);
20403 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20411 static PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*self
, PyObject
*args
) {
20412 PyObject
*resultobj
;
20413 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20414 wxDateSpan
*arg2
= 0 ;
20416 PyObject
* obj0
= 0 ;
20417 PyObject
* obj1
= 0 ;
20419 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
20420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20422 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20423 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20425 if (arg2
== NULL
) {
20426 PyErr_SetString(PyExc_TypeError
,"null reference");
20430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20431 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
20433 wxPyEndAllowThreads(__tstate
);
20434 if (PyErr_Occurred()) SWIG_fail
;
20437 wxDateTime
* resultptr
;
20438 resultptr
= new wxDateTime((wxDateTime
&) result
);
20439 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20447 static PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
20452 argc
= PyObject_Length(args
);
20453 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20454 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20460 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20470 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20478 return _wrap_DateTime___add____SWIG_0(self
,args
);
20486 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20496 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20504 return _wrap_DateTime___add____SWIG_1(self
,args
);
20509 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___add__'");
20514 static PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*self
, PyObject
*args
) {
20515 PyObject
*resultobj
;
20516 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20517 wxDateTime
*arg2
= 0 ;
20519 PyObject
* obj0
= 0 ;
20520 PyObject
* obj1
= 0 ;
20522 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20525 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20526 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20528 if (arg2
== NULL
) {
20529 PyErr_SetString(PyExc_TypeError
,"null reference");
20533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20534 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
20536 wxPyEndAllowThreads(__tstate
);
20537 if (PyErr_Occurred()) SWIG_fail
;
20540 wxTimeSpan
* resultptr
;
20541 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
20542 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
20550 static PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*self
, PyObject
*args
) {
20551 PyObject
*resultobj
;
20552 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20553 wxTimeSpan
*arg2
= 0 ;
20555 PyObject
* obj0
= 0 ;
20556 PyObject
* obj1
= 0 ;
20558 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20561 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20562 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20564 if (arg2
== NULL
) {
20565 PyErr_SetString(PyExc_TypeError
,"null reference");
20569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20570 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
20572 wxPyEndAllowThreads(__tstate
);
20573 if (PyErr_Occurred()) SWIG_fail
;
20576 wxDateTime
* resultptr
;
20577 resultptr
= new wxDateTime((wxDateTime
&) result
);
20578 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20586 static PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*self
, PyObject
*args
) {
20587 PyObject
*resultobj
;
20588 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20589 wxDateSpan
*arg2
= 0 ;
20591 PyObject
* obj0
= 0 ;
20592 PyObject
* obj1
= 0 ;
20594 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20597 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20598 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20600 if (arg2
== NULL
) {
20601 PyErr_SetString(PyExc_TypeError
,"null reference");
20605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20606 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
20608 wxPyEndAllowThreads(__tstate
);
20609 if (PyErr_Occurred()) SWIG_fail
;
20612 wxDateTime
* resultptr
;
20613 resultptr
= new wxDateTime((wxDateTime
&) result
);
20614 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20622 static PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
20627 argc
= PyObject_Length(args
);
20628 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20629 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20635 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20645 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20653 return _wrap_DateTime___sub____SWIG_0(self
,args
);
20661 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20671 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20679 return _wrap_DateTime___sub____SWIG_1(self
,args
);
20687 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20697 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20705 return _wrap_DateTime___sub____SWIG_2(self
,args
);
20710 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___sub__'");
20715 static PyObject
*_wrap_DateTime___lt__(PyObject
*self
, PyObject
*args
) {
20716 PyObject
*resultobj
;
20717 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20718 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20720 PyObject
* obj0
= 0 ;
20721 PyObject
* obj1
= 0 ;
20723 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___lt__",&obj0
,&obj1
)) goto fail
;
20724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20726 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20730 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const *)arg2
);
20732 wxPyEndAllowThreads(__tstate
);
20733 if (PyErr_Occurred()) SWIG_fail
;
20736 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20744 static PyObject
*_wrap_DateTime___le__(PyObject
*self
, PyObject
*args
) {
20745 PyObject
*resultobj
;
20746 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20747 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20749 PyObject
* obj0
= 0 ;
20750 PyObject
* obj1
= 0 ;
20752 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___le__",&obj0
,&obj1
)) goto fail
;
20753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20755 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20759 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const *)arg2
);
20761 wxPyEndAllowThreads(__tstate
);
20762 if (PyErr_Occurred()) SWIG_fail
;
20765 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20773 static PyObject
*_wrap_DateTime___gt__(PyObject
*self
, PyObject
*args
) {
20774 PyObject
*resultobj
;
20775 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20776 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20778 PyObject
* obj0
= 0 ;
20779 PyObject
* obj1
= 0 ;
20781 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___gt__",&obj0
,&obj1
)) goto fail
;
20782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20784 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20788 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const *)arg2
);
20790 wxPyEndAllowThreads(__tstate
);
20791 if (PyErr_Occurred()) SWIG_fail
;
20794 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20802 static PyObject
*_wrap_DateTime___ge__(PyObject
*self
, PyObject
*args
) {
20803 PyObject
*resultobj
;
20804 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20805 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20807 PyObject
* obj0
= 0 ;
20808 PyObject
* obj1
= 0 ;
20810 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ge__",&obj0
,&obj1
)) goto fail
;
20811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20813 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20817 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const *)arg2
);
20819 wxPyEndAllowThreads(__tstate
);
20820 if (PyErr_Occurred()) SWIG_fail
;
20823 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20831 static PyObject
*_wrap_DateTime___eq__(PyObject
*self
, PyObject
*args
) {
20832 PyObject
*resultobj
;
20833 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20834 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20836 PyObject
* obj0
= 0 ;
20837 PyObject
* obj1
= 0 ;
20839 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___eq__",&obj0
,&obj1
)) goto fail
;
20840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20842 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20846 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const *)arg2
);
20848 wxPyEndAllowThreads(__tstate
);
20849 if (PyErr_Occurred()) SWIG_fail
;
20852 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20860 static PyObject
*_wrap_DateTime___ne__(PyObject
*self
, PyObject
*args
) {
20861 PyObject
*resultobj
;
20862 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20863 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20865 PyObject
* obj0
= 0 ;
20866 PyObject
* obj1
= 0 ;
20868 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ne__",&obj0
,&obj1
)) goto fail
;
20869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20871 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20875 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const *)arg2
);
20877 wxPyEndAllowThreads(__tstate
);
20878 if (PyErr_Occurred()) SWIG_fail
;
20881 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20889 static PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20890 PyObject
*resultobj
;
20891 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20892 wxString
*arg2
= 0 ;
20894 bool temp2
= False
;
20895 PyObject
* obj0
= 0 ;
20896 PyObject
* obj1
= 0 ;
20897 char *kwnames
[] = {
20898 (char *) "self",(char *) "date", NULL
20901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) goto fail
;
20902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20905 arg2
= wxString_in_helper(obj1
);
20906 if (arg2
== NULL
) SWIG_fail
;
20910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20911 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
20913 wxPyEndAllowThreads(__tstate
);
20914 if (PyErr_Occurred()) SWIG_fail
;
20916 resultobj
= SWIG_FromInt((int)result
);
20931 static PyObject
*_wrap_DateTime_ParseFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20932 PyObject
*resultobj
;
20933 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20934 wxString
*arg2
= 0 ;
20935 wxString
const &arg3_defvalue
= wxPyDateFormatStr
;
20936 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20937 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
20938 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
20940 bool temp2
= False
;
20941 bool temp3
= False
;
20942 PyObject
* obj0
= 0 ;
20943 PyObject
* obj1
= 0 ;
20944 PyObject
* obj2
= 0 ;
20945 PyObject
* obj3
= 0 ;
20946 char *kwnames
[] = {
20947 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
20950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) 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
;
20960 arg3
= wxString_in_helper(obj2
);
20961 if (arg3
== NULL
) SWIG_fail
;
20966 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDateTime
,
20967 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20969 if (arg4
== NULL
) {
20970 PyErr_SetString(PyExc_TypeError
,"null reference");
20975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20976 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
20978 wxPyEndAllowThreads(__tstate
);
20979 if (PyErr_Occurred()) SWIG_fail
;
20981 resultobj
= SWIG_FromInt((int)result
);
21004 static PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21005 PyObject
*resultobj
;
21006 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21007 wxString
*arg2
= 0 ;
21009 bool temp2
= False
;
21010 PyObject
* obj0
= 0 ;
21011 PyObject
* obj1
= 0 ;
21012 char *kwnames
[] = {
21013 (char *) "self",(char *) "datetime", NULL
21016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) goto fail
;
21017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21020 arg2
= wxString_in_helper(obj1
);
21021 if (arg2
== NULL
) SWIG_fail
;
21025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21026 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
21028 wxPyEndAllowThreads(__tstate
);
21029 if (PyErr_Occurred()) SWIG_fail
;
21031 resultobj
= SWIG_FromInt((int)result
);
21046 static PyObject
*_wrap_DateTime_ParseDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21047 PyObject
*resultobj
;
21048 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21049 wxString
*arg2
= 0 ;
21051 bool temp2
= False
;
21052 PyObject
* obj0
= 0 ;
21053 PyObject
* obj1
= 0 ;
21054 char *kwnames
[] = {
21055 (char *) "self",(char *) "date", NULL
21058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) goto fail
;
21059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21062 arg2
= wxString_in_helper(obj1
);
21063 if (arg2
== NULL
) SWIG_fail
;
21067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21068 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
21070 wxPyEndAllowThreads(__tstate
);
21071 if (PyErr_Occurred()) SWIG_fail
;
21073 resultobj
= SWIG_FromInt((int)result
);
21088 static PyObject
*_wrap_DateTime_ParseTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21089 PyObject
*resultobj
;
21090 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21091 wxString
*arg2
= 0 ;
21093 bool temp2
= False
;
21094 PyObject
* obj0
= 0 ;
21095 PyObject
* obj1
= 0 ;
21096 char *kwnames
[] = {
21097 (char *) "self",(char *) "time", NULL
21100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) goto fail
;
21101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21104 arg2
= wxString_in_helper(obj1
);
21105 if (arg2
== NULL
) SWIG_fail
;
21109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21110 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
21112 wxPyEndAllowThreads(__tstate
);
21113 if (PyErr_Occurred()) SWIG_fail
;
21115 resultobj
= SWIG_FromInt((int)result
);
21130 static PyObject
*_wrap_DateTime_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21131 PyObject
*resultobj
;
21132 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21133 wxString
const &arg2_defvalue
= wxPyDateFormatStr
;
21134 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
21135 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
21136 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
21138 bool temp2
= False
;
21139 bool temp3
= False
;
21140 PyObject
* obj0
= 0 ;
21141 PyObject
* obj1
= 0 ;
21142 PyObject
* obj2
= 0 ;
21143 char *kwnames
[] = {
21144 (char *) "self",(char *) "format",(char *) "tz", NULL
21147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21152 arg2
= wxString_in_helper(obj1
);
21153 if (arg2
== NULL
) SWIG_fail
;
21159 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
21164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21165 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
21167 wxPyEndAllowThreads(__tstate
);
21168 if (PyErr_Occurred()) SWIG_fail
;
21172 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21174 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21182 if (temp3
) delete arg3
;
21191 if (temp3
) delete arg3
;
21197 static PyObject
*_wrap_DateTime_FormatDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21198 PyObject
*resultobj
;
21199 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21201 PyObject
* obj0
= 0 ;
21202 char *kwnames
[] = {
21203 (char *) "self", NULL
21206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatDate",kwnames
,&obj0
)) goto fail
;
21207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21211 result
= ((wxDateTime
const *)arg1
)->FormatDate();
21213 wxPyEndAllowThreads(__tstate
);
21214 if (PyErr_Occurred()) SWIG_fail
;
21218 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21220 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21229 static PyObject
*_wrap_DateTime_FormatTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21230 PyObject
*resultobj
;
21231 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21233 PyObject
* obj0
= 0 ;
21234 char *kwnames
[] = {
21235 (char *) "self", NULL
21238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatTime",kwnames
,&obj0
)) goto fail
;
21239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21243 result
= ((wxDateTime
const *)arg1
)->FormatTime();
21245 wxPyEndAllowThreads(__tstate
);
21246 if (PyErr_Occurred()) SWIG_fail
;
21250 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21252 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21261 static PyObject
*_wrap_DateTime_FormatISODate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21262 PyObject
*resultobj
;
21263 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21265 PyObject
* obj0
= 0 ;
21266 char *kwnames
[] = {
21267 (char *) "self", NULL
21270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISODate",kwnames
,&obj0
)) goto fail
;
21271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21275 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
21277 wxPyEndAllowThreads(__tstate
);
21278 if (PyErr_Occurred()) SWIG_fail
;
21282 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21284 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21293 static PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21294 PyObject
*resultobj
;
21295 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21297 PyObject
* obj0
= 0 ;
21298 char *kwnames
[] = {
21299 (char *) "self", NULL
21302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISOTime",kwnames
,&obj0
)) goto fail
;
21303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21307 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
21309 wxPyEndAllowThreads(__tstate
);
21310 if (PyErr_Occurred()) SWIG_fail
;
21314 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21316 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21325 static PyObject
* DateTime_swigregister(PyObject
*self
, PyObject
*args
) {
21327 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21328 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime
, obj
);
21330 return Py_BuildValue((char *)"");
21332 static PyObject
*_wrap_TimeSpan_Seconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21333 PyObject
*resultobj
;
21336 PyObject
* obj0
= 0 ;
21337 char *kwnames
[] = {
21338 (char *) "sec", NULL
21341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",kwnames
,&obj0
)) goto fail
;
21342 arg1
= (long) SWIG_AsLong(obj0
);
21343 if (PyErr_Occurred()) SWIG_fail
;
21345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21346 result
= wxTimeSpan::Seconds(arg1
);
21348 wxPyEndAllowThreads(__tstate
);
21349 if (PyErr_Occurred()) SWIG_fail
;
21352 wxTimeSpan
* resultptr
;
21353 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21354 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21362 static PyObject
*_wrap_TimeSpan_Second(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21363 PyObject
*resultobj
;
21365 char *kwnames
[] = {
21369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Second",kwnames
)) goto fail
;
21371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21372 result
= wxTimeSpan::Second();
21374 wxPyEndAllowThreads(__tstate
);
21375 if (PyErr_Occurred()) SWIG_fail
;
21378 wxTimeSpan
* resultptr
;
21379 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21380 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21388 static PyObject
*_wrap_TimeSpan_Minutes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21389 PyObject
*resultobj
;
21392 PyObject
* obj0
= 0 ;
21393 char *kwnames
[] = {
21394 (char *) "min", NULL
21397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",kwnames
,&obj0
)) goto fail
;
21398 arg1
= (long) SWIG_AsLong(obj0
);
21399 if (PyErr_Occurred()) SWIG_fail
;
21401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21402 result
= wxTimeSpan::Minutes(arg1
);
21404 wxPyEndAllowThreads(__tstate
);
21405 if (PyErr_Occurred()) SWIG_fail
;
21408 wxTimeSpan
* resultptr
;
21409 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21410 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21418 static PyObject
*_wrap_TimeSpan_Minute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21419 PyObject
*resultobj
;
21421 char *kwnames
[] = {
21425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Minute",kwnames
)) goto fail
;
21427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21428 result
= wxTimeSpan::Minute();
21430 wxPyEndAllowThreads(__tstate
);
21431 if (PyErr_Occurred()) SWIG_fail
;
21434 wxTimeSpan
* resultptr
;
21435 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21436 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21444 static PyObject
*_wrap_TimeSpan_Hours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21445 PyObject
*resultobj
;
21448 PyObject
* obj0
= 0 ;
21449 char *kwnames
[] = {
21450 (char *) "hours", NULL
21453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",kwnames
,&obj0
)) goto fail
;
21454 arg1
= (long) SWIG_AsLong(obj0
);
21455 if (PyErr_Occurred()) SWIG_fail
;
21457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21458 result
= wxTimeSpan::Hours(arg1
);
21460 wxPyEndAllowThreads(__tstate
);
21461 if (PyErr_Occurred()) SWIG_fail
;
21464 wxTimeSpan
* resultptr
;
21465 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21466 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21474 static PyObject
*_wrap_TimeSpan_Hour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21475 PyObject
*resultobj
;
21477 char *kwnames
[] = {
21481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Hour",kwnames
)) goto fail
;
21483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21484 result
= wxTimeSpan::Hour();
21486 wxPyEndAllowThreads(__tstate
);
21487 if (PyErr_Occurred()) SWIG_fail
;
21490 wxTimeSpan
* resultptr
;
21491 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21492 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21500 static PyObject
*_wrap_TimeSpan_Days(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21501 PyObject
*resultobj
;
21504 PyObject
* obj0
= 0 ;
21505 char *kwnames
[] = {
21506 (char *) "days", NULL
21509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Days",kwnames
,&obj0
)) goto fail
;
21510 arg1
= (long) SWIG_AsLong(obj0
);
21511 if (PyErr_Occurred()) SWIG_fail
;
21513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21514 result
= wxTimeSpan::Days(arg1
);
21516 wxPyEndAllowThreads(__tstate
);
21517 if (PyErr_Occurred()) SWIG_fail
;
21520 wxTimeSpan
* resultptr
;
21521 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21522 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21530 static PyObject
*_wrap_TimeSpan_Day(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21531 PyObject
*resultobj
;
21533 char *kwnames
[] = {
21537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Day",kwnames
)) goto fail
;
21539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21540 result
= wxTimeSpan::Day();
21542 wxPyEndAllowThreads(__tstate
);
21543 if (PyErr_Occurred()) SWIG_fail
;
21546 wxTimeSpan
* resultptr
;
21547 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21548 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21556 static PyObject
*_wrap_TimeSpan_Weeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21557 PyObject
*resultobj
;
21560 PyObject
* obj0
= 0 ;
21561 char *kwnames
[] = {
21562 (char *) "days", NULL
21565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) goto fail
;
21566 arg1
= (long) SWIG_AsLong(obj0
);
21567 if (PyErr_Occurred()) SWIG_fail
;
21569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21570 result
= wxTimeSpan::Weeks(arg1
);
21572 wxPyEndAllowThreads(__tstate
);
21573 if (PyErr_Occurred()) SWIG_fail
;
21576 wxTimeSpan
* resultptr
;
21577 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21578 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21586 static PyObject
*_wrap_TimeSpan_Week(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21587 PyObject
*resultobj
;
21589 char *kwnames
[] = {
21593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Week",kwnames
)) goto fail
;
21595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21596 result
= wxTimeSpan::Week();
21598 wxPyEndAllowThreads(__tstate
);
21599 if (PyErr_Occurred()) SWIG_fail
;
21602 wxTimeSpan
* resultptr
;
21603 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21604 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21612 static PyObject
*_wrap_new_TimeSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21613 PyObject
*resultobj
;
21614 long arg1
= (long) 0 ;
21615 long arg2
= (long) 0 ;
21616 long arg3
= (long) 0 ;
21617 long arg4
= (long) 0 ;
21618 wxTimeSpan
*result
;
21619 PyObject
* obj0
= 0 ;
21620 PyObject
* obj1
= 0 ;
21621 PyObject
* obj2
= 0 ;
21622 PyObject
* obj3
= 0 ;
21623 char *kwnames
[] = {
21624 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
21627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21629 arg1
= (long) SWIG_AsLong(obj0
);
21630 if (PyErr_Occurred()) SWIG_fail
;
21633 arg2
= (long) SWIG_AsLong(obj1
);
21634 if (PyErr_Occurred()) SWIG_fail
;
21637 arg3
= (long) SWIG_AsLong(obj2
);
21638 if (PyErr_Occurred()) SWIG_fail
;
21641 arg4
= (long) SWIG_AsLong(obj3
);
21642 if (PyErr_Occurred()) SWIG_fail
;
21645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21646 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
21648 wxPyEndAllowThreads(__tstate
);
21649 if (PyErr_Occurred()) SWIG_fail
;
21651 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
21658 static PyObject
*_wrap_delete_TimeSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21659 PyObject
*resultobj
;
21660 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21661 PyObject
* obj0
= 0 ;
21662 char *kwnames
[] = {
21663 (char *) "self", NULL
21666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimeSpan",kwnames
,&obj0
)) goto fail
;
21667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21673 wxPyEndAllowThreads(__tstate
);
21674 if (PyErr_Occurred()) SWIG_fail
;
21676 Py_INCREF(Py_None
); resultobj
= Py_None
;
21683 static PyObject
*_wrap_TimeSpan_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21684 PyObject
*resultobj
;
21685 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21686 wxTimeSpan
*arg2
= 0 ;
21687 wxTimeSpan
*result
;
21688 PyObject
* obj0
= 0 ;
21689 PyObject
* obj1
= 0 ;
21690 char *kwnames
[] = {
21691 (char *) "self",(char *) "diff", NULL
21694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
21695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21697 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21698 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21700 if (arg2
== NULL
) {
21701 PyErr_SetString(PyExc_TypeError
,"null reference");
21705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21707 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
21708 result
= (wxTimeSpan
*) &_result_ref
;
21711 wxPyEndAllowThreads(__tstate
);
21712 if (PyErr_Occurred()) SWIG_fail
;
21714 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21721 static PyObject
*_wrap_TimeSpan_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21722 PyObject
*resultobj
;
21723 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21724 wxTimeSpan
*arg2
= 0 ;
21725 wxTimeSpan
*result
;
21726 PyObject
* obj0
= 0 ;
21727 PyObject
* obj1
= 0 ;
21728 char *kwnames
[] = {
21729 (char *) "self",(char *) "diff", NULL
21732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
21733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21735 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21736 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21738 if (arg2
== NULL
) {
21739 PyErr_SetString(PyExc_TypeError
,"null reference");
21743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21745 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
21746 result
= (wxTimeSpan
*) &_result_ref
;
21749 wxPyEndAllowThreads(__tstate
);
21750 if (PyErr_Occurred()) SWIG_fail
;
21752 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21759 static PyObject
*_wrap_TimeSpan_Multiply(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21760 PyObject
*resultobj
;
21761 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21763 wxTimeSpan
*result
;
21764 PyObject
* obj0
= 0 ;
21765 PyObject
* obj1
= 0 ;
21766 char *kwnames
[] = {
21767 (char *) "self",(char *) "n", NULL
21770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
21771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21773 arg2
= (int) SWIG_AsInt(obj1
);
21774 if (PyErr_Occurred()) SWIG_fail
;
21776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21778 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
21779 result
= (wxTimeSpan
*) &_result_ref
;
21782 wxPyEndAllowThreads(__tstate
);
21783 if (PyErr_Occurred()) SWIG_fail
;
21785 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21792 static PyObject
*_wrap_TimeSpan_Neg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21793 PyObject
*resultobj
;
21794 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21795 wxTimeSpan
*result
;
21796 PyObject
* obj0
= 0 ;
21797 char *kwnames
[] = {
21798 (char *) "self", NULL
21801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Neg",kwnames
,&obj0
)) goto fail
;
21802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21807 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
21808 result
= (wxTimeSpan
*) &_result_ref
;
21811 wxPyEndAllowThreads(__tstate
);
21812 if (PyErr_Occurred()) SWIG_fail
;
21814 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21821 static PyObject
*_wrap_TimeSpan_Abs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21822 PyObject
*resultobj
;
21823 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21825 PyObject
* obj0
= 0 ;
21826 char *kwnames
[] = {
21827 (char *) "self", NULL
21830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Abs",kwnames
,&obj0
)) goto fail
;
21831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21835 result
= ((wxTimeSpan
const *)arg1
)->Abs();
21837 wxPyEndAllowThreads(__tstate
);
21838 if (PyErr_Occurred()) SWIG_fail
;
21841 wxTimeSpan
* resultptr
;
21842 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21843 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21851 static PyObject
*_wrap_TimeSpan___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21852 PyObject
*resultobj
;
21853 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21854 wxTimeSpan
*arg2
= 0 ;
21855 wxTimeSpan
*result
;
21856 PyObject
* obj0
= 0 ;
21857 PyObject
* obj1
= 0 ;
21858 char *kwnames
[] = {
21859 (char *) "self",(char *) "diff", NULL
21862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
21863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21865 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21866 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21868 if (arg2
== NULL
) {
21869 PyErr_SetString(PyExc_TypeError
,"null reference");
21873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21875 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
21876 result
= (wxTimeSpan
*) &_result_ref
;
21879 wxPyEndAllowThreads(__tstate
);
21880 if (PyErr_Occurred()) SWIG_fail
;
21882 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21889 static PyObject
*_wrap_TimeSpan___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21890 PyObject
*resultobj
;
21891 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21892 wxTimeSpan
*arg2
= 0 ;
21893 wxTimeSpan
*result
;
21894 PyObject
* obj0
= 0 ;
21895 PyObject
* obj1
= 0 ;
21896 char *kwnames
[] = {
21897 (char *) "self",(char *) "diff", NULL
21900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
21901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21903 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21904 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21906 if (arg2
== NULL
) {
21907 PyErr_SetString(PyExc_TypeError
,"null reference");
21911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21913 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
21914 result
= (wxTimeSpan
*) &_result_ref
;
21917 wxPyEndAllowThreads(__tstate
);
21918 if (PyErr_Occurred()) SWIG_fail
;
21920 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21927 static PyObject
*_wrap_TimeSpan___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21928 PyObject
*resultobj
;
21929 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21931 wxTimeSpan
*result
;
21932 PyObject
* obj0
= 0 ;
21933 PyObject
* obj1
= 0 ;
21934 char *kwnames
[] = {
21935 (char *) "self",(char *) "n", NULL
21938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
21939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21941 arg2
= (int) SWIG_AsInt(obj1
);
21942 if (PyErr_Occurred()) SWIG_fail
;
21944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21946 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
21947 result
= (wxTimeSpan
*) &_result_ref
;
21950 wxPyEndAllowThreads(__tstate
);
21951 if (PyErr_Occurred()) SWIG_fail
;
21953 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21960 static PyObject
*_wrap_TimeSpan___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21961 PyObject
*resultobj
;
21962 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21963 wxTimeSpan
*result
;
21964 PyObject
* obj0
= 0 ;
21965 char *kwnames
[] = {
21966 (char *) "self", NULL
21969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan___neg__",kwnames
,&obj0
)) goto fail
;
21970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21975 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
21976 result
= (wxTimeSpan
*) &_result_ref
;
21979 wxPyEndAllowThreads(__tstate
);
21980 if (PyErr_Occurred()) SWIG_fail
;
21982 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21989 static PyObject
*_wrap_TimeSpan___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21990 PyObject
*resultobj
;
21991 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21992 wxTimeSpan
*arg2
= 0 ;
21994 PyObject
* obj0
= 0 ;
21995 PyObject
* obj1
= 0 ;
21996 char *kwnames
[] = {
21997 (char *) "self",(char *) "other", NULL
22000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
22001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22003 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22004 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22006 if (arg2
== NULL
) {
22007 PyErr_SetString(PyExc_TypeError
,"null reference");
22011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22012 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
22014 wxPyEndAllowThreads(__tstate
);
22015 if (PyErr_Occurred()) SWIG_fail
;
22018 wxTimeSpan
* resultptr
;
22019 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22020 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22028 static PyObject
*_wrap_TimeSpan___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22029 PyObject
*resultobj
;
22030 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22031 wxTimeSpan
*arg2
= 0 ;
22033 PyObject
* obj0
= 0 ;
22034 PyObject
* obj1
= 0 ;
22035 char *kwnames
[] = {
22036 (char *) "self",(char *) "other", NULL
22039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
22040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22042 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22043 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22045 if (arg2
== NULL
) {
22046 PyErr_SetString(PyExc_TypeError
,"null reference");
22050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22051 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
22053 wxPyEndAllowThreads(__tstate
);
22054 if (PyErr_Occurred()) SWIG_fail
;
22057 wxTimeSpan
* resultptr
;
22058 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22059 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22067 static PyObject
*_wrap_TimeSpan___mul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22068 PyObject
*resultobj
;
22069 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22072 PyObject
* obj0
= 0 ;
22073 PyObject
* obj1
= 0 ;
22074 char *kwnames
[] = {
22075 (char *) "self",(char *) "n", NULL
22078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
22079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22081 arg2
= (int) SWIG_AsInt(obj1
);
22082 if (PyErr_Occurred()) SWIG_fail
;
22084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22085 result
= wxTimeSpan___mul__(arg1
,arg2
);
22087 wxPyEndAllowThreads(__tstate
);
22088 if (PyErr_Occurred()) SWIG_fail
;
22091 wxTimeSpan
* resultptr
;
22092 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22093 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22101 static PyObject
*_wrap_TimeSpan___rmul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22102 PyObject
*resultobj
;
22103 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22106 PyObject
* obj0
= 0 ;
22107 PyObject
* obj1
= 0 ;
22108 char *kwnames
[] = {
22109 (char *) "self",(char *) "n", NULL
22112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
22113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22115 arg2
= (int) SWIG_AsInt(obj1
);
22116 if (PyErr_Occurred()) SWIG_fail
;
22118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22119 result
= wxTimeSpan___rmul__(arg1
,arg2
);
22121 wxPyEndAllowThreads(__tstate
);
22122 if (PyErr_Occurred()) SWIG_fail
;
22125 wxTimeSpan
* resultptr
;
22126 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22127 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22135 static PyObject
*_wrap_TimeSpan___lt__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22136 PyObject
*resultobj
;
22137 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22138 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22140 PyObject
* obj0
= 0 ;
22141 PyObject
* obj1
= 0 ;
22142 char *kwnames
[] = {
22143 (char *) "self",(char *) "other", NULL
22146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
22147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22149 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22153 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const *)arg2
);
22155 wxPyEndAllowThreads(__tstate
);
22156 if (PyErr_Occurred()) SWIG_fail
;
22159 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22167 static PyObject
*_wrap_TimeSpan___le__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22168 PyObject
*resultobj
;
22169 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22170 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22172 PyObject
* obj0
= 0 ;
22173 PyObject
* obj1
= 0 ;
22174 char *kwnames
[] = {
22175 (char *) "self",(char *) "other", NULL
22178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
22179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22181 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22185 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const *)arg2
);
22187 wxPyEndAllowThreads(__tstate
);
22188 if (PyErr_Occurred()) SWIG_fail
;
22191 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22199 static PyObject
*_wrap_TimeSpan___gt__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22200 PyObject
*resultobj
;
22201 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22202 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22204 PyObject
* obj0
= 0 ;
22205 PyObject
* obj1
= 0 ;
22206 char *kwnames
[] = {
22207 (char *) "self",(char *) "other", NULL
22210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
22211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22213 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22217 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const *)arg2
);
22219 wxPyEndAllowThreads(__tstate
);
22220 if (PyErr_Occurred()) SWIG_fail
;
22223 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22231 static PyObject
*_wrap_TimeSpan___ge__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22232 PyObject
*resultobj
;
22233 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22234 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22236 PyObject
* obj0
= 0 ;
22237 PyObject
* obj1
= 0 ;
22238 char *kwnames
[] = {
22239 (char *) "self",(char *) "other", NULL
22242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
22243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22245 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22249 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const *)arg2
);
22251 wxPyEndAllowThreads(__tstate
);
22252 if (PyErr_Occurred()) SWIG_fail
;
22255 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22263 static PyObject
*_wrap_TimeSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22264 PyObject
*resultobj
;
22265 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22266 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22268 PyObject
* obj0
= 0 ;
22269 PyObject
* obj1
= 0 ;
22270 char *kwnames
[] = {
22271 (char *) "self",(char *) "other", NULL
22274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
22275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22277 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22281 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const *)arg2
);
22283 wxPyEndAllowThreads(__tstate
);
22284 if (PyErr_Occurred()) SWIG_fail
;
22287 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22295 static PyObject
*_wrap_TimeSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22296 PyObject
*resultobj
;
22297 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22298 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22300 PyObject
* obj0
= 0 ;
22301 PyObject
* obj1
= 0 ;
22302 char *kwnames
[] = {
22303 (char *) "self",(char *) "other", NULL
22306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
22307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22309 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22313 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const *)arg2
);
22315 wxPyEndAllowThreads(__tstate
);
22316 if (PyErr_Occurred()) SWIG_fail
;
22319 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22327 static PyObject
*_wrap_TimeSpan_IsNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22328 PyObject
*resultobj
;
22329 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22331 PyObject
* obj0
= 0 ;
22332 char *kwnames
[] = {
22333 (char *) "self", NULL
22336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNull",kwnames
,&obj0
)) goto fail
;
22337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22341 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
22343 wxPyEndAllowThreads(__tstate
);
22344 if (PyErr_Occurred()) SWIG_fail
;
22347 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22355 static PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22356 PyObject
*resultobj
;
22357 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22359 PyObject
* obj0
= 0 ;
22360 char *kwnames
[] = {
22361 (char *) "self", NULL
22364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsPositive",kwnames
,&obj0
)) goto fail
;
22365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22369 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
22371 wxPyEndAllowThreads(__tstate
);
22372 if (PyErr_Occurred()) SWIG_fail
;
22375 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22383 static PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22384 PyObject
*resultobj
;
22385 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22387 PyObject
* obj0
= 0 ;
22388 char *kwnames
[] = {
22389 (char *) "self", NULL
22392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNegative",kwnames
,&obj0
)) goto fail
;
22393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22397 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
22399 wxPyEndAllowThreads(__tstate
);
22400 if (PyErr_Occurred()) SWIG_fail
;
22403 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22411 static PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22412 PyObject
*resultobj
;
22413 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22414 wxTimeSpan
*arg2
= 0 ;
22416 PyObject
* obj0
= 0 ;
22417 PyObject
* obj1
= 0 ;
22418 char *kwnames
[] = {
22419 (char *) "self",(char *) "ts", NULL
22422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
22423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22425 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22426 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22428 if (arg2
== NULL
) {
22429 PyErr_SetString(PyExc_TypeError
,"null reference");
22433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22434 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
22436 wxPyEndAllowThreads(__tstate
);
22437 if (PyErr_Occurred()) SWIG_fail
;
22440 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22448 static PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22449 PyObject
*resultobj
;
22450 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22451 wxTimeSpan
*arg2
= 0 ;
22453 PyObject
* obj0
= 0 ;
22454 PyObject
* obj1
= 0 ;
22455 char *kwnames
[] = {
22456 (char *) "self",(char *) "ts", NULL
22459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22462 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22463 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22465 if (arg2
== NULL
) {
22466 PyErr_SetString(PyExc_TypeError
,"null reference");
22470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22471 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
22473 wxPyEndAllowThreads(__tstate
);
22474 if (PyErr_Occurred()) SWIG_fail
;
22477 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22485 static PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22486 PyObject
*resultobj
;
22487 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22488 wxTimeSpan
*arg2
= 0 ;
22490 PyObject
* obj0
= 0 ;
22491 PyObject
* obj1
= 0 ;
22492 char *kwnames
[] = {
22493 (char *) "self",(char *) "t", NULL
22496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22499 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22500 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22502 if (arg2
== NULL
) {
22503 PyErr_SetString(PyExc_TypeError
,"null reference");
22507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22508 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
22510 wxPyEndAllowThreads(__tstate
);
22511 if (PyErr_Occurred()) SWIG_fail
;
22514 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22522 static PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22523 PyObject
*resultobj
;
22524 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22526 PyObject
* obj0
= 0 ;
22527 char *kwnames
[] = {
22528 (char *) "self", NULL
22531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
22532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22536 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
22538 wxPyEndAllowThreads(__tstate
);
22539 if (PyErr_Occurred()) SWIG_fail
;
22541 resultobj
= SWIG_FromInt((int)result
);
22548 static PyObject
*_wrap_TimeSpan_GetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22549 PyObject
*resultobj
;
22550 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22552 PyObject
* obj0
= 0 ;
22553 char *kwnames
[] = {
22554 (char *) "self", NULL
22557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetDays",kwnames
,&obj0
)) goto fail
;
22558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22562 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
22564 wxPyEndAllowThreads(__tstate
);
22565 if (PyErr_Occurred()) SWIG_fail
;
22567 resultobj
= SWIG_FromInt((int)result
);
22574 static PyObject
*_wrap_TimeSpan_GetHours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22575 PyObject
*resultobj
;
22576 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22578 PyObject
* obj0
= 0 ;
22579 char *kwnames
[] = {
22580 (char *) "self", NULL
22583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetHours",kwnames
,&obj0
)) goto fail
;
22584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22588 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
22590 wxPyEndAllowThreads(__tstate
);
22591 if (PyErr_Occurred()) SWIG_fail
;
22593 resultobj
= SWIG_FromInt((int)result
);
22600 static PyObject
*_wrap_TimeSpan_GetMinutes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22601 PyObject
*resultobj
;
22602 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22604 PyObject
* obj0
= 0 ;
22605 char *kwnames
[] = {
22606 (char *) "self", NULL
22609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMinutes",kwnames
,&obj0
)) goto fail
;
22610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22614 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
22616 wxPyEndAllowThreads(__tstate
);
22617 if (PyErr_Occurred()) SWIG_fail
;
22619 resultobj
= SWIG_FromInt((int)result
);
22626 static PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22627 PyObject
*resultobj
;
22628 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22630 PyObject
* obj0
= 0 ;
22631 char *kwnames
[] = {
22632 (char *) "self", NULL
22635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetSeconds",kwnames
,&obj0
)) goto fail
;
22636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22640 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
22642 wxPyEndAllowThreads(__tstate
);
22643 if (PyErr_Occurred()) SWIG_fail
;
22646 PyObject
*hi
, *lo
, *shifter
, *shifted
;
22647 hi
= PyLong_FromLong( (&result
)->GetHi() );
22648 lo
= PyLong_FromLong( (&result
)->GetLo() );
22649 shifter
= PyLong_FromLong(32);
22650 shifted
= PyNumber_Lshift(hi
, shifter
);
22651 resultobj
= PyNumber_Or(shifted
, lo
);
22654 Py_DECREF(shifter
);
22655 Py_DECREF(shifted
);
22663 static PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22664 PyObject
*resultobj
;
22665 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22667 PyObject
* obj0
= 0 ;
22668 char *kwnames
[] = {
22669 (char *) "self", NULL
22672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMilliseconds",kwnames
,&obj0
)) goto fail
;
22673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22677 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
22679 wxPyEndAllowThreads(__tstate
);
22680 if (PyErr_Occurred()) SWIG_fail
;
22683 PyObject
*hi
, *lo
, *shifter
, *shifted
;
22684 hi
= PyLong_FromLong( (&result
)->GetHi() );
22685 lo
= PyLong_FromLong( (&result
)->GetLo() );
22686 shifter
= PyLong_FromLong(32);
22687 shifted
= PyNumber_Lshift(hi
, shifter
);
22688 resultobj
= PyNumber_Or(shifted
, lo
);
22691 Py_DECREF(shifter
);
22692 Py_DECREF(shifted
);
22700 static PyObject
*_wrap_TimeSpan_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22701 PyObject
*resultobj
;
22702 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22703 wxString
const &arg2_defvalue
= wxPyTimeSpanFormatStr
;
22704 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
22706 bool temp2
= False
;
22707 PyObject
* obj0
= 0 ;
22708 PyObject
* obj1
= 0 ;
22709 char *kwnames
[] = {
22710 (char *) "self",(char *) "format", NULL
22713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) goto fail
;
22714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22718 arg2
= wxString_in_helper(obj1
);
22719 if (arg2
== NULL
) SWIG_fail
;
22724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22725 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
22727 wxPyEndAllowThreads(__tstate
);
22728 if (PyErr_Occurred()) SWIG_fail
;
22732 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22734 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22751 static PyObject
* TimeSpan_swigregister(PyObject
*self
, PyObject
*args
) {
22753 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22754 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan
, obj
);
22756 return Py_BuildValue((char *)"");
22758 static PyObject
*_wrap_new_DateSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22759 PyObject
*resultobj
;
22760 int arg1
= (int) 0 ;
22761 int arg2
= (int) 0 ;
22762 int arg3
= (int) 0 ;
22763 int arg4
= (int) 0 ;
22764 wxDateSpan
*result
;
22765 PyObject
* obj0
= 0 ;
22766 PyObject
* obj1
= 0 ;
22767 PyObject
* obj2
= 0 ;
22768 PyObject
* obj3
= 0 ;
22769 char *kwnames
[] = {
22770 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
22773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22775 arg1
= (int) SWIG_AsInt(obj0
);
22776 if (PyErr_Occurred()) SWIG_fail
;
22779 arg2
= (int) SWIG_AsInt(obj1
);
22780 if (PyErr_Occurred()) SWIG_fail
;
22783 arg3
= (int) SWIG_AsInt(obj2
);
22784 if (PyErr_Occurred()) SWIG_fail
;
22787 arg4
= (int) SWIG_AsInt(obj3
);
22788 if (PyErr_Occurred()) SWIG_fail
;
22791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22792 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
22794 wxPyEndAllowThreads(__tstate
);
22795 if (PyErr_Occurred()) SWIG_fail
;
22797 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
22804 static PyObject
*_wrap_delete_DateSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22805 PyObject
*resultobj
;
22806 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22807 PyObject
* obj0
= 0 ;
22808 char *kwnames
[] = {
22809 (char *) "self", NULL
22812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateSpan",kwnames
,&obj0
)) goto fail
;
22813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22819 wxPyEndAllowThreads(__tstate
);
22820 if (PyErr_Occurred()) SWIG_fail
;
22822 Py_INCREF(Py_None
); resultobj
= Py_None
;
22829 static PyObject
*_wrap_DateSpan_Days(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22830 PyObject
*resultobj
;
22833 PyObject
* obj0
= 0 ;
22834 char *kwnames
[] = {
22835 (char *) "days", NULL
22838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",kwnames
,&obj0
)) goto fail
;
22839 arg1
= (int) SWIG_AsInt(obj0
);
22840 if (PyErr_Occurred()) SWIG_fail
;
22842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22843 result
= wxDateSpan::Days(arg1
);
22845 wxPyEndAllowThreads(__tstate
);
22846 if (PyErr_Occurred()) SWIG_fail
;
22849 wxDateSpan
* resultptr
;
22850 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22851 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22859 static PyObject
*_wrap_DateSpan_Day(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22860 PyObject
*resultobj
;
22862 char *kwnames
[] = {
22866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Day",kwnames
)) goto fail
;
22868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22869 result
= wxDateSpan::Day();
22871 wxPyEndAllowThreads(__tstate
);
22872 if (PyErr_Occurred()) SWIG_fail
;
22875 wxDateSpan
* resultptr
;
22876 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22877 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22885 static PyObject
*_wrap_DateSpan_Weeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22886 PyObject
*resultobj
;
22889 PyObject
* obj0
= 0 ;
22890 char *kwnames
[] = {
22891 (char *) "weeks", NULL
22894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",kwnames
,&obj0
)) goto fail
;
22895 arg1
= (int) SWIG_AsInt(obj0
);
22896 if (PyErr_Occurred()) SWIG_fail
;
22898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22899 result
= wxDateSpan::Weeks(arg1
);
22901 wxPyEndAllowThreads(__tstate
);
22902 if (PyErr_Occurred()) SWIG_fail
;
22905 wxDateSpan
* resultptr
;
22906 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22907 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22915 static PyObject
*_wrap_DateSpan_Week(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22916 PyObject
*resultobj
;
22918 char *kwnames
[] = {
22922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Week",kwnames
)) goto fail
;
22924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22925 result
= wxDateSpan::Week();
22927 wxPyEndAllowThreads(__tstate
);
22928 if (PyErr_Occurred()) SWIG_fail
;
22931 wxDateSpan
* resultptr
;
22932 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22933 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22941 static PyObject
*_wrap_DateSpan_Months(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22942 PyObject
*resultobj
;
22945 PyObject
* obj0
= 0 ;
22946 char *kwnames
[] = {
22947 (char *) "mon", NULL
22950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",kwnames
,&obj0
)) goto fail
;
22951 arg1
= (int) SWIG_AsInt(obj0
);
22952 if (PyErr_Occurred()) SWIG_fail
;
22954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22955 result
= wxDateSpan::Months(arg1
);
22957 wxPyEndAllowThreads(__tstate
);
22958 if (PyErr_Occurred()) SWIG_fail
;
22961 wxDateSpan
* resultptr
;
22962 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22963 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22971 static PyObject
*_wrap_DateSpan_Month(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22972 PyObject
*resultobj
;
22974 char *kwnames
[] = {
22978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Month",kwnames
)) goto fail
;
22980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22981 result
= wxDateSpan::Month();
22983 wxPyEndAllowThreads(__tstate
);
22984 if (PyErr_Occurred()) SWIG_fail
;
22987 wxDateSpan
* resultptr
;
22988 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22989 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22997 static PyObject
*_wrap_DateSpan_Years(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22998 PyObject
*resultobj
;
23001 PyObject
* obj0
= 0 ;
23002 char *kwnames
[] = {
23003 (char *) "years", NULL
23006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) goto fail
;
23007 arg1
= (int) SWIG_AsInt(obj0
);
23008 if (PyErr_Occurred()) SWIG_fail
;
23010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23011 result
= wxDateSpan::Years(arg1
);
23013 wxPyEndAllowThreads(__tstate
);
23014 if (PyErr_Occurred()) SWIG_fail
;
23017 wxDateSpan
* resultptr
;
23018 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23019 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23027 static PyObject
*_wrap_DateSpan_Year(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23028 PyObject
*resultobj
;
23030 char *kwnames
[] = {
23034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Year",kwnames
)) goto fail
;
23036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23037 result
= wxDateSpan::Year();
23039 wxPyEndAllowThreads(__tstate
);
23040 if (PyErr_Occurred()) SWIG_fail
;
23043 wxDateSpan
* resultptr
;
23044 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23045 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23053 static PyObject
*_wrap_DateSpan_SetYears(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_SetYears",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
)->SetYears(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_SetMonths(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_SetMonths",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
)->SetMonths(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_SetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23120 PyObject
*resultobj
;
23121 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23123 wxDateSpan
*result
;
23124 PyObject
* obj0
= 0 ;
23125 PyObject
* obj1
= 0 ;
23126 char *kwnames
[] = {
23127 (char *) "self",(char *) "n", NULL
23130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) goto fail
;
23131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23133 arg2
= (int) SWIG_AsInt(obj1
);
23134 if (PyErr_Occurred()) SWIG_fail
;
23136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23138 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
23139 result
= (wxDateSpan
*) &_result_ref
;
23142 wxPyEndAllowThreads(__tstate
);
23143 if (PyErr_Occurred()) SWIG_fail
;
23145 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23152 static PyObject
*_wrap_DateSpan_SetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23153 PyObject
*resultobj
;
23154 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23156 wxDateSpan
*result
;
23157 PyObject
* obj0
= 0 ;
23158 PyObject
* obj1
= 0 ;
23159 char *kwnames
[] = {
23160 (char *) "self",(char *) "n", NULL
23163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) goto fail
;
23164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23166 arg2
= (int) SWIG_AsInt(obj1
);
23167 if (PyErr_Occurred()) SWIG_fail
;
23169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23171 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
23172 result
= (wxDateSpan
*) &_result_ref
;
23175 wxPyEndAllowThreads(__tstate
);
23176 if (PyErr_Occurred()) SWIG_fail
;
23178 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23185 static PyObject
*_wrap_DateSpan_GetYears(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23186 PyObject
*resultobj
;
23187 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23189 PyObject
* obj0
= 0 ;
23190 char *kwnames
[] = {
23191 (char *) "self", NULL
23194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetYears",kwnames
,&obj0
)) goto fail
;
23195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23199 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
23201 wxPyEndAllowThreads(__tstate
);
23202 if (PyErr_Occurred()) SWIG_fail
;
23204 resultobj
= SWIG_FromInt((int)result
);
23211 static PyObject
*_wrap_DateSpan_GetMonths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23212 PyObject
*resultobj
;
23213 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23215 PyObject
* obj0
= 0 ;
23216 char *kwnames
[] = {
23217 (char *) "self", NULL
23220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetMonths",kwnames
,&obj0
)) goto fail
;
23221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23225 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
23227 wxPyEndAllowThreads(__tstate
);
23228 if (PyErr_Occurred()) SWIG_fail
;
23230 resultobj
= SWIG_FromInt((int)result
);
23237 static PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23238 PyObject
*resultobj
;
23239 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23241 PyObject
* obj0
= 0 ;
23242 char *kwnames
[] = {
23243 (char *) "self", NULL
23246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
23247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23251 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
23253 wxPyEndAllowThreads(__tstate
);
23254 if (PyErr_Occurred()) SWIG_fail
;
23256 resultobj
= SWIG_FromInt((int)result
);
23263 static PyObject
*_wrap_DateSpan_GetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23264 PyObject
*resultobj
;
23265 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23267 PyObject
* obj0
= 0 ;
23268 char *kwnames
[] = {
23269 (char *) "self", NULL
23272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetDays",kwnames
,&obj0
)) goto fail
;
23273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23277 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
23279 wxPyEndAllowThreads(__tstate
);
23280 if (PyErr_Occurred()) SWIG_fail
;
23282 resultobj
= SWIG_FromInt((int)result
);
23289 static PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23290 PyObject
*resultobj
;
23291 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23293 PyObject
* obj0
= 0 ;
23294 char *kwnames
[] = {
23295 (char *) "self", NULL
23298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetTotalDays",kwnames
,&obj0
)) goto fail
;
23299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23303 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
23305 wxPyEndAllowThreads(__tstate
);
23306 if (PyErr_Occurred()) SWIG_fail
;
23308 resultobj
= SWIG_FromInt((int)result
);
23315 static PyObject
*_wrap_DateSpan_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23316 PyObject
*resultobj
;
23317 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23318 wxDateSpan
*arg2
= 0 ;
23319 wxDateSpan
*result
;
23320 PyObject
* obj0
= 0 ;
23321 PyObject
* obj1
= 0 ;
23322 char *kwnames
[] = {
23323 (char *) "self",(char *) "other", NULL
23326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
23327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23329 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23330 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23332 if (arg2
== NULL
) {
23333 PyErr_SetString(PyExc_TypeError
,"null reference");
23337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23339 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
23340 result
= (wxDateSpan
*) &_result_ref
;
23343 wxPyEndAllowThreads(__tstate
);
23344 if (PyErr_Occurred()) SWIG_fail
;
23346 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23353 static PyObject
*_wrap_DateSpan_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23354 PyObject
*resultobj
;
23355 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23356 wxDateSpan
*arg2
= 0 ;
23357 wxDateSpan
*result
;
23358 PyObject
* obj0
= 0 ;
23359 PyObject
* obj1
= 0 ;
23360 char *kwnames
[] = {
23361 (char *) "self",(char *) "other", NULL
23364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
23365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23367 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23368 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23370 if (arg2
== NULL
) {
23371 PyErr_SetString(PyExc_TypeError
,"null reference");
23375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23377 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
23378 result
= (wxDateSpan
*) &_result_ref
;
23381 wxPyEndAllowThreads(__tstate
);
23382 if (PyErr_Occurred()) SWIG_fail
;
23384 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23391 static PyObject
*_wrap_DateSpan_Neg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23392 PyObject
*resultobj
;
23393 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23394 wxDateSpan
*result
;
23395 PyObject
* obj0
= 0 ;
23396 char *kwnames
[] = {
23397 (char *) "self", NULL
23400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Neg",kwnames
,&obj0
)) goto fail
;
23401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23406 wxDateSpan
&_result_ref
= (arg1
)->Neg();
23407 result
= (wxDateSpan
*) &_result_ref
;
23410 wxPyEndAllowThreads(__tstate
);
23411 if (PyErr_Occurred()) SWIG_fail
;
23413 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23420 static PyObject
*_wrap_DateSpan_Multiply(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23421 PyObject
*resultobj
;
23422 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23424 wxDateSpan
*result
;
23425 PyObject
* obj0
= 0 ;
23426 PyObject
* obj1
= 0 ;
23427 char *kwnames
[] = {
23428 (char *) "self",(char *) "factor", NULL
23431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
23432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23434 arg2
= (int) SWIG_AsInt(obj1
);
23435 if (PyErr_Occurred()) SWIG_fail
;
23437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23439 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
23440 result
= (wxDateSpan
*) &_result_ref
;
23443 wxPyEndAllowThreads(__tstate
);
23444 if (PyErr_Occurred()) SWIG_fail
;
23446 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23453 static PyObject
*_wrap_DateSpan___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23454 PyObject
*resultobj
;
23455 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23456 wxDateSpan
*arg2
= 0 ;
23457 wxDateSpan
*result
;
23458 PyObject
* obj0
= 0 ;
23459 PyObject
* obj1
= 0 ;
23460 char *kwnames
[] = {
23461 (char *) "self",(char *) "other", NULL
23464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
23465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23467 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23468 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23470 if (arg2
== NULL
) {
23471 PyErr_SetString(PyExc_TypeError
,"null reference");
23475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23477 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
23478 result
= (wxDateSpan
*) &_result_ref
;
23481 wxPyEndAllowThreads(__tstate
);
23482 if (PyErr_Occurred()) SWIG_fail
;
23484 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23491 static PyObject
*_wrap_DateSpan___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23492 PyObject
*resultobj
;
23493 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23494 wxDateSpan
*arg2
= 0 ;
23495 wxDateSpan
*result
;
23496 PyObject
* obj0
= 0 ;
23497 PyObject
* obj1
= 0 ;
23498 char *kwnames
[] = {
23499 (char *) "self",(char *) "other", NULL
23502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
23503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23505 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23506 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23508 if (arg2
== NULL
) {
23509 PyErr_SetString(PyExc_TypeError
,"null reference");
23513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23515 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
23516 result
= (wxDateSpan
*) &_result_ref
;
23519 wxPyEndAllowThreads(__tstate
);
23520 if (PyErr_Occurred()) SWIG_fail
;
23522 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23529 static PyObject
*_wrap_DateSpan___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23530 PyObject
*resultobj
;
23531 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23532 wxDateSpan
*result
;
23533 PyObject
* obj0
= 0 ;
23534 char *kwnames
[] = {
23535 (char *) "self", NULL
23538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan___neg__",kwnames
,&obj0
)) goto fail
;
23539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23544 wxDateSpan
&_result_ref
= (arg1
)->operator -();
23545 result
= (wxDateSpan
*) &_result_ref
;
23548 wxPyEndAllowThreads(__tstate
);
23549 if (PyErr_Occurred()) SWIG_fail
;
23551 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23558 static PyObject
*_wrap_DateSpan___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23559 PyObject
*resultobj
;
23560 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23562 wxDateSpan
*result
;
23563 PyObject
* obj0
= 0 ;
23564 PyObject
* obj1
= 0 ;
23565 char *kwnames
[] = {
23566 (char *) "self",(char *) "factor", NULL
23569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23572 arg2
= (int) SWIG_AsInt(obj1
);
23573 if (PyErr_Occurred()) SWIG_fail
;
23575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23577 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
23578 result
= (wxDateSpan
*) &_result_ref
;
23581 wxPyEndAllowThreads(__tstate
);
23582 if (PyErr_Occurred()) SWIG_fail
;
23584 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23591 static PyObject
*_wrap_DateSpan___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23592 PyObject
*resultobj
;
23593 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23594 wxDateSpan
*arg2
= 0 ;
23596 PyObject
* obj0
= 0 ;
23597 PyObject
* obj1
= 0 ;
23598 char *kwnames
[] = {
23599 (char *) "self",(char *) "other", NULL
23602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
23603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23605 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23606 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23608 if (arg2
== NULL
) {
23609 PyErr_SetString(PyExc_TypeError
,"null reference");
23613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23614 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
23616 wxPyEndAllowThreads(__tstate
);
23617 if (PyErr_Occurred()) SWIG_fail
;
23620 wxDateSpan
* resultptr
;
23621 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23622 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23630 static PyObject
*_wrap_DateSpan___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23631 PyObject
*resultobj
;
23632 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23633 wxDateSpan
*arg2
= 0 ;
23635 PyObject
* obj0
= 0 ;
23636 PyObject
* obj1
= 0 ;
23637 char *kwnames
[] = {
23638 (char *) "self",(char *) "other", NULL
23641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
23642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23644 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23645 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23647 if (arg2
== NULL
) {
23648 PyErr_SetString(PyExc_TypeError
,"null reference");
23652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23653 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
23655 wxPyEndAllowThreads(__tstate
);
23656 if (PyErr_Occurred()) SWIG_fail
;
23659 wxDateSpan
* resultptr
;
23660 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23661 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23669 static PyObject
*_wrap_DateSpan___mul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23670 PyObject
*resultobj
;
23671 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23674 PyObject
* obj0
= 0 ;
23675 PyObject
* obj1
= 0 ;
23676 char *kwnames
[] = {
23677 (char *) "self",(char *) "n", NULL
23680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23683 arg2
= (int) SWIG_AsInt(obj1
);
23684 if (PyErr_Occurred()) SWIG_fail
;
23686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23687 result
= wxDateSpan___mul__(arg1
,arg2
);
23689 wxPyEndAllowThreads(__tstate
);
23690 if (PyErr_Occurred()) SWIG_fail
;
23693 wxDateSpan
* resultptr
;
23694 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23695 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23703 static PyObject
*_wrap_DateSpan___rmul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23704 PyObject
*resultobj
;
23705 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23708 PyObject
* obj0
= 0 ;
23709 PyObject
* obj1
= 0 ;
23710 char *kwnames
[] = {
23711 (char *) "self",(char *) "n", NULL
23714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23717 arg2
= (int) SWIG_AsInt(obj1
);
23718 if (PyErr_Occurred()) SWIG_fail
;
23720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23721 result
= wxDateSpan___rmul__(arg1
,arg2
);
23723 wxPyEndAllowThreads(__tstate
);
23724 if (PyErr_Occurred()) SWIG_fail
;
23727 wxDateSpan
* resultptr
;
23728 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23729 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23737 static PyObject
*_wrap_DateSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23738 PyObject
*resultobj
;
23739 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23740 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
23742 PyObject
* obj0
= 0 ;
23743 PyObject
* obj1
= 0 ;
23744 char *kwnames
[] = {
23745 (char *) "self",(char *) "other", NULL
23748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
23749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23751 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23755 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const *)arg2
);
23757 wxPyEndAllowThreads(__tstate
);
23758 if (PyErr_Occurred()) SWIG_fail
;
23761 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23769 static PyObject
*_wrap_DateSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23770 PyObject
*resultobj
;
23771 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23772 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
23774 PyObject
* obj0
= 0 ;
23775 PyObject
* obj1
= 0 ;
23776 char *kwnames
[] = {
23777 (char *) "self",(char *) "other", NULL
23780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
23781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23783 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23787 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const *)arg2
);
23789 wxPyEndAllowThreads(__tstate
);
23790 if (PyErr_Occurred()) SWIG_fail
;
23793 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23801 static PyObject
* DateSpan_swigregister(PyObject
*self
, PyObject
*args
) {
23803 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23804 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan
, obj
);
23806 return Py_BuildValue((char *)"");
23808 static PyObject
*_wrap_GetLocalTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23809 PyObject
*resultobj
;
23811 char *kwnames
[] = {
23815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTime",kwnames
)) goto fail
;
23817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23818 result
= (long)wxGetLocalTime();
23820 wxPyEndAllowThreads(__tstate
);
23821 if (PyErr_Occurred()) SWIG_fail
;
23823 resultobj
= SWIG_FromLong((long)result
);
23830 static PyObject
*_wrap_GetUTCTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23831 PyObject
*resultobj
;
23833 char *kwnames
[] = {
23837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUTCTime",kwnames
)) goto fail
;
23839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23840 result
= (long)wxGetUTCTime();
23842 wxPyEndAllowThreads(__tstate
);
23843 if (PyErr_Occurred()) SWIG_fail
;
23845 resultobj
= SWIG_FromLong((long)result
);
23852 static PyObject
*_wrap_GetCurrentTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23853 PyObject
*resultobj
;
23855 char *kwnames
[] = {
23859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentTime",kwnames
)) goto fail
;
23861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23862 result
= (long)wxGetCurrentTime();
23864 wxPyEndAllowThreads(__tstate
);
23865 if (PyErr_Occurred()) SWIG_fail
;
23867 resultobj
= SWIG_FromLong((long)result
);
23874 static PyObject
*_wrap_GetLocalTimeMillis(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23875 PyObject
*resultobj
;
23877 char *kwnames
[] = {
23881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTimeMillis",kwnames
)) goto fail
;
23883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23884 result
= wxGetLocalTimeMillis();
23886 wxPyEndAllowThreads(__tstate
);
23887 if (PyErr_Occurred()) SWIG_fail
;
23890 PyObject
*hi
, *lo
, *shifter
, *shifted
;
23891 hi
= PyLong_FromLong( (&result
)->GetHi() );
23892 lo
= PyLong_FromLong( (&result
)->GetLo() );
23893 shifter
= PyLong_FromLong(32);
23894 shifted
= PyNumber_Lshift(hi
, shifter
);
23895 resultobj
= PyNumber_Or(shifted
, lo
);
23898 Py_DECREF(shifter
);
23899 Py_DECREF(shifted
);
23907 static int _wrap_DefaultDateTime_set(PyObject
*_val
) {
23908 PyErr_SetString(PyExc_TypeError
,"Variable DefaultDateTime is read-only.");
23913 static PyObject
*_wrap_DefaultDateTime_get() {
23916 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultDateTime
), SWIGTYPE_p_wxDateTime
, 0);
23921 static PyObject
*_wrap_new_DataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23922 PyObject
*resultobj
;
23924 wxDataFormat
*result
;
23925 PyObject
* obj0
= 0 ;
23926 char *kwnames
[] = {
23927 (char *) "type", NULL
23930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) goto fail
;
23931 arg1
= (wxDataFormatId
) SWIG_AsInt(obj0
);
23932 if (PyErr_Occurred()) SWIG_fail
;
23934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23935 result
= (wxDataFormat
*)new wxDataFormat((wxDataFormatId
)arg1
);
23937 wxPyEndAllowThreads(__tstate
);
23938 if (PyErr_Occurred()) SWIG_fail
;
23940 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
23947 static PyObject
*_wrap_new_CustomDataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23948 PyObject
*resultobj
;
23949 wxString
*arg1
= 0 ;
23950 wxDataFormat
*result
;
23951 bool temp1
= False
;
23952 PyObject
* obj0
= 0 ;
23953 char *kwnames
[] = {
23954 (char *) "format", NULL
23957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) goto fail
;
23959 arg1
= wxString_in_helper(obj0
);
23960 if (arg1
== NULL
) SWIG_fail
;
23964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23965 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
23967 wxPyEndAllowThreads(__tstate
);
23968 if (PyErr_Occurred()) SWIG_fail
;
23970 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
23985 static PyObject
*_wrap_delete_DataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23986 PyObject
*resultobj
;
23987 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23988 PyObject
* obj0
= 0 ;
23989 char *kwnames
[] = {
23990 (char *) "self", NULL
23993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataFormat",kwnames
,&obj0
)) goto fail
;
23994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24000 wxPyEndAllowThreads(__tstate
);
24001 if (PyErr_Occurred()) SWIG_fail
;
24003 Py_INCREF(Py_None
); resultobj
= Py_None
;
24010 static PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*self
, PyObject
*args
) {
24011 PyObject
*resultobj
;
24012 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24015 PyObject
* obj0
= 0 ;
24016 PyObject
* obj1
= 0 ;
24018 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
24019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24021 arg2
= (wxDataFormatId
) SWIG_AsInt(obj1
);
24022 if (PyErr_Occurred()) SWIG_fail
;
24024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24025 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormatId
)arg2
);
24027 wxPyEndAllowThreads(__tstate
);
24028 if (PyErr_Occurred()) SWIG_fail
;
24031 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24039 static PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*self
, PyObject
*args
) {
24040 PyObject
*resultobj
;
24041 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24044 PyObject
* obj0
= 0 ;
24045 PyObject
* obj1
= 0 ;
24047 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
24048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24050 arg2
= (wxDataFormatId
) SWIG_AsInt(obj1
);
24051 if (PyErr_Occurred()) SWIG_fail
;
24053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24054 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormatId
)arg2
);
24056 wxPyEndAllowThreads(__tstate
);
24057 if (PyErr_Occurred()) SWIG_fail
;
24060 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24068 static PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*self
, PyObject
*args
) {
24069 PyObject
*resultobj
;
24070 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24071 wxDataFormat
*arg2
= 0 ;
24073 PyObject
* obj0
= 0 ;
24074 PyObject
* obj1
= 0 ;
24076 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
24077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24079 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24080 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24082 if (arg2
== NULL
) {
24083 PyErr_SetString(PyExc_TypeError
,"null reference");
24087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24088 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
24090 wxPyEndAllowThreads(__tstate
);
24091 if (PyErr_Occurred()) SWIG_fail
;
24094 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24102 static PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
24107 argc
= PyObject_Length(args
);
24108 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
24109 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24115 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24125 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24133 return _wrap_DataFormat___eq____SWIG_1(self
,args
);
24141 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24149 _v
= SWIG_CheckInt(argv
[1]);
24151 return _wrap_DataFormat___eq____SWIG_0(self
,args
);
24156 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___eq__'");
24161 static PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*self
, PyObject
*args
) {
24162 PyObject
*resultobj
;
24163 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24164 wxDataFormat
*arg2
= 0 ;
24166 PyObject
* obj0
= 0 ;
24167 PyObject
* obj1
= 0 ;
24169 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
24170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24172 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24173 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24175 if (arg2
== NULL
) {
24176 PyErr_SetString(PyExc_TypeError
,"null reference");
24180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24181 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
24183 wxPyEndAllowThreads(__tstate
);
24184 if (PyErr_Occurred()) SWIG_fail
;
24187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24195 static PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
24200 argc
= PyObject_Length(args
);
24201 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
24202 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24208 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24218 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24226 return _wrap_DataFormat___ne____SWIG_1(self
,args
);
24234 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24242 _v
= SWIG_CheckInt(argv
[1]);
24244 return _wrap_DataFormat___ne____SWIG_0(self
,args
);
24249 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___ne__'");
24254 static PyObject
*_wrap_DataFormat_SetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24255 PyObject
*resultobj
;
24256 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24258 PyObject
* obj0
= 0 ;
24259 PyObject
* obj1
= 0 ;
24260 char *kwnames
[] = {
24261 (char *) "self",(char *) "format", NULL
24264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
24265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24267 arg2
= (wxDataFormatId
) SWIG_AsInt(obj1
);
24268 if (PyErr_Occurred()) SWIG_fail
;
24270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24271 (arg1
)->SetType((wxDataFormatId
)arg2
);
24273 wxPyEndAllowThreads(__tstate
);
24274 if (PyErr_Occurred()) SWIG_fail
;
24276 Py_INCREF(Py_None
); resultobj
= Py_None
;
24283 static PyObject
*_wrap_DataFormat_GetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24284 PyObject
*resultobj
;
24285 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24287 PyObject
* obj0
= 0 ;
24288 char *kwnames
[] = {
24289 (char *) "self", NULL
24292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetType",kwnames
,&obj0
)) goto fail
;
24293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24297 result
= (int)((wxDataFormat
const *)arg1
)->GetType();
24299 wxPyEndAllowThreads(__tstate
);
24300 if (PyErr_Occurred()) SWIG_fail
;
24302 resultobj
= SWIG_FromInt((int)result
);
24309 static PyObject
*_wrap_DataFormat_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24310 PyObject
*resultobj
;
24311 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24313 PyObject
* obj0
= 0 ;
24314 char *kwnames
[] = {
24315 (char *) "self", NULL
24318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetId",kwnames
,&obj0
)) goto fail
;
24319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24323 result
= ((wxDataFormat
const *)arg1
)->GetId();
24325 wxPyEndAllowThreads(__tstate
);
24326 if (PyErr_Occurred()) SWIG_fail
;
24330 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24332 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24341 static PyObject
*_wrap_DataFormat_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24342 PyObject
*resultobj
;
24343 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24344 wxString
*arg2
= 0 ;
24345 bool temp2
= False
;
24346 PyObject
* obj0
= 0 ;
24347 PyObject
* obj1
= 0 ;
24348 char *kwnames
[] = {
24349 (char *) "self",(char *) "format", NULL
24352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
24353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24356 arg2
= wxString_in_helper(obj1
);
24357 if (arg2
== NULL
) SWIG_fail
;
24361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24362 (arg1
)->SetId((wxString
const &)*arg2
);
24364 wxPyEndAllowThreads(__tstate
);
24365 if (PyErr_Occurred()) SWIG_fail
;
24367 Py_INCREF(Py_None
); resultobj
= Py_None
;
24382 static PyObject
* DataFormat_swigregister(PyObject
*self
, PyObject
*args
) {
24384 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24385 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat
, obj
);
24387 return Py_BuildValue((char *)"");
24389 static int _wrap_FormatInvalid_set(PyObject
*_val
) {
24390 PyErr_SetString(PyExc_TypeError
,"Variable FormatInvalid is read-only.");
24395 static PyObject
*_wrap_FormatInvalid_get() {
24398 pyobj
= SWIG_NewPointerObj((void *)(&wxFormatInvalid
), SWIGTYPE_p_wxDataFormat
, 0);
24403 static PyObject
*_wrap_delete_DataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24404 PyObject
*resultobj
;
24405 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24406 PyObject
* obj0
= 0 ;
24407 char *kwnames
[] = {
24408 (char *) "self", NULL
24411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataObject",kwnames
,&obj0
)) goto fail
;
24412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24418 wxPyEndAllowThreads(__tstate
);
24419 if (PyErr_Occurred()) SWIG_fail
;
24421 Py_INCREF(Py_None
); resultobj
= Py_None
;
24428 static PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24429 PyObject
*resultobj
;
24430 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24431 int arg2
= (int) wxDataObject::Get
;
24432 SwigValueWrapper
< wxDataFormat
> result
;
24433 PyObject
* obj0
= 0 ;
24434 PyObject
* obj1
= 0 ;
24435 char *kwnames
[] = {
24436 (char *) "self",(char *) "dir", NULL
24439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
24440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24443 arg2
= (wxDataObject::Direction
) SWIG_AsInt(obj1
);
24444 if (PyErr_Occurred()) SWIG_fail
;
24447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24448 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat((wxDataObject::Direction
)arg2
);
24450 wxPyEndAllowThreads(__tstate
);
24451 if (PyErr_Occurred()) SWIG_fail
;
24454 wxDataFormat
* resultptr
;
24455 resultptr
= new wxDataFormat((wxDataFormat
&) result
);
24456 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDataFormat
, 1);
24464 static PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24465 PyObject
*resultobj
;
24466 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24467 int arg2
= (int) wxDataObject::Get
;
24469 PyObject
* obj0
= 0 ;
24470 PyObject
* obj1
= 0 ;
24471 char *kwnames
[] = {
24472 (char *) "self",(char *) "dir", NULL
24475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) goto fail
;
24476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24479 arg2
= (wxDataObject::Direction
) SWIG_AsInt(obj1
);
24480 if (PyErr_Occurred()) SWIG_fail
;
24483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24484 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount((wxDataObject::Direction
)arg2
);
24486 wxPyEndAllowThreads(__tstate
);
24487 if (PyErr_Occurred()) SWIG_fail
;
24489 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24496 static PyObject
*_wrap_DataObject_IsSupported(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24497 PyObject
*resultobj
;
24498 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24499 wxDataFormat
*arg2
= 0 ;
24500 int arg3
= (int) wxDataObject::Get
;
24502 PyObject
* obj0
= 0 ;
24503 PyObject
* obj1
= 0 ;
24504 PyObject
* obj2
= 0 ;
24505 char *kwnames
[] = {
24506 (char *) "self",(char *) "format",(char *) "dir", NULL
24509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24512 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24513 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24515 if (arg2
== NULL
) {
24516 PyErr_SetString(PyExc_TypeError
,"null reference");
24520 arg3
= (wxDataObject::Direction
) SWIG_AsInt(obj2
);
24521 if (PyErr_Occurred()) SWIG_fail
;
24524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24525 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,(wxDataObject::Direction
)arg3
);
24527 wxPyEndAllowThreads(__tstate
);
24528 if (PyErr_Occurred()) SWIG_fail
;
24531 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24539 static PyObject
*_wrap_DataObject_GetDataSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24540 PyObject
*resultobj
;
24541 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24542 wxDataFormat
*arg2
= 0 ;
24544 PyObject
* obj0
= 0 ;
24545 PyObject
* obj1
= 0 ;
24546 char *kwnames
[] = {
24547 (char *) "self",(char *) "format", NULL
24550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) goto fail
;
24551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24553 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24554 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24556 if (arg2
== NULL
) {
24557 PyErr_SetString(PyExc_TypeError
,"null reference");
24561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24562 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
24564 wxPyEndAllowThreads(__tstate
);
24565 if (PyErr_Occurred()) SWIG_fail
;
24567 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24574 static PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24575 PyObject
*resultobj
;
24576 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24577 int arg2
= (int) wxDataObject::Get
;
24579 PyObject
* obj0
= 0 ;
24580 PyObject
* obj1
= 0 ;
24581 char *kwnames
[] = {
24582 (char *) "self",(char *) "dir", NULL
24585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
)) goto fail
;
24586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24589 arg2
= (wxDataObject::Direction
) SWIG_AsInt(obj1
);
24590 if (PyErr_Occurred()) SWIG_fail
;
24593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24594 result
= (PyObject
*)wxDataObject_GetAllFormats(arg1
,(wxDataObject::Direction
)arg2
);
24596 wxPyEndAllowThreads(__tstate
);
24597 if (PyErr_Occurred()) SWIG_fail
;
24599 resultobj
= result
;
24606 static PyObject
*_wrap_DataObject_GetDataHere(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24607 PyObject
*resultobj
;
24608 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24609 wxDataFormat
*arg2
= 0 ;
24611 PyObject
* obj0
= 0 ;
24612 PyObject
* obj1
= 0 ;
24613 char *kwnames
[] = {
24614 (char *) "self",(char *) "format", NULL
24617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
)) goto fail
;
24618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24620 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24621 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24623 if (arg2
== NULL
) {
24624 PyErr_SetString(PyExc_TypeError
,"null reference");
24628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24629 result
= (PyObject
*)wxDataObject_GetDataHere(arg1
,(wxDataFormat
const &)*arg2
);
24631 wxPyEndAllowThreads(__tstate
);
24632 if (PyErr_Occurred()) SWIG_fail
;
24634 resultobj
= result
;
24641 static PyObject
*_wrap_DataObject_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24642 PyObject
*resultobj
;
24643 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24644 wxDataFormat
*arg2
= 0 ;
24645 PyObject
*arg3
= (PyObject
*) 0 ;
24647 PyObject
* obj0
= 0 ;
24648 PyObject
* obj1
= 0 ;
24649 PyObject
* obj2
= 0 ;
24650 char *kwnames
[] = {
24651 (char *) "self",(char *) "format",(char *) "data", NULL
24654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24657 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24658 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24660 if (arg2
== NULL
) {
24661 PyErr_SetString(PyExc_TypeError
,"null reference");
24666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24667 result
= (bool)wxDataObject_SetData(arg1
,(wxDataFormat
const &)*arg2
,arg3
);
24669 wxPyEndAllowThreads(__tstate
);
24670 if (PyErr_Occurred()) SWIG_fail
;
24673 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24681 static PyObject
* DataObject_swigregister(PyObject
*self
, PyObject
*args
) {
24683 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24684 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject
, obj
);
24686 return Py_BuildValue((char *)"");
24688 static PyObject
*_wrap_new_DataObjectSimple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24689 PyObject
*resultobj
;
24690 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
24691 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
24692 wxDataObjectSimple
*result
;
24693 PyObject
* obj0
= 0 ;
24694 char *kwnames
[] = {
24695 (char *) "format", NULL
24698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) goto fail
;
24700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24701 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24703 if (arg1
== NULL
) {
24704 PyErr_SetString(PyExc_TypeError
,"null reference");
24709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24710 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
24712 wxPyEndAllowThreads(__tstate
);
24713 if (PyErr_Occurred()) SWIG_fail
;
24715 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectSimple
, 1);
24722 static PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24723 PyObject
*resultobj
;
24724 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24725 wxDataFormat
*result
;
24726 PyObject
* obj0
= 0 ;
24727 char *kwnames
[] = {
24728 (char *) "self", NULL
24731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetFormat",kwnames
,&obj0
)) goto fail
;
24732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24737 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
24738 result
= (wxDataFormat
*) &_result_ref
;
24741 wxPyEndAllowThreads(__tstate
);
24742 if (PyErr_Occurred()) SWIG_fail
;
24744 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 0);
24751 static PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24752 PyObject
*resultobj
;
24753 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24754 wxDataFormat
*arg2
= 0 ;
24755 PyObject
* obj0
= 0 ;
24756 PyObject
* obj1
= 0 ;
24757 char *kwnames
[] = {
24758 (char *) "self",(char *) "format", NULL
24761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
24762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24764 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24765 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24767 if (arg2
== NULL
) {
24768 PyErr_SetString(PyExc_TypeError
,"null reference");
24772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24773 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
24775 wxPyEndAllowThreads(__tstate
);
24776 if (PyErr_Occurred()) SWIG_fail
;
24778 Py_INCREF(Py_None
); resultobj
= Py_None
;
24785 static PyObject
*_wrap_DataObjectSimple_GetDataSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24786 PyObject
*resultobj
;
24787 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24789 PyObject
* obj0
= 0 ;
24790 char *kwnames
[] = {
24791 (char *) "self", NULL
24794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataSize",kwnames
,&obj0
)) goto fail
;
24795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24799 result
= (size_t)((wxDataObjectSimple
const *)arg1
)->GetDataSize();
24801 wxPyEndAllowThreads(__tstate
);
24802 if (PyErr_Occurred()) SWIG_fail
;
24804 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24811 static PyObject
*_wrap_DataObjectSimple_GetDataHere(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24812 PyObject
*resultobj
;
24813 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24815 PyObject
* obj0
= 0 ;
24816 char *kwnames
[] = {
24817 (char *) "self", NULL
24820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataHere",kwnames
,&obj0
)) goto fail
;
24821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24825 result
= (PyObject
*)wxDataObjectSimple_GetDataHere(arg1
);
24827 wxPyEndAllowThreads(__tstate
);
24828 if (PyErr_Occurred()) SWIG_fail
;
24830 resultobj
= result
;
24837 static PyObject
*_wrap_DataObjectSimple_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24838 PyObject
*resultobj
;
24839 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24840 PyObject
*arg2
= (PyObject
*) 0 ;
24842 PyObject
* obj0
= 0 ;
24843 PyObject
* obj1
= 0 ;
24844 char *kwnames
[] = {
24845 (char *) "self",(char *) "data", NULL
24848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
24849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24854 result
= (bool)wxDataObjectSimple_SetData(arg1
,arg2
);
24856 wxPyEndAllowThreads(__tstate
);
24857 if (PyErr_Occurred()) SWIG_fail
;
24860 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24868 static PyObject
* DataObjectSimple_swigregister(PyObject
*self
, PyObject
*args
) {
24870 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24871 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple
, obj
);
24873 return Py_BuildValue((char *)"");
24875 static PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24876 PyObject
*resultobj
;
24877 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
24878 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
24879 wxPyDataObjectSimple
*result
;
24880 PyObject
* obj0
= 0 ;
24881 char *kwnames
[] = {
24882 (char *) "format", NULL
24885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) goto fail
;
24887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24888 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24890 if (arg1
== NULL
) {
24891 PyErr_SetString(PyExc_TypeError
,"null reference");
24896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24897 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
24899 wxPyEndAllowThreads(__tstate
);
24900 if (PyErr_Occurred()) SWIG_fail
;
24902 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDataObjectSimple
, 1);
24909 static PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24910 PyObject
*resultobj
;
24911 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
24912 PyObject
*arg2
= (PyObject
*) 0 ;
24913 PyObject
*arg3
= (PyObject
*) 0 ;
24914 PyObject
* obj0
= 0 ;
24915 PyObject
* obj1
= 0 ;
24916 PyObject
* obj2
= 0 ;
24917 char *kwnames
[] = {
24918 (char *) "self",(char *) "self",(char *) "_class", NULL
24921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDataObjectSimple
,
24923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24928 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24930 wxPyEndAllowThreads(__tstate
);
24931 if (PyErr_Occurred()) SWIG_fail
;
24933 Py_INCREF(Py_None
); resultobj
= Py_None
;
24940 static PyObject
* PyDataObjectSimple_swigregister(PyObject
*self
, PyObject
*args
) {
24942 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24943 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple
, obj
);
24945 return Py_BuildValue((char *)"");
24947 static PyObject
*_wrap_new_DataObjectComposite(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24948 PyObject
*resultobj
;
24949 wxDataObjectComposite
*result
;
24950 char *kwnames
[] = {
24954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DataObjectComposite",kwnames
)) goto fail
;
24956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24957 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
24959 wxPyEndAllowThreads(__tstate
);
24960 if (PyErr_Occurred()) SWIG_fail
;
24962 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectComposite
, 1);
24969 static PyObject
*_wrap_DataObjectComposite_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24970 PyObject
*resultobj
;
24971 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
24972 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
24973 bool arg3
= (bool) False
;
24974 PyObject
* obj0
= 0 ;
24975 PyObject
* obj1
= 0 ;
24976 PyObject
* obj2
= 0 ;
24977 char *kwnames
[] = {
24978 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
24981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectComposite
,
24983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24984 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObjectSimple
,
24985 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24987 arg3
= (bool) SWIG_AsBool(obj2
);
24988 if (PyErr_Occurred()) SWIG_fail
;
24991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24992 (arg1
)->Add(arg2
,arg3
);
24994 wxPyEndAllowThreads(__tstate
);
24995 if (PyErr_Occurred()) SWIG_fail
;
24997 Py_INCREF(Py_None
); resultobj
= Py_None
;
25004 static PyObject
* DataObjectComposite_swigregister(PyObject
*self
, PyObject
*args
) {
25006 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25007 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite
, obj
);
25009 return Py_BuildValue((char *)"");
25011 static PyObject
*_wrap_new_TextDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25012 PyObject
*resultobj
;
25013 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25014 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25015 wxTextDataObject
*result
;
25016 bool temp1
= False
;
25017 PyObject
* obj0
= 0 ;
25018 char *kwnames
[] = {
25019 (char *) "text", NULL
25022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) goto fail
;
25025 arg1
= wxString_in_helper(obj0
);
25026 if (arg1
== NULL
) SWIG_fail
;
25031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25032 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
25034 wxPyEndAllowThreads(__tstate
);
25035 if (PyErr_Occurred()) SWIG_fail
;
25037 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextDataObject
, 1);
25052 static PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25053 PyObject
*resultobj
;
25054 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
25056 PyObject
* obj0
= 0 ;
25057 char *kwnames
[] = {
25058 (char *) "self", NULL
25061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetTextLength",kwnames
,&obj0
)) goto fail
;
25062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
25063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25066 result
= (size_t)(arg1
)->GetTextLength();
25068 wxPyEndAllowThreads(__tstate
);
25069 if (PyErr_Occurred()) SWIG_fail
;
25071 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
25078 static PyObject
*_wrap_TextDataObject_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25079 PyObject
*resultobj
;
25080 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
25082 PyObject
* obj0
= 0 ;
25083 char *kwnames
[] = {
25084 (char *) "self", NULL
25087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetText",kwnames
,&obj0
)) goto fail
;
25088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
25089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25092 result
= (arg1
)->GetText();
25094 wxPyEndAllowThreads(__tstate
);
25095 if (PyErr_Occurred()) SWIG_fail
;
25099 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25101 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25110 static PyObject
*_wrap_TextDataObject_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25111 PyObject
*resultobj
;
25112 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
25113 wxString
*arg2
= 0 ;
25114 bool temp2
= False
;
25115 PyObject
* obj0
= 0 ;
25116 PyObject
* obj1
= 0 ;
25117 char *kwnames
[] = {
25118 (char *) "self",(char *) "text", NULL
25121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
25122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
25123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25125 arg2
= wxString_in_helper(obj1
);
25126 if (arg2
== NULL
) SWIG_fail
;
25130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25131 (arg1
)->SetText((wxString
const &)*arg2
);
25133 wxPyEndAllowThreads(__tstate
);
25134 if (PyErr_Occurred()) SWIG_fail
;
25136 Py_INCREF(Py_None
); resultobj
= Py_None
;
25151 static PyObject
* TextDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25153 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25154 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject
, obj
);
25156 return Py_BuildValue((char *)"");
25158 static PyObject
*_wrap_new_PyTextDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25159 PyObject
*resultobj
;
25160 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25161 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25162 wxPyTextDataObject
*result
;
25163 bool temp1
= False
;
25164 PyObject
* obj0
= 0 ;
25165 char *kwnames
[] = {
25166 (char *) "text", NULL
25169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) goto fail
;
25172 arg1
= wxString_in_helper(obj0
);
25173 if (arg1
== NULL
) SWIG_fail
;
25178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25179 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
25181 wxPyEndAllowThreads(__tstate
);
25182 if (PyErr_Occurred()) SWIG_fail
;
25184 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDataObject
, 1);
25199 static PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25200 PyObject
*resultobj
;
25201 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
25202 PyObject
*arg2
= (PyObject
*) 0 ;
25203 PyObject
*arg3
= (PyObject
*) 0 ;
25204 PyObject
* obj0
= 0 ;
25205 PyObject
* obj1
= 0 ;
25206 PyObject
* obj2
= 0 ;
25207 char *kwnames
[] = {
25208 (char *) "self",(char *) "self",(char *) "_class", NULL
25211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDataObject
,
25213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25218 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25220 wxPyEndAllowThreads(__tstate
);
25221 if (PyErr_Occurred()) SWIG_fail
;
25223 Py_INCREF(Py_None
); resultobj
= Py_None
;
25230 static PyObject
* PyTextDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25232 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25233 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject
, obj
);
25235 return Py_BuildValue((char *)"");
25237 static PyObject
*_wrap_new_BitmapDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25238 PyObject
*resultobj
;
25239 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
25240 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
25241 wxBitmapDataObject
*result
;
25242 PyObject
* obj0
= 0 ;
25243 char *kwnames
[] = {
25244 (char *) "bitmap", NULL
25247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) goto fail
;
25249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
25250 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25252 if (arg1
== NULL
) {
25253 PyErr_SetString(PyExc_TypeError
,"null reference");
25258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25259 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
25261 wxPyEndAllowThreads(__tstate
);
25262 if (PyErr_Occurred()) SWIG_fail
;
25264 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapDataObject
, 1);
25271 static PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25272 PyObject
*resultobj
;
25273 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
25275 PyObject
* obj0
= 0 ;
25276 char *kwnames
[] = {
25277 (char *) "self", NULL
25280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapDataObject_GetBitmap",kwnames
,&obj0
)) goto fail
;
25281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapDataObject
,
25282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25285 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
25287 wxPyEndAllowThreads(__tstate
);
25288 if (PyErr_Occurred()) SWIG_fail
;
25291 wxBitmap
* resultptr
;
25292 resultptr
= new wxBitmap((wxBitmap
&) result
);
25293 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
25301 static PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25302 PyObject
*resultobj
;
25303 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
25304 wxBitmap
*arg2
= 0 ;
25305 PyObject
* obj0
= 0 ;
25306 PyObject
* obj1
= 0 ;
25307 char *kwnames
[] = {
25308 (char *) "self",(char *) "bitmap", NULL
25311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
25312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapDataObject
,
25313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25314 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
25315 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25317 if (arg2
== NULL
) {
25318 PyErr_SetString(PyExc_TypeError
,"null reference");
25322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25323 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
25325 wxPyEndAllowThreads(__tstate
);
25326 if (PyErr_Occurred()) SWIG_fail
;
25328 Py_INCREF(Py_None
); resultobj
= Py_None
;
25335 static PyObject
* BitmapDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25337 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25338 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject
, obj
);
25340 return Py_BuildValue((char *)"");
25342 static PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25343 PyObject
*resultobj
;
25344 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
25345 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
25346 wxPyBitmapDataObject
*result
;
25347 PyObject
* obj0
= 0 ;
25348 char *kwnames
[] = {
25349 (char *) "bitmap", NULL
25352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) goto fail
;
25354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
25355 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25357 if (arg1
== NULL
) {
25358 PyErr_SetString(PyExc_TypeError
,"null reference");
25363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25364 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
25366 wxPyEndAllowThreads(__tstate
);
25367 if (PyErr_Occurred()) SWIG_fail
;
25369 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyBitmapDataObject
, 1);
25376 static PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25377 PyObject
*resultobj
;
25378 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
25379 PyObject
*arg2
= (PyObject
*) 0 ;
25380 PyObject
*arg3
= (PyObject
*) 0 ;
25381 PyObject
* obj0
= 0 ;
25382 PyObject
* obj1
= 0 ;
25383 PyObject
* obj2
= 0 ;
25384 char *kwnames
[] = {
25385 (char *) "self",(char *) "self",(char *) "_class", NULL
25388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapDataObject
,
25390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25395 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25397 wxPyEndAllowThreads(__tstate
);
25398 if (PyErr_Occurred()) SWIG_fail
;
25400 Py_INCREF(Py_None
); resultobj
= Py_None
;
25407 static PyObject
* PyBitmapDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25409 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25410 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject
, obj
);
25412 return Py_BuildValue((char *)"");
25414 static PyObject
*_wrap_new_FileDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25415 PyObject
*resultobj
;
25416 wxFileDataObject
*result
;
25417 char *kwnames
[] = {
25421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDataObject",kwnames
)) goto fail
;
25423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25424 result
= (wxFileDataObject
*)new wxFileDataObject();
25426 wxPyEndAllowThreads(__tstate
);
25427 if (PyErr_Occurred()) SWIG_fail
;
25429 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDataObject
, 1);
25436 static PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25437 PyObject
*resultobj
;
25438 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
25439 wxArrayString
*result
;
25440 PyObject
* obj0
= 0 ;
25441 char *kwnames
[] = {
25442 (char *) "self", NULL
25445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDataObject_GetFilenames",kwnames
,&obj0
)) goto fail
;
25446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDataObject
,
25447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25451 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
25452 result
= (wxArrayString
*) &_result_ref
;
25455 wxPyEndAllowThreads(__tstate
);
25456 if (PyErr_Occurred()) SWIG_fail
;
25459 resultobj
= wxArrayString2PyList_helper(*result
);
25467 static PyObject
*_wrap_FileDataObject_AddFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25468 PyObject
*resultobj
;
25469 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
25470 wxString
*arg2
= 0 ;
25471 bool temp2
= False
;
25472 PyObject
* obj0
= 0 ;
25473 PyObject
* obj1
= 0 ;
25474 char *kwnames
[] = {
25475 (char *) "self",(char *) "filename", NULL
25478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDataObject_AddFile",kwnames
,&obj0
,&obj1
)) goto fail
;
25479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDataObject
,
25480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25482 arg2
= wxString_in_helper(obj1
);
25483 if (arg2
== NULL
) SWIG_fail
;
25487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25488 (arg1
)->AddFile((wxString
const &)*arg2
);
25490 wxPyEndAllowThreads(__tstate
);
25491 if (PyErr_Occurred()) SWIG_fail
;
25493 Py_INCREF(Py_None
); resultobj
= Py_None
;
25508 static PyObject
* FileDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25510 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25511 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject
, obj
);
25513 return Py_BuildValue((char *)"");
25515 static PyObject
*_wrap_new_CustomDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25516 PyObject
*resultobj
;
25517 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
25518 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
25519 wxCustomDataObject
*result
;
25520 PyObject
* obj0
= 0 ;
25521 char *kwnames
[] = {
25522 (char *) "format", NULL
25525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CustomDataObject",kwnames
,&obj0
)) goto fail
;
25527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
25528 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25530 if (arg1
== NULL
) {
25531 PyErr_SetString(PyExc_TypeError
,"null reference");
25536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25537 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
25539 wxPyEndAllowThreads(__tstate
);
25540 if (PyErr_Occurred()) SWIG_fail
;
25542 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
25549 static PyObject
*_wrap_CustomDataObject_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25550 PyObject
*resultobj
;
25551 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25552 PyObject
*arg2
= (PyObject
*) 0 ;
25554 PyObject
* obj0
= 0 ;
25555 PyObject
* obj1
= 0 ;
25556 char *kwnames
[] = {
25557 (char *) "self",(char *) "data", NULL
25560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
25561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25566 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
25568 wxPyEndAllowThreads(__tstate
);
25569 if (PyErr_Occurred()) SWIG_fail
;
25572 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25580 static PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25581 PyObject
*resultobj
;
25582 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25584 PyObject
* obj0
= 0 ;
25585 char *kwnames
[] = {
25586 (char *) "self", NULL
25589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetSize",kwnames
,&obj0
)) goto fail
;
25590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25594 result
= (size_t)(arg1
)->GetSize();
25596 wxPyEndAllowThreads(__tstate
);
25597 if (PyErr_Occurred()) SWIG_fail
;
25599 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
25606 static PyObject
*_wrap_CustomDataObject_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25607 PyObject
*resultobj
;
25608 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25610 PyObject
* obj0
= 0 ;
25611 char *kwnames
[] = {
25612 (char *) "self", NULL
25615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetData",kwnames
,&obj0
)) goto fail
;
25616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25620 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
25622 wxPyEndAllowThreads(__tstate
);
25623 if (PyErr_Occurred()) SWIG_fail
;
25625 resultobj
= result
;
25632 static PyObject
* CustomDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25634 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25635 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject
, obj
);
25637 return Py_BuildValue((char *)"");
25639 static PyObject
*_wrap_new_URLDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25640 PyObject
*resultobj
;
25641 wxURLDataObject
*result
;
25642 char *kwnames
[] = {
25646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_URLDataObject",kwnames
)) goto fail
;
25648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25649 result
= (wxURLDataObject
*)new wxURLDataObject();
25651 wxPyEndAllowThreads(__tstate
);
25652 if (PyErr_Occurred()) SWIG_fail
;
25654 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxURLDataObject
, 1);
25661 static PyObject
*_wrap_URLDataObject_GetURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25662 PyObject
*resultobj
;
25663 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
25665 PyObject
* obj0
= 0 ;
25666 char *kwnames
[] = {
25667 (char *) "self", NULL
25670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:URLDataObject_GetURL",kwnames
,&obj0
)) goto fail
;
25671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxURLDataObject
,
25672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25675 result
= (arg1
)->GetURL();
25677 wxPyEndAllowThreads(__tstate
);
25678 if (PyErr_Occurred()) SWIG_fail
;
25682 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25684 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25693 static PyObject
*_wrap_URLDataObject_SetURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25694 PyObject
*resultobj
;
25695 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
25696 wxString
*arg2
= 0 ;
25697 bool temp2
= False
;
25698 PyObject
* obj0
= 0 ;
25699 PyObject
* obj1
= 0 ;
25700 char *kwnames
[] = {
25701 (char *) "self",(char *) "url", NULL
25704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) goto fail
;
25705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxURLDataObject
,
25706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25708 arg2
= wxString_in_helper(obj1
);
25709 if (arg2
== NULL
) SWIG_fail
;
25713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25714 (arg1
)->SetURL((wxString
const &)*arg2
);
25716 wxPyEndAllowThreads(__tstate
);
25717 if (PyErr_Occurred()) SWIG_fail
;
25719 Py_INCREF(Py_None
); resultobj
= Py_None
;
25734 static PyObject
* URLDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25736 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25737 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject
, obj
);
25739 return Py_BuildValue((char *)"");
25741 static PyObject
*_wrap_new_MetafileDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25742 PyObject
*resultobj
;
25743 wxMetafileDataObject
*result
;
25744 char *kwnames
[] = {
25748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MetafileDataObject",kwnames
)) goto fail
;
25750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25751 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
25753 wxPyEndAllowThreads(__tstate
);
25754 if (PyErr_Occurred()) SWIG_fail
;
25756 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetafileDataObject
, 1);
25763 static PyObject
*_wrap_MetafileDataObject_SetMetafile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25764 PyObject
*resultobj
;
25765 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
25766 wxMetafile
*arg2
= 0 ;
25767 PyObject
* obj0
= 0 ;
25768 PyObject
* obj1
= 0 ;
25769 char *kwnames
[] = {
25770 (char *) "self",(char *) "metafile", NULL
25773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MetafileDataObject_SetMetafile",kwnames
,&obj0
,&obj1
)) goto fail
;
25774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetafileDataObject
,
25775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25776 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMetafile
,
25777 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25779 if (arg2
== NULL
) {
25780 PyErr_SetString(PyExc_TypeError
,"null reference");
25784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25785 (arg1
)->SetMetafile((wxMetafile
const &)*arg2
);
25787 wxPyEndAllowThreads(__tstate
);
25788 if (PyErr_Occurred()) SWIG_fail
;
25790 Py_INCREF(Py_None
); resultobj
= Py_None
;
25797 static PyObject
*_wrap_MetafileDataObject_GetMetafile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25798 PyObject
*resultobj
;
25799 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
25801 PyObject
* obj0
= 0 ;
25802 char *kwnames
[] = {
25803 (char *) "self", NULL
25806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetafileDataObject_GetMetafile",kwnames
,&obj0
)) goto fail
;
25807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetafileDataObject
,
25808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25811 result
= ((wxMetafileDataObject
const *)arg1
)->GetMetafile();
25813 wxPyEndAllowThreads(__tstate
);
25814 if (PyErr_Occurred()) SWIG_fail
;
25817 wxMetafile
* resultptr
;
25818 resultptr
= new wxMetafile((wxMetafile
&) result
);
25819 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxMetafile
, 1);
25827 static PyObject
* MetafileDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25829 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25830 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject
, obj
);
25832 return Py_BuildValue((char *)"");
25834 static PyObject
*_wrap_IsDragResultOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25835 PyObject
*resultobj
;
25838 PyObject
* obj0
= 0 ;
25839 char *kwnames
[] = {
25840 (char *) "res", NULL
25843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) goto fail
;
25844 arg1
= (wxDragResult
) SWIG_AsInt(obj0
);
25845 if (PyErr_Occurred()) SWIG_fail
;
25847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25848 result
= (bool)wxIsDragResultOk((wxDragResult
)arg1
);
25850 wxPyEndAllowThreads(__tstate
);
25851 if (PyErr_Occurred()) SWIG_fail
;
25854 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25862 static PyObject
*_wrap_new_DropSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25863 PyObject
*resultobj
;
25864 wxWindow
*arg1
= (wxWindow
*) 0 ;
25865 wxCursor
const &arg2_defvalue
= wxNullCursor
;
25866 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
25867 wxCursor
const &arg3_defvalue
= wxNullCursor
;
25868 wxCursor
*arg3
= (wxCursor
*) &arg3_defvalue
;
25869 wxCursor
const &arg4_defvalue
= wxNullCursor
;
25870 wxCursor
*arg4
= (wxCursor
*) &arg4_defvalue
;
25871 wxPyDropSource
*result
;
25872 PyObject
* obj0
= 0 ;
25873 PyObject
* obj1
= 0 ;
25874 PyObject
* obj2
= 0 ;
25875 PyObject
* obj3
= 0 ;
25876 char *kwnames
[] = {
25877 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
25880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25884 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
25885 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25887 if (arg2
== NULL
) {
25888 PyErr_SetString(PyExc_TypeError
,"null reference");
25893 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxCursor
,
25894 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25896 if (arg3
== NULL
) {
25897 PyErr_SetString(PyExc_TypeError
,"null reference");
25902 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxCursor
,
25903 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25905 if (arg4
== NULL
) {
25906 PyErr_SetString(PyExc_TypeError
,"null reference");
25911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25912 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxCursor
const &)*arg2
,(wxCursor
const &)*arg3
,(wxCursor
const &)*arg4
);
25914 wxPyEndAllowThreads(__tstate
);
25915 if (PyErr_Occurred()) SWIG_fail
;
25917 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropSource
, 1);
25924 static PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25925 PyObject
*resultobj
;
25926 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25927 PyObject
*arg2
= (PyObject
*) 0 ;
25928 PyObject
*arg3
= (PyObject
*) 0 ;
25930 PyObject
* obj0
= 0 ;
25931 PyObject
* obj1
= 0 ;
25932 PyObject
* obj2
= 0 ;
25933 PyObject
* obj3
= 0 ;
25934 char *kwnames
[] = {
25935 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
25938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25943 arg4
= (int) SWIG_AsInt(obj3
);
25944 if (PyErr_Occurred()) SWIG_fail
;
25946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25947 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
25949 wxPyEndAllowThreads(__tstate
);
25950 if (PyErr_Occurred()) SWIG_fail
;
25952 Py_INCREF(Py_None
); resultobj
= Py_None
;
25959 static PyObject
*_wrap_delete_DropSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25960 PyObject
*resultobj
;
25961 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25962 PyObject
* obj0
= 0 ;
25963 char *kwnames
[] = {
25964 (char *) "self", NULL
25967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropSource",kwnames
,&obj0
)) goto fail
;
25968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25974 wxPyEndAllowThreads(__tstate
);
25975 if (PyErr_Occurred()) SWIG_fail
;
25977 Py_INCREF(Py_None
); resultobj
= Py_None
;
25984 static PyObject
*_wrap_DropSource_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25985 PyObject
*resultobj
;
25986 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25987 wxDataObject
*arg2
= 0 ;
25988 PyObject
* obj0
= 0 ;
25989 PyObject
* obj1
= 0 ;
25990 char *kwnames
[] = {
25991 (char *) "self",(char *) "data", NULL
25994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
25995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25997 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
25998 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26000 if (arg2
== NULL
) {
26001 PyErr_SetString(PyExc_TypeError
,"null reference");
26005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26006 (arg1
)->SetData(*arg2
);
26008 wxPyEndAllowThreads(__tstate
);
26009 if (PyErr_Occurred()) SWIG_fail
;
26011 Py_INCREF(Py_None
); resultobj
= Py_None
;
26018 static PyObject
*_wrap_DropSource_GetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26019 PyObject
*resultobj
;
26020 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26021 wxDataObject
*result
;
26022 PyObject
* obj0
= 0 ;
26023 char *kwnames
[] = {
26024 (char *) "self", NULL
26027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropSource_GetDataObject",kwnames
,&obj0
)) goto fail
;
26028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26032 result
= (wxDataObject
*)(arg1
)->GetDataObject();
26034 wxPyEndAllowThreads(__tstate
);
26035 if (PyErr_Occurred()) SWIG_fail
;
26037 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
26044 static PyObject
*_wrap_DropSource_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26045 PyObject
*resultobj
;
26046 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26048 wxCursor
*arg3
= 0 ;
26049 PyObject
* obj0
= 0 ;
26050 PyObject
* obj1
= 0 ;
26051 PyObject
* obj2
= 0 ;
26052 char *kwnames
[] = {
26053 (char *) "self",(char *) "res",(char *) "cursor", NULL
26056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26059 arg2
= (wxDragResult
) SWIG_AsInt(obj1
);
26060 if (PyErr_Occurred()) SWIG_fail
;
26061 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxCursor
,
26062 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26064 if (arg3
== NULL
) {
26065 PyErr_SetString(PyExc_TypeError
,"null reference");
26069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26070 (arg1
)->SetCursor((wxDragResult
)arg2
,(wxCursor
const &)*arg3
);
26072 wxPyEndAllowThreads(__tstate
);
26073 if (PyErr_Occurred()) SWIG_fail
;
26075 Py_INCREF(Py_None
); resultobj
= Py_None
;
26082 static PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26083 PyObject
*resultobj
;
26084 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26085 int arg2
= (int) wxDrag_CopyOnly
;
26087 PyObject
* obj0
= 0 ;
26088 PyObject
* obj1
= 0 ;
26089 char *kwnames
[] = {
26090 (char *) "self",(char *) "flags", NULL
26093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) goto fail
;
26094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26097 arg2
= (int) SWIG_AsInt(obj1
);
26098 if (PyErr_Occurred()) SWIG_fail
;
26101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26102 result
= (int)(arg1
)->DoDragDrop(arg2
);
26104 wxPyEndAllowThreads(__tstate
);
26105 if (PyErr_Occurred()) SWIG_fail
;
26107 resultobj
= SWIG_FromInt((int)result
);
26114 static PyObject
*_wrap_DropSource_base_GiveFeedback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26115 PyObject
*resultobj
;
26116 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26119 PyObject
* obj0
= 0 ;
26120 PyObject
* obj1
= 0 ;
26121 char *kwnames
[] = {
26122 (char *) "self",(char *) "effect", NULL
26125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_base_GiveFeedback",kwnames
,&obj0
,&obj1
)) goto fail
;
26126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26128 arg2
= (wxDragResult
) SWIG_AsInt(obj1
);
26129 if (PyErr_Occurred()) SWIG_fail
;
26131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26132 result
= (bool)(arg1
)->base_GiveFeedback((wxDragResult
)arg2
);
26134 wxPyEndAllowThreads(__tstate
);
26135 if (PyErr_Occurred()) SWIG_fail
;
26138 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26146 static PyObject
* DropSource_swigregister(PyObject
*self
, PyObject
*args
) {
26148 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26149 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource
, obj
);
26151 return Py_BuildValue((char *)"");
26153 static PyObject
*_wrap_new_DropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26154 PyObject
*resultobj
;
26155 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
26156 wxPyDropTarget
*result
;
26157 PyObject
* obj0
= 0 ;
26158 char *kwnames
[] = {
26159 (char *) "dataObject", NULL
26162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DropTarget",kwnames
,&obj0
)) goto fail
;
26164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
26165 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26169 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
26171 wxPyEndAllowThreads(__tstate
);
26172 if (PyErr_Occurred()) SWIG_fail
;
26174 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 1);
26181 static PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26182 PyObject
*resultobj
;
26183 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26184 PyObject
*arg2
= (PyObject
*) 0 ;
26185 PyObject
*arg3
= (PyObject
*) 0 ;
26186 PyObject
* obj0
= 0 ;
26187 PyObject
* obj1
= 0 ;
26188 PyObject
* obj2
= 0 ;
26189 char *kwnames
[] = {
26190 (char *) "self",(char *) "self",(char *) "_class", NULL
26193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26200 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26202 wxPyEndAllowThreads(__tstate
);
26203 if (PyErr_Occurred()) SWIG_fail
;
26205 Py_INCREF(Py_None
); resultobj
= Py_None
;
26212 static PyObject
*_wrap_delete_DropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26213 PyObject
*resultobj
;
26214 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26215 PyObject
* obj0
= 0 ;
26216 char *kwnames
[] = {
26217 (char *) "self", NULL
26220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropTarget",kwnames
,&obj0
)) goto fail
;
26221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26227 wxPyEndAllowThreads(__tstate
);
26228 if (PyErr_Occurred()) SWIG_fail
;
26230 Py_INCREF(Py_None
); resultobj
= Py_None
;
26237 static PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26238 PyObject
*resultobj
;
26239 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26240 wxDataObject
*result
;
26241 PyObject
* obj0
= 0 ;
26242 char *kwnames
[] = {
26243 (char *) "self", NULL
26246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDataObject",kwnames
,&obj0
)) goto fail
;
26247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26251 result
= (wxDataObject
*)(arg1
)->GetDataObject();
26253 wxPyEndAllowThreads(__tstate
);
26254 if (PyErr_Occurred()) SWIG_fail
;
26256 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
26263 static PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26264 PyObject
*resultobj
;
26265 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26266 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
26267 PyObject
* obj0
= 0 ;
26268 PyObject
* obj1
= 0 ;
26269 char *kwnames
[] = {
26270 (char *) "self",(char *) "dataObject", NULL
26273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) goto fail
;
26274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26276 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26277 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26280 (arg1
)->SetDataObject(arg2
);
26282 wxPyEndAllowThreads(__tstate
);
26283 if (PyErr_Occurred()) SWIG_fail
;
26285 Py_INCREF(Py_None
); resultobj
= Py_None
;
26292 static PyObject
*_wrap_DropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26293 PyObject
*resultobj
;
26294 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26299 PyObject
* obj0
= 0 ;
26300 PyObject
* obj1
= 0 ;
26301 PyObject
* obj2
= 0 ;
26302 PyObject
* obj3
= 0 ;
26303 char *kwnames
[] = {
26304 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26310 arg2
= (int) SWIG_AsInt(obj1
);
26311 if (PyErr_Occurred()) SWIG_fail
;
26312 arg3
= (int) SWIG_AsInt(obj2
);
26313 if (PyErr_Occurred()) SWIG_fail
;
26314 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26315 if (PyErr_Occurred()) SWIG_fail
;
26317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26318 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26320 wxPyEndAllowThreads(__tstate
);
26321 if (PyErr_Occurred()) SWIG_fail
;
26323 resultobj
= SWIG_FromInt((int)result
);
26330 static PyObject
*_wrap_DropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26331 PyObject
*resultobj
;
26332 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26337 PyObject
* obj0
= 0 ;
26338 PyObject
* obj1
= 0 ;
26339 PyObject
* obj2
= 0 ;
26340 PyObject
* obj3
= 0 ;
26341 char *kwnames
[] = {
26342 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26348 arg2
= (int) SWIG_AsInt(obj1
);
26349 if (PyErr_Occurred()) SWIG_fail
;
26350 arg3
= (int) SWIG_AsInt(obj2
);
26351 if (PyErr_Occurred()) SWIG_fail
;
26352 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26353 if (PyErr_Occurred()) SWIG_fail
;
26355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26356 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26358 wxPyEndAllowThreads(__tstate
);
26359 if (PyErr_Occurred()) SWIG_fail
;
26361 resultobj
= SWIG_FromInt((int)result
);
26368 static PyObject
*_wrap_DropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26369 PyObject
*resultobj
;
26370 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26371 PyObject
* obj0
= 0 ;
26372 char *kwnames
[] = {
26373 (char *) "self", NULL
26376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26381 (arg1
)->base_OnLeave();
26383 wxPyEndAllowThreads(__tstate
);
26384 if (PyErr_Occurred()) SWIG_fail
;
26386 Py_INCREF(Py_None
); resultobj
= Py_None
;
26393 static PyObject
*_wrap_DropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26394 PyObject
*resultobj
;
26395 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26399 PyObject
* obj0
= 0 ;
26400 PyObject
* obj1
= 0 ;
26401 PyObject
* obj2
= 0 ;
26402 char *kwnames
[] = {
26403 (char *) "self",(char *) "x",(char *) "y", NULL
26406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26409 arg2
= (int) SWIG_AsInt(obj1
);
26410 if (PyErr_Occurred()) SWIG_fail
;
26411 arg3
= (int) SWIG_AsInt(obj2
);
26412 if (PyErr_Occurred()) SWIG_fail
;
26414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26415 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26417 wxPyEndAllowThreads(__tstate
);
26418 if (PyErr_Occurred()) SWIG_fail
;
26421 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26429 static PyObject
*_wrap_DropTarget_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26430 PyObject
*resultobj
;
26431 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26433 PyObject
* obj0
= 0 ;
26434 char *kwnames
[] = {
26435 (char *) "self", NULL
26438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetData",kwnames
,&obj0
)) goto fail
;
26439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26443 result
= (bool)(arg1
)->GetData();
26445 wxPyEndAllowThreads(__tstate
);
26446 if (PyErr_Occurred()) SWIG_fail
;
26449 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26457 static PyObject
* DropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
26459 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26460 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget
, obj
);
26462 return Py_BuildValue((char *)"");
26464 static PyObject
*_wrap_new_TextDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26465 PyObject
*resultobj
;
26466 wxPyTextDropTarget
*result
;
26467 char *kwnames
[] = {
26471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TextDropTarget",kwnames
)) goto fail
;
26473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26474 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
26476 wxPyEndAllowThreads(__tstate
);
26477 if (PyErr_Occurred()) SWIG_fail
;
26479 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDropTarget
, 1);
26486 static PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26487 PyObject
*resultobj
;
26488 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26489 PyObject
*arg2
= (PyObject
*) 0 ;
26490 PyObject
*arg3
= (PyObject
*) 0 ;
26491 PyObject
* obj0
= 0 ;
26492 PyObject
* obj1
= 0 ;
26493 PyObject
* obj2
= 0 ;
26494 char *kwnames
[] = {
26495 (char *) "self",(char *) "self",(char *) "_class", NULL
26498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26505 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26507 wxPyEndAllowThreads(__tstate
);
26508 if (PyErr_Occurred()) SWIG_fail
;
26510 Py_INCREF(Py_None
); resultobj
= Py_None
;
26517 static PyObject
*_wrap_TextDropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26518 PyObject
*resultobj
;
26519 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26524 PyObject
* obj0
= 0 ;
26525 PyObject
* obj1
= 0 ;
26526 PyObject
* obj2
= 0 ;
26527 PyObject
* obj3
= 0 ;
26528 char *kwnames
[] = {
26529 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26535 arg2
= (int) SWIG_AsInt(obj1
);
26536 if (PyErr_Occurred()) SWIG_fail
;
26537 arg3
= (int) SWIG_AsInt(obj2
);
26538 if (PyErr_Occurred()) SWIG_fail
;
26539 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26540 if (PyErr_Occurred()) SWIG_fail
;
26542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26543 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26545 wxPyEndAllowThreads(__tstate
);
26546 if (PyErr_Occurred()) SWIG_fail
;
26548 resultobj
= SWIG_FromInt((int)result
);
26555 static PyObject
*_wrap_TextDropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26556 PyObject
*resultobj
;
26557 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26562 PyObject
* obj0
= 0 ;
26563 PyObject
* obj1
= 0 ;
26564 PyObject
* obj2
= 0 ;
26565 PyObject
* obj3
= 0 ;
26566 char *kwnames
[] = {
26567 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26573 arg2
= (int) SWIG_AsInt(obj1
);
26574 if (PyErr_Occurred()) SWIG_fail
;
26575 arg3
= (int) SWIG_AsInt(obj2
);
26576 if (PyErr_Occurred()) SWIG_fail
;
26577 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26578 if (PyErr_Occurred()) SWIG_fail
;
26580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26581 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26583 wxPyEndAllowThreads(__tstate
);
26584 if (PyErr_Occurred()) SWIG_fail
;
26586 resultobj
= SWIG_FromInt((int)result
);
26593 static PyObject
*_wrap_TextDropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26594 PyObject
*resultobj
;
26595 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26596 PyObject
* obj0
= 0 ;
26597 char *kwnames
[] = {
26598 (char *) "self", NULL
26601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26606 (arg1
)->base_OnLeave();
26608 wxPyEndAllowThreads(__tstate
);
26609 if (PyErr_Occurred()) SWIG_fail
;
26611 Py_INCREF(Py_None
); resultobj
= Py_None
;
26618 static PyObject
*_wrap_TextDropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26619 PyObject
*resultobj
;
26620 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26624 PyObject
* obj0
= 0 ;
26625 PyObject
* obj1
= 0 ;
26626 PyObject
* obj2
= 0 ;
26627 char *kwnames
[] = {
26628 (char *) "self",(char *) "x",(char *) "y", NULL
26631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26634 arg2
= (int) SWIG_AsInt(obj1
);
26635 if (PyErr_Occurred()) SWIG_fail
;
26636 arg3
= (int) SWIG_AsInt(obj2
);
26637 if (PyErr_Occurred()) SWIG_fail
;
26639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26640 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26642 wxPyEndAllowThreads(__tstate
);
26643 if (PyErr_Occurred()) SWIG_fail
;
26646 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26654 static PyObject
*_wrap_TextDropTarget_base_OnData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26655 PyObject
*resultobj
;
26656 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26661 PyObject
* obj0
= 0 ;
26662 PyObject
* obj1
= 0 ;
26663 PyObject
* obj2
= 0 ;
26664 PyObject
* obj3
= 0 ;
26665 char *kwnames
[] = {
26666 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26672 arg2
= (int) SWIG_AsInt(obj1
);
26673 if (PyErr_Occurred()) SWIG_fail
;
26674 arg3
= (int) SWIG_AsInt(obj2
);
26675 if (PyErr_Occurred()) SWIG_fail
;
26676 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26677 if (PyErr_Occurred()) SWIG_fail
;
26679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26680 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
26682 wxPyEndAllowThreads(__tstate
);
26683 if (PyErr_Occurred()) SWIG_fail
;
26685 resultobj
= SWIG_FromInt((int)result
);
26692 static PyObject
* TextDropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
26694 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26695 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget
, obj
);
26697 return Py_BuildValue((char *)"");
26699 static PyObject
*_wrap_new_FileDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26700 PyObject
*resultobj
;
26701 wxPyFileDropTarget
*result
;
26702 char *kwnames
[] = {
26706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDropTarget",kwnames
)) goto fail
;
26708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26709 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
26711 wxPyEndAllowThreads(__tstate
);
26712 if (PyErr_Occurred()) SWIG_fail
;
26714 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileDropTarget
, 1);
26721 static PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26722 PyObject
*resultobj
;
26723 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26724 PyObject
*arg2
= (PyObject
*) 0 ;
26725 PyObject
*arg3
= (PyObject
*) 0 ;
26726 PyObject
* obj0
= 0 ;
26727 PyObject
* obj1
= 0 ;
26728 PyObject
* obj2
= 0 ;
26729 char *kwnames
[] = {
26730 (char *) "self",(char *) "self",(char *) "_class", NULL
26733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26740 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26742 wxPyEndAllowThreads(__tstate
);
26743 if (PyErr_Occurred()) SWIG_fail
;
26745 Py_INCREF(Py_None
); resultobj
= Py_None
;
26752 static PyObject
*_wrap_FileDropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26753 PyObject
*resultobj
;
26754 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26759 PyObject
* obj0
= 0 ;
26760 PyObject
* obj1
= 0 ;
26761 PyObject
* obj2
= 0 ;
26762 PyObject
* obj3
= 0 ;
26763 char *kwnames
[] = {
26764 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26770 arg2
= (int) SWIG_AsInt(obj1
);
26771 if (PyErr_Occurred()) SWIG_fail
;
26772 arg3
= (int) SWIG_AsInt(obj2
);
26773 if (PyErr_Occurred()) SWIG_fail
;
26774 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26775 if (PyErr_Occurred()) SWIG_fail
;
26777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26778 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26780 wxPyEndAllowThreads(__tstate
);
26781 if (PyErr_Occurred()) SWIG_fail
;
26783 resultobj
= SWIG_FromInt((int)result
);
26790 static PyObject
*_wrap_FileDropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26791 PyObject
*resultobj
;
26792 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26797 PyObject
* obj0
= 0 ;
26798 PyObject
* obj1
= 0 ;
26799 PyObject
* obj2
= 0 ;
26800 PyObject
* obj3
= 0 ;
26801 char *kwnames
[] = {
26802 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26808 arg2
= (int) SWIG_AsInt(obj1
);
26809 if (PyErr_Occurred()) SWIG_fail
;
26810 arg3
= (int) SWIG_AsInt(obj2
);
26811 if (PyErr_Occurred()) SWIG_fail
;
26812 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26813 if (PyErr_Occurred()) SWIG_fail
;
26815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26816 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26818 wxPyEndAllowThreads(__tstate
);
26819 if (PyErr_Occurred()) SWIG_fail
;
26821 resultobj
= SWIG_FromInt((int)result
);
26828 static PyObject
*_wrap_FileDropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26829 PyObject
*resultobj
;
26830 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26831 PyObject
* obj0
= 0 ;
26832 char *kwnames
[] = {
26833 (char *) "self", NULL
26836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26841 (arg1
)->base_OnLeave();
26843 wxPyEndAllowThreads(__tstate
);
26844 if (PyErr_Occurred()) SWIG_fail
;
26846 Py_INCREF(Py_None
); resultobj
= Py_None
;
26853 static PyObject
*_wrap_FileDropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26854 PyObject
*resultobj
;
26855 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26859 PyObject
* obj0
= 0 ;
26860 PyObject
* obj1
= 0 ;
26861 PyObject
* obj2
= 0 ;
26862 char *kwnames
[] = {
26863 (char *) "self",(char *) "x",(char *) "y", NULL
26866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26869 arg2
= (int) SWIG_AsInt(obj1
);
26870 if (PyErr_Occurred()) SWIG_fail
;
26871 arg3
= (int) SWIG_AsInt(obj2
);
26872 if (PyErr_Occurred()) SWIG_fail
;
26874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26875 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26877 wxPyEndAllowThreads(__tstate
);
26878 if (PyErr_Occurred()) SWIG_fail
;
26881 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26889 static PyObject
*_wrap_FileDropTarget_base_OnData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26890 PyObject
*resultobj
;
26891 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26896 PyObject
* obj0
= 0 ;
26897 PyObject
* obj1
= 0 ;
26898 PyObject
* obj2
= 0 ;
26899 PyObject
* obj3
= 0 ;
26900 char *kwnames
[] = {
26901 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26907 arg2
= (int) SWIG_AsInt(obj1
);
26908 if (PyErr_Occurred()) SWIG_fail
;
26909 arg3
= (int) SWIG_AsInt(obj2
);
26910 if (PyErr_Occurred()) SWIG_fail
;
26911 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26912 if (PyErr_Occurred()) SWIG_fail
;
26914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26915 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
26917 wxPyEndAllowThreads(__tstate
);
26918 if (PyErr_Occurred()) SWIG_fail
;
26920 resultobj
= SWIG_FromInt((int)result
);
26927 static PyObject
* FileDropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
26929 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26930 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget
, obj
);
26932 return Py_BuildValue((char *)"");
26934 static PyObject
*_wrap_new_Clipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26935 PyObject
*resultobj
;
26936 wxClipboard
*result
;
26937 char *kwnames
[] = {
26941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Clipboard",kwnames
)) goto fail
;
26943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26944 result
= (wxClipboard
*)new wxClipboard();
26946 wxPyEndAllowThreads(__tstate
);
26947 if (PyErr_Occurred()) SWIG_fail
;
26949 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 1);
26956 static PyObject
*_wrap_delete_Clipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26957 PyObject
*resultobj
;
26958 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26959 PyObject
* obj0
= 0 ;
26960 char *kwnames
[] = {
26961 (char *) "self", NULL
26964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Clipboard",kwnames
,&obj0
)) goto fail
;
26965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26971 wxPyEndAllowThreads(__tstate
);
26972 if (PyErr_Occurred()) SWIG_fail
;
26974 Py_INCREF(Py_None
); resultobj
= Py_None
;
26981 static PyObject
*_wrap_Clipboard_Open(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26982 PyObject
*resultobj
;
26983 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26985 PyObject
* obj0
= 0 ;
26986 char *kwnames
[] = {
26987 (char *) "self", NULL
26990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Open",kwnames
,&obj0
)) goto fail
;
26991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26995 result
= (bool)(arg1
)->Open();
26997 wxPyEndAllowThreads(__tstate
);
26998 if (PyErr_Occurred()) SWIG_fail
;
27001 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27009 static PyObject
*_wrap_Clipboard_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27010 PyObject
*resultobj
;
27011 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27012 PyObject
* obj0
= 0 ;
27013 char *kwnames
[] = {
27014 (char *) "self", NULL
27017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Close",kwnames
,&obj0
)) goto fail
;
27018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27024 wxPyEndAllowThreads(__tstate
);
27025 if (PyErr_Occurred()) SWIG_fail
;
27027 Py_INCREF(Py_None
); resultobj
= Py_None
;
27034 static PyObject
*_wrap_Clipboard_IsOpened(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27035 PyObject
*resultobj
;
27036 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27038 PyObject
* obj0
= 0 ;
27039 char *kwnames
[] = {
27040 (char *) "self", NULL
27043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_IsOpened",kwnames
,&obj0
)) goto fail
;
27044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27048 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
27050 wxPyEndAllowThreads(__tstate
);
27051 if (PyErr_Occurred()) SWIG_fail
;
27054 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27062 static PyObject
*_wrap_Clipboard_AddData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27063 PyObject
*resultobj
;
27064 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27065 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
27067 PyObject
* obj0
= 0 ;
27068 PyObject
* obj1
= 0 ;
27069 char *kwnames
[] = {
27070 (char *) "self",(char *) "data", NULL
27073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) goto fail
;
27074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27076 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
27077 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
27079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27080 result
= (bool)(arg1
)->AddData(arg2
);
27082 wxPyEndAllowThreads(__tstate
);
27083 if (PyErr_Occurred()) SWIG_fail
;
27086 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27094 static PyObject
*_wrap_Clipboard_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27095 PyObject
*resultobj
;
27096 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27097 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
27099 PyObject
* obj0
= 0 ;
27100 PyObject
* obj1
= 0 ;
27101 char *kwnames
[] = {
27102 (char *) "self",(char *) "data", NULL
27105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
27106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27108 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
27109 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
27111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27112 result
= (bool)(arg1
)->SetData(arg2
);
27114 wxPyEndAllowThreads(__tstate
);
27115 if (PyErr_Occurred()) SWIG_fail
;
27118 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27126 static PyObject
*_wrap_Clipboard_IsSupported(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27127 PyObject
*resultobj
;
27128 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27129 wxDataFormat
*arg2
= 0 ;
27131 PyObject
* obj0
= 0 ;
27132 PyObject
* obj1
= 0 ;
27133 char *kwnames
[] = {
27134 (char *) "self",(char *) "format", NULL
27137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) goto fail
;
27138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27140 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
27141 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27143 if (arg2
== NULL
) {
27144 PyErr_SetString(PyExc_TypeError
,"null reference");
27148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27149 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
27151 wxPyEndAllowThreads(__tstate
);
27152 if (PyErr_Occurred()) SWIG_fail
;
27155 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27163 static PyObject
*_wrap_Clipboard_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27164 PyObject
*resultobj
;
27165 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27166 wxDataObject
*arg2
= 0 ;
27168 PyObject
* obj0
= 0 ;
27169 PyObject
* obj1
= 0 ;
27170 char *kwnames
[] = {
27171 (char *) "self",(char *) "data", NULL
27174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) goto fail
;
27175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27177 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
27178 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27180 if (arg2
== NULL
) {
27181 PyErr_SetString(PyExc_TypeError
,"null reference");
27185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27186 result
= (bool)(arg1
)->GetData(*arg2
);
27188 wxPyEndAllowThreads(__tstate
);
27189 if (PyErr_Occurred()) SWIG_fail
;
27192 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27200 static PyObject
*_wrap_Clipboard_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27201 PyObject
*resultobj
;
27202 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27203 PyObject
* obj0
= 0 ;
27204 char *kwnames
[] = {
27205 (char *) "self", NULL
27208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Clear",kwnames
,&obj0
)) goto fail
;
27209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27215 wxPyEndAllowThreads(__tstate
);
27216 if (PyErr_Occurred()) SWIG_fail
;
27218 Py_INCREF(Py_None
); resultobj
= Py_None
;
27225 static PyObject
*_wrap_Clipboard_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27226 PyObject
*resultobj
;
27227 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27229 PyObject
* obj0
= 0 ;
27230 char *kwnames
[] = {
27231 (char *) "self", NULL
27234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Flush",kwnames
,&obj0
)) goto fail
;
27235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27239 result
= (bool)(arg1
)->Flush();
27241 wxPyEndAllowThreads(__tstate
);
27242 if (PyErr_Occurred()) SWIG_fail
;
27245 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27253 static PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27254 PyObject
*resultobj
;
27255 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27256 bool arg2
= (bool) True
;
27257 PyObject
* obj0
= 0 ;
27258 PyObject
* obj1
= 0 ;
27259 char *kwnames
[] = {
27260 (char *) "self",(char *) "primary", NULL
27263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) goto fail
;
27264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27267 arg2
= (bool) SWIG_AsBool(obj1
);
27268 if (PyErr_Occurred()) SWIG_fail
;
27271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27272 (arg1
)->UsePrimarySelection(arg2
);
27274 wxPyEndAllowThreads(__tstate
);
27275 if (PyErr_Occurred()) SWIG_fail
;
27277 Py_INCREF(Py_None
); resultobj
= Py_None
;
27284 static PyObject
*_wrap_Clipboard_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27285 PyObject
*resultobj
;
27286 wxClipboard
*result
;
27287 char *kwnames
[] = {
27291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Clipboard_Get",kwnames
)) goto fail
;
27293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27294 result
= (wxClipboard
*)wxClipboard::Get();
27296 wxPyEndAllowThreads(__tstate
);
27297 if (PyErr_Occurred()) SWIG_fail
;
27299 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 0);
27306 static PyObject
* Clipboard_swigregister(PyObject
*self
, PyObject
*args
) {
27308 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27309 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard
, obj
);
27311 return Py_BuildValue((char *)"");
27313 static PyObject
*_wrap_new_ClipboardLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27314 PyObject
*resultobj
;
27315 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
27316 wxClipboardLocker
*result
;
27317 PyObject
* obj0
= 0 ;
27318 char *kwnames
[] = {
27319 (char *) "clipboard", NULL
27322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
27324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27329 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
27331 wxPyEndAllowThreads(__tstate
);
27332 if (PyErr_Occurred()) SWIG_fail
;
27334 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboardLocker
, 1);
27341 static PyObject
*_wrap_delete_ClipboardLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27342 PyObject
*resultobj
;
27343 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
27344 PyObject
* obj0
= 0 ;
27345 char *kwnames
[] = {
27346 (char *) "self", NULL
27349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
27350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboardLocker
,
27351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27356 wxPyEndAllowThreads(__tstate
);
27357 if (PyErr_Occurred()) SWIG_fail
;
27359 Py_INCREF(Py_None
); resultobj
= Py_None
;
27366 static PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27367 PyObject
*resultobj
;
27368 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
27370 PyObject
* obj0
= 0 ;
27371 char *kwnames
[] = {
27372 (char *) "self", NULL
27375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ClipboardLocker___nonzero__",kwnames
,&obj0
)) goto fail
;
27376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboardLocker
,
27377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27380 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
27382 wxPyEndAllowThreads(__tstate
);
27383 if (PyErr_Occurred()) SWIG_fail
;
27386 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27394 static PyObject
* ClipboardLocker_swigregister(PyObject
*self
, PyObject
*args
) {
27396 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27397 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker
, obj
);
27399 return Py_BuildValue((char *)"");
27401 static PyObject
*_wrap_new_VideoMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27402 PyObject
*resultobj
;
27403 int arg1
= (int) 0 ;
27404 int arg2
= (int) 0 ;
27405 int arg3
= (int) 0 ;
27406 int arg4
= (int) 0 ;
27407 wxVideoMode
*result
;
27408 PyObject
* obj0
= 0 ;
27409 PyObject
* obj1
= 0 ;
27410 PyObject
* obj2
= 0 ;
27411 PyObject
* obj3
= 0 ;
27412 char *kwnames
[] = {
27413 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
27416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_VideoMode",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27418 arg1
= (int) SWIG_AsInt(obj0
);
27419 if (PyErr_Occurred()) SWIG_fail
;
27422 arg2
= (int) SWIG_AsInt(obj1
);
27423 if (PyErr_Occurred()) SWIG_fail
;
27426 arg3
= (int) SWIG_AsInt(obj2
);
27427 if (PyErr_Occurred()) SWIG_fail
;
27430 arg4
= (int) SWIG_AsInt(obj3
);
27431 if (PyErr_Occurred()) SWIG_fail
;
27434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27435 result
= (wxVideoMode
*)new wxVideoMode(arg1
,arg2
,arg3
,arg4
);
27437 wxPyEndAllowThreads(__tstate
);
27438 if (PyErr_Occurred()) SWIG_fail
;
27440 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVideoMode
, 1);
27447 static PyObject
*_wrap_delete_VideoMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27448 PyObject
*resultobj
;
27449 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27450 PyObject
* obj0
= 0 ;
27451 char *kwnames
[] = {
27452 (char *) "self", NULL
27455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VideoMode",kwnames
,&obj0
)) goto fail
;
27456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27462 wxPyEndAllowThreads(__tstate
);
27463 if (PyErr_Occurred()) SWIG_fail
;
27465 Py_INCREF(Py_None
); resultobj
= Py_None
;
27472 static PyObject
*_wrap_VideoMode_Matches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27473 PyObject
*resultobj
;
27474 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27475 wxVideoMode
*arg2
= 0 ;
27477 PyObject
* obj0
= 0 ;
27478 PyObject
* obj1
= 0 ;
27479 char *kwnames
[] = {
27480 (char *) "self",(char *) "other", NULL
27483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_Matches",kwnames
,&obj0
,&obj1
)) goto fail
;
27484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27486 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27487 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27489 if (arg2
== NULL
) {
27490 PyErr_SetString(PyExc_TypeError
,"null reference");
27494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27495 result
= (bool)((wxVideoMode
const *)arg1
)->Matches((wxVideoMode
const &)*arg2
);
27497 wxPyEndAllowThreads(__tstate
);
27498 if (PyErr_Occurred()) SWIG_fail
;
27501 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27509 static PyObject
*_wrap_VideoMode_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27510 PyObject
*resultobj
;
27511 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27513 PyObject
* obj0
= 0 ;
27514 char *kwnames
[] = {
27515 (char *) "self", NULL
27518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetWidth",kwnames
,&obj0
)) goto fail
;
27519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27523 result
= (int)((wxVideoMode
const *)arg1
)->GetWidth();
27525 wxPyEndAllowThreads(__tstate
);
27526 if (PyErr_Occurred()) SWIG_fail
;
27528 resultobj
= SWIG_FromInt((int)result
);
27535 static PyObject
*_wrap_VideoMode_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27536 PyObject
*resultobj
;
27537 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27539 PyObject
* obj0
= 0 ;
27540 char *kwnames
[] = {
27541 (char *) "self", NULL
27544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetHeight",kwnames
,&obj0
)) goto fail
;
27545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27549 result
= (int)((wxVideoMode
const *)arg1
)->GetHeight();
27551 wxPyEndAllowThreads(__tstate
);
27552 if (PyErr_Occurred()) SWIG_fail
;
27554 resultobj
= SWIG_FromInt((int)result
);
27561 static PyObject
*_wrap_VideoMode_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27562 PyObject
*resultobj
;
27563 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27565 PyObject
* obj0
= 0 ;
27566 char *kwnames
[] = {
27567 (char *) "self", NULL
27570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetDepth",kwnames
,&obj0
)) goto fail
;
27571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27575 result
= (int)((wxVideoMode
const *)arg1
)->GetDepth();
27577 wxPyEndAllowThreads(__tstate
);
27578 if (PyErr_Occurred()) SWIG_fail
;
27580 resultobj
= SWIG_FromInt((int)result
);
27587 static PyObject
*_wrap_VideoMode_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27588 PyObject
*resultobj
;
27589 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27591 PyObject
* obj0
= 0 ;
27592 char *kwnames
[] = {
27593 (char *) "self", NULL
27596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_IsOk",kwnames
,&obj0
)) goto fail
;
27597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27601 result
= (bool)((wxVideoMode
const *)arg1
)->IsOk();
27603 wxPyEndAllowThreads(__tstate
);
27604 if (PyErr_Occurred()) SWIG_fail
;
27607 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27615 static PyObject
*_wrap_VideoMode___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27616 PyObject
*resultobj
;
27617 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27618 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
27620 PyObject
* obj0
= 0 ;
27621 PyObject
* obj1
= 0 ;
27622 char *kwnames
[] = {
27623 (char *) "self",(char *) "other", NULL
27626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
27627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27629 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27633 result
= (bool)wxVideoMode___eq__(arg1
,(wxVideoMode
const *)arg2
);
27635 wxPyEndAllowThreads(__tstate
);
27636 if (PyErr_Occurred()) SWIG_fail
;
27639 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27647 static PyObject
*_wrap_VideoMode___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27648 PyObject
*resultobj
;
27649 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27650 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
27652 PyObject
* obj0
= 0 ;
27653 PyObject
* obj1
= 0 ;
27654 char *kwnames
[] = {
27655 (char *) "self",(char *) "other", NULL
27658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
27659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27661 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27665 result
= (bool)wxVideoMode___ne__(arg1
,(wxVideoMode
const *)arg2
);
27667 wxPyEndAllowThreads(__tstate
);
27668 if (PyErr_Occurred()) SWIG_fail
;
27671 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27679 static PyObject
*_wrap_VideoMode_w_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27680 PyObject
*resultobj
;
27681 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27683 PyObject
* obj0
= 0 ;
27684 PyObject
* obj1
= 0 ;
27685 char *kwnames
[] = {
27686 (char *) "self",(char *) "w", NULL
27689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_w_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27692 arg2
= (int) SWIG_AsInt(obj1
);
27693 if (PyErr_Occurred()) SWIG_fail
;
27694 if (arg1
) (arg1
)->w
= arg2
;
27696 Py_INCREF(Py_None
); resultobj
= Py_None
;
27703 static PyObject
*_wrap_VideoMode_w_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27704 PyObject
*resultobj
;
27705 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27707 PyObject
* obj0
= 0 ;
27708 char *kwnames
[] = {
27709 (char *) "self", NULL
27712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_w_get",kwnames
,&obj0
)) goto fail
;
27713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27715 result
= (int) ((arg1
)->w
);
27717 resultobj
= SWIG_FromInt((int)result
);
27724 static PyObject
*_wrap_VideoMode_h_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27725 PyObject
*resultobj
;
27726 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27728 PyObject
* obj0
= 0 ;
27729 PyObject
* obj1
= 0 ;
27730 char *kwnames
[] = {
27731 (char *) "self",(char *) "h", NULL
27734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_h_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27737 arg2
= (int) SWIG_AsInt(obj1
);
27738 if (PyErr_Occurred()) SWIG_fail
;
27739 if (arg1
) (arg1
)->h
= arg2
;
27741 Py_INCREF(Py_None
); resultobj
= Py_None
;
27748 static PyObject
*_wrap_VideoMode_h_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27749 PyObject
*resultobj
;
27750 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27752 PyObject
* obj0
= 0 ;
27753 char *kwnames
[] = {
27754 (char *) "self", NULL
27757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_h_get",kwnames
,&obj0
)) goto fail
;
27758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27760 result
= (int) ((arg1
)->h
);
27762 resultobj
= SWIG_FromInt((int)result
);
27769 static PyObject
*_wrap_VideoMode_bpp_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27770 PyObject
*resultobj
;
27771 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27773 PyObject
* obj0
= 0 ;
27774 PyObject
* obj1
= 0 ;
27775 char *kwnames
[] = {
27776 (char *) "self",(char *) "bpp", NULL
27779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_bpp_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27782 arg2
= (int) SWIG_AsInt(obj1
);
27783 if (PyErr_Occurred()) SWIG_fail
;
27784 if (arg1
) (arg1
)->bpp
= arg2
;
27786 Py_INCREF(Py_None
); resultobj
= Py_None
;
27793 static PyObject
*_wrap_VideoMode_bpp_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27794 PyObject
*resultobj
;
27795 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27797 PyObject
* obj0
= 0 ;
27798 char *kwnames
[] = {
27799 (char *) "self", NULL
27802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_bpp_get",kwnames
,&obj0
)) goto fail
;
27803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27805 result
= (int) ((arg1
)->bpp
);
27807 resultobj
= SWIG_FromInt((int)result
);
27814 static PyObject
*_wrap_VideoMode_refresh_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27815 PyObject
*resultobj
;
27816 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27818 PyObject
* obj0
= 0 ;
27819 PyObject
* obj1
= 0 ;
27820 char *kwnames
[] = {
27821 (char *) "self",(char *) "refresh", NULL
27824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_refresh_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27827 arg2
= (int) SWIG_AsInt(obj1
);
27828 if (PyErr_Occurred()) SWIG_fail
;
27829 if (arg1
) (arg1
)->refresh
= arg2
;
27831 Py_INCREF(Py_None
); resultobj
= Py_None
;
27838 static PyObject
*_wrap_VideoMode_refresh_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27839 PyObject
*resultobj
;
27840 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27842 PyObject
* obj0
= 0 ;
27843 char *kwnames
[] = {
27844 (char *) "self", NULL
27847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_refresh_get",kwnames
,&obj0
)) goto fail
;
27848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27850 result
= (int) ((arg1
)->refresh
);
27852 resultobj
= SWIG_FromInt((int)result
);
27859 static PyObject
* VideoMode_swigregister(PyObject
*self
, PyObject
*args
) {
27861 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27862 SWIG_TypeClientData(SWIGTYPE_p_wxVideoMode
, obj
);
27864 return Py_BuildValue((char *)"");
27866 static int _wrap_DefaultVideoMode_set(PyObject
*_val
) {
27867 PyErr_SetString(PyExc_TypeError
,"Variable DefaultVideoMode is read-only.");
27872 static PyObject
*_wrap_DefaultVideoMode_get() {
27875 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultVideoMode
), SWIGTYPE_p_wxVideoMode
, 0);
27880 static PyObject
*_wrap_new_Display(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27881 PyObject
*resultobj
;
27882 size_t arg1
= (size_t) 0 ;
27884 PyObject
* obj0
= 0 ;
27885 char *kwnames
[] = {
27886 (char *) "index", NULL
27889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Display",kwnames
,&obj0
)) goto fail
;
27891 arg1
= (size_t) SWIG_AsUnsignedLong(obj0
);
27892 if (PyErr_Occurred()) SWIG_fail
;
27895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27896 result
= (wxDisplay
*)new wxDisplay(arg1
);
27898 wxPyEndAllowThreads(__tstate
);
27899 if (PyErr_Occurred()) SWIG_fail
;
27901 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplay
, 1);
27908 static PyObject
*_wrap_delete_Display(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27909 PyObject
*resultobj
;
27910 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27911 PyObject
* obj0
= 0 ;
27912 char *kwnames
[] = {
27913 (char *) "self", NULL
27916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Display",kwnames
,&obj0
)) goto fail
;
27917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27923 wxPyEndAllowThreads(__tstate
);
27924 if (PyErr_Occurred()) SWIG_fail
;
27926 Py_INCREF(Py_None
); resultobj
= Py_None
;
27933 static PyObject
*_wrap_Display_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27934 PyObject
*resultobj
;
27936 char *kwnames
[] = {
27940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Display_GetCount",kwnames
)) goto fail
;
27942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27943 result
= (size_t)wxDisplay::GetCount();
27945 wxPyEndAllowThreads(__tstate
);
27946 if (PyErr_Occurred()) SWIG_fail
;
27948 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
27955 static PyObject
*_wrap_Display_GetFromPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27956 PyObject
*resultobj
;
27957 wxPoint
*arg1
= 0 ;
27960 PyObject
* obj0
= 0 ;
27961 char *kwnames
[] = {
27962 (char *) "pt", NULL
27965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromPoint",kwnames
,&obj0
)) goto fail
;
27968 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
27971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27972 result
= (int)wxDisplay::GetFromPoint((wxPoint
const &)*arg1
);
27974 wxPyEndAllowThreads(__tstate
);
27975 if (PyErr_Occurred()) SWIG_fail
;
27977 resultobj
= SWIG_FromInt((int)result
);
27984 static PyObject
*_wrap_Display_GetFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27985 PyObject
*resultobj
;
27986 wxWindow
*arg1
= (wxWindow
*) 0 ;
27988 PyObject
* obj0
= 0 ;
27989 char *kwnames
[] = {
27990 (char *) "window", NULL
27993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromWindow",kwnames
,&obj0
)) goto fail
;
27994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27998 result
= (int)wxDisplay::GetFromWindow(arg1
);
28000 wxPyEndAllowThreads(__tstate
);
28001 if (PyErr_Occurred()) SWIG_fail
;
28003 resultobj
= SWIG_FromInt((int)result
);
28010 static PyObject
*_wrap_Display_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28011 PyObject
*resultobj
;
28012 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28014 PyObject
* obj0
= 0 ;
28015 char *kwnames
[] = {
28016 (char *) "self", NULL
28019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsOk",kwnames
,&obj0
)) goto fail
;
28020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28024 result
= (bool)((wxDisplay
const *)arg1
)->IsOk();
28026 wxPyEndAllowThreads(__tstate
);
28027 if (PyErr_Occurred()) SWIG_fail
;
28030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28038 static PyObject
*_wrap_Display_GetGeometry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28039 PyObject
*resultobj
;
28040 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28042 PyObject
* obj0
= 0 ;
28043 char *kwnames
[] = {
28044 (char *) "self", NULL
28047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetGeometry",kwnames
,&obj0
)) goto fail
;
28048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28052 result
= ((wxDisplay
const *)arg1
)->GetGeometry();
28054 wxPyEndAllowThreads(__tstate
);
28055 if (PyErr_Occurred()) SWIG_fail
;
28058 wxRect
* resultptr
;
28059 resultptr
= new wxRect((wxRect
&) result
);
28060 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
28068 static PyObject
*_wrap_Display_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28069 PyObject
*resultobj
;
28070 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28072 PyObject
* obj0
= 0 ;
28073 char *kwnames
[] = {
28074 (char *) "self", NULL
28077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetName",kwnames
,&obj0
)) goto fail
;
28078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28082 result
= ((wxDisplay
const *)arg1
)->GetName();
28084 wxPyEndAllowThreads(__tstate
);
28085 if (PyErr_Occurred()) SWIG_fail
;
28089 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28091 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28100 static PyObject
*_wrap_Display_IsPrimary(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28101 PyObject
*resultobj
;
28102 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28104 PyObject
* obj0
= 0 ;
28105 char *kwnames
[] = {
28106 (char *) "self", NULL
28109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsPrimary",kwnames
,&obj0
)) goto fail
;
28110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28114 result
= (bool)((wxDisplay
const *)arg1
)->IsPrimary();
28116 wxPyEndAllowThreads(__tstate
);
28117 if (PyErr_Occurred()) SWIG_fail
;
28120 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28128 static PyObject
*_wrap_Display_GetModes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28129 PyObject
*resultobj
;
28130 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28131 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
28132 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
28134 PyObject
* obj0
= 0 ;
28135 PyObject
* obj1
= 0 ;
28136 char *kwnames
[] = {
28137 (char *) "self",(char *) "mode", NULL
28140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_GetModes",kwnames
,&obj0
,&obj1
)) goto fail
;
28141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28144 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
28145 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28147 if (arg2
== NULL
) {
28148 PyErr_SetString(PyExc_TypeError
,"null reference");
28153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28154 result
= (PyObject
*)wxDisplay_GetModes(arg1
,(wxVideoMode
const &)*arg2
);
28156 wxPyEndAllowThreads(__tstate
);
28157 if (PyErr_Occurred()) SWIG_fail
;
28159 resultobj
= result
;
28166 static PyObject
*_wrap_Display_GetCurrentMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28167 PyObject
*resultobj
;
28168 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28169 wxVideoMode result
;
28170 PyObject
* obj0
= 0 ;
28171 char *kwnames
[] = {
28172 (char *) "self", NULL
28175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetCurrentMode",kwnames
,&obj0
)) goto fail
;
28176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28180 result
= ((wxDisplay
const *)arg1
)->GetCurrentMode();
28182 wxPyEndAllowThreads(__tstate
);
28183 if (PyErr_Occurred()) SWIG_fail
;
28186 wxVideoMode
* resultptr
;
28187 resultptr
= new wxVideoMode((wxVideoMode
&) result
);
28188 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVideoMode
, 1);
28196 static PyObject
*_wrap_Display_ChangeMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28197 PyObject
*resultobj
;
28198 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28199 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
28200 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
28202 PyObject
* obj0
= 0 ;
28203 PyObject
* obj1
= 0 ;
28204 char *kwnames
[] = {
28205 (char *) "self",(char *) "mode", NULL
28208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_ChangeMode",kwnames
,&obj0
,&obj1
)) goto fail
;
28209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28212 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
28213 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28215 if (arg2
== NULL
) {
28216 PyErr_SetString(PyExc_TypeError
,"null reference");
28221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28222 result
= (bool)(arg1
)->ChangeMode((wxVideoMode
const &)*arg2
);
28224 wxPyEndAllowThreads(__tstate
);
28225 if (PyErr_Occurred()) SWIG_fail
;
28228 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28236 static PyObject
*_wrap_Display_ResetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28237 PyObject
*resultobj
;
28238 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28239 PyObject
* obj0
= 0 ;
28240 char *kwnames
[] = {
28241 (char *) "self", NULL
28244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_ResetMode",kwnames
,&obj0
)) goto fail
;
28245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28249 (arg1
)->ResetMode();
28251 wxPyEndAllowThreads(__tstate
);
28252 if (PyErr_Occurred()) SWIG_fail
;
28254 Py_INCREF(Py_None
); resultobj
= Py_None
;
28261 static PyObject
* Display_swigregister(PyObject
*self
, PyObject
*args
) {
28263 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28264 SWIG_TypeClientData(SWIGTYPE_p_wxDisplay
, obj
);
28266 return Py_BuildValue((char *)"");
28268 static PyMethodDef SwigMethods
[] = {
28269 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
28270 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
28271 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
},
28272 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
},
28273 { (char *)"SystemSettings_GetScreenType", (PyCFunction
) _wrap_SystemSettings_GetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
28274 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
28275 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
},
28276 { (char *)"new_SystemOptions", (PyCFunction
) _wrap_new_SystemOptions
, METH_VARARGS
| METH_KEYWORDS
},
28277 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
},
28278 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
28279 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
},
28280 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
28281 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
},
28282 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
},
28283 { (char *)"NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
},
28284 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
},
28285 { (char *)"GetCurrentId", (PyCFunction
) _wrap_GetCurrentId
, METH_VARARGS
| METH_KEYWORDS
},
28286 { (char *)"Bell", (PyCFunction
) _wrap_Bell
, METH_VARARGS
| METH_KEYWORDS
},
28287 { (char *)"EndBusyCursor", (PyCFunction
) _wrap_EndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
28288 { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
},
28289 { (char *)"GetMousePosition", (PyCFunction
) _wrap_GetMousePosition
, METH_VARARGS
| METH_KEYWORDS
},
28290 { (char *)"IsBusy", (PyCFunction
) _wrap_IsBusy
, METH_VARARGS
| METH_KEYWORDS
},
28291 { (char *)"Now", (PyCFunction
) _wrap_Now
, METH_VARARGS
| METH_KEYWORDS
},
28292 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
},
28293 { (char *)"StartTimer", (PyCFunction
) _wrap_StartTimer
, METH_VARARGS
| METH_KEYWORDS
},
28294 { (char *)"GetOsVersion", (PyCFunction
) _wrap_GetOsVersion
, METH_VARARGS
| METH_KEYWORDS
},
28295 { (char *)"GetOsDescription", (PyCFunction
) _wrap_GetOsDescription
, METH_VARARGS
| METH_KEYWORDS
},
28296 { (char *)"GetFreeMemory", (PyCFunction
) _wrap_GetFreeMemory
, METH_VARARGS
| METH_KEYWORDS
},
28297 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
},
28298 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
},
28299 { (char *)"MilliSleep", (PyCFunction
) _wrap_MilliSleep
, METH_VARARGS
| METH_KEYWORDS
},
28300 { (char *)"MicroSleep", (PyCFunction
) _wrap_MicroSleep
, METH_VARARGS
| METH_KEYWORDS
},
28301 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
},
28302 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
},
28303 { (char *)"GetEmailAddress", (PyCFunction
) _wrap_GetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
},
28304 { (char *)"GetHostName", (PyCFunction
) _wrap_GetHostName
, METH_VARARGS
| METH_KEYWORDS
},
28305 { (char *)"GetFullHostName", (PyCFunction
) _wrap_GetFullHostName
, METH_VARARGS
| METH_KEYWORDS
},
28306 { (char *)"GetUserId", (PyCFunction
) _wrap_GetUserId
, METH_VARARGS
| METH_KEYWORDS
},
28307 { (char *)"GetUserName", (PyCFunction
) _wrap_GetUserName
, METH_VARARGS
| METH_KEYWORDS
},
28308 { (char *)"GetHomeDir", (PyCFunction
) _wrap_GetHomeDir
, METH_VARARGS
| METH_KEYWORDS
},
28309 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
},
28310 { (char *)"GetProcessId", (PyCFunction
) _wrap_GetProcessId
, METH_VARARGS
| METH_KEYWORDS
},
28311 { (char *)"Trap", (PyCFunction
) _wrap_Trap
, METH_VARARGS
| METH_KEYWORDS
},
28312 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
},
28313 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
28314 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
28315 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
},
28316 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
},
28317 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
},
28318 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
},
28319 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
},
28320 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
},
28321 { (char *)"GetNumberFromUser", (PyCFunction
) _wrap_GetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
},
28322 { (char *)"ColourDisplay", (PyCFunction
) _wrap_ColourDisplay
, METH_VARARGS
| METH_KEYWORDS
},
28323 { (char *)"DisplayDepth", (PyCFunction
) _wrap_DisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
28324 { (char *)"GetDisplayDepth", (PyCFunction
) _wrap_GetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
28325 { (char *)"DisplaySize", (PyCFunction
) _wrap_DisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
28326 { (char *)"GetDisplaySize", (PyCFunction
) _wrap_GetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
28327 { (char *)"DisplaySizeMM", (PyCFunction
) _wrap_DisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
28328 { (char *)"GetDisplaySizeMM", (PyCFunction
) _wrap_GetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
28329 { (char *)"ClientDisplayRect", (PyCFunction
) _wrap_ClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
28330 { (char *)"GetClientDisplayRect", (PyCFunction
) _wrap_GetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
28331 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
28332 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
28333 { (char *)"GetActiveWindow", (PyCFunction
) _wrap_GetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
},
28334 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
28335 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
28336 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
},
28337 { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS
| METH_KEYWORDS
},
28338 { (char *)"WakeUpMainThread", (PyCFunction
) _wrap_WakeUpMainThread
, METH_VARARGS
| METH_KEYWORDS
},
28339 { (char *)"MutexGuiEnter", (PyCFunction
) _wrap_MutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
},
28340 { (char *)"MutexGuiLeave", (PyCFunction
) _wrap_MutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
},
28341 { (char *)"new_MutexGuiLocker", (PyCFunction
) _wrap_new_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
28342 { (char *)"delete_MutexGuiLocker", (PyCFunction
) _wrap_delete_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
28343 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
},
28344 { (char *)"Thread_IsMain", (PyCFunction
) _wrap_Thread_IsMain
, METH_VARARGS
| METH_KEYWORDS
},
28345 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
},
28346 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
},
28347 { (char *)"ToolTip_GetTip", (PyCFunction
) _wrap_ToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
28348 { (char *)"ToolTip_GetWindow", (PyCFunction
) _wrap_ToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
28349 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
},
28350 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
},
28351 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
},
28352 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
},
28353 { (char *)"delete_Caret", (PyCFunction
) _wrap_delete_Caret
, METH_VARARGS
| METH_KEYWORDS
},
28354 { (char *)"Caret_IsOk", (PyCFunction
) _wrap_Caret_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28355 { (char *)"Caret_IsVisible", (PyCFunction
) _wrap_Caret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
28356 { (char *)"Caret_GetPosition", (PyCFunction
) _wrap_Caret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28357 { (char *)"Caret_GetPositionTuple", (PyCFunction
) _wrap_Caret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
28358 { (char *)"Caret_GetSize", (PyCFunction
) _wrap_Caret_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
28359 { (char *)"Caret_GetSizeTuple", (PyCFunction
) _wrap_Caret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
28360 { (char *)"Caret_GetWindow", (PyCFunction
) _wrap_Caret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
28361 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
28362 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
},
28363 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
28364 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
28365 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
},
28366 { (char *)"Caret_Hide", (PyCFunction
) _wrap_Caret_Hide
, METH_VARARGS
| METH_KEYWORDS
},
28367 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
},
28368 { (char *)"Caret_GetBlinkTime", (PyCFunction
) _wrap_Caret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
28369 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
28370 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
28371 { (char *)"delete_BusyCursor", (PyCFunction
) _wrap_delete_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
28372 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
},
28373 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
28374 { (char *)"delete_WindowDisabler", (PyCFunction
) _wrap_delete_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
28375 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
},
28376 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
28377 { (char *)"delete_BusyInfo", (PyCFunction
) _wrap_delete_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
28378 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
},
28379 { (char *)"new_StopWatch", (PyCFunction
) _wrap_new_StopWatch
, METH_VARARGS
| METH_KEYWORDS
},
28380 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
},
28381 { (char *)"StopWatch_Pause", (PyCFunction
) _wrap_StopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
},
28382 { (char *)"StopWatch_Resume", (PyCFunction
) _wrap_StopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
},
28383 { (char *)"StopWatch_Time", (PyCFunction
) _wrap_StopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
},
28384 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
},
28385 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
},
28386 { (char *)"delete_FileHistory", (PyCFunction
) _wrap_delete_FileHistory
, METH_VARARGS
| METH_KEYWORDS
},
28387 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
},
28388 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
},
28389 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
) _wrap_FileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
},
28390 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
},
28391 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
},
28392 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
},
28393 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
},
28394 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
},
28395 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
},
28396 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
},
28397 { (char *)"FileHistory_GetCount", (PyCFunction
) _wrap_FileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
28398 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
},
28399 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
28400 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
) _wrap_new_PreSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
28401 { (char *)"delete_SingleInstanceChecker", (PyCFunction
) _wrap_delete_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
28402 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
},
28403 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
) _wrap_SingleInstanceChecker_IsAnotherRunning
, METH_VARARGS
| METH_KEYWORDS
},
28404 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
},
28405 { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
},
28406 { (char *)"delete_TipProvider", (PyCFunction
) _wrap_delete_TipProvider
, METH_VARARGS
| METH_KEYWORDS
},
28407 { (char *)"TipProvider_GetTip", (PyCFunction
) _wrap_TipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
28408 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
) _wrap_TipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
},
28409 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
},
28410 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
},
28411 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
28412 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28413 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
},
28414 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
},
28415 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
28416 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
},
28417 { (char *)"delete_Timer", (PyCFunction
) _wrap_delete_Timer
, METH_VARARGS
| METH_KEYWORDS
},
28418 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28419 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
},
28420 { (char *)"Timer_GetOwner", (PyCFunction
) _wrap_Timer_GetOwner
, METH_VARARGS
| METH_KEYWORDS
},
28421 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
},
28422 { (char *)"Timer_Stop", (PyCFunction
) _wrap_Timer_Stop
, METH_VARARGS
| METH_KEYWORDS
},
28423 { (char *)"Timer_IsRunning", (PyCFunction
) _wrap_Timer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
},
28424 { (char *)"Timer_GetInterval", (PyCFunction
) _wrap_Timer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
28425 { (char *)"Timer_IsOneShot", (PyCFunction
) _wrap_Timer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
},
28426 { (char *)"Timer_GetId", (PyCFunction
) _wrap_Timer_GetId
, METH_VARARGS
| METH_KEYWORDS
},
28427 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
},
28428 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
},
28429 { (char *)"TimerEvent_GetInterval", (PyCFunction
) _wrap_TimerEvent_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
28430 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
},
28431 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
},
28432 { (char *)"delete_TimerRunner", (PyCFunction
) _wrap_delete_TimerRunner
, METH_VARARGS
| METH_KEYWORDS
},
28433 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
},
28434 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
},
28435 { (char *)"new_Log", (PyCFunction
) _wrap_new_Log
, METH_VARARGS
| METH_KEYWORDS
},
28436 { (char *)"Log_IsEnabled", (PyCFunction
) _wrap_Log_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
28437 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
},
28438 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
},
28439 { (char *)"Log_Flush", (PyCFunction
) _wrap_Log_Flush
, METH_VARARGS
| METH_KEYWORDS
},
28440 { (char *)"Log_FlushActive", (PyCFunction
) _wrap_Log_FlushActive
, METH_VARARGS
| METH_KEYWORDS
},
28441 { (char *)"Log_GetActiveTarget", (PyCFunction
) _wrap_Log_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
28442 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
28443 { (char *)"Log_Suspend", (PyCFunction
) _wrap_Log_Suspend
, METH_VARARGS
| METH_KEYWORDS
},
28444 { (char *)"Log_Resume", (PyCFunction
) _wrap_Log_Resume
, METH_VARARGS
| METH_KEYWORDS
},
28445 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
28446 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
},
28447 { (char *)"Log_DontCreateOnDemand", (PyCFunction
) _wrap_Log_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
28448 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28449 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28450 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28451 { (char *)"Log_ClearTraceMasks", (PyCFunction
) _wrap_Log_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
28452 { (char *)"Log_GetTraceMasks", (PyCFunction
) _wrap_Log_GetTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
28453 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
28454 { (char *)"Log_GetVerbose", (PyCFunction
) _wrap_Log_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
28455 { (char *)"Log_GetTraceMask", (PyCFunction
) _wrap_Log_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28456 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28457 { (char *)"Log_GetLogLevel", (PyCFunction
) _wrap_Log_GetLogLevel
, METH_VARARGS
| METH_KEYWORDS
},
28458 { (char *)"Log_GetTimestamp", (PyCFunction
) _wrap_Log_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
28459 { (char *)"Log_TimeStamp", (PyCFunction
) _wrap_Log_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
},
28460 { (char *)"Log_Destroy", (PyCFunction
) _wrap_Log_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
28461 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
},
28462 { (char *)"new_LogStderr", (PyCFunction
) _wrap_new_LogStderr
, METH_VARARGS
| METH_KEYWORDS
},
28463 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
},
28464 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
28465 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
},
28466 { (char *)"new_LogGui", (PyCFunction
) _wrap_new_LogGui
, METH_VARARGS
| METH_KEYWORDS
},
28467 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
},
28468 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
},
28469 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
28470 { (char *)"LogWindow_GetFrame", (PyCFunction
) _wrap_LogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
28471 { (char *)"LogWindow_GetOldLog", (PyCFunction
) _wrap_LogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
28472 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
) _wrap_LogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
28473 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
28474 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
},
28475 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
},
28476 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
},
28477 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
28478 { (char *)"LogChain_IsPassingMessages", (PyCFunction
) _wrap_LogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
28479 { (char *)"LogChain_GetOldLog", (PyCFunction
) _wrap_LogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
28480 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
},
28481 { (char *)"SysErrorCode", (PyCFunction
) _wrap_SysErrorCode
, METH_VARARGS
| METH_KEYWORDS
},
28482 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
},
28483 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
},
28484 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
},
28485 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
},
28486 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
},
28487 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
},
28488 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
},
28489 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
},
28490 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
},
28491 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
},
28492 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
},
28493 { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS
},
28494 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
},
28495 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
},
28496 { (char *)"new_LogNull", (PyCFunction
) _wrap_new_LogNull
, METH_VARARGS
| METH_KEYWORDS
},
28497 { (char *)"delete_LogNull", (PyCFunction
) _wrap_delete_LogNull
, METH_VARARGS
| METH_KEYWORDS
},
28498 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
},
28499 { (char *)"new_PyLog", (PyCFunction
) _wrap_new_PyLog
, METH_VARARGS
| METH_KEYWORDS
},
28500 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28501 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
},
28502 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
},
28503 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
},
28504 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
},
28505 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
},
28506 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28507 { (char *)"Process_base_OnTerminate", (PyCFunction
) _wrap_Process_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
},
28508 { (char *)"Process_Redirect", (PyCFunction
) _wrap_Process_Redirect
, METH_VARARGS
| METH_KEYWORDS
},
28509 { (char *)"Process_IsRedirected", (PyCFunction
) _wrap_Process_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
},
28510 { (char *)"Process_Detach", (PyCFunction
) _wrap_Process_Detach
, METH_VARARGS
| METH_KEYWORDS
},
28511 { (char *)"Process_GetInputStream", (PyCFunction
) _wrap_Process_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
},
28512 { (char *)"Process_GetErrorStream", (PyCFunction
) _wrap_Process_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
},
28513 { (char *)"Process_GetOutputStream", (PyCFunction
) _wrap_Process_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
28514 { (char *)"Process_CloseOutput", (PyCFunction
) _wrap_Process_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
},
28515 { (char *)"Process_IsInputOpened", (PyCFunction
) _wrap_Process_IsInputOpened
, METH_VARARGS
| METH_KEYWORDS
},
28516 { (char *)"Process_IsInputAvailable", (PyCFunction
) _wrap_Process_IsInputAvailable
, METH_VARARGS
| METH_KEYWORDS
},
28517 { (char *)"Process_IsErrorAvailable", (PyCFunction
) _wrap_Process_IsErrorAvailable
, METH_VARARGS
| METH_KEYWORDS
},
28518 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
},
28519 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
28520 { (char *)"ProcessEvent_GetPid", (PyCFunction
) _wrap_ProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
},
28521 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
) _wrap_ProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
},
28522 { (char *)"ProcessEvent_m_pid_set", (PyCFunction
) _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
},
28523 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
) _wrap_ProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
},
28524 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
},
28525 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
},
28526 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
},
28527 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
},
28528 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
},
28529 { (char *)"delete_Joystick", (PyCFunction
) _wrap_delete_Joystick
, METH_VARARGS
| METH_KEYWORDS
},
28530 { (char *)"Joystick_GetPosition", (PyCFunction
) _wrap_Joystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28531 { (char *)"Joystick_GetZPosition", (PyCFunction
) _wrap_Joystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
28532 { (char *)"Joystick_GetButtonState", (PyCFunction
) _wrap_Joystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
28533 { (char *)"Joystick_GetPOVPosition", (PyCFunction
) _wrap_Joystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
},
28534 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
) _wrap_Joystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
},
28535 { (char *)"Joystick_GetRudderPosition", (PyCFunction
) _wrap_Joystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
},
28536 { (char *)"Joystick_GetUPosition", (PyCFunction
) _wrap_Joystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
},
28537 { (char *)"Joystick_GetVPosition", (PyCFunction
) _wrap_Joystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
},
28538 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
) _wrap_Joystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
28539 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
28540 { (char *)"Joystick_IsOk", (PyCFunction
) _wrap_Joystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28541 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
) _wrap_Joystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
},
28542 { (char *)"Joystick_GetManufacturerId", (PyCFunction
) _wrap_Joystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
},
28543 { (char *)"Joystick_GetProductId", (PyCFunction
) _wrap_Joystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
},
28544 { (char *)"Joystick_GetProductName", (PyCFunction
) _wrap_Joystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
},
28545 { (char *)"Joystick_GetXMin", (PyCFunction
) _wrap_Joystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
},
28546 { (char *)"Joystick_GetYMin", (PyCFunction
) _wrap_Joystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
},
28547 { (char *)"Joystick_GetZMin", (PyCFunction
) _wrap_Joystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
},
28548 { (char *)"Joystick_GetXMax", (PyCFunction
) _wrap_Joystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
},
28549 { (char *)"Joystick_GetYMax", (PyCFunction
) _wrap_Joystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
},
28550 { (char *)"Joystick_GetZMax", (PyCFunction
) _wrap_Joystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
},
28551 { (char *)"Joystick_GetNumberButtons", (PyCFunction
) _wrap_Joystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
},
28552 { (char *)"Joystick_GetNumberAxes", (PyCFunction
) _wrap_Joystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
},
28553 { (char *)"Joystick_GetMaxButtons", (PyCFunction
) _wrap_Joystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
},
28554 { (char *)"Joystick_GetMaxAxes", (PyCFunction
) _wrap_Joystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
},
28555 { (char *)"Joystick_GetPollingMin", (PyCFunction
) _wrap_Joystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
},
28556 { (char *)"Joystick_GetPollingMax", (PyCFunction
) _wrap_Joystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
},
28557 { (char *)"Joystick_GetRudderMin", (PyCFunction
) _wrap_Joystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
},
28558 { (char *)"Joystick_GetRudderMax", (PyCFunction
) _wrap_Joystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
},
28559 { (char *)"Joystick_GetUMin", (PyCFunction
) _wrap_Joystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
},
28560 { (char *)"Joystick_GetUMax", (PyCFunction
) _wrap_Joystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
},
28561 { (char *)"Joystick_GetVMin", (PyCFunction
) _wrap_Joystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
},
28562 { (char *)"Joystick_GetVMax", (PyCFunction
) _wrap_Joystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
},
28563 { (char *)"Joystick_HasRudder", (PyCFunction
) _wrap_Joystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
},
28564 { (char *)"Joystick_HasZ", (PyCFunction
) _wrap_Joystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
},
28565 { (char *)"Joystick_HasU", (PyCFunction
) _wrap_Joystick_HasU
, METH_VARARGS
| METH_KEYWORDS
},
28566 { (char *)"Joystick_HasV", (PyCFunction
) _wrap_Joystick_HasV
, METH_VARARGS
| METH_KEYWORDS
},
28567 { (char *)"Joystick_HasPOV", (PyCFunction
) _wrap_Joystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
},
28568 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
) _wrap_Joystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
},
28569 { (char *)"Joystick_HasPOVCTS", (PyCFunction
) _wrap_Joystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
},
28570 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
},
28571 { (char *)"Joystick_ReleaseCapture", (PyCFunction
) _wrap_Joystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
},
28572 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
},
28573 { (char *)"JoystickEvent_m_pos_set", (PyCFunction
) _wrap_JoystickEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
},
28574 { (char *)"JoystickEvent_m_pos_get", (PyCFunction
) _wrap_JoystickEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
},
28575 { (char *)"JoystickEvent_m_zPosition_set", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_set
, METH_VARARGS
| METH_KEYWORDS
},
28576 { (char *)"JoystickEvent_m_zPosition_get", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_get
, METH_VARARGS
| METH_KEYWORDS
},
28577 { (char *)"JoystickEvent_m_buttonChange_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_set
, METH_VARARGS
| METH_KEYWORDS
},
28578 { (char *)"JoystickEvent_m_buttonChange_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_get
, METH_VARARGS
| METH_KEYWORDS
},
28579 { (char *)"JoystickEvent_m_buttonState_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_set
, METH_VARARGS
| METH_KEYWORDS
},
28580 { (char *)"JoystickEvent_m_buttonState_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_get
, METH_VARARGS
| METH_KEYWORDS
},
28581 { (char *)"JoystickEvent_m_joyStick_set", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_set
, METH_VARARGS
| METH_KEYWORDS
},
28582 { (char *)"JoystickEvent_m_joyStick_get", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_get
, METH_VARARGS
| METH_KEYWORDS
},
28583 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
},
28584 { (char *)"JoystickEvent_GetPosition", (PyCFunction
) _wrap_JoystickEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28585 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
) _wrap_JoystickEvent_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
28586 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
) _wrap_JoystickEvent_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
28587 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
) _wrap_JoystickEvent_GetButtonChange
, METH_VARARGS
| METH_KEYWORDS
},
28588 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
) _wrap_JoystickEvent_GetJoystick
, METH_VARARGS
| METH_KEYWORDS
},
28589 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
},
28590 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
28591 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
},
28592 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28593 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
28594 { (char *)"JoystickEvent_IsButton", (PyCFunction
) _wrap_JoystickEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
28595 { (char *)"JoystickEvent_IsMove", (PyCFunction
) _wrap_JoystickEvent_IsMove
, METH_VARARGS
| METH_KEYWORDS
},
28596 { (char *)"JoystickEvent_IsZMove", (PyCFunction
) _wrap_JoystickEvent_IsZMove
, METH_VARARGS
| METH_KEYWORDS
},
28597 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
},
28598 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
},
28599 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
},
28600 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
},
28601 { (char *)"new_Sound", (PyCFunction
) _wrap_new_Sound
, METH_VARARGS
| METH_KEYWORDS
},
28602 { (char *)"new_SoundFromData", (PyCFunction
) _wrap_new_SoundFromData
, METH_VARARGS
| METH_KEYWORDS
},
28603 { (char *)"delete_Sound", (PyCFunction
) _wrap_delete_Sound
, METH_VARARGS
| METH_KEYWORDS
},
28604 { (char *)"Sound_Create", (PyCFunction
) _wrap_Sound_Create
, METH_VARARGS
| METH_KEYWORDS
},
28605 { (char *)"Sound_CreateFromData", (PyCFunction
) _wrap_Sound_CreateFromData
, METH_VARARGS
| METH_KEYWORDS
},
28606 { (char *)"Sound_IsOk", (PyCFunction
) _wrap_Sound_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28607 { (char *)"Sound_Play", (PyCFunction
) _wrap_Sound_Play
, METH_VARARGS
| METH_KEYWORDS
},
28608 { (char *)"Sound_PlaySound", (PyCFunction
) _wrap_Sound_PlaySound
, METH_VARARGS
| METH_KEYWORDS
},
28609 { (char *)"Sound_Stop", (PyCFunction
) _wrap_Sound_Stop
, METH_VARARGS
| METH_KEYWORDS
},
28610 { (char *)"Sound_swigregister", Sound_swigregister
, METH_VARARGS
},
28611 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
28612 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
},
28613 { (char *)"new_NullFileTypeInfo", (PyCFunction
) _wrap_new_NullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
28614 { (char *)"FileTypeInfo_IsValid", (PyCFunction
) _wrap_FileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
28615 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
28616 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
28617 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
) _wrap_FileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
28618 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_FileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
28619 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_FileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
28620 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
28621 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
) _wrap_FileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
28622 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
) _wrap_FileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
28623 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_FileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
},
28624 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
) _wrap_FileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
},
28625 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_FileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
},
28626 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
},
28627 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
},
28628 { (char *)"delete_FileType", (PyCFunction
) _wrap_delete_FileType
, METH_VARARGS
| METH_KEYWORDS
},
28629 { (char *)"FileType_GetMimeType", (PyCFunction
) _wrap_FileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
28630 { (char *)"FileType_GetMimeTypes", (PyCFunction
) _wrap_FileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
28631 { (char *)"FileType_GetExtensions", (PyCFunction
) _wrap_FileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
28632 { (char *)"FileType_GetIcon", (PyCFunction
) _wrap_FileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
28633 { (char *)"FileType_GetIconInfo", (PyCFunction
) _wrap_FileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
},
28634 { (char *)"FileType_GetDescription", (PyCFunction
) _wrap_FileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
28635 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
28636 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
28637 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
},
28638 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
},
28639 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
},
28640 { (char *)"FileType_Unassociate", (PyCFunction
) _wrap_FileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
28641 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
},
28642 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
},
28643 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
},
28644 { (char *)"new_MimeTypesManager", (PyCFunction
) _wrap_new_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
28645 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
28646 { (char *)"MimeTypesManager_ClearData", (PyCFunction
) _wrap_MimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
},
28647 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
},
28648 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
},
28649 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
},
28650 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
28651 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_MimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
},
28652 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
},
28653 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
},
28654 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
28655 { (char *)"delete_MimeTypesManager", (PyCFunction
) _wrap_delete_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
28656 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
},
28657 { (char *)"new_ArtProvider", (PyCFunction
) _wrap_new_ArtProvider
, METH_VARARGS
| METH_KEYWORDS
},
28658 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28659 { (char *)"ArtProvider_PushProvider", (PyCFunction
) _wrap_ArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
},
28660 { (char *)"ArtProvider_PopProvider", (PyCFunction
) _wrap_ArtProvider_PopProvider
, METH_VARARGS
| METH_KEYWORDS
},
28661 { (char *)"ArtProvider_RemoveProvider", (PyCFunction
) _wrap_ArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
},
28662 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
28663 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
28664 { (char *)"ArtProvider_Destroy", (PyCFunction
) _wrap_ArtProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
28665 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
},
28666 { (char *)"delete_ConfigBase", (PyCFunction
) _wrap_delete_ConfigBase
, METH_VARARGS
| METH_KEYWORDS
},
28667 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
},
28668 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
},
28669 { (char *)"ConfigBase_Create", (PyCFunction
) _wrap_ConfigBase_Create
, METH_VARARGS
| METH_KEYWORDS
},
28670 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
) _wrap_ConfigBase_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
28671 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
28672 { (char *)"ConfigBase_GetPath", (PyCFunction
) _wrap_ConfigBase_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
28673 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
) _wrap_ConfigBase_GetFirstGroup
, METH_VARARGS
| METH_KEYWORDS
},
28674 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
},
28675 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
) _wrap_ConfigBase_GetFirstEntry
, METH_VARARGS
| METH_KEYWORDS
},
28676 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
},
28677 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
},
28678 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
},
28679 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
},
28680 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
},
28681 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
},
28682 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
},
28683 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
},
28684 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
},
28685 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
},
28686 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
},
28687 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
},
28688 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
},
28689 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
},
28690 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
},
28691 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
},
28692 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
},
28693 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
},
28694 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
},
28695 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
},
28696 { (char *)"ConfigBase_DeleteAll", (PyCFunction
) _wrap_ConfigBase_DeleteAll
, METH_VARARGS
| METH_KEYWORDS
},
28697 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28698 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
) _wrap_ConfigBase_IsExpandingEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28699 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
},
28700 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
) _wrap_ConfigBase_IsRecordingDefaults
, METH_VARARGS
| METH_KEYWORDS
},
28701 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28702 { (char *)"ConfigBase_GetAppName", (PyCFunction
) _wrap_ConfigBase_GetAppName
, METH_VARARGS
| METH_KEYWORDS
},
28703 { (char *)"ConfigBase_GetVendorName", (PyCFunction
) _wrap_ConfigBase_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
28704 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
},
28705 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
28706 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
28707 { (char *)"ConfigBase_GetStyle", (PyCFunction
) _wrap_ConfigBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
28708 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
},
28709 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
},
28710 { (char *)"delete_Config", (PyCFunction
) _wrap_delete_Config
, METH_VARARGS
| METH_KEYWORDS
},
28711 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
},
28712 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
},
28713 { (char *)"delete_FileConfig", (PyCFunction
) _wrap_delete_FileConfig
, METH_VARARGS
| METH_KEYWORDS
},
28714 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
},
28715 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
},
28716 { (char *)"delete_ConfigPathChanger", (PyCFunction
) _wrap_delete_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
},
28717 { (char *)"ConfigPathChanger_Name", (PyCFunction
) _wrap_ConfigPathChanger_Name
, METH_VARARGS
| METH_KEYWORDS
},
28718 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
},
28719 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28720 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
},
28721 { (char *)"DateTime_GetCountry", (PyCFunction
) _wrap_DateTime_GetCountry
, METH_VARARGS
| METH_KEYWORDS
},
28722 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
},
28723 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
},
28724 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
},
28725 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
},
28726 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
},
28727 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
},
28728 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
},
28729 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
},
28730 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
},
28731 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
},
28732 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
) _wrap_DateTime_GetAmPmStrings
, METH_VARARGS
| METH_KEYWORDS
},
28733 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
},
28734 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
},
28735 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
},
28736 { (char *)"DateTime_Now", (PyCFunction
) _wrap_DateTime_Now
, METH_VARARGS
| METH_KEYWORDS
},
28737 { (char *)"DateTime_UNow", (PyCFunction
) _wrap_DateTime_UNow
, METH_VARARGS
| METH_KEYWORDS
},
28738 { (char *)"DateTime_Today", (PyCFunction
) _wrap_DateTime_Today
, METH_VARARGS
| METH_KEYWORDS
},
28739 { (char *)"new_DateTime", (PyCFunction
) _wrap_new_DateTime
, METH_VARARGS
| METH_KEYWORDS
},
28740 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
},
28741 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
},
28742 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
},
28743 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
},
28744 { (char *)"delete_DateTime", (PyCFunction
) _wrap_delete_DateTime
, METH_VARARGS
| METH_KEYWORDS
},
28745 { (char *)"DateTime_SetToCurrent", (PyCFunction
) _wrap_DateTime_SetToCurrent
, METH_VARARGS
| METH_KEYWORDS
},
28746 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
},
28747 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
},
28748 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
},
28749 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
},
28750 { (char *)"DateTime_ResetTime", (PyCFunction
) _wrap_DateTime_ResetTime
, METH_VARARGS
| METH_KEYWORDS
},
28751 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
},
28752 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
},
28753 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
},
28754 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
},
28755 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
},
28756 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
},
28757 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
28758 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
28759 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
28760 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28761 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28762 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28763 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28764 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28765 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28766 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28767 { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
},
28768 { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
},
28769 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
28770 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
28771 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
},
28772 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
},
28773 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
28774 { (char *)"DateTime_GetJDN", (PyCFunction
) _wrap_DateTime_GetJDN
, METH_VARARGS
| METH_KEYWORDS
},
28775 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetModifiedJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
28776 { (char *)"DateTime_GetMJD", (PyCFunction
) _wrap_DateTime_GetMJD
, METH_VARARGS
| METH_KEYWORDS
},
28777 { (char *)"DateTime_GetRataDie", (PyCFunction
) _wrap_DateTime_GetRataDie
, METH_VARARGS
| METH_KEYWORDS
},
28778 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
},
28779 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
},
28780 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
},
28781 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
},
28782 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
},
28783 { (char *)"DateTime_IsValid", (PyCFunction
) _wrap_DateTime_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
28784 { (char *)"DateTime_GetTicks", (PyCFunction
) _wrap_DateTime_GetTicks
, METH_VARARGS
| METH_KEYWORDS
},
28785 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
},
28786 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
},
28787 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
},
28788 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28789 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
},
28790 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
},
28791 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
},
28792 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
28793 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
},
28794 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
},
28795 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
},
28796 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
},
28797 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
28798 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
},
28799 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
},
28800 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
},
28801 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
},
28802 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
},
28803 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
},
28804 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
},
28805 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
},
28806 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
},
28807 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
},
28808 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
},
28809 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
28810 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
},
28811 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
},
28812 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
},
28813 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
},
28814 { (char *)"DateTime___lt__", _wrap_DateTime___lt__
, METH_VARARGS
},
28815 { (char *)"DateTime___le__", _wrap_DateTime___le__
, METH_VARARGS
},
28816 { (char *)"DateTime___gt__", _wrap_DateTime___gt__
, METH_VARARGS
},
28817 { (char *)"DateTime___ge__", _wrap_DateTime___ge__
, METH_VARARGS
},
28818 { (char *)"DateTime___eq__", _wrap_DateTime___eq__
, METH_VARARGS
},
28819 { (char *)"DateTime___ne__", _wrap_DateTime___ne__
, METH_VARARGS
},
28820 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
},
28821 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
},
28822 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
},
28823 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
},
28824 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
},
28825 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
},
28826 { (char *)"DateTime_FormatDate", (PyCFunction
) _wrap_DateTime_FormatDate
, METH_VARARGS
| METH_KEYWORDS
},
28827 { (char *)"DateTime_FormatTime", (PyCFunction
) _wrap_DateTime_FormatTime
, METH_VARARGS
| METH_KEYWORDS
},
28828 { (char *)"DateTime_FormatISODate", (PyCFunction
) _wrap_DateTime_FormatISODate
, METH_VARARGS
| METH_KEYWORDS
},
28829 { (char *)"DateTime_FormatISOTime", (PyCFunction
) _wrap_DateTime_FormatISOTime
, METH_VARARGS
| METH_KEYWORDS
},
28830 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
},
28831 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
},
28832 { (char *)"TimeSpan_Second", (PyCFunction
) _wrap_TimeSpan_Second
, METH_VARARGS
| METH_KEYWORDS
},
28833 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
},
28834 { (char *)"TimeSpan_Minute", (PyCFunction
) _wrap_TimeSpan_Minute
, METH_VARARGS
| METH_KEYWORDS
},
28835 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
},
28836 { (char *)"TimeSpan_Hour", (PyCFunction
) _wrap_TimeSpan_Hour
, METH_VARARGS
| METH_KEYWORDS
},
28837 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
28838 { (char *)"TimeSpan_Day", (PyCFunction
) _wrap_TimeSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
28839 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
28840 { (char *)"TimeSpan_Week", (PyCFunction
) _wrap_TimeSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
28841 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
28842 { (char *)"delete_TimeSpan", (PyCFunction
) _wrap_delete_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
28843 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
28844 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
28845 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
28846 { (char *)"TimeSpan_Neg", (PyCFunction
) _wrap_TimeSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
28847 { (char *)"TimeSpan_Abs", (PyCFunction
) _wrap_TimeSpan_Abs
, METH_VARARGS
| METH_KEYWORDS
},
28848 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
28849 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
},
28850 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
},
28851 { (char *)"TimeSpan___neg__", (PyCFunction
) _wrap_TimeSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
28852 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
28853 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
28854 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
28855 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
28856 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
},
28857 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
},
28858 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
},
28859 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
},
28860 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
28861 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
28862 { (char *)"TimeSpan_IsNull", (PyCFunction
) _wrap_TimeSpan_IsNull
, METH_VARARGS
| METH_KEYWORDS
},
28863 { (char *)"TimeSpan_IsPositive", (PyCFunction
) _wrap_TimeSpan_IsPositive
, METH_VARARGS
| METH_KEYWORDS
},
28864 { (char *)"TimeSpan_IsNegative", (PyCFunction
) _wrap_TimeSpan_IsNegative
, METH_VARARGS
| METH_KEYWORDS
},
28865 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
28866 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
},
28867 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
},
28868 { (char *)"TimeSpan_GetWeeks", (PyCFunction
) _wrap_TimeSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
28869 { (char *)"TimeSpan_GetDays", (PyCFunction
) _wrap_TimeSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
28870 { (char *)"TimeSpan_GetHours", (PyCFunction
) _wrap_TimeSpan_GetHours
, METH_VARARGS
| METH_KEYWORDS
},
28871 { (char *)"TimeSpan_GetMinutes", (PyCFunction
) _wrap_TimeSpan_GetMinutes
, METH_VARARGS
| METH_KEYWORDS
},
28872 { (char *)"TimeSpan_GetSeconds", (PyCFunction
) _wrap_TimeSpan_GetSeconds
, METH_VARARGS
| METH_KEYWORDS
},
28873 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
) _wrap_TimeSpan_GetMilliseconds
, METH_VARARGS
| METH_KEYWORDS
},
28874 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
},
28875 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
},
28876 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
},
28877 { (char *)"delete_DateSpan", (PyCFunction
) _wrap_delete_DateSpan
, METH_VARARGS
| METH_KEYWORDS
},
28878 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
28879 { (char *)"DateSpan_Day", (PyCFunction
) _wrap_DateSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
28880 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
28881 { (char *)"DateSpan_Week", (PyCFunction
) _wrap_DateSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
28882 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
},
28883 { (char *)"DateSpan_Month", (PyCFunction
) _wrap_DateSpan_Month
, METH_VARARGS
| METH_KEYWORDS
},
28884 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
},
28885 { (char *)"DateSpan_Year", (PyCFunction
) _wrap_DateSpan_Year
, METH_VARARGS
| METH_KEYWORDS
},
28886 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
},
28887 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
},
28888 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
28889 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
},
28890 { (char *)"DateSpan_GetYears", (PyCFunction
) _wrap_DateSpan_GetYears
, METH_VARARGS
| METH_KEYWORDS
},
28891 { (char *)"DateSpan_GetMonths", (PyCFunction
) _wrap_DateSpan_GetMonths
, METH_VARARGS
| METH_KEYWORDS
},
28892 { (char *)"DateSpan_GetWeeks", (PyCFunction
) _wrap_DateSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
28893 { (char *)"DateSpan_GetDays", (PyCFunction
) _wrap_DateSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
28894 { (char *)"DateSpan_GetTotalDays", (PyCFunction
) _wrap_DateSpan_GetTotalDays
, METH_VARARGS
| METH_KEYWORDS
},
28895 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
28896 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
28897 { (char *)"DateSpan_Neg", (PyCFunction
) _wrap_DateSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
28898 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
28899 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
28900 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
},
28901 { (char *)"DateSpan___neg__", (PyCFunction
) _wrap_DateSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
28902 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
},
28903 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
28904 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
28905 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
28906 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
28907 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
28908 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
28909 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
},
28910 { (char *)"GetLocalTime", (PyCFunction
) _wrap_GetLocalTime
, METH_VARARGS
| METH_KEYWORDS
},
28911 { (char *)"GetUTCTime", (PyCFunction
) _wrap_GetUTCTime
, METH_VARARGS
| METH_KEYWORDS
},
28912 { (char *)"GetCurrentTime", (PyCFunction
) _wrap_GetCurrentTime
, METH_VARARGS
| METH_KEYWORDS
},
28913 { (char *)"GetLocalTimeMillis", (PyCFunction
) _wrap_GetLocalTimeMillis
, METH_VARARGS
| METH_KEYWORDS
},
28914 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
},
28915 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
},
28916 { (char *)"delete_DataFormat", (PyCFunction
) _wrap_delete_DataFormat
, METH_VARARGS
| METH_KEYWORDS
},
28917 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
},
28918 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
},
28919 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
},
28920 { (char *)"DataFormat_GetType", (PyCFunction
) _wrap_DataFormat_GetType
, METH_VARARGS
| METH_KEYWORDS
},
28921 { (char *)"DataFormat_GetId", (PyCFunction
) _wrap_DataFormat_GetId
, METH_VARARGS
| METH_KEYWORDS
},
28922 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
},
28923 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
},
28924 { (char *)"delete_DataObject", (PyCFunction
) _wrap_delete_DataObject
, METH_VARARGS
| METH_KEYWORDS
},
28925 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
},
28926 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
},
28927 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
},
28928 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
},
28929 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
},
28930 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
},
28931 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28932 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
},
28933 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
},
28934 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
) _wrap_DataObjectSimple_GetFormat
, METH_VARARGS
| METH_KEYWORDS
},
28935 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
},
28936 { (char *)"DataObjectSimple_GetDataSize", (PyCFunction
) _wrap_DataObjectSimple_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
},
28937 { (char *)"DataObjectSimple_GetDataHere", (PyCFunction
) _wrap_DataObjectSimple_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
},
28938 { (char *)"DataObjectSimple_SetData", (PyCFunction
) _wrap_DataObjectSimple_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28939 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
},
28940 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
},
28941 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28942 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
},
28943 { (char *)"new_DataObjectComposite", (PyCFunction
) _wrap_new_DataObjectComposite
, METH_VARARGS
| METH_KEYWORDS
},
28944 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
},
28945 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
},
28946 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28947 { (char *)"TextDataObject_GetTextLength", (PyCFunction
) _wrap_TextDataObject_GetTextLength
, METH_VARARGS
| METH_KEYWORDS
},
28948 { (char *)"TextDataObject_GetText", (PyCFunction
) _wrap_TextDataObject_GetText
, METH_VARARGS
| METH_KEYWORDS
},
28949 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
},
28950 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
},
28951 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28952 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28953 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
},
28954 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28955 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
) _wrap_BitmapDataObject_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
28956 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
28957 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
},
28958 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28959 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28960 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
},
28961 { (char *)"new_FileDataObject", (PyCFunction
) _wrap_new_FileDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28962 { (char *)"FileDataObject_GetFilenames", (PyCFunction
) _wrap_FileDataObject_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
},
28963 { (char *)"FileDataObject_AddFile", (PyCFunction
) _wrap_FileDataObject_AddFile
, METH_VARARGS
| METH_KEYWORDS
},
28964 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
},
28965 { (char *)"new_CustomDataObject", (PyCFunction
) _wrap_new_CustomDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28966 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28967 { (char *)"CustomDataObject_GetSize", (PyCFunction
) _wrap_CustomDataObject_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
28968 { (char *)"CustomDataObject_GetData", (PyCFunction
) _wrap_CustomDataObject_GetData
, METH_VARARGS
| METH_KEYWORDS
},
28969 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
},
28970 { (char *)"new_URLDataObject", (PyCFunction
) _wrap_new_URLDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28971 { (char *)"URLDataObject_GetURL", (PyCFunction
) _wrap_URLDataObject_GetURL
, METH_VARARGS
| METH_KEYWORDS
},
28972 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
},
28973 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
},
28974 { (char *)"new_MetafileDataObject", (PyCFunction
) _wrap_new_MetafileDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28975 { (char *)"MetafileDataObject_SetMetafile", (PyCFunction
) _wrap_MetafileDataObject_SetMetafile
, METH_VARARGS
| METH_KEYWORDS
},
28976 { (char *)"MetafileDataObject_GetMetafile", (PyCFunction
) _wrap_MetafileDataObject_GetMetafile
, METH_VARARGS
| METH_KEYWORDS
},
28977 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
},
28978 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
},
28979 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
},
28980 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28981 { (char *)"delete_DropSource", (PyCFunction
) _wrap_delete_DropSource
, METH_VARARGS
| METH_KEYWORDS
},
28982 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28983 { (char *)"DropSource_GetDataObject", (PyCFunction
) _wrap_DropSource_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28984 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
28985 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
},
28986 { (char *)"DropSource_base_GiveFeedback", (PyCFunction
) _wrap_DropSource_base_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
},
28987 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
},
28988 { (char *)"new_DropTarget", (PyCFunction
) _wrap_new_DropTarget
, METH_VARARGS
| METH_KEYWORDS
},
28989 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28990 { (char *)"delete_DropTarget", (PyCFunction
) _wrap_delete_DropTarget
, METH_VARARGS
| METH_KEYWORDS
},
28991 { (char *)"DropTarget_GetDataObject", (PyCFunction
) _wrap_DropTarget_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28992 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28993 { (char *)"DropTarget_base_OnEnter", (PyCFunction
) _wrap_DropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
28994 { (char *)"DropTarget_base_OnDragOver", (PyCFunction
) _wrap_DropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
28995 { (char *)"DropTarget_base_OnLeave", (PyCFunction
) _wrap_DropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
28996 { (char *)"DropTarget_base_OnDrop", (PyCFunction
) _wrap_DropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
28997 { (char *)"DropTarget_GetData", (PyCFunction
) _wrap_DropTarget_GetData
, METH_VARARGS
| METH_KEYWORDS
},
28998 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
},
28999 { (char *)"new_TextDropTarget", (PyCFunction
) _wrap_new_TextDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
29000 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
29001 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction
) _wrap_TextDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
29002 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
29003 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction
) _wrap_TextDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
29004 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction
) _wrap_TextDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
29005 { (char *)"TextDropTarget_base_OnData", (PyCFunction
) _wrap_TextDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
},
29006 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
},
29007 { (char *)"new_FileDropTarget", (PyCFunction
) _wrap_new_FileDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
29008 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
29009 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction
) _wrap_FileDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
29010 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
29011 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction
) _wrap_FileDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
29012 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction
) _wrap_FileDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
29013 { (char *)"FileDropTarget_base_OnData", (PyCFunction
) _wrap_FileDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
},
29014 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
},
29015 { (char *)"new_Clipboard", (PyCFunction
) _wrap_new_Clipboard
, METH_VARARGS
| METH_KEYWORDS
},
29016 { (char *)"delete_Clipboard", (PyCFunction
) _wrap_delete_Clipboard
, METH_VARARGS
| METH_KEYWORDS
},
29017 { (char *)"Clipboard_Open", (PyCFunction
) _wrap_Clipboard_Open
, METH_VARARGS
| METH_KEYWORDS
},
29018 { (char *)"Clipboard_Close", (PyCFunction
) _wrap_Clipboard_Close
, METH_VARARGS
| METH_KEYWORDS
},
29019 { (char *)"Clipboard_IsOpened", (PyCFunction
) _wrap_Clipboard_IsOpened
, METH_VARARGS
| METH_KEYWORDS
},
29020 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
},
29021 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
},
29022 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
},
29023 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
},
29024 { (char *)"Clipboard_Clear", (PyCFunction
) _wrap_Clipboard_Clear
, METH_VARARGS
| METH_KEYWORDS
},
29025 { (char *)"Clipboard_Flush", (PyCFunction
) _wrap_Clipboard_Flush
, METH_VARARGS
| METH_KEYWORDS
},
29026 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
},
29027 { (char *)"Clipboard_Get", (PyCFunction
) _wrap_Clipboard_Get
, METH_VARARGS
| METH_KEYWORDS
},
29028 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
},
29029 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
},
29030 { (char *)"delete_ClipboardLocker", (PyCFunction
) _wrap_delete_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
},
29031 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
) _wrap_ClipboardLocker___nonzero__
, METH_VARARGS
| METH_KEYWORDS
},
29032 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
},
29033 { (char *)"new_VideoMode", (PyCFunction
) _wrap_new_VideoMode
, METH_VARARGS
| METH_KEYWORDS
},
29034 { (char *)"delete_VideoMode", (PyCFunction
) _wrap_delete_VideoMode
, METH_VARARGS
| METH_KEYWORDS
},
29035 { (char *)"VideoMode_Matches", (PyCFunction
) _wrap_VideoMode_Matches
, METH_VARARGS
| METH_KEYWORDS
},
29036 { (char *)"VideoMode_GetWidth", (PyCFunction
) _wrap_VideoMode_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
29037 { (char *)"VideoMode_GetHeight", (PyCFunction
) _wrap_VideoMode_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
29038 { (char *)"VideoMode_GetDepth", (PyCFunction
) _wrap_VideoMode_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
29039 { (char *)"VideoMode_IsOk", (PyCFunction
) _wrap_VideoMode_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
29040 { (char *)"VideoMode___eq__", (PyCFunction
) _wrap_VideoMode___eq__
, METH_VARARGS
| METH_KEYWORDS
},
29041 { (char *)"VideoMode___ne__", (PyCFunction
) _wrap_VideoMode___ne__
, METH_VARARGS
| METH_KEYWORDS
},
29042 { (char *)"VideoMode_w_set", (PyCFunction
) _wrap_VideoMode_w_set
, METH_VARARGS
| METH_KEYWORDS
},
29043 { (char *)"VideoMode_w_get", (PyCFunction
) _wrap_VideoMode_w_get
, METH_VARARGS
| METH_KEYWORDS
},
29044 { (char *)"VideoMode_h_set", (PyCFunction
) _wrap_VideoMode_h_set
, METH_VARARGS
| METH_KEYWORDS
},
29045 { (char *)"VideoMode_h_get", (PyCFunction
) _wrap_VideoMode_h_get
, METH_VARARGS
| METH_KEYWORDS
},
29046 { (char *)"VideoMode_bpp_set", (PyCFunction
) _wrap_VideoMode_bpp_set
, METH_VARARGS
| METH_KEYWORDS
},
29047 { (char *)"VideoMode_bpp_get", (PyCFunction
) _wrap_VideoMode_bpp_get
, METH_VARARGS
| METH_KEYWORDS
},
29048 { (char *)"VideoMode_refresh_set", (PyCFunction
) _wrap_VideoMode_refresh_set
, METH_VARARGS
| METH_KEYWORDS
},
29049 { (char *)"VideoMode_refresh_get", (PyCFunction
) _wrap_VideoMode_refresh_get
, METH_VARARGS
| METH_KEYWORDS
},
29050 { (char *)"VideoMode_swigregister", VideoMode_swigregister
, METH_VARARGS
},
29051 { (char *)"new_Display", (PyCFunction
) _wrap_new_Display
, METH_VARARGS
| METH_KEYWORDS
},
29052 { (char *)"delete_Display", (PyCFunction
) _wrap_delete_Display
, METH_VARARGS
| METH_KEYWORDS
},
29053 { (char *)"Display_GetCount", (PyCFunction
) _wrap_Display_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
29054 { (char *)"Display_GetFromPoint", (PyCFunction
) _wrap_Display_GetFromPoint
, METH_VARARGS
| METH_KEYWORDS
},
29055 { (char *)"Display_GetFromWindow", (PyCFunction
) _wrap_Display_GetFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
29056 { (char *)"Display_IsOk", (PyCFunction
) _wrap_Display_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
29057 { (char *)"Display_GetGeometry", (PyCFunction
) _wrap_Display_GetGeometry
, METH_VARARGS
| METH_KEYWORDS
},
29058 { (char *)"Display_GetName", (PyCFunction
) _wrap_Display_GetName
, METH_VARARGS
| METH_KEYWORDS
},
29059 { (char *)"Display_IsPrimary", (PyCFunction
) _wrap_Display_IsPrimary
, METH_VARARGS
| METH_KEYWORDS
},
29060 { (char *)"Display_GetModes", (PyCFunction
) _wrap_Display_GetModes
, METH_VARARGS
| METH_KEYWORDS
},
29061 { (char *)"Display_GetCurrentMode", (PyCFunction
) _wrap_Display_GetCurrentMode
, METH_VARARGS
| METH_KEYWORDS
},
29062 { (char *)"Display_ChangeMode", (PyCFunction
) _wrap_Display_ChangeMode
, METH_VARARGS
| METH_KEYWORDS
},
29063 { (char *)"Display_ResetMode", (PyCFunction
) _wrap_Display_ResetMode
, METH_VARARGS
| METH_KEYWORDS
},
29064 { (char *)"Display_swigregister", Display_swigregister
, METH_VARARGS
},
29069 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
29071 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
29072 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
29074 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
29075 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
29077 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
29078 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
29080 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
29081 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
29083 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
29084 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
29086 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
29087 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
29089 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
29090 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
29092 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
29093 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
29095 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
29096 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
29098 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
29099 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
29101 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
29102 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
29104 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
29105 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
29107 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
29108 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
29110 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
29111 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
29113 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
29114 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
29116 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
29117 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
29119 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
29120 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
29122 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
29123 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
29125 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
29126 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
29128 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
29129 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
29131 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
29132 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
29134 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
29135 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
29137 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
29138 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
29140 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
29141 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
29143 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
29144 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
29146 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
29147 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
29149 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
29150 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
29152 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
29153 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
29155 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
29156 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
29158 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
29159 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
29161 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
29162 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
29164 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
29165 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
29167 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
29168 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
29170 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
29171 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
29173 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
29174 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
29176 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
29177 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
29179 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
29180 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
29182 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
29183 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
29185 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
29186 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
29188 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
29189 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
29191 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
29192 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
29194 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
29195 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
29197 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
29198 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
29200 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
29201 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
29203 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
29204 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
29206 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
29207 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
29209 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
29210 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
29212 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
29213 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
29215 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
29216 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
29218 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
29219 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
29221 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
29222 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
29224 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
29225 return (void *)((wxDataObject
*) (wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
29227 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
29228 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
29230 static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x
) {
29231 return (void *)((wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
29233 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
29234 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
29236 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
29237 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
29239 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
29240 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
29242 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
29243 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
29245 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
29246 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
29248 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
29249 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
29251 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
29252 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
29254 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
29255 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
29257 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
29258 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
29260 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
29261 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
29263 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
29264 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
29266 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
29267 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
29269 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
29270 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
29272 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
29273 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
29275 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
29276 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
29278 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
29279 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
29281 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
29282 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
29284 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
29285 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
29287 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
29288 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
29290 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
29291 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
29293 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
29294 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
29296 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
29297 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
29299 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
29300 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
29302 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
29303 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
29305 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
29306 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
29308 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
29309 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
29311 static void *_p_wxSizerTo_p_wxObject(void *x
) {
29312 return (void *)((wxObject
*) ((wxSizer
*) x
));
29314 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
29315 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
29317 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
29318 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
29320 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
29321 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
29323 static void *_p_wxEventTo_p_wxObject(void *x
) {
29324 return (void *)((wxObject
*) ((wxEvent
*) x
));
29326 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
29327 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
29329 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
29330 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
29332 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
29333 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
29335 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
29336 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
29338 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
29339 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
29341 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
29342 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
29344 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
29345 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
29347 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
29348 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
29350 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
29351 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
29353 static void *_p_wxControlTo_p_wxObject(void *x
) {
29354 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
29356 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
29357 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
29359 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
29360 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
29362 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
29363 return (void *)((wxObject
*) ((wxFSFile
*) x
));
29365 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
29366 return (void *)((wxObject
*) ((wxClipboard
*) x
));
29368 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
29369 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
29371 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
29372 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
29374 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
29375 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
29377 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
29378 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
29380 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
29381 return (void *)((wxObject
*) ((wxToolTip
*) x
));
29383 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
29384 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
29386 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
29387 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
29389 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
29390 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
29392 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
29393 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
29395 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
29396 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
29398 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
29399 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
29401 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
29402 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
29404 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
29405 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
29407 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
29408 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
29410 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
29411 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
29413 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
29414 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
29416 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
29417 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
29419 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
29420 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
29422 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
29423 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
29425 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
29426 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
29428 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
29429 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
29431 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
29432 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
29434 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
29435 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
29437 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
29438 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
29440 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
29441 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
29443 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
29444 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
29446 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
29447 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
29449 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
29450 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
29452 static void *_p_wxImageTo_p_wxObject(void *x
) {
29453 return (void *)((wxObject
*) ((wxImage
*) x
));
29455 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
29456 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
29458 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
29459 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
29461 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
29462 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
29464 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
29465 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
29467 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
29468 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
29470 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
29471 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
29473 static void *_p_wxWindowTo_p_wxObject(void *x
) {
29474 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
29476 static void *_p_wxMenuTo_p_wxObject(void *x
) {
29477 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
29479 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
29480 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
29482 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
29483 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
29485 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
29486 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
29488 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
29489 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
29491 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
29492 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
29494 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
29495 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
29497 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
29498 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
29500 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
29501 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
29503 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
29504 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
29506 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
29507 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
29509 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
29510 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
29512 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
29513 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
29515 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
29516 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
29518 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
29519 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
29521 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
29522 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
29524 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
29525 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
29527 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
29528 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
29530 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
29531 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
29533 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
29534 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
29536 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
29537 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
29539 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
29540 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
29542 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
29543 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
29545 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
29546 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
29548 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
29549 return (void *)((wxLog
*) ((wxLogChain
*) x
));
29551 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
29552 return (void *)((wxLog
*) ((wxLogGui
*) x
));
29554 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
29555 return (void *)((wxLog
*) ((wxPyLog
*) x
));
29557 static void *_p_wxControlTo_p_wxWindow(void *x
) {
29558 return (void *)((wxWindow
*) ((wxControl
*) x
));
29560 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
29561 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
29563 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
29564 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
29566 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
29567 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
29569 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
29570 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
29572 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}};
29573 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}};
29574 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}};
29575 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}};
29576 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}};
29577 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}};
29578 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}};
29579 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}};
29580 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}};
29581 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}};
29582 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}};
29583 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}};
29584 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}};
29585 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}};
29586 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}};
29587 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}};
29588 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}};
29589 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}};
29590 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}};
29591 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}};
29592 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}};
29593 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}};
29594 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}};
29595 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}};
29596 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}};
29597 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}};
29598 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}};
29599 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}};
29600 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}};
29601 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}};
29602 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}};
29603 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}};
29604 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}};
29605 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}};
29606 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}};
29607 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}};
29608 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}};
29609 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}};
29610 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}};
29611 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}};
29612 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}};
29613 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}};
29614 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}};
29615 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}};
29616 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}};
29617 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}};
29618 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}};
29619 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}};
29620 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}};
29621 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}};
29622 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}};
29623 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}};
29624 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}};
29625 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}};
29626 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}};
29627 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}};
29628 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}};
29629 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}};
29630 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}};
29631 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}};
29632 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}};
29633 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}};
29634 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}};
29635 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}};
29636 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}};
29637 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}};
29638 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}};
29639 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}};
29640 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}};
29641 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}};
29642 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}};
29643 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}};
29644 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}};
29645 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}};
29646 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}};
29647 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}};
29648 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}};
29649 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}};
29650 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}};
29651 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}};
29652 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}};
29653 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}};
29654 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}};
29655 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}};
29656 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}};
29657 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}};
29659 static swig_type_info
*swig_types_initial
[] = {
29660 _swigt__p_wxLogChain
,
29661 _swigt__p_wxMutexGuiLocker
,
29662 _swigt__p_wxMetafile
,
29663 _swigt__p_wxFileHistory
,
29665 _swigt__p_wxDateTime__TimeZone
,
29668 _swigt__p_wxConfigBase
,
29669 _swigt__p_wxDisplay
,
29670 _swigt__p_wxFileType
,
29671 _swigt__p_wxLogGui
,
29673 _swigt__p_wxDataFormat
,
29674 _swigt__p_wxTimerEvent
,
29678 _swigt__p_wxClipboard
,
29679 _swigt__p_wxStopWatch
,
29681 _swigt__p_wxClipboardLocker
,
29683 _swigt__p_wxLogStderr
,
29684 _swigt__p_wxLogTextCtrl
,
29685 _swigt__p_wxTextCtrl
,
29686 _swigt__p_wxBusyCursor
,
29687 _swigt__p_wxPyBitmapDataObject
,
29688 _swigt__p_wxPyTextDataObject
,
29689 _swigt__p_wxBitmapDataObject
,
29690 _swigt__p_wxTextDataObject
,
29691 _swigt__p_wxDataObject
,
29692 _swigt__p_wxFileDataObject
,
29693 _swigt__p_wxCustomDataObject
,
29694 _swigt__p_wxURLDataObject
,
29695 _swigt__p_wxMetafileDataObject
,
29697 _swigt__p_wxTimerRunner
,
29698 _swigt__p_wxLogWindow
,
29699 _swigt__p_wxTimeSpan
,
29700 _swigt__p_wxArrayString
,
29701 _swigt__p_wxWindowDisabler
,
29702 _swigt__p_wxToolTip
,
29703 _swigt__p_wxDataObjectComposite
,
29704 _swigt__p_wxFileConfig
,
29705 _swigt__p_wxSystemSettings
,
29706 _swigt__p_wxVideoMode
,
29707 _swigt__p_wxPyDataObjectSimple
,
29708 _swigt__p_wxDataObjectSimple
,
29709 _swigt__p_wxEvtHandler
,
29712 _swigt__p_wxSingleInstanceChecker
,
29713 _swigt__p_wxFileTypeInfo
,
29716 _swigt__p_wxMimeTypesManager
,
29717 _swigt__p_wxPyArtProvider
,
29718 _swigt__p_wxPyTipProvider
,
29719 _swigt__p_wxTipProvider
,
29720 _swigt__p_wxJoystick
,
29721 _swigt__p_wxSystemOptions
,
29723 _swigt__p_wxJoystickEvent
,
29724 _swigt__p_wxCursor
,
29725 _swigt__p_wxObject
,
29726 _swigt__p_wxOutputStream
,
29727 _swigt__p_wxDateTime
,
29728 _swigt__p_wxPyDropSource
,
29729 _swigt__p_wxWindow
,
29730 _swigt__p_wxString
,
29731 _swigt__p_wxPyProcess
,
29732 _swigt__p_wxBitmap
,
29733 _swigt__p_wxConfig
,
29735 _swigt__p_wxBusyInfo
,
29736 _swigt__p_wxPyDropTarget
,
29737 _swigt__p_wxPyTextDropTarget
,
29738 _swigt__p_wxPyFileDropTarget
,
29739 _swigt__p_wxProcessEvent
,
29741 _swigt__p_wxLogNull
,
29742 _swigt__p_wxColour
,
29743 _swigt__p_wxConfigPathChanger
,
29744 _swigt__p_wxPyTimer
,
29745 _swigt__p_wxDateSpan
,
29750 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
29752 static swig_const_info swig_const_table
[] = {
29753 { SWIG_PY_POINTER
, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", &SWIGTYPE_p_char
},
29754 { SWIG_PY_POINTER
, (char*)"TRACE_Messages", 0, 0, (void *)"messages", &SWIGTYPE_p_char
},
29755 { SWIG_PY_POINTER
, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", &SWIGTYPE_p_char
},
29756 { SWIG_PY_POINTER
, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", &SWIGTYPE_p_char
},
29757 { SWIG_PY_POINTER
, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", &SWIGTYPE_p_char
},
29767 SWIGEXPORT(void) SWIG_init(void) {
29768 static PyObject
*SWIG_globals
= 0;
29769 static int typeinit
= 0;
29772 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
29773 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
29774 d
= PyModule_GetDict(m
);
29777 for (i
= 0; swig_types_initial
[i
]; i
++) {
29778 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
29782 SWIG_InstallConstants(d
,swig_const_table
);
29784 PyDict_SetItemString(d
,"SYS_OEM_FIXED_FONT", SWIG_FromInt((int)wxSYS_OEM_FIXED_FONT
));
29785 PyDict_SetItemString(d
,"SYS_ANSI_FIXED_FONT", SWIG_FromInt((int)wxSYS_ANSI_FIXED_FONT
));
29786 PyDict_SetItemString(d
,"SYS_ANSI_VAR_FONT", SWIG_FromInt((int)wxSYS_ANSI_VAR_FONT
));
29787 PyDict_SetItemString(d
,"SYS_SYSTEM_FONT", SWIG_FromInt((int)wxSYS_SYSTEM_FONT
));
29788 PyDict_SetItemString(d
,"SYS_DEVICE_DEFAULT_FONT", SWIG_FromInt((int)wxSYS_DEVICE_DEFAULT_FONT
));
29789 PyDict_SetItemString(d
,"SYS_DEFAULT_PALETTE", SWIG_FromInt((int)wxSYS_DEFAULT_PALETTE
));
29790 PyDict_SetItemString(d
,"SYS_SYSTEM_FIXED_FONT", SWIG_FromInt((int)wxSYS_SYSTEM_FIXED_FONT
));
29791 PyDict_SetItemString(d
,"SYS_DEFAULT_GUI_FONT", SWIG_FromInt((int)wxSYS_DEFAULT_GUI_FONT
));
29792 PyDict_SetItemString(d
,"SYS_ICONTITLE_FONT", SWIG_FromInt((int)wxSYS_ICONTITLE_FONT
));
29793 PyDict_SetItemString(d
,"SYS_COLOUR_SCROLLBAR", SWIG_FromInt((int)wxSYS_COLOUR_SCROLLBAR
));
29794 PyDict_SetItemString(d
,"SYS_COLOUR_BACKGROUND", SWIG_FromInt((int)wxSYS_COLOUR_BACKGROUND
));
29795 PyDict_SetItemString(d
,"SYS_COLOUR_DESKTOP", SWIG_FromInt((int)wxSYS_COLOUR_DESKTOP
));
29796 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_ACTIVECAPTION
));
29797 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVECAPTION
));
29798 PyDict_SetItemString(d
,"SYS_COLOUR_MENU", SWIG_FromInt((int)wxSYS_COLOUR_MENU
));
29799 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOW", SWIG_FromInt((int)wxSYS_COLOUR_WINDOW
));
29800 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWFRAME", SWIG_FromInt((int)wxSYS_COLOUR_WINDOWFRAME
));
29801 PyDict_SetItemString(d
,"SYS_COLOUR_MENUTEXT", SWIG_FromInt((int)wxSYS_COLOUR_MENUTEXT
));
29802 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWTEXT", SWIG_FromInt((int)wxSYS_COLOUR_WINDOWTEXT
));
29803 PyDict_SetItemString(d
,"SYS_COLOUR_CAPTIONTEXT", SWIG_FromInt((int)wxSYS_COLOUR_CAPTIONTEXT
));
29804 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVEBORDER", SWIG_FromInt((int)wxSYS_COLOUR_ACTIVEBORDER
));
29805 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVEBORDER", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVEBORDER
));
29806 PyDict_SetItemString(d
,"SYS_COLOUR_APPWORKSPACE", SWIG_FromInt((int)wxSYS_COLOUR_APPWORKSPACE
));
29807 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_HIGHLIGHT
));
29808 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_FromInt((int)wxSYS_COLOUR_HIGHLIGHTTEXT
));
29809 PyDict_SetItemString(d
,"SYS_COLOUR_BTNFACE", SWIG_FromInt((int)wxSYS_COLOUR_BTNFACE
));
29810 PyDict_SetItemString(d
,"SYS_COLOUR_3DFACE", SWIG_FromInt((int)wxSYS_COLOUR_3DFACE
));
29811 PyDict_SetItemString(d
,"SYS_COLOUR_BTNSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_BTNSHADOW
));
29812 PyDict_SetItemString(d
,"SYS_COLOUR_3DSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_3DSHADOW
));
29813 PyDict_SetItemString(d
,"SYS_COLOUR_GRAYTEXT", SWIG_FromInt((int)wxSYS_COLOUR_GRAYTEXT
));
29814 PyDict_SetItemString(d
,"SYS_COLOUR_BTNTEXT", SWIG_FromInt((int)wxSYS_COLOUR_BTNTEXT
));
29815 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVECAPTIONTEXT
));
29816 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_BTNHIGHLIGHT
));
29817 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_BTNHILIGHT
));
29818 PyDict_SetItemString(d
,"SYS_COLOUR_3DHIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DHIGHLIGHT
));
29819 PyDict_SetItemString(d
,"SYS_COLOUR_3DHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DHILIGHT
));
29820 PyDict_SetItemString(d
,"SYS_COLOUR_3DDKSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_3DDKSHADOW
));
29821 PyDict_SetItemString(d
,"SYS_COLOUR_3DLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DLIGHT
));
29822 PyDict_SetItemString(d
,"SYS_COLOUR_INFOTEXT", SWIG_FromInt((int)wxSYS_COLOUR_INFOTEXT
));
29823 PyDict_SetItemString(d
,"SYS_COLOUR_INFOBK", SWIG_FromInt((int)wxSYS_COLOUR_INFOBK
));
29824 PyDict_SetItemString(d
,"SYS_COLOUR_LISTBOX", SWIG_FromInt((int)wxSYS_COLOUR_LISTBOX
));
29825 PyDict_SetItemString(d
,"SYS_COLOUR_HOTLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_HOTLIGHT
));
29826 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_GRADIENTACTIVECAPTION
));
29827 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_GRADIENTINACTIVECAPTION
));
29828 PyDict_SetItemString(d
,"SYS_COLOUR_MENUHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_MENUHILIGHT
));
29829 PyDict_SetItemString(d
,"SYS_COLOUR_MENUBAR", SWIG_FromInt((int)wxSYS_COLOUR_MENUBAR
));
29830 PyDict_SetItemString(d
,"SYS_COLOUR_MAX", SWIG_FromInt((int)wxSYS_COLOUR_MAX
));
29831 PyDict_SetItemString(d
,"SYS_MOUSE_BUTTONS", SWIG_FromInt((int)wxSYS_MOUSE_BUTTONS
));
29832 PyDict_SetItemString(d
,"SYS_BORDER_X", SWIG_FromInt((int)wxSYS_BORDER_X
));
29833 PyDict_SetItemString(d
,"SYS_BORDER_Y", SWIG_FromInt((int)wxSYS_BORDER_Y
));
29834 PyDict_SetItemString(d
,"SYS_CURSOR_X", SWIG_FromInt((int)wxSYS_CURSOR_X
));
29835 PyDict_SetItemString(d
,"SYS_CURSOR_Y", SWIG_FromInt((int)wxSYS_CURSOR_Y
));
29836 PyDict_SetItemString(d
,"SYS_DCLICK_X", SWIG_FromInt((int)wxSYS_DCLICK_X
));
29837 PyDict_SetItemString(d
,"SYS_DCLICK_Y", SWIG_FromInt((int)wxSYS_DCLICK_Y
));
29838 PyDict_SetItemString(d
,"SYS_DRAG_X", SWIG_FromInt((int)wxSYS_DRAG_X
));
29839 PyDict_SetItemString(d
,"SYS_DRAG_Y", SWIG_FromInt((int)wxSYS_DRAG_Y
));
29840 PyDict_SetItemString(d
,"SYS_EDGE_X", SWIG_FromInt((int)wxSYS_EDGE_X
));
29841 PyDict_SetItemString(d
,"SYS_EDGE_Y", SWIG_FromInt((int)wxSYS_EDGE_Y
));
29842 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_X", SWIG_FromInt((int)wxSYS_HSCROLL_ARROW_X
));
29843 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_Y", SWIG_FromInt((int)wxSYS_HSCROLL_ARROW_Y
));
29844 PyDict_SetItemString(d
,"SYS_HTHUMB_X", SWIG_FromInt((int)wxSYS_HTHUMB_X
));
29845 PyDict_SetItemString(d
,"SYS_ICON_X", SWIG_FromInt((int)wxSYS_ICON_X
));
29846 PyDict_SetItemString(d
,"SYS_ICON_Y", SWIG_FromInt((int)wxSYS_ICON_Y
));
29847 PyDict_SetItemString(d
,"SYS_ICONSPACING_X", SWIG_FromInt((int)wxSYS_ICONSPACING_X
));
29848 PyDict_SetItemString(d
,"SYS_ICONSPACING_Y", SWIG_FromInt((int)wxSYS_ICONSPACING_Y
));
29849 PyDict_SetItemString(d
,"SYS_WINDOWMIN_X", SWIG_FromInt((int)wxSYS_WINDOWMIN_X
));
29850 PyDict_SetItemString(d
,"SYS_WINDOWMIN_Y", SWIG_FromInt((int)wxSYS_WINDOWMIN_Y
));
29851 PyDict_SetItemString(d
,"SYS_SCREEN_X", SWIG_FromInt((int)wxSYS_SCREEN_X
));
29852 PyDict_SetItemString(d
,"SYS_SCREEN_Y", SWIG_FromInt((int)wxSYS_SCREEN_Y
));
29853 PyDict_SetItemString(d
,"SYS_FRAMESIZE_X", SWIG_FromInt((int)wxSYS_FRAMESIZE_X
));
29854 PyDict_SetItemString(d
,"SYS_FRAMESIZE_Y", SWIG_FromInt((int)wxSYS_FRAMESIZE_Y
));
29855 PyDict_SetItemString(d
,"SYS_SMALLICON_X", SWIG_FromInt((int)wxSYS_SMALLICON_X
));
29856 PyDict_SetItemString(d
,"SYS_SMALLICON_Y", SWIG_FromInt((int)wxSYS_SMALLICON_Y
));
29857 PyDict_SetItemString(d
,"SYS_HSCROLL_Y", SWIG_FromInt((int)wxSYS_HSCROLL_Y
));
29858 PyDict_SetItemString(d
,"SYS_VSCROLL_X", SWIG_FromInt((int)wxSYS_VSCROLL_X
));
29859 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_X", SWIG_FromInt((int)wxSYS_VSCROLL_ARROW_X
));
29860 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_Y", SWIG_FromInt((int)wxSYS_VSCROLL_ARROW_Y
));
29861 PyDict_SetItemString(d
,"SYS_VTHUMB_Y", SWIG_FromInt((int)wxSYS_VTHUMB_Y
));
29862 PyDict_SetItemString(d
,"SYS_CAPTION_Y", SWIG_FromInt((int)wxSYS_CAPTION_Y
));
29863 PyDict_SetItemString(d
,"SYS_MENU_Y", SWIG_FromInt((int)wxSYS_MENU_Y
));
29864 PyDict_SetItemString(d
,"SYS_NETWORK_PRESENT", SWIG_FromInt((int)wxSYS_NETWORK_PRESENT
));
29865 PyDict_SetItemString(d
,"SYS_PENWINDOWS_PRESENT", SWIG_FromInt((int)wxSYS_PENWINDOWS_PRESENT
));
29866 PyDict_SetItemString(d
,"SYS_SHOW_SOUNDS", SWIG_FromInt((int)wxSYS_SHOW_SOUNDS
));
29867 PyDict_SetItemString(d
,"SYS_SWAP_BUTTONS", SWIG_FromInt((int)wxSYS_SWAP_BUTTONS
));
29868 PyDict_SetItemString(d
,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_FromInt((int)wxSYS_CAN_DRAW_FRAME_DECORATIONS
));
29869 PyDict_SetItemString(d
,"SYS_CAN_ICONIZE_FRAME", SWIG_FromInt((int)wxSYS_CAN_ICONIZE_FRAME
));
29870 PyDict_SetItemString(d
,"SYS_SCREEN_NONE", SWIG_FromInt((int)wxSYS_SCREEN_NONE
));
29871 PyDict_SetItemString(d
,"SYS_SCREEN_TINY", SWIG_FromInt((int)wxSYS_SCREEN_TINY
));
29872 PyDict_SetItemString(d
,"SYS_SCREEN_PDA", SWIG_FromInt((int)wxSYS_SCREEN_PDA
));
29873 PyDict_SetItemString(d
,"SYS_SCREEN_SMALL", SWIG_FromInt((int)wxSYS_SCREEN_SMALL
));
29874 PyDict_SetItemString(d
,"SYS_SCREEN_DESKTOP", SWIG_FromInt((int)wxSYS_SCREEN_DESKTOP
));
29875 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
29876 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
29877 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
29878 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
29879 PyDict_SetItemString(d
,"SHUTDOWN_POWEROFF", SWIG_FromInt((int)wxSHUTDOWN_POWEROFF
));
29880 PyDict_SetItemString(d
,"SHUTDOWN_REBOOT", SWIG_FromInt((int)wxSHUTDOWN_REBOOT
));
29881 PyDict_SetItemString(d
,"TIMER_CONTINUOUS", SWIG_FromInt((int)wxTIMER_CONTINUOUS
));
29882 PyDict_SetItemString(d
,"TIMER_ONE_SHOT", SWIG_FromInt((int)wxTIMER_ONE_SHOT
));
29883 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
29885 wxPyPtrTypeMap_Add("wxTimer", "wxPyTimer");
29887 PyDict_SetItemString(d
,"LOG_FatalError", SWIG_FromInt((int)wxLOG_FatalError
));
29888 PyDict_SetItemString(d
,"LOG_Error", SWIG_FromInt((int)wxLOG_Error
));
29889 PyDict_SetItemString(d
,"LOG_Warning", SWIG_FromInt((int)wxLOG_Warning
));
29890 PyDict_SetItemString(d
,"LOG_Message", SWIG_FromInt((int)wxLOG_Message
));
29891 PyDict_SetItemString(d
,"LOG_Status", SWIG_FromInt((int)wxLOG_Status
));
29892 PyDict_SetItemString(d
,"LOG_Info", SWIG_FromInt((int)wxLOG_Info
));
29893 PyDict_SetItemString(d
,"LOG_Debug", SWIG_FromInt((int)wxLOG_Debug
));
29894 PyDict_SetItemString(d
,"LOG_Trace", SWIG_FromInt((int)wxLOG_Trace
));
29895 PyDict_SetItemString(d
,"LOG_Progress", SWIG_FromInt((int)wxLOG_Progress
));
29896 PyDict_SetItemString(d
,"LOG_User", SWIG_FromInt((int)wxLOG_User
));
29897 PyDict_SetItemString(d
,"LOG_Max", SWIG_FromInt((int)wxLOG_Max
));
29898 PyDict_SetItemString(d
,"TRACE_MemAlloc", SWIG_FromCharPtr("memalloc"));
29899 PyDict_SetItemString(d
,"TRACE_Messages", SWIG_FromCharPtr("messages"));
29900 PyDict_SetItemString(d
,"TRACE_ResAlloc", SWIG_FromCharPtr("resalloc"));
29901 PyDict_SetItemString(d
,"TRACE_RefCount", SWIG_FromCharPtr("refcount"));
29902 PyDict_SetItemString(d
,"TRACE_OleCalls", SWIG_FromCharPtr("ole"));
29903 PyDict_SetItemString(d
,"TraceMemAlloc", SWIG_FromInt((int)0x0001));
29904 PyDict_SetItemString(d
,"TraceMessages", SWIG_FromInt((int)0x0002));
29905 PyDict_SetItemString(d
,"TraceResAlloc", SWIG_FromInt((int)0x0004));
29906 PyDict_SetItemString(d
,"TraceRefCount", SWIG_FromInt((int)0x0008));
29907 PyDict_SetItemString(d
,"TraceOleCalls", SWIG_FromInt((int)0x0100));
29908 PyDict_SetItemString(d
,"PROCESS_DEFAULT", SWIG_FromInt((int)wxPROCESS_DEFAULT
));
29909 PyDict_SetItemString(d
,"PROCESS_REDIRECT", SWIG_FromInt((int)wxPROCESS_REDIRECT
));
29910 PyDict_SetItemString(d
,"KILL_OK", SWIG_FromInt((int)wxKILL_OK
));
29911 PyDict_SetItemString(d
,"KILL_BAD_SIGNAL", SWIG_FromInt((int)wxKILL_BAD_SIGNAL
));
29912 PyDict_SetItemString(d
,"KILL_ACCESS_DENIED", SWIG_FromInt((int)wxKILL_ACCESS_DENIED
));
29913 PyDict_SetItemString(d
,"KILL_NO_PROCESS", SWIG_FromInt((int)wxKILL_NO_PROCESS
));
29914 PyDict_SetItemString(d
,"KILL_ERROR", SWIG_FromInt((int)wxKILL_ERROR
));
29915 PyDict_SetItemString(d
,"SIGNONE", SWIG_FromInt((int)wxSIGNONE
));
29916 PyDict_SetItemString(d
,"SIGHUP", SWIG_FromInt((int)wxSIGHUP
));
29917 PyDict_SetItemString(d
,"SIGINT", SWIG_FromInt((int)wxSIGINT
));
29918 PyDict_SetItemString(d
,"SIGQUIT", SWIG_FromInt((int)wxSIGQUIT
));
29919 PyDict_SetItemString(d
,"SIGILL", SWIG_FromInt((int)wxSIGILL
));
29920 PyDict_SetItemString(d
,"SIGTRAP", SWIG_FromInt((int)wxSIGTRAP
));
29921 PyDict_SetItemString(d
,"SIGABRT", SWIG_FromInt((int)wxSIGABRT
));
29922 PyDict_SetItemString(d
,"SIGIOT", SWIG_FromInt((int)wxSIGIOT
));
29923 PyDict_SetItemString(d
,"SIGEMT", SWIG_FromInt((int)wxSIGEMT
));
29924 PyDict_SetItemString(d
,"SIGFPE", SWIG_FromInt((int)wxSIGFPE
));
29925 PyDict_SetItemString(d
,"SIGKILL", SWIG_FromInt((int)wxSIGKILL
));
29926 PyDict_SetItemString(d
,"SIGBUS", SWIG_FromInt((int)wxSIGBUS
));
29927 PyDict_SetItemString(d
,"SIGSEGV", SWIG_FromInt((int)wxSIGSEGV
));
29928 PyDict_SetItemString(d
,"SIGSYS", SWIG_FromInt((int)wxSIGSYS
));
29929 PyDict_SetItemString(d
,"SIGPIPE", SWIG_FromInt((int)wxSIGPIPE
));
29930 PyDict_SetItemString(d
,"SIGALRM", SWIG_FromInt((int)wxSIGALRM
));
29931 PyDict_SetItemString(d
,"SIGTERM", SWIG_FromInt((int)wxSIGTERM
));
29932 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
29933 PyDict_SetItemString(d
,"EXEC_ASYNC", SWIG_FromInt((int)wxEXEC_ASYNC
));
29934 PyDict_SetItemString(d
,"EXEC_SYNC", SWIG_FromInt((int)wxEXEC_SYNC
));
29935 PyDict_SetItemString(d
,"EXEC_NOHIDE", SWIG_FromInt((int)wxEXEC_NOHIDE
));
29936 PyDict_SetItemString(d
,"EXEC_MAKE_GROUP_LEADER", SWIG_FromInt((int)wxEXEC_MAKE_GROUP_LEADER
));
29938 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
29940 PyDict_SetItemString(d
,"JOYSTICK1", SWIG_FromInt((int)wxJOYSTICK1
));
29941 PyDict_SetItemString(d
,"JOYSTICK2", SWIG_FromInt((int)wxJOYSTICK2
));
29942 PyDict_SetItemString(d
,"JOY_BUTTON_ANY", SWIG_FromInt((int)wxJOY_BUTTON_ANY
));
29943 PyDict_SetItemString(d
,"JOY_BUTTON1", SWIG_FromInt((int)wxJOY_BUTTON1
));
29944 PyDict_SetItemString(d
,"JOY_BUTTON2", SWIG_FromInt((int)wxJOY_BUTTON2
));
29945 PyDict_SetItemString(d
,"JOY_BUTTON3", SWIG_FromInt((int)wxJOY_BUTTON3
));
29946 PyDict_SetItemString(d
,"JOY_BUTTON4", SWIG_FromInt((int)wxJOY_BUTTON4
));
29947 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
29948 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
29949 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
29950 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
29951 PyDict_SetItemString(d
,"SOUND_SYNC", SWIG_FromInt((int)wxSOUND_SYNC
));
29952 PyDict_SetItemString(d
,"SOUND_ASYNC", SWIG_FromInt((int)wxSOUND_ASYNC
));
29953 PyDict_SetItemString(d
,"SOUND_LOOP", SWIG_FromInt((int)wxSOUND_LOOP
));
29954 PyDict_SetItemString(d
,"MAILCAP_STANDARD", SWIG_FromInt((int)wxMAILCAP_STANDARD
));
29955 PyDict_SetItemString(d
,"MAILCAP_NETSCAPE", SWIG_FromInt((int)wxMAILCAP_NETSCAPE
));
29956 PyDict_SetItemString(d
,"MAILCAP_KDE", SWIG_FromInt((int)wxMAILCAP_KDE
));
29957 PyDict_SetItemString(d
,"MAILCAP_GNOME", SWIG_FromInt((int)wxMAILCAP_GNOME
));
29958 PyDict_SetItemString(d
,"MAILCAP_ALL", SWIG_FromInt((int)wxMAILCAP_ALL
));
29959 SWIG_addvarlink(SWIG_globals
,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get
, _wrap_TheMimeTypesManager_set
);
29960 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get
, _wrap_ART_TOOLBAR_set
);
29961 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MENU",_wrap_ART_MENU_get
, _wrap_ART_MENU_set
);
29962 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get
, _wrap_ART_FRAME_ICON_set
);
29963 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get
, _wrap_ART_CMN_DIALOG_set
);
29964 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get
, _wrap_ART_HELP_BROWSER_set
);
29965 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get
, _wrap_ART_MESSAGE_BOX_set
);
29966 SWIG_addvarlink(SWIG_globals
,(char*)"ART_OTHER",_wrap_ART_OTHER_get
, _wrap_ART_OTHER_set
);
29967 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get
, _wrap_ART_ADD_BOOKMARK_set
);
29968 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get
, _wrap_ART_DEL_BOOKMARK_set
);
29969 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get
, _wrap_ART_HELP_SIDE_PANEL_set
);
29970 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get
, _wrap_ART_HELP_SETTINGS_set
);
29971 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get
, _wrap_ART_HELP_BOOK_set
);
29972 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get
, _wrap_ART_HELP_FOLDER_set
);
29973 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get
, _wrap_ART_HELP_PAGE_set
);
29974 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get
, _wrap_ART_GO_BACK_set
);
29975 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get
, _wrap_ART_GO_FORWARD_set
);
29976 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get
, _wrap_ART_GO_UP_set
);
29977 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get
, _wrap_ART_GO_DOWN_set
);
29978 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get
, _wrap_ART_GO_TO_PARENT_set
);
29979 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get
, _wrap_ART_GO_HOME_set
);
29980 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get
, _wrap_ART_FILE_OPEN_set
);
29981 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PRINT",_wrap_ART_PRINT_get
, _wrap_ART_PRINT_set
);
29982 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP",_wrap_ART_HELP_get
, _wrap_ART_HELP_set
);
29983 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TIP",_wrap_ART_TIP_get
, _wrap_ART_TIP_set
);
29984 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get
, _wrap_ART_REPORT_VIEW_set
);
29985 SWIG_addvarlink(SWIG_globals
,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get
, _wrap_ART_LIST_VIEW_set
);
29986 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get
, _wrap_ART_NEW_DIR_set
);
29987 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get
, _wrap_ART_FOLDER_set
);
29988 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get
, _wrap_ART_GO_DIR_UP_set
);
29989 SWIG_addvarlink(SWIG_globals
,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get
, _wrap_ART_EXECUTABLE_FILE_set
);
29990 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get
, _wrap_ART_NORMAL_FILE_set
);
29991 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get
, _wrap_ART_TICK_MARK_set
);
29992 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get
, _wrap_ART_CROSS_MARK_set
);
29993 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ERROR",_wrap_ART_ERROR_get
, _wrap_ART_ERROR_set
);
29994 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get
, _wrap_ART_QUESTION_set
);
29995 SWIG_addvarlink(SWIG_globals
,(char*)"ART_WARNING",_wrap_ART_WARNING_get
, _wrap_ART_WARNING_set
);
29996 SWIG_addvarlink(SWIG_globals
,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get
, _wrap_ART_INFORMATION_set
);
29997 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get
, _wrap_ART_MISSING_IMAGE_set
);
29999 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
30001 PyDict_SetItemString(d
,"CONFIG_USE_LOCAL_FILE", SWIG_FromInt((int)wxCONFIG_USE_LOCAL_FILE
));
30002 PyDict_SetItemString(d
,"CONFIG_USE_GLOBAL_FILE", SWIG_FromInt((int)wxCONFIG_USE_GLOBAL_FILE
));
30003 PyDict_SetItemString(d
,"CONFIG_USE_RELATIVE_PATH", SWIG_FromInt((int)wxCONFIG_USE_RELATIVE_PATH
));
30004 PyDict_SetItemString(d
,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_FromInt((int)wxCONFIG_USE_NO_ESCAPE_CHARACTERS
));
30005 PyDict_SetItemString(d
,"ConfigBase_Type_Unknown", SWIG_FromInt((int)wxConfigBase::Type_Unknown
));
30006 PyDict_SetItemString(d
,"ConfigBase_Type_String", SWIG_FromInt((int)wxConfigBase::Type_String
));
30007 PyDict_SetItemString(d
,"ConfigBase_Type_Boolean", SWIG_FromInt((int)wxConfigBase::Type_Boolean
));
30008 PyDict_SetItemString(d
,"ConfigBase_Type_Integer", SWIG_FromInt((int)wxConfigBase::Type_Integer
));
30009 PyDict_SetItemString(d
,"ConfigBase_Type_Float", SWIG_FromInt((int)wxConfigBase::Type_Float
));
30010 SWIG_addvarlink(SWIG_globals
,(char*)"DateFormatStr",_wrap_DateFormatStr_get
, _wrap_DateFormatStr_set
);
30011 SWIG_addvarlink(SWIG_globals
,(char*)"TimeSpanFormatStr",_wrap_TimeSpanFormatStr_get
, _wrap_TimeSpanFormatStr_set
);
30012 PyDict_SetItemString(d
,"DateTime_Local", SWIG_FromInt((int)wxDateTime::Local
));
30013 PyDict_SetItemString(d
,"DateTime_GMT_12", SWIG_FromInt((int)wxDateTime::GMT_12
));
30014 PyDict_SetItemString(d
,"DateTime_GMT_11", SWIG_FromInt((int)wxDateTime::GMT_11
));
30015 PyDict_SetItemString(d
,"DateTime_GMT_10", SWIG_FromInt((int)wxDateTime::GMT_10
));
30016 PyDict_SetItemString(d
,"DateTime_GMT_9", SWIG_FromInt((int)wxDateTime::GMT_9
));
30017 PyDict_SetItemString(d
,"DateTime_GMT_8", SWIG_FromInt((int)wxDateTime::GMT_8
));
30018 PyDict_SetItemString(d
,"DateTime_GMT_7", SWIG_FromInt((int)wxDateTime::GMT_7
));
30019 PyDict_SetItemString(d
,"DateTime_GMT_6", SWIG_FromInt((int)wxDateTime::GMT_6
));
30020 PyDict_SetItemString(d
,"DateTime_GMT_5", SWIG_FromInt((int)wxDateTime::GMT_5
));
30021 PyDict_SetItemString(d
,"DateTime_GMT_4", SWIG_FromInt((int)wxDateTime::GMT_4
));
30022 PyDict_SetItemString(d
,"DateTime_GMT_3", SWIG_FromInt((int)wxDateTime::GMT_3
));
30023 PyDict_SetItemString(d
,"DateTime_GMT_2", SWIG_FromInt((int)wxDateTime::GMT_2
));
30024 PyDict_SetItemString(d
,"DateTime_GMT_1", SWIG_FromInt((int)wxDateTime::GMT_1
));
30025 PyDict_SetItemString(d
,"DateTime_GMT0", SWIG_FromInt((int)wxDateTime::GMT0
));
30026 PyDict_SetItemString(d
,"DateTime_GMT1", SWIG_FromInt((int)wxDateTime::GMT1
));
30027 PyDict_SetItemString(d
,"DateTime_GMT2", SWIG_FromInt((int)wxDateTime::GMT2
));
30028 PyDict_SetItemString(d
,"DateTime_GMT3", SWIG_FromInt((int)wxDateTime::GMT3
));
30029 PyDict_SetItemString(d
,"DateTime_GMT4", SWIG_FromInt((int)wxDateTime::GMT4
));
30030 PyDict_SetItemString(d
,"DateTime_GMT5", SWIG_FromInt((int)wxDateTime::GMT5
));
30031 PyDict_SetItemString(d
,"DateTime_GMT6", SWIG_FromInt((int)wxDateTime::GMT6
));
30032 PyDict_SetItemString(d
,"DateTime_GMT7", SWIG_FromInt((int)wxDateTime::GMT7
));
30033 PyDict_SetItemString(d
,"DateTime_GMT8", SWIG_FromInt((int)wxDateTime::GMT8
));
30034 PyDict_SetItemString(d
,"DateTime_GMT9", SWIG_FromInt((int)wxDateTime::GMT9
));
30035 PyDict_SetItemString(d
,"DateTime_GMT10", SWIG_FromInt((int)wxDateTime::GMT10
));
30036 PyDict_SetItemString(d
,"DateTime_GMT11", SWIG_FromInt((int)wxDateTime::GMT11
));
30037 PyDict_SetItemString(d
,"DateTime_GMT12", SWIG_FromInt((int)wxDateTime::GMT12
));
30038 PyDict_SetItemString(d
,"DateTime_WET", SWIG_FromInt((int)wxDateTime::WET
));
30039 PyDict_SetItemString(d
,"DateTime_WEST", SWIG_FromInt((int)wxDateTime::WEST
));
30040 PyDict_SetItemString(d
,"DateTime_CET", SWIG_FromInt((int)wxDateTime::CET
));
30041 PyDict_SetItemString(d
,"DateTime_CEST", SWIG_FromInt((int)wxDateTime::CEST
));
30042 PyDict_SetItemString(d
,"DateTime_EET", SWIG_FromInt((int)wxDateTime::EET
));
30043 PyDict_SetItemString(d
,"DateTime_EEST", SWIG_FromInt((int)wxDateTime::EEST
));
30044 PyDict_SetItemString(d
,"DateTime_MSK", SWIG_FromInt((int)wxDateTime::MSK
));
30045 PyDict_SetItemString(d
,"DateTime_MSD", SWIG_FromInt((int)wxDateTime::MSD
));
30046 PyDict_SetItemString(d
,"DateTime_AST", SWIG_FromInt((int)wxDateTime::AST
));
30047 PyDict_SetItemString(d
,"DateTime_ADT", SWIG_FromInt((int)wxDateTime::ADT
));
30048 PyDict_SetItemString(d
,"DateTime_EST", SWIG_FromInt((int)wxDateTime::EST
));
30049 PyDict_SetItemString(d
,"DateTime_EDT", SWIG_FromInt((int)wxDateTime::EDT
));
30050 PyDict_SetItemString(d
,"DateTime_CST", SWIG_FromInt((int)wxDateTime::CST
));
30051 PyDict_SetItemString(d
,"DateTime_CDT", SWIG_FromInt((int)wxDateTime::CDT
));
30052 PyDict_SetItemString(d
,"DateTime_MST", SWIG_FromInt((int)wxDateTime::MST
));
30053 PyDict_SetItemString(d
,"DateTime_MDT", SWIG_FromInt((int)wxDateTime::MDT
));
30054 PyDict_SetItemString(d
,"DateTime_PST", SWIG_FromInt((int)wxDateTime::PST
));
30055 PyDict_SetItemString(d
,"DateTime_PDT", SWIG_FromInt((int)wxDateTime::PDT
));
30056 PyDict_SetItemString(d
,"DateTime_HST", SWIG_FromInt((int)wxDateTime::HST
));
30057 PyDict_SetItemString(d
,"DateTime_AKST", SWIG_FromInt((int)wxDateTime::AKST
));
30058 PyDict_SetItemString(d
,"DateTime_AKDT", SWIG_FromInt((int)wxDateTime::AKDT
));
30059 PyDict_SetItemString(d
,"DateTime_A_WST", SWIG_FromInt((int)wxDateTime::A_WST
));
30060 PyDict_SetItemString(d
,"DateTime_A_CST", SWIG_FromInt((int)wxDateTime::A_CST
));
30061 PyDict_SetItemString(d
,"DateTime_A_EST", SWIG_FromInt((int)wxDateTime::A_EST
));
30062 PyDict_SetItemString(d
,"DateTime_A_ESST", SWIG_FromInt((int)wxDateTime::A_ESST
));
30063 PyDict_SetItemString(d
,"DateTime_UTC", SWIG_FromInt((int)wxDateTime::UTC
));
30064 PyDict_SetItemString(d
,"DateTime_Gregorian", SWIG_FromInt((int)wxDateTime::Gregorian
));
30065 PyDict_SetItemString(d
,"DateTime_Julian", SWIG_FromInt((int)wxDateTime::Julian
));
30066 PyDict_SetItemString(d
,"DateTime_Gr_Unknown", SWIG_FromInt((int)wxDateTime::Gr_Unknown
));
30067 PyDict_SetItemString(d
,"DateTime_Gr_Standard", SWIG_FromInt((int)wxDateTime::Gr_Standard
));
30068 PyDict_SetItemString(d
,"DateTime_Gr_Alaska", SWIG_FromInt((int)wxDateTime::Gr_Alaska
));
30069 PyDict_SetItemString(d
,"DateTime_Gr_Albania", SWIG_FromInt((int)wxDateTime::Gr_Albania
));
30070 PyDict_SetItemString(d
,"DateTime_Gr_Austria", SWIG_FromInt((int)wxDateTime::Gr_Austria
));
30071 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Brixen", SWIG_FromInt((int)wxDateTime::Gr_Austria_Brixen
));
30072 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Salzburg", SWIG_FromInt((int)wxDateTime::Gr_Austria_Salzburg
));
30073 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Tyrol", SWIG_FromInt((int)wxDateTime::Gr_Austria_Tyrol
));
30074 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Carinthia", SWIG_FromInt((int)wxDateTime::Gr_Austria_Carinthia
));
30075 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Styria", SWIG_FromInt((int)wxDateTime::Gr_Austria_Styria
));
30076 PyDict_SetItemString(d
,"DateTime_Gr_Belgium", SWIG_FromInt((int)wxDateTime::Gr_Belgium
));
30077 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria
));
30078 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_1", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_1
));
30079 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_2", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_2
));
30080 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_3", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_3
));
30081 PyDict_SetItemString(d
,"DateTime_Gr_Canada", SWIG_FromInt((int)wxDateTime::Gr_Canada
));
30082 PyDict_SetItemString(d
,"DateTime_Gr_China", SWIG_FromInt((int)wxDateTime::Gr_China
));
30083 PyDict_SetItemString(d
,"DateTime_Gr_China_1", SWIG_FromInt((int)wxDateTime::Gr_China_1
));
30084 PyDict_SetItemString(d
,"DateTime_Gr_China_2", SWIG_FromInt((int)wxDateTime::Gr_China_2
));
30085 PyDict_SetItemString(d
,"DateTime_Gr_Czechoslovakia", SWIG_FromInt((int)wxDateTime::Gr_Czechoslovakia
));
30086 PyDict_SetItemString(d
,"DateTime_Gr_Denmark", SWIG_FromInt((int)wxDateTime::Gr_Denmark
));
30087 PyDict_SetItemString(d
,"DateTime_Gr_Egypt", SWIG_FromInt((int)wxDateTime::Gr_Egypt
));
30088 PyDict_SetItemString(d
,"DateTime_Gr_Estonia", SWIG_FromInt((int)wxDateTime::Gr_Estonia
));
30089 PyDict_SetItemString(d
,"DateTime_Gr_Finland", SWIG_FromInt((int)wxDateTime::Gr_Finland
));
30090 PyDict_SetItemString(d
,"DateTime_Gr_France", SWIG_FromInt((int)wxDateTime::Gr_France
));
30091 PyDict_SetItemString(d
,"DateTime_Gr_France_Alsace", SWIG_FromInt((int)wxDateTime::Gr_France_Alsace
));
30092 PyDict_SetItemString(d
,"DateTime_Gr_France_Lorraine", SWIG_FromInt((int)wxDateTime::Gr_France_Lorraine
));
30093 PyDict_SetItemString(d
,"DateTime_Gr_France_Strasbourg", SWIG_FromInt((int)wxDateTime::Gr_France_Strasbourg
));
30094 PyDict_SetItemString(d
,"DateTime_Gr_Germany", SWIG_FromInt((int)wxDateTime::Gr_Germany
));
30095 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Catholic", SWIG_FromInt((int)wxDateTime::Gr_Germany_Catholic
));
30096 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Prussia", SWIG_FromInt((int)wxDateTime::Gr_Germany_Prussia
));
30097 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Protestant", SWIG_FromInt((int)wxDateTime::Gr_Germany_Protestant
));
30098 PyDict_SetItemString(d
,"DateTime_Gr_GreatBritain", SWIG_FromInt((int)wxDateTime::Gr_GreatBritain
));
30099 PyDict_SetItemString(d
,"DateTime_Gr_Greece", SWIG_FromInt((int)wxDateTime::Gr_Greece
));
30100 PyDict_SetItemString(d
,"DateTime_Gr_Hungary", SWIG_FromInt((int)wxDateTime::Gr_Hungary
));
30101 PyDict_SetItemString(d
,"DateTime_Gr_Ireland", SWIG_FromInt((int)wxDateTime::Gr_Ireland
));
30102 PyDict_SetItemString(d
,"DateTime_Gr_Italy", SWIG_FromInt((int)wxDateTime::Gr_Italy
));
30103 PyDict_SetItemString(d
,"DateTime_Gr_Japan", SWIG_FromInt((int)wxDateTime::Gr_Japan
));
30104 PyDict_SetItemString(d
,"DateTime_Gr_Japan_1", SWIG_FromInt((int)wxDateTime::Gr_Japan_1
));
30105 PyDict_SetItemString(d
,"DateTime_Gr_Japan_2", SWIG_FromInt((int)wxDateTime::Gr_Japan_2
));
30106 PyDict_SetItemString(d
,"DateTime_Gr_Japan_3", SWIG_FromInt((int)wxDateTime::Gr_Japan_3
));
30107 PyDict_SetItemString(d
,"DateTime_Gr_Latvia", SWIG_FromInt((int)wxDateTime::Gr_Latvia
));
30108 PyDict_SetItemString(d
,"DateTime_Gr_Lithuania", SWIG_FromInt((int)wxDateTime::Gr_Lithuania
));
30109 PyDict_SetItemString(d
,"DateTime_Gr_Luxemburg", SWIG_FromInt((int)wxDateTime::Gr_Luxemburg
));
30110 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands", SWIG_FromInt((int)wxDateTime::Gr_Netherlands
));
30111 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Groningen", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Groningen
));
30112 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Gelderland", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Gelderland
));
30113 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Utrecht", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Utrecht
));
30114 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Friesland", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Friesland
));
30115 PyDict_SetItemString(d
,"DateTime_Gr_Norway", SWIG_FromInt((int)wxDateTime::Gr_Norway
));
30116 PyDict_SetItemString(d
,"DateTime_Gr_Poland", SWIG_FromInt((int)wxDateTime::Gr_Poland
));
30117 PyDict_SetItemString(d
,"DateTime_Gr_Portugal", SWIG_FromInt((int)wxDateTime::Gr_Portugal
));
30118 PyDict_SetItemString(d
,"DateTime_Gr_Romania", SWIG_FromInt((int)wxDateTime::Gr_Romania
));
30119 PyDict_SetItemString(d
,"DateTime_Gr_Russia", SWIG_FromInt((int)wxDateTime::Gr_Russia
));
30120 PyDict_SetItemString(d
,"DateTime_Gr_Scotland", SWIG_FromInt((int)wxDateTime::Gr_Scotland
));
30121 PyDict_SetItemString(d
,"DateTime_Gr_Spain", SWIG_FromInt((int)wxDateTime::Gr_Spain
));
30122 PyDict_SetItemString(d
,"DateTime_Gr_Sweden", SWIG_FromInt((int)wxDateTime::Gr_Sweden
));
30123 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland", SWIG_FromInt((int)wxDateTime::Gr_Switzerland
));
30124 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Catholic", SWIG_FromInt((int)wxDateTime::Gr_Switzerland_Catholic
));
30125 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Protestant", SWIG_FromInt((int)wxDateTime::Gr_Switzerland_Protestant
));
30126 PyDict_SetItemString(d
,"DateTime_Gr_Turkey", SWIG_FromInt((int)wxDateTime::Gr_Turkey
));
30127 PyDict_SetItemString(d
,"DateTime_Gr_USA", SWIG_FromInt((int)wxDateTime::Gr_USA
));
30128 PyDict_SetItemString(d
,"DateTime_Gr_Wales", SWIG_FromInt((int)wxDateTime::Gr_Wales
));
30129 PyDict_SetItemString(d
,"DateTime_Gr_Yugoslavia", SWIG_FromInt((int)wxDateTime::Gr_Yugoslavia
));
30130 PyDict_SetItemString(d
,"DateTime_Country_Unknown", SWIG_FromInt((int)wxDateTime::Country_Unknown
));
30131 PyDict_SetItemString(d
,"DateTime_Country_Default", SWIG_FromInt((int)wxDateTime::Country_Default
));
30132 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_Start", SWIG_FromInt((int)wxDateTime::Country_WesternEurope_Start
));
30133 PyDict_SetItemString(d
,"DateTime_Country_EEC", SWIG_FromInt((int)wxDateTime::Country_EEC
));
30134 PyDict_SetItemString(d
,"DateTime_France", SWIG_FromInt((int)wxDateTime::France
));
30135 PyDict_SetItemString(d
,"DateTime_Germany", SWIG_FromInt((int)wxDateTime::Germany
));
30136 PyDict_SetItemString(d
,"DateTime_UK", SWIG_FromInt((int)wxDateTime::UK
));
30137 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_End", SWIG_FromInt((int)wxDateTime::Country_WesternEurope_End
));
30138 PyDict_SetItemString(d
,"DateTime_Russia", SWIG_FromInt((int)wxDateTime::Russia
));
30139 PyDict_SetItemString(d
,"DateTime_USA", SWIG_FromInt((int)wxDateTime::USA
));
30140 PyDict_SetItemString(d
,"DateTime_Jan", SWIG_FromInt((int)wxDateTime::Jan
));
30141 PyDict_SetItemString(d
,"DateTime_Feb", SWIG_FromInt((int)wxDateTime::Feb
));
30142 PyDict_SetItemString(d
,"DateTime_Mar", SWIG_FromInt((int)wxDateTime::Mar
));
30143 PyDict_SetItemString(d
,"DateTime_Apr", SWIG_FromInt((int)wxDateTime::Apr
));
30144 PyDict_SetItemString(d
,"DateTime_May", SWIG_FromInt((int)wxDateTime::May
));
30145 PyDict_SetItemString(d
,"DateTime_Jun", SWIG_FromInt((int)wxDateTime::Jun
));
30146 PyDict_SetItemString(d
,"DateTime_Jul", SWIG_FromInt((int)wxDateTime::Jul
));
30147 PyDict_SetItemString(d
,"DateTime_Aug", SWIG_FromInt((int)wxDateTime::Aug
));
30148 PyDict_SetItemString(d
,"DateTime_Sep", SWIG_FromInt((int)wxDateTime::Sep
));
30149 PyDict_SetItemString(d
,"DateTime_Oct", SWIG_FromInt((int)wxDateTime::Oct
));
30150 PyDict_SetItemString(d
,"DateTime_Nov", SWIG_FromInt((int)wxDateTime::Nov
));
30151 PyDict_SetItemString(d
,"DateTime_Dec", SWIG_FromInt((int)wxDateTime::Dec
));
30152 PyDict_SetItemString(d
,"DateTime_Inv_Month", SWIG_FromInt((int)wxDateTime::Inv_Month
));
30153 PyDict_SetItemString(d
,"DateTime_Sun", SWIG_FromInt((int)wxDateTime::Sun
));
30154 PyDict_SetItemString(d
,"DateTime_Mon", SWIG_FromInt((int)wxDateTime::Mon
));
30155 PyDict_SetItemString(d
,"DateTime_Tue", SWIG_FromInt((int)wxDateTime::Tue
));
30156 PyDict_SetItemString(d
,"DateTime_Wed", SWIG_FromInt((int)wxDateTime::Wed
));
30157 PyDict_SetItemString(d
,"DateTime_Thu", SWIG_FromInt((int)wxDateTime::Thu
));
30158 PyDict_SetItemString(d
,"DateTime_Fri", SWIG_FromInt((int)wxDateTime::Fri
));
30159 PyDict_SetItemString(d
,"DateTime_Sat", SWIG_FromInt((int)wxDateTime::Sat
));
30160 PyDict_SetItemString(d
,"DateTime_Inv_WeekDay", SWIG_FromInt((int)wxDateTime::Inv_WeekDay
));
30161 PyDict_SetItemString(d
,"DateTime_Inv_Year", SWIG_FromInt((int)wxDateTime::Inv_Year
));
30162 PyDict_SetItemString(d
,"DateTime_Name_Full", SWIG_FromInt((int)wxDateTime::Name_Full
));
30163 PyDict_SetItemString(d
,"DateTime_Name_Abbr", SWIG_FromInt((int)wxDateTime::Name_Abbr
));
30164 PyDict_SetItemString(d
,"DateTime_Default_First", SWIG_FromInt((int)wxDateTime::Default_First
));
30165 PyDict_SetItemString(d
,"DateTime_Monday_First", SWIG_FromInt((int)wxDateTime::Monday_First
));
30166 PyDict_SetItemString(d
,"DateTime_Sunday_First", SWIG_FromInt((int)wxDateTime::Sunday_First
));
30167 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultDateTime",_wrap_DefaultDateTime_get
, _wrap_DefaultDateTime_set
);
30168 PyDict_SetItemString(d
,"DF_INVALID", SWIG_FromInt((int)wxDF_INVALID
));
30169 PyDict_SetItemString(d
,"DF_TEXT", SWIG_FromInt((int)wxDF_TEXT
));
30170 PyDict_SetItemString(d
,"DF_BITMAP", SWIG_FromInt((int)wxDF_BITMAP
));
30171 PyDict_SetItemString(d
,"DF_METAFILE", SWIG_FromInt((int)wxDF_METAFILE
));
30172 PyDict_SetItemString(d
,"DF_SYLK", SWIG_FromInt((int)wxDF_SYLK
));
30173 PyDict_SetItemString(d
,"DF_DIF", SWIG_FromInt((int)wxDF_DIF
));
30174 PyDict_SetItemString(d
,"DF_TIFF", SWIG_FromInt((int)wxDF_TIFF
));
30175 PyDict_SetItemString(d
,"DF_OEMTEXT", SWIG_FromInt((int)wxDF_OEMTEXT
));
30176 PyDict_SetItemString(d
,"DF_DIB", SWIG_FromInt((int)wxDF_DIB
));
30177 PyDict_SetItemString(d
,"DF_PALETTE", SWIG_FromInt((int)wxDF_PALETTE
));
30178 PyDict_SetItemString(d
,"DF_PENDATA", SWIG_FromInt((int)wxDF_PENDATA
));
30179 PyDict_SetItemString(d
,"DF_RIFF", SWIG_FromInt((int)wxDF_RIFF
));
30180 PyDict_SetItemString(d
,"DF_WAVE", SWIG_FromInt((int)wxDF_WAVE
));
30181 PyDict_SetItemString(d
,"DF_UNICODETEXT", SWIG_FromInt((int)wxDF_UNICODETEXT
));
30182 PyDict_SetItemString(d
,"DF_ENHMETAFILE", SWIG_FromInt((int)wxDF_ENHMETAFILE
));
30183 PyDict_SetItemString(d
,"DF_FILENAME", SWIG_FromInt((int)wxDF_FILENAME
));
30184 PyDict_SetItemString(d
,"DF_LOCALE", SWIG_FromInt((int)wxDF_LOCALE
));
30185 PyDict_SetItemString(d
,"DF_PRIVATE", SWIG_FromInt((int)wxDF_PRIVATE
));
30186 PyDict_SetItemString(d
,"DF_HTML", SWIG_FromInt((int)wxDF_HTML
));
30187 PyDict_SetItemString(d
,"DF_MAX", SWIG_FromInt((int)wxDF_MAX
));
30188 SWIG_addvarlink(SWIG_globals
,(char*)"FormatInvalid",_wrap_FormatInvalid_get
, _wrap_FormatInvalid_set
);
30189 PyDict_SetItemString(d
,"DataObject_Get", SWIG_FromInt((int)wxDataObject::Get
));
30190 PyDict_SetItemString(d
,"DataObject_Set", SWIG_FromInt((int)wxDataObject::Set
));
30191 PyDict_SetItemString(d
,"DataObject_Both", SWIG_FromInt((int)wxDataObject::Both
));
30192 PyDict_SetItemString(d
,"Drag_CopyOnly", SWIG_FromInt((int)wxDrag_CopyOnly
));
30193 PyDict_SetItemString(d
,"Drag_AllowMove", SWIG_FromInt((int)wxDrag_AllowMove
));
30194 PyDict_SetItemString(d
,"Drag_DefaultMove", SWIG_FromInt((int)wxDrag_DefaultMove
));
30195 PyDict_SetItemString(d
,"DragError", SWIG_FromInt((int)wxDragError
));
30196 PyDict_SetItemString(d
,"DragNone", SWIG_FromInt((int)wxDragNone
));
30197 PyDict_SetItemString(d
,"DragCopy", SWIG_FromInt((int)wxDragCopy
));
30198 PyDict_SetItemString(d
,"DragMove", SWIG_FromInt((int)wxDragMove
));
30199 PyDict_SetItemString(d
,"DragLink", SWIG_FromInt((int)wxDragLink
));
30200 PyDict_SetItemString(d
,"DragCancel", SWIG_FromInt((int)wxDragCancel
));
30202 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
30203 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
30204 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
30205 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
30207 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultVideoMode",_wrap_DefaultVideoMode_get
, _wrap_DefaultVideoMode_set
);