1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
52 /***********************************************************************
53 * common.swg for wxPython
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
60 ************************************************************************/
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
90 # define SWIGRUNTIME(a) static a
97 typedef void *(*swig_converter_func
)(void *);
98 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
100 typedef struct swig_type_info
{
102 swig_converter_func converter
;
105 swig_dycast_func dcast
;
106 struct swig_type_info
*next
;
107 struct swig_type_info
*prev
;
111 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
114 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
116 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
126 /***********************************************************************
127 * pyrun.swg for wxPython
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
134 ************************************************************************/
142 #define SWIG_PY_INT 1
143 #define SWIG_PY_FLOAT 2
144 #define SWIG_PY_STRING 3
145 #define SWIG_PY_POINTER 4
146 #define SWIG_PY_BINARY 5
148 /* Flags for pointer conversion */
150 #define SWIG_POINTER_EXCEPTION 0x1
151 #define SWIG_POINTER_DISOWN 0x2
153 /* Exception handling in wrappers */
154 #define SWIG_fail goto fail
156 /* Constant information structure */
157 typedef struct swig_const_info
{
163 swig_type_info
**ptype
;
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183 #define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
186 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
189 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
191 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
194 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
198 /* Contract support */
200 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
207 /* -------- TYPES TABLE (BEGIN) -------- */
209 #define SWIGTYPE_p_wxLogChain swig_types[0]
210 #define SWIGTYPE_p_wxMutexGuiLocker swig_types[1]
211 #define SWIGTYPE_p_wxMetafile swig_types[2]
212 #define SWIGTYPE_p_wxFileHistory swig_types[3]
213 #define SWIGTYPE_p_wxLog swig_types[4]
214 #define SWIGTYPE_p_wxDateTime__TimeZone swig_types[5]
215 #define SWIGTYPE_p_wxMenu swig_types[6]
216 #define SWIGTYPE_p_wxEvent swig_types[7]
217 #define SWIGTYPE_p_wxConfigBase swig_types[8]
218 #define SWIGTYPE_p_wxDisplay swig_types[9]
219 #define SWIGTYPE_p_wxFileType swig_types[10]
220 #define SWIGTYPE_p_wxLogGui swig_types[11]
221 #define SWIGTYPE_p_wxFont swig_types[12]
222 #define SWIGTYPE_p_wxDataFormat swig_types[13]
223 #define SWIGTYPE_p_wxTimerEvent swig_types[14]
224 #define SWIGTYPE_p_wxCaret swig_types[15]
225 #define SWIGTYPE_p_int swig_types[16]
226 #define SWIGTYPE_p_wxSize swig_types[17]
227 #define SWIGTYPE_p_wxClipboard swig_types[18]
228 #define SWIGTYPE_p_wxStopWatch swig_types[19]
229 #define SWIGTYPE_p_wxDC swig_types[20]
230 #define SWIGTYPE_p_wxClipboardLocker swig_types[21]
231 #define SWIGTYPE_p_wxIcon swig_types[22]
232 #define SWIGTYPE_p_wxLogStderr swig_types[23]
233 #define SWIGTYPE_p_wxLogTextCtrl swig_types[24]
234 #define SWIGTYPE_p_wxTextCtrl swig_types[25]
235 #define SWIGTYPE_p_wxBusyCursor swig_types[26]
236 #define SWIGTYPE_p_wxPyBitmapDataObject swig_types[27]
237 #define SWIGTYPE_p_wxPyTextDataObject swig_types[28]
238 #define SWIGTYPE_p_wxBitmapDataObject swig_types[29]
239 #define SWIGTYPE_p_wxTextDataObject swig_types[30]
240 #define SWIGTYPE_p_wxDataObject swig_types[31]
241 #define SWIGTYPE_p_wxFileDataObject swig_types[32]
242 #define SWIGTYPE_p_wxCustomDataObject swig_types[33]
243 #define SWIGTYPE_p_wxURLDataObject swig_types[34]
244 #define SWIGTYPE_p_wxMetafileDataObject swig_types[35]
245 #define SWIGTYPE_p_wxSound swig_types[36]
246 #define SWIGTYPE_p_wxTimerRunner swig_types[37]
247 #define SWIGTYPE_p_wxLogWindow swig_types[38]
248 #define SWIGTYPE_p_wxTimeSpan swig_types[39]
249 #define SWIGTYPE_p_wxArrayString swig_types[40]
250 #define SWIGTYPE_p_wxWindowDisabler swig_types[41]
251 #define SWIGTYPE_p_wxToolTip swig_types[42]
252 #define SWIGTYPE_p_wxDataObjectComposite swig_types[43]
253 #define SWIGTYPE_p_wxFileConfig swig_types[44]
254 #define SWIGTYPE_p_wxSystemSettings swig_types[45]
255 #define SWIGTYPE_p_wxVideoMode swig_types[46]
256 #define SWIGTYPE_p_wxPyDataObjectSimple swig_types[47]
257 #define SWIGTYPE_p_wxDataObjectSimple swig_types[48]
258 #define SWIGTYPE_p_wxEvtHandler swig_types[49]
259 #define SWIGTYPE_p_wxRect swig_types[50]
260 #define SWIGTYPE_p_char swig_types[51]
261 #define SWIGTYPE_p_wxSingleInstanceChecker swig_types[52]
262 #define SWIGTYPE_p_wxFileTypeInfo swig_types[53]
263 #define SWIGTYPE_p_wxFrame swig_types[54]
264 #define SWIGTYPE_p_wxTimer swig_types[55]
265 #define SWIGTYPE_p_wxMimeTypesManager swig_types[56]
266 #define SWIGTYPE_p_wxPyArtProvider swig_types[57]
267 #define SWIGTYPE_p_wxPyTipProvider swig_types[58]
268 #define SWIGTYPE_p_wxTipProvider swig_types[59]
269 #define SWIGTYPE_p_wxJoystick swig_types[60]
270 #define SWIGTYPE_p_wxSystemOptions swig_types[61]
271 #define SWIGTYPE_p_wxPoint swig_types[62]
272 #define SWIGTYPE_p_wxJoystickEvent swig_types[63]
273 #define SWIGTYPE_p_wxCursor swig_types[64]
274 #define SWIGTYPE_p_wxObject swig_types[65]
275 #define SWIGTYPE_p_wxOutputStream swig_types[66]
276 #define SWIGTYPE_p_wxDateTime swig_types[67]
277 #define SWIGTYPE_p_wxPyDropSource swig_types[68]
278 #define SWIGTYPE_p_wxWindow swig_types[69]
279 #define SWIGTYPE_p_wxString swig_types[70]
280 #define SWIGTYPE_p_wxPyProcess swig_types[71]
281 #define SWIGTYPE_p_wxBitmap swig_types[72]
282 #define SWIGTYPE_p_wxConfig swig_types[73]
283 #define SWIGTYPE_p_wxChar swig_types[74]
284 #define SWIGTYPE_p_wxBusyInfo swig_types[75]
285 #define SWIGTYPE_p_wxPyDropTarget swig_types[76]
286 #define SWIGTYPE_p_wxPyTextDropTarget swig_types[77]
287 #define SWIGTYPE_p_wxPyFileDropTarget swig_types[78]
288 #define SWIGTYPE_p_wxProcessEvent swig_types[79]
289 #define SWIGTYPE_p_wxPyLog swig_types[80]
290 #define SWIGTYPE_p_wxLogNull swig_types[81]
291 #define SWIGTYPE_p_wxColour swig_types[82]
292 #define SWIGTYPE_p_wxConfigPathChanger swig_types[83]
293 #define SWIGTYPE_p_wxPyTimer swig_types[84]
294 #define SWIGTYPE_p_wxDateSpan swig_types[85]
295 static swig_type_info
*swig_types
[87];
297 /* -------- TYPES TABLE (END) -------- */
300 /*-----------------------------------------------
301 @(target):= _misc_.so
302 ------------------------------------------------*/
303 #define SWIG_init init_misc_
305 #define SWIG_name "_misc_"
307 /* Auxiliar swig macros */
310 #define SWIGSTATICINLINE(a) static inline a
311 #define SWIGSTATIC(a) static a
312 #define swig_new_array(type, size) (new type[(size)])
313 #define swig_delete_array(cptr) delete[] cptr
314 #define swig_const_cast(type,a) const_cast<type>(a)
315 #define swig_static_cast(type,a) static_cast<type>(a)
316 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
318 #ifdef HAVE_NUMERIC_CAST
319 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
321 #define swig_numeric_cast(type,a) static_cast<type>(a)
326 #define SWIGSTATICINLINE(a) static a
327 #define SWIGSTATIC(a) static a
328 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
329 #define swig_delete_array(cptr) free((char*)cptr)
330 #define swig_const_cast(type,a) (type)(a)
331 #define swig_static_cast(type,a) (type)(a)
332 #define swig_reinterpret_cast(type,a) (type)(a)
333 #define swig_numeric_cast(type,a) (type)(a)
335 #endif /* __cplusplus */
338 #define SWIG_FromSignedChar PyInt_FromLong
339 #define SWIG_FromUnsignedChar PyInt_FromLong
340 #define SWIG_FromShort PyInt_FromLong
341 #define SWIG_FromUnsignedShort PyInt_FromLong
342 #define SWIG_FromInt PyInt_FromLong
343 #define SWIG_FromLong PyInt_FromLong
344 #define SWIG_FromFloat PyFloat_FromDouble
345 #define SWIG_FromDouble PyFloat_FromDouble
346 #define SWIG_FromFloat PyFloat_FromDouble
347 #define SWIG_FromDouble PyFloat_FromDouble
350 #include "wx/wxPython/wxPython.h"
351 #include "wx/wxPython/pyclasses.h"
352 #include "wx/wxPython/pyistream.h"
354 static const wxString
wxPyEmptyString(wxEmptyString
);
361 SWIGSTATICINLINE(long)
362 SWIG_CheckLongInRange(long value
, const char* type
,
363 long min_value
, long max_value
)
365 if (!PyErr_Occurred()) {
366 if (value
< min_value
) {
368 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
369 value
, type
, min_value
);
371 PyErr_SetObject(PyExc_OverflowError
, err
);
373 } else if (value
> max_value
) {
375 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
376 value
, type
, max_value
);
377 PyErr_SetObject(PyExc_OverflowError
, err
);
385 SWIGSTATICINLINE(long)
386 SWIG_AsLong(PyObject
* obj
)
388 if (PyNumber_Check(obj
))
389 return PyInt_AsLong(obj
);
391 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
392 obj
->ob_type
->tp_name
);
393 PyErr_SetObject(PyExc_TypeError
, errmsg
);
400 #if INT_MAX != LONG_MAX
401 SWIGSTATICINLINE(int)
402 SWIG_AsInt(PyObject
*obj
)
404 return swig_numeric_cast(int,
405 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
406 "int", INT_MIN
, INT_MAX
));
409 #define SWIG_AsInt SWIG_AsLong
413 SWIGSTATICINLINE(int)
414 SWIG_CheckInt(PyObject
* obj
)
417 if (PyErr_Occurred()) {
425 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
426 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
427 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
429 SWIGSTATICINLINE(int)
430 SWIG_CheckLong(PyObject
* obj
)
433 if (PyErr_Occurred()) {
442 SWIGSTATICINLINE(bool)
443 SWIG_AsBool(PyObject
*obj
)
445 return PyObject_IsTrue(obj
) ? true : false;
449 SWIGSTATICINLINE(int)
450 SWIG_CheckBool(PyObject
* obj
)
453 if (PyErr_Occurred()) {
462 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
468 } else if (target
== Py_None
) {
472 if (!PyTuple_Check(target
)) {
474 target
= PyTuple_New(1);
475 PyTuple_SetItem(target
, 0, o2
);
478 PyTuple_SetItem(o3
, 0, o
);
481 target
= PySequence_Concat(o2
, o3
);
489 SWIGSTATICINLINE(unsigned long)
490 SWIG_AsUnsignedLong(PyObject
* obj
)
492 if (PyLong_Check(obj
)) {
493 return PyLong_AsUnsignedLong(obj
);
495 long i
= SWIG_AsLong(obj
);
496 if ( !PyErr_Occurred() && (i
< 0)) {
497 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
504 SWIGSTATICINLINE(int)
505 SWIG_CheckUnsignedLong(PyObject
* obj
)
507 SWIG_AsUnsignedLong(obj
);
508 if (PyErr_Occurred()) {
517 SWIGSTATICINLINE(PyObject
* )
518 SWIG_FromUnsignedLong(unsigned long value
)
520 return (value
> LONG_MAX
) ?
521 PyLong_FromUnsignedLong(value
)
522 : PyInt_FromLong(swig_numeric_cast(long,value
));
526 bool wxThread_IsMain() {
527 #ifdef WXP_WITH_THREAD
528 return wxThread::IsMain();
535 int wxCaret_GetBlinkTime() {
536 return wxCaret::GetBlinkTime();
539 void wxCaret_SetBlinkTime(int milliseconds
) {
540 wxCaret::SetBlinkTime(milliseconds
);
544 #include <wx/snglinst.h>
548 #include <wx/msw/private.h>
549 #include <wx/dynload.h>
554 void wxDrawWindowOnDC(wxWindow
* window
, const wxDC
& dc
, int method
)
561 // This one only partially works. Appears to be an undocumented
562 // "standard" convention that not all widgets adhear to. For
563 // example, for some widgets backgrounds or non-client areas may
565 ::SendMessage(GetHwndOf(window
), WM_PAINT
, (long)GetHdcOf(dc
), 0);
569 // This one works much better, except for on XP. On Win2k nearly
570 // all widgets and their children are captured correctly[**]. On
571 // XP with Themes activated most native widgets draw only
572 // partially, if at all. Without themes it works just like on
575 // ** For example the radio buttons in a wxRadioBox are not its
576 // children by default, but you can capture it via the panel
577 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
578 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
579 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
580 PRF_ERASEBKGND
| PRF_OWNED
);
584 // This one is only defined in the latest SDK and is only
585 // available on XP. MSDN says it is similar to sending WM_PRINT
586 // so I expect that it will work similar to the above. Since it
587 // is avaialble only on XP, it can't be compiled like this and
588 // will have to be loaded dynamically.
589 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
594 // Use PrintWindow if available, or fallback to WM_PRINT
595 // otherwise. Unfortunately using PrintWindow is even worse than
596 // WM_PRINT. For most native widgets nothing is drawn to the dc
597 // at all, with or without Themes.
598 typedef BOOL (WINAPI
*PrintWindow_t
)(HWND
, HDC
, UINT
);
599 static bool s_triedToLoad
= False
;
600 static PrintWindow_t pfnPrintWindow
= NULL
;
601 if ( !s_triedToLoad
)
604 s_triedToLoad
= True
;
605 wxDynamicLibrary
dllUser32(_T("user32.dll"));
606 if ( dllUser32
.IsLoaded() )
608 wxLogNull nolog
; // Don't report errors here
609 pfnPrintWindow
= (PrintWindow_t
)dllUser32
.GetSymbol(_T("PrintWindow"));
614 printf("Using PrintWindow\n");
615 pfnPrintWindow(GetHwndOf(window
), GetHdcOf(dc
), 0);
619 printf("Using WM_PRINT\n");
620 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
621 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
| PRF_ERASEBKGND
| PRF_OWNED
);
629 #include <wx/tipdlg.h>
632 class wxPyTipProvider
: public wxTipProvider
{
634 wxPyTipProvider(size_t currentTip
)
635 : wxTipProvider(currentTip
) {}
637 DEC_PYCALLBACK_STRING__pure(GetTip
);
638 DEC_PYCALLBACK_STRING_STRING(PreprocessTip
);
642 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
643 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider
, wxTipProvider
, PreprocessTip
);
646 //IMP_PYCALLBACK__(wxPyTimer, wxTimer, Notify);
648 IMPLEMENT_ABSTRACT_CLASS(wxPyTimer
, wxTimer
);
650 void wxPyTimer::Notify() {
652 bool blocked
= wxPyBeginBlockThreads();
653 if ((found
= wxPyCBH_findCallback(m_myInst
, "Notify")))
654 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("()"));
655 wxPyEndBlockThreads(blocked
);
659 void wxPyTimer::base_Notify() {
665 SWIGSTATICINLINE(PyObject
*)
666 SWIG_FromCharPtr(const char* cptr
)
668 size_t size
= cptr
? strlen(cptr
) : 0;
670 if (size
> INT_MAX
) {
671 return SWIG_NewPointerObj(swig_const_cast(char*,cptr
),
672 SWIG_TypeQuery("char *"), 0);
674 return PyString_FromStringAndSize(cptr
, swig_numeric_cast(int,size
));
683 SWIGSTATICINLINE(unsigned long)
684 SWIG_CheckUnsignedLongInRange(unsigned long value
, const char* type
,
685 unsigned long max_value
)
687 if (!PyErr_Occurred()) {
688 if (value
> max_value
) {
690 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
691 value
, type
, max_value
);
692 PyErr_SetObject(PyExc_OverflowError
, err
);
700 #if UINT_MAX != ULONG_MAX
701 SWIGSTATICINLINE(unsigned int)
702 SWIG_AsUnsignedInt(PyObject
*obj
)
704 return swig_numeric_cast(unsigned int,
705 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj
),
706 "unsigned int", UINT_MAX
));
709 #define SWIG_AsUnsignedInt SWIG_AsUnsignedLong
713 SWIGSTATICINLINE(int)
714 SWIG_CheckUnsignedInt(PyObject
* obj
)
716 SWIG_AsUnsignedInt(obj
);
717 if (PyErr_Occurred()) {
725 wxString
Log_TimeStamp(){
727 wxLog::TimeStamp(&msg
);
730 void wxLog_Destroy(wxLog
*self
){ delete self
; }
732 // A wxLog class that can be derived from in wxPython
733 class wxPyLog
: public wxLog
{
735 wxPyLog() : wxLog() {}
737 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
739 bool blocked
= wxPyBeginBlockThreads();
740 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog"))) {
741 PyObject
* s
= wx2PyString(szString
);
742 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iOi)", level
, s
, t
));
745 wxPyEndBlockThreads(blocked
);
747 wxLog::DoLog(level
, szString
, t
);
750 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
752 bool blocked
= wxPyBeginBlockThreads();
753 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString"))) {
754 PyObject
* s
= wx2PyString(szString
);
755 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(Oi)", s
, t
));
758 wxPyEndBlockThreads(blocked
);
760 wxLog::DoLogString(szString
, t
);
769 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
772 #include <wx/joystick.h>
775 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
776 // A C++ stub class for wxJoystick for platforms that don't have it.
777 class wxJoystick
: public wxObject
{
779 wxJoystick(int joystick
= wxJOYSTICK1
) {
780 bool blocked
= wxPyBeginBlockThreads();
781 PyErr_SetString(PyExc_NotImplementedError
,
782 "wxJoystick is not available on this platform.");
783 wxPyEndBlockThreads(blocked
);
785 wxPoint
GetPosition() { return wxPoint(-1,-1); }
786 int GetZPosition() { return -1; }
787 int GetButtonState() { return -1; }
788 int GetPOVPosition() { return -1; }
789 int GetPOVCTSPosition() { return -1; }
790 int GetRudderPosition() { return -1; }
791 int GetUPosition() { return -1; }
792 int GetVPosition() { return -1; }
793 int GetMovementThreshold() { return -1; }
794 void SetMovementThreshold(int threshold
) {}
796 bool IsOk(void) { return False
; }
797 int GetNumberJoysticks() { return -1; }
798 int GetManufacturerId() { return -1; }
799 int GetProductId() { return -1; }
800 wxString
GetProductName() { return wxEmptyString
; }
801 int GetXMin() { return -1; }
802 int GetYMin() { return -1; }
803 int GetZMin() { return -1; }
804 int GetXMax() { return -1; }
805 int GetYMax() { return -1; }
806 int GetZMax() { return -1; }
807 int GetNumberButtons() { return -1; }
808 int GetNumberAxes() { return -1; }
809 int GetMaxButtons() { return -1; }
810 int GetMaxAxes() { return -1; }
811 int GetPollingMin() { return -1; }
812 int GetPollingMax() { return -1; }
813 int GetRudderMin() { return -1; }
814 int GetRudderMax() { return -1; }
815 int GetUMin() { return -1; }
816 int GetUMax() { return -1; }
817 int GetVMin() { return -1; }
818 int GetVMax() { return -1; }
820 bool HasRudder() { return False
; }
821 bool HasZ() { return False
; }
822 bool HasU() { return False
; }
823 bool HasV() { return False
; }
824 bool HasPOV() { return False
; }
825 bool HasPOV4Dir() { return False
; }
826 bool HasPOVCTS() { return False
; }
828 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return False
; }
829 bool ReleaseCapture() { return False
; }
834 #include <wx/sound.h>
838 // A C++ stub class for wxWave for platforms that don't have it.
839 class wxSound
: public wxObject
843 bool blocked
= wxPyBeginBlockThreads();
844 PyErr_SetString(PyExc_NotImplementedError
,
845 "wxSound is not available on this platform.");
846 wxPyEndBlockThreads(blocked
);
848 wxSound(const wxString
&/*, bool*/) {
849 bool blocked
= wxPyBeginBlockThreads();
850 PyErr_SetString(PyExc_NotImplementedError
,
851 "wxSound is not available on this platform.");
852 wxPyEndBlockThreads(blocked
);
854 wxSound(int, const wxByte
*) {
855 bool blocked
= wxPyBeginBlockThreads();
856 PyErr_SetString(PyExc_NotImplementedError
,
857 "wxSound is not available on this platform.");
858 wxPyEndBlockThreads(blocked
);
863 bool Create(const wxString
&/*, bool*/) { return false; }
864 bool Create(int, const wxByte
*) { return false; };
865 bool IsOk() { return false; };
866 bool Play(unsigned) const { return false; }
867 static bool Play(const wxString
&, unsigned) { return false; }
868 static void Stop() {}
873 wxSound
*new_wxSound(wxString
const &fileName
){
874 if (fileName
.Length() == 0)
877 return new wxSound(fileName
);
879 wxSound
*new_wxSound(PyObject
*data
){
880 unsigned char* buffer
; int size
;
881 wxSound
*sound
= NULL
;
883 bool blocked
= wxPyBeginBlockThreads();
884 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
886 sound
= new wxSound(size
, buffer
);
888 wxPyEndBlockThreads(blocked
);
891 bool wxSound_CreateFromData(wxSound
*self
,PyObject
*data
){
893 unsigned char* buffer
;
897 bool blocked
= wxPyBeginBlockThreads();
898 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
900 rv
= self
->Create(size
, buffer
);
902 wxPyEndBlockThreads(blocked
);
905 bool blocked
= wxPyBeginBlockThreads();
906 PyErr_SetString(PyExc_NotImplementedError
,
907 "Create from data is not available on this platform.");
908 wxPyEndBlockThreads(blocked
);
912 void Sound_Stop(){ wxPyRaiseNotImplemented(); }
914 #include <wx/mimetype.h>
916 PyObject
*wxFileType_GetMimeType(wxFileType
*self
){
918 if (self
->GetMimeType(&str
))
919 return wx2PyString(str
);
923 PyObject
*wxFileType_GetMimeTypes(wxFileType
*self
){
925 if (self
->GetMimeTypes(arr
))
926 return wxArrayString2PyList_helper(arr
);
930 PyObject
*wxFileType_GetExtensions(wxFileType
*self
){
932 if (self
->GetExtensions(arr
))
933 return wxArrayString2PyList_helper(arr
);
937 wxIcon
*wxFileType_GetIcon(wxFileType
*self
){
939 if (self
->GetIcon(&loc
))
940 return new wxIcon(loc
);
944 PyObject
*wxFileType_GetIconInfo(wxFileType
*self
){
946 if (self
->GetIcon(&loc
)) {
947 wxString iconFile
= loc
.GetFileName();
952 // Make a tuple and put the values in it
953 bool blocked
= wxPyBeginBlockThreads();
954 PyObject
* tuple
= PyTuple_New(3);
955 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(loc
),
956 wxT("wxIcon"), True
));
957 PyTuple_SetItem(tuple
, 1, wx2PyString(iconFile
));
958 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
959 wxPyEndBlockThreads(blocked
);
965 PyObject
*wxFileType_GetDescription(wxFileType
*self
){
967 if (self
->GetDescription(&str
))
968 return wx2PyString(str
);
972 PyObject
*wxFileType_GetOpenCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
974 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
975 return wx2PyString(str
);
979 PyObject
*wxFileType_GetPrintCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
981 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
982 return wx2PyString(str
);
986 PyObject
*wxFileType_GetAllCommands(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
988 wxArrayString commands
;
989 if (self
->GetAllCommands(&verbs
, &commands
,
990 wxFileType::MessageParameters(filename
, mimetype
))) {
991 bool blocked
= wxPyBeginBlockThreads();
992 PyObject
* tuple
= PyTuple_New(2);
993 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
994 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
995 wxPyEndBlockThreads(blocked
);
1001 wxString
FileType_ExpandCommand(wxString
const &command
,wxString
const &filename
,wxString
const &mimetype
){
1002 return wxFileType::ExpandCommand(command
,
1003 wxFileType::MessageParameters(filename
, mimetype
));
1005 PyObject
*wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
){
1007 self
->EnumAllFileTypes(arr
);
1008 return wxArrayString2PyList_helper(arr
);
1011 #include <wx/artprov.h>
1013 static const wxString
wxPyART_TOOLBAR(wxART_TOOLBAR
);
1014 static const wxString
wxPyART_MENU(wxART_MENU
);
1015 static const wxString
wxPyART_FRAME_ICON(wxART_FRAME_ICON
);
1016 static const wxString
wxPyART_CMN_DIALOG(wxART_CMN_DIALOG
);
1017 static const wxString
wxPyART_HELP_BROWSER(wxART_HELP_BROWSER
);
1018 static const wxString
wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX
);
1019 static const wxString
wxPyART_OTHER(wxART_OTHER
);
1020 static const wxString
wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK
);
1021 static const wxString
wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK
);
1022 static const wxString
wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL
);
1023 static const wxString
wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS
);
1024 static const wxString
wxPyART_HELP_BOOK(wxART_HELP_BOOK
);
1025 static const wxString
wxPyART_HELP_FOLDER(wxART_HELP_FOLDER
);
1026 static const wxString
wxPyART_HELP_PAGE(wxART_HELP_PAGE
);
1027 static const wxString
wxPyART_GO_BACK(wxART_GO_BACK
);
1028 static const wxString
wxPyART_GO_FORWARD(wxART_GO_FORWARD
);
1029 static const wxString
wxPyART_GO_UP(wxART_GO_UP
);
1030 static const wxString
wxPyART_GO_DOWN(wxART_GO_DOWN
);
1031 static const wxString
wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT
);
1032 static const wxString
wxPyART_GO_HOME(wxART_GO_HOME
);
1033 static const wxString
wxPyART_FILE_OPEN(wxART_FILE_OPEN
);
1034 static const wxString
wxPyART_PRINT(wxART_PRINT
);
1035 static const wxString
wxPyART_HELP(wxART_HELP
);
1036 static const wxString
wxPyART_TIP(wxART_TIP
);
1037 static const wxString
wxPyART_REPORT_VIEW(wxART_REPORT_VIEW
);
1038 static const wxString
wxPyART_LIST_VIEW(wxART_LIST_VIEW
);
1039 static const wxString
wxPyART_NEW_DIR(wxART_NEW_DIR
);
1040 static const wxString
wxPyART_FOLDER(wxART_FOLDER
);
1041 static const wxString
wxPyART_GO_DIR_UP(wxART_GO_DIR_UP
);
1042 static const wxString
wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE
);
1043 static const wxString
wxPyART_NORMAL_FILE(wxART_NORMAL_FILE
);
1044 static const wxString
wxPyART_TICK_MARK(wxART_TICK_MARK
);
1045 static const wxString
wxPyART_CROSS_MARK(wxART_CROSS_MARK
);
1046 static const wxString
wxPyART_ERROR(wxART_ERROR
);
1047 static const wxString
wxPyART_QUESTION(wxART_QUESTION
);
1048 static const wxString
wxPyART_WARNING(wxART_WARNING
);
1049 static const wxString
wxPyART_INFORMATION(wxART_INFORMATION
);
1050 static const wxString
wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE
);
1051 // Python aware wxArtProvider
1052 class wxPyArtProvider
: public wxArtProvider
{
1055 virtual wxBitmap
CreateBitmap(const wxArtID
& id
,
1056 const wxArtClient
& client
,
1057 const wxSize
& size
) {
1058 wxBitmap rval
= wxNullBitmap
;
1059 bool blocked
= wxPyBeginBlockThreads();
1060 if ((wxPyCBH_findCallback(m_myInst
, "CreateBitmap"))) {
1061 PyObject
* so
= wxPyConstructObject((void*)&size
, wxT("wxSize"), 0);
1065 s1
= wx2PyString(id
);
1066 s2
= wx2PyString(client
);
1067 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOO)", s1
, s2
, so
));
1072 if (wxPyConvertSwigPtr(ro
, (void**)&ptr
, wxT("wxBitmap")))
1077 wxPyEndBlockThreads(blocked
);
1084 void wxPyArtProvider_Destroy(wxPyArtProvider
*self
){ delete self
; }
1088 static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) {
1089 PyObject
* ret
= PyTuple_New(3);
1091 PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
));
1092 PyTuple_SET_ITEM(ret
, 1, wx2PyString(str
));
1093 PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
));
1098 PyObject
*wxConfigBase_GetFirstGroup(wxConfigBase
*self
){
1103 cont
= self
->GetFirstGroup(value
, index
);
1104 return __EnumerationHelper(cont
, value
, index
);
1106 PyObject
*wxConfigBase_GetNextGroup(wxConfigBase
*self
,long index
){
1110 cont
= self
->GetNextGroup(value
, index
);
1111 return __EnumerationHelper(cont
, value
, index
);
1113 PyObject
*wxConfigBase_GetFirstEntry(wxConfigBase
*self
){
1118 cont
= self
->GetFirstEntry(value
, index
);
1119 return __EnumerationHelper(cont
, value
, index
);
1121 PyObject
*wxConfigBase_GetNextEntry(wxConfigBase
*self
,long index
){
1125 cont
= self
->GetNextEntry(value
, index
);
1126 return __EnumerationHelper(cont
, value
, index
);
1128 long wxConfigBase_ReadInt(wxConfigBase
*self
,wxString
const &key
,long defaultVal
){
1130 self
->Read(key
, &rv
, defaultVal
);
1134 SWIGSTATICINLINE(double)
1135 SWIG_AsDouble(PyObject
*obj
)
1137 if (PyNumber_Check(obj
))
1138 return PyFloat_AsDouble(obj
);
1140 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
1141 obj
->ob_type
->tp_name
);
1142 PyErr_SetObject(PyExc_TypeError
, errmsg
);
1149 SWIGSTATICINLINE(int)
1150 SWIG_CheckDouble(PyObject
* obj
)
1153 if (PyErr_Occurred()) {
1161 double wxConfigBase_ReadFloat(wxConfigBase
*self
,wxString
const &key
,double defaultVal
){
1163 self
->Read(key
, &rv
, defaultVal
);
1166 bool wxConfigBase_ReadBool(wxConfigBase
*self
,wxString
const &key
,bool defaultVal
){
1168 self
->Read(key
, &rv
, defaultVal
);
1172 #include <wx/datetime.h>
1175 static const wxString
wxPyDateFormatStr(wxT("%c"));
1176 static const wxString
wxPyTimeSpanFormatStr(wxT("%H:%M:%S"));
1178 #define LOCAL_TZ wxDateTime::Local
1181 #if UINT_MAX < LONG_MAX
1182 #define SWIG_FromUnsignedInt SWIG_FromLong
1184 #define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
1187 wxDateTime
wxDateTime___add____SWIG_0(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
1188 wxDateTime
wxDateTime___add____SWIG_1(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
1189 wxTimeSpan
wxDateTime___sub____SWIG_0(wxDateTime
*self
,wxDateTime
const &other
){ return *self
- other
; }
1190 wxDateTime
wxDateTime___sub____SWIG_1(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
1191 wxDateTime
wxDateTime___sub____SWIG_2(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
- other
; }
1192 bool wxDateTime___lt__(wxDateTime
*self
,wxDateTime
const *other
){
1193 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
< other
;
1194 return (*self
< *other
);
1196 bool wxDateTime___le__(wxDateTime
*self
,wxDateTime
const *other
){
1197 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
<= other
;
1198 return (*self
<= *other
);
1200 bool wxDateTime___gt__(wxDateTime
*self
,wxDateTime
const *other
){
1201 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
> other
;
1202 return (*self
> *other
);
1204 bool wxDateTime___ge__(wxDateTime
*self
,wxDateTime
const *other
){
1205 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
>= other
;
1206 return (*self
>= *other
);
1208 bool wxDateTime___eq__(wxDateTime
*self
,wxDateTime
const *other
){
1209 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
== other
;
1210 return (*self
== *other
);
1212 bool wxDateTime___ne__(wxDateTime
*self
,wxDateTime
const *other
){
1213 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
!= other
;
1214 return (*self
!= *other
);
1216 int wxDateTime_ParseRfc822Date(wxDateTime
*self
,wxString
const &date
){
1218 const wxChar
* _date
= date
;
1219 rv
= self
->ParseRfc822Date(_date
);
1220 if (rv
== NULL
) return -1;
1223 int wxDateTime_ParseFormat(wxDateTime
*self
,wxString
const &date
,wxString
const &format
,wxDateTime
const &dateDef
){
1225 const wxChar
* _date
= date
;
1226 rv
= self
->ParseFormat(_date
, format
, dateDef
);
1227 if (rv
== NULL
) return -1;
1230 int wxDateTime_ParseDateTime(wxDateTime
*self
,wxString
const &datetime
){
1232 const wxChar
* _datetime
= datetime
;
1233 rv
= self
->ParseDateTime(_datetime
);
1234 if (rv
== NULL
) return -1;
1235 return rv
- _datetime
;
1237 int wxDateTime_ParseDate(wxDateTime
*self
,wxString
const &date
){
1239 const wxChar
* _date
= date
;
1240 rv
= self
->ParseDate(_date
);
1241 if (rv
== NULL
) return -1;
1244 int wxDateTime_ParseTime(wxDateTime
*self
,wxString
const &time
){
1246 const wxChar
* _time
= time
;
1247 rv
= self
->ParseTime(_time
);
1248 if (rv
== NULL
) return -1;
1251 wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
1252 wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
1253 wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
){ return *self
* n
; }
1254 wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
){ return n
* *self
; }
1255 bool wxTimeSpan___lt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
< *other
) : False
; }
1256 bool wxTimeSpan___le__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
<= *other
) : False
; }
1257 bool wxTimeSpan___gt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
> *other
) : True
; }
1258 bool wxTimeSpan___ge__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
>= *other
) : True
; }
1259 bool wxTimeSpan___eq__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
== *other
) : False
; }
1260 bool wxTimeSpan___ne__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
!= *other
) : True
; }
1261 wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
1262 wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
- other
; }
1263 wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
){ return *self
* n
; }
1264 wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
){ return n
* *self
; }
1265 bool wxDateSpan___eq__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
== *other
) : False
; }
1266 bool wxDateSpan___ne__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
!= *other
) : True
; }
1268 #include <wx/dataobj.h>
1270 PyObject
*wxDataObject_GetAllFormats(wxDataObject
*self
,wxDataObject::Direction dir
){
1271 size_t count
= self
->GetFormatCount(dir
);
1272 wxDataFormat
* formats
= new wxDataFormat
[count
];
1273 self
->GetAllFormats(formats
, dir
);
1275 bool blocked
= wxPyBeginBlockThreads();
1276 PyObject
* list
= PyList_New(count
);
1277 for (size_t i
=0; i
<count
; i
++) {
1278 wxDataFormat
* format
= new wxDataFormat(formats
[i
]);
1279 PyObject
* obj
= wxPyConstructObject((void*)format
, wxT("wxDataFormat"), True
);
1280 PyList_Append(list
, obj
);
1283 wxPyEndBlockThreads(blocked
);
1287 PyObject
*wxDataObject_GetDataHere(wxDataObject
*self
,wxDataFormat
const &format
){
1288 PyObject
* rval
= NULL
;
1289 size_t size
= self
->GetDataSize(format
);
1290 bool blocked
= wxPyBeginBlockThreads();
1292 char* buf
= new char[size
];
1293 if (self
->GetDataHere(format
, buf
))
1294 rval
= PyString_FromStringAndSize(buf
, size
);
1301 wxPyEndBlockThreads(blocked
);
1304 bool wxDataObject_SetData(wxDataObject
*self
,wxDataFormat
const &format
,PyObject
*data
){
1306 bool blocked
= wxPyBeginBlockThreads();
1307 if (PyString_Check(data
)) {
1308 rval
= self
->SetData(format
, PyString_Size(data
), PyString_AsString(data
));
1311 // raise a TypeError if not a string
1312 PyErr_SetString(PyExc_TypeError
, "String expected.");
1315 wxPyEndBlockThreads(blocked
);
1318 PyObject
*wxDataObjectSimple_GetDataHere(wxDataObjectSimple
*self
){
1319 PyObject
* rval
= NULL
;
1320 size_t size
= self
->GetDataSize();
1321 bool blocked
= wxPyBeginBlockThreads();
1323 char* buf
= new char[size
];
1324 if (self
->GetDataHere(buf
))
1325 rval
= PyString_FromStringAndSize(buf
, size
);
1332 wxPyEndBlockThreads(blocked
);
1335 bool wxDataObjectSimple_SetData(wxDataObjectSimple
*self
,PyObject
*data
){
1337 bool blocked
= wxPyBeginBlockThreads();
1338 if (PyString_Check(data
)) {
1339 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1342 // raise a TypeError if not a string
1343 PyErr_SetString(PyExc_TypeError
, "String expected.");
1346 wxPyEndBlockThreads(blocked
);
1349 // Create a new class for wxPython to use
1350 class wxPyDataObjectSimple
: public wxDataObjectSimple
{
1352 wxPyDataObjectSimple(const wxDataFormat
& format
= wxFormatInvalid
)
1353 : wxDataObjectSimple(format
) {}
1355 DEC_PYCALLBACK_SIZET__const(GetDataSize
);
1356 bool GetDataHere(void *buf
) const;
1357 bool SetData(size_t len
, const void *buf
) const;
1361 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple
, wxDataObjectSimple
, GetDataSize
);
1363 bool wxPyDataObjectSimple::GetDataHere(void *buf
) const {
1364 // We need to get the data for this object and write it to buf. I think
1365 // the best way to do this for wxPython is to have the Python method
1366 // return either a string or None and then act appropriately with the
1370 bool blocked
= wxPyBeginBlockThreads();
1371 if (wxPyCBH_findCallback(m_myInst
, "GetDataHere")) {
1373 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1375 rval
= (ro
!= Py_None
&& PyString_Check(ro
));
1377 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
));
1381 wxPyEndBlockThreads(blocked
);
1385 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) const{
1386 // For this one we simply need to make a string from buf and len
1387 // and send it to the Python method.
1389 bool blocked
= wxPyBeginBlockThreads();
1390 if (wxPyCBH_findCallback(m_myInst
, "SetData")) {
1391 PyObject
* data
= PyString_FromStringAndSize((char*)buf
, len
);
1392 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", data
));
1395 wxPyEndBlockThreads(blocked
);
1399 // Create a new class for wxPython to use
1400 class wxPyTextDataObject
: public wxTextDataObject
{
1402 wxPyTextDataObject(const wxString
& text
= wxPyEmptyString
)
1403 : wxTextDataObject(text
) {}
1405 DEC_PYCALLBACK_SIZET__const(GetTextLength
);
1406 DEC_PYCALLBACK_STRING__const(GetText
);
1407 DEC_PYCALLBACK__STRING(SetText
);
1411 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
);
1412 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject
, wxTextDataObject
, GetText
);
1413 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
);
1416 // Create a new class for wxPython to use
1417 class wxPyBitmapDataObject
: public wxBitmapDataObject
{
1419 wxPyBitmapDataObject(const wxBitmap
& bitmap
= wxNullBitmap
)
1420 : wxBitmapDataObject(bitmap
) {}
1422 wxBitmap
GetBitmap() const;
1423 void SetBitmap(const wxBitmap
& bitmap
);
1427 wxBitmap
wxPyBitmapDataObject::GetBitmap() const {
1428 wxBitmap
* rval
= &wxNullBitmap
;
1429 bool blocked
= wxPyBeginBlockThreads();
1430 if (wxPyCBH_findCallback(m_myInst
, "GetBitmap")) {
1433 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1435 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxBitmap")))
1440 wxPyEndBlockThreads(blocked
);
1444 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) {
1445 bool blocked
= wxPyBeginBlockThreads();
1446 if (wxPyCBH_findCallback(m_myInst
, "SetBitmap")) {
1447 PyObject
* bo
= wxPyConstructObject((void*)&bitmap
, wxT("wxBitmap"), False
);
1448 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", bo
));
1451 wxPyEndBlockThreads(blocked
);
1454 bool wxCustomDataObject_SetData(wxCustomDataObject
*self
,PyObject
*data
){
1456 bool blocked
= wxPyBeginBlockThreads();
1457 if (PyString_Check(data
)) {
1458 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1461 // raise a TypeError if not a string
1462 PyErr_SetString(PyExc_TypeError
, "String expected.");
1465 wxPyEndBlockThreads(blocked
);
1468 PyObject
*wxCustomDataObject_GetData(wxCustomDataObject
*self
){
1470 bool blocked
= wxPyBeginBlockThreads();
1471 obj
= PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize());
1472 wxPyEndBlockThreads(blocked
);
1476 #include <wx/metafile.h>
1479 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
1482 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
1483 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
1484 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
1485 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
1486 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
1489 class wxPyTextDropTarget
: public wxTextDropTarget
{
1491 wxPyTextDropTarget() {}
1493 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
1495 DEC_PYCALLBACK__(OnLeave
);
1496 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1497 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1498 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
1499 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1504 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
1505 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
1506 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
1507 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
1508 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
1509 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
1513 class wxPyFileDropTarget
: public wxFileDropTarget
{
1515 wxPyFileDropTarget() {}
1517 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
1519 DEC_PYCALLBACK__(OnLeave
);
1520 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1521 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1522 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
1523 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1528 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
1529 const wxArrayString
& filenames
) {
1531 bool blocked
= wxPyBeginBlockThreads();
1532 if (wxPyCBH_findCallback(m_myInst
, "OnDropFiles")) {
1533 PyObject
* list
= wxArrayString2PyList_helper(filenames
);
1534 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",x
,y
,list
));
1537 wxPyEndBlockThreads(blocked
);
1543 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
1544 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
1545 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
1546 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
1547 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
1552 bool wxClipboardLocker___nonzero__(wxClipboardLocker
*self
){ return !!(*self
); }
1554 #include <wx/display.h>
1556 bool wxVideoMode___eq__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
== *other
) : False
; }
1557 bool wxVideoMode___ne__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
!= *other
) : True
; }
1559 // dummy version of wxDisplay for when it is not enabled in the wxWidgets build
1561 #include <wx/dynarray.h>
1562 #include <wx/vidmode.h>
1564 WX_DECLARE_OBJARRAY(wxVideoMode
, wxArrayVideoModes
);
1565 #include "wx/arrimpl.cpp"
1566 WX_DEFINE_OBJARRAY(wxArrayVideoModes
);
1567 const wxVideoMode wxDefaultVideoMode
;
1572 wxDisplay(size_t index
= 0) { wxPyRaiseNotImplemented(); }
1575 static size_t GetCount()
1576 { wxPyRaiseNotImplemented(); return 0; }
1578 static int GetFromPoint(const wxPoint
& pt
)
1579 { wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
1580 static int GetFromWindow(wxWindow
*window
)
1581 { wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
1583 virtual bool IsOk() const { return false; }
1584 virtual wxRect
GetGeometry() const { wxRect r
; return r
; }
1585 virtual wxString
GetName() const { return wxEmptyString
; }
1586 bool IsPrimary() const { return false; }
1588 wxArrayVideoModes
GetModes(const wxVideoMode
& mode
= wxDefaultVideoMode
)
1589 { wxArrayVideoModes a
; return a
; }
1591 virtual wxVideoMode
GetCurrentMode() const
1592 { return wxDefaultVideoMode
; }
1594 virtual bool ChangeMode(const wxVideoMode
& mode
= wxDefaultVideoMode
)
1601 int Display_GetFromWindow(wxWindow
*window
){ wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
1602 PyObject
*wxDisplay_GetModes(wxDisplay
*self
,wxVideoMode
const &mode
){
1603 PyObject
* pyList
= NULL
;
1604 wxArrayVideoModes arr
= self
->GetModes(mode
);
1605 bool blocked
= wxPyBeginBlockThreads();
1606 pyList
= PyList_New(0);
1607 for (int i
=0; i
< arr
.GetCount(); i
++) {
1608 wxVideoMode
* m
= new wxVideoMode(arr
.Item(i
));
1609 PyObject
* pyObj
= wxPyConstructObject(m
, wxT("wxVideoMode"), true);
1610 PyList_Append(pyList
, pyObj
);
1613 wxPyEndBlockThreads(blocked
);
1619 static PyObject
*_wrap_SystemSettings_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1620 PyObject
*resultobj
;
1623 PyObject
* obj0
= 0 ;
1625 (char *) "index", NULL
1628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetColour",kwnames
,&obj0
)) goto fail
;
1629 arg1
= (wxSystemColour
) SWIG_AsInt(obj0
);
1630 if (PyErr_Occurred()) SWIG_fail
;
1632 if (!wxPyCheckForApp()) SWIG_fail
;
1633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1634 result
= wxSystemSettings::GetColour((wxSystemColour
)arg1
);
1636 wxPyEndAllowThreads(__tstate
);
1637 if (PyErr_Occurred()) SWIG_fail
;
1640 wxColour
* resultptr
;
1641 resultptr
= new wxColour((wxColour
&) result
);
1642 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
1650 static PyObject
*_wrap_SystemSettings_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1651 PyObject
*resultobj
;
1654 PyObject
* obj0
= 0 ;
1656 (char *) "index", NULL
1659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetFont",kwnames
,&obj0
)) goto fail
;
1660 arg1
= (wxSystemFont
) SWIG_AsInt(obj0
);
1661 if (PyErr_Occurred()) SWIG_fail
;
1663 if (!wxPyCheckForApp()) SWIG_fail
;
1664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1665 result
= wxSystemSettings::GetFont((wxSystemFont
)arg1
);
1667 wxPyEndAllowThreads(__tstate
);
1668 if (PyErr_Occurred()) SWIG_fail
;
1672 resultptr
= new wxFont((wxFont
&) result
);
1673 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
1681 static PyObject
*_wrap_SystemSettings_GetMetric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1682 PyObject
*resultobj
;
1685 PyObject
* obj0
= 0 ;
1687 (char *) "index", NULL
1690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetMetric",kwnames
,&obj0
)) goto fail
;
1691 arg1
= (wxSystemMetric
) SWIG_AsInt(obj0
);
1692 if (PyErr_Occurred()) SWIG_fail
;
1694 if (!wxPyCheckForApp()) SWIG_fail
;
1695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1696 result
= (int)wxSystemSettings::GetMetric((wxSystemMetric
)arg1
);
1698 wxPyEndAllowThreads(__tstate
);
1699 if (PyErr_Occurred()) SWIG_fail
;
1701 resultobj
= SWIG_FromInt((int)result
);
1708 static PyObject
*_wrap_SystemSettings_HasFeature(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1709 PyObject
*resultobj
;
1712 PyObject
* obj0
= 0 ;
1714 (char *) "index", NULL
1717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_HasFeature",kwnames
,&obj0
)) goto fail
;
1718 arg1
= (wxSystemFeature
) SWIG_AsInt(obj0
);
1719 if (PyErr_Occurred()) SWIG_fail
;
1721 if (!wxPyCheckForApp()) SWIG_fail
;
1722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1723 result
= (bool)wxSystemSettings::HasFeature((wxSystemFeature
)arg1
);
1725 wxPyEndAllowThreads(__tstate
);
1726 if (PyErr_Occurred()) SWIG_fail
;
1729 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1737 static PyObject
*_wrap_SystemSettings_GetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1738 PyObject
*resultobj
;
1744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SystemSettings_GetScreenType",kwnames
)) goto fail
;
1746 if (!wxPyCheckForApp()) SWIG_fail
;
1747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1748 result
= (int)wxSystemSettings::GetScreenType();
1750 wxPyEndAllowThreads(__tstate
);
1751 if (PyErr_Occurred()) SWIG_fail
;
1753 resultobj
= SWIG_FromInt((int)result
);
1760 static PyObject
*_wrap_SystemSettings_SetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1761 PyObject
*resultobj
;
1763 PyObject
* obj0
= 0 ;
1765 (char *) "screen", NULL
1768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_SetScreenType",kwnames
,&obj0
)) goto fail
;
1769 arg1
= (wxSystemScreenType
) SWIG_AsInt(obj0
);
1770 if (PyErr_Occurred()) SWIG_fail
;
1772 if (!wxPyCheckForApp()) SWIG_fail
;
1773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1774 wxSystemSettings::SetScreenType((wxSystemScreenType
)arg1
);
1776 wxPyEndAllowThreads(__tstate
);
1777 if (PyErr_Occurred()) SWIG_fail
;
1779 Py_INCREF(Py_None
); resultobj
= Py_None
;
1786 static PyObject
* SystemSettings_swigregister(PyObject
*self
, PyObject
*args
) {
1788 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1789 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings
, obj
);
1791 return Py_BuildValue((char *)"");
1793 static PyObject
*_wrap_new_SystemOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1794 PyObject
*resultobj
;
1795 wxSystemOptions
*result
;
1800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SystemOptions",kwnames
)) goto fail
;
1802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1803 result
= (wxSystemOptions
*)new wxSystemOptions();
1805 wxPyEndAllowThreads(__tstate
);
1806 if (PyErr_Occurred()) SWIG_fail
;
1808 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSystemOptions
, 1);
1815 static PyObject
*_wrap_SystemOptions_SetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1816 PyObject
*resultobj
;
1817 wxString
*arg1
= 0 ;
1818 wxString
*arg2
= 0 ;
1819 bool temp1
= False
;
1820 bool temp2
= False
;
1821 PyObject
* obj0
= 0 ;
1822 PyObject
* obj1
= 0 ;
1824 (char *) "name",(char *) "value", NULL
1827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
1829 arg1
= wxString_in_helper(obj0
);
1830 if (arg1
== NULL
) SWIG_fail
;
1834 arg2
= wxString_in_helper(obj1
);
1835 if (arg2
== NULL
) SWIG_fail
;
1839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1840 wxSystemOptions::SetOption((wxString
const &)*arg1
,(wxString
const &)*arg2
);
1842 wxPyEndAllowThreads(__tstate
);
1843 if (PyErr_Occurred()) SWIG_fail
;
1845 Py_INCREF(Py_None
); resultobj
= Py_None
;
1868 static PyObject
*_wrap_SystemOptions_SetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1869 PyObject
*resultobj
;
1870 wxString
*arg1
= 0 ;
1872 bool temp1
= False
;
1873 PyObject
* obj0
= 0 ;
1874 PyObject
* obj1
= 0 ;
1876 (char *) "name",(char *) "value", NULL
1879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
1881 arg1
= wxString_in_helper(obj0
);
1882 if (arg1
== NULL
) SWIG_fail
;
1885 arg2
= (int) SWIG_AsInt(obj1
);
1886 if (PyErr_Occurred()) SWIG_fail
;
1888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1889 wxSystemOptions::SetOption((wxString
const &)*arg1
,arg2
);
1891 wxPyEndAllowThreads(__tstate
);
1892 if (PyErr_Occurred()) SWIG_fail
;
1894 Py_INCREF(Py_None
); resultobj
= Py_None
;
1909 static PyObject
*_wrap_SystemOptions_GetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1910 PyObject
*resultobj
;
1911 wxString
*arg1
= 0 ;
1913 bool temp1
= False
;
1914 PyObject
* obj0
= 0 ;
1916 (char *) "name", NULL
1919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) goto fail
;
1921 arg1
= wxString_in_helper(obj0
);
1922 if (arg1
== NULL
) SWIG_fail
;
1926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1927 result
= wxSystemOptions::GetOption((wxString
const &)*arg1
);
1929 wxPyEndAllowThreads(__tstate
);
1930 if (PyErr_Occurred()) SWIG_fail
;
1934 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1936 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1953 static PyObject
*_wrap_SystemOptions_GetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1954 PyObject
*resultobj
;
1955 wxString
*arg1
= 0 ;
1957 bool temp1
= False
;
1958 PyObject
* obj0
= 0 ;
1960 (char *) "name", NULL
1963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) goto fail
;
1965 arg1
= wxString_in_helper(obj0
);
1966 if (arg1
== NULL
) SWIG_fail
;
1970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1971 result
= (int)wxSystemOptions::GetOptionInt((wxString
const &)*arg1
);
1973 wxPyEndAllowThreads(__tstate
);
1974 if (PyErr_Occurred()) SWIG_fail
;
1976 resultobj
= SWIG_FromInt((int)result
);
1991 static PyObject
*_wrap_SystemOptions_HasOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1992 PyObject
*resultobj
;
1993 wxString
*arg1
= 0 ;
1995 bool temp1
= False
;
1996 PyObject
* obj0
= 0 ;
1998 (char *) "name", NULL
2001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) goto fail
;
2003 arg1
= wxString_in_helper(obj0
);
2004 if (arg1
== NULL
) SWIG_fail
;
2008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2009 result
= (bool)wxSystemOptions::HasOption((wxString
const &)*arg1
);
2011 wxPyEndAllowThreads(__tstate
);
2012 if (PyErr_Occurred()) SWIG_fail
;
2015 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2031 static PyObject
* SystemOptions_swigregister(PyObject
*self
, PyObject
*args
) {
2033 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2034 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions
, obj
);
2036 return Py_BuildValue((char *)"");
2038 static int _wrap_FileSelectorPromptStr_set(PyObject
*_val
) {
2039 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
2044 static PyObject
*_wrap_FileSelectorPromptStr_get() {
2049 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
2051 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
2058 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*_val
) {
2059 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
2064 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
2069 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
2071 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
2078 static int _wrap_DirSelectorPromptStr_set(PyObject
*_val
) {
2079 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
2084 static PyObject
*_wrap_DirSelectorPromptStr_get() {
2089 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
2091 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
2098 static PyObject
*_wrap_NewId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2099 PyObject
*resultobj
;
2105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewId",kwnames
)) goto fail
;
2107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2108 result
= (long)wxNewId();
2110 wxPyEndAllowThreads(__tstate
);
2111 if (PyErr_Occurred()) SWIG_fail
;
2113 resultobj
= SWIG_FromLong((long)result
);
2120 static PyObject
*_wrap_RegisterId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2121 PyObject
*resultobj
;
2123 PyObject
* obj0
= 0 ;
2128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegisterId",kwnames
,&obj0
)) goto fail
;
2129 arg1
= (long) SWIG_AsLong(obj0
);
2130 if (PyErr_Occurred()) SWIG_fail
;
2132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2135 wxPyEndAllowThreads(__tstate
);
2136 if (PyErr_Occurred()) SWIG_fail
;
2138 Py_INCREF(Py_None
); resultobj
= Py_None
;
2145 static PyObject
*_wrap_GetCurrentId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2146 PyObject
*resultobj
;
2152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentId",kwnames
)) goto fail
;
2154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2155 result
= (long)wxGetCurrentId();
2157 wxPyEndAllowThreads(__tstate
);
2158 if (PyErr_Occurred()) SWIG_fail
;
2160 resultobj
= SWIG_FromLong((long)result
);
2167 static PyObject
*_wrap_Bell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2168 PyObject
*resultobj
;
2173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Bell",kwnames
)) goto fail
;
2175 if (!wxPyCheckForApp()) SWIG_fail
;
2176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2179 wxPyEndAllowThreads(__tstate
);
2180 if (PyErr_Occurred()) SWIG_fail
;
2182 Py_INCREF(Py_None
); resultobj
= Py_None
;
2189 static PyObject
*_wrap_EndBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2190 PyObject
*resultobj
;
2195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EndBusyCursor",kwnames
)) goto fail
;
2197 if (!wxPyCheckForApp()) SWIG_fail
;
2198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2201 wxPyEndAllowThreads(__tstate
);
2202 if (PyErr_Occurred()) SWIG_fail
;
2204 Py_INCREF(Py_None
); resultobj
= Py_None
;
2211 static PyObject
*_wrap_GetElapsedTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2212 PyObject
*resultobj
;
2213 bool arg1
= (bool) True
;
2215 PyObject
* obj0
= 0 ;
2217 (char *) "resetTimer", NULL
2220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) goto fail
;
2222 arg1
= (bool) SWIG_AsBool(obj0
);
2223 if (PyErr_Occurred()) SWIG_fail
;
2226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2227 result
= (long)wxGetElapsedTime(arg1
);
2229 wxPyEndAllowThreads(__tstate
);
2230 if (PyErr_Occurred()) SWIG_fail
;
2232 resultobj
= SWIG_FromLong((long)result
);
2239 static PyObject
*_wrap_GetMousePosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2240 PyObject
*resultobj
;
2241 int *arg1
= (int *) 0 ;
2242 int *arg2
= (int *) 0 ;
2251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetMousePosition",kwnames
)) goto fail
;
2253 if (!wxPyCheckForApp()) SWIG_fail
;
2254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2255 wxGetMousePosition(arg1
,arg2
);
2257 wxPyEndAllowThreads(__tstate
);
2258 if (PyErr_Occurred()) SWIG_fail
;
2260 Py_INCREF(Py_None
); resultobj
= Py_None
;
2262 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
2263 resultobj
= t_output_helper(resultobj
,o
);
2266 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
2267 resultobj
= t_output_helper(resultobj
,o
);
2275 static PyObject
*_wrap_IsBusy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2276 PyObject
*resultobj
;
2282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IsBusy",kwnames
)) goto fail
;
2284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2285 result
= (bool)wxIsBusy();
2287 wxPyEndAllowThreads(__tstate
);
2288 if (PyErr_Occurred()) SWIG_fail
;
2291 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2299 static PyObject
*_wrap_Now(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2300 PyObject
*resultobj
;
2306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Now",kwnames
)) goto fail
;
2308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2311 wxPyEndAllowThreads(__tstate
);
2312 if (PyErr_Occurred()) SWIG_fail
;
2316 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2318 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2327 static PyObject
*_wrap_Shell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2328 PyObject
*resultobj
;
2329 wxString
const &arg1_defvalue
= wxPyEmptyString
;
2330 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2332 bool temp1
= False
;
2333 PyObject
* obj0
= 0 ;
2335 (char *) "command", NULL
2338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) goto fail
;
2341 arg1
= wxString_in_helper(obj0
);
2342 if (arg1
== NULL
) SWIG_fail
;
2347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2348 result
= (bool)wxShell((wxString
const &)*arg1
);
2350 wxPyEndAllowThreads(__tstate
);
2351 if (PyErr_Occurred()) SWIG_fail
;
2354 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2370 static PyObject
*_wrap_StartTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2371 PyObject
*resultobj
;
2376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StartTimer",kwnames
)) goto fail
;
2378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2381 wxPyEndAllowThreads(__tstate
);
2382 if (PyErr_Occurred()) SWIG_fail
;
2384 Py_INCREF(Py_None
); resultobj
= Py_None
;
2391 static PyObject
*_wrap_GetOsVersion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2392 PyObject
*resultobj
;
2393 int *arg1
= (int *) 0 ;
2394 int *arg2
= (int *) 0 ;
2404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsVersion",kwnames
)) goto fail
;
2406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2407 result
= (int)wxGetOsVersion(arg1
,arg2
);
2409 wxPyEndAllowThreads(__tstate
);
2410 if (PyErr_Occurred()) SWIG_fail
;
2412 resultobj
= SWIG_FromInt((int)result
);
2414 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
2415 resultobj
= t_output_helper(resultobj
,o
);
2418 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
2419 resultobj
= t_output_helper(resultobj
,o
);
2427 static PyObject
*_wrap_GetOsDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2428 PyObject
*resultobj
;
2434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsDescription",kwnames
)) goto fail
;
2436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2437 result
= wxGetOsDescription();
2439 wxPyEndAllowThreads(__tstate
);
2440 if (PyErr_Occurred()) SWIG_fail
;
2444 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2446 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2455 static PyObject
*_wrap_GetFreeMemory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2456 PyObject
*resultobj
;
2462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFreeMemory",kwnames
)) goto fail
;
2464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2465 result
= (long)wxGetFreeMemory();
2467 wxPyEndAllowThreads(__tstate
);
2468 if (PyErr_Occurred()) SWIG_fail
;
2470 resultobj
= SWIG_FromLong((long)result
);
2477 static PyObject
*_wrap_Shutdown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2478 PyObject
*resultobj
;
2481 PyObject
* obj0
= 0 ;
2483 (char *) "wFlags", NULL
2486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Shutdown",kwnames
,&obj0
)) goto fail
;
2487 arg1
= (wxShutdownFlags
) SWIG_AsInt(obj0
);
2488 if (PyErr_Occurred()) SWIG_fail
;
2490 if (!wxPyCheckForApp()) SWIG_fail
;
2491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2492 result
= (bool)wxShutdown((wxShutdownFlags
)arg1
);
2494 wxPyEndAllowThreads(__tstate
);
2495 if (PyErr_Occurred()) SWIG_fail
;
2498 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2506 static PyObject
*_wrap_Sleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2507 PyObject
*resultobj
;
2509 PyObject
* obj0
= 0 ;
2511 (char *) "secs", NULL
2514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sleep",kwnames
,&obj0
)) goto fail
;
2515 arg1
= (int) SWIG_AsInt(obj0
);
2516 if (PyErr_Occurred()) SWIG_fail
;
2518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2521 wxPyEndAllowThreads(__tstate
);
2522 if (PyErr_Occurred()) SWIG_fail
;
2524 Py_INCREF(Py_None
); resultobj
= Py_None
;
2531 static PyObject
*_wrap_MilliSleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2532 PyObject
*resultobj
;
2533 unsigned long arg1
;
2534 PyObject
* obj0
= 0 ;
2536 (char *) "milliseconds", NULL
2539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MilliSleep",kwnames
,&obj0
)) goto fail
;
2540 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
2541 if (PyErr_Occurred()) SWIG_fail
;
2543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2546 wxPyEndAllowThreads(__tstate
);
2547 if (PyErr_Occurred()) SWIG_fail
;
2549 Py_INCREF(Py_None
); resultobj
= Py_None
;
2556 static PyObject
*_wrap_MicroSleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2557 PyObject
*resultobj
;
2558 unsigned long arg1
;
2559 PyObject
* obj0
= 0 ;
2561 (char *) "microseconds", NULL
2564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MicroSleep",kwnames
,&obj0
)) goto fail
;
2565 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
2566 if (PyErr_Occurred()) SWIG_fail
;
2568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2571 wxPyEndAllowThreads(__tstate
);
2572 if (PyErr_Occurred()) SWIG_fail
;
2574 Py_INCREF(Py_None
); resultobj
= Py_None
;
2581 static PyObject
*_wrap_EnableTopLevelWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2582 PyObject
*resultobj
;
2584 PyObject
* obj0
= 0 ;
2586 (char *) "enable", NULL
2589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) goto fail
;
2590 arg1
= (bool) SWIG_AsBool(obj0
);
2591 if (PyErr_Occurred()) SWIG_fail
;
2593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2594 wxEnableTopLevelWindows(arg1
);
2596 wxPyEndAllowThreads(__tstate
);
2597 if (PyErr_Occurred()) SWIG_fail
;
2599 Py_INCREF(Py_None
); resultobj
= Py_None
;
2606 static PyObject
*_wrap_StripMenuCodes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2607 PyObject
*resultobj
;
2608 wxString
*arg1
= 0 ;
2610 bool temp1
= False
;
2611 PyObject
* obj0
= 0 ;
2616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) goto fail
;
2618 arg1
= wxString_in_helper(obj0
);
2619 if (arg1
== NULL
) SWIG_fail
;
2623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2624 result
= wxStripMenuCodes((wxString
const &)*arg1
);
2626 wxPyEndAllowThreads(__tstate
);
2627 if (PyErr_Occurred()) SWIG_fail
;
2631 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2633 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2650 static PyObject
*_wrap_GetEmailAddress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2651 PyObject
*resultobj
;
2657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetEmailAddress",kwnames
)) goto fail
;
2659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2660 result
= wxGetEmailAddress();
2662 wxPyEndAllowThreads(__tstate
);
2663 if (PyErr_Occurred()) SWIG_fail
;
2667 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2669 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2678 static PyObject
*_wrap_GetHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2679 PyObject
*resultobj
;
2685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHostName",kwnames
)) goto fail
;
2687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2688 result
= wxGetHostName();
2690 wxPyEndAllowThreads(__tstate
);
2691 if (PyErr_Occurred()) SWIG_fail
;
2695 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2697 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2706 static PyObject
*_wrap_GetFullHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2707 PyObject
*resultobj
;
2713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFullHostName",kwnames
)) goto fail
;
2715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2716 result
= wxGetFullHostName();
2718 wxPyEndAllowThreads(__tstate
);
2719 if (PyErr_Occurred()) SWIG_fail
;
2723 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2725 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2734 static PyObject
*_wrap_GetUserId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2735 PyObject
*resultobj
;
2741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserId",kwnames
)) goto fail
;
2743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2744 result
= wxGetUserId();
2746 wxPyEndAllowThreads(__tstate
);
2747 if (PyErr_Occurred()) SWIG_fail
;
2751 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2753 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2762 static PyObject
*_wrap_GetUserName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2763 PyObject
*resultobj
;
2769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserName",kwnames
)) goto fail
;
2771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2772 result
= wxGetUserName();
2774 wxPyEndAllowThreads(__tstate
);
2775 if (PyErr_Occurred()) SWIG_fail
;
2779 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2781 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2790 static PyObject
*_wrap_GetHomeDir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2791 PyObject
*resultobj
;
2797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHomeDir",kwnames
)) goto fail
;
2799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2800 result
= wxGetHomeDir();
2802 wxPyEndAllowThreads(__tstate
);
2803 if (PyErr_Occurred()) SWIG_fail
;
2807 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2809 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2818 static PyObject
*_wrap_GetUserHome(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2819 PyObject
*resultobj
;
2820 wxString
const &arg1_defvalue
= wxPyEmptyString
;
2821 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2823 bool temp1
= False
;
2824 PyObject
* obj0
= 0 ;
2826 (char *) "user", NULL
2829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) goto fail
;
2832 arg1
= wxString_in_helper(obj0
);
2833 if (arg1
== NULL
) SWIG_fail
;
2838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2839 result
= wxGetUserHome((wxString
const &)*arg1
);
2841 wxPyEndAllowThreads(__tstate
);
2842 if (PyErr_Occurred()) SWIG_fail
;
2846 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2848 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2865 static PyObject
*_wrap_GetProcessId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2866 PyObject
*resultobj
;
2867 unsigned long result
;
2872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetProcessId",kwnames
)) goto fail
;
2874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2875 result
= (unsigned long)wxGetProcessId();
2877 wxPyEndAllowThreads(__tstate
);
2878 if (PyErr_Occurred()) SWIG_fail
;
2880 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
2887 static PyObject
*_wrap_Trap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2888 PyObject
*resultobj
;
2893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Trap",kwnames
)) goto fail
;
2895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2898 wxPyEndAllowThreads(__tstate
);
2899 if (PyErr_Occurred()) SWIG_fail
;
2901 Py_INCREF(Py_None
); resultobj
= Py_None
;
2908 static PyObject
*_wrap_FileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2909 PyObject
*resultobj
;
2910 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
2911 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2912 wxString
const &arg2_defvalue
= wxPyEmptyString
;
2913 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
2914 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2915 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2916 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2917 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2918 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
2919 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
2920 int arg6
= (int) 0 ;
2921 wxWindow
*arg7
= (wxWindow
*) NULL
;
2922 int arg8
= (int) -1 ;
2923 int arg9
= (int) -1 ;
2925 bool temp1
= False
;
2926 bool temp2
= False
;
2927 bool temp3
= False
;
2928 bool temp4
= False
;
2929 bool temp5
= False
;
2930 PyObject
* obj0
= 0 ;
2931 PyObject
* obj1
= 0 ;
2932 PyObject
* obj2
= 0 ;
2933 PyObject
* obj3
= 0 ;
2934 PyObject
* obj4
= 0 ;
2935 PyObject
* obj5
= 0 ;
2936 PyObject
* obj6
= 0 ;
2937 PyObject
* obj7
= 0 ;
2938 PyObject
* obj8
= 0 ;
2940 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
2943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOOOO:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2946 arg1
= wxString_in_helper(obj0
);
2947 if (arg1
== NULL
) SWIG_fail
;
2953 arg2
= wxString_in_helper(obj1
);
2954 if (arg2
== NULL
) SWIG_fail
;
2960 arg3
= wxString_in_helper(obj2
);
2961 if (arg3
== NULL
) SWIG_fail
;
2967 arg4
= wxString_in_helper(obj3
);
2968 if (arg4
== NULL
) SWIG_fail
;
2974 arg5
= wxString_in_helper(obj4
);
2975 if (arg5
== NULL
) SWIG_fail
;
2980 arg6
= (int) SWIG_AsInt(obj5
);
2981 if (PyErr_Occurred()) SWIG_fail
;
2984 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxWindow
,
2985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2988 arg8
= (int) SWIG_AsInt(obj7
);
2989 if (PyErr_Occurred()) SWIG_fail
;
2992 arg9
= (int) SWIG_AsInt(obj8
);
2993 if (PyErr_Occurred()) SWIG_fail
;
2996 if (!wxPyCheckForApp()) SWIG_fail
;
2997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2998 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
3000 wxPyEndAllowThreads(__tstate
);
3001 if (PyErr_Occurred()) SWIG_fail
;
3005 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3007 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3056 static PyObject
*_wrap_LoadFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3057 PyObject
*resultobj
;
3058 wxString
*arg1
= 0 ;
3059 wxString
*arg2
= 0 ;
3060 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3061 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3062 wxWindow
*arg4
= (wxWindow
*) NULL
;
3064 bool temp1
= False
;
3065 bool temp2
= False
;
3066 bool temp3
= False
;
3067 PyObject
* obj0
= 0 ;
3068 PyObject
* obj1
= 0 ;
3069 PyObject
* obj2
= 0 ;
3070 PyObject
* obj3
= 0 ;
3072 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
3075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3077 arg1
= wxString_in_helper(obj0
);
3078 if (arg1
== NULL
) SWIG_fail
;
3082 arg2
= wxString_in_helper(obj1
);
3083 if (arg2
== NULL
) SWIG_fail
;
3088 arg3
= wxString_in_helper(obj2
);
3089 if (arg3
== NULL
) SWIG_fail
;
3094 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3098 if (!wxPyCheckForApp()) SWIG_fail
;
3099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3100 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3102 wxPyEndAllowThreads(__tstate
);
3103 if (PyErr_Occurred()) SWIG_fail
;
3107 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3109 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3142 static PyObject
*_wrap_SaveFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3143 PyObject
*resultobj
;
3144 wxString
*arg1
= 0 ;
3145 wxString
*arg2
= 0 ;
3146 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3147 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3148 wxWindow
*arg4
= (wxWindow
*) NULL
;
3150 bool temp1
= False
;
3151 bool temp2
= False
;
3152 bool temp3
= False
;
3153 PyObject
* obj0
= 0 ;
3154 PyObject
* obj1
= 0 ;
3155 PyObject
* obj2
= 0 ;
3156 PyObject
* obj3
= 0 ;
3158 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
3161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3163 arg1
= wxString_in_helper(obj0
);
3164 if (arg1
== NULL
) SWIG_fail
;
3168 arg2
= wxString_in_helper(obj1
);
3169 if (arg2
== NULL
) SWIG_fail
;
3174 arg3
= wxString_in_helper(obj2
);
3175 if (arg3
== NULL
) SWIG_fail
;
3180 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3184 if (!wxPyCheckForApp()) SWIG_fail
;
3185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3186 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3188 wxPyEndAllowThreads(__tstate
);
3189 if (PyErr_Occurred()) SWIG_fail
;
3193 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3195 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3228 static PyObject
*_wrap_DirSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3229 PyObject
*resultobj
;
3230 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
3231 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3232 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3233 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3234 long arg3
= (long) wxDD_DEFAULT_STYLE
;
3235 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3236 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3237 wxWindow
*arg5
= (wxWindow
*) NULL
;
3239 bool temp1
= False
;
3240 bool temp2
= False
;
3242 PyObject
* obj0
= 0 ;
3243 PyObject
* obj1
= 0 ;
3244 PyObject
* obj2
= 0 ;
3245 PyObject
* obj3
= 0 ;
3246 PyObject
* obj4
= 0 ;
3248 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
3251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:DirSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3254 arg1
= wxString_in_helper(obj0
);
3255 if (arg1
== NULL
) SWIG_fail
;
3261 arg2
= wxString_in_helper(obj1
);
3262 if (arg2
== NULL
) SWIG_fail
;
3267 arg3
= (long) SWIG_AsLong(obj2
);
3268 if (PyErr_Occurred()) SWIG_fail
;
3273 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3277 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3281 if (!wxPyCheckForApp()) SWIG_fail
;
3282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3283 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
3285 wxPyEndAllowThreads(__tstate
);
3286 if (PyErr_Occurred()) SWIG_fail
;
3290 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3292 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3317 static PyObject
*_wrap_GetTextFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3318 PyObject
*resultobj
;
3319 wxString
*arg1
= 0 ;
3320 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3321 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3322 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3323 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3324 wxWindow
*arg4
= (wxWindow
*) NULL
;
3325 int arg5
= (int) -1 ;
3326 int arg6
= (int) -1 ;
3327 bool arg7
= (bool) True
;
3329 bool temp1
= False
;
3330 bool temp2
= False
;
3331 bool temp3
= False
;
3332 PyObject
* obj0
= 0 ;
3333 PyObject
* obj1
= 0 ;
3334 PyObject
* obj2
= 0 ;
3335 PyObject
* obj3
= 0 ;
3336 PyObject
* obj4
= 0 ;
3337 PyObject
* obj5
= 0 ;
3338 PyObject
* obj6
= 0 ;
3340 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
3343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3345 arg1
= wxString_in_helper(obj0
);
3346 if (arg1
== NULL
) SWIG_fail
;
3351 arg2
= wxString_in_helper(obj1
);
3352 if (arg2
== NULL
) SWIG_fail
;
3358 arg3
= wxString_in_helper(obj2
);
3359 if (arg3
== NULL
) SWIG_fail
;
3364 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3368 arg5
= (int) SWIG_AsInt(obj4
);
3369 if (PyErr_Occurred()) SWIG_fail
;
3372 arg6
= (int) SWIG_AsInt(obj5
);
3373 if (PyErr_Occurred()) SWIG_fail
;
3376 arg7
= (bool) SWIG_AsBool(obj6
);
3377 if (PyErr_Occurred()) SWIG_fail
;
3380 if (!wxPyCheckForApp()) SWIG_fail
;
3381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3382 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
3384 wxPyEndAllowThreads(__tstate
);
3385 if (PyErr_Occurred()) SWIG_fail
;
3389 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3391 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3424 static PyObject
*_wrap_GetPasswordFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3425 PyObject
*resultobj
;
3426 wxString
*arg1
= 0 ;
3427 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3428 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3429 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3430 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3431 wxWindow
*arg4
= (wxWindow
*) NULL
;
3433 bool temp1
= False
;
3434 bool temp2
= False
;
3435 bool temp3
= False
;
3436 PyObject
* obj0
= 0 ;
3437 PyObject
* obj1
= 0 ;
3438 PyObject
* obj2
= 0 ;
3439 PyObject
* obj3
= 0 ;
3441 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
3444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3446 arg1
= wxString_in_helper(obj0
);
3447 if (arg1
== NULL
) SWIG_fail
;
3452 arg2
= wxString_in_helper(obj1
);
3453 if (arg2
== NULL
) SWIG_fail
;
3459 arg3
= wxString_in_helper(obj2
);
3460 if (arg3
== NULL
) SWIG_fail
;
3465 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3469 if (!wxPyCheckForApp()) SWIG_fail
;
3470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3471 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3473 wxPyEndAllowThreads(__tstate
);
3474 if (PyErr_Occurred()) SWIG_fail
;
3478 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3480 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3513 static PyObject
*_wrap_GetSingleChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3514 PyObject
*resultobj
;
3515 wxString
*arg1
= 0 ;
3516 wxString
*arg2
= 0 ;
3518 wxString
*arg4
= (wxString
*) 0 ;
3519 wxWindow
*arg5
= (wxWindow
*) NULL
;
3520 int arg6
= (int) -1 ;
3521 int arg7
= (int) -1 ;
3522 bool arg8
= (bool) True
;
3523 int arg9
= (int) 150 ;
3524 int arg10
= (int) 200 ;
3526 bool temp1
= False
;
3527 bool temp2
= False
;
3528 PyObject
* obj0
= 0 ;
3529 PyObject
* obj1
= 0 ;
3530 PyObject
* obj2
= 0 ;
3531 PyObject
* obj3
= 0 ;
3532 PyObject
* obj4
= 0 ;
3533 PyObject
* obj5
= 0 ;
3534 PyObject
* obj6
= 0 ;
3535 PyObject
* obj7
= 0 ;
3536 PyObject
* obj8
= 0 ;
3538 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3543 arg1
= wxString_in_helper(obj0
);
3544 if (arg1
== NULL
) SWIG_fail
;
3548 arg2
= wxString_in_helper(obj1
);
3549 if (arg2
== NULL
) SWIG_fail
;
3553 arg3
= PyList_Size(obj2
);
3554 arg4
= wxString_LIST_helper(obj2
);
3555 if (arg4
== NULL
) SWIG_fail
;
3558 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3562 arg6
= (int) SWIG_AsInt(obj4
);
3563 if (PyErr_Occurred()) SWIG_fail
;
3566 arg7
= (int) SWIG_AsInt(obj5
);
3567 if (PyErr_Occurred()) SWIG_fail
;
3570 arg8
= (bool) SWIG_AsBool(obj6
);
3571 if (PyErr_Occurred()) SWIG_fail
;
3574 arg9
= (int) SWIG_AsInt(obj7
);
3575 if (PyErr_Occurred()) SWIG_fail
;
3578 arg10
= (int) SWIG_AsInt(obj8
);
3579 if (PyErr_Occurred()) SWIG_fail
;
3582 if (!wxPyCheckForApp()) SWIG_fail
;
3583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3584 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
3586 wxPyEndAllowThreads(__tstate
);
3587 if (PyErr_Occurred()) SWIG_fail
;
3591 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3593 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3605 if (arg4
) delete [] arg4
;
3618 if (arg4
) delete [] arg4
;
3624 static PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3625 PyObject
*resultobj
;
3626 wxString
*arg1
= 0 ;
3627 wxString
*arg2
= 0 ;
3629 wxString
*arg4
= (wxString
*) 0 ;
3630 wxWindow
*arg5
= (wxWindow
*) NULL
;
3631 int arg6
= (int) -1 ;
3632 int arg7
= (int) -1 ;
3633 bool arg8
= (bool) True
;
3634 int arg9
= (int) 150 ;
3635 int arg10
= (int) 200 ;
3637 bool temp1
= False
;
3638 bool temp2
= False
;
3639 PyObject
* obj0
= 0 ;
3640 PyObject
* obj1
= 0 ;
3641 PyObject
* obj2
= 0 ;
3642 PyObject
* obj3
= 0 ;
3643 PyObject
* obj4
= 0 ;
3644 PyObject
* obj5
= 0 ;
3645 PyObject
* obj6
= 0 ;
3646 PyObject
* obj7
= 0 ;
3647 PyObject
* obj8
= 0 ;
3649 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3654 arg1
= wxString_in_helper(obj0
);
3655 if (arg1
== NULL
) SWIG_fail
;
3659 arg2
= wxString_in_helper(obj1
);
3660 if (arg2
== NULL
) SWIG_fail
;
3664 arg3
= PyList_Size(obj2
);
3665 arg4
= wxString_LIST_helper(obj2
);
3666 if (arg4
== NULL
) SWIG_fail
;
3669 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3673 arg6
= (int) SWIG_AsInt(obj4
);
3674 if (PyErr_Occurred()) SWIG_fail
;
3677 arg7
= (int) SWIG_AsInt(obj5
);
3678 if (PyErr_Occurred()) SWIG_fail
;
3681 arg8
= (bool) SWIG_AsBool(obj6
);
3682 if (PyErr_Occurred()) SWIG_fail
;
3685 arg9
= (int) SWIG_AsInt(obj7
);
3686 if (PyErr_Occurred()) SWIG_fail
;
3689 arg10
= (int) SWIG_AsInt(obj8
);
3690 if (PyErr_Occurred()) SWIG_fail
;
3693 if (!wxPyCheckForApp()) SWIG_fail
;
3694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3695 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
3697 wxPyEndAllowThreads(__tstate
);
3698 if (PyErr_Occurred()) SWIG_fail
;
3700 resultobj
= SWIG_FromInt((int)result
);
3710 if (arg4
) delete [] arg4
;
3723 if (arg4
) delete [] arg4
;
3729 static PyObject
*_wrap_MessageBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3730 PyObject
*resultobj
;
3731 wxString
*arg1
= 0 ;
3732 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3733 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3734 int arg3
= (int) wxOK
|wxCENTRE
;
3735 wxWindow
*arg4
= (wxWindow
*) NULL
;
3736 int arg5
= (int) -1 ;
3737 int arg6
= (int) -1 ;
3739 bool temp1
= False
;
3740 bool temp2
= False
;
3741 PyObject
* obj0
= 0 ;
3742 PyObject
* obj1
= 0 ;
3743 PyObject
* obj2
= 0 ;
3744 PyObject
* obj3
= 0 ;
3745 PyObject
* obj4
= 0 ;
3746 PyObject
* obj5
= 0 ;
3748 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
3751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:MessageBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
3753 arg1
= wxString_in_helper(obj0
);
3754 if (arg1
== NULL
) SWIG_fail
;
3759 arg2
= wxString_in_helper(obj1
);
3760 if (arg2
== NULL
) SWIG_fail
;
3765 arg3
= (int) SWIG_AsInt(obj2
);
3766 if (PyErr_Occurred()) SWIG_fail
;
3769 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3773 arg5
= (int) SWIG_AsInt(obj4
);
3774 if (PyErr_Occurred()) SWIG_fail
;
3777 arg6
= (int) SWIG_AsInt(obj5
);
3778 if (PyErr_Occurred()) SWIG_fail
;
3781 if (!wxPyCheckForApp()) SWIG_fail
;
3782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3783 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
3785 wxPyEndAllowThreads(__tstate
);
3786 if (PyErr_Occurred()) SWIG_fail
;
3788 resultobj
= SWIG_FromInt((int)result
);
3811 static PyObject
*_wrap_GetNumberFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3812 PyObject
*resultobj
;
3813 wxString
*arg1
= 0 ;
3814 wxString
*arg2
= 0 ;
3815 wxString
*arg3
= 0 ;
3817 long arg5
= (long) 0 ;
3818 long arg6
= (long) 100 ;
3819 wxWindow
*arg7
= (wxWindow
*) NULL
;
3820 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
3821 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
3823 bool temp1
= False
;
3824 bool temp2
= False
;
3825 bool temp3
= False
;
3827 PyObject
* obj0
= 0 ;
3828 PyObject
* obj1
= 0 ;
3829 PyObject
* obj2
= 0 ;
3830 PyObject
* obj3
= 0 ;
3831 PyObject
* obj4
= 0 ;
3832 PyObject
* obj5
= 0 ;
3833 PyObject
* obj6
= 0 ;
3834 PyObject
* obj7
= 0 ;
3836 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
3839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3841 arg1
= wxString_in_helper(obj0
);
3842 if (arg1
== NULL
) SWIG_fail
;
3846 arg2
= wxString_in_helper(obj1
);
3847 if (arg2
== NULL
) SWIG_fail
;
3851 arg3
= wxString_in_helper(obj2
);
3852 if (arg3
== NULL
) SWIG_fail
;
3855 arg4
= (long) SWIG_AsLong(obj3
);
3856 if (PyErr_Occurred()) SWIG_fail
;
3858 arg5
= (long) SWIG_AsLong(obj4
);
3859 if (PyErr_Occurred()) SWIG_fail
;
3862 arg6
= (long) SWIG_AsLong(obj5
);
3863 if (PyErr_Occurred()) SWIG_fail
;
3866 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxWindow
,
3867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3872 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
3876 if (!wxPyCheckForApp()) SWIG_fail
;
3877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3878 result
= (long)wxGetNumberFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
3880 wxPyEndAllowThreads(__tstate
);
3881 if (PyErr_Occurred()) SWIG_fail
;
3883 resultobj
= SWIG_FromLong((long)result
);
3914 static PyObject
*_wrap_ColourDisplay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3915 PyObject
*resultobj
;
3921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ColourDisplay",kwnames
)) goto fail
;
3923 if (!wxPyCheckForApp()) SWIG_fail
;
3924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3925 result
= (bool)wxColourDisplay();
3927 wxPyEndAllowThreads(__tstate
);
3928 if (PyErr_Occurred()) SWIG_fail
;
3931 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3939 static PyObject
*_wrap_DisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3940 PyObject
*resultobj
;
3946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplayDepth",kwnames
)) goto fail
;
3948 if (!wxPyCheckForApp()) SWIG_fail
;
3949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3950 result
= (int)wxDisplayDepth();
3952 wxPyEndAllowThreads(__tstate
);
3953 if (PyErr_Occurred()) SWIG_fail
;
3955 resultobj
= SWIG_FromInt((int)result
);
3962 static PyObject
*_wrap_GetDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3963 PyObject
*resultobj
;
3969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplayDepth",kwnames
)) goto fail
;
3971 if (!wxPyCheckForApp()) SWIG_fail
;
3972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3973 result
= (int)wxGetDisplayDepth();
3975 wxPyEndAllowThreads(__tstate
);
3976 if (PyErr_Occurred()) SWIG_fail
;
3978 resultobj
= SWIG_FromInt((int)result
);
3985 static PyObject
*_wrap_DisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3986 PyObject
*resultobj
;
3987 int *arg1
= (int *) 0 ;
3988 int *arg2
= (int *) 0 ;
3997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySize",kwnames
)) goto fail
;
3999 if (!wxPyCheckForApp()) SWIG_fail
;
4000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4001 wxDisplaySize(arg1
,arg2
);
4003 wxPyEndAllowThreads(__tstate
);
4004 if (PyErr_Occurred()) SWIG_fail
;
4006 Py_INCREF(Py_None
); resultobj
= Py_None
;
4008 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
4009 resultobj
= t_output_helper(resultobj
,o
);
4012 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4013 resultobj
= t_output_helper(resultobj
,o
);
4021 static PyObject
*_wrap_GetDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4022 PyObject
*resultobj
;
4028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySize",kwnames
)) goto fail
;
4030 if (!wxPyCheckForApp()) SWIG_fail
;
4031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4032 result
= wxGetDisplaySize();
4034 wxPyEndAllowThreads(__tstate
);
4035 if (PyErr_Occurred()) SWIG_fail
;
4039 resultptr
= new wxSize((wxSize
&) result
);
4040 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
4048 static PyObject
*_wrap_DisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4049 PyObject
*resultobj
;
4050 int *arg1
= (int *) 0 ;
4051 int *arg2
= (int *) 0 ;
4060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySizeMM",kwnames
)) goto fail
;
4062 if (!wxPyCheckForApp()) SWIG_fail
;
4063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4064 wxDisplaySizeMM(arg1
,arg2
);
4066 wxPyEndAllowThreads(__tstate
);
4067 if (PyErr_Occurred()) SWIG_fail
;
4069 Py_INCREF(Py_None
); resultobj
= Py_None
;
4071 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
4072 resultobj
= t_output_helper(resultobj
,o
);
4075 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4076 resultobj
= t_output_helper(resultobj
,o
);
4084 static PyObject
*_wrap_GetDisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4085 PyObject
*resultobj
;
4091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySizeMM",kwnames
)) goto fail
;
4093 if (!wxPyCheckForApp()) SWIG_fail
;
4094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4095 result
= wxGetDisplaySizeMM();
4097 wxPyEndAllowThreads(__tstate
);
4098 if (PyErr_Occurred()) SWIG_fail
;
4102 resultptr
= new wxSize((wxSize
&) result
);
4103 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
4111 static PyObject
*_wrap_ClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4112 PyObject
*resultobj
;
4113 int *arg1
= (int *) 0 ;
4114 int *arg2
= (int *) 0 ;
4115 int *arg3
= (int *) 0 ;
4116 int *arg4
= (int *) 0 ;
4129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ClientDisplayRect",kwnames
)) goto fail
;
4131 if (!wxPyCheckForApp()) SWIG_fail
;
4132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4133 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
4135 wxPyEndAllowThreads(__tstate
);
4136 if (PyErr_Occurred()) SWIG_fail
;
4138 Py_INCREF(Py_None
); resultobj
= Py_None
;
4140 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
4141 resultobj
= t_output_helper(resultobj
,o
);
4144 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4145 resultobj
= t_output_helper(resultobj
,o
);
4148 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4149 resultobj
= t_output_helper(resultobj
,o
);
4152 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
4153 resultobj
= t_output_helper(resultobj
,o
);
4161 static PyObject
*_wrap_GetClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4162 PyObject
*resultobj
;
4168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetClientDisplayRect",kwnames
)) goto fail
;
4170 if (!wxPyCheckForApp()) SWIG_fail
;
4171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4172 result
= wxGetClientDisplayRect();
4174 wxPyEndAllowThreads(__tstate
);
4175 if (PyErr_Occurred()) SWIG_fail
;
4179 resultptr
= new wxRect((wxRect
&) result
);
4180 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
4188 static PyObject
*_wrap_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4189 PyObject
*resultobj
;
4190 wxCursor
*arg1
= 0 ;
4191 PyObject
* obj0
= 0 ;
4193 (char *) "cursor", NULL
4196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) goto fail
;
4197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4198 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4201 PyErr_SetString(PyExc_TypeError
,"null reference");
4205 if (!wxPyCheckForApp()) SWIG_fail
;
4206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4209 wxPyEndAllowThreads(__tstate
);
4210 if (PyErr_Occurred()) SWIG_fail
;
4212 Py_INCREF(Py_None
); resultobj
= Py_None
;
4219 static PyObject
*_wrap_BeginBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4220 PyObject
*resultobj
;
4221 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
4222 PyObject
* obj0
= 0 ;
4224 (char *) "cursor", NULL
4227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) goto fail
;
4229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4233 if (!wxPyCheckForApp()) SWIG_fail
;
4234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4235 wxBeginBusyCursor(arg1
);
4237 wxPyEndAllowThreads(__tstate
);
4238 if (PyErr_Occurred()) SWIG_fail
;
4240 Py_INCREF(Py_None
); resultobj
= Py_None
;
4247 static PyObject
*_wrap_GetActiveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4248 PyObject
*resultobj
;
4254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetActiveWindow",kwnames
)) goto fail
;
4256 if (!wxPyCheckForApp()) SWIG_fail
;
4257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4258 result
= (wxWindow
*)wxGetActiveWindow();
4260 wxPyEndAllowThreads(__tstate
);
4261 if (PyErr_Occurred()) SWIG_fail
;
4264 resultobj
= wxPyMake_wxObject(result
, 0);
4272 static PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4273 PyObject
*resultobj
;
4277 PyObject
* obj0
= 0 ;
4282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
4285 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4288 if (!wxPyCheckForApp()) SWIG_fail
;
4289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4290 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
4292 wxPyEndAllowThreads(__tstate
);
4293 if (PyErr_Occurred()) SWIG_fail
;
4296 resultobj
= wxPyMake_wxObject(result
, 0);
4304 static PyObject
*_wrap_FindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4305 PyObject
*resultobj
;
4309 PyObject
* obj0
= 0 ;
4314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
4317 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4320 if (!wxPyCheckForApp()) SWIG_fail
;
4321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4322 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
4324 wxPyEndAllowThreads(__tstate
);
4325 if (PyErr_Occurred()) SWIG_fail
;
4328 resultobj
= wxPyMake_wxObject(result
, 0);
4336 static PyObject
*_wrap_GetTopLevelParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4337 PyObject
*resultobj
;
4338 wxWindow
*arg1
= (wxWindow
*) 0 ;
4340 PyObject
* obj0
= 0 ;
4342 (char *) "win", NULL
4345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) goto fail
;
4346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4349 if (!wxPyCheckForApp()) SWIG_fail
;
4350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4351 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
4353 wxPyEndAllowThreads(__tstate
);
4354 if (PyErr_Occurred()) SWIG_fail
;
4357 resultobj
= wxPyMake_wxObject(result
, 0);
4365 static PyObject
*_wrap_GetKeyState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4366 PyObject
*resultobj
;
4369 PyObject
* obj0
= 0 ;
4371 (char *) "key", NULL
4374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetKeyState",kwnames
,&obj0
)) goto fail
;
4375 arg1
= (wxKeyCode
) SWIG_AsInt(obj0
);
4376 if (PyErr_Occurred()) SWIG_fail
;
4378 if (!wxPyCheckForApp()) SWIG_fail
;
4379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4380 result
= (bool)wxGetKeyState((wxKeyCode
)arg1
);
4382 wxPyEndAllowThreads(__tstate
);
4383 if (PyErr_Occurred()) SWIG_fail
;
4386 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4394 static PyObject
*_wrap_WakeUpMainThread(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4395 PyObject
*resultobj
;
4400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpMainThread",kwnames
)) goto fail
;
4402 if (!wxPyCheckForApp()) SWIG_fail
;
4403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4404 wxWakeUpMainThread();
4406 wxPyEndAllowThreads(__tstate
);
4407 if (PyErr_Occurred()) SWIG_fail
;
4409 Py_INCREF(Py_None
); resultobj
= Py_None
;
4416 static PyObject
*_wrap_MutexGuiEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4417 PyObject
*resultobj
;
4422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiEnter",kwnames
)) goto fail
;
4424 if (!wxPyCheckForApp()) SWIG_fail
;
4425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4428 wxPyEndAllowThreads(__tstate
);
4429 if (PyErr_Occurred()) SWIG_fail
;
4431 Py_INCREF(Py_None
); resultobj
= Py_None
;
4438 static PyObject
*_wrap_MutexGuiLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4439 PyObject
*resultobj
;
4444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiLeave",kwnames
)) goto fail
;
4446 if (!wxPyCheckForApp()) SWIG_fail
;
4447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4450 wxPyEndAllowThreads(__tstate
);
4451 if (PyErr_Occurred()) SWIG_fail
;
4453 Py_INCREF(Py_None
); resultobj
= Py_None
;
4460 static PyObject
*_wrap_new_MutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4461 PyObject
*resultobj
;
4462 wxMutexGuiLocker
*result
;
4467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MutexGuiLocker",kwnames
)) goto fail
;
4469 if (!wxPyCheckForApp()) SWIG_fail
;
4470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4471 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
4473 wxPyEndAllowThreads(__tstate
);
4474 if (PyErr_Occurred()) SWIG_fail
;
4476 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMutexGuiLocker
, 1);
4483 static PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4484 PyObject
*resultobj
;
4485 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
4486 PyObject
* obj0
= 0 ;
4488 (char *) "self", NULL
4491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MutexGuiLocker",kwnames
,&obj0
)) goto fail
;
4492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMutexGuiLocker
,
4493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4498 wxPyEndAllowThreads(__tstate
);
4499 if (PyErr_Occurred()) SWIG_fail
;
4501 Py_INCREF(Py_None
); resultobj
= Py_None
;
4508 static PyObject
* MutexGuiLocker_swigregister(PyObject
*self
, PyObject
*args
) {
4510 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4511 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker
, obj
);
4513 return Py_BuildValue((char *)"");
4515 static PyObject
*_wrap_Thread_IsMain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4516 PyObject
*resultobj
;
4522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Thread_IsMain",kwnames
)) goto fail
;
4524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4525 result
= (bool)wxThread_IsMain();
4527 wxPyEndAllowThreads(__tstate
);
4528 if (PyErr_Occurred()) SWIG_fail
;
4531 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4539 static PyObject
*_wrap_new_ToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4540 PyObject
*resultobj
;
4541 wxString
*arg1
= 0 ;
4543 bool temp1
= False
;
4544 PyObject
* obj0
= 0 ;
4546 (char *) "tip", NULL
4549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) goto fail
;
4551 arg1
= wxString_in_helper(obj0
);
4552 if (arg1
== NULL
) SWIG_fail
;
4556 if (!wxPyCheckForApp()) SWIG_fail
;
4557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4558 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
4560 wxPyEndAllowThreads(__tstate
);
4561 if (PyErr_Occurred()) SWIG_fail
;
4564 resultobj
= wxPyMake_wxObject(result
, 1);
4580 static PyObject
*_wrap_ToolTip_SetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4581 PyObject
*resultobj
;
4582 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4583 wxString
*arg2
= 0 ;
4584 bool temp2
= False
;
4585 PyObject
* obj0
= 0 ;
4586 PyObject
* obj1
= 0 ;
4588 (char *) "self",(char *) "tip", NULL
4591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) goto fail
;
4592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4595 arg2
= wxString_in_helper(obj1
);
4596 if (arg2
== NULL
) SWIG_fail
;
4600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4601 (arg1
)->SetTip((wxString
const &)*arg2
);
4603 wxPyEndAllowThreads(__tstate
);
4604 if (PyErr_Occurred()) SWIG_fail
;
4606 Py_INCREF(Py_None
); resultobj
= Py_None
;
4621 static PyObject
*_wrap_ToolTip_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4622 PyObject
*resultobj
;
4623 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4625 PyObject
* obj0
= 0 ;
4627 (char *) "self", NULL
4630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetTip",kwnames
,&obj0
)) goto fail
;
4631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4635 result
= (arg1
)->GetTip();
4637 wxPyEndAllowThreads(__tstate
);
4638 if (PyErr_Occurred()) SWIG_fail
;
4642 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4644 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4653 static PyObject
*_wrap_ToolTip_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4654 PyObject
*resultobj
;
4655 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4657 PyObject
* obj0
= 0 ;
4659 (char *) "self", NULL
4662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetWindow",kwnames
,&obj0
)) goto fail
;
4663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4667 result
= (wxWindow
*)(arg1
)->GetWindow();
4669 wxPyEndAllowThreads(__tstate
);
4670 if (PyErr_Occurred()) SWIG_fail
;
4673 resultobj
= wxPyMake_wxObject(result
, 0);
4681 static PyObject
*_wrap_ToolTip_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4682 PyObject
*resultobj
;
4684 PyObject
* obj0
= 0 ;
4686 (char *) "flag", NULL
4689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) goto fail
;
4690 arg1
= (bool) SWIG_AsBool(obj0
);
4691 if (PyErr_Occurred()) SWIG_fail
;
4693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4694 wxToolTip::Enable(arg1
);
4696 wxPyEndAllowThreads(__tstate
);
4697 if (PyErr_Occurred()) SWIG_fail
;
4699 Py_INCREF(Py_None
); resultobj
= Py_None
;
4706 static PyObject
*_wrap_ToolTip_SetDelay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4707 PyObject
*resultobj
;
4709 PyObject
* obj0
= 0 ;
4711 (char *) "milliseconds", NULL
4714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_SetDelay",kwnames
,&obj0
)) goto fail
;
4715 arg1
= (long) SWIG_AsLong(obj0
);
4716 if (PyErr_Occurred()) SWIG_fail
;
4718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4719 wxToolTip::SetDelay(arg1
);
4721 wxPyEndAllowThreads(__tstate
);
4722 if (PyErr_Occurred()) SWIG_fail
;
4724 Py_INCREF(Py_None
); resultobj
= Py_None
;
4731 static PyObject
* ToolTip_swigregister(PyObject
*self
, PyObject
*args
) {
4733 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4734 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip
, obj
);
4736 return Py_BuildValue((char *)"");
4738 static PyObject
*_wrap_new_Caret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4739 PyObject
*resultobj
;
4740 wxWindow
*arg1
= (wxWindow
*) 0 ;
4744 PyObject
* obj0
= 0 ;
4745 PyObject
* obj1
= 0 ;
4747 (char *) "window",(char *) "size", NULL
4750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) goto fail
;
4751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4755 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4758 if (!wxPyCheckForApp()) SWIG_fail
;
4759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4760 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
4762 wxPyEndAllowThreads(__tstate
);
4763 if (PyErr_Occurred()) SWIG_fail
;
4765 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 1);
4772 static PyObject
*_wrap_delete_Caret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4773 PyObject
*resultobj
;
4774 wxCaret
*arg1
= (wxCaret
*) 0 ;
4775 PyObject
* obj0
= 0 ;
4777 (char *) "self", NULL
4780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Caret",kwnames
,&obj0
)) goto fail
;
4781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4787 wxPyEndAllowThreads(__tstate
);
4788 if (PyErr_Occurred()) SWIG_fail
;
4790 Py_INCREF(Py_None
); resultobj
= Py_None
;
4797 static PyObject
*_wrap_Caret_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4798 PyObject
*resultobj
;
4799 wxCaret
*arg1
= (wxCaret
*) 0 ;
4801 PyObject
* obj0
= 0 ;
4803 (char *) "self", NULL
4806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsOk",kwnames
,&obj0
)) goto fail
;
4807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4811 result
= (bool)(arg1
)->IsOk();
4813 wxPyEndAllowThreads(__tstate
);
4814 if (PyErr_Occurred()) SWIG_fail
;
4817 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4825 static PyObject
*_wrap_Caret_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4826 PyObject
*resultobj
;
4827 wxCaret
*arg1
= (wxCaret
*) 0 ;
4829 PyObject
* obj0
= 0 ;
4831 (char *) "self", NULL
4834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsVisible",kwnames
,&obj0
)) goto fail
;
4835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4839 result
= (bool)(arg1
)->IsVisible();
4841 wxPyEndAllowThreads(__tstate
);
4842 if (PyErr_Occurred()) SWIG_fail
;
4845 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4853 static PyObject
*_wrap_Caret_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4854 PyObject
*resultobj
;
4855 wxCaret
*arg1
= (wxCaret
*) 0 ;
4857 PyObject
* obj0
= 0 ;
4859 (char *) "self", NULL
4862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPosition",kwnames
,&obj0
)) goto fail
;
4863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4867 result
= (arg1
)->GetPosition();
4869 wxPyEndAllowThreads(__tstate
);
4870 if (PyErr_Occurred()) SWIG_fail
;
4873 wxPoint
* resultptr
;
4874 resultptr
= new wxPoint((wxPoint
&) result
);
4875 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4883 static PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4884 PyObject
*resultobj
;
4885 wxCaret
*arg1
= (wxCaret
*) 0 ;
4886 int *arg2
= (int *) 0 ;
4887 int *arg3
= (int *) 0 ;
4890 PyObject
* obj0
= 0 ;
4892 (char *) "self", NULL
4897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
4898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4902 (arg1
)->GetPosition(arg2
,arg3
);
4904 wxPyEndAllowThreads(__tstate
);
4905 if (PyErr_Occurred()) SWIG_fail
;
4907 Py_INCREF(Py_None
); resultobj
= Py_None
;
4909 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4910 resultobj
= t_output_helper(resultobj
,o
);
4913 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4914 resultobj
= t_output_helper(resultobj
,o
);
4922 static PyObject
*_wrap_Caret_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4923 PyObject
*resultobj
;
4924 wxCaret
*arg1
= (wxCaret
*) 0 ;
4926 PyObject
* obj0
= 0 ;
4928 (char *) "self", NULL
4931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSize",kwnames
,&obj0
)) goto fail
;
4932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4936 result
= (arg1
)->GetSize();
4938 wxPyEndAllowThreads(__tstate
);
4939 if (PyErr_Occurred()) SWIG_fail
;
4943 resultptr
= new wxSize((wxSize
&) result
);
4944 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
4952 static PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4953 PyObject
*resultobj
;
4954 wxCaret
*arg1
= (wxCaret
*) 0 ;
4955 int *arg2
= (int *) 0 ;
4956 int *arg3
= (int *) 0 ;
4959 PyObject
* obj0
= 0 ;
4961 (char *) "self", NULL
4966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
4967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4971 (arg1
)->GetSize(arg2
,arg3
);
4973 wxPyEndAllowThreads(__tstate
);
4974 if (PyErr_Occurred()) SWIG_fail
;
4976 Py_INCREF(Py_None
); resultobj
= Py_None
;
4978 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4979 resultobj
= t_output_helper(resultobj
,o
);
4982 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4983 resultobj
= t_output_helper(resultobj
,o
);
4991 static PyObject
*_wrap_Caret_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4992 PyObject
*resultobj
;
4993 wxCaret
*arg1
= (wxCaret
*) 0 ;
4995 PyObject
* obj0
= 0 ;
4997 (char *) "self", NULL
5000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetWindow",kwnames
,&obj0
)) goto fail
;
5001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5005 result
= (wxWindow
*)(arg1
)->GetWindow();
5007 wxPyEndAllowThreads(__tstate
);
5008 if (PyErr_Occurred()) SWIG_fail
;
5011 resultobj
= wxPyMake_wxObject(result
, 0);
5019 static PyObject
*_wrap_Caret_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5020 PyObject
*resultobj
;
5021 wxCaret
*arg1
= (wxCaret
*) 0 ;
5024 PyObject
* obj0
= 0 ;
5025 PyObject
* obj1
= 0 ;
5026 PyObject
* obj2
= 0 ;
5028 (char *) "self",(char *) "x",(char *) "y", NULL
5031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5034 arg2
= (int) SWIG_AsInt(obj1
);
5035 if (PyErr_Occurred()) SWIG_fail
;
5036 arg3
= (int) SWIG_AsInt(obj2
);
5037 if (PyErr_Occurred()) SWIG_fail
;
5039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5040 (arg1
)->Move(arg2
,arg3
);
5042 wxPyEndAllowThreads(__tstate
);
5043 if (PyErr_Occurred()) SWIG_fail
;
5045 Py_INCREF(Py_None
); resultobj
= Py_None
;
5052 static PyObject
*_wrap_Caret_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5053 PyObject
*resultobj
;
5054 wxCaret
*arg1
= (wxCaret
*) 0 ;
5057 PyObject
* obj0
= 0 ;
5058 PyObject
* obj1
= 0 ;
5060 (char *) "self",(char *) "pt", NULL
5063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
5064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5068 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5072 (arg1
)->Move((wxPoint
const &)*arg2
);
5074 wxPyEndAllowThreads(__tstate
);
5075 if (PyErr_Occurred()) SWIG_fail
;
5077 Py_INCREF(Py_None
); resultobj
= Py_None
;
5084 static PyObject
*_wrap_Caret_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5085 PyObject
*resultobj
;
5086 wxCaret
*arg1
= (wxCaret
*) 0 ;
5089 PyObject
* obj0
= 0 ;
5090 PyObject
* obj1
= 0 ;
5091 PyObject
* obj2
= 0 ;
5093 (char *) "self",(char *) "width",(char *) "height", NULL
5096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5099 arg2
= (int) SWIG_AsInt(obj1
);
5100 if (PyErr_Occurred()) SWIG_fail
;
5101 arg3
= (int) SWIG_AsInt(obj2
);
5102 if (PyErr_Occurred()) SWIG_fail
;
5104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5105 (arg1
)->SetSize(arg2
,arg3
);
5107 wxPyEndAllowThreads(__tstate
);
5108 if (PyErr_Occurred()) SWIG_fail
;
5110 Py_INCREF(Py_None
); resultobj
= Py_None
;
5117 static PyObject
*_wrap_Caret_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5118 PyObject
*resultobj
;
5119 wxCaret
*arg1
= (wxCaret
*) 0 ;
5122 PyObject
* obj0
= 0 ;
5123 PyObject
* obj1
= 0 ;
5125 (char *) "self",(char *) "size", NULL
5128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5133 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
5136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5137 (arg1
)->SetSize((wxSize
const &)*arg2
);
5139 wxPyEndAllowThreads(__tstate
);
5140 if (PyErr_Occurred()) SWIG_fail
;
5142 Py_INCREF(Py_None
); resultobj
= Py_None
;
5149 static PyObject
*_wrap_Caret_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5150 PyObject
*resultobj
;
5151 wxCaret
*arg1
= (wxCaret
*) 0 ;
5152 int arg2
= (int) True
;
5153 PyObject
* obj0
= 0 ;
5154 PyObject
* obj1
= 0 ;
5156 (char *) "self",(char *) "show", NULL
5159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Caret_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
5160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5163 arg2
= (int) SWIG_AsInt(obj1
);
5164 if (PyErr_Occurred()) SWIG_fail
;
5167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5170 wxPyEndAllowThreads(__tstate
);
5171 if (PyErr_Occurred()) SWIG_fail
;
5173 Py_INCREF(Py_None
); resultobj
= Py_None
;
5180 static PyObject
*_wrap_Caret_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5181 PyObject
*resultobj
;
5182 wxCaret
*arg1
= (wxCaret
*) 0 ;
5183 PyObject
* obj0
= 0 ;
5185 (char *) "self", NULL
5188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Hide",kwnames
,&obj0
)) goto fail
;
5189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5195 wxPyEndAllowThreads(__tstate
);
5196 if (PyErr_Occurred()) SWIG_fail
;
5198 Py_INCREF(Py_None
); resultobj
= Py_None
;
5205 static PyObject
* Caret_swigregister(PyObject
*self
, PyObject
*args
) {
5207 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5208 SWIG_TypeClientData(SWIGTYPE_p_wxCaret
, obj
);
5210 return Py_BuildValue((char *)"");
5212 static PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5213 PyObject
*resultobj
;
5219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Caret_GetBlinkTime",kwnames
)) goto fail
;
5221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5222 result
= (int)wxCaret_GetBlinkTime();
5224 wxPyEndAllowThreads(__tstate
);
5225 if (PyErr_Occurred()) SWIG_fail
;
5227 resultobj
= SWIG_FromInt((int)result
);
5234 static PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5235 PyObject
*resultobj
;
5237 PyObject
* obj0
= 0 ;
5239 (char *) "milliseconds", NULL
5242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_SetBlinkTime",kwnames
,&obj0
)) goto fail
;
5243 arg1
= (int) SWIG_AsInt(obj0
);
5244 if (PyErr_Occurred()) SWIG_fail
;
5246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5247 wxCaret_SetBlinkTime(arg1
);
5249 wxPyEndAllowThreads(__tstate
);
5250 if (PyErr_Occurred()) SWIG_fail
;
5252 Py_INCREF(Py_None
); resultobj
= Py_None
;
5259 static PyObject
*_wrap_new_BusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5260 PyObject
*resultobj
;
5261 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
5262 wxBusyCursor
*result
;
5263 PyObject
* obj0
= 0 ;
5265 (char *) "cursor", NULL
5268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) goto fail
;
5270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5274 if (!wxPyCheckForApp()) SWIG_fail
;
5275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5276 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
5278 wxPyEndAllowThreads(__tstate
);
5279 if (PyErr_Occurred()) SWIG_fail
;
5281 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyCursor
, 1);
5288 static PyObject
*_wrap_delete_BusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5289 PyObject
*resultobj
;
5290 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
5291 PyObject
* obj0
= 0 ;
5293 (char *) "self", NULL
5296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyCursor",kwnames
,&obj0
)) goto fail
;
5297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBusyCursor
,
5298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5303 wxPyEndAllowThreads(__tstate
);
5304 if (PyErr_Occurred()) SWIG_fail
;
5306 Py_INCREF(Py_None
); resultobj
= Py_None
;
5313 static PyObject
* BusyCursor_swigregister(PyObject
*self
, PyObject
*args
) {
5315 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5316 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor
, obj
);
5318 return Py_BuildValue((char *)"");
5320 static PyObject
*_wrap_new_WindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5321 PyObject
*resultobj
;
5322 wxWindow
*arg1
= (wxWindow
*) NULL
;
5323 wxWindowDisabler
*result
;
5324 PyObject
* obj0
= 0 ;
5326 (char *) "winToSkip", NULL
5329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) goto fail
;
5331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5335 if (!wxPyCheckForApp()) SWIG_fail
;
5336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5337 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
5339 wxPyEndAllowThreads(__tstate
);
5340 if (PyErr_Occurred()) SWIG_fail
;
5342 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDisabler
, 1);
5349 static PyObject
*_wrap_delete_WindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5350 PyObject
*resultobj
;
5351 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
5352 PyObject
* obj0
= 0 ;
5354 (char *) "self", NULL
5357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_WindowDisabler",kwnames
,&obj0
)) goto fail
;
5358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowDisabler
,
5359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5364 wxPyEndAllowThreads(__tstate
);
5365 if (PyErr_Occurred()) SWIG_fail
;
5367 Py_INCREF(Py_None
); resultobj
= Py_None
;
5374 static PyObject
* WindowDisabler_swigregister(PyObject
*self
, PyObject
*args
) {
5376 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5377 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler
, obj
);
5379 return Py_BuildValue((char *)"");
5381 static PyObject
*_wrap_new_BusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5382 PyObject
*resultobj
;
5383 wxString
*arg1
= 0 ;
5385 bool temp1
= False
;
5386 PyObject
* obj0
= 0 ;
5388 (char *) "message", NULL
5391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) goto fail
;
5393 arg1
= wxString_in_helper(obj0
);
5394 if (arg1
== NULL
) SWIG_fail
;
5398 if (!wxPyCheckForApp()) SWIG_fail
;
5399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5400 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
);
5402 wxPyEndAllowThreads(__tstate
);
5403 if (PyErr_Occurred()) SWIG_fail
;
5405 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyInfo
, 1);
5420 static PyObject
*_wrap_delete_BusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5421 PyObject
*resultobj
;
5422 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
5423 PyObject
* obj0
= 0 ;
5425 (char *) "self", NULL
5428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyInfo",kwnames
,&obj0
)) goto fail
;
5429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBusyInfo
,
5430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5435 wxPyEndAllowThreads(__tstate
);
5436 if (PyErr_Occurred()) SWIG_fail
;
5438 Py_INCREF(Py_None
); resultobj
= Py_None
;
5445 static PyObject
* BusyInfo_swigregister(PyObject
*self
, PyObject
*args
) {
5447 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5448 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo
, obj
);
5450 return Py_BuildValue((char *)"");
5452 static PyObject
*_wrap_new_StopWatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5453 PyObject
*resultobj
;
5454 wxStopWatch
*result
;
5459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StopWatch",kwnames
)) goto fail
;
5461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5462 result
= (wxStopWatch
*)new wxStopWatch();
5464 wxPyEndAllowThreads(__tstate
);
5465 if (PyErr_Occurred()) SWIG_fail
;
5467 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStopWatch
, 1);
5474 static PyObject
*_wrap_StopWatch_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5475 PyObject
*resultobj
;
5476 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5477 long arg2
= (long) 0 ;
5478 PyObject
* obj0
= 0 ;
5479 PyObject
* obj1
= 0 ;
5481 (char *) "self",(char *) "t0", NULL
5484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StopWatch_Start",kwnames
,&obj0
,&obj1
)) goto fail
;
5485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5488 arg2
= (long) SWIG_AsLong(obj1
);
5489 if (PyErr_Occurred()) SWIG_fail
;
5492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5493 (arg1
)->Start(arg2
);
5495 wxPyEndAllowThreads(__tstate
);
5496 if (PyErr_Occurred()) SWIG_fail
;
5498 Py_INCREF(Py_None
); resultobj
= Py_None
;
5505 static PyObject
*_wrap_StopWatch_Pause(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5506 PyObject
*resultobj
;
5507 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5508 PyObject
* obj0
= 0 ;
5510 (char *) "self", NULL
5513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Pause",kwnames
,&obj0
)) goto fail
;
5514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5520 wxPyEndAllowThreads(__tstate
);
5521 if (PyErr_Occurred()) SWIG_fail
;
5523 Py_INCREF(Py_None
); resultobj
= Py_None
;
5530 static PyObject
*_wrap_StopWatch_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5531 PyObject
*resultobj
;
5532 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5533 PyObject
* obj0
= 0 ;
5535 (char *) "self", NULL
5538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Resume",kwnames
,&obj0
)) goto fail
;
5539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5545 wxPyEndAllowThreads(__tstate
);
5546 if (PyErr_Occurred()) SWIG_fail
;
5548 Py_INCREF(Py_None
); resultobj
= Py_None
;
5555 static PyObject
*_wrap_StopWatch_Time(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5556 PyObject
*resultobj
;
5557 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5559 PyObject
* obj0
= 0 ;
5561 (char *) "self", NULL
5564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Time",kwnames
,&obj0
)) goto fail
;
5565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5569 result
= (long)((wxStopWatch
const *)arg1
)->Time();
5571 wxPyEndAllowThreads(__tstate
);
5572 if (PyErr_Occurred()) SWIG_fail
;
5574 resultobj
= SWIG_FromLong((long)result
);
5581 static PyObject
* StopWatch_swigregister(PyObject
*self
, PyObject
*args
) {
5583 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5584 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch
, obj
);
5586 return Py_BuildValue((char *)"");
5588 static PyObject
*_wrap_new_FileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5589 PyObject
*resultobj
;
5590 int arg1
= (int) 9 ;
5591 wxFileHistory
*result
;
5592 PyObject
* obj0
= 0 ;
5594 (char *) "maxFiles", NULL
5597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FileHistory",kwnames
,&obj0
)) goto fail
;
5599 arg1
= (int) SWIG_AsInt(obj0
);
5600 if (PyErr_Occurred()) SWIG_fail
;
5603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5604 result
= (wxFileHistory
*)new wxFileHistory(arg1
);
5606 wxPyEndAllowThreads(__tstate
);
5607 if (PyErr_Occurred()) SWIG_fail
;
5609 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileHistory
, 1);
5616 static PyObject
*_wrap_delete_FileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5617 PyObject
*resultobj
;
5618 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5619 PyObject
* obj0
= 0 ;
5621 (char *) "self", NULL
5624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileHistory",kwnames
,&obj0
)) goto fail
;
5625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5631 wxPyEndAllowThreads(__tstate
);
5632 if (PyErr_Occurred()) SWIG_fail
;
5634 Py_INCREF(Py_None
); resultobj
= Py_None
;
5641 static PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5642 PyObject
*resultobj
;
5643 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5644 wxString
*arg2
= 0 ;
5645 bool temp2
= False
;
5646 PyObject
* obj0
= 0 ;
5647 PyObject
* obj1
= 0 ;
5649 (char *) "self",(char *) "file", NULL
5652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
5653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5656 arg2
= wxString_in_helper(obj1
);
5657 if (arg2
== NULL
) SWIG_fail
;
5661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5662 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
5664 wxPyEndAllowThreads(__tstate
);
5665 if (PyErr_Occurred()) SWIG_fail
;
5667 Py_INCREF(Py_None
); resultobj
= Py_None
;
5682 static PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5683 PyObject
*resultobj
;
5684 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5686 PyObject
* obj0
= 0 ;
5687 PyObject
* obj1
= 0 ;
5689 (char *) "self",(char *) "i", NULL
5692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
5693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5695 arg2
= (int) SWIG_AsInt(obj1
);
5696 if (PyErr_Occurred()) SWIG_fail
;
5698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5699 (arg1
)->RemoveFileFromHistory(arg2
);
5701 wxPyEndAllowThreads(__tstate
);
5702 if (PyErr_Occurred()) SWIG_fail
;
5704 Py_INCREF(Py_None
); resultobj
= Py_None
;
5711 static PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5712 PyObject
*resultobj
;
5713 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5715 PyObject
* obj0
= 0 ;
5717 (char *) "self", NULL
5720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetMaxFiles",kwnames
,&obj0
)) goto fail
;
5721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5725 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
5727 wxPyEndAllowThreads(__tstate
);
5728 if (PyErr_Occurred()) SWIG_fail
;
5730 resultobj
= SWIG_FromInt((int)result
);
5737 static PyObject
*_wrap_FileHistory_UseMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5738 PyObject
*resultobj
;
5739 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5740 wxMenu
*arg2
= (wxMenu
*) 0 ;
5741 PyObject
* obj0
= 0 ;
5742 PyObject
* obj1
= 0 ;
5744 (char *) "self",(char *) "menu", NULL
5747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5750 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
5751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5754 (arg1
)->UseMenu(arg2
);
5756 wxPyEndAllowThreads(__tstate
);
5757 if (PyErr_Occurred()) SWIG_fail
;
5759 Py_INCREF(Py_None
); resultobj
= Py_None
;
5766 static PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5767 PyObject
*resultobj
;
5768 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5769 wxMenu
*arg2
= (wxMenu
*) 0 ;
5770 PyObject
* obj0
= 0 ;
5771 PyObject
* obj1
= 0 ;
5773 (char *) "self",(char *) "menu", NULL
5776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5779 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
5780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5783 (arg1
)->RemoveMenu(arg2
);
5785 wxPyEndAllowThreads(__tstate
);
5786 if (PyErr_Occurred()) SWIG_fail
;
5788 Py_INCREF(Py_None
); resultobj
= Py_None
;
5795 static PyObject
*_wrap_FileHistory_Load(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5796 PyObject
*resultobj
;
5797 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5798 wxConfigBase
*arg2
= 0 ;
5799 PyObject
* obj0
= 0 ;
5800 PyObject
* obj1
= 0 ;
5802 (char *) "self",(char *) "config", NULL
5805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) goto fail
;
5806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5808 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
5809 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5812 PyErr_SetString(PyExc_TypeError
,"null reference");
5816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5817 (arg1
)->Load(*arg2
);
5819 wxPyEndAllowThreads(__tstate
);
5820 if (PyErr_Occurred()) SWIG_fail
;
5822 Py_INCREF(Py_None
); resultobj
= Py_None
;
5829 static PyObject
*_wrap_FileHistory_Save(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5830 PyObject
*resultobj
;
5831 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5832 wxConfigBase
*arg2
= 0 ;
5833 PyObject
* obj0
= 0 ;
5834 PyObject
* obj1
= 0 ;
5836 (char *) "self",(char *) "config", NULL
5839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) goto fail
;
5840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5842 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
5843 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5846 PyErr_SetString(PyExc_TypeError
,"null reference");
5850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5851 (arg1
)->Save(*arg2
);
5853 wxPyEndAllowThreads(__tstate
);
5854 if (PyErr_Occurred()) SWIG_fail
;
5856 Py_INCREF(Py_None
); resultobj
= Py_None
;
5863 static PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5864 PyObject
*resultobj
;
5865 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5866 PyObject
* obj0
= 0 ;
5868 (char *) "self", NULL
5871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_AddFilesToMenu",kwnames
,&obj0
)) goto fail
;
5872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5876 (arg1
)->AddFilesToMenu();
5878 wxPyEndAllowThreads(__tstate
);
5879 if (PyErr_Occurred()) SWIG_fail
;
5881 Py_INCREF(Py_None
); resultobj
= Py_None
;
5888 static PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5889 PyObject
*resultobj
;
5890 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5891 wxMenu
*arg2
= (wxMenu
*) 0 ;
5892 PyObject
* obj0
= 0 ;
5893 PyObject
* obj1
= 0 ;
5895 (char *) "self",(char *) "menu", NULL
5898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5901 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
5902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5905 (arg1
)->AddFilesToMenu(arg2
);
5907 wxPyEndAllowThreads(__tstate
);
5908 if (PyErr_Occurred()) SWIG_fail
;
5910 Py_INCREF(Py_None
); resultobj
= Py_None
;
5917 static PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5918 PyObject
*resultobj
;
5919 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5922 PyObject
* obj0
= 0 ;
5923 PyObject
* obj1
= 0 ;
5925 (char *) "self",(char *) "i", NULL
5928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_GetHistoryFile",kwnames
,&obj0
,&obj1
)) goto fail
;
5929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5931 arg2
= (int) SWIG_AsInt(obj1
);
5932 if (PyErr_Occurred()) SWIG_fail
;
5934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5935 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
5937 wxPyEndAllowThreads(__tstate
);
5938 if (PyErr_Occurred()) SWIG_fail
;
5942 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5944 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5953 static PyObject
*_wrap_FileHistory_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5954 PyObject
*resultobj
;
5955 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5957 PyObject
* obj0
= 0 ;
5959 (char *) "self", NULL
5962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetCount",kwnames
,&obj0
)) goto fail
;
5963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5967 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
5969 wxPyEndAllowThreads(__tstate
);
5970 if (PyErr_Occurred()) SWIG_fail
;
5972 resultobj
= SWIG_FromInt((int)result
);
5979 static PyObject
* FileHistory_swigregister(PyObject
*self
, PyObject
*args
) {
5981 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5982 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory
, obj
);
5984 return Py_BuildValue((char *)"");
5986 static PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5987 PyObject
*resultobj
;
5988 wxString
*arg1
= 0 ;
5989 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5990 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5991 wxSingleInstanceChecker
*result
;
5992 bool temp1
= False
;
5993 bool temp2
= False
;
5994 PyObject
* obj0
= 0 ;
5995 PyObject
* obj1
= 0 ;
5997 (char *) "name",(char *) "path", NULL
6000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) goto fail
;
6002 arg1
= wxString_in_helper(obj0
);
6003 if (arg1
== NULL
) SWIG_fail
;
6008 arg2
= wxString_in_helper(obj1
);
6009 if (arg2
== NULL
) SWIG_fail
;
6014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6015 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
6017 wxPyEndAllowThreads(__tstate
);
6018 if (PyErr_Occurred()) SWIG_fail
;
6020 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
6043 static PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6044 PyObject
*resultobj
;
6045 wxSingleInstanceChecker
*result
;
6050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSingleInstanceChecker",kwnames
)) goto fail
;
6052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6053 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
6055 wxPyEndAllowThreads(__tstate
);
6056 if (PyErr_Occurred()) SWIG_fail
;
6058 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
6065 static PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6066 PyObject
*resultobj
;
6067 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
6068 PyObject
* obj0
= 0 ;
6070 (char *) "self", NULL
6073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_SingleInstanceChecker",kwnames
,&obj0
)) goto fail
;
6074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
6075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6080 wxPyEndAllowThreads(__tstate
);
6081 if (PyErr_Occurred()) SWIG_fail
;
6083 Py_INCREF(Py_None
); resultobj
= Py_None
;
6090 static PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6091 PyObject
*resultobj
;
6092 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
6093 wxString
*arg2
= 0 ;
6094 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6095 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6097 bool temp2
= False
;
6098 bool temp3
= False
;
6099 PyObject
* obj0
= 0 ;
6100 PyObject
* obj1
= 0 ;
6101 PyObject
* obj2
= 0 ;
6103 (char *) "self",(char *) "name",(char *) "path", NULL
6106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
6108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6110 arg2
= wxString_in_helper(obj1
);
6111 if (arg2
== NULL
) SWIG_fail
;
6116 arg3
= wxString_in_helper(obj2
);
6117 if (arg3
== NULL
) SWIG_fail
;
6122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6123 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
6125 wxPyEndAllowThreads(__tstate
);
6126 if (PyErr_Occurred()) SWIG_fail
;
6129 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6153 static PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6154 PyObject
*resultobj
;
6155 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
6157 PyObject
* obj0
= 0 ;
6159 (char *) "self", NULL
6162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames
,&obj0
)) goto fail
;
6163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
6164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6167 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
6169 wxPyEndAllowThreads(__tstate
);
6170 if (PyErr_Occurred()) SWIG_fail
;
6173 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6181 static PyObject
* SingleInstanceChecker_swigregister(PyObject
*self
, PyObject
*args
) {
6183 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6184 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker
, obj
);
6186 return Py_BuildValue((char *)"");
6188 static PyObject
*_wrap_DrawWindowOnDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6189 PyObject
*resultobj
;
6190 wxWindow
*arg1
= (wxWindow
*) 0 ;
6193 PyObject
* obj0
= 0 ;
6194 PyObject
* obj1
= 0 ;
6195 PyObject
* obj2
= 0 ;
6197 (char *) "window",(char *) "dc",(char *) "method", NULL
6200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DrawWindowOnDC",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6203 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
6204 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6207 PyErr_SetString(PyExc_TypeError
,"null reference");
6210 arg3
= (int) SWIG_AsInt(obj2
);
6211 if (PyErr_Occurred()) SWIG_fail
;
6213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6214 wxDrawWindowOnDC(arg1
,(wxDC
const &)*arg2
,arg3
);
6216 wxPyEndAllowThreads(__tstate
);
6217 if (PyErr_Occurred()) SWIG_fail
;
6219 Py_INCREF(Py_None
); resultobj
= Py_None
;
6226 static PyObject
*_wrap_delete_TipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6227 PyObject
*resultobj
;
6228 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6229 PyObject
* obj0
= 0 ;
6231 (char *) "self", NULL
6234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TipProvider",kwnames
,&obj0
)) goto fail
;
6235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6241 wxPyEndAllowThreads(__tstate
);
6242 if (PyErr_Occurred()) SWIG_fail
;
6244 Py_INCREF(Py_None
); resultobj
= Py_None
;
6251 static PyObject
*_wrap_TipProvider_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6252 PyObject
*resultobj
;
6253 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6255 PyObject
* obj0
= 0 ;
6257 (char *) "self", NULL
6260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetTip",kwnames
,&obj0
)) goto fail
;
6261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6265 result
= (arg1
)->GetTip();
6267 wxPyEndAllowThreads(__tstate
);
6268 if (PyErr_Occurred()) SWIG_fail
;
6272 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6274 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6283 static PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6284 PyObject
*resultobj
;
6285 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6287 PyObject
* obj0
= 0 ;
6289 (char *) "self", NULL
6292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetCurrentTip",kwnames
,&obj0
)) goto fail
;
6293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6297 result
= (size_t)(arg1
)->GetCurrentTip();
6299 wxPyEndAllowThreads(__tstate
);
6300 if (PyErr_Occurred()) SWIG_fail
;
6302 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
6309 static PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6310 PyObject
*resultobj
;
6311 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6312 wxString
*arg2
= 0 ;
6314 bool temp2
= False
;
6315 PyObject
* obj0
= 0 ;
6316 PyObject
* obj1
= 0 ;
6318 (char *) "self",(char *) "tip", NULL
6321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) goto fail
;
6322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6325 arg2
= wxString_in_helper(obj1
);
6326 if (arg2
== NULL
) SWIG_fail
;
6330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6331 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
6333 wxPyEndAllowThreads(__tstate
);
6334 if (PyErr_Occurred()) SWIG_fail
;
6338 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6340 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6357 static PyObject
* TipProvider_swigregister(PyObject
*self
, PyObject
*args
) {
6359 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6360 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider
, obj
);
6362 return Py_BuildValue((char *)"");
6364 static PyObject
*_wrap_new_PyTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6365 PyObject
*resultobj
;
6367 wxPyTipProvider
*result
;
6368 PyObject
* obj0
= 0 ;
6370 (char *) "currentTip", NULL
6373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) goto fail
;
6374 arg1
= (size_t) SWIG_AsUnsignedLong(obj0
);
6375 if (PyErr_Occurred()) SWIG_fail
;
6377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6378 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
6380 wxPyEndAllowThreads(__tstate
);
6381 if (PyErr_Occurred()) SWIG_fail
;
6383 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTipProvider
, 1);
6390 static PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6391 PyObject
*resultobj
;
6392 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
6393 PyObject
*arg2
= (PyObject
*) 0 ;
6394 PyObject
*arg3
= (PyObject
*) 0 ;
6395 PyObject
* obj0
= 0 ;
6396 PyObject
* obj1
= 0 ;
6397 PyObject
* obj2
= 0 ;
6399 (char *) "self",(char *) "self",(char *) "_class", NULL
6402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTipProvider
,
6404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6409 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6411 wxPyEndAllowThreads(__tstate
);
6412 if (PyErr_Occurred()) SWIG_fail
;
6414 Py_INCREF(Py_None
); resultobj
= Py_None
;
6421 static PyObject
* PyTipProvider_swigregister(PyObject
*self
, PyObject
*args
) {
6423 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6424 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider
, obj
);
6426 return Py_BuildValue((char *)"");
6428 static PyObject
*_wrap_ShowTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6429 PyObject
*resultobj
;
6430 wxWindow
*arg1
= (wxWindow
*) 0 ;
6431 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
6432 bool arg3
= (bool) True
;
6434 PyObject
* obj0
= 0 ;
6435 PyObject
* obj1
= 0 ;
6436 PyObject
* obj2
= 0 ;
6438 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
6441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6444 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTipProvider
,
6445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6447 arg3
= (bool) SWIG_AsBool(obj2
);
6448 if (PyErr_Occurred()) SWIG_fail
;
6451 if (!wxPyCheckForApp()) SWIG_fail
;
6452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6453 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
6455 wxPyEndAllowThreads(__tstate
);
6456 if (PyErr_Occurred()) SWIG_fail
;
6459 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6467 static PyObject
*_wrap_CreateFileTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6468 PyObject
*resultobj
;
6469 wxString
*arg1
= 0 ;
6471 wxTipProvider
*result
;
6472 bool temp1
= False
;
6473 PyObject
* obj0
= 0 ;
6474 PyObject
* obj1
= 0 ;
6476 (char *) "filename",(char *) "currentTip", NULL
6479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) goto fail
;
6481 arg1
= wxString_in_helper(obj0
);
6482 if (arg1
== NULL
) SWIG_fail
;
6485 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
6486 if (PyErr_Occurred()) SWIG_fail
;
6488 if (!wxPyCheckForApp()) SWIG_fail
;
6489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6490 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
6492 wxPyEndAllowThreads(__tstate
);
6493 if (PyErr_Occurred()) SWIG_fail
;
6495 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipProvider
, 1);
6510 static PyObject
*_wrap_new_Timer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6511 PyObject
*resultobj
;
6512 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
6513 int arg2
= (int) -1 ;
6515 PyObject
* obj0
= 0 ;
6516 PyObject
* obj1
= 0 ;
6518 (char *) "owner",(char *) "id", NULL
6521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Timer",kwnames
,&obj0
,&obj1
)) goto fail
;
6523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
6524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6527 arg2
= (int) SWIG_AsInt(obj1
);
6528 if (PyErr_Occurred()) SWIG_fail
;
6531 if (!wxPyCheckForApp()) SWIG_fail
;
6532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6533 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
6535 wxPyEndAllowThreads(__tstate
);
6536 if (PyErr_Occurred()) SWIG_fail
;
6538 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTimer
, 1);
6545 static PyObject
*_wrap_delete_Timer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6546 PyObject
*resultobj
;
6547 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6548 PyObject
* obj0
= 0 ;
6550 (char *) "self", NULL
6553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Timer",kwnames
,&obj0
)) goto fail
;
6554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6560 wxPyEndAllowThreads(__tstate
);
6561 if (PyErr_Occurred()) SWIG_fail
;
6563 Py_INCREF(Py_None
); resultobj
= Py_None
;
6570 static PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6571 PyObject
*resultobj
;
6572 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6573 PyObject
*arg2
= (PyObject
*) 0 ;
6574 PyObject
*arg3
= (PyObject
*) 0 ;
6575 int arg4
= (int) 1 ;
6576 PyObject
* obj0
= 0 ;
6577 PyObject
* obj1
= 0 ;
6578 PyObject
* obj2
= 0 ;
6579 PyObject
* obj3
= 0 ;
6581 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
6584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6590 arg4
= (int) SWIG_AsInt(obj3
);
6591 if (PyErr_Occurred()) SWIG_fail
;
6594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6595 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
6597 wxPyEndAllowThreads(__tstate
);
6598 if (PyErr_Occurred()) SWIG_fail
;
6600 Py_INCREF(Py_None
); resultobj
= Py_None
;
6607 static PyObject
*_wrap_Timer_SetOwner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6608 PyObject
*resultobj
;
6609 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6610 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
6611 int arg3
= (int) -1 ;
6612 PyObject
* obj0
= 0 ;
6613 PyObject
* obj1
= 0 ;
6614 PyObject
* obj2
= 0 ;
6616 (char *) "self",(char *) "owner",(char *) "id", NULL
6619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6622 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
6623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6625 arg3
= (int) SWIG_AsInt(obj2
);
6626 if (PyErr_Occurred()) SWIG_fail
;
6629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6630 (arg1
)->SetOwner(arg2
,arg3
);
6632 wxPyEndAllowThreads(__tstate
);
6633 if (PyErr_Occurred()) SWIG_fail
;
6635 Py_INCREF(Py_None
); resultobj
= Py_None
;
6642 static PyObject
*_wrap_Timer_GetOwner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6643 PyObject
*resultobj
;
6644 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6645 wxEvtHandler
*result
;
6646 PyObject
* obj0
= 0 ;
6648 (char *) "self", NULL
6651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetOwner",kwnames
,&obj0
)) goto fail
;
6652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6656 result
= (wxEvtHandler
*)(arg1
)->GetOwner();
6658 wxPyEndAllowThreads(__tstate
);
6659 if (PyErr_Occurred()) SWIG_fail
;
6662 resultobj
= wxPyMake_wxObject(result
, 0);
6670 static PyObject
*_wrap_Timer_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6671 PyObject
*resultobj
;
6672 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6673 int arg2
= (int) -1 ;
6674 bool arg3
= (bool) False
;
6676 PyObject
* obj0
= 0 ;
6677 PyObject
* obj1
= 0 ;
6678 PyObject
* obj2
= 0 ;
6680 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
6683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Timer_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6687 arg2
= (int) SWIG_AsInt(obj1
);
6688 if (PyErr_Occurred()) SWIG_fail
;
6691 arg3
= (bool) SWIG_AsBool(obj2
);
6692 if (PyErr_Occurred()) SWIG_fail
;
6695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6696 result
= (bool)(arg1
)->Start(arg2
,arg3
);
6698 wxPyEndAllowThreads(__tstate
);
6699 if (PyErr_Occurred()) SWIG_fail
;
6702 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6710 static PyObject
*_wrap_Timer_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6711 PyObject
*resultobj
;
6712 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6713 PyObject
* obj0
= 0 ;
6715 (char *) "self", NULL
6718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_Stop",kwnames
,&obj0
)) goto fail
;
6719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6725 wxPyEndAllowThreads(__tstate
);
6726 if (PyErr_Occurred()) SWIG_fail
;
6728 Py_INCREF(Py_None
); resultobj
= Py_None
;
6735 static PyObject
*_wrap_Timer_IsRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6736 PyObject
*resultobj
;
6737 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6739 PyObject
* obj0
= 0 ;
6741 (char *) "self", NULL
6744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsRunning",kwnames
,&obj0
)) goto fail
;
6745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6749 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
6751 wxPyEndAllowThreads(__tstate
);
6752 if (PyErr_Occurred()) SWIG_fail
;
6755 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6763 static PyObject
*_wrap_Timer_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6764 PyObject
*resultobj
;
6765 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6767 PyObject
* obj0
= 0 ;
6769 (char *) "self", NULL
6772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetInterval",kwnames
,&obj0
)) goto fail
;
6773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6777 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
6779 wxPyEndAllowThreads(__tstate
);
6780 if (PyErr_Occurred()) SWIG_fail
;
6782 resultobj
= SWIG_FromInt((int)result
);
6789 static PyObject
*_wrap_Timer_IsOneShot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6790 PyObject
*resultobj
;
6791 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6793 PyObject
* obj0
= 0 ;
6795 (char *) "self", NULL
6798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsOneShot",kwnames
,&obj0
)) goto fail
;
6799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6803 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
6805 wxPyEndAllowThreads(__tstate
);
6806 if (PyErr_Occurred()) SWIG_fail
;
6809 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6817 static PyObject
*_wrap_Timer_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6818 PyObject
*resultobj
;
6819 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6821 PyObject
* obj0
= 0 ;
6823 (char *) "self", NULL
6826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetId",kwnames
,&obj0
)) goto fail
;
6827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6831 result
= (int)((wxPyTimer
const *)arg1
)->GetId();
6833 wxPyEndAllowThreads(__tstate
);
6834 if (PyErr_Occurred()) SWIG_fail
;
6836 resultobj
= SWIG_FromInt((int)result
);
6843 static PyObject
* Timer_swigregister(PyObject
*self
, PyObject
*args
) {
6845 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6846 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer
, obj
);
6848 return Py_BuildValue((char *)"");
6850 static PyObject
*_wrap_new_TimerEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6851 PyObject
*resultobj
;
6852 int arg1
= (int) 0 ;
6853 int arg2
= (int) 0 ;
6854 wxTimerEvent
*result
;
6855 PyObject
* obj0
= 0 ;
6856 PyObject
* obj1
= 0 ;
6858 (char *) "timerid",(char *) "interval", NULL
6861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TimerEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
6863 arg1
= (int) SWIG_AsInt(obj0
);
6864 if (PyErr_Occurred()) SWIG_fail
;
6867 arg2
= (int) SWIG_AsInt(obj1
);
6868 if (PyErr_Occurred()) SWIG_fail
;
6871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6872 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
6874 wxPyEndAllowThreads(__tstate
);
6875 if (PyErr_Occurred()) SWIG_fail
;
6877 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerEvent
, 1);
6884 static PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6885 PyObject
*resultobj
;
6886 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
6888 PyObject
* obj0
= 0 ;
6890 (char *) "self", NULL
6893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimerEvent_GetInterval",kwnames
,&obj0
)) goto fail
;
6894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerEvent
,
6895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6898 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
6900 wxPyEndAllowThreads(__tstate
);
6901 if (PyErr_Occurred()) SWIG_fail
;
6903 resultobj
= SWIG_FromInt((int)result
);
6910 static PyObject
* TimerEvent_swigregister(PyObject
*self
, PyObject
*args
) {
6912 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6913 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent
, obj
);
6915 return Py_BuildValue((char *)"");
6917 static PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*self
, PyObject
*args
) {
6918 PyObject
*resultobj
;
6920 wxTimerRunner
*result
;
6921 PyObject
* obj0
= 0 ;
6923 if(!PyArg_ParseTuple(args
,(char *)"O:new_TimerRunner",&obj0
)) goto fail
;
6924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimer
,
6925 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6928 PyErr_SetString(PyExc_TypeError
,"null reference");
6932 if (!wxPyCheckForApp()) SWIG_fail
;
6933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6934 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
6936 wxPyEndAllowThreads(__tstate
);
6937 if (PyErr_Occurred()) SWIG_fail
;
6939 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
6946 static PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*self
, PyObject
*args
) {
6947 PyObject
*resultobj
;
6950 bool arg3
= (bool) False
;
6951 wxTimerRunner
*result
;
6952 PyObject
* obj0
= 0 ;
6953 PyObject
* obj1
= 0 ;
6954 PyObject
* obj2
= 0 ;
6956 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_TimerRunner",&obj0
,&obj1
,&obj2
)) goto fail
;
6957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimer
,
6958 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6961 PyErr_SetString(PyExc_TypeError
,"null reference");
6964 arg2
= (int) SWIG_AsInt(obj1
);
6965 if (PyErr_Occurred()) SWIG_fail
;
6967 arg3
= (bool) SWIG_AsBool(obj2
);
6968 if (PyErr_Occurred()) SWIG_fail
;
6971 if (!wxPyCheckForApp()) SWIG_fail
;
6972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6973 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
6975 wxPyEndAllowThreads(__tstate
);
6976 if (PyErr_Occurred()) SWIG_fail
;
6978 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
6985 static PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
6990 argc
= PyObject_Length(args
);
6991 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
6992 argv
[ii
] = PyTuple_GetItem(args
,ii
);
6998 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
7006 return _wrap_new_TimerRunner__SWIG_0(self
,args
);
7009 if ((argc
>= 2) && (argc
<= 3)) {
7013 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
7021 _v
= SWIG_CheckInt(argv
[1]);
7024 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
7026 _v
= SWIG_CheckBool(argv
[2]);
7028 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
7034 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TimerRunner'");
7039 static PyObject
*_wrap_delete_TimerRunner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7040 PyObject
*resultobj
;
7041 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
7042 PyObject
* obj0
= 0 ;
7044 (char *) "self", NULL
7047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimerRunner",kwnames
,&obj0
)) goto fail
;
7048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerRunner
,
7049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7054 wxPyEndAllowThreads(__tstate
);
7055 if (PyErr_Occurred()) SWIG_fail
;
7057 Py_INCREF(Py_None
); resultobj
= Py_None
;
7064 static PyObject
*_wrap_TimerRunner_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7065 PyObject
*resultobj
;
7066 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
7068 bool arg3
= (bool) False
;
7069 PyObject
* obj0
= 0 ;
7070 PyObject
* obj1
= 0 ;
7071 PyObject
* obj2
= 0 ;
7073 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
7076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TimerRunner_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerRunner
,
7078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7079 arg2
= (int) SWIG_AsInt(obj1
);
7080 if (PyErr_Occurred()) SWIG_fail
;
7082 arg3
= (bool) SWIG_AsBool(obj2
);
7083 if (PyErr_Occurred()) SWIG_fail
;
7086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7087 (arg1
)->Start(arg2
,arg3
);
7089 wxPyEndAllowThreads(__tstate
);
7090 if (PyErr_Occurred()) SWIG_fail
;
7092 Py_INCREF(Py_None
); resultobj
= Py_None
;
7099 static PyObject
* TimerRunner_swigregister(PyObject
*self
, PyObject
*args
) {
7101 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7102 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner
, obj
);
7104 return Py_BuildValue((char *)"");
7106 static PyObject
*_wrap_new_Log(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7107 PyObject
*resultobj
;
7113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Log",kwnames
)) goto fail
;
7115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7116 result
= (wxLog
*)new wxLog();
7118 wxPyEndAllowThreads(__tstate
);
7119 if (PyErr_Occurred()) SWIG_fail
;
7121 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 1);
7128 static PyObject
*_wrap_Log_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7129 PyObject
*resultobj
;
7135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_IsEnabled",kwnames
)) goto fail
;
7137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7138 result
= (bool)wxLog::IsEnabled();
7140 wxPyEndAllowThreads(__tstate
);
7141 if (PyErr_Occurred()) SWIG_fail
;
7144 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7152 static PyObject
*_wrap_Log_EnableLogging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7153 PyObject
*resultobj
;
7154 bool arg1
= (bool) True
;
7156 PyObject
* obj0
= 0 ;
7158 (char *) "doIt", NULL
7161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) goto fail
;
7163 arg1
= (bool) SWIG_AsBool(obj0
);
7164 if (PyErr_Occurred()) SWIG_fail
;
7167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7168 result
= (bool)wxLog::EnableLogging(arg1
);
7170 wxPyEndAllowThreads(__tstate
);
7171 if (PyErr_Occurred()) SWIG_fail
;
7174 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7182 static PyObject
*_wrap_Log_OnLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7183 PyObject
*resultobj
;
7185 wxChar
*arg2
= (wxChar
*) 0 ;
7187 PyObject
* obj0
= 0 ;
7188 PyObject
* obj1
= 0 ;
7189 PyObject
* obj2
= 0 ;
7191 (char *) "level",(char *) "szString",(char *) "t", NULL
7194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7195 arg1
= (wxLogLevel
) SWIG_AsUnsignedLong(obj0
);
7196 if (PyErr_Occurred()) SWIG_fail
;
7197 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxChar
,
7198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7199 arg3
= (time_t) SWIG_AsUnsignedInt(obj2
);
7200 if (PyErr_Occurred()) SWIG_fail
;
7202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7203 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
7205 wxPyEndAllowThreads(__tstate
);
7206 if (PyErr_Occurred()) SWIG_fail
;
7208 Py_INCREF(Py_None
); resultobj
= Py_None
;
7215 static PyObject
*_wrap_Log_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7216 PyObject
*resultobj
;
7217 wxLog
*arg1
= (wxLog
*) 0 ;
7218 PyObject
* obj0
= 0 ;
7220 (char *) "self", NULL
7223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Flush",kwnames
,&obj0
)) goto fail
;
7224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7230 wxPyEndAllowThreads(__tstate
);
7231 if (PyErr_Occurred()) SWIG_fail
;
7233 Py_INCREF(Py_None
); resultobj
= Py_None
;
7240 static PyObject
*_wrap_Log_FlushActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7241 PyObject
*resultobj
;
7246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_FlushActive",kwnames
)) goto fail
;
7248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7249 wxLog::FlushActive();
7251 wxPyEndAllowThreads(__tstate
);
7252 if (PyErr_Occurred()) SWIG_fail
;
7254 Py_INCREF(Py_None
); resultobj
= Py_None
;
7261 static PyObject
*_wrap_Log_GetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7262 PyObject
*resultobj
;
7268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetActiveTarget",kwnames
)) goto fail
;
7270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7271 result
= (wxLog
*)wxLog::GetActiveTarget();
7273 wxPyEndAllowThreads(__tstate
);
7274 if (PyErr_Occurred()) SWIG_fail
;
7276 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7283 static PyObject
*_wrap_Log_SetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7284 PyObject
*resultobj
;
7285 wxLog
*arg1
= (wxLog
*) 0 ;
7287 PyObject
* obj0
= 0 ;
7289 (char *) "pLogger", NULL
7292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) goto fail
;
7293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7297 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
7299 wxPyEndAllowThreads(__tstate
);
7300 if (PyErr_Occurred()) SWIG_fail
;
7302 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7309 static PyObject
*_wrap_Log_Suspend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7310 PyObject
*resultobj
;
7315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Suspend",kwnames
)) goto fail
;
7317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7320 wxPyEndAllowThreads(__tstate
);
7321 if (PyErr_Occurred()) SWIG_fail
;
7323 Py_INCREF(Py_None
); resultobj
= Py_None
;
7330 static PyObject
*_wrap_Log_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7331 PyObject
*resultobj
;
7336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Resume",kwnames
)) goto fail
;
7338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7341 wxPyEndAllowThreads(__tstate
);
7342 if (PyErr_Occurred()) SWIG_fail
;
7344 Py_INCREF(Py_None
); resultobj
= Py_None
;
7351 static PyObject
*_wrap_Log_SetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7352 PyObject
*resultobj
;
7353 bool arg1
= (bool) True
;
7354 PyObject
* obj0
= 0 ;
7356 (char *) "bVerbose", NULL
7359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) goto fail
;
7361 arg1
= (bool) SWIG_AsBool(obj0
);
7362 if (PyErr_Occurred()) SWIG_fail
;
7365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7366 wxLog::SetVerbose(arg1
);
7368 wxPyEndAllowThreads(__tstate
);
7369 if (PyErr_Occurred()) SWIG_fail
;
7371 Py_INCREF(Py_None
); resultobj
= Py_None
;
7378 static PyObject
*_wrap_Log_SetLogLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7379 PyObject
*resultobj
;
7381 PyObject
* obj0
= 0 ;
7383 (char *) "logLevel", NULL
7386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) goto fail
;
7387 arg1
= (wxLogLevel
) SWIG_AsUnsignedLong(obj0
);
7388 if (PyErr_Occurred()) SWIG_fail
;
7390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7391 wxLog::SetLogLevel(arg1
);
7393 wxPyEndAllowThreads(__tstate
);
7394 if (PyErr_Occurred()) SWIG_fail
;
7396 Py_INCREF(Py_None
); resultobj
= Py_None
;
7403 static PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7404 PyObject
*resultobj
;
7409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_DontCreateOnDemand",kwnames
)) goto fail
;
7411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7412 wxLog::DontCreateOnDemand();
7414 wxPyEndAllowThreads(__tstate
);
7415 if (PyErr_Occurred()) SWIG_fail
;
7417 Py_INCREF(Py_None
); resultobj
= Py_None
;
7424 static PyObject
*_wrap_Log_SetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7425 PyObject
*resultobj
;
7427 PyObject
* obj0
= 0 ;
7429 (char *) "ulMask", NULL
7432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) goto fail
;
7433 arg1
= (wxTraceMask
) SWIG_AsUnsignedLong(obj0
);
7434 if (PyErr_Occurred()) SWIG_fail
;
7436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7437 wxLog::SetTraceMask(arg1
);
7439 wxPyEndAllowThreads(__tstate
);
7440 if (PyErr_Occurred()) SWIG_fail
;
7442 Py_INCREF(Py_None
); resultobj
= Py_None
;
7449 static PyObject
*_wrap_Log_AddTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7450 PyObject
*resultobj
;
7451 wxString
*arg1
= 0 ;
7452 bool temp1
= False
;
7453 PyObject
* obj0
= 0 ;
7455 (char *) "str", NULL
7458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) goto fail
;
7460 arg1
= wxString_in_helper(obj0
);
7461 if (arg1
== NULL
) SWIG_fail
;
7465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7466 wxLog::AddTraceMask((wxString
const &)*arg1
);
7468 wxPyEndAllowThreads(__tstate
);
7469 if (PyErr_Occurred()) SWIG_fail
;
7471 Py_INCREF(Py_None
); resultobj
= Py_None
;
7486 static PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7487 PyObject
*resultobj
;
7488 wxString
*arg1
= 0 ;
7489 bool temp1
= False
;
7490 PyObject
* obj0
= 0 ;
7492 (char *) "str", NULL
7495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) goto fail
;
7497 arg1
= wxString_in_helper(obj0
);
7498 if (arg1
== NULL
) SWIG_fail
;
7502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7503 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
7505 wxPyEndAllowThreads(__tstate
);
7506 if (PyErr_Occurred()) SWIG_fail
;
7508 Py_INCREF(Py_None
); resultobj
= Py_None
;
7523 static PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7524 PyObject
*resultobj
;
7529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_ClearTraceMasks",kwnames
)) goto fail
;
7531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7532 wxLog::ClearTraceMasks();
7534 wxPyEndAllowThreads(__tstate
);
7535 if (PyErr_Occurred()) SWIG_fail
;
7537 Py_INCREF(Py_None
); resultobj
= Py_None
;
7544 static PyObject
*_wrap_Log_GetTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7545 PyObject
*resultobj
;
7546 wxArrayString
*result
;
7551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMasks",kwnames
)) goto fail
;
7553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7555 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
7556 result
= (wxArrayString
*) &_result_ref
;
7559 wxPyEndAllowThreads(__tstate
);
7560 if (PyErr_Occurred()) SWIG_fail
;
7563 resultobj
= wxArrayString2PyList_helper(*result
);
7571 static PyObject
*_wrap_Log_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7572 PyObject
*resultobj
;
7573 wxChar
*arg1
= (wxChar
*) 0 ;
7574 PyObject
* obj0
= 0 ;
7579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) goto fail
;
7580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChar
,
7581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7584 wxLog::SetTimestamp((wxChar
const *)arg1
);
7586 wxPyEndAllowThreads(__tstate
);
7587 if (PyErr_Occurred()) SWIG_fail
;
7589 Py_INCREF(Py_None
); resultobj
= Py_None
;
7596 static PyObject
*_wrap_Log_GetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7597 PyObject
*resultobj
;
7603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetVerbose",kwnames
)) goto fail
;
7605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7606 result
= (bool)wxLog::GetVerbose();
7608 wxPyEndAllowThreads(__tstate
);
7609 if (PyErr_Occurred()) SWIG_fail
;
7612 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7620 static PyObject
*_wrap_Log_GetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7621 PyObject
*resultobj
;
7627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMask",kwnames
)) goto fail
;
7629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7630 result
= (wxTraceMask
)wxLog::GetTraceMask();
7632 wxPyEndAllowThreads(__tstate
);
7633 if (PyErr_Occurred()) SWIG_fail
;
7635 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
7642 static PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7643 PyObject
*resultobj
;
7644 wxChar
*arg1
= (wxChar
*) 0 ;
7646 PyObject
* obj0
= 0 ;
7648 (char *) "mask", NULL
7651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) goto fail
;
7652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChar
,
7653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7656 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
7658 wxPyEndAllowThreads(__tstate
);
7659 if (PyErr_Occurred()) SWIG_fail
;
7662 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7670 static PyObject
*_wrap_Log_GetLogLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7671 PyObject
*resultobj
;
7677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetLogLevel",kwnames
)) goto fail
;
7679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7680 result
= (wxLogLevel
)wxLog::GetLogLevel();
7682 wxPyEndAllowThreads(__tstate
);
7683 if (PyErr_Occurred()) SWIG_fail
;
7685 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
7692 static PyObject
*_wrap_Log_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7693 PyObject
*resultobj
;
7699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTimestamp",kwnames
)) goto fail
;
7701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7702 result
= (wxChar
*)wxLog::GetTimestamp();
7704 wxPyEndAllowThreads(__tstate
);
7705 if (PyErr_Occurred()) SWIG_fail
;
7707 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChar
, 0);
7714 static PyObject
*_wrap_Log_TimeStamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7715 PyObject
*resultobj
;
7721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_TimeStamp",kwnames
)) goto fail
;
7723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7724 result
= Log_TimeStamp();
7726 wxPyEndAllowThreads(__tstate
);
7727 if (PyErr_Occurred()) SWIG_fail
;
7731 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7733 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7742 static PyObject
*_wrap_Log_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7743 PyObject
*resultobj
;
7744 wxLog
*arg1
= (wxLog
*) 0 ;
7745 PyObject
* obj0
= 0 ;
7747 (char *) "self", NULL
7750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Destroy",kwnames
,&obj0
)) goto fail
;
7751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7755 wxLog_Destroy(arg1
);
7757 wxPyEndAllowThreads(__tstate
);
7758 if (PyErr_Occurred()) SWIG_fail
;
7760 Py_INCREF(Py_None
); resultobj
= Py_None
;
7767 static PyObject
* Log_swigregister(PyObject
*self
, PyObject
*args
) {
7769 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7770 SWIG_TypeClientData(SWIGTYPE_p_wxLog
, obj
);
7772 return Py_BuildValue((char *)"");
7774 static PyObject
*_wrap_new_LogStderr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7775 PyObject
*resultobj
;
7776 wxLogStderr
*result
;
7781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogStderr",kwnames
)) goto fail
;
7783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7784 result
= (wxLogStderr
*)new wxLogStderr();
7786 wxPyEndAllowThreads(__tstate
);
7787 if (PyErr_Occurred()) SWIG_fail
;
7789 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogStderr
, 1);
7796 static PyObject
* LogStderr_swigregister(PyObject
*self
, PyObject
*args
) {
7798 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7799 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr
, obj
);
7801 return Py_BuildValue((char *)"");
7803 static PyObject
*_wrap_new_LogTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7804 PyObject
*resultobj
;
7805 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7806 wxLogTextCtrl
*result
;
7807 PyObject
* obj0
= 0 ;
7809 (char *) "pTextCtrl", NULL
7812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) goto fail
;
7813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7817 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
7819 wxPyEndAllowThreads(__tstate
);
7820 if (PyErr_Occurred()) SWIG_fail
;
7822 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogTextCtrl
, 1);
7829 static PyObject
* LogTextCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
7831 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7832 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl
, obj
);
7834 return Py_BuildValue((char *)"");
7836 static PyObject
*_wrap_new_LogGui(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7837 PyObject
*resultobj
;
7843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogGui",kwnames
)) goto fail
;
7845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7846 result
= (wxLogGui
*)new wxLogGui();
7848 wxPyEndAllowThreads(__tstate
);
7849 if (PyErr_Occurred()) SWIG_fail
;
7851 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogGui
, 1);
7858 static PyObject
* LogGui_swigregister(PyObject
*self
, PyObject
*args
) {
7860 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7861 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui
, obj
);
7863 return Py_BuildValue((char *)"");
7865 static PyObject
*_wrap_new_LogWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7866 PyObject
*resultobj
;
7867 wxFrame
*arg1
= (wxFrame
*) 0 ;
7868 wxString
*arg2
= 0 ;
7869 bool arg3
= (bool) True
;
7870 bool arg4
= (bool) True
;
7871 wxLogWindow
*result
;
7872 bool temp2
= False
;
7873 PyObject
* obj0
= 0 ;
7874 PyObject
* obj1
= 0 ;
7875 PyObject
* obj2
= 0 ;
7876 PyObject
* obj3
= 0 ;
7878 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
7881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
7883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7885 arg2
= wxString_in_helper(obj1
);
7886 if (arg2
== NULL
) SWIG_fail
;
7890 arg3
= (bool) SWIG_AsBool(obj2
);
7891 if (PyErr_Occurred()) SWIG_fail
;
7894 arg4
= (bool) SWIG_AsBool(obj3
);
7895 if (PyErr_Occurred()) SWIG_fail
;
7898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7899 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
7901 wxPyEndAllowThreads(__tstate
);
7902 if (PyErr_Occurred()) SWIG_fail
;
7904 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogWindow
, 1);
7919 static PyObject
*_wrap_LogWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7920 PyObject
*resultobj
;
7921 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7922 bool arg2
= (bool) True
;
7923 PyObject
* obj0
= 0 ;
7924 PyObject
* obj1
= 0 ;
7926 (char *) "self",(char *) "bShow", NULL
7929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
7930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7933 arg2
= (bool) SWIG_AsBool(obj1
);
7934 if (PyErr_Occurred()) SWIG_fail
;
7937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7940 wxPyEndAllowThreads(__tstate
);
7941 if (PyErr_Occurred()) SWIG_fail
;
7943 Py_INCREF(Py_None
); resultobj
= Py_None
;
7950 static PyObject
*_wrap_LogWindow_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7951 PyObject
*resultobj
;
7952 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7954 PyObject
* obj0
= 0 ;
7956 (char *) "self", NULL
7959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetFrame",kwnames
,&obj0
)) goto fail
;
7960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7964 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
7966 wxPyEndAllowThreads(__tstate
);
7967 if (PyErr_Occurred()) SWIG_fail
;
7970 resultobj
= wxPyMake_wxObject(result
, 0);
7978 static PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7979 PyObject
*resultobj
;
7980 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7982 PyObject
* obj0
= 0 ;
7984 (char *) "self", NULL
7987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetOldLog",kwnames
,&obj0
)) goto fail
;
7988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7992 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
7994 wxPyEndAllowThreads(__tstate
);
7995 if (PyErr_Occurred()) SWIG_fail
;
7997 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
8004 static PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8005 PyObject
*resultobj
;
8006 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
8008 PyObject
* obj0
= 0 ;
8010 (char *) "self", NULL
8013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
8014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
8015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8018 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
8020 wxPyEndAllowThreads(__tstate
);
8021 if (PyErr_Occurred()) SWIG_fail
;
8024 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8032 static PyObject
*_wrap_LogWindow_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8033 PyObject
*resultobj
;
8034 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
8036 PyObject
* obj0
= 0 ;
8037 PyObject
* obj1
= 0 ;
8039 (char *) "self",(char *) "bDoPass", NULL
8042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
8043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
8044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8045 arg2
= (bool) SWIG_AsBool(obj1
);
8046 if (PyErr_Occurred()) SWIG_fail
;
8048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8049 (arg1
)->PassMessages(arg2
);
8051 wxPyEndAllowThreads(__tstate
);
8052 if (PyErr_Occurred()) SWIG_fail
;
8054 Py_INCREF(Py_None
); resultobj
= Py_None
;
8061 static PyObject
* LogWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8063 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8064 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow
, obj
);
8066 return Py_BuildValue((char *)"");
8068 static PyObject
*_wrap_new_LogChain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8069 PyObject
*resultobj
;
8070 wxLog
*arg1
= (wxLog
*) 0 ;
8072 PyObject
* obj0
= 0 ;
8074 (char *) "logger", NULL
8077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) goto fail
;
8078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
8079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8082 result
= (wxLogChain
*)new wxLogChain(arg1
);
8084 wxPyEndAllowThreads(__tstate
);
8085 if (PyErr_Occurred()) SWIG_fail
;
8087 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogChain
, 1);
8094 static PyObject
*_wrap_LogChain_SetLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8095 PyObject
*resultobj
;
8096 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8097 wxLog
*arg2
= (wxLog
*) 0 ;
8098 PyObject
* obj0
= 0 ;
8099 PyObject
* obj1
= 0 ;
8101 (char *) "self",(char *) "logger", NULL
8104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) goto fail
;
8105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8107 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLog
,
8108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8111 (arg1
)->SetLog(arg2
);
8113 wxPyEndAllowThreads(__tstate
);
8114 if (PyErr_Occurred()) SWIG_fail
;
8116 Py_INCREF(Py_None
); resultobj
= Py_None
;
8123 static PyObject
*_wrap_LogChain_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8124 PyObject
*resultobj
;
8125 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8127 PyObject
* obj0
= 0 ;
8128 PyObject
* obj1
= 0 ;
8130 (char *) "self",(char *) "bDoPass", NULL
8133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
8134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8136 arg2
= (bool) SWIG_AsBool(obj1
);
8137 if (PyErr_Occurred()) SWIG_fail
;
8139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8140 (arg1
)->PassMessages(arg2
);
8142 wxPyEndAllowThreads(__tstate
);
8143 if (PyErr_Occurred()) SWIG_fail
;
8145 Py_INCREF(Py_None
); resultobj
= Py_None
;
8152 static PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8153 PyObject
*resultobj
;
8154 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8156 PyObject
* obj0
= 0 ;
8158 (char *) "self", NULL
8161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
8162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8166 result
= (bool)(arg1
)->IsPassingMessages();
8168 wxPyEndAllowThreads(__tstate
);
8169 if (PyErr_Occurred()) SWIG_fail
;
8172 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8180 static PyObject
*_wrap_LogChain_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8181 PyObject
*resultobj
;
8182 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8184 PyObject
* obj0
= 0 ;
8186 (char *) "self", NULL
8189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_GetOldLog",kwnames
,&obj0
)) goto fail
;
8190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8194 result
= (wxLog
*)(arg1
)->GetOldLog();
8196 wxPyEndAllowThreads(__tstate
);
8197 if (PyErr_Occurred()) SWIG_fail
;
8199 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
8206 static PyObject
* LogChain_swigregister(PyObject
*self
, PyObject
*args
) {
8208 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8209 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain
, obj
);
8211 return Py_BuildValue((char *)"");
8213 static PyObject
*_wrap_SysErrorCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8214 PyObject
*resultobj
;
8215 unsigned long result
;
8220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SysErrorCode",kwnames
)) goto fail
;
8222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8223 result
= (unsigned long)wxSysErrorCode();
8225 wxPyEndAllowThreads(__tstate
);
8226 if (PyErr_Occurred()) SWIG_fail
;
8228 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
8235 static PyObject
*_wrap_SysErrorMsg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8236 PyObject
*resultobj
;
8237 unsigned long arg1
= (unsigned long) 0 ;
8239 PyObject
* obj0
= 0 ;
8241 (char *) "nErrCode", NULL
8244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) goto fail
;
8246 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
8247 if (PyErr_Occurred()) SWIG_fail
;
8250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8251 result
= wxSysErrorMsg(arg1
);
8253 wxPyEndAllowThreads(__tstate
);
8254 if (PyErr_Occurred()) SWIG_fail
;
8258 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8260 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8269 static PyObject
*_wrap_LogFatalError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8270 PyObject
*resultobj
;
8271 wxString
*arg1
= 0 ;
8272 bool temp1
= False
;
8273 PyObject
* obj0
= 0 ;
8275 (char *) "msg", NULL
8278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) goto fail
;
8280 arg1
= wxString_in_helper(obj0
);
8281 if (arg1
== NULL
) SWIG_fail
;
8285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8286 wxLogFatalError((wxString
const &)*arg1
);
8288 wxPyEndAllowThreads(__tstate
);
8289 if (PyErr_Occurred()) SWIG_fail
;
8291 Py_INCREF(Py_None
); resultobj
= Py_None
;
8306 static PyObject
*_wrap_LogError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8307 PyObject
*resultobj
;
8308 wxString
*arg1
= 0 ;
8309 bool temp1
= False
;
8310 PyObject
* obj0
= 0 ;
8312 (char *) "msg", NULL
8315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) goto fail
;
8317 arg1
= wxString_in_helper(obj0
);
8318 if (arg1
== NULL
) SWIG_fail
;
8322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8323 wxLogError((wxString
const &)*arg1
);
8325 wxPyEndAllowThreads(__tstate
);
8326 if (PyErr_Occurred()) SWIG_fail
;
8328 Py_INCREF(Py_None
); resultobj
= Py_None
;
8343 static PyObject
*_wrap_LogWarning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8344 PyObject
*resultobj
;
8345 wxString
*arg1
= 0 ;
8346 bool temp1
= False
;
8347 PyObject
* obj0
= 0 ;
8349 (char *) "msg", NULL
8352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) goto fail
;
8354 arg1
= wxString_in_helper(obj0
);
8355 if (arg1
== NULL
) SWIG_fail
;
8359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8360 wxLogWarning((wxString
const &)*arg1
);
8362 wxPyEndAllowThreads(__tstate
);
8363 if (PyErr_Occurred()) SWIG_fail
;
8365 Py_INCREF(Py_None
); resultobj
= Py_None
;
8380 static PyObject
*_wrap_LogMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8381 PyObject
*resultobj
;
8382 wxString
*arg1
= 0 ;
8383 bool temp1
= False
;
8384 PyObject
* obj0
= 0 ;
8386 (char *) "msg", NULL
8389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) goto fail
;
8391 arg1
= wxString_in_helper(obj0
);
8392 if (arg1
== NULL
) SWIG_fail
;
8396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8397 wxLogMessage((wxString
const &)*arg1
);
8399 wxPyEndAllowThreads(__tstate
);
8400 if (PyErr_Occurred()) SWIG_fail
;
8402 Py_INCREF(Py_None
); resultobj
= Py_None
;
8417 static PyObject
*_wrap_LogInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8418 PyObject
*resultobj
;
8419 wxString
*arg1
= 0 ;
8420 bool temp1
= False
;
8421 PyObject
* obj0
= 0 ;
8423 (char *) "msg", NULL
8426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) goto fail
;
8428 arg1
= wxString_in_helper(obj0
);
8429 if (arg1
== NULL
) SWIG_fail
;
8433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8434 wxLogInfo((wxString
const &)*arg1
);
8436 wxPyEndAllowThreads(__tstate
);
8437 if (PyErr_Occurred()) SWIG_fail
;
8439 Py_INCREF(Py_None
); resultobj
= Py_None
;
8454 static PyObject
*_wrap_LogDebug(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8455 PyObject
*resultobj
;
8456 wxString
*arg1
= 0 ;
8457 bool temp1
= False
;
8458 PyObject
* obj0
= 0 ;
8460 (char *) "msg", NULL
8463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) goto fail
;
8465 arg1
= wxString_in_helper(obj0
);
8466 if (arg1
== NULL
) SWIG_fail
;
8470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8471 wxLogDebug((wxString
const &)*arg1
);
8473 wxPyEndAllowThreads(__tstate
);
8474 if (PyErr_Occurred()) SWIG_fail
;
8476 Py_INCREF(Py_None
); resultobj
= Py_None
;
8491 static PyObject
*_wrap_LogVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8492 PyObject
*resultobj
;
8493 wxString
*arg1
= 0 ;
8494 bool temp1
= False
;
8495 PyObject
* obj0
= 0 ;
8497 (char *) "msg", NULL
8500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) goto fail
;
8502 arg1
= wxString_in_helper(obj0
);
8503 if (arg1
== NULL
) SWIG_fail
;
8507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8508 wxLogVerbose((wxString
const &)*arg1
);
8510 wxPyEndAllowThreads(__tstate
);
8511 if (PyErr_Occurred()) SWIG_fail
;
8513 Py_INCREF(Py_None
); resultobj
= Py_None
;
8528 static PyObject
*_wrap_LogStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8529 PyObject
*resultobj
;
8530 wxString
*arg1
= 0 ;
8531 bool temp1
= False
;
8532 PyObject
* obj0
= 0 ;
8534 (char *) "msg", NULL
8537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) goto fail
;
8539 arg1
= wxString_in_helper(obj0
);
8540 if (arg1
== NULL
) SWIG_fail
;
8544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8545 wxLogStatus((wxString
const &)*arg1
);
8547 wxPyEndAllowThreads(__tstate
);
8548 if (PyErr_Occurred()) SWIG_fail
;
8550 Py_INCREF(Py_None
); resultobj
= Py_None
;
8565 static PyObject
*_wrap_LogStatusFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8566 PyObject
*resultobj
;
8567 wxFrame
*arg1
= (wxFrame
*) 0 ;
8568 wxString
*arg2
= 0 ;
8569 bool temp2
= False
;
8570 PyObject
* obj0
= 0 ;
8571 PyObject
* obj1
= 0 ;
8573 (char *) "pFrame",(char *) "msg", NULL
8576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
8577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
8578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8580 arg2
= wxString_in_helper(obj1
);
8581 if (arg2
== NULL
) SWIG_fail
;
8585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8586 wxLogStatus(arg1
,(wxString
const &)*arg2
);
8588 wxPyEndAllowThreads(__tstate
);
8589 if (PyErr_Occurred()) SWIG_fail
;
8591 Py_INCREF(Py_None
); resultobj
= Py_None
;
8606 static PyObject
*_wrap_LogSysError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8607 PyObject
*resultobj
;
8608 wxString
*arg1
= 0 ;
8609 bool temp1
= False
;
8610 PyObject
* obj0
= 0 ;
8612 (char *) "msg", NULL
8615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) goto fail
;
8617 arg1
= wxString_in_helper(obj0
);
8618 if (arg1
== NULL
) SWIG_fail
;
8622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8623 wxLogSysError((wxString
const &)*arg1
);
8625 wxPyEndAllowThreads(__tstate
);
8626 if (PyErr_Occurred()) SWIG_fail
;
8628 Py_INCREF(Py_None
); resultobj
= Py_None
;
8643 static PyObject
*_wrap_LogTrace__SWIG_0(PyObject
*self
, PyObject
*args
) {
8644 PyObject
*resultobj
;
8645 unsigned long arg1
;
8646 wxString
*arg2
= 0 ;
8647 bool temp2
= False
;
8648 PyObject
* obj0
= 0 ;
8649 PyObject
* obj1
= 0 ;
8651 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
8652 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
8653 if (PyErr_Occurred()) SWIG_fail
;
8655 arg2
= wxString_in_helper(obj1
);
8656 if (arg2
== NULL
) SWIG_fail
;
8660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8661 wxLogTrace(arg1
,(wxString
const &)*arg2
);
8663 wxPyEndAllowThreads(__tstate
);
8664 if (PyErr_Occurred()) SWIG_fail
;
8666 Py_INCREF(Py_None
); resultobj
= Py_None
;
8681 static PyObject
*_wrap_LogTrace__SWIG_1(PyObject
*self
, PyObject
*args
) {
8682 PyObject
*resultobj
;
8683 wxString
*arg1
= 0 ;
8684 wxString
*arg2
= 0 ;
8685 bool temp1
= False
;
8686 bool temp2
= False
;
8687 PyObject
* obj0
= 0 ;
8688 PyObject
* obj1
= 0 ;
8690 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
8692 arg1
= wxString_in_helper(obj0
);
8693 if (arg1
== NULL
) SWIG_fail
;
8697 arg2
= wxString_in_helper(obj1
);
8698 if (arg2
== NULL
) SWIG_fail
;
8702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8703 wxLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
8705 wxPyEndAllowThreads(__tstate
);
8706 if (PyErr_Occurred()) SWIG_fail
;
8708 Py_INCREF(Py_None
); resultobj
= Py_None
;
8731 static PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
) {
8736 argc
= PyObject_Length(args
);
8737 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
8738 argv
[ii
] = PyTuple_GetItem(args
,ii
);
8743 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
8747 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
8750 return _wrap_LogTrace__SWIG_1(self
,args
);
8756 _v
= SWIG_CheckUnsignedLong(argv
[0]);
8759 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
8762 return _wrap_LogTrace__SWIG_0(self
,args
);
8767 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'LogTrace'");
8772 static PyObject
*_wrap_LogGeneric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8773 PyObject
*resultobj
;
8774 unsigned long arg1
;
8775 wxString
*arg2
= 0 ;
8776 bool temp2
= False
;
8777 PyObject
* obj0
= 0 ;
8778 PyObject
* obj1
= 0 ;
8780 (char *) "level",(char *) "msg", NULL
8783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) goto fail
;
8784 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
8785 if (PyErr_Occurred()) SWIG_fail
;
8787 arg2
= wxString_in_helper(obj1
);
8788 if (arg2
== NULL
) SWIG_fail
;
8792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8793 wxLogGeneric(arg1
,(wxString
const &)*arg2
);
8795 wxPyEndAllowThreads(__tstate
);
8796 if (PyErr_Occurred()) SWIG_fail
;
8798 Py_INCREF(Py_None
); resultobj
= Py_None
;
8813 static PyObject
*_wrap_SafeShowMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8814 PyObject
*resultobj
;
8815 wxString
*arg1
= 0 ;
8816 wxString
*arg2
= 0 ;
8817 bool temp1
= False
;
8818 bool temp2
= False
;
8819 PyObject
* obj0
= 0 ;
8820 PyObject
* obj1
= 0 ;
8822 (char *) "title",(char *) "text", NULL
8825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
8827 arg1
= wxString_in_helper(obj0
);
8828 if (arg1
== NULL
) SWIG_fail
;
8832 arg2
= wxString_in_helper(obj1
);
8833 if (arg2
== NULL
) SWIG_fail
;
8837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8838 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
8840 wxPyEndAllowThreads(__tstate
);
8841 if (PyErr_Occurred()) SWIG_fail
;
8843 Py_INCREF(Py_None
); resultobj
= Py_None
;
8866 static PyObject
*_wrap_new_LogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8867 PyObject
*resultobj
;
8873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogNull",kwnames
)) goto fail
;
8875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8876 result
= (wxLogNull
*)new wxLogNull();
8878 wxPyEndAllowThreads(__tstate
);
8879 if (PyErr_Occurred()) SWIG_fail
;
8881 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogNull
, 1);
8888 static PyObject
*_wrap_delete_LogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8889 PyObject
*resultobj
;
8890 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
8891 PyObject
* obj0
= 0 ;
8893 (char *) "self", NULL
8896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LogNull",kwnames
,&obj0
)) goto fail
;
8897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogNull
,
8898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8903 wxPyEndAllowThreads(__tstate
);
8904 if (PyErr_Occurred()) SWIG_fail
;
8906 Py_INCREF(Py_None
); resultobj
= Py_None
;
8913 static PyObject
* LogNull_swigregister(PyObject
*self
, PyObject
*args
) {
8915 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8916 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull
, obj
);
8918 return Py_BuildValue((char *)"");
8920 static PyObject
*_wrap_new_PyLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8921 PyObject
*resultobj
;
8927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyLog",kwnames
)) goto fail
;
8929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8930 result
= (wxPyLog
*)new wxPyLog();
8932 wxPyEndAllowThreads(__tstate
);
8933 if (PyErr_Occurred()) SWIG_fail
;
8935 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyLog
, 1);
8942 static PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8943 PyObject
*resultobj
;
8944 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
8945 PyObject
*arg2
= (PyObject
*) 0 ;
8946 PyObject
*arg3
= (PyObject
*) 0 ;
8947 PyObject
* obj0
= 0 ;
8948 PyObject
* obj1
= 0 ;
8949 PyObject
* obj2
= 0 ;
8951 (char *) "self",(char *) "self",(char *) "_class", NULL
8954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLog
,
8956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8961 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8963 wxPyEndAllowThreads(__tstate
);
8964 if (PyErr_Occurred()) SWIG_fail
;
8966 Py_INCREF(Py_None
); resultobj
= Py_None
;
8973 static PyObject
* PyLog_swigregister(PyObject
*self
, PyObject
*args
) {
8975 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8976 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog
, obj
);
8978 return Py_BuildValue((char *)"");
8980 static PyObject
*_wrap_Process_Kill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8981 PyObject
*resultobj
;
8983 int arg2
= (int) wxSIGTERM
;
8985 PyObject
* obj0
= 0 ;
8986 PyObject
* obj1
= 0 ;
8988 (char *) "pid",(char *) "sig", NULL
8991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Kill",kwnames
,&obj0
,&obj1
)) goto fail
;
8992 arg1
= (int) SWIG_AsInt(obj0
);
8993 if (PyErr_Occurred()) SWIG_fail
;
8995 arg2
= (wxSignal
) SWIG_AsInt(obj1
);
8996 if (PyErr_Occurred()) SWIG_fail
;
8999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9000 result
= (int)wxPyProcess::Kill(arg1
,(wxSignal
)arg2
);
9002 wxPyEndAllowThreads(__tstate
);
9003 if (PyErr_Occurred()) SWIG_fail
;
9005 resultobj
= SWIG_FromInt((int)result
);
9012 static PyObject
*_wrap_Process_Exists(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9013 PyObject
*resultobj
;
9016 PyObject
* obj0
= 0 ;
9018 (char *) "pid", NULL
9021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Exists",kwnames
,&obj0
)) goto fail
;
9022 arg1
= (int) SWIG_AsInt(obj0
);
9023 if (PyErr_Occurred()) SWIG_fail
;
9025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9026 result
= (bool)wxPyProcess::Exists(arg1
);
9028 wxPyEndAllowThreads(__tstate
);
9029 if (PyErr_Occurred()) SWIG_fail
;
9032 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9040 static PyObject
*_wrap_Process_Open(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9041 PyObject
*resultobj
;
9042 wxString
*arg1
= 0 ;
9043 int arg2
= (int) wxEXEC_ASYNC
;
9044 wxPyProcess
*result
;
9045 bool temp1
= False
;
9046 PyObject
* obj0
= 0 ;
9047 PyObject
* obj1
= 0 ;
9049 (char *) "cmd",(char *) "flags", NULL
9052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Open",kwnames
,&obj0
,&obj1
)) goto fail
;
9054 arg1
= wxString_in_helper(obj0
);
9055 if (arg1
== NULL
) SWIG_fail
;
9059 arg2
= (int) SWIG_AsInt(obj1
);
9060 if (PyErr_Occurred()) SWIG_fail
;
9063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9064 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
9066 wxPyEndAllowThreads(__tstate
);
9067 if (PyErr_Occurred()) SWIG_fail
;
9069 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 0);
9084 static PyObject
*_wrap_new_Process(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9085 PyObject
*resultobj
;
9086 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
9087 int arg2
= (int) -1 ;
9088 wxPyProcess
*result
;
9089 PyObject
* obj0
= 0 ;
9090 PyObject
* obj1
= 0 ;
9092 (char *) "parent",(char *) "id", NULL
9095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Process",kwnames
,&obj0
,&obj1
)) goto fail
;
9097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
9098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9101 arg2
= (int) SWIG_AsInt(obj1
);
9102 if (PyErr_Occurred()) SWIG_fail
;
9105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9106 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
9108 wxPyEndAllowThreads(__tstate
);
9109 if (PyErr_Occurred()) SWIG_fail
;
9111 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 1);
9118 static PyObject
*_wrap_Process__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9119 PyObject
*resultobj
;
9120 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9121 PyObject
*arg2
= (PyObject
*) 0 ;
9122 PyObject
*arg3
= (PyObject
*) 0 ;
9123 PyObject
* obj0
= 0 ;
9124 PyObject
* obj1
= 0 ;
9125 PyObject
* obj2
= 0 ;
9127 (char *) "self",(char *) "self",(char *) "_class", NULL
9130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9137 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9139 wxPyEndAllowThreads(__tstate
);
9140 if (PyErr_Occurred()) SWIG_fail
;
9142 Py_INCREF(Py_None
); resultobj
= Py_None
;
9149 static PyObject
*_wrap_Process_base_OnTerminate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9150 PyObject
*resultobj
;
9151 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9154 PyObject
* obj0
= 0 ;
9155 PyObject
* obj1
= 0 ;
9156 PyObject
* obj2
= 0 ;
9158 (char *) "self",(char *) "pid",(char *) "status", NULL
9161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process_base_OnTerminate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9164 arg2
= (int) SWIG_AsInt(obj1
);
9165 if (PyErr_Occurred()) SWIG_fail
;
9166 arg3
= (int) SWIG_AsInt(obj2
);
9167 if (PyErr_Occurred()) SWIG_fail
;
9169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9170 (arg1
)->base_OnTerminate(arg2
,arg3
);
9172 wxPyEndAllowThreads(__tstate
);
9173 if (PyErr_Occurred()) SWIG_fail
;
9175 Py_INCREF(Py_None
); resultobj
= Py_None
;
9182 static PyObject
*_wrap_Process_Redirect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9183 PyObject
*resultobj
;
9184 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9185 PyObject
* obj0
= 0 ;
9187 (char *) "self", NULL
9190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Redirect",kwnames
,&obj0
)) goto fail
;
9191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9197 wxPyEndAllowThreads(__tstate
);
9198 if (PyErr_Occurred()) SWIG_fail
;
9200 Py_INCREF(Py_None
); resultobj
= Py_None
;
9207 static PyObject
*_wrap_Process_IsRedirected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9208 PyObject
*resultobj
;
9209 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9211 PyObject
* obj0
= 0 ;
9213 (char *) "self", NULL
9216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsRedirected",kwnames
,&obj0
)) goto fail
;
9217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9221 result
= (bool)(arg1
)->IsRedirected();
9223 wxPyEndAllowThreads(__tstate
);
9224 if (PyErr_Occurred()) SWIG_fail
;
9227 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9235 static PyObject
*_wrap_Process_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9236 PyObject
*resultobj
;
9237 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9238 PyObject
* obj0
= 0 ;
9240 (char *) "self", NULL
9243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Detach",kwnames
,&obj0
)) goto fail
;
9244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9250 wxPyEndAllowThreads(__tstate
);
9251 if (PyErr_Occurred()) SWIG_fail
;
9253 Py_INCREF(Py_None
); resultobj
= Py_None
;
9260 static PyObject
*_wrap_Process_GetInputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9261 PyObject
*resultobj
;
9262 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9263 wxInputStream
*result
;
9264 PyObject
* obj0
= 0 ;
9266 (char *) "self", NULL
9269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetInputStream",kwnames
,&obj0
)) goto fail
;
9270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9274 result
= (wxInputStream
*)(arg1
)->GetInputStream();
9276 wxPyEndAllowThreads(__tstate
);
9277 if (PyErr_Occurred()) SWIG_fail
;
9280 wxPyInputStream
* _ptr
= NULL
;
9283 _ptr
= new wxPyInputStream(result
);
9285 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
9293 static PyObject
*_wrap_Process_GetErrorStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9294 PyObject
*resultobj
;
9295 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9296 wxInputStream
*result
;
9297 PyObject
* obj0
= 0 ;
9299 (char *) "self", NULL
9302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetErrorStream",kwnames
,&obj0
)) goto fail
;
9303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9307 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
9309 wxPyEndAllowThreads(__tstate
);
9310 if (PyErr_Occurred()) SWIG_fail
;
9313 wxPyInputStream
* _ptr
= NULL
;
9316 _ptr
= new wxPyInputStream(result
);
9318 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
9326 static PyObject
*_wrap_Process_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9327 PyObject
*resultobj
;
9328 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9329 wxOutputStream
*result
;
9330 PyObject
* obj0
= 0 ;
9332 (char *) "self", NULL
9335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetOutputStream",kwnames
,&obj0
)) goto fail
;
9336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9340 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
9342 wxPyEndAllowThreads(__tstate
);
9343 if (PyErr_Occurred()) SWIG_fail
;
9345 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
9352 static PyObject
*_wrap_Process_CloseOutput(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9353 PyObject
*resultobj
;
9354 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9355 PyObject
* obj0
= 0 ;
9357 (char *) "self", NULL
9360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_CloseOutput",kwnames
,&obj0
)) goto fail
;
9361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9365 (arg1
)->CloseOutput();
9367 wxPyEndAllowThreads(__tstate
);
9368 if (PyErr_Occurred()) SWIG_fail
;
9370 Py_INCREF(Py_None
); resultobj
= Py_None
;
9377 static PyObject
*_wrap_Process_IsInputOpened(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9378 PyObject
*resultobj
;
9379 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9381 PyObject
* obj0
= 0 ;
9383 (char *) "self", NULL
9386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputOpened",kwnames
,&obj0
)) goto fail
;
9387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9391 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
9393 wxPyEndAllowThreads(__tstate
);
9394 if (PyErr_Occurred()) SWIG_fail
;
9397 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9405 static PyObject
*_wrap_Process_IsInputAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9406 PyObject
*resultobj
;
9407 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9409 PyObject
* obj0
= 0 ;
9411 (char *) "self", NULL
9414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputAvailable",kwnames
,&obj0
)) goto fail
;
9415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9419 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
9421 wxPyEndAllowThreads(__tstate
);
9422 if (PyErr_Occurred()) SWIG_fail
;
9425 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9433 static PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9434 PyObject
*resultobj
;
9435 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9437 PyObject
* obj0
= 0 ;
9439 (char *) "self", NULL
9442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsErrorAvailable",kwnames
,&obj0
)) goto fail
;
9443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9447 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
9449 wxPyEndAllowThreads(__tstate
);
9450 if (PyErr_Occurred()) SWIG_fail
;
9453 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9461 static PyObject
* Process_swigregister(PyObject
*self
, PyObject
*args
) {
9463 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9464 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess
, obj
);
9466 return Py_BuildValue((char *)"");
9468 static PyObject
*_wrap_new_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9469 PyObject
*resultobj
;
9470 int arg1
= (int) 0 ;
9471 int arg2
= (int) 0 ;
9472 int arg3
= (int) 0 ;
9473 wxProcessEvent
*result
;
9474 PyObject
* obj0
= 0 ;
9475 PyObject
* obj1
= 0 ;
9476 PyObject
* obj2
= 0 ;
9478 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
9481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ProcessEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9483 arg1
= (int) SWIG_AsInt(obj0
);
9484 if (PyErr_Occurred()) SWIG_fail
;
9487 arg2
= (int) SWIG_AsInt(obj1
);
9488 if (PyErr_Occurred()) SWIG_fail
;
9491 arg3
= (int) SWIG_AsInt(obj2
);
9492 if (PyErr_Occurred()) SWIG_fail
;
9495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9496 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
9498 wxPyEndAllowThreads(__tstate
);
9499 if (PyErr_Occurred()) SWIG_fail
;
9501 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProcessEvent
, 1);
9508 static PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9509 PyObject
*resultobj
;
9510 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9512 PyObject
* obj0
= 0 ;
9514 (char *) "self", NULL
9517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetPid",kwnames
,&obj0
)) goto fail
;
9518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9522 result
= (int)(arg1
)->GetPid();
9524 wxPyEndAllowThreads(__tstate
);
9525 if (PyErr_Occurred()) SWIG_fail
;
9527 resultobj
= SWIG_FromInt((int)result
);
9534 static PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9535 PyObject
*resultobj
;
9536 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9538 PyObject
* obj0
= 0 ;
9540 (char *) "self", NULL
9543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetExitCode",kwnames
,&obj0
)) goto fail
;
9544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9548 result
= (int)(arg1
)->GetExitCode();
9550 wxPyEndAllowThreads(__tstate
);
9551 if (PyErr_Occurred()) SWIG_fail
;
9553 resultobj
= SWIG_FromInt((int)result
);
9560 static PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9561 PyObject
*resultobj
;
9562 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9564 PyObject
* obj0
= 0 ;
9565 PyObject
* obj1
= 0 ;
9567 (char *) "self",(char *) "m_pid", NULL
9570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_pid_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9573 arg2
= (int) SWIG_AsInt(obj1
);
9574 if (PyErr_Occurred()) SWIG_fail
;
9575 if (arg1
) (arg1
)->m_pid
= arg2
;
9577 Py_INCREF(Py_None
); resultobj
= Py_None
;
9584 static PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9585 PyObject
*resultobj
;
9586 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9588 PyObject
* obj0
= 0 ;
9590 (char *) "self", NULL
9593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_pid_get",kwnames
,&obj0
)) goto fail
;
9594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9596 result
= (int) ((arg1
)->m_pid
);
9598 resultobj
= SWIG_FromInt((int)result
);
9605 static PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9606 PyObject
*resultobj
;
9607 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9609 PyObject
* obj0
= 0 ;
9610 PyObject
* obj1
= 0 ;
9612 (char *) "self",(char *) "m_exitcode", NULL
9615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9618 arg2
= (int) SWIG_AsInt(obj1
);
9619 if (PyErr_Occurred()) SWIG_fail
;
9620 if (arg1
) (arg1
)->m_exitcode
= arg2
;
9622 Py_INCREF(Py_None
); resultobj
= Py_None
;
9629 static PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9630 PyObject
*resultobj
;
9631 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9633 PyObject
* obj0
= 0 ;
9635 (char *) "self", NULL
9638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_exitcode_get",kwnames
,&obj0
)) goto fail
;
9639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9641 result
= (int) ((arg1
)->m_exitcode
);
9643 resultobj
= SWIG_FromInt((int)result
);
9650 static PyObject
* ProcessEvent_swigregister(PyObject
*self
, PyObject
*args
) {
9652 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9653 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent
, obj
);
9655 return Py_BuildValue((char *)"");
9657 static PyObject
*_wrap_Execute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9658 PyObject
*resultobj
;
9659 wxString
*arg1
= 0 ;
9660 int arg2
= (int) wxEXEC_ASYNC
;
9661 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
9663 bool temp1
= False
;
9664 PyObject
* obj0
= 0 ;
9665 PyObject
* obj1
= 0 ;
9666 PyObject
* obj2
= 0 ;
9668 (char *) "command",(char *) "flags",(char *) "process", NULL
9671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Execute",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9673 arg1
= wxString_in_helper(obj0
);
9674 if (arg1
== NULL
) SWIG_fail
;
9678 arg2
= (int) SWIG_AsInt(obj1
);
9679 if (PyErr_Occurred()) SWIG_fail
;
9682 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyProcess
,
9683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9686 if (!wxPyCheckForApp()) SWIG_fail
;
9687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9688 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
9690 wxPyEndAllowThreads(__tstate
);
9691 if (PyErr_Occurred()) SWIG_fail
;
9693 resultobj
= SWIG_FromLong((long)result
);
9708 static PyObject
*_wrap_new_Joystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9709 PyObject
*resultobj
;
9710 int arg1
= (int) wxJOYSTICK1
;
9712 PyObject
* obj0
= 0 ;
9714 (char *) "joystick", NULL
9717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Joystick",kwnames
,&obj0
)) goto fail
;
9719 arg1
= (int) SWIG_AsInt(obj0
);
9720 if (PyErr_Occurred()) SWIG_fail
;
9723 if (!wxPyCheckForApp()) SWIG_fail
;
9724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9725 result
= (wxJoystick
*)new wxJoystick(arg1
);
9727 wxPyEndAllowThreads(__tstate
);
9728 if (PyErr_Occurred()) SWIG_fail
;
9730 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystick
, 1);
9737 static PyObject
*_wrap_delete_Joystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9738 PyObject
*resultobj
;
9739 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9740 PyObject
* obj0
= 0 ;
9742 (char *) "self", NULL
9745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Joystick",kwnames
,&obj0
)) goto fail
;
9746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9752 wxPyEndAllowThreads(__tstate
);
9753 if (PyErr_Occurred()) SWIG_fail
;
9755 Py_INCREF(Py_None
); resultobj
= Py_None
;
9762 static PyObject
*_wrap_Joystick_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9763 PyObject
*resultobj
;
9764 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9766 PyObject
* obj0
= 0 ;
9768 (char *) "self", NULL
9771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPosition",kwnames
,&obj0
)) goto fail
;
9772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9776 result
= (arg1
)->GetPosition();
9778 wxPyEndAllowThreads(__tstate
);
9779 if (PyErr_Occurred()) SWIG_fail
;
9782 wxPoint
* resultptr
;
9783 resultptr
= new wxPoint((wxPoint
&) result
);
9784 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
9792 static PyObject
*_wrap_Joystick_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9793 PyObject
*resultobj
;
9794 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9796 PyObject
* obj0
= 0 ;
9798 (char *) "self", NULL
9801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZPosition",kwnames
,&obj0
)) goto fail
;
9802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9806 result
= (int)(arg1
)->GetZPosition();
9808 wxPyEndAllowThreads(__tstate
);
9809 if (PyErr_Occurred()) SWIG_fail
;
9811 resultobj
= SWIG_FromInt((int)result
);
9818 static PyObject
*_wrap_Joystick_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9819 PyObject
*resultobj
;
9820 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9822 PyObject
* obj0
= 0 ;
9824 (char *) "self", NULL
9827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetButtonState",kwnames
,&obj0
)) goto fail
;
9828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9832 result
= (int)(arg1
)->GetButtonState();
9834 wxPyEndAllowThreads(__tstate
);
9835 if (PyErr_Occurred()) SWIG_fail
;
9837 resultobj
= SWIG_FromInt((int)result
);
9844 static PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9845 PyObject
*resultobj
;
9846 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9848 PyObject
* obj0
= 0 ;
9850 (char *) "self", NULL
9853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVPosition",kwnames
,&obj0
)) goto fail
;
9854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9858 result
= (int)(arg1
)->GetPOVPosition();
9860 wxPyEndAllowThreads(__tstate
);
9861 if (PyErr_Occurred()) SWIG_fail
;
9863 resultobj
= SWIG_FromInt((int)result
);
9870 static PyObject
*_wrap_Joystick_GetPOVCTSPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9871 PyObject
*resultobj
;
9872 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9874 PyObject
* obj0
= 0 ;
9876 (char *) "self", NULL
9879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVCTSPosition",kwnames
,&obj0
)) goto fail
;
9880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9884 result
= (int)(arg1
)->GetPOVCTSPosition();
9886 wxPyEndAllowThreads(__tstate
);
9887 if (PyErr_Occurred()) SWIG_fail
;
9889 resultobj
= SWIG_FromInt((int)result
);
9896 static PyObject
*_wrap_Joystick_GetRudderPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9897 PyObject
*resultobj
;
9898 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9900 PyObject
* obj0
= 0 ;
9902 (char *) "self", NULL
9905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderPosition",kwnames
,&obj0
)) goto fail
;
9906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9910 result
= (int)(arg1
)->GetRudderPosition();
9912 wxPyEndAllowThreads(__tstate
);
9913 if (PyErr_Occurred()) SWIG_fail
;
9915 resultobj
= SWIG_FromInt((int)result
);
9922 static PyObject
*_wrap_Joystick_GetUPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9923 PyObject
*resultobj
;
9924 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9926 PyObject
* obj0
= 0 ;
9928 (char *) "self", NULL
9931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUPosition",kwnames
,&obj0
)) goto fail
;
9932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9936 result
= (int)(arg1
)->GetUPosition();
9938 wxPyEndAllowThreads(__tstate
);
9939 if (PyErr_Occurred()) SWIG_fail
;
9941 resultobj
= SWIG_FromInt((int)result
);
9948 static PyObject
*_wrap_Joystick_GetVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9949 PyObject
*resultobj
;
9950 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9952 PyObject
* obj0
= 0 ;
9954 (char *) "self", NULL
9957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVPosition",kwnames
,&obj0
)) goto fail
;
9958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9962 result
= (int)(arg1
)->GetVPosition();
9964 wxPyEndAllowThreads(__tstate
);
9965 if (PyErr_Occurred()) SWIG_fail
;
9967 resultobj
= SWIG_FromInt((int)result
);
9974 static PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9975 PyObject
*resultobj
;
9976 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9978 PyObject
* obj0
= 0 ;
9980 (char *) "self", NULL
9983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMovementThreshold",kwnames
,&obj0
)) goto fail
;
9984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9988 result
= (int)(arg1
)->GetMovementThreshold();
9990 wxPyEndAllowThreads(__tstate
);
9991 if (PyErr_Occurred()) SWIG_fail
;
9993 resultobj
= SWIG_FromInt((int)result
);
10000 static PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10001 PyObject
*resultobj
;
10002 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10004 PyObject
* obj0
= 0 ;
10005 PyObject
* obj1
= 0 ;
10006 char *kwnames
[] = {
10007 (char *) "self",(char *) "threshold", NULL
10010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Joystick_SetMovementThreshold",kwnames
,&obj0
,&obj1
)) goto fail
;
10011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10013 arg2
= (int) SWIG_AsInt(obj1
);
10014 if (PyErr_Occurred()) SWIG_fail
;
10016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10017 (arg1
)->SetMovementThreshold(arg2
);
10019 wxPyEndAllowThreads(__tstate
);
10020 if (PyErr_Occurred()) SWIG_fail
;
10022 Py_INCREF(Py_None
); resultobj
= Py_None
;
10029 static PyObject
*_wrap_Joystick_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10030 PyObject
*resultobj
;
10031 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10033 PyObject
* obj0
= 0 ;
10034 char *kwnames
[] = {
10035 (char *) "self", NULL
10038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_IsOk",kwnames
,&obj0
)) goto fail
;
10039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10043 result
= (bool)(arg1
)->IsOk();
10045 wxPyEndAllowThreads(__tstate
);
10046 if (PyErr_Occurred()) SWIG_fail
;
10049 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10057 static PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10058 PyObject
*resultobj
;
10059 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10061 PyObject
* obj0
= 0 ;
10062 char *kwnames
[] = {
10063 (char *) "self", NULL
10066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberJoysticks",kwnames
,&obj0
)) goto fail
;
10067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10071 result
= (int)(arg1
)->GetNumberJoysticks();
10073 wxPyEndAllowThreads(__tstate
);
10074 if (PyErr_Occurred()) SWIG_fail
;
10076 resultobj
= SWIG_FromInt((int)result
);
10083 static PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10084 PyObject
*resultobj
;
10085 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10087 PyObject
* obj0
= 0 ;
10088 char *kwnames
[] = {
10089 (char *) "self", NULL
10092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetManufacturerId",kwnames
,&obj0
)) goto fail
;
10093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10097 result
= (int)(arg1
)->GetManufacturerId();
10099 wxPyEndAllowThreads(__tstate
);
10100 if (PyErr_Occurred()) SWIG_fail
;
10102 resultobj
= SWIG_FromInt((int)result
);
10109 static PyObject
*_wrap_Joystick_GetProductId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10110 PyObject
*resultobj
;
10111 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10113 PyObject
* obj0
= 0 ;
10114 char *kwnames
[] = {
10115 (char *) "self", NULL
10118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductId",kwnames
,&obj0
)) goto fail
;
10119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10123 result
= (int)(arg1
)->GetProductId();
10125 wxPyEndAllowThreads(__tstate
);
10126 if (PyErr_Occurred()) SWIG_fail
;
10128 resultobj
= SWIG_FromInt((int)result
);
10135 static PyObject
*_wrap_Joystick_GetProductName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10136 PyObject
*resultobj
;
10137 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10139 PyObject
* obj0
= 0 ;
10140 char *kwnames
[] = {
10141 (char *) "self", NULL
10144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductName",kwnames
,&obj0
)) goto fail
;
10145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10149 result
= (arg1
)->GetProductName();
10151 wxPyEndAllowThreads(__tstate
);
10152 if (PyErr_Occurred()) SWIG_fail
;
10156 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10158 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10167 static PyObject
*_wrap_Joystick_GetXMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10168 PyObject
*resultobj
;
10169 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10171 PyObject
* obj0
= 0 ;
10172 char *kwnames
[] = {
10173 (char *) "self", NULL
10176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMin",kwnames
,&obj0
)) goto fail
;
10177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10181 result
= (int)(arg1
)->GetXMin();
10183 wxPyEndAllowThreads(__tstate
);
10184 if (PyErr_Occurred()) SWIG_fail
;
10186 resultobj
= SWIG_FromInt((int)result
);
10193 static PyObject
*_wrap_Joystick_GetYMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10194 PyObject
*resultobj
;
10195 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10197 PyObject
* obj0
= 0 ;
10198 char *kwnames
[] = {
10199 (char *) "self", NULL
10202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMin",kwnames
,&obj0
)) goto fail
;
10203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10207 result
= (int)(arg1
)->GetYMin();
10209 wxPyEndAllowThreads(__tstate
);
10210 if (PyErr_Occurred()) SWIG_fail
;
10212 resultobj
= SWIG_FromInt((int)result
);
10219 static PyObject
*_wrap_Joystick_GetZMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10220 PyObject
*resultobj
;
10221 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10223 PyObject
* obj0
= 0 ;
10224 char *kwnames
[] = {
10225 (char *) "self", NULL
10228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMin",kwnames
,&obj0
)) goto fail
;
10229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10233 result
= (int)(arg1
)->GetZMin();
10235 wxPyEndAllowThreads(__tstate
);
10236 if (PyErr_Occurred()) SWIG_fail
;
10238 resultobj
= SWIG_FromInt((int)result
);
10245 static PyObject
*_wrap_Joystick_GetXMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10246 PyObject
*resultobj
;
10247 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10249 PyObject
* obj0
= 0 ;
10250 char *kwnames
[] = {
10251 (char *) "self", NULL
10254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMax",kwnames
,&obj0
)) goto fail
;
10255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10259 result
= (int)(arg1
)->GetXMax();
10261 wxPyEndAllowThreads(__tstate
);
10262 if (PyErr_Occurred()) SWIG_fail
;
10264 resultobj
= SWIG_FromInt((int)result
);
10271 static PyObject
*_wrap_Joystick_GetYMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10272 PyObject
*resultobj
;
10273 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10275 PyObject
* obj0
= 0 ;
10276 char *kwnames
[] = {
10277 (char *) "self", NULL
10280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMax",kwnames
,&obj0
)) goto fail
;
10281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10285 result
= (int)(arg1
)->GetYMax();
10287 wxPyEndAllowThreads(__tstate
);
10288 if (PyErr_Occurred()) SWIG_fail
;
10290 resultobj
= SWIG_FromInt((int)result
);
10297 static PyObject
*_wrap_Joystick_GetZMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10298 PyObject
*resultobj
;
10299 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10301 PyObject
* obj0
= 0 ;
10302 char *kwnames
[] = {
10303 (char *) "self", NULL
10306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMax",kwnames
,&obj0
)) goto fail
;
10307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10311 result
= (int)(arg1
)->GetZMax();
10313 wxPyEndAllowThreads(__tstate
);
10314 if (PyErr_Occurred()) SWIG_fail
;
10316 resultobj
= SWIG_FromInt((int)result
);
10323 static PyObject
*_wrap_Joystick_GetNumberButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10324 PyObject
*resultobj
;
10325 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10327 PyObject
* obj0
= 0 ;
10328 char *kwnames
[] = {
10329 (char *) "self", NULL
10332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberButtons",kwnames
,&obj0
)) goto fail
;
10333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10337 result
= (int)(arg1
)->GetNumberButtons();
10339 wxPyEndAllowThreads(__tstate
);
10340 if (PyErr_Occurred()) SWIG_fail
;
10342 resultobj
= SWIG_FromInt((int)result
);
10349 static PyObject
*_wrap_Joystick_GetNumberAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10350 PyObject
*resultobj
;
10351 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10353 PyObject
* obj0
= 0 ;
10354 char *kwnames
[] = {
10355 (char *) "self", NULL
10358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberAxes",kwnames
,&obj0
)) goto fail
;
10359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10363 result
= (int)(arg1
)->GetNumberAxes();
10365 wxPyEndAllowThreads(__tstate
);
10366 if (PyErr_Occurred()) SWIG_fail
;
10368 resultobj
= SWIG_FromInt((int)result
);
10375 static PyObject
*_wrap_Joystick_GetMaxButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10376 PyObject
*resultobj
;
10377 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10379 PyObject
* obj0
= 0 ;
10380 char *kwnames
[] = {
10381 (char *) "self", NULL
10384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxButtons",kwnames
,&obj0
)) goto fail
;
10385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10389 result
= (int)(arg1
)->GetMaxButtons();
10391 wxPyEndAllowThreads(__tstate
);
10392 if (PyErr_Occurred()) SWIG_fail
;
10394 resultobj
= SWIG_FromInt((int)result
);
10401 static PyObject
*_wrap_Joystick_GetMaxAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10402 PyObject
*resultobj
;
10403 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10405 PyObject
* obj0
= 0 ;
10406 char *kwnames
[] = {
10407 (char *) "self", NULL
10410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxAxes",kwnames
,&obj0
)) goto fail
;
10411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10415 result
= (int)(arg1
)->GetMaxAxes();
10417 wxPyEndAllowThreads(__tstate
);
10418 if (PyErr_Occurred()) SWIG_fail
;
10420 resultobj
= SWIG_FromInt((int)result
);
10427 static PyObject
*_wrap_Joystick_GetPollingMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10428 PyObject
*resultobj
;
10429 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10431 PyObject
* obj0
= 0 ;
10432 char *kwnames
[] = {
10433 (char *) "self", NULL
10436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMin",kwnames
,&obj0
)) goto fail
;
10437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10441 result
= (int)(arg1
)->GetPollingMin();
10443 wxPyEndAllowThreads(__tstate
);
10444 if (PyErr_Occurred()) SWIG_fail
;
10446 resultobj
= SWIG_FromInt((int)result
);
10453 static PyObject
*_wrap_Joystick_GetPollingMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10454 PyObject
*resultobj
;
10455 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10457 PyObject
* obj0
= 0 ;
10458 char *kwnames
[] = {
10459 (char *) "self", NULL
10462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMax",kwnames
,&obj0
)) goto fail
;
10463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10467 result
= (int)(arg1
)->GetPollingMax();
10469 wxPyEndAllowThreads(__tstate
);
10470 if (PyErr_Occurred()) SWIG_fail
;
10472 resultobj
= SWIG_FromInt((int)result
);
10479 static PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10480 PyObject
*resultobj
;
10481 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10483 PyObject
* obj0
= 0 ;
10484 char *kwnames
[] = {
10485 (char *) "self", NULL
10488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMin",kwnames
,&obj0
)) goto fail
;
10489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10493 result
= (int)(arg1
)->GetRudderMin();
10495 wxPyEndAllowThreads(__tstate
);
10496 if (PyErr_Occurred()) SWIG_fail
;
10498 resultobj
= SWIG_FromInt((int)result
);
10505 static PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10506 PyObject
*resultobj
;
10507 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10509 PyObject
* obj0
= 0 ;
10510 char *kwnames
[] = {
10511 (char *) "self", NULL
10514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMax",kwnames
,&obj0
)) goto fail
;
10515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10519 result
= (int)(arg1
)->GetRudderMax();
10521 wxPyEndAllowThreads(__tstate
);
10522 if (PyErr_Occurred()) SWIG_fail
;
10524 resultobj
= SWIG_FromInt((int)result
);
10531 static PyObject
*_wrap_Joystick_GetUMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10532 PyObject
*resultobj
;
10533 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10535 PyObject
* obj0
= 0 ;
10536 char *kwnames
[] = {
10537 (char *) "self", NULL
10540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMin",kwnames
,&obj0
)) goto fail
;
10541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10545 result
= (int)(arg1
)->GetUMin();
10547 wxPyEndAllowThreads(__tstate
);
10548 if (PyErr_Occurred()) SWIG_fail
;
10550 resultobj
= SWIG_FromInt((int)result
);
10557 static PyObject
*_wrap_Joystick_GetUMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10558 PyObject
*resultobj
;
10559 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10561 PyObject
* obj0
= 0 ;
10562 char *kwnames
[] = {
10563 (char *) "self", NULL
10566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMax",kwnames
,&obj0
)) goto fail
;
10567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10571 result
= (int)(arg1
)->GetUMax();
10573 wxPyEndAllowThreads(__tstate
);
10574 if (PyErr_Occurred()) SWIG_fail
;
10576 resultobj
= SWIG_FromInt((int)result
);
10583 static PyObject
*_wrap_Joystick_GetVMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10584 PyObject
*resultobj
;
10585 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10587 PyObject
* obj0
= 0 ;
10588 char *kwnames
[] = {
10589 (char *) "self", NULL
10592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMin",kwnames
,&obj0
)) goto fail
;
10593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10597 result
= (int)(arg1
)->GetVMin();
10599 wxPyEndAllowThreads(__tstate
);
10600 if (PyErr_Occurred()) SWIG_fail
;
10602 resultobj
= SWIG_FromInt((int)result
);
10609 static PyObject
*_wrap_Joystick_GetVMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10610 PyObject
*resultobj
;
10611 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10613 PyObject
* obj0
= 0 ;
10614 char *kwnames
[] = {
10615 (char *) "self", NULL
10618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMax",kwnames
,&obj0
)) goto fail
;
10619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10623 result
= (int)(arg1
)->GetVMax();
10625 wxPyEndAllowThreads(__tstate
);
10626 if (PyErr_Occurred()) SWIG_fail
;
10628 resultobj
= SWIG_FromInt((int)result
);
10635 static PyObject
*_wrap_Joystick_HasRudder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10636 PyObject
*resultobj
;
10637 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10639 PyObject
* obj0
= 0 ;
10640 char *kwnames
[] = {
10641 (char *) "self", NULL
10644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasRudder",kwnames
,&obj0
)) goto fail
;
10645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10649 result
= (bool)(arg1
)->HasRudder();
10651 wxPyEndAllowThreads(__tstate
);
10652 if (PyErr_Occurred()) SWIG_fail
;
10655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10663 static PyObject
*_wrap_Joystick_HasZ(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10664 PyObject
*resultobj
;
10665 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10667 PyObject
* obj0
= 0 ;
10668 char *kwnames
[] = {
10669 (char *) "self", NULL
10672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasZ",kwnames
,&obj0
)) goto fail
;
10673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10677 result
= (bool)(arg1
)->HasZ();
10679 wxPyEndAllowThreads(__tstate
);
10680 if (PyErr_Occurred()) SWIG_fail
;
10683 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10691 static PyObject
*_wrap_Joystick_HasU(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10692 PyObject
*resultobj
;
10693 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10695 PyObject
* obj0
= 0 ;
10696 char *kwnames
[] = {
10697 (char *) "self", NULL
10700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasU",kwnames
,&obj0
)) goto fail
;
10701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10705 result
= (bool)(arg1
)->HasU();
10707 wxPyEndAllowThreads(__tstate
);
10708 if (PyErr_Occurred()) SWIG_fail
;
10711 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10719 static PyObject
*_wrap_Joystick_HasV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10720 PyObject
*resultobj
;
10721 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10723 PyObject
* obj0
= 0 ;
10724 char *kwnames
[] = {
10725 (char *) "self", NULL
10728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasV",kwnames
,&obj0
)) goto fail
;
10729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10733 result
= (bool)(arg1
)->HasV();
10735 wxPyEndAllowThreads(__tstate
);
10736 if (PyErr_Occurred()) SWIG_fail
;
10739 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10747 static PyObject
*_wrap_Joystick_HasPOV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10748 PyObject
*resultobj
;
10749 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10751 PyObject
* obj0
= 0 ;
10752 char *kwnames
[] = {
10753 (char *) "self", NULL
10756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV",kwnames
,&obj0
)) goto fail
;
10757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10761 result
= (bool)(arg1
)->HasPOV();
10763 wxPyEndAllowThreads(__tstate
);
10764 if (PyErr_Occurred()) SWIG_fail
;
10767 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10775 static PyObject
*_wrap_Joystick_HasPOV4Dir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10776 PyObject
*resultobj
;
10777 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10779 PyObject
* obj0
= 0 ;
10780 char *kwnames
[] = {
10781 (char *) "self", NULL
10784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV4Dir",kwnames
,&obj0
)) goto fail
;
10785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10789 result
= (bool)(arg1
)->HasPOV4Dir();
10791 wxPyEndAllowThreads(__tstate
);
10792 if (PyErr_Occurred()) SWIG_fail
;
10795 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10803 static PyObject
*_wrap_Joystick_HasPOVCTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10804 PyObject
*resultobj
;
10805 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10807 PyObject
* obj0
= 0 ;
10808 char *kwnames
[] = {
10809 (char *) "self", NULL
10812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOVCTS",kwnames
,&obj0
)) goto fail
;
10813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10817 result
= (bool)(arg1
)->HasPOVCTS();
10819 wxPyEndAllowThreads(__tstate
);
10820 if (PyErr_Occurred()) SWIG_fail
;
10823 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10831 static PyObject
*_wrap_Joystick_SetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10832 PyObject
*resultobj
;
10833 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10834 wxWindow
*arg2
= (wxWindow
*) 0 ;
10835 int arg3
= (int) 0 ;
10837 PyObject
* obj0
= 0 ;
10838 PyObject
* obj1
= 0 ;
10839 PyObject
* obj2
= 0 ;
10840 char *kwnames
[] = {
10841 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
10844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10847 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10850 arg3
= (int) SWIG_AsInt(obj2
);
10851 if (PyErr_Occurred()) SWIG_fail
;
10854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10855 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
10857 wxPyEndAllowThreads(__tstate
);
10858 if (PyErr_Occurred()) SWIG_fail
;
10861 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10869 static PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10870 PyObject
*resultobj
;
10871 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10873 PyObject
* obj0
= 0 ;
10874 char *kwnames
[] = {
10875 (char *) "self", NULL
10878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_ReleaseCapture",kwnames
,&obj0
)) goto fail
;
10879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10883 result
= (bool)(arg1
)->ReleaseCapture();
10885 wxPyEndAllowThreads(__tstate
);
10886 if (PyErr_Occurred()) SWIG_fail
;
10889 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10897 static PyObject
* Joystick_swigregister(PyObject
*self
, PyObject
*args
) {
10899 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10900 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick
, obj
);
10902 return Py_BuildValue((char *)"");
10904 static PyObject
*_wrap_JoystickEvent_m_pos_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10905 PyObject
*resultobj
;
10906 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10907 wxPoint
*arg2
= (wxPoint
*) 0 ;
10908 PyObject
* obj0
= 0 ;
10909 PyObject
* obj1
= 0 ;
10910 char *kwnames
[] = {
10911 (char *) "self",(char *) "m_pos", NULL
10914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10917 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
10918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10919 if (arg1
) (arg1
)->m_pos
= *arg2
;
10921 Py_INCREF(Py_None
); resultobj
= Py_None
;
10928 static PyObject
*_wrap_JoystickEvent_m_pos_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10929 PyObject
*resultobj
;
10930 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10932 PyObject
* obj0
= 0 ;
10933 char *kwnames
[] = {
10934 (char *) "self", NULL
10937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
10938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10940 result
= (wxPoint
*)& ((arg1
)->m_pos
);
10942 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
10949 static PyObject
*_wrap_JoystickEvent_m_zPosition_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10950 PyObject
*resultobj
;
10951 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10953 PyObject
* obj0
= 0 ;
10954 PyObject
* obj1
= 0 ;
10955 char *kwnames
[] = {
10956 (char *) "self",(char *) "m_zPosition", NULL
10959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_zPosition_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10962 arg2
= (int) SWIG_AsInt(obj1
);
10963 if (PyErr_Occurred()) SWIG_fail
;
10964 if (arg1
) (arg1
)->m_zPosition
= arg2
;
10966 Py_INCREF(Py_None
); resultobj
= Py_None
;
10973 static PyObject
*_wrap_JoystickEvent_m_zPosition_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10974 PyObject
*resultobj
;
10975 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10977 PyObject
* obj0
= 0 ;
10978 char *kwnames
[] = {
10979 (char *) "self", NULL
10982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_zPosition_get",kwnames
,&obj0
)) goto fail
;
10983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10985 result
= (int) ((arg1
)->m_zPosition
);
10987 resultobj
= SWIG_FromInt((int)result
);
10994 static PyObject
*_wrap_JoystickEvent_m_buttonChange_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10995 PyObject
*resultobj
;
10996 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10998 PyObject
* obj0
= 0 ;
10999 PyObject
* obj1
= 0 ;
11000 char *kwnames
[] = {
11001 (char *) "self",(char *) "m_buttonChange", NULL
11004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonChange_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11007 arg2
= (int) SWIG_AsInt(obj1
);
11008 if (PyErr_Occurred()) SWIG_fail
;
11009 if (arg1
) (arg1
)->m_buttonChange
= arg2
;
11011 Py_INCREF(Py_None
); resultobj
= Py_None
;
11018 static PyObject
*_wrap_JoystickEvent_m_buttonChange_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11019 PyObject
*resultobj
;
11020 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11022 PyObject
* obj0
= 0 ;
11023 char *kwnames
[] = {
11024 (char *) "self", NULL
11027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonChange_get",kwnames
,&obj0
)) goto fail
;
11028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11030 result
= (int) ((arg1
)->m_buttonChange
);
11032 resultobj
= SWIG_FromInt((int)result
);
11039 static PyObject
*_wrap_JoystickEvent_m_buttonState_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11040 PyObject
*resultobj
;
11041 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11043 PyObject
* obj0
= 0 ;
11044 PyObject
* obj1
= 0 ;
11045 char *kwnames
[] = {
11046 (char *) "self",(char *) "m_buttonState", NULL
11049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonState_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11052 arg2
= (int) SWIG_AsInt(obj1
);
11053 if (PyErr_Occurred()) SWIG_fail
;
11054 if (arg1
) (arg1
)->m_buttonState
= arg2
;
11056 Py_INCREF(Py_None
); resultobj
= Py_None
;
11063 static PyObject
*_wrap_JoystickEvent_m_buttonState_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11064 PyObject
*resultobj
;
11065 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11067 PyObject
* obj0
= 0 ;
11068 char *kwnames
[] = {
11069 (char *) "self", NULL
11072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonState_get",kwnames
,&obj0
)) goto fail
;
11073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11075 result
= (int) ((arg1
)->m_buttonState
);
11077 resultobj
= SWIG_FromInt((int)result
);
11084 static PyObject
*_wrap_JoystickEvent_m_joyStick_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11085 PyObject
*resultobj
;
11086 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11088 PyObject
* obj0
= 0 ;
11089 PyObject
* obj1
= 0 ;
11090 char *kwnames
[] = {
11091 (char *) "self",(char *) "m_joyStick", NULL
11094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_joyStick_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11097 arg2
= (int) SWIG_AsInt(obj1
);
11098 if (PyErr_Occurred()) SWIG_fail
;
11099 if (arg1
) (arg1
)->m_joyStick
= arg2
;
11101 Py_INCREF(Py_None
); resultobj
= Py_None
;
11108 static PyObject
*_wrap_JoystickEvent_m_joyStick_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11109 PyObject
*resultobj
;
11110 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11112 PyObject
* obj0
= 0 ;
11113 char *kwnames
[] = {
11114 (char *) "self", NULL
11117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_joyStick_get",kwnames
,&obj0
)) goto fail
;
11118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11120 result
= (int) ((arg1
)->m_joyStick
);
11122 resultobj
= SWIG_FromInt((int)result
);
11129 static PyObject
*_wrap_new_JoystickEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11130 PyObject
*resultobj
;
11131 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11132 int arg2
= (int) 0 ;
11133 int arg3
= (int) wxJOYSTICK1
;
11134 int arg4
= (int) 0 ;
11135 wxJoystickEvent
*result
;
11136 PyObject
* obj0
= 0 ;
11137 PyObject
* obj1
= 0 ;
11138 PyObject
* obj2
= 0 ;
11139 PyObject
* obj3
= 0 ;
11140 char *kwnames
[] = {
11141 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
11144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_JoystickEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11146 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
11147 if (PyErr_Occurred()) SWIG_fail
;
11150 arg2
= (int) SWIG_AsInt(obj1
);
11151 if (PyErr_Occurred()) SWIG_fail
;
11154 arg3
= (int) SWIG_AsInt(obj2
);
11155 if (PyErr_Occurred()) SWIG_fail
;
11158 arg4
= (int) SWIG_AsInt(obj3
);
11159 if (PyErr_Occurred()) SWIG_fail
;
11162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11163 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
11165 wxPyEndAllowThreads(__tstate
);
11166 if (PyErr_Occurred()) SWIG_fail
;
11168 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystickEvent
, 1);
11175 static PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11176 PyObject
*resultobj
;
11177 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11179 PyObject
* obj0
= 0 ;
11180 char *kwnames
[] = {
11181 (char *) "self", NULL
11184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
11185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11189 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
11191 wxPyEndAllowThreads(__tstate
);
11192 if (PyErr_Occurred()) SWIG_fail
;
11195 wxPoint
* resultptr
;
11196 resultptr
= new wxPoint((wxPoint
&) result
);
11197 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
11205 static PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11206 PyObject
*resultobj
;
11207 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11209 PyObject
* obj0
= 0 ;
11210 char *kwnames
[] = {
11211 (char *) "self", NULL
11214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetZPosition",kwnames
,&obj0
)) goto fail
;
11215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11219 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
11221 wxPyEndAllowThreads(__tstate
);
11222 if (PyErr_Occurred()) SWIG_fail
;
11224 resultobj
= SWIG_FromInt((int)result
);
11231 static PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11232 PyObject
*resultobj
;
11233 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11235 PyObject
* obj0
= 0 ;
11236 char *kwnames
[] = {
11237 (char *) "self", NULL
11240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonState",kwnames
,&obj0
)) goto fail
;
11241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11245 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
11247 wxPyEndAllowThreads(__tstate
);
11248 if (PyErr_Occurred()) SWIG_fail
;
11250 resultobj
= SWIG_FromInt((int)result
);
11257 static PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11258 PyObject
*resultobj
;
11259 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11261 PyObject
* obj0
= 0 ;
11262 char *kwnames
[] = {
11263 (char *) "self", NULL
11266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonChange",kwnames
,&obj0
)) goto fail
;
11267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11271 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
11273 wxPyEndAllowThreads(__tstate
);
11274 if (PyErr_Occurred()) SWIG_fail
;
11276 resultobj
= SWIG_FromInt((int)result
);
11283 static PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11284 PyObject
*resultobj
;
11285 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11287 PyObject
* obj0
= 0 ;
11288 char *kwnames
[] = {
11289 (char *) "self", NULL
11292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetJoystick",kwnames
,&obj0
)) goto fail
;
11293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11297 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
11299 wxPyEndAllowThreads(__tstate
);
11300 if (PyErr_Occurred()) SWIG_fail
;
11302 resultobj
= SWIG_FromInt((int)result
);
11309 static PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11310 PyObject
*resultobj
;
11311 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11313 PyObject
* obj0
= 0 ;
11314 PyObject
* obj1
= 0 ;
11315 char *kwnames
[] = {
11316 (char *) "self",(char *) "stick", NULL
11319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetJoystick",kwnames
,&obj0
,&obj1
)) goto fail
;
11320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11322 arg2
= (int) SWIG_AsInt(obj1
);
11323 if (PyErr_Occurred()) SWIG_fail
;
11325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11326 (arg1
)->SetJoystick(arg2
);
11328 wxPyEndAllowThreads(__tstate
);
11329 if (PyErr_Occurred()) SWIG_fail
;
11331 Py_INCREF(Py_None
); resultobj
= Py_None
;
11338 static PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11339 PyObject
*resultobj
;
11340 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11342 PyObject
* obj0
= 0 ;
11343 PyObject
* obj1
= 0 ;
11344 char *kwnames
[] = {
11345 (char *) "self",(char *) "state", NULL
11348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonState",kwnames
,&obj0
,&obj1
)) goto fail
;
11349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11351 arg2
= (int) SWIG_AsInt(obj1
);
11352 if (PyErr_Occurred()) SWIG_fail
;
11354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11355 (arg1
)->SetButtonState(arg2
);
11357 wxPyEndAllowThreads(__tstate
);
11358 if (PyErr_Occurred()) SWIG_fail
;
11360 Py_INCREF(Py_None
); resultobj
= Py_None
;
11367 static PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11368 PyObject
*resultobj
;
11369 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11371 PyObject
* obj0
= 0 ;
11372 PyObject
* obj1
= 0 ;
11373 char *kwnames
[] = {
11374 (char *) "self",(char *) "change", NULL
11377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&obj1
)) goto fail
;
11378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11380 arg2
= (int) SWIG_AsInt(obj1
);
11381 if (PyErr_Occurred()) SWIG_fail
;
11383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11384 (arg1
)->SetButtonChange(arg2
);
11386 wxPyEndAllowThreads(__tstate
);
11387 if (PyErr_Occurred()) SWIG_fail
;
11389 Py_INCREF(Py_None
); resultobj
= Py_None
;
11396 static PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11397 PyObject
*resultobj
;
11398 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11399 wxPoint
*arg2
= 0 ;
11401 PyObject
* obj0
= 0 ;
11402 PyObject
* obj1
= 0 ;
11403 char *kwnames
[] = {
11404 (char *) "self",(char *) "pos", NULL
11407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11412 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11416 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
11418 wxPyEndAllowThreads(__tstate
);
11419 if (PyErr_Occurred()) SWIG_fail
;
11421 Py_INCREF(Py_None
); resultobj
= Py_None
;
11428 static PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11429 PyObject
*resultobj
;
11430 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11432 PyObject
* obj0
= 0 ;
11433 PyObject
* obj1
= 0 ;
11434 char *kwnames
[] = {
11435 (char *) "self",(char *) "zPos", NULL
11438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetZPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11441 arg2
= (int) SWIG_AsInt(obj1
);
11442 if (PyErr_Occurred()) SWIG_fail
;
11444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11445 (arg1
)->SetZPosition(arg2
);
11447 wxPyEndAllowThreads(__tstate
);
11448 if (PyErr_Occurred()) SWIG_fail
;
11450 Py_INCREF(Py_None
); resultobj
= Py_None
;
11457 static PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11458 PyObject
*resultobj
;
11459 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11461 PyObject
* obj0
= 0 ;
11462 char *kwnames
[] = {
11463 (char *) "self", NULL
11466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsButton",kwnames
,&obj0
)) goto fail
;
11467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11471 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
11473 wxPyEndAllowThreads(__tstate
);
11474 if (PyErr_Occurred()) SWIG_fail
;
11477 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11485 static PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11486 PyObject
*resultobj
;
11487 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11489 PyObject
* obj0
= 0 ;
11490 char *kwnames
[] = {
11491 (char *) "self", NULL
11494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsMove",kwnames
,&obj0
)) goto fail
;
11495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11499 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
11501 wxPyEndAllowThreads(__tstate
);
11502 if (PyErr_Occurred()) SWIG_fail
;
11505 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11513 static PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11514 PyObject
*resultobj
;
11515 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11517 PyObject
* obj0
= 0 ;
11518 char *kwnames
[] = {
11519 (char *) "self", NULL
11522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsZMove",kwnames
,&obj0
)) goto fail
;
11523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11527 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
11529 wxPyEndAllowThreads(__tstate
);
11530 if (PyErr_Occurred()) SWIG_fail
;
11533 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11541 static PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11542 PyObject
*resultobj
;
11543 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11544 int arg2
= (int) wxJOY_BUTTON_ANY
;
11546 PyObject
* obj0
= 0 ;
11547 PyObject
* obj1
= 0 ;
11548 char *kwnames
[] = {
11549 (char *) "self",(char *) "but", NULL
11552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
11553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11556 arg2
= (int) SWIG_AsInt(obj1
);
11557 if (PyErr_Occurred()) SWIG_fail
;
11560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11561 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
11563 wxPyEndAllowThreads(__tstate
);
11564 if (PyErr_Occurred()) SWIG_fail
;
11567 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11575 static PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11576 PyObject
*resultobj
;
11577 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11578 int arg2
= (int) wxJOY_BUTTON_ANY
;
11580 PyObject
* obj0
= 0 ;
11581 PyObject
* obj1
= 0 ;
11582 char *kwnames
[] = {
11583 (char *) "self",(char *) "but", NULL
11586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
11587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11590 arg2
= (int) SWIG_AsInt(obj1
);
11591 if (PyErr_Occurred()) SWIG_fail
;
11594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11595 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
11597 wxPyEndAllowThreads(__tstate
);
11598 if (PyErr_Occurred()) SWIG_fail
;
11601 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11609 static PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11610 PyObject
*resultobj
;
11611 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11612 int arg2
= (int) wxJOY_BUTTON_ANY
;
11614 PyObject
* obj0
= 0 ;
11615 PyObject
* obj1
= 0 ;
11616 char *kwnames
[] = {
11617 (char *) "self",(char *) "but", NULL
11620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
11621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11624 arg2
= (int) SWIG_AsInt(obj1
);
11625 if (PyErr_Occurred()) SWIG_fail
;
11628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11629 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
11631 wxPyEndAllowThreads(__tstate
);
11632 if (PyErr_Occurred()) SWIG_fail
;
11635 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11643 static PyObject
* JoystickEvent_swigregister(PyObject
*self
, PyObject
*args
) {
11645 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11646 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent
, obj
);
11648 return Py_BuildValue((char *)"");
11650 static PyObject
*_wrap_new_Sound(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11651 PyObject
*resultobj
;
11652 wxString
const &arg1_defvalue
= wxPyEmptyString
;
11653 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
11655 bool temp1
= False
;
11656 PyObject
* obj0
= 0 ;
11657 char *kwnames
[] = {
11658 (char *) "fileName", NULL
11661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Sound",kwnames
,&obj0
)) goto fail
;
11664 arg1
= wxString_in_helper(obj0
);
11665 if (arg1
== NULL
) SWIG_fail
;
11670 if (!wxPyCheckForApp()) SWIG_fail
;
11671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11672 result
= (wxSound
*)new_wxSound((wxString
const &)*arg1
);
11674 wxPyEndAllowThreads(__tstate
);
11675 if (PyErr_Occurred()) SWIG_fail
;
11677 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
11692 static PyObject
*_wrap_new_SoundFromData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11693 PyObject
*resultobj
;
11694 PyObject
*arg1
= (PyObject
*) 0 ;
11696 PyObject
* obj0
= 0 ;
11697 char *kwnames
[] = {
11698 (char *) "data", NULL
11701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_SoundFromData",kwnames
,&obj0
)) goto fail
;
11704 if (!wxPyCheckForApp()) SWIG_fail
;
11705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11706 result
= (wxSound
*)new_wxSound(arg1
);
11708 wxPyEndAllowThreads(__tstate
);
11709 if (PyErr_Occurred()) SWIG_fail
;
11711 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
11718 static PyObject
*_wrap_delete_Sound(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11719 PyObject
*resultobj
;
11720 wxSound
*arg1
= (wxSound
*) 0 ;
11721 PyObject
* obj0
= 0 ;
11722 char *kwnames
[] = {
11723 (char *) "self", NULL
11726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Sound",kwnames
,&obj0
)) goto fail
;
11727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11733 wxPyEndAllowThreads(__tstate
);
11734 if (PyErr_Occurred()) SWIG_fail
;
11736 Py_INCREF(Py_None
); resultobj
= Py_None
;
11743 static PyObject
*_wrap_Sound_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11744 PyObject
*resultobj
;
11745 wxSound
*arg1
= (wxSound
*) 0 ;
11746 wxString
*arg2
= 0 ;
11748 bool temp2
= False
;
11749 PyObject
* obj0
= 0 ;
11750 PyObject
* obj1
= 0 ;
11751 char *kwnames
[] = {
11752 (char *) "self",(char *) "fileName", NULL
11755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_Create",kwnames
,&obj0
,&obj1
)) goto fail
;
11756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11759 arg2
= wxString_in_helper(obj1
);
11760 if (arg2
== NULL
) SWIG_fail
;
11764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11765 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
);
11767 wxPyEndAllowThreads(__tstate
);
11768 if (PyErr_Occurred()) SWIG_fail
;
11771 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11787 static PyObject
*_wrap_Sound_CreateFromData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11788 PyObject
*resultobj
;
11789 wxSound
*arg1
= (wxSound
*) 0 ;
11790 PyObject
*arg2
= (PyObject
*) 0 ;
11792 PyObject
* obj0
= 0 ;
11793 PyObject
* obj1
= 0 ;
11794 char *kwnames
[] = {
11795 (char *) "self",(char *) "data", NULL
11798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_CreateFromData",kwnames
,&obj0
,&obj1
)) goto fail
;
11799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11804 result
= (bool)wxSound_CreateFromData(arg1
,arg2
);
11806 wxPyEndAllowThreads(__tstate
);
11807 if (PyErr_Occurred()) SWIG_fail
;
11810 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11818 static PyObject
*_wrap_Sound_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11819 PyObject
*resultobj
;
11820 wxSound
*arg1
= (wxSound
*) 0 ;
11822 PyObject
* obj0
= 0 ;
11823 char *kwnames
[] = {
11824 (char *) "self", NULL
11827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sound_IsOk",kwnames
,&obj0
)) goto fail
;
11828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11832 result
= (bool)(arg1
)->IsOk();
11834 wxPyEndAllowThreads(__tstate
);
11835 if (PyErr_Occurred()) SWIG_fail
;
11838 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11846 static PyObject
*_wrap_Sound_Play(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11847 PyObject
*resultobj
;
11848 wxSound
*arg1
= (wxSound
*) 0 ;
11849 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
11851 PyObject
* obj0
= 0 ;
11852 PyObject
* obj1
= 0 ;
11853 char *kwnames
[] = {
11854 (char *) "self",(char *) "flags", NULL
11857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_Play",kwnames
,&obj0
,&obj1
)) goto fail
;
11858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11861 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
11862 if (PyErr_Occurred()) SWIG_fail
;
11865 if (!wxPyCheckForApp()) SWIG_fail
;
11866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11867 result
= (bool)((wxSound
const *)arg1
)->Play(arg2
);
11869 wxPyEndAllowThreads(__tstate
);
11870 if (PyErr_Occurred()) SWIG_fail
;
11873 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11881 static PyObject
*_wrap_Sound_PlaySound(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11882 PyObject
*resultobj
;
11883 wxString
*arg1
= 0 ;
11884 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
11886 bool temp1
= False
;
11887 PyObject
* obj0
= 0 ;
11888 PyObject
* obj1
= 0 ;
11889 char *kwnames
[] = {
11890 (char *) "filename",(char *) "flags", NULL
11893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_PlaySound",kwnames
,&obj0
,&obj1
)) goto fail
;
11895 arg1
= wxString_in_helper(obj0
);
11896 if (arg1
== NULL
) SWIG_fail
;
11900 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
11901 if (PyErr_Occurred()) SWIG_fail
;
11904 if (!wxPyCheckForApp()) SWIG_fail
;
11905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11906 result
= (bool)wxSound::Play((wxString
const &)*arg1
,arg2
);
11908 wxPyEndAllowThreads(__tstate
);
11909 if (PyErr_Occurred()) SWIG_fail
;
11912 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11928 static PyObject
*_wrap_Sound_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11929 PyObject
*resultobj
;
11930 char *kwnames
[] = {
11934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Sound_Stop",kwnames
)) goto fail
;
11936 if (!wxPyCheckForApp()) SWIG_fail
;
11937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11940 wxPyEndAllowThreads(__tstate
);
11941 if (PyErr_Occurred()) SWIG_fail
;
11943 Py_INCREF(Py_None
); resultobj
= Py_None
;
11950 static PyObject
* Sound_swigregister(PyObject
*self
, PyObject
*args
) {
11952 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11953 SWIG_TypeClientData(SWIGTYPE_p_wxSound
, obj
);
11955 return Py_BuildValue((char *)"");
11957 static PyObject
*_wrap_new_FileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11958 PyObject
*resultobj
;
11959 wxString
*arg1
= 0 ;
11960 wxString
*arg2
= 0 ;
11961 wxString
*arg3
= 0 ;
11962 wxString
*arg4
= 0 ;
11963 wxFileTypeInfo
*result
;
11964 bool temp1
= False
;
11965 bool temp2
= False
;
11966 bool temp3
= False
;
11967 bool temp4
= False
;
11968 PyObject
* obj0
= 0 ;
11969 PyObject
* obj1
= 0 ;
11970 PyObject
* obj2
= 0 ;
11971 PyObject
* obj3
= 0 ;
11972 char *kwnames
[] = {
11973 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
11976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11978 arg1
= wxString_in_helper(obj0
);
11979 if (arg1
== NULL
) SWIG_fail
;
11983 arg2
= wxString_in_helper(obj1
);
11984 if (arg2
== NULL
) SWIG_fail
;
11988 arg3
= wxString_in_helper(obj2
);
11989 if (arg3
== NULL
) SWIG_fail
;
11993 arg4
= wxString_in_helper(obj3
);
11994 if (arg4
== NULL
) SWIG_fail
;
11998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11999 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
12001 wxPyEndAllowThreads(__tstate
);
12002 if (PyErr_Occurred()) SWIG_fail
;
12004 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
12043 static PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12044 PyObject
*resultobj
;
12045 wxArrayString
*arg1
= 0 ;
12046 wxFileTypeInfo
*result
;
12047 bool temp1
= False
;
12048 PyObject
* obj0
= 0 ;
12049 char *kwnames
[] = {
12050 (char *) "sArray", NULL
12053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) goto fail
;
12055 if (! PySequence_Check(obj0
)) {
12056 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
12059 arg1
= new wxArrayString
;
12061 int i
, len
=PySequence_Length(obj0
);
12062 for (i
=0; i
<len
; i
++) {
12063 PyObject
* item
= PySequence_GetItem(obj0
, i
);
12065 PyObject
* str
= PyObject_Unicode(item
);
12067 PyObject
* str
= PyObject_Str(item
);
12069 if (PyErr_Occurred()) SWIG_fail
;
12070 arg1
->Add(Py2wxString(str
));
12076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12077 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
12079 wxPyEndAllowThreads(__tstate
);
12080 if (PyErr_Occurred()) SWIG_fail
;
12082 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
12084 if (temp1
) delete arg1
;
12089 if (temp1
) delete arg1
;
12095 static PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12096 PyObject
*resultobj
;
12097 wxFileTypeInfo
*result
;
12098 char *kwnames
[] = {
12102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NullFileTypeInfo",kwnames
)) goto fail
;
12104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12105 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
12107 wxPyEndAllowThreads(__tstate
);
12108 if (PyErr_Occurred()) SWIG_fail
;
12110 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
12117 static PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12118 PyObject
*resultobj
;
12119 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12121 PyObject
* obj0
= 0 ;
12122 char *kwnames
[] = {
12123 (char *) "self", NULL
12126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_IsValid",kwnames
,&obj0
)) goto fail
;
12127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12131 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
12133 wxPyEndAllowThreads(__tstate
);
12134 if (PyErr_Occurred()) SWIG_fail
;
12137 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12145 static PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12146 PyObject
*resultobj
;
12147 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12148 wxString
*arg2
= 0 ;
12149 int arg3
= (int) 0 ;
12150 bool temp2
= False
;
12151 PyObject
* obj0
= 0 ;
12152 PyObject
* obj1
= 0 ;
12153 PyObject
* obj2
= 0 ;
12154 char *kwnames
[] = {
12155 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
12158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12162 arg2
= wxString_in_helper(obj1
);
12163 if (arg2
== NULL
) SWIG_fail
;
12167 arg3
= (int) SWIG_AsInt(obj2
);
12168 if (PyErr_Occurred()) SWIG_fail
;
12171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12172 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
12174 wxPyEndAllowThreads(__tstate
);
12175 if (PyErr_Occurred()) SWIG_fail
;
12177 Py_INCREF(Py_None
); resultobj
= Py_None
;
12192 static PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12193 PyObject
*resultobj
;
12194 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12195 wxString
*arg2
= 0 ;
12196 bool temp2
= False
;
12197 PyObject
* obj0
= 0 ;
12198 PyObject
* obj1
= 0 ;
12199 char *kwnames
[] = {
12200 (char *) "self",(char *) "shortDesc", NULL
12203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
12204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12207 arg2
= wxString_in_helper(obj1
);
12208 if (arg2
== NULL
) SWIG_fail
;
12212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12213 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
12215 wxPyEndAllowThreads(__tstate
);
12216 if (PyErr_Occurred()) SWIG_fail
;
12218 Py_INCREF(Py_None
); resultobj
= Py_None
;
12233 static PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12234 PyObject
*resultobj
;
12235 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12237 PyObject
* obj0
= 0 ;
12238 char *kwnames
[] = {
12239 (char *) "self", NULL
12242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetMimeType",kwnames
,&obj0
)) goto fail
;
12243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12248 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
12249 result
= (wxString
*) &_result_ref
;
12252 wxPyEndAllowThreads(__tstate
);
12253 if (PyErr_Occurred()) SWIG_fail
;
12257 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12259 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12268 static PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12269 PyObject
*resultobj
;
12270 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12272 PyObject
* obj0
= 0 ;
12273 char *kwnames
[] = {
12274 (char *) "self", NULL
12277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames
,&obj0
)) goto fail
;
12278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12283 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
12284 result
= (wxString
*) &_result_ref
;
12287 wxPyEndAllowThreads(__tstate
);
12288 if (PyErr_Occurred()) SWIG_fail
;
12292 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12294 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12303 static PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12304 PyObject
*resultobj
;
12305 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12307 PyObject
* obj0
= 0 ;
12308 char *kwnames
[] = {
12309 (char *) "self", NULL
12312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames
,&obj0
)) goto fail
;
12313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12318 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
12319 result
= (wxString
*) &_result_ref
;
12322 wxPyEndAllowThreads(__tstate
);
12323 if (PyErr_Occurred()) SWIG_fail
;
12327 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12329 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12338 static PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12339 PyObject
*resultobj
;
12340 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12342 PyObject
* obj0
= 0 ;
12343 char *kwnames
[] = {
12344 (char *) "self", NULL
12347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetShortDesc",kwnames
,&obj0
)) goto fail
;
12348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12353 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
12354 result
= (wxString
*) &_result_ref
;
12357 wxPyEndAllowThreads(__tstate
);
12358 if (PyErr_Occurred()) SWIG_fail
;
12362 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12364 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12373 static PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12374 PyObject
*resultobj
;
12375 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12377 PyObject
* obj0
= 0 ;
12378 char *kwnames
[] = {
12379 (char *) "self", NULL
12382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetDescription",kwnames
,&obj0
)) goto fail
;
12383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12388 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
12389 result
= (wxString
*) &_result_ref
;
12392 wxPyEndAllowThreads(__tstate
);
12393 if (PyErr_Occurred()) SWIG_fail
;
12397 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12399 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12408 static PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12409 PyObject
*resultobj
;
12410 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12411 wxArrayString
*result
;
12412 PyObject
* obj0
= 0 ;
12413 char *kwnames
[] = {
12414 (char *) "self", NULL
12417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensions",kwnames
,&obj0
)) goto fail
;
12418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12423 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
12424 result
= (wxArrayString
*) &_result_ref
;
12427 wxPyEndAllowThreads(__tstate
);
12428 if (PyErr_Occurred()) SWIG_fail
;
12431 resultobj
= wxArrayString2PyList_helper(*result
);
12439 static PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12440 PyObject
*resultobj
;
12441 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12443 PyObject
* obj0
= 0 ;
12444 char *kwnames
[] = {
12445 (char *) "self", NULL
12448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames
,&obj0
)) goto fail
;
12449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12453 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
12455 wxPyEndAllowThreads(__tstate
);
12456 if (PyErr_Occurred()) SWIG_fail
;
12458 resultobj
= SWIG_FromInt((int)result
);
12465 static PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12466 PyObject
*resultobj
;
12467 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12469 PyObject
* obj0
= 0 ;
12470 char *kwnames
[] = {
12471 (char *) "self", NULL
12474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconFile",kwnames
,&obj0
)) goto fail
;
12475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12480 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
12481 result
= (wxString
*) &_result_ref
;
12484 wxPyEndAllowThreads(__tstate
);
12485 if (PyErr_Occurred()) SWIG_fail
;
12489 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12491 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12500 static PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12501 PyObject
*resultobj
;
12502 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12504 PyObject
* obj0
= 0 ;
12505 char *kwnames
[] = {
12506 (char *) "self", NULL
12509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconIndex",kwnames
,&obj0
)) goto fail
;
12510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12514 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
12516 wxPyEndAllowThreads(__tstate
);
12517 if (PyErr_Occurred()) SWIG_fail
;
12519 resultobj
= SWIG_FromInt((int)result
);
12526 static PyObject
* FileTypeInfo_swigregister(PyObject
*self
, PyObject
*args
) {
12528 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12529 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo
, obj
);
12531 return Py_BuildValue((char *)"");
12533 static PyObject
*_wrap_new_FileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12534 PyObject
*resultobj
;
12535 wxFileTypeInfo
*arg1
= 0 ;
12536 wxFileType
*result
;
12537 PyObject
* obj0
= 0 ;
12538 char *kwnames
[] = {
12539 (char *) "ftInfo", NULL
12542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) goto fail
;
12543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12544 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12546 if (arg1
== NULL
) {
12547 PyErr_SetString(PyExc_TypeError
,"null reference");
12551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12552 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
12554 wxPyEndAllowThreads(__tstate
);
12555 if (PyErr_Occurred()) SWIG_fail
;
12557 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
12564 static PyObject
*_wrap_delete_FileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12565 PyObject
*resultobj
;
12566 wxFileType
*arg1
= (wxFileType
*) 0 ;
12567 PyObject
* obj0
= 0 ;
12568 char *kwnames
[] = {
12569 (char *) "self", NULL
12572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileType",kwnames
,&obj0
)) goto fail
;
12573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12579 wxPyEndAllowThreads(__tstate
);
12580 if (PyErr_Occurred()) SWIG_fail
;
12582 Py_INCREF(Py_None
); resultobj
= Py_None
;
12589 static PyObject
*_wrap_FileType_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12590 PyObject
*resultobj
;
12591 wxFileType
*arg1
= (wxFileType
*) 0 ;
12593 PyObject
* obj0
= 0 ;
12594 char *kwnames
[] = {
12595 (char *) "self", NULL
12598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeType",kwnames
,&obj0
)) goto fail
;
12599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12603 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
12605 wxPyEndAllowThreads(__tstate
);
12606 if (PyErr_Occurred()) SWIG_fail
;
12608 resultobj
= result
;
12615 static PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12616 PyObject
*resultobj
;
12617 wxFileType
*arg1
= (wxFileType
*) 0 ;
12619 PyObject
* obj0
= 0 ;
12620 char *kwnames
[] = {
12621 (char *) "self", NULL
12624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeTypes",kwnames
,&obj0
)) goto fail
;
12625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12629 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
12631 wxPyEndAllowThreads(__tstate
);
12632 if (PyErr_Occurred()) SWIG_fail
;
12634 resultobj
= result
;
12641 static PyObject
*_wrap_FileType_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12642 PyObject
*resultobj
;
12643 wxFileType
*arg1
= (wxFileType
*) 0 ;
12645 PyObject
* obj0
= 0 ;
12646 char *kwnames
[] = {
12647 (char *) "self", NULL
12650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetExtensions",kwnames
,&obj0
)) goto fail
;
12651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12655 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
12657 wxPyEndAllowThreads(__tstate
);
12658 if (PyErr_Occurred()) SWIG_fail
;
12660 resultobj
= result
;
12667 static PyObject
*_wrap_FileType_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12668 PyObject
*resultobj
;
12669 wxFileType
*arg1
= (wxFileType
*) 0 ;
12671 PyObject
* obj0
= 0 ;
12672 char *kwnames
[] = {
12673 (char *) "self", NULL
12676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIcon",kwnames
,&obj0
)) goto fail
;
12677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12681 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
12683 wxPyEndAllowThreads(__tstate
);
12684 if (PyErr_Occurred()) SWIG_fail
;
12686 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
12693 static PyObject
*_wrap_FileType_GetIconInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12694 PyObject
*resultobj
;
12695 wxFileType
*arg1
= (wxFileType
*) 0 ;
12697 PyObject
* obj0
= 0 ;
12698 char *kwnames
[] = {
12699 (char *) "self", NULL
12702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIconInfo",kwnames
,&obj0
)) goto fail
;
12703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12707 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
12709 wxPyEndAllowThreads(__tstate
);
12710 if (PyErr_Occurred()) SWIG_fail
;
12712 resultobj
= result
;
12719 static PyObject
*_wrap_FileType_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12720 PyObject
*resultobj
;
12721 wxFileType
*arg1
= (wxFileType
*) 0 ;
12723 PyObject
* obj0
= 0 ;
12724 char *kwnames
[] = {
12725 (char *) "self", NULL
12728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetDescription",kwnames
,&obj0
)) goto fail
;
12729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12733 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
12735 wxPyEndAllowThreads(__tstate
);
12736 if (PyErr_Occurred()) SWIG_fail
;
12738 resultobj
= result
;
12745 static PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12746 PyObject
*resultobj
;
12747 wxFileType
*arg1
= (wxFileType
*) 0 ;
12748 wxString
*arg2
= 0 ;
12749 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12750 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12752 bool temp2
= False
;
12753 bool temp3
= False
;
12754 PyObject
* obj0
= 0 ;
12755 PyObject
* obj1
= 0 ;
12756 PyObject
* obj2
= 0 ;
12757 char *kwnames
[] = {
12758 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12765 arg2
= wxString_in_helper(obj1
);
12766 if (arg2
== NULL
) SWIG_fail
;
12771 arg3
= wxString_in_helper(obj2
);
12772 if (arg3
== NULL
) SWIG_fail
;
12777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12778 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12780 wxPyEndAllowThreads(__tstate
);
12781 if (PyErr_Occurred()) SWIG_fail
;
12783 resultobj
= result
;
12806 static PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12807 PyObject
*resultobj
;
12808 wxFileType
*arg1
= (wxFileType
*) 0 ;
12809 wxString
*arg2
= 0 ;
12810 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12811 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12813 bool temp2
= False
;
12814 bool temp3
= False
;
12815 PyObject
* obj0
= 0 ;
12816 PyObject
* obj1
= 0 ;
12817 PyObject
* obj2
= 0 ;
12818 char *kwnames
[] = {
12819 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12826 arg2
= wxString_in_helper(obj1
);
12827 if (arg2
== NULL
) SWIG_fail
;
12832 arg3
= wxString_in_helper(obj2
);
12833 if (arg3
== NULL
) SWIG_fail
;
12838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12839 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12841 wxPyEndAllowThreads(__tstate
);
12842 if (PyErr_Occurred()) SWIG_fail
;
12844 resultobj
= result
;
12867 static PyObject
*_wrap_FileType_GetAllCommands(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12868 PyObject
*resultobj
;
12869 wxFileType
*arg1
= (wxFileType
*) 0 ;
12870 wxString
*arg2
= 0 ;
12871 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12872 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12874 bool temp2
= False
;
12875 bool temp3
= False
;
12876 PyObject
* obj0
= 0 ;
12877 PyObject
* obj1
= 0 ;
12878 PyObject
* obj2
= 0 ;
12879 char *kwnames
[] = {
12880 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12887 arg2
= wxString_in_helper(obj1
);
12888 if (arg2
== NULL
) SWIG_fail
;
12893 arg3
= wxString_in_helper(obj2
);
12894 if (arg3
== NULL
) SWIG_fail
;
12899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12900 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12902 wxPyEndAllowThreads(__tstate
);
12903 if (PyErr_Occurred()) SWIG_fail
;
12905 resultobj
= result
;
12928 static PyObject
*_wrap_FileType_SetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12929 PyObject
*resultobj
;
12930 wxFileType
*arg1
= (wxFileType
*) 0 ;
12931 wxString
*arg2
= 0 ;
12932 wxString
*arg3
= 0 ;
12933 bool arg4
= (bool) True
;
12935 bool temp2
= False
;
12936 bool temp3
= False
;
12937 PyObject
* obj0
= 0 ;
12938 PyObject
* obj1
= 0 ;
12939 PyObject
* obj2
= 0 ;
12940 PyObject
* obj3
= 0 ;
12941 char *kwnames
[] = {
12942 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
12945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12949 arg2
= wxString_in_helper(obj1
);
12950 if (arg2
== NULL
) SWIG_fail
;
12954 arg3
= wxString_in_helper(obj2
);
12955 if (arg3
== NULL
) SWIG_fail
;
12959 arg4
= (bool) SWIG_AsBool(obj3
);
12960 if (PyErr_Occurred()) SWIG_fail
;
12963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12964 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
12966 wxPyEndAllowThreads(__tstate
);
12967 if (PyErr_Occurred()) SWIG_fail
;
12970 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12994 static PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12995 PyObject
*resultobj
;
12996 wxFileType
*arg1
= (wxFileType
*) 0 ;
12997 wxString
const &arg2_defvalue
= wxPyEmptyString
;
12998 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12999 int arg3
= (int) 0 ;
13001 bool temp2
= False
;
13002 PyObject
* obj0
= 0 ;
13003 PyObject
* obj1
= 0 ;
13004 PyObject
* obj2
= 0 ;
13005 char *kwnames
[] = {
13006 (char *) "self",(char *) "cmd",(char *) "index", NULL
13009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13014 arg2
= wxString_in_helper(obj1
);
13015 if (arg2
== NULL
) SWIG_fail
;
13020 arg3
= (int) SWIG_AsInt(obj2
);
13021 if (PyErr_Occurred()) SWIG_fail
;
13024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13025 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
13027 wxPyEndAllowThreads(__tstate
);
13028 if (PyErr_Occurred()) SWIG_fail
;
13031 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13047 static PyObject
*_wrap_FileType_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13048 PyObject
*resultobj
;
13049 wxFileType
*arg1
= (wxFileType
*) 0 ;
13051 PyObject
* obj0
= 0 ;
13052 char *kwnames
[] = {
13053 (char *) "self", NULL
13056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_Unassociate",kwnames
,&obj0
)) goto fail
;
13057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13061 result
= (bool)(arg1
)->Unassociate();
13063 wxPyEndAllowThreads(__tstate
);
13064 if (PyErr_Occurred()) SWIG_fail
;
13067 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13075 static PyObject
*_wrap_FileType_ExpandCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13076 PyObject
*resultobj
;
13077 wxString
*arg1
= 0 ;
13078 wxString
*arg2
= 0 ;
13079 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13080 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13082 bool temp1
= False
;
13083 bool temp2
= False
;
13084 bool temp3
= False
;
13085 PyObject
* obj0
= 0 ;
13086 PyObject
* obj1
= 0 ;
13087 PyObject
* obj2
= 0 ;
13088 char *kwnames
[] = {
13089 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
13092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13094 arg1
= wxString_in_helper(obj0
);
13095 if (arg1
== NULL
) SWIG_fail
;
13099 arg2
= wxString_in_helper(obj1
);
13100 if (arg2
== NULL
) SWIG_fail
;
13105 arg3
= wxString_in_helper(obj2
);
13106 if (arg3
== NULL
) SWIG_fail
;
13111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13112 result
= FileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
13114 wxPyEndAllowThreads(__tstate
);
13115 if (PyErr_Occurred()) SWIG_fail
;
13119 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13121 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13154 static PyObject
* FileType_swigregister(PyObject
*self
, PyObject
*args
) {
13156 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13157 SWIG_TypeClientData(SWIGTYPE_p_wxFileType
, obj
);
13159 return Py_BuildValue((char *)"");
13161 static int _wrap_TheMimeTypesManager_set(PyObject
*_val
) {
13162 PyErr_SetString(PyExc_TypeError
,"Variable TheMimeTypesManager is read-only.");
13167 static PyObject
*_wrap_TheMimeTypesManager_get() {
13170 pyobj
= SWIG_NewPointerObj((void *)(wxTheMimeTypesManager
), SWIGTYPE_p_wxMimeTypesManager
, 0);
13175 static PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13176 PyObject
*resultobj
;
13177 wxString
*arg1
= 0 ;
13178 wxString
*arg2
= 0 ;
13180 bool temp1
= False
;
13181 bool temp2
= False
;
13182 PyObject
* obj0
= 0 ;
13183 PyObject
* obj1
= 0 ;
13184 char *kwnames
[] = {
13185 (char *) "mimeType",(char *) "wildcard", NULL
13188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) goto fail
;
13190 arg1
= wxString_in_helper(obj0
);
13191 if (arg1
== NULL
) SWIG_fail
;
13195 arg2
= wxString_in_helper(obj1
);
13196 if (arg2
== NULL
) SWIG_fail
;
13200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13201 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
13203 wxPyEndAllowThreads(__tstate
);
13204 if (PyErr_Occurred()) SWIG_fail
;
13207 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13231 static PyObject
*_wrap_new_MimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13232 PyObject
*resultobj
;
13233 wxMimeTypesManager
*result
;
13234 char *kwnames
[] = {
13238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MimeTypesManager",kwnames
)) goto fail
;
13240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13241 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
13243 wxPyEndAllowThreads(__tstate
);
13244 if (PyErr_Occurred()) SWIG_fail
;
13246 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMimeTypesManager
, 1);
13253 static PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13254 PyObject
*resultobj
;
13255 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13256 int arg2
= (int) wxMAILCAP_ALL
;
13257 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13258 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13259 bool temp3
= False
;
13260 PyObject
* obj0
= 0 ;
13261 PyObject
* obj1
= 0 ;
13262 PyObject
* obj2
= 0 ;
13263 char *kwnames
[] = {
13264 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
13267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MimeTypesManager_Initialize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13271 arg2
= (int) SWIG_AsInt(obj1
);
13272 if (PyErr_Occurred()) SWIG_fail
;
13276 arg3
= wxString_in_helper(obj2
);
13277 if (arg3
== NULL
) SWIG_fail
;
13282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13283 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
13285 wxPyEndAllowThreads(__tstate
);
13286 if (PyErr_Occurred()) SWIG_fail
;
13288 Py_INCREF(Py_None
); resultobj
= Py_None
;
13303 static PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13304 PyObject
*resultobj
;
13305 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13306 PyObject
* obj0
= 0 ;
13307 char *kwnames
[] = {
13308 (char *) "self", NULL
13311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_ClearData",kwnames
,&obj0
)) goto fail
;
13312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13316 (arg1
)->ClearData();
13318 wxPyEndAllowThreads(__tstate
);
13319 if (PyErr_Occurred()) SWIG_fail
;
13321 Py_INCREF(Py_None
); resultobj
= Py_None
;
13328 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13329 PyObject
*resultobj
;
13330 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13331 wxString
*arg2
= 0 ;
13332 wxFileType
*result
;
13333 bool temp2
= False
;
13334 PyObject
* obj0
= 0 ;
13335 PyObject
* obj1
= 0 ;
13336 char *kwnames
[] = {
13337 (char *) "self",(char *) "ext", NULL
13340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
13341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13344 arg2
= wxString_in_helper(obj1
);
13345 if (arg2
== NULL
) SWIG_fail
;
13349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13350 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
13352 wxPyEndAllowThreads(__tstate
);
13353 if (PyErr_Occurred()) SWIG_fail
;
13355 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13370 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13371 PyObject
*resultobj
;
13372 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13373 wxString
*arg2
= 0 ;
13374 wxFileType
*result
;
13375 bool temp2
= False
;
13376 PyObject
* obj0
= 0 ;
13377 PyObject
* obj1
= 0 ;
13378 char *kwnames
[] = {
13379 (char *) "self",(char *) "mimeType", NULL
13382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
13383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13386 arg2
= wxString_in_helper(obj1
);
13387 if (arg2
== NULL
) SWIG_fail
;
13391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13392 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
13394 wxPyEndAllowThreads(__tstate
);
13395 if (PyErr_Occurred()) SWIG_fail
;
13397 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13412 static PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13413 PyObject
*resultobj
;
13414 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13415 wxString
*arg2
= 0 ;
13416 bool arg3
= (bool) False
;
13418 bool temp2
= False
;
13419 PyObject
* obj0
= 0 ;
13420 PyObject
* obj1
= 0 ;
13421 PyObject
* obj2
= 0 ;
13422 char *kwnames
[] = {
13423 (char *) "self",(char *) "filename",(char *) "fallback", NULL
13426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13430 arg2
= wxString_in_helper(obj1
);
13431 if (arg2
== NULL
) SWIG_fail
;
13435 arg3
= (bool) SWIG_AsBool(obj2
);
13436 if (PyErr_Occurred()) SWIG_fail
;
13439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13440 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
13442 wxPyEndAllowThreads(__tstate
);
13443 if (PyErr_Occurred()) SWIG_fail
;
13446 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13462 static PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13463 PyObject
*resultobj
;
13464 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13465 wxString
*arg2
= 0 ;
13467 bool temp2
= False
;
13468 PyObject
* obj0
= 0 ;
13469 PyObject
* obj1
= 0 ;
13470 char *kwnames
[] = {
13471 (char *) "self",(char *) "filename", NULL
13474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) goto fail
;
13475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13478 arg2
= wxString_in_helper(obj1
);
13479 if (arg2
== NULL
) SWIG_fail
;
13483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13484 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
13486 wxPyEndAllowThreads(__tstate
);
13487 if (PyErr_Occurred()) SWIG_fail
;
13490 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13506 static PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13507 PyObject
*resultobj
;
13508 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13510 PyObject
* obj0
= 0 ;
13511 char *kwnames
[] = {
13512 (char *) "self", NULL
13515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames
,&obj0
)) goto fail
;
13516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13520 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
13522 wxPyEndAllowThreads(__tstate
);
13523 if (PyErr_Occurred()) SWIG_fail
;
13525 resultobj
= result
;
13532 static PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13533 PyObject
*resultobj
;
13534 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13535 wxFileTypeInfo
*arg2
= 0 ;
13536 PyObject
* obj0
= 0 ;
13537 PyObject
* obj1
= 0 ;
13538 char *kwnames
[] = {
13539 (char *) "self",(char *) "ft", NULL
13542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) goto fail
;
13543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13545 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileTypeInfo
,
13546 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13548 if (arg2
== NULL
) {
13549 PyErr_SetString(PyExc_TypeError
,"null reference");
13553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13554 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
13556 wxPyEndAllowThreads(__tstate
);
13557 if (PyErr_Occurred()) SWIG_fail
;
13559 Py_INCREF(Py_None
); resultobj
= Py_None
;
13566 static PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13567 PyObject
*resultobj
;
13568 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13569 wxFileTypeInfo
*arg2
= 0 ;
13570 wxFileType
*result
;
13571 PyObject
* obj0
= 0 ;
13572 PyObject
* obj1
= 0 ;
13573 char *kwnames
[] = {
13574 (char *) "self",(char *) "ftInfo", NULL
13577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) goto fail
;
13578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13580 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileTypeInfo
,
13581 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13583 if (arg2
== NULL
) {
13584 PyErr_SetString(PyExc_TypeError
,"null reference");
13588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13589 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
13591 wxPyEndAllowThreads(__tstate
);
13592 if (PyErr_Occurred()) SWIG_fail
;
13594 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13601 static PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13602 PyObject
*resultobj
;
13603 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13604 wxFileType
*arg2
= (wxFileType
*) 0 ;
13606 PyObject
* obj0
= 0 ;
13607 PyObject
* obj1
= 0 ;
13608 char *kwnames
[] = {
13609 (char *) "self",(char *) "ft", NULL
13612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) goto fail
;
13613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13615 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileType
,
13616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13619 result
= (bool)(arg1
)->Unassociate(arg2
);
13621 wxPyEndAllowThreads(__tstate
);
13622 if (PyErr_Occurred()) SWIG_fail
;
13625 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13633 static PyObject
*_wrap_delete_MimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13634 PyObject
*resultobj
;
13635 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13636 PyObject
* obj0
= 0 ;
13637 char *kwnames
[] = {
13638 (char *) "self", NULL
13641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MimeTypesManager",kwnames
,&obj0
)) goto fail
;
13642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13648 wxPyEndAllowThreads(__tstate
);
13649 if (PyErr_Occurred()) SWIG_fail
;
13651 Py_INCREF(Py_None
); resultobj
= Py_None
;
13658 static PyObject
* MimeTypesManager_swigregister(PyObject
*self
, PyObject
*args
) {
13660 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13661 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager
, obj
);
13663 return Py_BuildValue((char *)"");
13665 static int _wrap_ART_TOOLBAR_set(PyObject
*_val
) {
13666 PyErr_SetString(PyExc_TypeError
,"Variable ART_TOOLBAR is read-only.");
13671 static PyObject
*_wrap_ART_TOOLBAR_get() {
13676 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
13678 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
13685 static int _wrap_ART_MENU_set(PyObject
*_val
) {
13686 PyErr_SetString(PyExc_TypeError
,"Variable ART_MENU is read-only.");
13691 static PyObject
*_wrap_ART_MENU_get() {
13696 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
13698 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
13705 static int _wrap_ART_FRAME_ICON_set(PyObject
*_val
) {
13706 PyErr_SetString(PyExc_TypeError
,"Variable ART_FRAME_ICON is read-only.");
13711 static PyObject
*_wrap_ART_FRAME_ICON_get() {
13716 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
13718 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
13725 static int _wrap_ART_CMN_DIALOG_set(PyObject
*_val
) {
13726 PyErr_SetString(PyExc_TypeError
,"Variable ART_CMN_DIALOG is read-only.");
13731 static PyObject
*_wrap_ART_CMN_DIALOG_get() {
13736 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
13738 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
13745 static int _wrap_ART_HELP_BROWSER_set(PyObject
*_val
) {
13746 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BROWSER is read-only.");
13751 static PyObject
*_wrap_ART_HELP_BROWSER_get() {
13756 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
13758 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
13765 static int _wrap_ART_MESSAGE_BOX_set(PyObject
*_val
) {
13766 PyErr_SetString(PyExc_TypeError
,"Variable ART_MESSAGE_BOX is read-only.");
13771 static PyObject
*_wrap_ART_MESSAGE_BOX_get() {
13776 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
13778 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
13785 static int _wrap_ART_OTHER_set(PyObject
*_val
) {
13786 PyErr_SetString(PyExc_TypeError
,"Variable ART_OTHER is read-only.");
13791 static PyObject
*_wrap_ART_OTHER_get() {
13796 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
13798 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
13805 static int _wrap_ART_ADD_BOOKMARK_set(PyObject
*_val
) {
13806 PyErr_SetString(PyExc_TypeError
,"Variable ART_ADD_BOOKMARK is read-only.");
13811 static PyObject
*_wrap_ART_ADD_BOOKMARK_get() {
13816 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
13818 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
13825 static int _wrap_ART_DEL_BOOKMARK_set(PyObject
*_val
) {
13826 PyErr_SetString(PyExc_TypeError
,"Variable ART_DEL_BOOKMARK is read-only.");
13831 static PyObject
*_wrap_ART_DEL_BOOKMARK_get() {
13836 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
13838 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
13845 static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject
*_val
) {
13846 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
13851 static PyObject
*_wrap_ART_HELP_SIDE_PANEL_get() {
13856 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
13858 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
13865 static int _wrap_ART_HELP_SETTINGS_set(PyObject
*_val
) {
13866 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SETTINGS is read-only.");
13871 static PyObject
*_wrap_ART_HELP_SETTINGS_get() {
13876 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
13878 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
13885 static int _wrap_ART_HELP_BOOK_set(PyObject
*_val
) {
13886 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BOOK is read-only.");
13891 static PyObject
*_wrap_ART_HELP_BOOK_get() {
13896 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
13898 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
13905 static int _wrap_ART_HELP_FOLDER_set(PyObject
*_val
) {
13906 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_FOLDER is read-only.");
13911 static PyObject
*_wrap_ART_HELP_FOLDER_get() {
13916 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
13918 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
13925 static int _wrap_ART_HELP_PAGE_set(PyObject
*_val
) {
13926 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_PAGE is read-only.");
13931 static PyObject
*_wrap_ART_HELP_PAGE_get() {
13936 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
13938 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
13945 static int _wrap_ART_GO_BACK_set(PyObject
*_val
) {
13946 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_BACK is read-only.");
13951 static PyObject
*_wrap_ART_GO_BACK_get() {
13956 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
13958 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
13965 static int _wrap_ART_GO_FORWARD_set(PyObject
*_val
) {
13966 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_FORWARD is read-only.");
13971 static PyObject
*_wrap_ART_GO_FORWARD_get() {
13976 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
13978 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
13985 static int _wrap_ART_GO_UP_set(PyObject
*_val
) {
13986 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_UP is read-only.");
13991 static PyObject
*_wrap_ART_GO_UP_get() {
13996 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
13998 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
14005 static int _wrap_ART_GO_DOWN_set(PyObject
*_val
) {
14006 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DOWN is read-only.");
14011 static PyObject
*_wrap_ART_GO_DOWN_get() {
14016 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
14018 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
14025 static int _wrap_ART_GO_TO_PARENT_set(PyObject
*_val
) {
14026 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_TO_PARENT is read-only.");
14031 static PyObject
*_wrap_ART_GO_TO_PARENT_get() {
14036 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
14038 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
14045 static int _wrap_ART_GO_HOME_set(PyObject
*_val
) {
14046 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_HOME is read-only.");
14051 static PyObject
*_wrap_ART_GO_HOME_get() {
14056 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
14058 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
14065 static int _wrap_ART_FILE_OPEN_set(PyObject
*_val
) {
14066 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_OPEN is read-only.");
14071 static PyObject
*_wrap_ART_FILE_OPEN_get() {
14076 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
14078 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
14085 static int _wrap_ART_PRINT_set(PyObject
*_val
) {
14086 PyErr_SetString(PyExc_TypeError
,"Variable ART_PRINT is read-only.");
14091 static PyObject
*_wrap_ART_PRINT_get() {
14096 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
14098 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
14105 static int _wrap_ART_HELP_set(PyObject
*_val
) {
14106 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP is read-only.");
14111 static PyObject
*_wrap_ART_HELP_get() {
14116 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
14118 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
14125 static int _wrap_ART_TIP_set(PyObject
*_val
) {
14126 PyErr_SetString(PyExc_TypeError
,"Variable ART_TIP is read-only.");
14131 static PyObject
*_wrap_ART_TIP_get() {
14136 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
14138 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
14145 static int _wrap_ART_REPORT_VIEW_set(PyObject
*_val
) {
14146 PyErr_SetString(PyExc_TypeError
,"Variable ART_REPORT_VIEW is read-only.");
14151 static PyObject
*_wrap_ART_REPORT_VIEW_get() {
14156 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
14158 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
14165 static int _wrap_ART_LIST_VIEW_set(PyObject
*_val
) {
14166 PyErr_SetString(PyExc_TypeError
,"Variable ART_LIST_VIEW is read-only.");
14171 static PyObject
*_wrap_ART_LIST_VIEW_get() {
14176 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
14178 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
14185 static int _wrap_ART_NEW_DIR_set(PyObject
*_val
) {
14186 PyErr_SetString(PyExc_TypeError
,"Variable ART_NEW_DIR is read-only.");
14191 static PyObject
*_wrap_ART_NEW_DIR_get() {
14196 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
14198 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
14205 static int _wrap_ART_FOLDER_set(PyObject
*_val
) {
14206 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER is read-only.");
14211 static PyObject
*_wrap_ART_FOLDER_get() {
14216 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
14218 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
14225 static int _wrap_ART_GO_DIR_UP_set(PyObject
*_val
) {
14226 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DIR_UP is read-only.");
14231 static PyObject
*_wrap_ART_GO_DIR_UP_get() {
14236 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
14238 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
14245 static int _wrap_ART_EXECUTABLE_FILE_set(PyObject
*_val
) {
14246 PyErr_SetString(PyExc_TypeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
14251 static PyObject
*_wrap_ART_EXECUTABLE_FILE_get() {
14256 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
14258 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
14265 static int _wrap_ART_NORMAL_FILE_set(PyObject
*_val
) {
14266 PyErr_SetString(PyExc_TypeError
,"Variable ART_NORMAL_FILE is read-only.");
14271 static PyObject
*_wrap_ART_NORMAL_FILE_get() {
14276 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
14278 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
14285 static int _wrap_ART_TICK_MARK_set(PyObject
*_val
) {
14286 PyErr_SetString(PyExc_TypeError
,"Variable ART_TICK_MARK is read-only.");
14291 static PyObject
*_wrap_ART_TICK_MARK_get() {
14296 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
14298 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
14305 static int _wrap_ART_CROSS_MARK_set(PyObject
*_val
) {
14306 PyErr_SetString(PyExc_TypeError
,"Variable ART_CROSS_MARK is read-only.");
14311 static PyObject
*_wrap_ART_CROSS_MARK_get() {
14316 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
14318 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
14325 static int _wrap_ART_ERROR_set(PyObject
*_val
) {
14326 PyErr_SetString(PyExc_TypeError
,"Variable ART_ERROR is read-only.");
14331 static PyObject
*_wrap_ART_ERROR_get() {
14336 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
14338 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
14345 static int _wrap_ART_QUESTION_set(PyObject
*_val
) {
14346 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUESTION is read-only.");
14351 static PyObject
*_wrap_ART_QUESTION_get() {
14356 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
14358 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
14365 static int _wrap_ART_WARNING_set(PyObject
*_val
) {
14366 PyErr_SetString(PyExc_TypeError
,"Variable ART_WARNING is read-only.");
14371 static PyObject
*_wrap_ART_WARNING_get() {
14376 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
14378 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
14385 static int _wrap_ART_INFORMATION_set(PyObject
*_val
) {
14386 PyErr_SetString(PyExc_TypeError
,"Variable ART_INFORMATION is read-only.");
14391 static PyObject
*_wrap_ART_INFORMATION_get() {
14396 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
14398 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
14405 static int _wrap_ART_MISSING_IMAGE_set(PyObject
*_val
) {
14406 PyErr_SetString(PyExc_TypeError
,"Variable ART_MISSING_IMAGE is read-only.");
14411 static PyObject
*_wrap_ART_MISSING_IMAGE_get() {
14416 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
14418 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
14425 static PyObject
*_wrap_new_ArtProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14426 PyObject
*resultobj
;
14427 wxPyArtProvider
*result
;
14428 char *kwnames
[] = {
14432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ArtProvider",kwnames
)) goto fail
;
14434 if (!wxPyCheckForApp()) SWIG_fail
;
14435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14436 result
= (wxPyArtProvider
*)new wxPyArtProvider();
14438 wxPyEndAllowThreads(__tstate
);
14439 if (PyErr_Occurred()) SWIG_fail
;
14441 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyArtProvider
, 1);
14448 static PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14449 PyObject
*resultobj
;
14450 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14451 PyObject
*arg2
= (PyObject
*) 0 ;
14452 PyObject
*arg3
= (PyObject
*) 0 ;
14453 PyObject
* obj0
= 0 ;
14454 PyObject
* obj1
= 0 ;
14455 PyObject
* obj2
= 0 ;
14456 char *kwnames
[] = {
14457 (char *) "self",(char *) "self",(char *) "_class", NULL
14460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14467 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14469 wxPyEndAllowThreads(__tstate
);
14470 if (PyErr_Occurred()) SWIG_fail
;
14472 Py_INCREF(Py_None
); resultobj
= Py_None
;
14479 static PyObject
*_wrap_ArtProvider_PushProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14480 PyObject
*resultobj
;
14481 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14482 PyObject
* obj0
= 0 ;
14483 char *kwnames
[] = {
14484 (char *) "provider", NULL
14487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_PushProvider",kwnames
,&obj0
)) goto fail
;
14488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14492 wxPyArtProvider::PushProvider(arg1
);
14494 wxPyEndAllowThreads(__tstate
);
14495 if (PyErr_Occurred()) SWIG_fail
;
14497 Py_INCREF(Py_None
); resultobj
= Py_None
;
14504 static PyObject
*_wrap_ArtProvider_PopProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14505 PyObject
*resultobj
;
14507 char *kwnames
[] = {
14511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ArtProvider_PopProvider",kwnames
)) goto fail
;
14513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14514 result
= (bool)wxPyArtProvider::PopProvider();
14516 wxPyEndAllowThreads(__tstate
);
14517 if (PyErr_Occurred()) SWIG_fail
;
14520 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14528 static PyObject
*_wrap_ArtProvider_RemoveProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14529 PyObject
*resultobj
;
14530 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14532 PyObject
* obj0
= 0 ;
14533 char *kwnames
[] = {
14534 (char *) "provider", NULL
14537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",kwnames
,&obj0
)) goto fail
;
14538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14542 result
= (bool)wxPyArtProvider::RemoveProvider(arg1
);
14544 wxPyEndAllowThreads(__tstate
);
14545 if (PyErr_Occurred()) SWIG_fail
;
14548 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14556 static PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14557 PyObject
*resultobj
;
14558 wxString
*arg1
= 0 ;
14559 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
14560 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14561 wxSize
const &arg3_defvalue
= wxDefaultSize
;
14562 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
14564 bool temp1
= False
;
14565 bool temp2
= False
;
14567 PyObject
* obj0
= 0 ;
14568 PyObject
* obj1
= 0 ;
14569 PyObject
* obj2
= 0 ;
14570 char *kwnames
[] = {
14571 (char *) "id",(char *) "client",(char *) "size", NULL
14574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14576 arg1
= wxString_in_helper(obj0
);
14577 if (arg1
== NULL
) SWIG_fail
;
14582 arg2
= wxString_in_helper(obj1
);
14583 if (arg2
== NULL
) SWIG_fail
;
14590 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14594 if (!wxPyCheckForApp()) SWIG_fail
;
14595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14596 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
14598 wxPyEndAllowThreads(__tstate
);
14599 if (PyErr_Occurred()) SWIG_fail
;
14602 wxBitmap
* resultptr
;
14603 resultptr
= new wxBitmap((wxBitmap
&) result
);
14604 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
14628 static PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14629 PyObject
*resultobj
;
14630 wxString
*arg1
= 0 ;
14631 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
14632 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14633 wxSize
const &arg3_defvalue
= wxDefaultSize
;
14634 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
14636 bool temp1
= False
;
14637 bool temp2
= False
;
14639 PyObject
* obj0
= 0 ;
14640 PyObject
* obj1
= 0 ;
14641 PyObject
* obj2
= 0 ;
14642 char *kwnames
[] = {
14643 (char *) "id",(char *) "client",(char *) "size", NULL
14646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14648 arg1
= wxString_in_helper(obj0
);
14649 if (arg1
== NULL
) SWIG_fail
;
14654 arg2
= wxString_in_helper(obj1
);
14655 if (arg2
== NULL
) SWIG_fail
;
14662 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14666 if (!wxPyCheckForApp()) SWIG_fail
;
14667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14668 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
14670 wxPyEndAllowThreads(__tstate
);
14671 if (PyErr_Occurred()) SWIG_fail
;
14674 wxIcon
* resultptr
;
14675 resultptr
= new wxIcon((wxIcon
&) result
);
14676 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
14700 static PyObject
*_wrap_ArtProvider_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14701 PyObject
*resultobj
;
14702 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14703 PyObject
* obj0
= 0 ;
14704 char *kwnames
[] = {
14705 (char *) "self", NULL
14708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Destroy",kwnames
,&obj0
)) goto fail
;
14709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14713 wxPyArtProvider_Destroy(arg1
);
14715 wxPyEndAllowThreads(__tstate
);
14716 if (PyErr_Occurred()) SWIG_fail
;
14718 Py_INCREF(Py_None
); resultobj
= Py_None
;
14725 static PyObject
* ArtProvider_swigregister(PyObject
*self
, PyObject
*args
) {
14727 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14728 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider
, obj
);
14730 return Py_BuildValue((char *)"");
14732 static PyObject
*_wrap_delete_ConfigBase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14733 PyObject
*resultobj
;
14734 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14735 PyObject
* obj0
= 0 ;
14736 char *kwnames
[] = {
14737 (char *) "self", NULL
14740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigBase",kwnames
,&obj0
)) goto fail
;
14741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14747 wxPyEndAllowThreads(__tstate
);
14748 if (PyErr_Occurred()) SWIG_fail
;
14750 Py_INCREF(Py_None
); resultobj
= Py_None
;
14757 static PyObject
*_wrap_ConfigBase_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14758 PyObject
*resultobj
;
14759 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14760 wxConfigBase
*result
;
14761 PyObject
* obj0
= 0 ;
14762 char *kwnames
[] = {
14763 (char *) "config", NULL
14766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) goto fail
;
14767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14771 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
14773 wxPyEndAllowThreads(__tstate
);
14774 if (PyErr_Occurred()) SWIG_fail
;
14776 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
14783 static PyObject
*_wrap_ConfigBase_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14784 PyObject
*resultobj
;
14785 bool arg1
= (bool) True
;
14786 wxConfigBase
*result
;
14787 PyObject
* obj0
= 0 ;
14788 char *kwnames
[] = {
14789 (char *) "createOnDemand", NULL
14792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) goto fail
;
14794 arg1
= (bool) SWIG_AsBool(obj0
);
14795 if (PyErr_Occurred()) SWIG_fail
;
14798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14799 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
14801 wxPyEndAllowThreads(__tstate
);
14802 if (PyErr_Occurred()) SWIG_fail
;
14804 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
14811 static PyObject
*_wrap_ConfigBase_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14812 PyObject
*resultobj
;
14813 wxConfigBase
*result
;
14814 char *kwnames
[] = {
14818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_Create",kwnames
)) goto fail
;
14820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14821 result
= (wxConfigBase
*)wxConfigBase::Create();
14823 wxPyEndAllowThreads(__tstate
);
14824 if (PyErr_Occurred()) SWIG_fail
;
14826 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
14833 static PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14834 PyObject
*resultobj
;
14835 char *kwnames
[] = {
14839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_DontCreateOnDemand",kwnames
)) goto fail
;
14841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14842 wxConfigBase::DontCreateOnDemand();
14844 wxPyEndAllowThreads(__tstate
);
14845 if (PyErr_Occurred()) SWIG_fail
;
14847 Py_INCREF(Py_None
); resultobj
= Py_None
;
14854 static PyObject
*_wrap_ConfigBase_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14855 PyObject
*resultobj
;
14856 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14857 wxString
*arg2
= 0 ;
14858 bool temp2
= False
;
14859 PyObject
* obj0
= 0 ;
14860 PyObject
* obj1
= 0 ;
14861 char *kwnames
[] = {
14862 (char *) "self",(char *) "path", NULL
14865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
14866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14869 arg2
= wxString_in_helper(obj1
);
14870 if (arg2
== NULL
) SWIG_fail
;
14874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14875 (arg1
)->SetPath((wxString
const &)*arg2
);
14877 wxPyEndAllowThreads(__tstate
);
14878 if (PyErr_Occurred()) SWIG_fail
;
14880 Py_INCREF(Py_None
); resultobj
= Py_None
;
14895 static PyObject
*_wrap_ConfigBase_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14896 PyObject
*resultobj
;
14897 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14899 PyObject
* obj0
= 0 ;
14900 char *kwnames
[] = {
14901 (char *) "self", NULL
14904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetPath",kwnames
,&obj0
)) goto fail
;
14905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14910 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
14911 result
= (wxString
*) &_result_ref
;
14914 wxPyEndAllowThreads(__tstate
);
14915 if (PyErr_Occurred()) SWIG_fail
;
14919 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14921 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14930 static PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14931 PyObject
*resultobj
;
14932 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14934 PyObject
* obj0
= 0 ;
14935 char *kwnames
[] = {
14936 (char *) "self", NULL
14939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstGroup",kwnames
,&obj0
)) goto fail
;
14940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14944 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
14946 wxPyEndAllowThreads(__tstate
);
14947 if (PyErr_Occurred()) SWIG_fail
;
14949 resultobj
= result
;
14956 static PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14957 PyObject
*resultobj
;
14958 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14961 PyObject
* obj0
= 0 ;
14962 PyObject
* obj1
= 0 ;
14963 char *kwnames
[] = {
14964 (char *) "self",(char *) "index", NULL
14967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
14968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14970 arg2
= (long) SWIG_AsLong(obj1
);
14971 if (PyErr_Occurred()) SWIG_fail
;
14973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14974 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
14976 wxPyEndAllowThreads(__tstate
);
14977 if (PyErr_Occurred()) SWIG_fail
;
14979 resultobj
= result
;
14986 static PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14987 PyObject
*resultobj
;
14988 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14990 PyObject
* obj0
= 0 ;
14991 char *kwnames
[] = {
14992 (char *) "self", NULL
14995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstEntry",kwnames
,&obj0
)) goto fail
;
14996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15000 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
15002 wxPyEndAllowThreads(__tstate
);
15003 if (PyErr_Occurred()) SWIG_fail
;
15005 resultobj
= result
;
15012 static PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15013 PyObject
*resultobj
;
15014 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15017 PyObject
* obj0
= 0 ;
15018 PyObject
* obj1
= 0 ;
15019 char *kwnames
[] = {
15020 (char *) "self",(char *) "index", NULL
15023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
15024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15026 arg2
= (long) SWIG_AsLong(obj1
);
15027 if (PyErr_Occurred()) SWIG_fail
;
15029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15030 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
15032 wxPyEndAllowThreads(__tstate
);
15033 if (PyErr_Occurred()) SWIG_fail
;
15035 resultobj
= result
;
15042 static PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15043 PyObject
*resultobj
;
15044 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15045 bool arg2
= (bool) False
;
15047 PyObject
* obj0
= 0 ;
15048 PyObject
* obj1
= 0 ;
15049 char *kwnames
[] = {
15050 (char *) "self",(char *) "recursive", NULL
15053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) goto fail
;
15054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15057 arg2
= (bool) SWIG_AsBool(obj1
);
15058 if (PyErr_Occurred()) SWIG_fail
;
15061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15062 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
15064 wxPyEndAllowThreads(__tstate
);
15065 if (PyErr_Occurred()) SWIG_fail
;
15067 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
15074 static PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15075 PyObject
*resultobj
;
15076 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15077 bool arg2
= (bool) False
;
15079 PyObject
* obj0
= 0 ;
15080 PyObject
* obj1
= 0 ;
15081 char *kwnames
[] = {
15082 (char *) "self",(char *) "recursive", NULL
15085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) goto fail
;
15086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15089 arg2
= (bool) SWIG_AsBool(obj1
);
15090 if (PyErr_Occurred()) SWIG_fail
;
15093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15094 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
15096 wxPyEndAllowThreads(__tstate
);
15097 if (PyErr_Occurred()) SWIG_fail
;
15099 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
15106 static PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15107 PyObject
*resultobj
;
15108 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15109 wxString
*arg2
= 0 ;
15111 bool temp2
= False
;
15112 PyObject
* obj0
= 0 ;
15113 PyObject
* obj1
= 0 ;
15114 char *kwnames
[] = {
15115 (char *) "self",(char *) "name", NULL
15118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
15119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15122 arg2
= wxString_in_helper(obj1
);
15123 if (arg2
== NULL
) SWIG_fail
;
15127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15128 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
15130 wxPyEndAllowThreads(__tstate
);
15131 if (PyErr_Occurred()) SWIG_fail
;
15134 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15150 static PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15151 PyObject
*resultobj
;
15152 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15153 wxString
*arg2
= 0 ;
15155 bool temp2
= False
;
15156 PyObject
* obj0
= 0 ;
15157 PyObject
* obj1
= 0 ;
15158 char *kwnames
[] = {
15159 (char *) "self",(char *) "name", NULL
15162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
15163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15166 arg2
= wxString_in_helper(obj1
);
15167 if (arg2
== NULL
) SWIG_fail
;
15171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15172 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
15174 wxPyEndAllowThreads(__tstate
);
15175 if (PyErr_Occurred()) SWIG_fail
;
15178 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15194 static PyObject
*_wrap_ConfigBase_Exists(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15195 PyObject
*resultobj
;
15196 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15197 wxString
*arg2
= 0 ;
15199 bool temp2
= False
;
15200 PyObject
* obj0
= 0 ;
15201 PyObject
* obj1
= 0 ;
15202 char *kwnames
[] = {
15203 (char *) "self",(char *) "name", NULL
15206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) goto fail
;
15207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15210 arg2
= wxString_in_helper(obj1
);
15211 if (arg2
== NULL
) SWIG_fail
;
15215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15216 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
15218 wxPyEndAllowThreads(__tstate
);
15219 if (PyErr_Occurred()) SWIG_fail
;
15222 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15238 static PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15239 PyObject
*resultobj
;
15240 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15241 wxString
*arg2
= 0 ;
15243 bool temp2
= False
;
15244 PyObject
* obj0
= 0 ;
15245 PyObject
* obj1
= 0 ;
15246 char *kwnames
[] = {
15247 (char *) "self",(char *) "name", NULL
15250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) goto fail
;
15251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15254 arg2
= wxString_in_helper(obj1
);
15255 if (arg2
== NULL
) SWIG_fail
;
15259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15260 result
= (int)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
15262 wxPyEndAllowThreads(__tstate
);
15263 if (PyErr_Occurred()) SWIG_fail
;
15265 resultobj
= SWIG_FromInt((int)result
);
15280 static PyObject
*_wrap_ConfigBase_Read(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15281 PyObject
*resultobj
;
15282 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15283 wxString
*arg2
= 0 ;
15284 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15285 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15287 bool temp2
= False
;
15288 bool temp3
= False
;
15289 PyObject
* obj0
= 0 ;
15290 PyObject
* obj1
= 0 ;
15291 PyObject
* obj2
= 0 ;
15292 char *kwnames
[] = {
15293 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15300 arg2
= wxString_in_helper(obj1
);
15301 if (arg2
== NULL
) SWIG_fail
;
15306 arg3
= wxString_in_helper(obj2
);
15307 if (arg3
== NULL
) SWIG_fail
;
15312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15313 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15315 wxPyEndAllowThreads(__tstate
);
15316 if (PyErr_Occurred()) SWIG_fail
;
15320 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15322 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15347 static PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15348 PyObject
*resultobj
;
15349 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15350 wxString
*arg2
= 0 ;
15351 long arg3
= (long) 0 ;
15353 bool temp2
= False
;
15354 PyObject
* obj0
= 0 ;
15355 PyObject
* obj1
= 0 ;
15356 PyObject
* obj2
= 0 ;
15357 char *kwnames
[] = {
15358 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15365 arg2
= wxString_in_helper(obj1
);
15366 if (arg2
== NULL
) SWIG_fail
;
15370 arg3
= (long) SWIG_AsLong(obj2
);
15371 if (PyErr_Occurred()) SWIG_fail
;
15374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15375 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
15377 wxPyEndAllowThreads(__tstate
);
15378 if (PyErr_Occurred()) SWIG_fail
;
15380 resultobj
= SWIG_FromLong((long)result
);
15395 static PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15396 PyObject
*resultobj
;
15397 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15398 wxString
*arg2
= 0 ;
15399 double arg3
= (double) 0.0 ;
15401 bool temp2
= False
;
15402 PyObject
* obj0
= 0 ;
15403 PyObject
* obj1
= 0 ;
15404 PyObject
* obj2
= 0 ;
15405 char *kwnames
[] = {
15406 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15413 arg2
= wxString_in_helper(obj1
);
15414 if (arg2
== NULL
) SWIG_fail
;
15418 arg3
= (double) SWIG_AsDouble(obj2
);
15419 if (PyErr_Occurred()) SWIG_fail
;
15422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15423 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
15425 wxPyEndAllowThreads(__tstate
);
15426 if (PyErr_Occurred()) SWIG_fail
;
15428 resultobj
= SWIG_FromDouble((double)result
);
15443 static PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15444 PyObject
*resultobj
;
15445 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15446 wxString
*arg2
= 0 ;
15447 bool arg3
= (bool) False
;
15449 bool temp2
= False
;
15450 PyObject
* obj0
= 0 ;
15451 PyObject
* obj1
= 0 ;
15452 PyObject
* obj2
= 0 ;
15453 char *kwnames
[] = {
15454 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15461 arg2
= wxString_in_helper(obj1
);
15462 if (arg2
== NULL
) SWIG_fail
;
15466 arg3
= (bool) SWIG_AsBool(obj2
);
15467 if (PyErr_Occurred()) SWIG_fail
;
15470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15471 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
15473 wxPyEndAllowThreads(__tstate
);
15474 if (PyErr_Occurred()) SWIG_fail
;
15477 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15493 static PyObject
*_wrap_ConfigBase_Write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15494 PyObject
*resultobj
;
15495 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15496 wxString
*arg2
= 0 ;
15497 wxString
*arg3
= 0 ;
15499 bool temp2
= False
;
15500 bool temp3
= False
;
15501 PyObject
* obj0
= 0 ;
15502 PyObject
* obj1
= 0 ;
15503 PyObject
* obj2
= 0 ;
15504 char *kwnames
[] = {
15505 (char *) "self",(char *) "key",(char *) "value", NULL
15508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15512 arg2
= wxString_in_helper(obj1
);
15513 if (arg2
== NULL
) SWIG_fail
;
15517 arg3
= wxString_in_helper(obj2
);
15518 if (arg3
== NULL
) SWIG_fail
;
15522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15523 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15525 wxPyEndAllowThreads(__tstate
);
15526 if (PyErr_Occurred()) SWIG_fail
;
15529 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15553 static PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15554 PyObject
*resultobj
;
15555 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15556 wxString
*arg2
= 0 ;
15559 bool temp2
= False
;
15560 PyObject
* obj0
= 0 ;
15561 PyObject
* obj1
= 0 ;
15562 PyObject
* obj2
= 0 ;
15563 char *kwnames
[] = {
15564 (char *) "self",(char *) "key",(char *) "value", NULL
15567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15571 arg2
= wxString_in_helper(obj1
);
15572 if (arg2
== NULL
) SWIG_fail
;
15575 arg3
= (long) SWIG_AsLong(obj2
);
15576 if (PyErr_Occurred()) SWIG_fail
;
15578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15579 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15581 wxPyEndAllowThreads(__tstate
);
15582 if (PyErr_Occurred()) SWIG_fail
;
15585 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15601 static PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15602 PyObject
*resultobj
;
15603 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15604 wxString
*arg2
= 0 ;
15607 bool temp2
= False
;
15608 PyObject
* obj0
= 0 ;
15609 PyObject
* obj1
= 0 ;
15610 PyObject
* obj2
= 0 ;
15611 char *kwnames
[] = {
15612 (char *) "self",(char *) "key",(char *) "value", NULL
15615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15619 arg2
= wxString_in_helper(obj1
);
15620 if (arg2
== NULL
) SWIG_fail
;
15623 arg3
= (double) SWIG_AsDouble(obj2
);
15624 if (PyErr_Occurred()) SWIG_fail
;
15626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15627 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15629 wxPyEndAllowThreads(__tstate
);
15630 if (PyErr_Occurred()) SWIG_fail
;
15633 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15649 static PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15650 PyObject
*resultobj
;
15651 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15652 wxString
*arg2
= 0 ;
15655 bool temp2
= False
;
15656 PyObject
* obj0
= 0 ;
15657 PyObject
* obj1
= 0 ;
15658 PyObject
* obj2
= 0 ;
15659 char *kwnames
[] = {
15660 (char *) "self",(char *) "key",(char *) "value", NULL
15663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15667 arg2
= wxString_in_helper(obj1
);
15668 if (arg2
== NULL
) SWIG_fail
;
15671 arg3
= (bool) SWIG_AsBool(obj2
);
15672 if (PyErr_Occurred()) SWIG_fail
;
15674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15675 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15677 wxPyEndAllowThreads(__tstate
);
15678 if (PyErr_Occurred()) SWIG_fail
;
15681 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15697 static PyObject
*_wrap_ConfigBase_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15698 PyObject
*resultobj
;
15699 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15700 bool arg2
= (bool) False
;
15702 PyObject
* obj0
= 0 ;
15703 PyObject
* obj1
= 0 ;
15704 char *kwnames
[] = {
15705 (char *) "self",(char *) "currentOnly", NULL
15708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) goto fail
;
15709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15712 arg2
= (bool) SWIG_AsBool(obj1
);
15713 if (PyErr_Occurred()) SWIG_fail
;
15716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15717 result
= (bool)(arg1
)->Flush(arg2
);
15719 wxPyEndAllowThreads(__tstate
);
15720 if (PyErr_Occurred()) SWIG_fail
;
15723 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15731 static PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15732 PyObject
*resultobj
;
15733 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15734 wxString
*arg2
= 0 ;
15735 wxString
*arg3
= 0 ;
15737 bool temp2
= False
;
15738 bool temp3
= False
;
15739 PyObject
* obj0
= 0 ;
15740 PyObject
* obj1
= 0 ;
15741 PyObject
* obj2
= 0 ;
15742 char *kwnames
[] = {
15743 (char *) "self",(char *) "oldName",(char *) "newName", NULL
15746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15750 arg2
= wxString_in_helper(obj1
);
15751 if (arg2
== NULL
) SWIG_fail
;
15755 arg3
= wxString_in_helper(obj2
);
15756 if (arg3
== NULL
) SWIG_fail
;
15760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15761 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15763 wxPyEndAllowThreads(__tstate
);
15764 if (PyErr_Occurred()) SWIG_fail
;
15767 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15791 static PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15792 PyObject
*resultobj
;
15793 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15794 wxString
*arg2
= 0 ;
15795 wxString
*arg3
= 0 ;
15797 bool temp2
= False
;
15798 bool temp3
= False
;
15799 PyObject
* obj0
= 0 ;
15800 PyObject
* obj1
= 0 ;
15801 PyObject
* obj2
= 0 ;
15802 char *kwnames
[] = {
15803 (char *) "self",(char *) "oldName",(char *) "newName", NULL
15806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15810 arg2
= wxString_in_helper(obj1
);
15811 if (arg2
== NULL
) SWIG_fail
;
15815 arg3
= wxString_in_helper(obj2
);
15816 if (arg3
== NULL
) SWIG_fail
;
15820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15821 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15823 wxPyEndAllowThreads(__tstate
);
15824 if (PyErr_Occurred()) SWIG_fail
;
15827 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15851 static PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15852 PyObject
*resultobj
;
15853 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15854 wxString
*arg2
= 0 ;
15855 bool arg3
= (bool) True
;
15857 bool temp2
= False
;
15858 PyObject
* obj0
= 0 ;
15859 PyObject
* obj1
= 0 ;
15860 PyObject
* obj2
= 0 ;
15861 char *kwnames
[] = {
15862 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
15865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15869 arg2
= wxString_in_helper(obj1
);
15870 if (arg2
== NULL
) SWIG_fail
;
15874 arg3
= (bool) SWIG_AsBool(obj2
);
15875 if (PyErr_Occurred()) SWIG_fail
;
15878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15879 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
15881 wxPyEndAllowThreads(__tstate
);
15882 if (PyErr_Occurred()) SWIG_fail
;
15885 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15901 static PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15902 PyObject
*resultobj
;
15903 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15904 wxString
*arg2
= 0 ;
15906 bool temp2
= False
;
15907 PyObject
* obj0
= 0 ;
15908 PyObject
* obj1
= 0 ;
15909 char *kwnames
[] = {
15910 (char *) "self",(char *) "key", NULL
15913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
15914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15917 arg2
= wxString_in_helper(obj1
);
15918 if (arg2
== NULL
) SWIG_fail
;
15922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15923 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
15925 wxPyEndAllowThreads(__tstate
);
15926 if (PyErr_Occurred()) SWIG_fail
;
15929 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15945 static PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15946 PyObject
*resultobj
;
15947 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15949 PyObject
* obj0
= 0 ;
15950 char *kwnames
[] = {
15951 (char *) "self", NULL
15954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_DeleteAll",kwnames
,&obj0
)) goto fail
;
15955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15959 result
= (bool)(arg1
)->DeleteAll();
15961 wxPyEndAllowThreads(__tstate
);
15962 if (PyErr_Occurred()) SWIG_fail
;
15965 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15973 static PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15974 PyObject
*resultobj
;
15975 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15976 bool arg2
= (bool) True
;
15977 PyObject
* obj0
= 0 ;
15978 PyObject
* obj1
= 0 ;
15979 char *kwnames
[] = {
15980 (char *) "self",(char *) "doIt", NULL
15983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
15984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15987 arg2
= (bool) SWIG_AsBool(obj1
);
15988 if (PyErr_Occurred()) SWIG_fail
;
15991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15992 (arg1
)->SetExpandEnvVars(arg2
);
15994 wxPyEndAllowThreads(__tstate
);
15995 if (PyErr_Occurred()) SWIG_fail
;
15997 Py_INCREF(Py_None
); resultobj
= Py_None
;
16004 static PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16005 PyObject
*resultobj
;
16006 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16008 PyObject
* obj0
= 0 ;
16009 char *kwnames
[] = {
16010 (char *) "self", NULL
16013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames
,&obj0
)) goto fail
;
16014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16018 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
16020 wxPyEndAllowThreads(__tstate
);
16021 if (PyErr_Occurred()) SWIG_fail
;
16024 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16032 static PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16033 PyObject
*resultobj
;
16034 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16035 bool arg2
= (bool) True
;
16036 PyObject
* obj0
= 0 ;
16037 PyObject
* obj1
= 0 ;
16038 char *kwnames
[] = {
16039 (char *) "self",(char *) "doIt", NULL
16042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
16043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16046 arg2
= (bool) SWIG_AsBool(obj1
);
16047 if (PyErr_Occurred()) SWIG_fail
;
16050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16051 (arg1
)->SetRecordDefaults(arg2
);
16053 wxPyEndAllowThreads(__tstate
);
16054 if (PyErr_Occurred()) SWIG_fail
;
16056 Py_INCREF(Py_None
); resultobj
= Py_None
;
16063 static PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16064 PyObject
*resultobj
;
16065 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16067 PyObject
* obj0
= 0 ;
16068 char *kwnames
[] = {
16069 (char *) "self", NULL
16072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames
,&obj0
)) goto fail
;
16073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16077 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
16079 wxPyEndAllowThreads(__tstate
);
16080 if (PyErr_Occurred()) SWIG_fail
;
16083 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16091 static PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16092 PyObject
*resultobj
;
16093 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16094 wxString
*arg2
= 0 ;
16096 bool temp2
= False
;
16097 PyObject
* obj0
= 0 ;
16098 PyObject
* obj1
= 0 ;
16099 char *kwnames
[] = {
16100 (char *) "self",(char *) "str", NULL
16103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
16104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16107 arg2
= wxString_in_helper(obj1
);
16108 if (arg2
== NULL
) SWIG_fail
;
16112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16113 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
16115 wxPyEndAllowThreads(__tstate
);
16116 if (PyErr_Occurred()) SWIG_fail
;
16120 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16122 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16139 static PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16140 PyObject
*resultobj
;
16141 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16143 PyObject
* obj0
= 0 ;
16144 char *kwnames
[] = {
16145 (char *) "self", NULL
16148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetAppName",kwnames
,&obj0
)) goto fail
;
16149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16153 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
16155 wxPyEndAllowThreads(__tstate
);
16156 if (PyErr_Occurred()) SWIG_fail
;
16160 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16162 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16171 static PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16172 PyObject
*resultobj
;
16173 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16175 PyObject
* obj0
= 0 ;
16176 char *kwnames
[] = {
16177 (char *) "self", NULL
16180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetVendorName",kwnames
,&obj0
)) goto fail
;
16181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16185 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
16187 wxPyEndAllowThreads(__tstate
);
16188 if (PyErr_Occurred()) SWIG_fail
;
16192 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16194 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16203 static PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16204 PyObject
*resultobj
;
16205 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16206 wxString
*arg2
= 0 ;
16207 bool temp2
= False
;
16208 PyObject
* obj0
= 0 ;
16209 PyObject
* obj1
= 0 ;
16210 char *kwnames
[] = {
16211 (char *) "self",(char *) "appName", NULL
16214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
16215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16218 arg2
= wxString_in_helper(obj1
);
16219 if (arg2
== NULL
) SWIG_fail
;
16223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16224 (arg1
)->SetAppName((wxString
const &)*arg2
);
16226 wxPyEndAllowThreads(__tstate
);
16227 if (PyErr_Occurred()) SWIG_fail
;
16229 Py_INCREF(Py_None
); resultobj
= Py_None
;
16244 static PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16245 PyObject
*resultobj
;
16246 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16247 wxString
*arg2
= 0 ;
16248 bool temp2
= False
;
16249 PyObject
* obj0
= 0 ;
16250 PyObject
* obj1
= 0 ;
16251 char *kwnames
[] = {
16252 (char *) "self",(char *) "vendorName", NULL
16255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
16256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16259 arg2
= wxString_in_helper(obj1
);
16260 if (arg2
== NULL
) SWIG_fail
;
16264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16265 (arg1
)->SetVendorName((wxString
const &)*arg2
);
16267 wxPyEndAllowThreads(__tstate
);
16268 if (PyErr_Occurred()) SWIG_fail
;
16270 Py_INCREF(Py_None
); resultobj
= Py_None
;
16285 static PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16286 PyObject
*resultobj
;
16287 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16289 PyObject
* obj0
= 0 ;
16290 PyObject
* obj1
= 0 ;
16291 char *kwnames
[] = {
16292 (char *) "self",(char *) "style", NULL
16295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
16296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16298 arg2
= (long) SWIG_AsLong(obj1
);
16299 if (PyErr_Occurred()) SWIG_fail
;
16301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16302 (arg1
)->SetStyle(arg2
);
16304 wxPyEndAllowThreads(__tstate
);
16305 if (PyErr_Occurred()) SWIG_fail
;
16307 Py_INCREF(Py_None
); resultobj
= Py_None
;
16314 static PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16315 PyObject
*resultobj
;
16316 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16318 PyObject
* obj0
= 0 ;
16319 char *kwnames
[] = {
16320 (char *) "self", NULL
16323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetStyle",kwnames
,&obj0
)) goto fail
;
16324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16328 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
16330 wxPyEndAllowThreads(__tstate
);
16331 if (PyErr_Occurred()) SWIG_fail
;
16333 resultobj
= SWIG_FromLong((long)result
);
16340 static PyObject
* ConfigBase_swigregister(PyObject
*self
, PyObject
*args
) {
16342 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16343 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase
, obj
);
16345 return Py_BuildValue((char *)"");
16347 static PyObject
*_wrap_new_Config(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16348 PyObject
*resultobj
;
16349 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16350 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16351 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16352 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16353 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16354 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16355 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16356 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16357 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
16359 bool temp1
= False
;
16360 bool temp2
= False
;
16361 bool temp3
= False
;
16362 bool temp4
= False
;
16363 PyObject
* obj0
= 0 ;
16364 PyObject
* obj1
= 0 ;
16365 PyObject
* obj2
= 0 ;
16366 PyObject
* obj3
= 0 ;
16367 PyObject
* obj4
= 0 ;
16368 char *kwnames
[] = {
16369 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16375 arg1
= wxString_in_helper(obj0
);
16376 if (arg1
== NULL
) SWIG_fail
;
16382 arg2
= wxString_in_helper(obj1
);
16383 if (arg2
== NULL
) SWIG_fail
;
16389 arg3
= wxString_in_helper(obj2
);
16390 if (arg3
== NULL
) SWIG_fail
;
16396 arg4
= wxString_in_helper(obj3
);
16397 if (arg4
== NULL
) SWIG_fail
;
16402 arg5
= (long) SWIG_AsLong(obj4
);
16403 if (PyErr_Occurred()) SWIG_fail
;
16406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16407 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
16409 wxPyEndAllowThreads(__tstate
);
16410 if (PyErr_Occurred()) SWIG_fail
;
16412 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfig
, 1);
16451 static PyObject
*_wrap_delete_Config(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16452 PyObject
*resultobj
;
16453 wxConfig
*arg1
= (wxConfig
*) 0 ;
16454 PyObject
* obj0
= 0 ;
16455 char *kwnames
[] = {
16456 (char *) "self", NULL
16459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Config",kwnames
,&obj0
)) goto fail
;
16460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfig
,
16461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16466 wxPyEndAllowThreads(__tstate
);
16467 if (PyErr_Occurred()) SWIG_fail
;
16469 Py_INCREF(Py_None
); resultobj
= Py_None
;
16476 static PyObject
* Config_swigregister(PyObject
*self
, PyObject
*args
) {
16478 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16479 SWIG_TypeClientData(SWIGTYPE_p_wxConfig
, obj
);
16481 return Py_BuildValue((char *)"");
16483 static PyObject
*_wrap_new_FileConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16484 PyObject
*resultobj
;
16485 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16486 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16487 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16488 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16489 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16490 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16491 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16492 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16493 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
16494 wxFileConfig
*result
;
16495 bool temp1
= False
;
16496 bool temp2
= False
;
16497 bool temp3
= False
;
16498 bool temp4
= False
;
16499 PyObject
* obj0
= 0 ;
16500 PyObject
* obj1
= 0 ;
16501 PyObject
* obj2
= 0 ;
16502 PyObject
* obj3
= 0 ;
16503 PyObject
* obj4
= 0 ;
16504 char *kwnames
[] = {
16505 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16511 arg1
= wxString_in_helper(obj0
);
16512 if (arg1
== NULL
) SWIG_fail
;
16518 arg2
= wxString_in_helper(obj1
);
16519 if (arg2
== NULL
) SWIG_fail
;
16525 arg3
= wxString_in_helper(obj2
);
16526 if (arg3
== NULL
) SWIG_fail
;
16532 arg4
= wxString_in_helper(obj3
);
16533 if (arg4
== NULL
) SWIG_fail
;
16538 arg5
= (long) SWIG_AsLong(obj4
);
16539 if (PyErr_Occurred()) SWIG_fail
;
16542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16543 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
16545 wxPyEndAllowThreads(__tstate
);
16546 if (PyErr_Occurred()) SWIG_fail
;
16548 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileConfig
, 1);
16587 static PyObject
*_wrap_delete_FileConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16588 PyObject
*resultobj
;
16589 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
16590 PyObject
* obj0
= 0 ;
16591 char *kwnames
[] = {
16592 (char *) "self", NULL
16595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileConfig",kwnames
,&obj0
)) goto fail
;
16596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileConfig
,
16597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16602 wxPyEndAllowThreads(__tstate
);
16603 if (PyErr_Occurred()) SWIG_fail
;
16605 Py_INCREF(Py_None
); resultobj
= Py_None
;
16612 static PyObject
* FileConfig_swigregister(PyObject
*self
, PyObject
*args
) {
16614 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16615 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig
, obj
);
16617 return Py_BuildValue((char *)"");
16619 static PyObject
*_wrap_new_ConfigPathChanger(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16620 PyObject
*resultobj
;
16621 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16622 wxString
*arg2
= 0 ;
16623 wxConfigPathChanger
*result
;
16624 bool temp2
= False
;
16625 PyObject
* obj0
= 0 ;
16626 PyObject
* obj1
= 0 ;
16627 char *kwnames
[] = {
16628 (char *) "config",(char *) "entry", NULL
16631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) goto fail
;
16632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16635 arg2
= wxString_in_helper(obj1
);
16636 if (arg2
== NULL
) SWIG_fail
;
16640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16641 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
16643 wxPyEndAllowThreads(__tstate
);
16644 if (PyErr_Occurred()) SWIG_fail
;
16646 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigPathChanger
, 1);
16661 static PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16662 PyObject
*resultobj
;
16663 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
16664 PyObject
* obj0
= 0 ;
16665 char *kwnames
[] = {
16666 (char *) "self", NULL
16669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigPathChanger",kwnames
,&obj0
)) goto fail
;
16670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigPathChanger
,
16671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16676 wxPyEndAllowThreads(__tstate
);
16677 if (PyErr_Occurred()) SWIG_fail
;
16679 Py_INCREF(Py_None
); resultobj
= Py_None
;
16686 static PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16687 PyObject
*resultobj
;
16688 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
16690 PyObject
* obj0
= 0 ;
16691 char *kwnames
[] = {
16692 (char *) "self", NULL
16695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigPathChanger_Name",kwnames
,&obj0
)) goto fail
;
16696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigPathChanger
,
16697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16701 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
16702 result
= (wxString
*) &_result_ref
;
16705 wxPyEndAllowThreads(__tstate
);
16706 if (PyErr_Occurred()) SWIG_fail
;
16710 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16712 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16721 static PyObject
* ConfigPathChanger_swigregister(PyObject
*self
, PyObject
*args
) {
16723 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16724 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger
, obj
);
16726 return Py_BuildValue((char *)"");
16728 static PyObject
*_wrap_ExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16729 PyObject
*resultobj
;
16730 wxString
*arg1
= 0 ;
16732 bool temp1
= False
;
16733 PyObject
* obj0
= 0 ;
16734 char *kwnames
[] = {
16735 (char *) "sz", NULL
16738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) goto fail
;
16740 arg1
= wxString_in_helper(obj0
);
16741 if (arg1
== NULL
) SWIG_fail
;
16745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16746 result
= wxExpandEnvVars((wxString
const &)*arg1
);
16748 wxPyEndAllowThreads(__tstate
);
16749 if (PyErr_Occurred()) SWIG_fail
;
16753 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16755 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16772 static int _wrap_DateFormatStr_set(PyObject
*_val
) {
16773 PyErr_SetString(PyExc_TypeError
,"Variable DateFormatStr is read-only.");
16778 static PyObject
*_wrap_DateFormatStr_get() {
16783 pyobj
= PyUnicode_FromWideChar((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
16785 pyobj
= PyString_FromStringAndSize((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
16792 static int _wrap_TimeSpanFormatStr_set(PyObject
*_val
) {
16793 PyErr_SetString(PyExc_TypeError
,"Variable TimeSpanFormatStr is read-only.");
16798 static PyObject
*_wrap_TimeSpanFormatStr_get() {
16803 pyobj
= PyUnicode_FromWideChar((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
16805 pyobj
= PyString_FromStringAndSize((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
16812 static PyObject
*_wrap_DateTime_SetCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16813 PyObject
*resultobj
;
16815 PyObject
* obj0
= 0 ;
16816 char *kwnames
[] = {
16817 (char *) "country", NULL
16820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) goto fail
;
16821 arg1
= (wxDateTime::Country
) SWIG_AsInt(obj0
);
16822 if (PyErr_Occurred()) SWIG_fail
;
16824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16825 wxDateTime::SetCountry((wxDateTime::Country
)arg1
);
16827 wxPyEndAllowThreads(__tstate
);
16828 if (PyErr_Occurred()) SWIG_fail
;
16830 Py_INCREF(Py_None
); resultobj
= Py_None
;
16837 static PyObject
*_wrap_DateTime_GetCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16838 PyObject
*resultobj
;
16840 char *kwnames
[] = {
16844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetCountry",kwnames
)) goto fail
;
16846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16847 result
= (int)wxDateTime::GetCountry();
16849 wxPyEndAllowThreads(__tstate
);
16850 if (PyErr_Occurred()) SWIG_fail
;
16852 resultobj
= SWIG_FromInt((int)result
);
16859 static PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16860 PyObject
*resultobj
;
16861 int arg1
= (int) wxDateTime::Country_Default
;
16863 PyObject
* obj0
= 0 ;
16864 char *kwnames
[] = {
16865 (char *) "country", NULL
16868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) goto fail
;
16870 arg1
= (wxDateTime::Country
) SWIG_AsInt(obj0
);
16871 if (PyErr_Occurred()) SWIG_fail
;
16874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16875 result
= (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country
)arg1
);
16877 wxPyEndAllowThreads(__tstate
);
16878 if (PyErr_Occurred()) SWIG_fail
;
16881 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16889 static PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16890 PyObject
*resultobj
;
16891 int arg1
= (int) wxDateTime::Gregorian
;
16893 PyObject
* obj0
= 0 ;
16894 char *kwnames
[] = {
16895 (char *) "cal", NULL
16898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) goto fail
;
16900 arg1
= (wxDateTime::Calendar
) SWIG_AsInt(obj0
);
16901 if (PyErr_Occurred()) SWIG_fail
;
16904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16905 result
= (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar
)arg1
);
16907 wxPyEndAllowThreads(__tstate
);
16908 if (PyErr_Occurred()) SWIG_fail
;
16910 resultobj
= SWIG_FromInt((int)result
);
16917 static PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16918 PyObject
*resultobj
;
16921 PyObject
* obj0
= 0 ;
16922 char *kwnames
[] = {
16923 (char *) "year", NULL
16926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) goto fail
;
16927 arg1
= (int) SWIG_AsInt(obj0
);
16928 if (PyErr_Occurred()) SWIG_fail
;
16930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16931 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
16933 wxPyEndAllowThreads(__tstate
);
16934 if (PyErr_Occurred()) SWIG_fail
;
16936 resultobj
= SWIG_FromInt((int)result
);
16943 static PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16944 PyObject
*resultobj
;
16945 int arg1
= (int) wxDateTime::Gregorian
;
16947 PyObject
* obj0
= 0 ;
16948 char *kwnames
[] = {
16949 (char *) "cal", NULL
16952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",kwnames
,&obj0
)) goto fail
;
16954 arg1
= (wxDateTime::Calendar
) SWIG_AsInt(obj0
);
16955 if (PyErr_Occurred()) SWIG_fail
;
16958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16959 result
= (int)wxDateTime::GetCurrentMonth((wxDateTime::Calendar
)arg1
);
16961 wxPyEndAllowThreads(__tstate
);
16962 if (PyErr_Occurred()) SWIG_fail
;
16964 resultobj
= SWIG_FromInt((int)result
);
16971 static PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16972 PyObject
*resultobj
;
16973 int arg1
= (int) wxDateTime::Inv_Year
;
16974 int arg2
= (int) wxDateTime::Gregorian
;
16976 PyObject
* obj0
= 0 ;
16977 PyObject
* obj1
= 0 ;
16978 char *kwnames
[] = {
16979 (char *) "year",(char *) "cal", NULL
16982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) goto fail
;
16984 arg1
= (int) SWIG_AsInt(obj0
);
16985 if (PyErr_Occurred()) SWIG_fail
;
16988 arg2
= (wxDateTime::Calendar
) SWIG_AsInt(obj1
);
16989 if (PyErr_Occurred()) SWIG_fail
;
16992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16993 result
= (bool)wxDateTime::IsLeapYear(arg1
,(wxDateTime::Calendar
)arg2
);
16995 wxPyEndAllowThreads(__tstate
);
16996 if (PyErr_Occurred()) SWIG_fail
;
16999 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17007 static PyObject
*_wrap_DateTime_GetCentury(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17008 PyObject
*resultobj
;
17009 int arg1
= (int) wxDateTime::Inv_Year
;
17011 PyObject
* obj0
= 0 ;
17012 char *kwnames
[] = {
17013 (char *) "year", NULL
17016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) goto fail
;
17018 arg1
= (int) SWIG_AsInt(obj0
);
17019 if (PyErr_Occurred()) SWIG_fail
;
17022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17023 result
= (int)wxDateTime::GetCentury(arg1
);
17025 wxPyEndAllowThreads(__tstate
);
17026 if (PyErr_Occurred()) SWIG_fail
;
17028 resultobj
= SWIG_FromInt((int)result
);
17035 static PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17036 PyObject
*resultobj
;
17038 int arg2
= (int) wxDateTime::Gregorian
;
17040 PyObject
* obj0
= 0 ;
17041 PyObject
* obj1
= 0 ;
17042 char *kwnames
[] = {
17043 (char *) "year",(char *) "cal", NULL
17046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) goto fail
;
17047 arg1
= (int) SWIG_AsInt(obj0
);
17048 if (PyErr_Occurred()) SWIG_fail
;
17050 arg2
= (wxDateTime::Calendar
) SWIG_AsInt(obj1
);
17051 if (PyErr_Occurred()) SWIG_fail
;
17054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17055 result
= (int)wxDateTime::GetNumberOfDays(arg1
,(wxDateTime::Calendar
)arg2
);
17057 wxPyEndAllowThreads(__tstate
);
17058 if (PyErr_Occurred()) SWIG_fail
;
17060 resultobj
= SWIG_FromInt((int)result
);
17067 static PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17068 PyObject
*resultobj
;
17070 int arg2
= (int) wxDateTime::Inv_Year
;
17071 int arg3
= (int) wxDateTime::Gregorian
;
17073 PyObject
* obj0
= 0 ;
17074 PyObject
* obj1
= 0 ;
17075 PyObject
* obj2
= 0 ;
17076 char *kwnames
[] = {
17077 (char *) "month",(char *) "year",(char *) "cal", NULL
17080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17081 arg1
= (wxDateTime::Month
) SWIG_AsInt(obj0
);
17082 if (PyErr_Occurred()) SWIG_fail
;
17084 arg2
= (int) SWIG_AsInt(obj1
);
17085 if (PyErr_Occurred()) SWIG_fail
;
17088 arg3
= (wxDateTime::Calendar
) SWIG_AsInt(obj2
);
17089 if (PyErr_Occurred()) SWIG_fail
;
17092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17093 result
= (int)wxDateTime::GetNumberOfDays((wxDateTime::Month
)arg1
,arg2
,(wxDateTime::Calendar
)arg3
);
17095 wxPyEndAllowThreads(__tstate
);
17096 if (PyErr_Occurred()) SWIG_fail
;
17098 resultobj
= SWIG_FromInt((int)result
);
17105 static PyObject
*_wrap_DateTime_GetMonthName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17106 PyObject
*resultobj
;
17108 int arg2
= (int) wxDateTime::Name_Full
;
17110 PyObject
* obj0
= 0 ;
17111 PyObject
* obj1
= 0 ;
17112 char *kwnames
[] = {
17113 (char *) "month",(char *) "flags", NULL
17116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) goto fail
;
17117 arg1
= (wxDateTime::Month
) SWIG_AsInt(obj0
);
17118 if (PyErr_Occurred()) SWIG_fail
;
17120 arg2
= (wxDateTime::NameFlags
) SWIG_AsInt(obj1
);
17121 if (PyErr_Occurred()) SWIG_fail
;
17124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17125 result
= wxDateTime::GetMonthName((wxDateTime::Month
)arg1
,(wxDateTime::NameFlags
)arg2
);
17127 wxPyEndAllowThreads(__tstate
);
17128 if (PyErr_Occurred()) SWIG_fail
;
17132 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17134 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17143 static PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17144 PyObject
*resultobj
;
17146 int arg2
= (int) wxDateTime::Name_Full
;
17148 PyObject
* obj0
= 0 ;
17149 PyObject
* obj1
= 0 ;
17150 char *kwnames
[] = {
17151 (char *) "weekday",(char *) "flags", NULL
17154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) goto fail
;
17155 arg1
= (wxDateTime::WeekDay
) SWIG_AsInt(obj0
);
17156 if (PyErr_Occurred()) SWIG_fail
;
17158 arg2
= (wxDateTime::NameFlags
) SWIG_AsInt(obj1
);
17159 if (PyErr_Occurred()) SWIG_fail
;
17162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17163 result
= wxDateTime::GetWeekDayName((wxDateTime::WeekDay
)arg1
,(wxDateTime::NameFlags
)arg2
);
17165 wxPyEndAllowThreads(__tstate
);
17166 if (PyErr_Occurred()) SWIG_fail
;
17170 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17172 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17181 static PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17182 PyObject
*resultobj
;
17183 wxString
*arg1
= (wxString
*) 0 ;
17184 wxString
*arg2
= (wxString
*) 0 ;
17185 bool temp1
= False
;
17186 bool temp2
= False
;
17187 PyObject
* obj0
= 0 ;
17188 PyObject
* obj1
= 0 ;
17189 char *kwnames
[] = {
17190 (char *) "OUTPUT",(char *) "OUTPUT", NULL
17193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetAmPmStrings",kwnames
,&obj0
,&obj1
)) goto fail
;
17195 arg1
= wxString_in_helper(obj0
);
17196 if (arg1
== NULL
) SWIG_fail
;
17200 arg2
= wxString_in_helper(obj1
);
17201 if (arg2
== NULL
) SWIG_fail
;
17205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17206 wxDateTime::GetAmPmStrings(arg1
,arg2
);
17208 wxPyEndAllowThreads(__tstate
);
17209 if (PyErr_Occurred()) SWIG_fail
;
17211 Py_INCREF(Py_None
); resultobj
= Py_None
;
17234 static PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17235 PyObject
*resultobj
;
17236 int arg1
= (int) wxDateTime::Inv_Year
;
17237 int arg2
= (int) wxDateTime::Country_Default
;
17239 PyObject
* obj0
= 0 ;
17240 PyObject
* obj1
= 0 ;
17241 char *kwnames
[] = {
17242 (char *) "year",(char *) "country", NULL
17245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) goto fail
;
17247 arg1
= (int) SWIG_AsInt(obj0
);
17248 if (PyErr_Occurred()) SWIG_fail
;
17251 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
17252 if (PyErr_Occurred()) SWIG_fail
;
17255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17256 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,(wxDateTime::Country
)arg2
);
17258 wxPyEndAllowThreads(__tstate
);
17259 if (PyErr_Occurred()) SWIG_fail
;
17262 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17270 static PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17271 PyObject
*resultobj
;
17272 int arg1
= (int) wxDateTime::Inv_Year
;
17273 int arg2
= (int) wxDateTime::Country_Default
;
17275 PyObject
* obj0
= 0 ;
17276 PyObject
* obj1
= 0 ;
17277 char *kwnames
[] = {
17278 (char *) "year",(char *) "country", NULL
17281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetBeginDST",kwnames
,&obj0
,&obj1
)) goto fail
;
17283 arg1
= (int) SWIG_AsInt(obj0
);
17284 if (PyErr_Occurred()) SWIG_fail
;
17287 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
17288 if (PyErr_Occurred()) SWIG_fail
;
17291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17292 result
= wxDateTime::GetBeginDST(arg1
,(wxDateTime::Country
)arg2
);
17294 wxPyEndAllowThreads(__tstate
);
17295 if (PyErr_Occurred()) SWIG_fail
;
17298 wxDateTime
* resultptr
;
17299 resultptr
= new wxDateTime((wxDateTime
&) result
);
17300 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17308 static PyObject
*_wrap_DateTime_GetEndDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17309 PyObject
*resultobj
;
17310 int arg1
= (int) wxDateTime::Inv_Year
;
17311 int arg2
= (int) wxDateTime::Country_Default
;
17313 PyObject
* obj0
= 0 ;
17314 PyObject
* obj1
= 0 ;
17315 char *kwnames
[] = {
17316 (char *) "year",(char *) "country", NULL
17319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) goto fail
;
17321 arg1
= (int) SWIG_AsInt(obj0
);
17322 if (PyErr_Occurred()) SWIG_fail
;
17325 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
17326 if (PyErr_Occurred()) SWIG_fail
;
17329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17330 result
= wxDateTime::GetEndDST(arg1
,(wxDateTime::Country
)arg2
);
17332 wxPyEndAllowThreads(__tstate
);
17333 if (PyErr_Occurred()) SWIG_fail
;
17336 wxDateTime
* resultptr
;
17337 resultptr
= new wxDateTime((wxDateTime
&) result
);
17338 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17346 static PyObject
*_wrap_DateTime_Now(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17347 PyObject
*resultobj
;
17349 char *kwnames
[] = {
17353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Now",kwnames
)) goto fail
;
17355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17356 result
= wxDateTime::Now();
17358 wxPyEndAllowThreads(__tstate
);
17359 if (PyErr_Occurred()) SWIG_fail
;
17362 wxDateTime
* resultptr
;
17363 resultptr
= new wxDateTime((wxDateTime
&) result
);
17364 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17372 static PyObject
*_wrap_DateTime_UNow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17373 PyObject
*resultobj
;
17375 char *kwnames
[] = {
17379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_UNow",kwnames
)) goto fail
;
17381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17382 result
= wxDateTime::UNow();
17384 wxPyEndAllowThreads(__tstate
);
17385 if (PyErr_Occurred()) SWIG_fail
;
17388 wxDateTime
* resultptr
;
17389 resultptr
= new wxDateTime((wxDateTime
&) result
);
17390 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17398 static PyObject
*_wrap_DateTime_Today(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17399 PyObject
*resultobj
;
17401 char *kwnames
[] = {
17405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Today",kwnames
)) goto fail
;
17407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17408 result
= wxDateTime::Today();
17410 wxPyEndAllowThreads(__tstate
);
17411 if (PyErr_Occurred()) SWIG_fail
;
17414 wxDateTime
* resultptr
;
17415 resultptr
= new wxDateTime((wxDateTime
&) result
);
17416 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17424 static PyObject
*_wrap_new_DateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17425 PyObject
*resultobj
;
17426 wxDateTime
*result
;
17427 char *kwnames
[] = {
17431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DateTime",kwnames
)) goto fail
;
17433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17434 result
= (wxDateTime
*)new wxDateTime();
17436 wxPyEndAllowThreads(__tstate
);
17437 if (PyErr_Occurred()) SWIG_fail
;
17439 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17446 static PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17447 PyObject
*resultobj
;
17449 wxDateTime
*result
;
17450 PyObject
* obj0
= 0 ;
17451 char *kwnames
[] = {
17452 (char *) "timet", NULL
17455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) goto fail
;
17456 arg1
= (time_t) SWIG_AsUnsignedInt(obj0
);
17457 if (PyErr_Occurred()) SWIG_fail
;
17459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17460 result
= (wxDateTime
*)new wxDateTime(arg1
);
17462 wxPyEndAllowThreads(__tstate
);
17463 if (PyErr_Occurred()) SWIG_fail
;
17465 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17472 static PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17473 PyObject
*resultobj
;
17475 wxDateTime
*result
;
17476 PyObject
* obj0
= 0 ;
17477 char *kwnames
[] = {
17478 (char *) "jdn", NULL
17481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) goto fail
;
17482 arg1
= (double) SWIG_AsDouble(obj0
);
17483 if (PyErr_Occurred()) SWIG_fail
;
17485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17486 result
= (wxDateTime
*)new wxDateTime(arg1
);
17488 wxPyEndAllowThreads(__tstate
);
17489 if (PyErr_Occurred()) SWIG_fail
;
17491 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17498 static PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17499 PyObject
*resultobj
;
17501 int arg2
= (int) 0 ;
17502 int arg3
= (int) 0 ;
17503 int arg4
= (int) 0 ;
17504 wxDateTime
*result
;
17505 PyObject
* obj0
= 0 ;
17506 PyObject
* obj1
= 0 ;
17507 PyObject
* obj2
= 0 ;
17508 PyObject
* obj3
= 0 ;
17509 char *kwnames
[] = {
17510 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17514 arg1
= (int) SWIG_AsInt(obj0
);
17515 if (PyErr_Occurred()) SWIG_fail
;
17517 arg2
= (int) SWIG_AsInt(obj1
);
17518 if (PyErr_Occurred()) SWIG_fail
;
17521 arg3
= (int) SWIG_AsInt(obj2
);
17522 if (PyErr_Occurred()) SWIG_fail
;
17525 arg4
= (int) SWIG_AsInt(obj3
);
17526 if (PyErr_Occurred()) SWIG_fail
;
17529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17530 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
17532 wxPyEndAllowThreads(__tstate
);
17533 if (PyErr_Occurred()) SWIG_fail
;
17535 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17542 static PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17543 PyObject
*resultobj
;
17545 int arg2
= (int) wxDateTime::Inv_Month
;
17546 int arg3
= (int) wxDateTime::Inv_Year
;
17547 int arg4
= (int) 0 ;
17548 int arg5
= (int) 0 ;
17549 int arg6
= (int) 0 ;
17550 int arg7
= (int) 0 ;
17551 wxDateTime
*result
;
17552 PyObject
* obj0
= 0 ;
17553 PyObject
* obj1
= 0 ;
17554 PyObject
* obj2
= 0 ;
17555 PyObject
* obj3
= 0 ;
17556 PyObject
* obj4
= 0 ;
17557 PyObject
* obj5
= 0 ;
17558 PyObject
* obj6
= 0 ;
17559 char *kwnames
[] = {
17560 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17564 arg1
= (int) SWIG_AsInt(obj0
);
17565 if (PyErr_Occurred()) SWIG_fail
;
17567 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
17568 if (PyErr_Occurred()) SWIG_fail
;
17571 arg3
= (int) SWIG_AsInt(obj2
);
17572 if (PyErr_Occurred()) SWIG_fail
;
17575 arg4
= (int) SWIG_AsInt(obj3
);
17576 if (PyErr_Occurred()) SWIG_fail
;
17579 arg5
= (int) SWIG_AsInt(obj4
);
17580 if (PyErr_Occurred()) SWIG_fail
;
17583 arg6
= (int) SWIG_AsInt(obj5
);
17584 if (PyErr_Occurred()) SWIG_fail
;
17587 arg7
= (int) SWIG_AsInt(obj6
);
17588 if (PyErr_Occurred()) SWIG_fail
;
17591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17592 result
= (wxDateTime
*)new wxDateTime(arg1
,(wxDateTime::Month
)arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
17594 wxPyEndAllowThreads(__tstate
);
17595 if (PyErr_Occurred()) SWIG_fail
;
17597 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17604 static PyObject
*_wrap_delete_DateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17605 PyObject
*resultobj
;
17606 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17607 PyObject
* obj0
= 0 ;
17608 char *kwnames
[] = {
17609 (char *) "self", NULL
17612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateTime",kwnames
,&obj0
)) goto fail
;
17613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17619 wxPyEndAllowThreads(__tstate
);
17620 if (PyErr_Occurred()) SWIG_fail
;
17622 Py_INCREF(Py_None
); resultobj
= Py_None
;
17629 static PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17630 PyObject
*resultobj
;
17631 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17632 wxDateTime
*result
;
17633 PyObject
* obj0
= 0 ;
17634 char *kwnames
[] = {
17635 (char *) "self", NULL
17638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetToCurrent",kwnames
,&obj0
)) goto fail
;
17639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17644 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
17645 result
= (wxDateTime
*) &_result_ref
;
17648 wxPyEndAllowThreads(__tstate
);
17649 if (PyErr_Occurred()) SWIG_fail
;
17651 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17658 static PyObject
*_wrap_DateTime_SetTimeT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17659 PyObject
*resultobj
;
17660 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17662 wxDateTime
*result
;
17663 PyObject
* obj0
= 0 ;
17664 PyObject
* obj1
= 0 ;
17665 char *kwnames
[] = {
17666 (char *) "self",(char *) "timet", NULL
17669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) goto fail
;
17670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17672 arg2
= (time_t) SWIG_AsUnsignedInt(obj1
);
17673 if (PyErr_Occurred()) SWIG_fail
;
17675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17677 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
17678 result
= (wxDateTime
*) &_result_ref
;
17681 wxPyEndAllowThreads(__tstate
);
17682 if (PyErr_Occurred()) SWIG_fail
;
17684 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17691 static PyObject
*_wrap_DateTime_SetJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17692 PyObject
*resultobj
;
17693 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17695 wxDateTime
*result
;
17696 PyObject
* obj0
= 0 ;
17697 PyObject
* obj1
= 0 ;
17698 char *kwnames
[] = {
17699 (char *) "self",(char *) "jdn", NULL
17702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) goto fail
;
17703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17705 arg2
= (double) SWIG_AsDouble(obj1
);
17706 if (PyErr_Occurred()) SWIG_fail
;
17708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17710 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
17711 result
= (wxDateTime
*) &_result_ref
;
17714 wxPyEndAllowThreads(__tstate
);
17715 if (PyErr_Occurred()) SWIG_fail
;
17717 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17724 static PyObject
*_wrap_DateTime_SetHMS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17725 PyObject
*resultobj
;
17726 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17728 int arg3
= (int) 0 ;
17729 int arg4
= (int) 0 ;
17730 int arg5
= (int) 0 ;
17731 wxDateTime
*result
;
17732 PyObject
* obj0
= 0 ;
17733 PyObject
* obj1
= 0 ;
17734 PyObject
* obj2
= 0 ;
17735 PyObject
* obj3
= 0 ;
17736 PyObject
* obj4
= 0 ;
17737 char *kwnames
[] = {
17738 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17744 arg2
= (int) SWIG_AsInt(obj1
);
17745 if (PyErr_Occurred()) SWIG_fail
;
17747 arg3
= (int) SWIG_AsInt(obj2
);
17748 if (PyErr_Occurred()) SWIG_fail
;
17751 arg4
= (int) SWIG_AsInt(obj3
);
17752 if (PyErr_Occurred()) SWIG_fail
;
17755 arg5
= (int) SWIG_AsInt(obj4
);
17756 if (PyErr_Occurred()) SWIG_fail
;
17759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17761 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
17762 result
= (wxDateTime
*) &_result_ref
;
17765 wxPyEndAllowThreads(__tstate
);
17766 if (PyErr_Occurred()) SWIG_fail
;
17768 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17775 static PyObject
*_wrap_DateTime_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17776 PyObject
*resultobj
;
17777 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17779 int arg3
= (int) wxDateTime::Inv_Month
;
17780 int arg4
= (int) wxDateTime::Inv_Year
;
17781 int arg5
= (int) 0 ;
17782 int arg6
= (int) 0 ;
17783 int arg7
= (int) 0 ;
17784 int arg8
= (int) 0 ;
17785 wxDateTime
*result
;
17786 PyObject
* obj0
= 0 ;
17787 PyObject
* obj1
= 0 ;
17788 PyObject
* obj2
= 0 ;
17789 PyObject
* obj3
= 0 ;
17790 PyObject
* obj4
= 0 ;
17791 PyObject
* obj5
= 0 ;
17792 PyObject
* obj6
= 0 ;
17793 PyObject
* obj7
= 0 ;
17794 char *kwnames
[] = {
17795 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
17799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17801 arg2
= (int) SWIG_AsInt(obj1
);
17802 if (PyErr_Occurred()) SWIG_fail
;
17804 arg3
= (wxDateTime::Month
) SWIG_AsInt(obj2
);
17805 if (PyErr_Occurred()) SWIG_fail
;
17808 arg4
= (int) SWIG_AsInt(obj3
);
17809 if (PyErr_Occurred()) SWIG_fail
;
17812 arg5
= (int) SWIG_AsInt(obj4
);
17813 if (PyErr_Occurred()) SWIG_fail
;
17816 arg6
= (int) SWIG_AsInt(obj5
);
17817 if (PyErr_Occurred()) SWIG_fail
;
17820 arg7
= (int) SWIG_AsInt(obj6
);
17821 if (PyErr_Occurred()) SWIG_fail
;
17824 arg8
= (int) SWIG_AsInt(obj7
);
17825 if (PyErr_Occurred()) SWIG_fail
;
17828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17830 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,(wxDateTime::Month
)arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
17831 result
= (wxDateTime
*) &_result_ref
;
17834 wxPyEndAllowThreads(__tstate
);
17835 if (PyErr_Occurred()) SWIG_fail
;
17837 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17844 static PyObject
*_wrap_DateTime_ResetTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17845 PyObject
*resultobj
;
17846 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17847 wxDateTime
*result
;
17848 PyObject
* obj0
= 0 ;
17849 char *kwnames
[] = {
17850 (char *) "self", NULL
17853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ResetTime",kwnames
,&obj0
)) goto fail
;
17854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17859 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
17860 result
= (wxDateTime
*) &_result_ref
;
17863 wxPyEndAllowThreads(__tstate
);
17864 if (PyErr_Occurred()) SWIG_fail
;
17866 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17873 static PyObject
*_wrap_DateTime_SetYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17874 PyObject
*resultobj
;
17875 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17877 wxDateTime
*result
;
17878 PyObject
* obj0
= 0 ;
17879 PyObject
* obj1
= 0 ;
17880 char *kwnames
[] = {
17881 (char *) "self",(char *) "year", NULL
17884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
17885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17887 arg2
= (int) SWIG_AsInt(obj1
);
17888 if (PyErr_Occurred()) SWIG_fail
;
17890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17892 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
17893 result
= (wxDateTime
*) &_result_ref
;
17896 wxPyEndAllowThreads(__tstate
);
17897 if (PyErr_Occurred()) SWIG_fail
;
17899 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17906 static PyObject
*_wrap_DateTime_SetMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17907 PyObject
*resultobj
;
17908 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17910 wxDateTime
*result
;
17911 PyObject
* obj0
= 0 ;
17912 PyObject
* obj1
= 0 ;
17913 char *kwnames
[] = {
17914 (char *) "self",(char *) "month", NULL
17917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
17918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17920 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
17921 if (PyErr_Occurred()) SWIG_fail
;
17923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17925 wxDateTime
&_result_ref
= (arg1
)->SetMonth((wxDateTime::Month
)arg2
);
17926 result
= (wxDateTime
*) &_result_ref
;
17929 wxPyEndAllowThreads(__tstate
);
17930 if (PyErr_Occurred()) SWIG_fail
;
17932 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17939 static PyObject
*_wrap_DateTime_SetDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17940 PyObject
*resultobj
;
17941 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17943 wxDateTime
*result
;
17944 PyObject
* obj0
= 0 ;
17945 PyObject
* obj1
= 0 ;
17946 char *kwnames
[] = {
17947 (char *) "self",(char *) "day", NULL
17950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
17951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17953 arg2
= (int) SWIG_AsInt(obj1
);
17954 if (PyErr_Occurred()) SWIG_fail
;
17956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17958 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
17959 result
= (wxDateTime
*) &_result_ref
;
17962 wxPyEndAllowThreads(__tstate
);
17963 if (PyErr_Occurred()) SWIG_fail
;
17965 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17972 static PyObject
*_wrap_DateTime_SetHour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17973 PyObject
*resultobj
;
17974 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17976 wxDateTime
*result
;
17977 PyObject
* obj0
= 0 ;
17978 PyObject
* obj1
= 0 ;
17979 char *kwnames
[] = {
17980 (char *) "self",(char *) "hour", NULL
17983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
17984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17986 arg2
= (int) SWIG_AsInt(obj1
);
17987 if (PyErr_Occurred()) SWIG_fail
;
17989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17991 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
17992 result
= (wxDateTime
*) &_result_ref
;
17995 wxPyEndAllowThreads(__tstate
);
17996 if (PyErr_Occurred()) SWIG_fail
;
17998 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18005 static PyObject
*_wrap_DateTime_SetMinute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18006 PyObject
*resultobj
;
18007 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18009 wxDateTime
*result
;
18010 PyObject
* obj0
= 0 ;
18011 PyObject
* obj1
= 0 ;
18012 char *kwnames
[] = {
18013 (char *) "self",(char *) "minute", NULL
18016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
18017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18019 arg2
= (int) SWIG_AsInt(obj1
);
18020 if (PyErr_Occurred()) SWIG_fail
;
18022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18024 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
18025 result
= (wxDateTime
*) &_result_ref
;
18028 wxPyEndAllowThreads(__tstate
);
18029 if (PyErr_Occurred()) SWIG_fail
;
18031 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18038 static PyObject
*_wrap_DateTime_SetSecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18039 PyObject
*resultobj
;
18040 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18042 wxDateTime
*result
;
18043 PyObject
* obj0
= 0 ;
18044 PyObject
* obj1
= 0 ;
18045 char *kwnames
[] = {
18046 (char *) "self",(char *) "second", NULL
18049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
18050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18052 arg2
= (int) SWIG_AsInt(obj1
);
18053 if (PyErr_Occurred()) SWIG_fail
;
18055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18057 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
18058 result
= (wxDateTime
*) &_result_ref
;
18061 wxPyEndAllowThreads(__tstate
);
18062 if (PyErr_Occurred()) SWIG_fail
;
18064 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18071 static PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18072 PyObject
*resultobj
;
18073 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18075 wxDateTime
*result
;
18076 PyObject
* obj0
= 0 ;
18077 PyObject
* obj1
= 0 ;
18078 char *kwnames
[] = {
18079 (char *) "self",(char *) "millisecond", NULL
18082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
18083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18085 arg2
= (int) SWIG_AsInt(obj1
);
18086 if (PyErr_Occurred()) SWIG_fail
;
18088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18090 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
18091 result
= (wxDateTime
*) &_result_ref
;
18094 wxPyEndAllowThreads(__tstate
);
18095 if (PyErr_Occurred()) SWIG_fail
;
18097 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18104 static PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18105 PyObject
*resultobj
;
18106 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18108 int arg3
= (int) wxDateTime::Monday_First
;
18109 wxDateTime
*result
;
18110 PyObject
* obj0
= 0 ;
18111 PyObject
* obj1
= 0 ;
18112 PyObject
* obj2
= 0 ;
18113 char *kwnames
[] = {
18114 (char *) "self",(char *) "weekday",(char *) "flags", NULL
18117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18120 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18121 if (PyErr_Occurred()) SWIG_fail
;
18123 arg3
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj2
);
18124 if (PyErr_Occurred()) SWIG_fail
;
18127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18129 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
18130 result
= (wxDateTime
*) &_result_ref
;
18133 wxPyEndAllowThreads(__tstate
);
18134 if (PyErr_Occurred()) SWIG_fail
;
18136 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18143 static PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18144 PyObject
*resultobj
;
18145 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18147 int arg3
= (int) wxDateTime::Monday_First
;
18149 PyObject
* obj0
= 0 ;
18150 PyObject
* obj1
= 0 ;
18151 PyObject
* obj2
= 0 ;
18152 char *kwnames
[] = {
18153 (char *) "self",(char *) "weekday",(char *) "flags", NULL
18156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18159 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18160 if (PyErr_Occurred()) SWIG_fail
;
18162 arg3
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj2
);
18163 if (PyErr_Occurred()) SWIG_fail
;
18166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18167 result
= (arg1
)->GetWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
18169 wxPyEndAllowThreads(__tstate
);
18170 if (PyErr_Occurred()) SWIG_fail
;
18173 wxDateTime
* resultptr
;
18174 resultptr
= new wxDateTime((wxDateTime
&) result
);
18175 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18183 static PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18184 PyObject
*resultobj
;
18185 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18187 wxDateTime
*result
;
18188 PyObject
* obj0
= 0 ;
18189 PyObject
* obj1
= 0 ;
18190 char *kwnames
[] = {
18191 (char *) "self",(char *) "weekday", NULL
18194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18197 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18198 if (PyErr_Occurred()) SWIG_fail
;
18200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18202 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay((wxDateTime::WeekDay
)arg2
);
18203 result
= (wxDateTime
*) &_result_ref
;
18206 wxPyEndAllowThreads(__tstate
);
18207 if (PyErr_Occurred()) SWIG_fail
;
18209 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18216 static PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18217 PyObject
*resultobj
;
18218 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18221 PyObject
* obj0
= 0 ;
18222 PyObject
* obj1
= 0 ;
18223 char *kwnames
[] = {
18224 (char *) "self",(char *) "weekday", NULL
18227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18230 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18231 if (PyErr_Occurred()) SWIG_fail
;
18233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18234 result
= (arg1
)->GetNextWeekDay((wxDateTime::WeekDay
)arg2
);
18236 wxPyEndAllowThreads(__tstate
);
18237 if (PyErr_Occurred()) SWIG_fail
;
18240 wxDateTime
* resultptr
;
18241 resultptr
= new wxDateTime((wxDateTime
&) result
);
18242 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18250 static PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18251 PyObject
*resultobj
;
18252 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18254 wxDateTime
*result
;
18255 PyObject
* obj0
= 0 ;
18256 PyObject
* obj1
= 0 ;
18257 char *kwnames
[] = {
18258 (char *) "self",(char *) "weekday", NULL
18261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18264 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18265 if (PyErr_Occurred()) SWIG_fail
;
18267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18269 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay((wxDateTime::WeekDay
)arg2
);
18270 result
= (wxDateTime
*) &_result_ref
;
18273 wxPyEndAllowThreads(__tstate
);
18274 if (PyErr_Occurred()) SWIG_fail
;
18276 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18283 static PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18284 PyObject
*resultobj
;
18285 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18288 PyObject
* obj0
= 0 ;
18289 PyObject
* obj1
= 0 ;
18290 char *kwnames
[] = {
18291 (char *) "self",(char *) "weekday", NULL
18294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18297 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18298 if (PyErr_Occurred()) SWIG_fail
;
18300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18301 result
= (arg1
)->GetPrevWeekDay((wxDateTime::WeekDay
)arg2
);
18303 wxPyEndAllowThreads(__tstate
);
18304 if (PyErr_Occurred()) SWIG_fail
;
18307 wxDateTime
* resultptr
;
18308 resultptr
= new wxDateTime((wxDateTime
&) result
);
18309 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18317 static PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18318 PyObject
*resultobj
;
18319 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18321 int arg3
= (int) 1 ;
18322 int arg4
= (int) wxDateTime::Inv_Month
;
18323 int arg5
= (int) wxDateTime::Inv_Year
;
18325 PyObject
* obj0
= 0 ;
18326 PyObject
* obj1
= 0 ;
18327 PyObject
* obj2
= 0 ;
18328 PyObject
* obj3
= 0 ;
18329 PyObject
* obj4
= 0 ;
18330 char *kwnames
[] = {
18331 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
18334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18337 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18338 if (PyErr_Occurred()) SWIG_fail
;
18340 arg3
= (int) SWIG_AsInt(obj2
);
18341 if (PyErr_Occurred()) SWIG_fail
;
18344 arg4
= (wxDateTime::Month
) SWIG_AsInt(obj3
);
18345 if (PyErr_Occurred()) SWIG_fail
;
18348 arg5
= (int) SWIG_AsInt(obj4
);
18349 if (PyErr_Occurred()) SWIG_fail
;
18352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18353 result
= (bool)(arg1
)->SetToWeekDay((wxDateTime::WeekDay
)arg2
,arg3
,(wxDateTime::Month
)arg4
,arg5
);
18355 wxPyEndAllowThreads(__tstate
);
18356 if (PyErr_Occurred()) SWIG_fail
;
18359 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18367 static PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18368 PyObject
*resultobj
;
18369 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18371 int arg3
= (int) wxDateTime::Inv_Month
;
18372 int arg4
= (int) wxDateTime::Inv_Year
;
18374 PyObject
* obj0
= 0 ;
18375 PyObject
* obj1
= 0 ;
18376 PyObject
* obj2
= 0 ;
18377 PyObject
* obj3
= 0 ;
18378 char *kwnames
[] = {
18379 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18385 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18386 if (PyErr_Occurred()) SWIG_fail
;
18388 arg3
= (wxDateTime::Month
) SWIG_AsInt(obj2
);
18389 if (PyErr_Occurred()) SWIG_fail
;
18392 arg4
= (int) SWIG_AsInt(obj3
);
18393 if (PyErr_Occurred()) SWIG_fail
;
18396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18397 result
= (bool)(arg1
)->SetToLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
18399 wxPyEndAllowThreads(__tstate
);
18400 if (PyErr_Occurred()) SWIG_fail
;
18403 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18411 static PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18412 PyObject
*resultobj
;
18413 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18415 int arg3
= (int) wxDateTime::Inv_Month
;
18416 int arg4
= (int) wxDateTime::Inv_Year
;
18418 PyObject
* obj0
= 0 ;
18419 PyObject
* obj1
= 0 ;
18420 PyObject
* obj2
= 0 ;
18421 PyObject
* obj3
= 0 ;
18422 char *kwnames
[] = {
18423 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18429 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18430 if (PyErr_Occurred()) SWIG_fail
;
18432 arg3
= (wxDateTime::Month
) SWIG_AsInt(obj2
);
18433 if (PyErr_Occurred()) SWIG_fail
;
18436 arg4
= (int) SWIG_AsInt(obj3
);
18437 if (PyErr_Occurred()) SWIG_fail
;
18440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18441 result
= (arg1
)->GetLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
18443 wxPyEndAllowThreads(__tstate
);
18444 if (PyErr_Occurred()) SWIG_fail
;
18447 wxDateTime
* resultptr
;
18448 resultptr
= new wxDateTime((wxDateTime
&) result
);
18449 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18457 static PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18458 PyObject
*resultobj
;
18459 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18461 int arg3
= (int) wxDateTime::Mon
;
18462 int arg4
= (int) wxDateTime::Monday_First
;
18464 PyObject
* obj0
= 0 ;
18465 PyObject
* obj1
= 0 ;
18466 PyObject
* obj2
= 0 ;
18467 PyObject
* obj3
= 0 ;
18468 char *kwnames
[] = {
18469 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18475 arg2
= (int) SWIG_AsInt(obj1
);
18476 if (PyErr_Occurred()) SWIG_fail
;
18478 arg3
= (wxDateTime::WeekDay
) SWIG_AsInt(obj2
);
18479 if (PyErr_Occurred()) SWIG_fail
;
18482 arg4
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj3
);
18483 if (PyErr_Occurred()) SWIG_fail
;
18486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18487 result
= (bool)(arg1
)->SetToTheWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
18489 wxPyEndAllowThreads(__tstate
);
18490 if (PyErr_Occurred()) SWIG_fail
;
18493 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18501 static PyObject
*_wrap_DateTime_GetWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18502 PyObject
*resultobj
;
18503 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18505 int arg3
= (int) wxDateTime::Mon
;
18506 int arg4
= (int) wxDateTime::Monday_First
;
18508 PyObject
* obj0
= 0 ;
18509 PyObject
* obj1
= 0 ;
18510 PyObject
* obj2
= 0 ;
18511 PyObject
* obj3
= 0 ;
18512 char *kwnames
[] = {
18513 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18519 arg2
= (int) SWIG_AsInt(obj1
);
18520 if (PyErr_Occurred()) SWIG_fail
;
18522 arg3
= (wxDateTime::WeekDay
) SWIG_AsInt(obj2
);
18523 if (PyErr_Occurred()) SWIG_fail
;
18526 arg4
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj3
);
18527 if (PyErr_Occurred()) SWIG_fail
;
18530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18531 result
= (arg1
)->GetWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
18533 wxPyEndAllowThreads(__tstate
);
18534 if (PyErr_Occurred()) SWIG_fail
;
18537 wxDateTime
* resultptr
;
18538 resultptr
= new wxDateTime((wxDateTime
&) result
);
18539 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18547 static PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18548 PyObject
*resultobj
;
18549 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18550 int arg2
= (int) wxDateTime::Inv_Month
;
18551 int arg3
= (int) wxDateTime::Inv_Year
;
18552 wxDateTime
*result
;
18553 PyObject
* obj0
= 0 ;
18554 PyObject
* obj1
= 0 ;
18555 PyObject
* obj2
= 0 ;
18556 char *kwnames
[] = {
18557 (char *) "self",(char *) "month",(char *) "year", NULL
18560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18564 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
18565 if (PyErr_Occurred()) SWIG_fail
;
18568 arg3
= (int) SWIG_AsInt(obj2
);
18569 if (PyErr_Occurred()) SWIG_fail
;
18572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18574 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
18575 result
= (wxDateTime
*) &_result_ref
;
18578 wxPyEndAllowThreads(__tstate
);
18579 if (PyErr_Occurred()) SWIG_fail
;
18581 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18588 static PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18589 PyObject
*resultobj
;
18590 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18591 int arg2
= (int) wxDateTime::Inv_Month
;
18592 int arg3
= (int) wxDateTime::Inv_Year
;
18594 PyObject
* obj0
= 0 ;
18595 PyObject
* obj1
= 0 ;
18596 PyObject
* obj2
= 0 ;
18597 char *kwnames
[] = {
18598 (char *) "self",(char *) "month",(char *) "year", NULL
18601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18605 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
18606 if (PyErr_Occurred()) SWIG_fail
;
18609 arg3
= (int) SWIG_AsInt(obj2
);
18610 if (PyErr_Occurred()) SWIG_fail
;
18613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18614 result
= (arg1
)->GetLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
18616 wxPyEndAllowThreads(__tstate
);
18617 if (PyErr_Occurred()) SWIG_fail
;
18620 wxDateTime
* resultptr
;
18621 resultptr
= new wxDateTime((wxDateTime
&) result
);
18622 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18630 static PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18631 PyObject
*resultobj
;
18632 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18634 wxDateTime
*result
;
18635 PyObject
* obj0
= 0 ;
18636 PyObject
* obj1
= 0 ;
18637 char *kwnames
[] = {
18638 (char *) "self",(char *) "yday", NULL
18641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18644 arg2
= (int) SWIG_AsInt(obj1
);
18645 if (PyErr_Occurred()) SWIG_fail
;
18647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18649 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
18650 result
= (wxDateTime
*) &_result_ref
;
18653 wxPyEndAllowThreads(__tstate
);
18654 if (PyErr_Occurred()) SWIG_fail
;
18656 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18663 static PyObject
*_wrap_DateTime_GetYearDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18664 PyObject
*resultobj
;
18665 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18668 PyObject
* obj0
= 0 ;
18669 PyObject
* obj1
= 0 ;
18670 char *kwnames
[] = {
18671 (char *) "self",(char *) "yday", NULL
18674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18677 arg2
= (int) SWIG_AsInt(obj1
);
18678 if (PyErr_Occurred()) SWIG_fail
;
18680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18681 result
= (arg1
)->GetYearDay(arg2
);
18683 wxPyEndAllowThreads(__tstate
);
18684 if (PyErr_Occurred()) SWIG_fail
;
18687 wxDateTime
* resultptr
;
18688 resultptr
= new wxDateTime((wxDateTime
&) result
);
18689 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18697 static PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18698 PyObject
*resultobj
;
18699 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18701 PyObject
* obj0
= 0 ;
18702 char *kwnames
[] = {
18703 (char *) "self", NULL
18706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJulianDayNumber",kwnames
,&obj0
)) goto fail
;
18707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18711 result
= (double)(arg1
)->GetJulianDayNumber();
18713 wxPyEndAllowThreads(__tstate
);
18714 if (PyErr_Occurred()) SWIG_fail
;
18716 resultobj
= SWIG_FromDouble((double)result
);
18723 static PyObject
*_wrap_DateTime_GetJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18724 PyObject
*resultobj
;
18725 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18727 PyObject
* obj0
= 0 ;
18728 char *kwnames
[] = {
18729 (char *) "self", NULL
18732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJDN",kwnames
,&obj0
)) goto fail
;
18733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18737 result
= (double)(arg1
)->GetJDN();
18739 wxPyEndAllowThreads(__tstate
);
18740 if (PyErr_Occurred()) SWIG_fail
;
18742 resultobj
= SWIG_FromDouble((double)result
);
18749 static PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18750 PyObject
*resultobj
;
18751 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18753 PyObject
* obj0
= 0 ;
18754 char *kwnames
[] = {
18755 (char *) "self", NULL
18758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames
,&obj0
)) goto fail
;
18759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18763 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
18765 wxPyEndAllowThreads(__tstate
);
18766 if (PyErr_Occurred()) SWIG_fail
;
18768 resultobj
= SWIG_FromDouble((double)result
);
18775 static PyObject
*_wrap_DateTime_GetMJD(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18776 PyObject
*resultobj
;
18777 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18779 PyObject
* obj0
= 0 ;
18780 char *kwnames
[] = {
18781 (char *) "self", NULL
18784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetMJD",kwnames
,&obj0
)) goto fail
;
18785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18789 result
= (double)(arg1
)->GetMJD();
18791 wxPyEndAllowThreads(__tstate
);
18792 if (PyErr_Occurred()) SWIG_fail
;
18794 resultobj
= SWIG_FromDouble((double)result
);
18801 static PyObject
*_wrap_DateTime_GetRataDie(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18802 PyObject
*resultobj
;
18803 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18805 PyObject
* obj0
= 0 ;
18806 char *kwnames
[] = {
18807 (char *) "self", NULL
18810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetRataDie",kwnames
,&obj0
)) goto fail
;
18811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18815 result
= (double)(arg1
)->GetRataDie();
18817 wxPyEndAllowThreads(__tstate
);
18818 if (PyErr_Occurred()) SWIG_fail
;
18820 resultobj
= SWIG_FromDouble((double)result
);
18827 static PyObject
*_wrap_DateTime_ToTimezone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18828 PyObject
*resultobj
;
18829 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18830 wxDateTime::TimeZone
*arg2
= 0 ;
18831 bool arg3
= (bool) False
;
18833 bool temp2
= False
;
18834 PyObject
* obj0
= 0 ;
18835 PyObject
* obj1
= 0 ;
18836 PyObject
* obj2
= 0 ;
18837 char *kwnames
[] = {
18838 (char *) "self",(char *) "tz",(char *) "noDST", NULL
18841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18845 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18849 arg3
= (bool) SWIG_AsBool(obj2
);
18850 if (PyErr_Occurred()) SWIG_fail
;
18853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18854 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
18856 wxPyEndAllowThreads(__tstate
);
18857 if (PyErr_Occurred()) SWIG_fail
;
18860 wxDateTime
* resultptr
;
18861 resultptr
= new wxDateTime((wxDateTime
&) result
);
18862 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18865 if (temp2
) delete arg2
;
18870 if (temp2
) delete arg2
;
18876 static PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18877 PyObject
*resultobj
;
18878 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18879 wxDateTime::TimeZone
*arg2
= 0 ;
18880 bool arg3
= (bool) False
;
18881 wxDateTime
*result
;
18882 bool temp2
= False
;
18883 PyObject
* obj0
= 0 ;
18884 PyObject
* obj1
= 0 ;
18885 PyObject
* obj2
= 0 ;
18886 char *kwnames
[] = {
18887 (char *) "self",(char *) "tz",(char *) "noDST", NULL
18890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18894 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18898 arg3
= (bool) SWIG_AsBool(obj2
);
18899 if (PyErr_Occurred()) SWIG_fail
;
18902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18904 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
18905 result
= (wxDateTime
*) &_result_ref
;
18908 wxPyEndAllowThreads(__tstate
);
18909 if (PyErr_Occurred()) SWIG_fail
;
18911 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18913 if (temp2
) delete arg2
;
18918 if (temp2
) delete arg2
;
18924 static PyObject
*_wrap_DateTime_ToGMT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18925 PyObject
*resultobj
;
18926 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18927 bool arg2
= (bool) False
;
18929 PyObject
* obj0
= 0 ;
18930 PyObject
* obj1
= 0 ;
18931 char *kwnames
[] = {
18932 (char *) "self",(char *) "noDST", NULL
18935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
18936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18939 arg2
= (bool) SWIG_AsBool(obj1
);
18940 if (PyErr_Occurred()) SWIG_fail
;
18943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18944 result
= (arg1
)->ToGMT(arg2
);
18946 wxPyEndAllowThreads(__tstate
);
18947 if (PyErr_Occurred()) SWIG_fail
;
18950 wxDateTime
* resultptr
;
18951 resultptr
= new wxDateTime((wxDateTime
&) result
);
18952 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18960 static PyObject
*_wrap_DateTime_MakeGMT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18961 PyObject
*resultobj
;
18962 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18963 bool arg2
= (bool) False
;
18964 wxDateTime
*result
;
18965 PyObject
* obj0
= 0 ;
18966 PyObject
* obj1
= 0 ;
18967 char *kwnames
[] = {
18968 (char *) "self",(char *) "noDST", NULL
18971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
18972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18975 arg2
= (bool) SWIG_AsBool(obj1
);
18976 if (PyErr_Occurred()) SWIG_fail
;
18979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18981 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
18982 result
= (wxDateTime
*) &_result_ref
;
18985 wxPyEndAllowThreads(__tstate
);
18986 if (PyErr_Occurred()) SWIG_fail
;
18988 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18995 static PyObject
*_wrap_DateTime_IsDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18996 PyObject
*resultobj
;
18997 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18998 int arg2
= (int) wxDateTime::Country_Default
;
19000 PyObject
* obj0
= 0 ;
19001 PyObject
* obj1
= 0 ;
19002 char *kwnames
[] = {
19003 (char *) "self",(char *) "country", NULL
19006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) goto fail
;
19007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19010 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
19011 if (PyErr_Occurred()) SWIG_fail
;
19014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19015 result
= (int)(arg1
)->IsDST((wxDateTime::Country
)arg2
);
19017 wxPyEndAllowThreads(__tstate
);
19018 if (PyErr_Occurred()) SWIG_fail
;
19020 resultobj
= SWIG_FromInt((int)result
);
19027 static PyObject
*_wrap_DateTime_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19028 PyObject
*resultobj
;
19029 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19031 PyObject
* obj0
= 0 ;
19032 char *kwnames
[] = {
19033 (char *) "self", NULL
19036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_IsValid",kwnames
,&obj0
)) goto fail
;
19037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19041 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
19043 wxPyEndAllowThreads(__tstate
);
19044 if (PyErr_Occurred()) SWIG_fail
;
19047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19055 static PyObject
*_wrap_DateTime_GetTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19056 PyObject
*resultobj
;
19057 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19059 PyObject
* obj0
= 0 ;
19060 char *kwnames
[] = {
19061 (char *) "self", NULL
19064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetTicks",kwnames
,&obj0
)) goto fail
;
19065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19069 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
19071 wxPyEndAllowThreads(__tstate
);
19072 if (PyErr_Occurred()) SWIG_fail
;
19074 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
19081 static PyObject
*_wrap_DateTime_GetYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19082 PyObject
*resultobj
;
19083 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19084 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19085 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19087 bool temp2
= False
;
19088 PyObject
* obj0
= 0 ;
19089 PyObject
* obj1
= 0 ;
19090 char *kwnames
[] = {
19091 (char *) "self",(char *) "tz", NULL
19094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19099 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19105 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
19107 wxPyEndAllowThreads(__tstate
);
19108 if (PyErr_Occurred()) SWIG_fail
;
19110 resultobj
= SWIG_FromInt((int)result
);
19112 if (temp2
) delete arg2
;
19117 if (temp2
) delete arg2
;
19123 static PyObject
*_wrap_DateTime_GetMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19124 PyObject
*resultobj
;
19125 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19126 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19127 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19129 bool temp2
= False
;
19130 PyObject
* obj0
= 0 ;
19131 PyObject
* obj1
= 0 ;
19132 char *kwnames
[] = {
19133 (char *) "self",(char *) "tz", NULL
19136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
19137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19141 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19147 result
= (int)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
19149 wxPyEndAllowThreads(__tstate
);
19150 if (PyErr_Occurred()) SWIG_fail
;
19152 resultobj
= SWIG_FromInt((int)result
);
19154 if (temp2
) delete arg2
;
19159 if (temp2
) delete arg2
;
19165 static PyObject
*_wrap_DateTime_GetDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19166 PyObject
*resultobj
;
19167 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19168 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19169 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19171 bool temp2
= False
;
19172 PyObject
* obj0
= 0 ;
19173 PyObject
* obj1
= 0 ;
19174 char *kwnames
[] = {
19175 (char *) "self",(char *) "tz", NULL
19178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19183 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19189 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
19191 wxPyEndAllowThreads(__tstate
);
19192 if (PyErr_Occurred()) SWIG_fail
;
19194 resultobj
= SWIG_FromInt((int)result
);
19196 if (temp2
) delete arg2
;
19201 if (temp2
) delete arg2
;
19207 static PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19208 PyObject
*resultobj
;
19209 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19210 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19211 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19213 bool temp2
= False
;
19214 PyObject
* obj0
= 0 ;
19215 PyObject
* obj1
= 0 ;
19216 char *kwnames
[] = {
19217 (char *) "self",(char *) "tz", NULL
19220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19225 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19231 result
= (int)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
19233 wxPyEndAllowThreads(__tstate
);
19234 if (PyErr_Occurred()) SWIG_fail
;
19236 resultobj
= SWIG_FromInt((int)result
);
19238 if (temp2
) delete arg2
;
19243 if (temp2
) delete arg2
;
19249 static PyObject
*_wrap_DateTime_GetHour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19250 PyObject
*resultobj
;
19251 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19252 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19253 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19255 bool temp2
= False
;
19256 PyObject
* obj0
= 0 ;
19257 PyObject
* obj1
= 0 ;
19258 char *kwnames
[] = {
19259 (char *) "self",(char *) "tz", NULL
19262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
19263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19267 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19273 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
19275 wxPyEndAllowThreads(__tstate
);
19276 if (PyErr_Occurred()) SWIG_fail
;
19278 resultobj
= SWIG_FromInt((int)result
);
19280 if (temp2
) delete arg2
;
19285 if (temp2
) delete arg2
;
19291 static PyObject
*_wrap_DateTime_GetMinute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19292 PyObject
*resultobj
;
19293 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19294 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19295 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19297 bool temp2
= False
;
19298 PyObject
* obj0
= 0 ;
19299 PyObject
* obj1
= 0 ;
19300 char *kwnames
[] = {
19301 (char *) "self",(char *) "tz", NULL
19304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
19305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19309 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19315 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
19317 wxPyEndAllowThreads(__tstate
);
19318 if (PyErr_Occurred()) SWIG_fail
;
19320 resultobj
= SWIG_FromInt((int)result
);
19322 if (temp2
) delete arg2
;
19327 if (temp2
) delete arg2
;
19333 static PyObject
*_wrap_DateTime_GetSecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19334 PyObject
*resultobj
;
19335 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19336 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19337 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19339 bool temp2
= False
;
19340 PyObject
* obj0
= 0 ;
19341 PyObject
* obj1
= 0 ;
19342 char *kwnames
[] = {
19343 (char *) "self",(char *) "tz", NULL
19346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
19347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19351 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19357 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
19359 wxPyEndAllowThreads(__tstate
);
19360 if (PyErr_Occurred()) SWIG_fail
;
19362 resultobj
= SWIG_FromInt((int)result
);
19364 if (temp2
) delete arg2
;
19369 if (temp2
) delete arg2
;
19375 static PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19376 PyObject
*resultobj
;
19377 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19378 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19379 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19381 bool temp2
= False
;
19382 PyObject
* obj0
= 0 ;
19383 PyObject
* obj1
= 0 ;
19384 char *kwnames
[] = {
19385 (char *) "self",(char *) "tz", NULL
19388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
19389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19393 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19399 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
19401 wxPyEndAllowThreads(__tstate
);
19402 if (PyErr_Occurred()) SWIG_fail
;
19404 resultobj
= SWIG_FromInt((int)result
);
19406 if (temp2
) delete arg2
;
19411 if (temp2
) delete arg2
;
19417 static PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19418 PyObject
*resultobj
;
19419 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19420 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19421 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19423 bool temp2
= False
;
19424 PyObject
* obj0
= 0 ;
19425 PyObject
* obj1
= 0 ;
19426 char *kwnames
[] = {
19427 (char *) "self",(char *) "tz", NULL
19430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19435 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19441 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
19443 wxPyEndAllowThreads(__tstate
);
19444 if (PyErr_Occurred()) SWIG_fail
;
19446 resultobj
= SWIG_FromInt((int)result
);
19448 if (temp2
) delete arg2
;
19453 if (temp2
) delete arg2
;
19459 static PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19460 PyObject
*resultobj
;
19461 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19462 int arg2
= (int) wxDateTime::Monday_First
;
19463 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
19464 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
19466 bool temp3
= False
;
19467 PyObject
* obj0
= 0 ;
19468 PyObject
* obj1
= 0 ;
19469 PyObject
* obj2
= 0 ;
19470 char *kwnames
[] = {
19471 (char *) "self",(char *) "flags",(char *) "tz", NULL
19474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19478 arg2
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj1
);
19479 if (PyErr_Occurred()) SWIG_fail
;
19483 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
19488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19489 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
19491 wxPyEndAllowThreads(__tstate
);
19492 if (PyErr_Occurred()) SWIG_fail
;
19494 resultobj
= SWIG_FromInt((int)result
);
19496 if (temp3
) delete arg3
;
19501 if (temp3
) delete arg3
;
19507 static PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19508 PyObject
*resultobj
;
19509 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19510 int arg2
= (int) wxDateTime::Monday_First
;
19511 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
19512 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
19514 bool temp3
= False
;
19515 PyObject
* obj0
= 0 ;
19516 PyObject
* obj1
= 0 ;
19517 PyObject
* obj2
= 0 ;
19518 char *kwnames
[] = {
19519 (char *) "self",(char *) "flags",(char *) "tz", NULL
19522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19526 arg2
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj1
);
19527 if (PyErr_Occurred()) SWIG_fail
;
19531 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
19536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19537 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
19539 wxPyEndAllowThreads(__tstate
);
19540 if (PyErr_Occurred()) SWIG_fail
;
19542 resultobj
= SWIG_FromInt((int)result
);
19544 if (temp3
) delete arg3
;
19549 if (temp3
) delete arg3
;
19555 static PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19556 PyObject
*resultobj
;
19557 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19558 int arg2
= (int) wxDateTime::Country_Default
;
19560 PyObject
* obj0
= 0 ;
19561 PyObject
* obj1
= 0 ;
19562 char *kwnames
[] = {
19563 (char *) "self",(char *) "country", NULL
19566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19570 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
19571 if (PyErr_Occurred()) SWIG_fail
;
19574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19575 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay((wxDateTime::Country
)arg2
);
19577 wxPyEndAllowThreads(__tstate
);
19578 if (PyErr_Occurred()) SWIG_fail
;
19581 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19589 static PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19590 PyObject
*resultobj
;
19591 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19592 wxDateTime
*arg2
= 0 ;
19594 PyObject
* obj0
= 0 ;
19595 PyObject
* obj1
= 0 ;
19596 char *kwnames
[] = {
19597 (char *) "self",(char *) "datetime", NULL
19600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
19601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19603 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19604 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19606 if (arg2
== NULL
) {
19607 PyErr_SetString(PyExc_TypeError
,"null reference");
19611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19612 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
19614 wxPyEndAllowThreads(__tstate
);
19615 if (PyErr_Occurred()) SWIG_fail
;
19618 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19626 static PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19627 PyObject
*resultobj
;
19628 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19629 wxDateTime
*arg2
= 0 ;
19631 PyObject
* obj0
= 0 ;
19632 PyObject
* obj1
= 0 ;
19633 char *kwnames
[] = {
19634 (char *) "self",(char *) "datetime", NULL
19637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) goto fail
;
19638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19640 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19641 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19643 if (arg2
== NULL
) {
19644 PyErr_SetString(PyExc_TypeError
,"null reference");
19648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19649 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
19651 wxPyEndAllowThreads(__tstate
);
19652 if (PyErr_Occurred()) SWIG_fail
;
19655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19663 static PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19664 PyObject
*resultobj
;
19665 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19666 wxDateTime
*arg2
= 0 ;
19668 PyObject
* obj0
= 0 ;
19669 PyObject
* obj1
= 0 ;
19670 char *kwnames
[] = {
19671 (char *) "self",(char *) "datetime", NULL
19674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
19675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19677 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19678 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19680 if (arg2
== NULL
) {
19681 PyErr_SetString(PyExc_TypeError
,"null reference");
19685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19686 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
19688 wxPyEndAllowThreads(__tstate
);
19689 if (PyErr_Occurred()) SWIG_fail
;
19692 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19700 static PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19701 PyObject
*resultobj
;
19702 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19703 wxDateTime
*arg2
= 0 ;
19704 wxDateTime
*arg3
= 0 ;
19706 PyObject
* obj0
= 0 ;
19707 PyObject
* obj1
= 0 ;
19708 PyObject
* obj2
= 0 ;
19709 char *kwnames
[] = {
19710 (char *) "self",(char *) "t1",(char *) "t2", NULL
19713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19716 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19717 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19719 if (arg2
== NULL
) {
19720 PyErr_SetString(PyExc_TypeError
,"null reference");
19723 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
,
19724 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19726 if (arg3
== NULL
) {
19727 PyErr_SetString(PyExc_TypeError
,"null reference");
19731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19732 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
19734 wxPyEndAllowThreads(__tstate
);
19735 if (PyErr_Occurred()) SWIG_fail
;
19738 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19746 static PyObject
*_wrap_DateTime_IsBetween(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19747 PyObject
*resultobj
;
19748 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19749 wxDateTime
*arg2
= 0 ;
19750 wxDateTime
*arg3
= 0 ;
19752 PyObject
* obj0
= 0 ;
19753 PyObject
* obj1
= 0 ;
19754 PyObject
* obj2
= 0 ;
19755 char *kwnames
[] = {
19756 (char *) "self",(char *) "t1",(char *) "t2", NULL
19759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19762 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19763 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19765 if (arg2
== NULL
) {
19766 PyErr_SetString(PyExc_TypeError
,"null reference");
19769 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
,
19770 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19772 if (arg3
== NULL
) {
19773 PyErr_SetString(PyExc_TypeError
,"null reference");
19777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19778 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
19780 wxPyEndAllowThreads(__tstate
);
19781 if (PyErr_Occurred()) SWIG_fail
;
19784 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19792 static PyObject
*_wrap_DateTime_IsSameDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19793 PyObject
*resultobj
;
19794 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19795 wxDateTime
*arg2
= 0 ;
19797 PyObject
* obj0
= 0 ;
19798 PyObject
* obj1
= 0 ;
19799 char *kwnames
[] = {
19800 (char *) "self",(char *) "dt", NULL
19803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) goto fail
;
19804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19806 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19807 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19809 if (arg2
== NULL
) {
19810 PyErr_SetString(PyExc_TypeError
,"null reference");
19814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19815 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
19817 wxPyEndAllowThreads(__tstate
);
19818 if (PyErr_Occurred()) SWIG_fail
;
19821 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19829 static PyObject
*_wrap_DateTime_IsSameTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19830 PyObject
*resultobj
;
19831 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19832 wxDateTime
*arg2
= 0 ;
19834 PyObject
* obj0
= 0 ;
19835 PyObject
* obj1
= 0 ;
19836 char *kwnames
[] = {
19837 (char *) "self",(char *) "dt", NULL
19840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) goto fail
;
19841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19843 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19844 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19846 if (arg2
== NULL
) {
19847 PyErr_SetString(PyExc_TypeError
,"null reference");
19851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19852 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
19854 wxPyEndAllowThreads(__tstate
);
19855 if (PyErr_Occurred()) SWIG_fail
;
19858 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19866 static PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19867 PyObject
*resultobj
;
19868 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19869 wxDateTime
*arg2
= 0 ;
19870 wxTimeSpan
*arg3
= 0 ;
19872 PyObject
* obj0
= 0 ;
19873 PyObject
* obj1
= 0 ;
19874 PyObject
* obj2
= 0 ;
19875 char *kwnames
[] = {
19876 (char *) "self",(char *) "dt",(char *) "ts", NULL
19879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19882 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19883 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19885 if (arg2
== NULL
) {
19886 PyErr_SetString(PyExc_TypeError
,"null reference");
19889 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTimeSpan
,
19890 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19892 if (arg3
== NULL
) {
19893 PyErr_SetString(PyExc_TypeError
,"null reference");
19897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19898 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
19900 wxPyEndAllowThreads(__tstate
);
19901 if (PyErr_Occurred()) SWIG_fail
;
19904 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19912 static PyObject
*_wrap_DateTime_AddTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19913 PyObject
*resultobj
;
19914 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19915 wxTimeSpan
*arg2
= 0 ;
19916 wxDateTime
*result
;
19917 PyObject
* obj0
= 0 ;
19918 PyObject
* obj1
= 0 ;
19919 char *kwnames
[] = {
19920 (char *) "self",(char *) "diff", NULL
19923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) goto fail
;
19924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19926 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
19927 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19929 if (arg2
== NULL
) {
19930 PyErr_SetString(PyExc_TypeError
,"null reference");
19934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19936 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
19937 result
= (wxDateTime
*) &_result_ref
;
19940 wxPyEndAllowThreads(__tstate
);
19941 if (PyErr_Occurred()) SWIG_fail
;
19943 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19950 static PyObject
*_wrap_DateTime_AddDS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19951 PyObject
*resultobj
;
19952 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19953 wxDateSpan
*arg2
= 0 ;
19954 wxDateTime
*result
;
19955 PyObject
* obj0
= 0 ;
19956 PyObject
* obj1
= 0 ;
19957 char *kwnames
[] = {
19958 (char *) "self",(char *) "diff", NULL
19961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) goto fail
;
19962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19964 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
19965 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19967 if (arg2
== NULL
) {
19968 PyErr_SetString(PyExc_TypeError
,"null reference");
19972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19974 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
19975 result
= (wxDateTime
*) &_result_ref
;
19978 wxPyEndAllowThreads(__tstate
);
19979 if (PyErr_Occurred()) SWIG_fail
;
19981 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19988 static PyObject
*_wrap_DateTime_SubtractTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19989 PyObject
*resultobj
;
19990 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19991 wxTimeSpan
*arg2
= 0 ;
19992 wxDateTime
*result
;
19993 PyObject
* obj0
= 0 ;
19994 PyObject
* obj1
= 0 ;
19995 char *kwnames
[] = {
19996 (char *) "self",(char *) "diff", NULL
19999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) goto fail
;
20000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20002 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20003 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20005 if (arg2
== NULL
) {
20006 PyErr_SetString(PyExc_TypeError
,"null reference");
20010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20012 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
20013 result
= (wxDateTime
*) &_result_ref
;
20016 wxPyEndAllowThreads(__tstate
);
20017 if (PyErr_Occurred()) SWIG_fail
;
20019 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20026 static PyObject
*_wrap_DateTime_SubtractDS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20027 PyObject
*resultobj
;
20028 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20029 wxDateSpan
*arg2
= 0 ;
20030 wxDateTime
*result
;
20031 PyObject
* obj0
= 0 ;
20032 PyObject
* obj1
= 0 ;
20033 char *kwnames
[] = {
20034 (char *) "self",(char *) "diff", NULL
20037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) goto fail
;
20038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20040 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20041 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20043 if (arg2
== NULL
) {
20044 PyErr_SetString(PyExc_TypeError
,"null reference");
20048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20050 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
20051 result
= (wxDateTime
*) &_result_ref
;
20054 wxPyEndAllowThreads(__tstate
);
20055 if (PyErr_Occurred()) SWIG_fail
;
20057 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20064 static PyObject
*_wrap_DateTime_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20065 PyObject
*resultobj
;
20066 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20067 wxDateTime
*arg2
= 0 ;
20069 PyObject
* obj0
= 0 ;
20070 PyObject
* obj1
= 0 ;
20071 char *kwnames
[] = {
20072 (char *) "self",(char *) "dt", NULL
20075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
20076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20078 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20079 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20081 if (arg2
== NULL
) {
20082 PyErr_SetString(PyExc_TypeError
,"null reference");
20086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20087 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
20089 wxPyEndAllowThreads(__tstate
);
20090 if (PyErr_Occurred()) SWIG_fail
;
20093 wxTimeSpan
* resultptr
;
20094 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
20095 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
20103 static PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*self
, PyObject
*args
) {
20104 PyObject
*resultobj
;
20105 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20106 wxTimeSpan
*arg2
= 0 ;
20107 wxDateTime
*result
;
20108 PyObject
* obj0
= 0 ;
20109 PyObject
* obj1
= 0 ;
20111 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
20112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20114 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20115 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20117 if (arg2
== NULL
) {
20118 PyErr_SetString(PyExc_TypeError
,"null reference");
20122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20124 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
20125 result
= (wxDateTime
*) &_result_ref
;
20128 wxPyEndAllowThreads(__tstate
);
20129 if (PyErr_Occurred()) SWIG_fail
;
20131 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20138 static PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*self
, PyObject
*args
) {
20139 PyObject
*resultobj
;
20140 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20141 wxDateSpan
*arg2
= 0 ;
20142 wxDateTime
*result
;
20143 PyObject
* obj0
= 0 ;
20144 PyObject
* obj1
= 0 ;
20146 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
20147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20149 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20150 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20152 if (arg2
== NULL
) {
20153 PyErr_SetString(PyExc_TypeError
,"null reference");
20157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20159 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
20160 result
= (wxDateTime
*) &_result_ref
;
20163 wxPyEndAllowThreads(__tstate
);
20164 if (PyErr_Occurred()) SWIG_fail
;
20166 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20173 static PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
20178 argc
= PyObject_Length(args
);
20179 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20180 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20186 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20196 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20204 return _wrap_DateTime___iadd____SWIG_0(self
,args
);
20212 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20222 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20230 return _wrap_DateTime___iadd____SWIG_1(self
,args
);
20235 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___iadd__'");
20240 static PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*self
, PyObject
*args
) {
20241 PyObject
*resultobj
;
20242 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20243 wxTimeSpan
*arg2
= 0 ;
20244 wxDateTime
*result
;
20245 PyObject
* obj0
= 0 ;
20246 PyObject
* obj1
= 0 ;
20248 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
20249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20251 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20252 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20254 if (arg2
== NULL
) {
20255 PyErr_SetString(PyExc_TypeError
,"null reference");
20259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20261 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
20262 result
= (wxDateTime
*) &_result_ref
;
20265 wxPyEndAllowThreads(__tstate
);
20266 if (PyErr_Occurred()) SWIG_fail
;
20268 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20275 static PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*self
, PyObject
*args
) {
20276 PyObject
*resultobj
;
20277 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20278 wxDateSpan
*arg2
= 0 ;
20279 wxDateTime
*result
;
20280 PyObject
* obj0
= 0 ;
20281 PyObject
* obj1
= 0 ;
20283 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
20284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20286 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20287 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20289 if (arg2
== NULL
) {
20290 PyErr_SetString(PyExc_TypeError
,"null reference");
20294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20296 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
20297 result
= (wxDateTime
*) &_result_ref
;
20300 wxPyEndAllowThreads(__tstate
);
20301 if (PyErr_Occurred()) SWIG_fail
;
20303 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20310 static PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
20315 argc
= PyObject_Length(args
);
20316 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20317 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20323 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20333 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20341 return _wrap_DateTime___isub____SWIG_0(self
,args
);
20349 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20359 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20367 return _wrap_DateTime___isub____SWIG_1(self
,args
);
20372 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___isub__'");
20377 static PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*self
, PyObject
*args
) {
20378 PyObject
*resultobj
;
20379 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20380 wxTimeSpan
*arg2
= 0 ;
20382 PyObject
* obj0
= 0 ;
20383 PyObject
* obj1
= 0 ;
20385 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
20386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20388 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20389 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20391 if (arg2
== NULL
) {
20392 PyErr_SetString(PyExc_TypeError
,"null reference");
20396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20397 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
20399 wxPyEndAllowThreads(__tstate
);
20400 if (PyErr_Occurred()) SWIG_fail
;
20403 wxDateTime
* resultptr
;
20404 resultptr
= new wxDateTime((wxDateTime
&) result
);
20405 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20413 static PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*self
, PyObject
*args
) {
20414 PyObject
*resultobj
;
20415 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20416 wxDateSpan
*arg2
= 0 ;
20418 PyObject
* obj0
= 0 ;
20419 PyObject
* obj1
= 0 ;
20421 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
20422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20424 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20425 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20427 if (arg2
== NULL
) {
20428 PyErr_SetString(PyExc_TypeError
,"null reference");
20432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20433 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
20435 wxPyEndAllowThreads(__tstate
);
20436 if (PyErr_Occurred()) SWIG_fail
;
20439 wxDateTime
* resultptr
;
20440 resultptr
= new wxDateTime((wxDateTime
&) result
);
20441 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20449 static PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
20454 argc
= PyObject_Length(args
);
20455 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20456 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20462 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20472 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20480 return _wrap_DateTime___add____SWIG_0(self
,args
);
20488 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20498 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20506 return _wrap_DateTime___add____SWIG_1(self
,args
);
20511 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___add__'");
20516 static PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*self
, PyObject
*args
) {
20517 PyObject
*resultobj
;
20518 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20519 wxDateTime
*arg2
= 0 ;
20521 PyObject
* obj0
= 0 ;
20522 PyObject
* obj1
= 0 ;
20524 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20527 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20528 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20530 if (arg2
== NULL
) {
20531 PyErr_SetString(PyExc_TypeError
,"null reference");
20535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20536 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
20538 wxPyEndAllowThreads(__tstate
);
20539 if (PyErr_Occurred()) SWIG_fail
;
20542 wxTimeSpan
* resultptr
;
20543 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
20544 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
20552 static PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*self
, PyObject
*args
) {
20553 PyObject
*resultobj
;
20554 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20555 wxTimeSpan
*arg2
= 0 ;
20557 PyObject
* obj0
= 0 ;
20558 PyObject
* obj1
= 0 ;
20560 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20563 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20564 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20566 if (arg2
== NULL
) {
20567 PyErr_SetString(PyExc_TypeError
,"null reference");
20571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20572 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
20574 wxPyEndAllowThreads(__tstate
);
20575 if (PyErr_Occurred()) SWIG_fail
;
20578 wxDateTime
* resultptr
;
20579 resultptr
= new wxDateTime((wxDateTime
&) result
);
20580 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20588 static PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*self
, PyObject
*args
) {
20589 PyObject
*resultobj
;
20590 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20591 wxDateSpan
*arg2
= 0 ;
20593 PyObject
* obj0
= 0 ;
20594 PyObject
* obj1
= 0 ;
20596 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20599 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20600 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20602 if (arg2
== NULL
) {
20603 PyErr_SetString(PyExc_TypeError
,"null reference");
20607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20608 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
20610 wxPyEndAllowThreads(__tstate
);
20611 if (PyErr_Occurred()) SWIG_fail
;
20614 wxDateTime
* resultptr
;
20615 resultptr
= new wxDateTime((wxDateTime
&) result
);
20616 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20624 static PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
20629 argc
= PyObject_Length(args
);
20630 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20631 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20637 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20647 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20655 return _wrap_DateTime___sub____SWIG_0(self
,args
);
20663 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20673 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20681 return _wrap_DateTime___sub____SWIG_1(self
,args
);
20689 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20699 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20707 return _wrap_DateTime___sub____SWIG_2(self
,args
);
20712 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___sub__'");
20717 static PyObject
*_wrap_DateTime___lt__(PyObject
*self
, PyObject
*args
) {
20718 PyObject
*resultobj
;
20719 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20720 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20722 PyObject
* obj0
= 0 ;
20723 PyObject
* obj1
= 0 ;
20725 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___lt__",&obj0
,&obj1
)) goto fail
;
20726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20728 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20732 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const *)arg2
);
20734 wxPyEndAllowThreads(__tstate
);
20735 if (PyErr_Occurred()) SWIG_fail
;
20738 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20746 static PyObject
*_wrap_DateTime___le__(PyObject
*self
, PyObject
*args
) {
20747 PyObject
*resultobj
;
20748 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20749 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20751 PyObject
* obj0
= 0 ;
20752 PyObject
* obj1
= 0 ;
20754 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___le__",&obj0
,&obj1
)) goto fail
;
20755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20757 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20761 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const *)arg2
);
20763 wxPyEndAllowThreads(__tstate
);
20764 if (PyErr_Occurred()) SWIG_fail
;
20767 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20775 static PyObject
*_wrap_DateTime___gt__(PyObject
*self
, PyObject
*args
) {
20776 PyObject
*resultobj
;
20777 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20778 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20780 PyObject
* obj0
= 0 ;
20781 PyObject
* obj1
= 0 ;
20783 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___gt__",&obj0
,&obj1
)) goto fail
;
20784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20786 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20790 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const *)arg2
);
20792 wxPyEndAllowThreads(__tstate
);
20793 if (PyErr_Occurred()) SWIG_fail
;
20796 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20804 static PyObject
*_wrap_DateTime___ge__(PyObject
*self
, PyObject
*args
) {
20805 PyObject
*resultobj
;
20806 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20807 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20809 PyObject
* obj0
= 0 ;
20810 PyObject
* obj1
= 0 ;
20812 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ge__",&obj0
,&obj1
)) goto fail
;
20813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20815 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20819 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const *)arg2
);
20821 wxPyEndAllowThreads(__tstate
);
20822 if (PyErr_Occurred()) SWIG_fail
;
20825 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20833 static PyObject
*_wrap_DateTime___eq__(PyObject
*self
, PyObject
*args
) {
20834 PyObject
*resultobj
;
20835 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20836 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20838 PyObject
* obj0
= 0 ;
20839 PyObject
* obj1
= 0 ;
20841 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___eq__",&obj0
,&obj1
)) goto fail
;
20842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20844 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20848 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const *)arg2
);
20850 wxPyEndAllowThreads(__tstate
);
20851 if (PyErr_Occurred()) SWIG_fail
;
20854 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20862 static PyObject
*_wrap_DateTime___ne__(PyObject
*self
, PyObject
*args
) {
20863 PyObject
*resultobj
;
20864 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20865 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20867 PyObject
* obj0
= 0 ;
20868 PyObject
* obj1
= 0 ;
20870 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ne__",&obj0
,&obj1
)) goto fail
;
20871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20873 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20877 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const *)arg2
);
20879 wxPyEndAllowThreads(__tstate
);
20880 if (PyErr_Occurred()) SWIG_fail
;
20883 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20891 static PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20892 PyObject
*resultobj
;
20893 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20894 wxString
*arg2
= 0 ;
20896 bool temp2
= False
;
20897 PyObject
* obj0
= 0 ;
20898 PyObject
* obj1
= 0 ;
20899 char *kwnames
[] = {
20900 (char *) "self",(char *) "date", NULL
20903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) goto fail
;
20904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20907 arg2
= wxString_in_helper(obj1
);
20908 if (arg2
== NULL
) SWIG_fail
;
20912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20913 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
20915 wxPyEndAllowThreads(__tstate
);
20916 if (PyErr_Occurred()) SWIG_fail
;
20918 resultobj
= SWIG_FromInt((int)result
);
20933 static PyObject
*_wrap_DateTime_ParseFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20934 PyObject
*resultobj
;
20935 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20936 wxString
*arg2
= 0 ;
20937 wxString
const &arg3_defvalue
= wxPyDateFormatStr
;
20938 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20939 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
20940 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
20942 bool temp2
= False
;
20943 bool temp3
= False
;
20944 PyObject
* obj0
= 0 ;
20945 PyObject
* obj1
= 0 ;
20946 PyObject
* obj2
= 0 ;
20947 PyObject
* obj3
= 0 ;
20948 char *kwnames
[] = {
20949 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
20952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20956 arg2
= wxString_in_helper(obj1
);
20957 if (arg2
== NULL
) SWIG_fail
;
20962 arg3
= wxString_in_helper(obj2
);
20963 if (arg3
== NULL
) SWIG_fail
;
20968 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDateTime
,
20969 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20971 if (arg4
== NULL
) {
20972 PyErr_SetString(PyExc_TypeError
,"null reference");
20977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20978 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
20980 wxPyEndAllowThreads(__tstate
);
20981 if (PyErr_Occurred()) SWIG_fail
;
20983 resultobj
= SWIG_FromInt((int)result
);
21006 static PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21007 PyObject
*resultobj
;
21008 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21009 wxString
*arg2
= 0 ;
21011 bool temp2
= False
;
21012 PyObject
* obj0
= 0 ;
21013 PyObject
* obj1
= 0 ;
21014 char *kwnames
[] = {
21015 (char *) "self",(char *) "datetime", NULL
21018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) goto fail
;
21019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21022 arg2
= wxString_in_helper(obj1
);
21023 if (arg2
== NULL
) SWIG_fail
;
21027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21028 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
21030 wxPyEndAllowThreads(__tstate
);
21031 if (PyErr_Occurred()) SWIG_fail
;
21033 resultobj
= SWIG_FromInt((int)result
);
21048 static PyObject
*_wrap_DateTime_ParseDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21049 PyObject
*resultobj
;
21050 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21051 wxString
*arg2
= 0 ;
21053 bool temp2
= False
;
21054 PyObject
* obj0
= 0 ;
21055 PyObject
* obj1
= 0 ;
21056 char *kwnames
[] = {
21057 (char *) "self",(char *) "date", NULL
21060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) goto fail
;
21061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21064 arg2
= wxString_in_helper(obj1
);
21065 if (arg2
== NULL
) SWIG_fail
;
21069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21070 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
21072 wxPyEndAllowThreads(__tstate
);
21073 if (PyErr_Occurred()) SWIG_fail
;
21075 resultobj
= SWIG_FromInt((int)result
);
21090 static PyObject
*_wrap_DateTime_ParseTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21091 PyObject
*resultobj
;
21092 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21093 wxString
*arg2
= 0 ;
21095 bool temp2
= False
;
21096 PyObject
* obj0
= 0 ;
21097 PyObject
* obj1
= 0 ;
21098 char *kwnames
[] = {
21099 (char *) "self",(char *) "time", NULL
21102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) goto fail
;
21103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21106 arg2
= wxString_in_helper(obj1
);
21107 if (arg2
== NULL
) SWIG_fail
;
21111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21112 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
21114 wxPyEndAllowThreads(__tstate
);
21115 if (PyErr_Occurred()) SWIG_fail
;
21117 resultobj
= SWIG_FromInt((int)result
);
21132 static PyObject
*_wrap_DateTime_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21133 PyObject
*resultobj
;
21134 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21135 wxString
const &arg2_defvalue
= wxPyDateFormatStr
;
21136 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
21137 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
21138 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
21140 bool temp2
= False
;
21141 bool temp3
= False
;
21142 PyObject
* obj0
= 0 ;
21143 PyObject
* obj1
= 0 ;
21144 PyObject
* obj2
= 0 ;
21145 char *kwnames
[] = {
21146 (char *) "self",(char *) "format",(char *) "tz", NULL
21149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21154 arg2
= wxString_in_helper(obj1
);
21155 if (arg2
== NULL
) SWIG_fail
;
21161 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
21166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21167 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
21169 wxPyEndAllowThreads(__tstate
);
21170 if (PyErr_Occurred()) SWIG_fail
;
21174 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21176 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21184 if (temp3
) delete arg3
;
21193 if (temp3
) delete arg3
;
21199 static PyObject
*_wrap_DateTime_FormatDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21200 PyObject
*resultobj
;
21201 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21203 PyObject
* obj0
= 0 ;
21204 char *kwnames
[] = {
21205 (char *) "self", NULL
21208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatDate",kwnames
,&obj0
)) goto fail
;
21209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21213 result
= ((wxDateTime
const *)arg1
)->FormatDate();
21215 wxPyEndAllowThreads(__tstate
);
21216 if (PyErr_Occurred()) SWIG_fail
;
21220 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21222 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21231 static PyObject
*_wrap_DateTime_FormatTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21232 PyObject
*resultobj
;
21233 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21235 PyObject
* obj0
= 0 ;
21236 char *kwnames
[] = {
21237 (char *) "self", NULL
21240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatTime",kwnames
,&obj0
)) goto fail
;
21241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21245 result
= ((wxDateTime
const *)arg1
)->FormatTime();
21247 wxPyEndAllowThreads(__tstate
);
21248 if (PyErr_Occurred()) SWIG_fail
;
21252 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21254 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21263 static PyObject
*_wrap_DateTime_FormatISODate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21264 PyObject
*resultobj
;
21265 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21267 PyObject
* obj0
= 0 ;
21268 char *kwnames
[] = {
21269 (char *) "self", NULL
21272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISODate",kwnames
,&obj0
)) goto fail
;
21273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21277 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
21279 wxPyEndAllowThreads(__tstate
);
21280 if (PyErr_Occurred()) SWIG_fail
;
21284 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21286 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21295 static PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21296 PyObject
*resultobj
;
21297 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21299 PyObject
* obj0
= 0 ;
21300 char *kwnames
[] = {
21301 (char *) "self", NULL
21304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISOTime",kwnames
,&obj0
)) goto fail
;
21305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21309 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
21311 wxPyEndAllowThreads(__tstate
);
21312 if (PyErr_Occurred()) SWIG_fail
;
21316 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21318 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21327 static PyObject
* DateTime_swigregister(PyObject
*self
, PyObject
*args
) {
21329 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21330 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime
, obj
);
21332 return Py_BuildValue((char *)"");
21334 static PyObject
*_wrap_TimeSpan_Seconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21335 PyObject
*resultobj
;
21338 PyObject
* obj0
= 0 ;
21339 char *kwnames
[] = {
21340 (char *) "sec", NULL
21343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",kwnames
,&obj0
)) goto fail
;
21344 arg1
= (long) SWIG_AsLong(obj0
);
21345 if (PyErr_Occurred()) SWIG_fail
;
21347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21348 result
= wxTimeSpan::Seconds(arg1
);
21350 wxPyEndAllowThreads(__tstate
);
21351 if (PyErr_Occurred()) SWIG_fail
;
21354 wxTimeSpan
* resultptr
;
21355 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21356 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21364 static PyObject
*_wrap_TimeSpan_Second(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21365 PyObject
*resultobj
;
21367 char *kwnames
[] = {
21371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Second",kwnames
)) goto fail
;
21373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21374 result
= wxTimeSpan::Second();
21376 wxPyEndAllowThreads(__tstate
);
21377 if (PyErr_Occurred()) SWIG_fail
;
21380 wxTimeSpan
* resultptr
;
21381 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21382 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21390 static PyObject
*_wrap_TimeSpan_Minutes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21391 PyObject
*resultobj
;
21394 PyObject
* obj0
= 0 ;
21395 char *kwnames
[] = {
21396 (char *) "min", NULL
21399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",kwnames
,&obj0
)) goto fail
;
21400 arg1
= (long) SWIG_AsLong(obj0
);
21401 if (PyErr_Occurred()) SWIG_fail
;
21403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21404 result
= wxTimeSpan::Minutes(arg1
);
21406 wxPyEndAllowThreads(__tstate
);
21407 if (PyErr_Occurred()) SWIG_fail
;
21410 wxTimeSpan
* resultptr
;
21411 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21412 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21420 static PyObject
*_wrap_TimeSpan_Minute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21421 PyObject
*resultobj
;
21423 char *kwnames
[] = {
21427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Minute",kwnames
)) goto fail
;
21429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21430 result
= wxTimeSpan::Minute();
21432 wxPyEndAllowThreads(__tstate
);
21433 if (PyErr_Occurred()) SWIG_fail
;
21436 wxTimeSpan
* resultptr
;
21437 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21438 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21446 static PyObject
*_wrap_TimeSpan_Hours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21447 PyObject
*resultobj
;
21450 PyObject
* obj0
= 0 ;
21451 char *kwnames
[] = {
21452 (char *) "hours", NULL
21455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",kwnames
,&obj0
)) goto fail
;
21456 arg1
= (long) SWIG_AsLong(obj0
);
21457 if (PyErr_Occurred()) SWIG_fail
;
21459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21460 result
= wxTimeSpan::Hours(arg1
);
21462 wxPyEndAllowThreads(__tstate
);
21463 if (PyErr_Occurred()) SWIG_fail
;
21466 wxTimeSpan
* resultptr
;
21467 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21468 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21476 static PyObject
*_wrap_TimeSpan_Hour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21477 PyObject
*resultobj
;
21479 char *kwnames
[] = {
21483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Hour",kwnames
)) goto fail
;
21485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21486 result
= wxTimeSpan::Hour();
21488 wxPyEndAllowThreads(__tstate
);
21489 if (PyErr_Occurred()) SWIG_fail
;
21492 wxTimeSpan
* resultptr
;
21493 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21494 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21502 static PyObject
*_wrap_TimeSpan_Days(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21503 PyObject
*resultobj
;
21506 PyObject
* obj0
= 0 ;
21507 char *kwnames
[] = {
21508 (char *) "days", NULL
21511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Days",kwnames
,&obj0
)) goto fail
;
21512 arg1
= (long) SWIG_AsLong(obj0
);
21513 if (PyErr_Occurred()) SWIG_fail
;
21515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21516 result
= wxTimeSpan::Days(arg1
);
21518 wxPyEndAllowThreads(__tstate
);
21519 if (PyErr_Occurred()) SWIG_fail
;
21522 wxTimeSpan
* resultptr
;
21523 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21524 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21532 static PyObject
*_wrap_TimeSpan_Day(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21533 PyObject
*resultobj
;
21535 char *kwnames
[] = {
21539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Day",kwnames
)) goto fail
;
21541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21542 result
= wxTimeSpan::Day();
21544 wxPyEndAllowThreads(__tstate
);
21545 if (PyErr_Occurred()) SWIG_fail
;
21548 wxTimeSpan
* resultptr
;
21549 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21550 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21558 static PyObject
*_wrap_TimeSpan_Weeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21559 PyObject
*resultobj
;
21562 PyObject
* obj0
= 0 ;
21563 char *kwnames
[] = {
21564 (char *) "days", NULL
21567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) goto fail
;
21568 arg1
= (long) SWIG_AsLong(obj0
);
21569 if (PyErr_Occurred()) SWIG_fail
;
21571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21572 result
= wxTimeSpan::Weeks(arg1
);
21574 wxPyEndAllowThreads(__tstate
);
21575 if (PyErr_Occurred()) SWIG_fail
;
21578 wxTimeSpan
* resultptr
;
21579 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21580 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21588 static PyObject
*_wrap_TimeSpan_Week(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21589 PyObject
*resultobj
;
21591 char *kwnames
[] = {
21595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Week",kwnames
)) goto fail
;
21597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21598 result
= wxTimeSpan::Week();
21600 wxPyEndAllowThreads(__tstate
);
21601 if (PyErr_Occurred()) SWIG_fail
;
21604 wxTimeSpan
* resultptr
;
21605 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21606 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21614 static PyObject
*_wrap_new_TimeSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21615 PyObject
*resultobj
;
21616 long arg1
= (long) 0 ;
21617 long arg2
= (long) 0 ;
21618 long arg3
= (long) 0 ;
21619 long arg4
= (long) 0 ;
21620 wxTimeSpan
*result
;
21621 PyObject
* obj0
= 0 ;
21622 PyObject
* obj1
= 0 ;
21623 PyObject
* obj2
= 0 ;
21624 PyObject
* obj3
= 0 ;
21625 char *kwnames
[] = {
21626 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
21629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21631 arg1
= (long) SWIG_AsLong(obj0
);
21632 if (PyErr_Occurred()) SWIG_fail
;
21635 arg2
= (long) SWIG_AsLong(obj1
);
21636 if (PyErr_Occurred()) SWIG_fail
;
21639 arg3
= (long) SWIG_AsLong(obj2
);
21640 if (PyErr_Occurred()) SWIG_fail
;
21643 arg4
= (long) SWIG_AsLong(obj3
);
21644 if (PyErr_Occurred()) SWIG_fail
;
21647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21648 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
21650 wxPyEndAllowThreads(__tstate
);
21651 if (PyErr_Occurred()) SWIG_fail
;
21653 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
21660 static PyObject
*_wrap_delete_TimeSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21661 PyObject
*resultobj
;
21662 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21663 PyObject
* obj0
= 0 ;
21664 char *kwnames
[] = {
21665 (char *) "self", NULL
21668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimeSpan",kwnames
,&obj0
)) goto fail
;
21669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21675 wxPyEndAllowThreads(__tstate
);
21676 if (PyErr_Occurred()) SWIG_fail
;
21678 Py_INCREF(Py_None
); resultobj
= Py_None
;
21685 static PyObject
*_wrap_TimeSpan_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21686 PyObject
*resultobj
;
21687 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21688 wxTimeSpan
*arg2
= 0 ;
21689 wxTimeSpan
*result
;
21690 PyObject
* obj0
= 0 ;
21691 PyObject
* obj1
= 0 ;
21692 char *kwnames
[] = {
21693 (char *) "self",(char *) "diff", NULL
21696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
21697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21699 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21700 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21702 if (arg2
== NULL
) {
21703 PyErr_SetString(PyExc_TypeError
,"null reference");
21707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21709 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
21710 result
= (wxTimeSpan
*) &_result_ref
;
21713 wxPyEndAllowThreads(__tstate
);
21714 if (PyErr_Occurred()) SWIG_fail
;
21716 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21723 static PyObject
*_wrap_TimeSpan_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21724 PyObject
*resultobj
;
21725 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21726 wxTimeSpan
*arg2
= 0 ;
21727 wxTimeSpan
*result
;
21728 PyObject
* obj0
= 0 ;
21729 PyObject
* obj1
= 0 ;
21730 char *kwnames
[] = {
21731 (char *) "self",(char *) "diff", NULL
21734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
21735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21737 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21738 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21740 if (arg2
== NULL
) {
21741 PyErr_SetString(PyExc_TypeError
,"null reference");
21745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21747 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
21748 result
= (wxTimeSpan
*) &_result_ref
;
21751 wxPyEndAllowThreads(__tstate
);
21752 if (PyErr_Occurred()) SWIG_fail
;
21754 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21761 static PyObject
*_wrap_TimeSpan_Multiply(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21762 PyObject
*resultobj
;
21763 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21765 wxTimeSpan
*result
;
21766 PyObject
* obj0
= 0 ;
21767 PyObject
* obj1
= 0 ;
21768 char *kwnames
[] = {
21769 (char *) "self",(char *) "n", NULL
21772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
21773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21775 arg2
= (int) SWIG_AsInt(obj1
);
21776 if (PyErr_Occurred()) SWIG_fail
;
21778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21780 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
21781 result
= (wxTimeSpan
*) &_result_ref
;
21784 wxPyEndAllowThreads(__tstate
);
21785 if (PyErr_Occurred()) SWIG_fail
;
21787 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21794 static PyObject
*_wrap_TimeSpan_Neg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21795 PyObject
*resultobj
;
21796 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21797 wxTimeSpan
*result
;
21798 PyObject
* obj0
= 0 ;
21799 char *kwnames
[] = {
21800 (char *) "self", NULL
21803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Neg",kwnames
,&obj0
)) goto fail
;
21804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21809 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
21810 result
= (wxTimeSpan
*) &_result_ref
;
21813 wxPyEndAllowThreads(__tstate
);
21814 if (PyErr_Occurred()) SWIG_fail
;
21816 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21823 static PyObject
*_wrap_TimeSpan_Abs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21824 PyObject
*resultobj
;
21825 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21827 PyObject
* obj0
= 0 ;
21828 char *kwnames
[] = {
21829 (char *) "self", NULL
21832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Abs",kwnames
,&obj0
)) goto fail
;
21833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21837 result
= ((wxTimeSpan
const *)arg1
)->Abs();
21839 wxPyEndAllowThreads(__tstate
);
21840 if (PyErr_Occurred()) SWIG_fail
;
21843 wxTimeSpan
* resultptr
;
21844 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21845 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21853 static PyObject
*_wrap_TimeSpan___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21854 PyObject
*resultobj
;
21855 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21856 wxTimeSpan
*arg2
= 0 ;
21857 wxTimeSpan
*result
;
21858 PyObject
* obj0
= 0 ;
21859 PyObject
* obj1
= 0 ;
21860 char *kwnames
[] = {
21861 (char *) "self",(char *) "diff", NULL
21864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
21865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21867 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21868 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21870 if (arg2
== NULL
) {
21871 PyErr_SetString(PyExc_TypeError
,"null reference");
21875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21877 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
21878 result
= (wxTimeSpan
*) &_result_ref
;
21881 wxPyEndAllowThreads(__tstate
);
21882 if (PyErr_Occurred()) SWIG_fail
;
21884 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21891 static PyObject
*_wrap_TimeSpan___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21892 PyObject
*resultobj
;
21893 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21894 wxTimeSpan
*arg2
= 0 ;
21895 wxTimeSpan
*result
;
21896 PyObject
* obj0
= 0 ;
21897 PyObject
* obj1
= 0 ;
21898 char *kwnames
[] = {
21899 (char *) "self",(char *) "diff", NULL
21902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
21903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21905 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21906 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21908 if (arg2
== NULL
) {
21909 PyErr_SetString(PyExc_TypeError
,"null reference");
21913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21915 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
21916 result
= (wxTimeSpan
*) &_result_ref
;
21919 wxPyEndAllowThreads(__tstate
);
21920 if (PyErr_Occurred()) SWIG_fail
;
21922 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21929 static PyObject
*_wrap_TimeSpan___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21930 PyObject
*resultobj
;
21931 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21933 wxTimeSpan
*result
;
21934 PyObject
* obj0
= 0 ;
21935 PyObject
* obj1
= 0 ;
21936 char *kwnames
[] = {
21937 (char *) "self",(char *) "n", NULL
21940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
21941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21943 arg2
= (int) SWIG_AsInt(obj1
);
21944 if (PyErr_Occurred()) SWIG_fail
;
21946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21948 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
21949 result
= (wxTimeSpan
*) &_result_ref
;
21952 wxPyEndAllowThreads(__tstate
);
21953 if (PyErr_Occurred()) SWIG_fail
;
21955 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21962 static PyObject
*_wrap_TimeSpan___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21963 PyObject
*resultobj
;
21964 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21965 wxTimeSpan
*result
;
21966 PyObject
* obj0
= 0 ;
21967 char *kwnames
[] = {
21968 (char *) "self", NULL
21971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan___neg__",kwnames
,&obj0
)) goto fail
;
21972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21977 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
21978 result
= (wxTimeSpan
*) &_result_ref
;
21981 wxPyEndAllowThreads(__tstate
);
21982 if (PyErr_Occurred()) SWIG_fail
;
21984 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21991 static PyObject
*_wrap_TimeSpan___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21992 PyObject
*resultobj
;
21993 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21994 wxTimeSpan
*arg2
= 0 ;
21996 PyObject
* obj0
= 0 ;
21997 PyObject
* obj1
= 0 ;
21998 char *kwnames
[] = {
21999 (char *) "self",(char *) "other", NULL
22002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
22003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22005 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22006 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22008 if (arg2
== NULL
) {
22009 PyErr_SetString(PyExc_TypeError
,"null reference");
22013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22014 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
22016 wxPyEndAllowThreads(__tstate
);
22017 if (PyErr_Occurred()) SWIG_fail
;
22020 wxTimeSpan
* resultptr
;
22021 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22022 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22030 static PyObject
*_wrap_TimeSpan___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22031 PyObject
*resultobj
;
22032 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22033 wxTimeSpan
*arg2
= 0 ;
22035 PyObject
* obj0
= 0 ;
22036 PyObject
* obj1
= 0 ;
22037 char *kwnames
[] = {
22038 (char *) "self",(char *) "other", NULL
22041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
22042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22044 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22045 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22047 if (arg2
== NULL
) {
22048 PyErr_SetString(PyExc_TypeError
,"null reference");
22052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22053 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
22055 wxPyEndAllowThreads(__tstate
);
22056 if (PyErr_Occurred()) SWIG_fail
;
22059 wxTimeSpan
* resultptr
;
22060 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22061 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22069 static PyObject
*_wrap_TimeSpan___mul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22070 PyObject
*resultobj
;
22071 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22074 PyObject
* obj0
= 0 ;
22075 PyObject
* obj1
= 0 ;
22076 char *kwnames
[] = {
22077 (char *) "self",(char *) "n", NULL
22080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
22081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22083 arg2
= (int) SWIG_AsInt(obj1
);
22084 if (PyErr_Occurred()) SWIG_fail
;
22086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22087 result
= wxTimeSpan___mul__(arg1
,arg2
);
22089 wxPyEndAllowThreads(__tstate
);
22090 if (PyErr_Occurred()) SWIG_fail
;
22093 wxTimeSpan
* resultptr
;
22094 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22095 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22103 static PyObject
*_wrap_TimeSpan___rmul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22104 PyObject
*resultobj
;
22105 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22108 PyObject
* obj0
= 0 ;
22109 PyObject
* obj1
= 0 ;
22110 char *kwnames
[] = {
22111 (char *) "self",(char *) "n", NULL
22114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
22115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22117 arg2
= (int) SWIG_AsInt(obj1
);
22118 if (PyErr_Occurred()) SWIG_fail
;
22120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22121 result
= wxTimeSpan___rmul__(arg1
,arg2
);
22123 wxPyEndAllowThreads(__tstate
);
22124 if (PyErr_Occurred()) SWIG_fail
;
22127 wxTimeSpan
* resultptr
;
22128 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22129 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22137 static PyObject
*_wrap_TimeSpan___lt__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22138 PyObject
*resultobj
;
22139 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22140 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22142 PyObject
* obj0
= 0 ;
22143 PyObject
* obj1
= 0 ;
22144 char *kwnames
[] = {
22145 (char *) "self",(char *) "other", NULL
22148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
22149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22151 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22155 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const *)arg2
);
22157 wxPyEndAllowThreads(__tstate
);
22158 if (PyErr_Occurred()) SWIG_fail
;
22161 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22169 static PyObject
*_wrap_TimeSpan___le__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22170 PyObject
*resultobj
;
22171 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22172 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22174 PyObject
* obj0
= 0 ;
22175 PyObject
* obj1
= 0 ;
22176 char *kwnames
[] = {
22177 (char *) "self",(char *) "other", NULL
22180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
22181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22183 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22187 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const *)arg2
);
22189 wxPyEndAllowThreads(__tstate
);
22190 if (PyErr_Occurred()) SWIG_fail
;
22193 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22201 static PyObject
*_wrap_TimeSpan___gt__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22202 PyObject
*resultobj
;
22203 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22204 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22206 PyObject
* obj0
= 0 ;
22207 PyObject
* obj1
= 0 ;
22208 char *kwnames
[] = {
22209 (char *) "self",(char *) "other", NULL
22212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
22213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22215 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22219 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const *)arg2
);
22221 wxPyEndAllowThreads(__tstate
);
22222 if (PyErr_Occurred()) SWIG_fail
;
22225 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22233 static PyObject
*_wrap_TimeSpan___ge__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22234 PyObject
*resultobj
;
22235 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22236 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22238 PyObject
* obj0
= 0 ;
22239 PyObject
* obj1
= 0 ;
22240 char *kwnames
[] = {
22241 (char *) "self",(char *) "other", NULL
22244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
22245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22247 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22251 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const *)arg2
);
22253 wxPyEndAllowThreads(__tstate
);
22254 if (PyErr_Occurred()) SWIG_fail
;
22257 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22265 static PyObject
*_wrap_TimeSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22266 PyObject
*resultobj
;
22267 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22268 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22270 PyObject
* obj0
= 0 ;
22271 PyObject
* obj1
= 0 ;
22272 char *kwnames
[] = {
22273 (char *) "self",(char *) "other", NULL
22276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
22277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22279 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22283 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const *)arg2
);
22285 wxPyEndAllowThreads(__tstate
);
22286 if (PyErr_Occurred()) SWIG_fail
;
22289 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22297 static PyObject
*_wrap_TimeSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22298 PyObject
*resultobj
;
22299 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22300 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22302 PyObject
* obj0
= 0 ;
22303 PyObject
* obj1
= 0 ;
22304 char *kwnames
[] = {
22305 (char *) "self",(char *) "other", NULL
22308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
22309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22311 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22315 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const *)arg2
);
22317 wxPyEndAllowThreads(__tstate
);
22318 if (PyErr_Occurred()) SWIG_fail
;
22321 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22329 static PyObject
*_wrap_TimeSpan_IsNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22330 PyObject
*resultobj
;
22331 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22333 PyObject
* obj0
= 0 ;
22334 char *kwnames
[] = {
22335 (char *) "self", NULL
22338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNull",kwnames
,&obj0
)) goto fail
;
22339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22343 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
22345 wxPyEndAllowThreads(__tstate
);
22346 if (PyErr_Occurred()) SWIG_fail
;
22349 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22357 static PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22358 PyObject
*resultobj
;
22359 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22361 PyObject
* obj0
= 0 ;
22362 char *kwnames
[] = {
22363 (char *) "self", NULL
22366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsPositive",kwnames
,&obj0
)) goto fail
;
22367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22371 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
22373 wxPyEndAllowThreads(__tstate
);
22374 if (PyErr_Occurred()) SWIG_fail
;
22377 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22385 static PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22386 PyObject
*resultobj
;
22387 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22389 PyObject
* obj0
= 0 ;
22390 char *kwnames
[] = {
22391 (char *) "self", NULL
22394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNegative",kwnames
,&obj0
)) goto fail
;
22395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22399 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
22401 wxPyEndAllowThreads(__tstate
);
22402 if (PyErr_Occurred()) SWIG_fail
;
22405 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22413 static PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22414 PyObject
*resultobj
;
22415 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22416 wxTimeSpan
*arg2
= 0 ;
22418 PyObject
* obj0
= 0 ;
22419 PyObject
* obj1
= 0 ;
22420 char *kwnames
[] = {
22421 (char *) "self",(char *) "ts", NULL
22424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
22425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22427 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22428 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22430 if (arg2
== NULL
) {
22431 PyErr_SetString(PyExc_TypeError
,"null reference");
22435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22436 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
22438 wxPyEndAllowThreads(__tstate
);
22439 if (PyErr_Occurred()) SWIG_fail
;
22442 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22450 static PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22451 PyObject
*resultobj
;
22452 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22453 wxTimeSpan
*arg2
= 0 ;
22455 PyObject
* obj0
= 0 ;
22456 PyObject
* obj1
= 0 ;
22457 char *kwnames
[] = {
22458 (char *) "self",(char *) "ts", NULL
22461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22464 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22465 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22467 if (arg2
== NULL
) {
22468 PyErr_SetString(PyExc_TypeError
,"null reference");
22472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22473 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
22475 wxPyEndAllowThreads(__tstate
);
22476 if (PyErr_Occurred()) SWIG_fail
;
22479 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22487 static PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22488 PyObject
*resultobj
;
22489 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22490 wxTimeSpan
*arg2
= 0 ;
22492 PyObject
* obj0
= 0 ;
22493 PyObject
* obj1
= 0 ;
22494 char *kwnames
[] = {
22495 (char *) "self",(char *) "t", NULL
22498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22501 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22502 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22504 if (arg2
== NULL
) {
22505 PyErr_SetString(PyExc_TypeError
,"null reference");
22509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22510 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
22512 wxPyEndAllowThreads(__tstate
);
22513 if (PyErr_Occurred()) SWIG_fail
;
22516 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22524 static PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22525 PyObject
*resultobj
;
22526 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22528 PyObject
* obj0
= 0 ;
22529 char *kwnames
[] = {
22530 (char *) "self", NULL
22533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
22534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22538 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
22540 wxPyEndAllowThreads(__tstate
);
22541 if (PyErr_Occurred()) SWIG_fail
;
22543 resultobj
= SWIG_FromInt((int)result
);
22550 static PyObject
*_wrap_TimeSpan_GetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22551 PyObject
*resultobj
;
22552 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22554 PyObject
* obj0
= 0 ;
22555 char *kwnames
[] = {
22556 (char *) "self", NULL
22559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetDays",kwnames
,&obj0
)) goto fail
;
22560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22564 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
22566 wxPyEndAllowThreads(__tstate
);
22567 if (PyErr_Occurred()) SWIG_fail
;
22569 resultobj
= SWIG_FromInt((int)result
);
22576 static PyObject
*_wrap_TimeSpan_GetHours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22577 PyObject
*resultobj
;
22578 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22580 PyObject
* obj0
= 0 ;
22581 char *kwnames
[] = {
22582 (char *) "self", NULL
22585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetHours",kwnames
,&obj0
)) goto fail
;
22586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22590 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
22592 wxPyEndAllowThreads(__tstate
);
22593 if (PyErr_Occurred()) SWIG_fail
;
22595 resultobj
= SWIG_FromInt((int)result
);
22602 static PyObject
*_wrap_TimeSpan_GetMinutes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22603 PyObject
*resultobj
;
22604 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22606 PyObject
* obj0
= 0 ;
22607 char *kwnames
[] = {
22608 (char *) "self", NULL
22611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMinutes",kwnames
,&obj0
)) goto fail
;
22612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22616 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
22618 wxPyEndAllowThreads(__tstate
);
22619 if (PyErr_Occurred()) SWIG_fail
;
22621 resultobj
= SWIG_FromInt((int)result
);
22628 static PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22629 PyObject
*resultobj
;
22630 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22632 PyObject
* obj0
= 0 ;
22633 char *kwnames
[] = {
22634 (char *) "self", NULL
22637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetSeconds",kwnames
,&obj0
)) goto fail
;
22638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22642 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
22644 wxPyEndAllowThreads(__tstate
);
22645 if (PyErr_Occurred()) SWIG_fail
;
22648 PyObject
*hi
, *lo
, *shifter
, *shifted
;
22649 hi
= PyLong_FromLong( (&result
)->GetHi() );
22650 lo
= PyLong_FromLong( (&result
)->GetLo() );
22651 shifter
= PyLong_FromLong(32);
22652 shifted
= PyNumber_Lshift(hi
, shifter
);
22653 resultobj
= PyNumber_Or(shifted
, lo
);
22656 Py_DECREF(shifter
);
22657 Py_DECREF(shifted
);
22665 static PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22666 PyObject
*resultobj
;
22667 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22669 PyObject
* obj0
= 0 ;
22670 char *kwnames
[] = {
22671 (char *) "self", NULL
22674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMilliseconds",kwnames
,&obj0
)) goto fail
;
22675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22679 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
22681 wxPyEndAllowThreads(__tstate
);
22682 if (PyErr_Occurred()) SWIG_fail
;
22685 PyObject
*hi
, *lo
, *shifter
, *shifted
;
22686 hi
= PyLong_FromLong( (&result
)->GetHi() );
22687 lo
= PyLong_FromLong( (&result
)->GetLo() );
22688 shifter
= PyLong_FromLong(32);
22689 shifted
= PyNumber_Lshift(hi
, shifter
);
22690 resultobj
= PyNumber_Or(shifted
, lo
);
22693 Py_DECREF(shifter
);
22694 Py_DECREF(shifted
);
22702 static PyObject
*_wrap_TimeSpan_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22703 PyObject
*resultobj
;
22704 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22705 wxString
const &arg2_defvalue
= wxPyTimeSpanFormatStr
;
22706 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
22708 bool temp2
= False
;
22709 PyObject
* obj0
= 0 ;
22710 PyObject
* obj1
= 0 ;
22711 char *kwnames
[] = {
22712 (char *) "self",(char *) "format", NULL
22715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) goto fail
;
22716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22720 arg2
= wxString_in_helper(obj1
);
22721 if (arg2
== NULL
) SWIG_fail
;
22726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22727 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
22729 wxPyEndAllowThreads(__tstate
);
22730 if (PyErr_Occurred()) SWIG_fail
;
22734 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22736 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22753 static PyObject
* TimeSpan_swigregister(PyObject
*self
, PyObject
*args
) {
22755 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22756 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan
, obj
);
22758 return Py_BuildValue((char *)"");
22760 static PyObject
*_wrap_new_DateSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22761 PyObject
*resultobj
;
22762 int arg1
= (int) 0 ;
22763 int arg2
= (int) 0 ;
22764 int arg3
= (int) 0 ;
22765 int arg4
= (int) 0 ;
22766 wxDateSpan
*result
;
22767 PyObject
* obj0
= 0 ;
22768 PyObject
* obj1
= 0 ;
22769 PyObject
* obj2
= 0 ;
22770 PyObject
* obj3
= 0 ;
22771 char *kwnames
[] = {
22772 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
22775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22777 arg1
= (int) SWIG_AsInt(obj0
);
22778 if (PyErr_Occurred()) SWIG_fail
;
22781 arg2
= (int) SWIG_AsInt(obj1
);
22782 if (PyErr_Occurred()) SWIG_fail
;
22785 arg3
= (int) SWIG_AsInt(obj2
);
22786 if (PyErr_Occurred()) SWIG_fail
;
22789 arg4
= (int) SWIG_AsInt(obj3
);
22790 if (PyErr_Occurred()) SWIG_fail
;
22793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22794 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
22796 wxPyEndAllowThreads(__tstate
);
22797 if (PyErr_Occurred()) SWIG_fail
;
22799 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
22806 static PyObject
*_wrap_delete_DateSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22807 PyObject
*resultobj
;
22808 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22809 PyObject
* obj0
= 0 ;
22810 char *kwnames
[] = {
22811 (char *) "self", NULL
22814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateSpan",kwnames
,&obj0
)) goto fail
;
22815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22821 wxPyEndAllowThreads(__tstate
);
22822 if (PyErr_Occurred()) SWIG_fail
;
22824 Py_INCREF(Py_None
); resultobj
= Py_None
;
22831 static PyObject
*_wrap_DateSpan_Days(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22832 PyObject
*resultobj
;
22835 PyObject
* obj0
= 0 ;
22836 char *kwnames
[] = {
22837 (char *) "days", NULL
22840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",kwnames
,&obj0
)) goto fail
;
22841 arg1
= (int) SWIG_AsInt(obj0
);
22842 if (PyErr_Occurred()) SWIG_fail
;
22844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22845 result
= wxDateSpan::Days(arg1
);
22847 wxPyEndAllowThreads(__tstate
);
22848 if (PyErr_Occurred()) SWIG_fail
;
22851 wxDateSpan
* resultptr
;
22852 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22853 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22861 static PyObject
*_wrap_DateSpan_Day(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22862 PyObject
*resultobj
;
22864 char *kwnames
[] = {
22868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Day",kwnames
)) goto fail
;
22870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22871 result
= wxDateSpan::Day();
22873 wxPyEndAllowThreads(__tstate
);
22874 if (PyErr_Occurred()) SWIG_fail
;
22877 wxDateSpan
* resultptr
;
22878 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22879 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22887 static PyObject
*_wrap_DateSpan_Weeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22888 PyObject
*resultobj
;
22891 PyObject
* obj0
= 0 ;
22892 char *kwnames
[] = {
22893 (char *) "weeks", NULL
22896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",kwnames
,&obj0
)) goto fail
;
22897 arg1
= (int) SWIG_AsInt(obj0
);
22898 if (PyErr_Occurred()) SWIG_fail
;
22900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22901 result
= wxDateSpan::Weeks(arg1
);
22903 wxPyEndAllowThreads(__tstate
);
22904 if (PyErr_Occurred()) SWIG_fail
;
22907 wxDateSpan
* resultptr
;
22908 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22909 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22917 static PyObject
*_wrap_DateSpan_Week(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22918 PyObject
*resultobj
;
22920 char *kwnames
[] = {
22924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Week",kwnames
)) goto fail
;
22926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22927 result
= wxDateSpan::Week();
22929 wxPyEndAllowThreads(__tstate
);
22930 if (PyErr_Occurred()) SWIG_fail
;
22933 wxDateSpan
* resultptr
;
22934 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22935 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22943 static PyObject
*_wrap_DateSpan_Months(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22944 PyObject
*resultobj
;
22947 PyObject
* obj0
= 0 ;
22948 char *kwnames
[] = {
22949 (char *) "mon", NULL
22952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",kwnames
,&obj0
)) goto fail
;
22953 arg1
= (int) SWIG_AsInt(obj0
);
22954 if (PyErr_Occurred()) SWIG_fail
;
22956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22957 result
= wxDateSpan::Months(arg1
);
22959 wxPyEndAllowThreads(__tstate
);
22960 if (PyErr_Occurred()) SWIG_fail
;
22963 wxDateSpan
* resultptr
;
22964 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22965 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22973 static PyObject
*_wrap_DateSpan_Month(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22974 PyObject
*resultobj
;
22976 char *kwnames
[] = {
22980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Month",kwnames
)) goto fail
;
22982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22983 result
= wxDateSpan::Month();
22985 wxPyEndAllowThreads(__tstate
);
22986 if (PyErr_Occurred()) SWIG_fail
;
22989 wxDateSpan
* resultptr
;
22990 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22991 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22999 static PyObject
*_wrap_DateSpan_Years(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23000 PyObject
*resultobj
;
23003 PyObject
* obj0
= 0 ;
23004 char *kwnames
[] = {
23005 (char *) "years", NULL
23008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) goto fail
;
23009 arg1
= (int) SWIG_AsInt(obj0
);
23010 if (PyErr_Occurred()) SWIG_fail
;
23012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23013 result
= wxDateSpan::Years(arg1
);
23015 wxPyEndAllowThreads(__tstate
);
23016 if (PyErr_Occurred()) SWIG_fail
;
23019 wxDateSpan
* resultptr
;
23020 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23021 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23029 static PyObject
*_wrap_DateSpan_Year(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23030 PyObject
*resultobj
;
23032 char *kwnames
[] = {
23036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Year",kwnames
)) goto fail
;
23038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23039 result
= wxDateSpan::Year();
23041 wxPyEndAllowThreads(__tstate
);
23042 if (PyErr_Occurred()) SWIG_fail
;
23045 wxDateSpan
* resultptr
;
23046 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23047 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23055 static PyObject
*_wrap_DateSpan_SetYears(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23056 PyObject
*resultobj
;
23057 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23059 wxDateSpan
*result
;
23060 PyObject
* obj0
= 0 ;
23061 PyObject
* obj1
= 0 ;
23062 char *kwnames
[] = {
23063 (char *) "self",(char *) "n", NULL
23066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetYears",kwnames
,&obj0
,&obj1
)) goto fail
;
23067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23069 arg2
= (int) SWIG_AsInt(obj1
);
23070 if (PyErr_Occurred()) SWIG_fail
;
23072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23074 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
23075 result
= (wxDateSpan
*) &_result_ref
;
23078 wxPyEndAllowThreads(__tstate
);
23079 if (PyErr_Occurred()) SWIG_fail
;
23081 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23088 static PyObject
*_wrap_DateSpan_SetMonths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23089 PyObject
*resultobj
;
23090 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23092 wxDateSpan
*result
;
23093 PyObject
* obj0
= 0 ;
23094 PyObject
* obj1
= 0 ;
23095 char *kwnames
[] = {
23096 (char *) "self",(char *) "n", NULL
23099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetMonths",kwnames
,&obj0
,&obj1
)) goto fail
;
23100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23102 arg2
= (int) SWIG_AsInt(obj1
);
23103 if (PyErr_Occurred()) SWIG_fail
;
23105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23107 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
23108 result
= (wxDateSpan
*) &_result_ref
;
23111 wxPyEndAllowThreads(__tstate
);
23112 if (PyErr_Occurred()) SWIG_fail
;
23114 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23121 static PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23122 PyObject
*resultobj
;
23123 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23125 wxDateSpan
*result
;
23126 PyObject
* obj0
= 0 ;
23127 PyObject
* obj1
= 0 ;
23128 char *kwnames
[] = {
23129 (char *) "self",(char *) "n", NULL
23132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) goto fail
;
23133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23135 arg2
= (int) SWIG_AsInt(obj1
);
23136 if (PyErr_Occurred()) SWIG_fail
;
23138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23140 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
23141 result
= (wxDateSpan
*) &_result_ref
;
23144 wxPyEndAllowThreads(__tstate
);
23145 if (PyErr_Occurred()) SWIG_fail
;
23147 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23154 static PyObject
*_wrap_DateSpan_SetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23155 PyObject
*resultobj
;
23156 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23158 wxDateSpan
*result
;
23159 PyObject
* obj0
= 0 ;
23160 PyObject
* obj1
= 0 ;
23161 char *kwnames
[] = {
23162 (char *) "self",(char *) "n", NULL
23165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) goto fail
;
23166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23168 arg2
= (int) SWIG_AsInt(obj1
);
23169 if (PyErr_Occurred()) SWIG_fail
;
23171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23173 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
23174 result
= (wxDateSpan
*) &_result_ref
;
23177 wxPyEndAllowThreads(__tstate
);
23178 if (PyErr_Occurred()) SWIG_fail
;
23180 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23187 static PyObject
*_wrap_DateSpan_GetYears(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23188 PyObject
*resultobj
;
23189 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23191 PyObject
* obj0
= 0 ;
23192 char *kwnames
[] = {
23193 (char *) "self", NULL
23196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetYears",kwnames
,&obj0
)) goto fail
;
23197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23201 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
23203 wxPyEndAllowThreads(__tstate
);
23204 if (PyErr_Occurred()) SWIG_fail
;
23206 resultobj
= SWIG_FromInt((int)result
);
23213 static PyObject
*_wrap_DateSpan_GetMonths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23214 PyObject
*resultobj
;
23215 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23217 PyObject
* obj0
= 0 ;
23218 char *kwnames
[] = {
23219 (char *) "self", NULL
23222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetMonths",kwnames
,&obj0
)) goto fail
;
23223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23227 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
23229 wxPyEndAllowThreads(__tstate
);
23230 if (PyErr_Occurred()) SWIG_fail
;
23232 resultobj
= SWIG_FromInt((int)result
);
23239 static PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23240 PyObject
*resultobj
;
23241 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23243 PyObject
* obj0
= 0 ;
23244 char *kwnames
[] = {
23245 (char *) "self", NULL
23248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
23249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23253 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
23255 wxPyEndAllowThreads(__tstate
);
23256 if (PyErr_Occurred()) SWIG_fail
;
23258 resultobj
= SWIG_FromInt((int)result
);
23265 static PyObject
*_wrap_DateSpan_GetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23266 PyObject
*resultobj
;
23267 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23269 PyObject
* obj0
= 0 ;
23270 char *kwnames
[] = {
23271 (char *) "self", NULL
23274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetDays",kwnames
,&obj0
)) goto fail
;
23275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23279 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
23281 wxPyEndAllowThreads(__tstate
);
23282 if (PyErr_Occurred()) SWIG_fail
;
23284 resultobj
= SWIG_FromInt((int)result
);
23291 static PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23292 PyObject
*resultobj
;
23293 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23295 PyObject
* obj0
= 0 ;
23296 char *kwnames
[] = {
23297 (char *) "self", NULL
23300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetTotalDays",kwnames
,&obj0
)) goto fail
;
23301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23305 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
23307 wxPyEndAllowThreads(__tstate
);
23308 if (PyErr_Occurred()) SWIG_fail
;
23310 resultobj
= SWIG_FromInt((int)result
);
23317 static PyObject
*_wrap_DateSpan_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23318 PyObject
*resultobj
;
23319 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23320 wxDateSpan
*arg2
= 0 ;
23321 wxDateSpan
*result
;
23322 PyObject
* obj0
= 0 ;
23323 PyObject
* obj1
= 0 ;
23324 char *kwnames
[] = {
23325 (char *) "self",(char *) "other", NULL
23328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
23329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23331 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23332 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23334 if (arg2
== NULL
) {
23335 PyErr_SetString(PyExc_TypeError
,"null reference");
23339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23341 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
23342 result
= (wxDateSpan
*) &_result_ref
;
23345 wxPyEndAllowThreads(__tstate
);
23346 if (PyErr_Occurred()) SWIG_fail
;
23348 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23355 static PyObject
*_wrap_DateSpan_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23356 PyObject
*resultobj
;
23357 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23358 wxDateSpan
*arg2
= 0 ;
23359 wxDateSpan
*result
;
23360 PyObject
* obj0
= 0 ;
23361 PyObject
* obj1
= 0 ;
23362 char *kwnames
[] = {
23363 (char *) "self",(char *) "other", NULL
23366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
23367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23369 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23370 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23372 if (arg2
== NULL
) {
23373 PyErr_SetString(PyExc_TypeError
,"null reference");
23377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23379 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
23380 result
= (wxDateSpan
*) &_result_ref
;
23383 wxPyEndAllowThreads(__tstate
);
23384 if (PyErr_Occurred()) SWIG_fail
;
23386 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23393 static PyObject
*_wrap_DateSpan_Neg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23394 PyObject
*resultobj
;
23395 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23396 wxDateSpan
*result
;
23397 PyObject
* obj0
= 0 ;
23398 char *kwnames
[] = {
23399 (char *) "self", NULL
23402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Neg",kwnames
,&obj0
)) goto fail
;
23403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23408 wxDateSpan
&_result_ref
= (arg1
)->Neg();
23409 result
= (wxDateSpan
*) &_result_ref
;
23412 wxPyEndAllowThreads(__tstate
);
23413 if (PyErr_Occurred()) SWIG_fail
;
23415 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23422 static PyObject
*_wrap_DateSpan_Multiply(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23423 PyObject
*resultobj
;
23424 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23426 wxDateSpan
*result
;
23427 PyObject
* obj0
= 0 ;
23428 PyObject
* obj1
= 0 ;
23429 char *kwnames
[] = {
23430 (char *) "self",(char *) "factor", NULL
23433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
23434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23436 arg2
= (int) SWIG_AsInt(obj1
);
23437 if (PyErr_Occurred()) SWIG_fail
;
23439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23441 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
23442 result
= (wxDateSpan
*) &_result_ref
;
23445 wxPyEndAllowThreads(__tstate
);
23446 if (PyErr_Occurred()) SWIG_fail
;
23448 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23455 static PyObject
*_wrap_DateSpan___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23456 PyObject
*resultobj
;
23457 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23458 wxDateSpan
*arg2
= 0 ;
23459 wxDateSpan
*result
;
23460 PyObject
* obj0
= 0 ;
23461 PyObject
* obj1
= 0 ;
23462 char *kwnames
[] = {
23463 (char *) "self",(char *) "other", NULL
23466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
23467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23469 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23470 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23472 if (arg2
== NULL
) {
23473 PyErr_SetString(PyExc_TypeError
,"null reference");
23477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23479 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
23480 result
= (wxDateSpan
*) &_result_ref
;
23483 wxPyEndAllowThreads(__tstate
);
23484 if (PyErr_Occurred()) SWIG_fail
;
23486 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23493 static PyObject
*_wrap_DateSpan___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23494 PyObject
*resultobj
;
23495 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23496 wxDateSpan
*arg2
= 0 ;
23497 wxDateSpan
*result
;
23498 PyObject
* obj0
= 0 ;
23499 PyObject
* obj1
= 0 ;
23500 char *kwnames
[] = {
23501 (char *) "self",(char *) "other", NULL
23504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
23505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23507 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23508 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23510 if (arg2
== NULL
) {
23511 PyErr_SetString(PyExc_TypeError
,"null reference");
23515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23517 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
23518 result
= (wxDateSpan
*) &_result_ref
;
23521 wxPyEndAllowThreads(__tstate
);
23522 if (PyErr_Occurred()) SWIG_fail
;
23524 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23531 static PyObject
*_wrap_DateSpan___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23532 PyObject
*resultobj
;
23533 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23534 wxDateSpan
*result
;
23535 PyObject
* obj0
= 0 ;
23536 char *kwnames
[] = {
23537 (char *) "self", NULL
23540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan___neg__",kwnames
,&obj0
)) goto fail
;
23541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23546 wxDateSpan
&_result_ref
= (arg1
)->operator -();
23547 result
= (wxDateSpan
*) &_result_ref
;
23550 wxPyEndAllowThreads(__tstate
);
23551 if (PyErr_Occurred()) SWIG_fail
;
23553 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23560 static PyObject
*_wrap_DateSpan___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23561 PyObject
*resultobj
;
23562 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23564 wxDateSpan
*result
;
23565 PyObject
* obj0
= 0 ;
23566 PyObject
* obj1
= 0 ;
23567 char *kwnames
[] = {
23568 (char *) "self",(char *) "factor", NULL
23571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23574 arg2
= (int) SWIG_AsInt(obj1
);
23575 if (PyErr_Occurred()) SWIG_fail
;
23577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23579 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
23580 result
= (wxDateSpan
*) &_result_ref
;
23583 wxPyEndAllowThreads(__tstate
);
23584 if (PyErr_Occurred()) SWIG_fail
;
23586 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23593 static PyObject
*_wrap_DateSpan___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23594 PyObject
*resultobj
;
23595 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23596 wxDateSpan
*arg2
= 0 ;
23598 PyObject
* obj0
= 0 ;
23599 PyObject
* obj1
= 0 ;
23600 char *kwnames
[] = {
23601 (char *) "self",(char *) "other", NULL
23604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
23605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23607 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23608 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23610 if (arg2
== NULL
) {
23611 PyErr_SetString(PyExc_TypeError
,"null reference");
23615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23616 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
23618 wxPyEndAllowThreads(__tstate
);
23619 if (PyErr_Occurred()) SWIG_fail
;
23622 wxDateSpan
* resultptr
;
23623 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23624 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23632 static PyObject
*_wrap_DateSpan___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23633 PyObject
*resultobj
;
23634 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23635 wxDateSpan
*arg2
= 0 ;
23637 PyObject
* obj0
= 0 ;
23638 PyObject
* obj1
= 0 ;
23639 char *kwnames
[] = {
23640 (char *) "self",(char *) "other", NULL
23643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
23644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23646 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23647 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23649 if (arg2
== NULL
) {
23650 PyErr_SetString(PyExc_TypeError
,"null reference");
23654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23655 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
23657 wxPyEndAllowThreads(__tstate
);
23658 if (PyErr_Occurred()) SWIG_fail
;
23661 wxDateSpan
* resultptr
;
23662 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23663 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23671 static PyObject
*_wrap_DateSpan___mul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23672 PyObject
*resultobj
;
23673 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23676 PyObject
* obj0
= 0 ;
23677 PyObject
* obj1
= 0 ;
23678 char *kwnames
[] = {
23679 (char *) "self",(char *) "n", NULL
23682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23685 arg2
= (int) SWIG_AsInt(obj1
);
23686 if (PyErr_Occurred()) SWIG_fail
;
23688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23689 result
= wxDateSpan___mul__(arg1
,arg2
);
23691 wxPyEndAllowThreads(__tstate
);
23692 if (PyErr_Occurred()) SWIG_fail
;
23695 wxDateSpan
* resultptr
;
23696 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23697 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23705 static PyObject
*_wrap_DateSpan___rmul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23706 PyObject
*resultobj
;
23707 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23710 PyObject
* obj0
= 0 ;
23711 PyObject
* obj1
= 0 ;
23712 char *kwnames
[] = {
23713 (char *) "self",(char *) "n", NULL
23716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23719 arg2
= (int) SWIG_AsInt(obj1
);
23720 if (PyErr_Occurred()) SWIG_fail
;
23722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23723 result
= wxDateSpan___rmul__(arg1
,arg2
);
23725 wxPyEndAllowThreads(__tstate
);
23726 if (PyErr_Occurred()) SWIG_fail
;
23729 wxDateSpan
* resultptr
;
23730 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23731 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23739 static PyObject
*_wrap_DateSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23740 PyObject
*resultobj
;
23741 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23742 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
23744 PyObject
* obj0
= 0 ;
23745 PyObject
* obj1
= 0 ;
23746 char *kwnames
[] = {
23747 (char *) "self",(char *) "other", NULL
23750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
23751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23753 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23757 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const *)arg2
);
23759 wxPyEndAllowThreads(__tstate
);
23760 if (PyErr_Occurred()) SWIG_fail
;
23763 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23771 static PyObject
*_wrap_DateSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23772 PyObject
*resultobj
;
23773 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23774 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
23776 PyObject
* obj0
= 0 ;
23777 PyObject
* obj1
= 0 ;
23778 char *kwnames
[] = {
23779 (char *) "self",(char *) "other", NULL
23782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
23783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23785 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23789 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const *)arg2
);
23791 wxPyEndAllowThreads(__tstate
);
23792 if (PyErr_Occurred()) SWIG_fail
;
23795 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23803 static PyObject
* DateSpan_swigregister(PyObject
*self
, PyObject
*args
) {
23805 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23806 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan
, obj
);
23808 return Py_BuildValue((char *)"");
23810 static PyObject
*_wrap_GetLocalTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23811 PyObject
*resultobj
;
23813 char *kwnames
[] = {
23817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTime",kwnames
)) goto fail
;
23819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23820 result
= (long)wxGetLocalTime();
23822 wxPyEndAllowThreads(__tstate
);
23823 if (PyErr_Occurred()) SWIG_fail
;
23825 resultobj
= SWIG_FromLong((long)result
);
23832 static PyObject
*_wrap_GetUTCTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23833 PyObject
*resultobj
;
23835 char *kwnames
[] = {
23839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUTCTime",kwnames
)) goto fail
;
23841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23842 result
= (long)wxGetUTCTime();
23844 wxPyEndAllowThreads(__tstate
);
23845 if (PyErr_Occurred()) SWIG_fail
;
23847 resultobj
= SWIG_FromLong((long)result
);
23854 static PyObject
*_wrap_GetCurrentTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23855 PyObject
*resultobj
;
23857 char *kwnames
[] = {
23861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentTime",kwnames
)) goto fail
;
23863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23864 result
= (long)wxGetCurrentTime();
23866 wxPyEndAllowThreads(__tstate
);
23867 if (PyErr_Occurred()) SWIG_fail
;
23869 resultobj
= SWIG_FromLong((long)result
);
23876 static PyObject
*_wrap_GetLocalTimeMillis(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23877 PyObject
*resultobj
;
23879 char *kwnames
[] = {
23883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTimeMillis",kwnames
)) goto fail
;
23885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23886 result
= wxGetLocalTimeMillis();
23888 wxPyEndAllowThreads(__tstate
);
23889 if (PyErr_Occurred()) SWIG_fail
;
23892 PyObject
*hi
, *lo
, *shifter
, *shifted
;
23893 hi
= PyLong_FromLong( (&result
)->GetHi() );
23894 lo
= PyLong_FromLong( (&result
)->GetLo() );
23895 shifter
= PyLong_FromLong(32);
23896 shifted
= PyNumber_Lshift(hi
, shifter
);
23897 resultobj
= PyNumber_Or(shifted
, lo
);
23900 Py_DECREF(shifter
);
23901 Py_DECREF(shifted
);
23909 static int _wrap_DefaultDateTime_set(PyObject
*_val
) {
23910 PyErr_SetString(PyExc_TypeError
,"Variable DefaultDateTime is read-only.");
23915 static PyObject
*_wrap_DefaultDateTime_get() {
23918 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultDateTime
), SWIGTYPE_p_wxDateTime
, 0);
23923 static PyObject
*_wrap_new_DataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23924 PyObject
*resultobj
;
23926 wxDataFormat
*result
;
23927 PyObject
* obj0
= 0 ;
23928 char *kwnames
[] = {
23929 (char *) "type", NULL
23932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) goto fail
;
23933 arg1
= (wxDataFormatId
) SWIG_AsInt(obj0
);
23934 if (PyErr_Occurred()) SWIG_fail
;
23936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23937 result
= (wxDataFormat
*)new wxDataFormat((wxDataFormatId
)arg1
);
23939 wxPyEndAllowThreads(__tstate
);
23940 if (PyErr_Occurred()) SWIG_fail
;
23942 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
23949 static PyObject
*_wrap_new_CustomDataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23950 PyObject
*resultobj
;
23951 wxString
*arg1
= 0 ;
23952 wxDataFormat
*result
;
23953 bool temp1
= False
;
23954 PyObject
* obj0
= 0 ;
23955 char *kwnames
[] = {
23956 (char *) "format", NULL
23959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) goto fail
;
23961 arg1
= wxString_in_helper(obj0
);
23962 if (arg1
== NULL
) SWIG_fail
;
23966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23967 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
23969 wxPyEndAllowThreads(__tstate
);
23970 if (PyErr_Occurred()) SWIG_fail
;
23972 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
23987 static PyObject
*_wrap_delete_DataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23988 PyObject
*resultobj
;
23989 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23990 PyObject
* obj0
= 0 ;
23991 char *kwnames
[] = {
23992 (char *) "self", NULL
23995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataFormat",kwnames
,&obj0
)) goto fail
;
23996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24002 wxPyEndAllowThreads(__tstate
);
24003 if (PyErr_Occurred()) SWIG_fail
;
24005 Py_INCREF(Py_None
); resultobj
= Py_None
;
24012 static PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*self
, PyObject
*args
) {
24013 PyObject
*resultobj
;
24014 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24017 PyObject
* obj0
= 0 ;
24018 PyObject
* obj1
= 0 ;
24020 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
24021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24023 arg2
= (wxDataFormatId
) SWIG_AsInt(obj1
);
24024 if (PyErr_Occurred()) SWIG_fail
;
24026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24027 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormatId
)arg2
);
24029 wxPyEndAllowThreads(__tstate
);
24030 if (PyErr_Occurred()) SWIG_fail
;
24033 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24041 static PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*self
, PyObject
*args
) {
24042 PyObject
*resultobj
;
24043 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24046 PyObject
* obj0
= 0 ;
24047 PyObject
* obj1
= 0 ;
24049 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
24050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24052 arg2
= (wxDataFormatId
) SWIG_AsInt(obj1
);
24053 if (PyErr_Occurred()) SWIG_fail
;
24055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24056 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormatId
)arg2
);
24058 wxPyEndAllowThreads(__tstate
);
24059 if (PyErr_Occurred()) SWIG_fail
;
24062 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24070 static PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*self
, PyObject
*args
) {
24071 PyObject
*resultobj
;
24072 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24073 wxDataFormat
*arg2
= 0 ;
24075 PyObject
* obj0
= 0 ;
24076 PyObject
* obj1
= 0 ;
24078 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
24079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24081 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24082 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24084 if (arg2
== NULL
) {
24085 PyErr_SetString(PyExc_TypeError
,"null reference");
24089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24090 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
24092 wxPyEndAllowThreads(__tstate
);
24093 if (PyErr_Occurred()) SWIG_fail
;
24096 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24104 static PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
24109 argc
= PyObject_Length(args
);
24110 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
24111 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24117 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24127 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24135 return _wrap_DataFormat___eq____SWIG_1(self
,args
);
24143 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24151 _v
= SWIG_CheckInt(argv
[1]);
24153 return _wrap_DataFormat___eq____SWIG_0(self
,args
);
24158 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___eq__'");
24163 static PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*self
, PyObject
*args
) {
24164 PyObject
*resultobj
;
24165 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24166 wxDataFormat
*arg2
= 0 ;
24168 PyObject
* obj0
= 0 ;
24169 PyObject
* obj1
= 0 ;
24171 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
24172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24174 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24175 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24177 if (arg2
== NULL
) {
24178 PyErr_SetString(PyExc_TypeError
,"null reference");
24182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24183 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
24185 wxPyEndAllowThreads(__tstate
);
24186 if (PyErr_Occurred()) SWIG_fail
;
24189 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24197 static PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
24202 argc
= PyObject_Length(args
);
24203 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
24204 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24210 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24220 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24228 return _wrap_DataFormat___ne____SWIG_1(self
,args
);
24236 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24244 _v
= SWIG_CheckInt(argv
[1]);
24246 return _wrap_DataFormat___ne____SWIG_0(self
,args
);
24251 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___ne__'");
24256 static PyObject
*_wrap_DataFormat_SetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24257 PyObject
*resultobj
;
24258 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24260 PyObject
* obj0
= 0 ;
24261 PyObject
* obj1
= 0 ;
24262 char *kwnames
[] = {
24263 (char *) "self",(char *) "format", NULL
24266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
24267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24269 arg2
= (wxDataFormatId
) SWIG_AsInt(obj1
);
24270 if (PyErr_Occurred()) SWIG_fail
;
24272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24273 (arg1
)->SetType((wxDataFormatId
)arg2
);
24275 wxPyEndAllowThreads(__tstate
);
24276 if (PyErr_Occurred()) SWIG_fail
;
24278 Py_INCREF(Py_None
); resultobj
= Py_None
;
24285 static PyObject
*_wrap_DataFormat_GetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24286 PyObject
*resultobj
;
24287 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24289 PyObject
* obj0
= 0 ;
24290 char *kwnames
[] = {
24291 (char *) "self", NULL
24294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetType",kwnames
,&obj0
)) goto fail
;
24295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24299 result
= (int)((wxDataFormat
const *)arg1
)->GetType();
24301 wxPyEndAllowThreads(__tstate
);
24302 if (PyErr_Occurred()) SWIG_fail
;
24304 resultobj
= SWIG_FromInt((int)result
);
24311 static PyObject
*_wrap_DataFormat_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24312 PyObject
*resultobj
;
24313 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24315 PyObject
* obj0
= 0 ;
24316 char *kwnames
[] = {
24317 (char *) "self", NULL
24320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetId",kwnames
,&obj0
)) goto fail
;
24321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24325 result
= ((wxDataFormat
const *)arg1
)->GetId();
24327 wxPyEndAllowThreads(__tstate
);
24328 if (PyErr_Occurred()) SWIG_fail
;
24332 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24334 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24343 static PyObject
*_wrap_DataFormat_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24344 PyObject
*resultobj
;
24345 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24346 wxString
*arg2
= 0 ;
24347 bool temp2
= False
;
24348 PyObject
* obj0
= 0 ;
24349 PyObject
* obj1
= 0 ;
24350 char *kwnames
[] = {
24351 (char *) "self",(char *) "format", NULL
24354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
24355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24358 arg2
= wxString_in_helper(obj1
);
24359 if (arg2
== NULL
) SWIG_fail
;
24363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24364 (arg1
)->SetId((wxString
const &)*arg2
);
24366 wxPyEndAllowThreads(__tstate
);
24367 if (PyErr_Occurred()) SWIG_fail
;
24369 Py_INCREF(Py_None
); resultobj
= Py_None
;
24384 static PyObject
* DataFormat_swigregister(PyObject
*self
, PyObject
*args
) {
24386 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24387 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat
, obj
);
24389 return Py_BuildValue((char *)"");
24391 static int _wrap_FormatInvalid_set(PyObject
*_val
) {
24392 PyErr_SetString(PyExc_TypeError
,"Variable FormatInvalid is read-only.");
24397 static PyObject
*_wrap_FormatInvalid_get() {
24400 pyobj
= SWIG_NewPointerObj((void *)(&wxFormatInvalid
), SWIGTYPE_p_wxDataFormat
, 0);
24405 static PyObject
*_wrap_delete_DataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24406 PyObject
*resultobj
;
24407 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24408 PyObject
* obj0
= 0 ;
24409 char *kwnames
[] = {
24410 (char *) "self", NULL
24413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataObject",kwnames
,&obj0
)) goto fail
;
24414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24420 wxPyEndAllowThreads(__tstate
);
24421 if (PyErr_Occurred()) SWIG_fail
;
24423 Py_INCREF(Py_None
); resultobj
= Py_None
;
24430 static PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24431 PyObject
*resultobj
;
24432 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24433 int arg2
= (int) wxDataObject::Get
;
24434 SwigValueWrapper
< wxDataFormat
> result
;
24435 PyObject
* obj0
= 0 ;
24436 PyObject
* obj1
= 0 ;
24437 char *kwnames
[] = {
24438 (char *) "self",(char *) "dir", NULL
24441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
24442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24445 arg2
= (wxDataObject::Direction
) SWIG_AsInt(obj1
);
24446 if (PyErr_Occurred()) SWIG_fail
;
24449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24450 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat((wxDataObject::Direction
)arg2
);
24452 wxPyEndAllowThreads(__tstate
);
24453 if (PyErr_Occurred()) SWIG_fail
;
24456 wxDataFormat
* resultptr
;
24457 resultptr
= new wxDataFormat((wxDataFormat
&) result
);
24458 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDataFormat
, 1);
24466 static PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24467 PyObject
*resultobj
;
24468 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24469 int arg2
= (int) wxDataObject::Get
;
24471 PyObject
* obj0
= 0 ;
24472 PyObject
* obj1
= 0 ;
24473 char *kwnames
[] = {
24474 (char *) "self",(char *) "dir", NULL
24477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) goto fail
;
24478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24481 arg2
= (wxDataObject::Direction
) SWIG_AsInt(obj1
);
24482 if (PyErr_Occurred()) SWIG_fail
;
24485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24486 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount((wxDataObject::Direction
)arg2
);
24488 wxPyEndAllowThreads(__tstate
);
24489 if (PyErr_Occurred()) SWIG_fail
;
24491 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24498 static PyObject
*_wrap_DataObject_IsSupported(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24499 PyObject
*resultobj
;
24500 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24501 wxDataFormat
*arg2
= 0 ;
24502 int arg3
= (int) wxDataObject::Get
;
24504 PyObject
* obj0
= 0 ;
24505 PyObject
* obj1
= 0 ;
24506 PyObject
* obj2
= 0 ;
24507 char *kwnames
[] = {
24508 (char *) "self",(char *) "format",(char *) "dir", NULL
24511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24514 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24515 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24517 if (arg2
== NULL
) {
24518 PyErr_SetString(PyExc_TypeError
,"null reference");
24522 arg3
= (wxDataObject::Direction
) SWIG_AsInt(obj2
);
24523 if (PyErr_Occurred()) SWIG_fail
;
24526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24527 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,(wxDataObject::Direction
)arg3
);
24529 wxPyEndAllowThreads(__tstate
);
24530 if (PyErr_Occurred()) SWIG_fail
;
24533 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24541 static PyObject
*_wrap_DataObject_GetDataSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24542 PyObject
*resultobj
;
24543 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24544 wxDataFormat
*arg2
= 0 ;
24546 PyObject
* obj0
= 0 ;
24547 PyObject
* obj1
= 0 ;
24548 char *kwnames
[] = {
24549 (char *) "self",(char *) "format", NULL
24552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) goto fail
;
24553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24555 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24556 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24558 if (arg2
== NULL
) {
24559 PyErr_SetString(PyExc_TypeError
,"null reference");
24563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24564 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
24566 wxPyEndAllowThreads(__tstate
);
24567 if (PyErr_Occurred()) SWIG_fail
;
24569 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24576 static PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24577 PyObject
*resultobj
;
24578 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24579 int arg2
= (int) wxDataObject::Get
;
24581 PyObject
* obj0
= 0 ;
24582 PyObject
* obj1
= 0 ;
24583 char *kwnames
[] = {
24584 (char *) "self",(char *) "dir", NULL
24587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
)) goto fail
;
24588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24591 arg2
= (wxDataObject::Direction
) SWIG_AsInt(obj1
);
24592 if (PyErr_Occurred()) SWIG_fail
;
24595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24596 result
= (PyObject
*)wxDataObject_GetAllFormats(arg1
,(wxDataObject::Direction
)arg2
);
24598 wxPyEndAllowThreads(__tstate
);
24599 if (PyErr_Occurred()) SWIG_fail
;
24601 resultobj
= result
;
24608 static PyObject
*_wrap_DataObject_GetDataHere(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24609 PyObject
*resultobj
;
24610 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24611 wxDataFormat
*arg2
= 0 ;
24613 PyObject
* obj0
= 0 ;
24614 PyObject
* obj1
= 0 ;
24615 char *kwnames
[] = {
24616 (char *) "self",(char *) "format", NULL
24619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
)) goto fail
;
24620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24622 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24623 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24625 if (arg2
== NULL
) {
24626 PyErr_SetString(PyExc_TypeError
,"null reference");
24630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24631 result
= (PyObject
*)wxDataObject_GetDataHere(arg1
,(wxDataFormat
const &)*arg2
);
24633 wxPyEndAllowThreads(__tstate
);
24634 if (PyErr_Occurred()) SWIG_fail
;
24636 resultobj
= result
;
24643 static PyObject
*_wrap_DataObject_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24644 PyObject
*resultobj
;
24645 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24646 wxDataFormat
*arg2
= 0 ;
24647 PyObject
*arg3
= (PyObject
*) 0 ;
24649 PyObject
* obj0
= 0 ;
24650 PyObject
* obj1
= 0 ;
24651 PyObject
* obj2
= 0 ;
24652 char *kwnames
[] = {
24653 (char *) "self",(char *) "format",(char *) "data", NULL
24656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24659 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24660 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24662 if (arg2
== NULL
) {
24663 PyErr_SetString(PyExc_TypeError
,"null reference");
24668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24669 result
= (bool)wxDataObject_SetData(arg1
,(wxDataFormat
const &)*arg2
,arg3
);
24671 wxPyEndAllowThreads(__tstate
);
24672 if (PyErr_Occurred()) SWIG_fail
;
24675 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24683 static PyObject
* DataObject_swigregister(PyObject
*self
, PyObject
*args
) {
24685 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24686 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject
, obj
);
24688 return Py_BuildValue((char *)"");
24690 static PyObject
*_wrap_new_DataObjectSimple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24691 PyObject
*resultobj
;
24692 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
24693 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
24694 wxDataObjectSimple
*result
;
24695 PyObject
* obj0
= 0 ;
24696 char *kwnames
[] = {
24697 (char *) "format", NULL
24700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) goto fail
;
24702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24703 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24705 if (arg1
== NULL
) {
24706 PyErr_SetString(PyExc_TypeError
,"null reference");
24711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24712 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
24714 wxPyEndAllowThreads(__tstate
);
24715 if (PyErr_Occurred()) SWIG_fail
;
24717 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectSimple
, 1);
24724 static PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24725 PyObject
*resultobj
;
24726 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24727 wxDataFormat
*result
;
24728 PyObject
* obj0
= 0 ;
24729 char *kwnames
[] = {
24730 (char *) "self", NULL
24733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetFormat",kwnames
,&obj0
)) goto fail
;
24734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24739 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
24740 result
= (wxDataFormat
*) &_result_ref
;
24743 wxPyEndAllowThreads(__tstate
);
24744 if (PyErr_Occurred()) SWIG_fail
;
24746 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 0);
24753 static PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24754 PyObject
*resultobj
;
24755 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24756 wxDataFormat
*arg2
= 0 ;
24757 PyObject
* obj0
= 0 ;
24758 PyObject
* obj1
= 0 ;
24759 char *kwnames
[] = {
24760 (char *) "self",(char *) "format", NULL
24763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
24764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24766 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24767 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24769 if (arg2
== NULL
) {
24770 PyErr_SetString(PyExc_TypeError
,"null reference");
24774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24775 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
24777 wxPyEndAllowThreads(__tstate
);
24778 if (PyErr_Occurred()) SWIG_fail
;
24780 Py_INCREF(Py_None
); resultobj
= Py_None
;
24787 static PyObject
*_wrap_DataObjectSimple_GetDataSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24788 PyObject
*resultobj
;
24789 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24791 PyObject
* obj0
= 0 ;
24792 char *kwnames
[] = {
24793 (char *) "self", NULL
24796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataSize",kwnames
,&obj0
)) goto fail
;
24797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24801 result
= (size_t)((wxDataObjectSimple
const *)arg1
)->GetDataSize();
24803 wxPyEndAllowThreads(__tstate
);
24804 if (PyErr_Occurred()) SWIG_fail
;
24806 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24813 static PyObject
*_wrap_DataObjectSimple_GetDataHere(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24814 PyObject
*resultobj
;
24815 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24817 PyObject
* obj0
= 0 ;
24818 char *kwnames
[] = {
24819 (char *) "self", NULL
24822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataHere",kwnames
,&obj0
)) goto fail
;
24823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24827 result
= (PyObject
*)wxDataObjectSimple_GetDataHere(arg1
);
24829 wxPyEndAllowThreads(__tstate
);
24830 if (PyErr_Occurred()) SWIG_fail
;
24832 resultobj
= result
;
24839 static PyObject
*_wrap_DataObjectSimple_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24840 PyObject
*resultobj
;
24841 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24842 PyObject
*arg2
= (PyObject
*) 0 ;
24844 PyObject
* obj0
= 0 ;
24845 PyObject
* obj1
= 0 ;
24846 char *kwnames
[] = {
24847 (char *) "self",(char *) "data", NULL
24850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
24851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24856 result
= (bool)wxDataObjectSimple_SetData(arg1
,arg2
);
24858 wxPyEndAllowThreads(__tstate
);
24859 if (PyErr_Occurred()) SWIG_fail
;
24862 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24870 static PyObject
* DataObjectSimple_swigregister(PyObject
*self
, PyObject
*args
) {
24872 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24873 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple
, obj
);
24875 return Py_BuildValue((char *)"");
24877 static PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24878 PyObject
*resultobj
;
24879 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
24880 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
24881 wxPyDataObjectSimple
*result
;
24882 PyObject
* obj0
= 0 ;
24883 char *kwnames
[] = {
24884 (char *) "format", NULL
24887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) goto fail
;
24889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24890 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24892 if (arg1
== NULL
) {
24893 PyErr_SetString(PyExc_TypeError
,"null reference");
24898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24899 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
24901 wxPyEndAllowThreads(__tstate
);
24902 if (PyErr_Occurred()) SWIG_fail
;
24904 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDataObjectSimple
, 1);
24911 static PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24912 PyObject
*resultobj
;
24913 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
24914 PyObject
*arg2
= (PyObject
*) 0 ;
24915 PyObject
*arg3
= (PyObject
*) 0 ;
24916 PyObject
* obj0
= 0 ;
24917 PyObject
* obj1
= 0 ;
24918 PyObject
* obj2
= 0 ;
24919 char *kwnames
[] = {
24920 (char *) "self",(char *) "self",(char *) "_class", NULL
24923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDataObjectSimple
,
24925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24930 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24932 wxPyEndAllowThreads(__tstate
);
24933 if (PyErr_Occurred()) SWIG_fail
;
24935 Py_INCREF(Py_None
); resultobj
= Py_None
;
24942 static PyObject
* PyDataObjectSimple_swigregister(PyObject
*self
, PyObject
*args
) {
24944 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24945 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple
, obj
);
24947 return Py_BuildValue((char *)"");
24949 static PyObject
*_wrap_new_DataObjectComposite(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24950 PyObject
*resultobj
;
24951 wxDataObjectComposite
*result
;
24952 char *kwnames
[] = {
24956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DataObjectComposite",kwnames
)) goto fail
;
24958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24959 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
24961 wxPyEndAllowThreads(__tstate
);
24962 if (PyErr_Occurred()) SWIG_fail
;
24964 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectComposite
, 1);
24971 static PyObject
*_wrap_DataObjectComposite_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24972 PyObject
*resultobj
;
24973 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
24974 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
24975 bool arg3
= (bool) False
;
24976 PyObject
* obj0
= 0 ;
24977 PyObject
* obj1
= 0 ;
24978 PyObject
* obj2
= 0 ;
24979 char *kwnames
[] = {
24980 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
24983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectComposite
,
24985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24986 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObjectSimple
,
24987 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24989 arg3
= (bool) SWIG_AsBool(obj2
);
24990 if (PyErr_Occurred()) SWIG_fail
;
24993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24994 (arg1
)->Add(arg2
,arg3
);
24996 wxPyEndAllowThreads(__tstate
);
24997 if (PyErr_Occurred()) SWIG_fail
;
24999 Py_INCREF(Py_None
); resultobj
= Py_None
;
25006 static PyObject
* DataObjectComposite_swigregister(PyObject
*self
, PyObject
*args
) {
25008 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25009 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite
, obj
);
25011 return Py_BuildValue((char *)"");
25013 static PyObject
*_wrap_new_TextDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25014 PyObject
*resultobj
;
25015 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25016 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25017 wxTextDataObject
*result
;
25018 bool temp1
= False
;
25019 PyObject
* obj0
= 0 ;
25020 char *kwnames
[] = {
25021 (char *) "text", NULL
25024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) goto fail
;
25027 arg1
= wxString_in_helper(obj0
);
25028 if (arg1
== NULL
) SWIG_fail
;
25033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25034 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
25036 wxPyEndAllowThreads(__tstate
);
25037 if (PyErr_Occurred()) SWIG_fail
;
25039 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextDataObject
, 1);
25054 static PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25055 PyObject
*resultobj
;
25056 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
25058 PyObject
* obj0
= 0 ;
25059 char *kwnames
[] = {
25060 (char *) "self", NULL
25063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetTextLength",kwnames
,&obj0
)) goto fail
;
25064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
25065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25068 result
= (size_t)(arg1
)->GetTextLength();
25070 wxPyEndAllowThreads(__tstate
);
25071 if (PyErr_Occurred()) SWIG_fail
;
25073 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
25080 static PyObject
*_wrap_TextDataObject_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25081 PyObject
*resultobj
;
25082 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
25084 PyObject
* obj0
= 0 ;
25085 char *kwnames
[] = {
25086 (char *) "self", NULL
25089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetText",kwnames
,&obj0
)) goto fail
;
25090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
25091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25094 result
= (arg1
)->GetText();
25096 wxPyEndAllowThreads(__tstate
);
25097 if (PyErr_Occurred()) SWIG_fail
;
25101 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25103 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25112 static PyObject
*_wrap_TextDataObject_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25113 PyObject
*resultobj
;
25114 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
25115 wxString
*arg2
= 0 ;
25116 bool temp2
= False
;
25117 PyObject
* obj0
= 0 ;
25118 PyObject
* obj1
= 0 ;
25119 char *kwnames
[] = {
25120 (char *) "self",(char *) "text", NULL
25123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
25124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
25125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25127 arg2
= wxString_in_helper(obj1
);
25128 if (arg2
== NULL
) SWIG_fail
;
25132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25133 (arg1
)->SetText((wxString
const &)*arg2
);
25135 wxPyEndAllowThreads(__tstate
);
25136 if (PyErr_Occurred()) SWIG_fail
;
25138 Py_INCREF(Py_None
); resultobj
= Py_None
;
25153 static PyObject
* TextDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25155 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25156 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject
, obj
);
25158 return Py_BuildValue((char *)"");
25160 static PyObject
*_wrap_new_PyTextDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25161 PyObject
*resultobj
;
25162 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25163 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25164 wxPyTextDataObject
*result
;
25165 bool temp1
= False
;
25166 PyObject
* obj0
= 0 ;
25167 char *kwnames
[] = {
25168 (char *) "text", NULL
25171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) goto fail
;
25174 arg1
= wxString_in_helper(obj0
);
25175 if (arg1
== NULL
) SWIG_fail
;
25180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25181 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
25183 wxPyEndAllowThreads(__tstate
);
25184 if (PyErr_Occurred()) SWIG_fail
;
25186 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDataObject
, 1);
25201 static PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25202 PyObject
*resultobj
;
25203 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
25204 PyObject
*arg2
= (PyObject
*) 0 ;
25205 PyObject
*arg3
= (PyObject
*) 0 ;
25206 PyObject
* obj0
= 0 ;
25207 PyObject
* obj1
= 0 ;
25208 PyObject
* obj2
= 0 ;
25209 char *kwnames
[] = {
25210 (char *) "self",(char *) "self",(char *) "_class", NULL
25213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDataObject
,
25215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25220 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25222 wxPyEndAllowThreads(__tstate
);
25223 if (PyErr_Occurred()) SWIG_fail
;
25225 Py_INCREF(Py_None
); resultobj
= Py_None
;
25232 static PyObject
* PyTextDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25234 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25235 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject
, obj
);
25237 return Py_BuildValue((char *)"");
25239 static PyObject
*_wrap_new_BitmapDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25240 PyObject
*resultobj
;
25241 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
25242 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
25243 wxBitmapDataObject
*result
;
25244 PyObject
* obj0
= 0 ;
25245 char *kwnames
[] = {
25246 (char *) "bitmap", NULL
25249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) goto fail
;
25251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
25252 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25254 if (arg1
== NULL
) {
25255 PyErr_SetString(PyExc_TypeError
,"null reference");
25260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25261 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
25263 wxPyEndAllowThreads(__tstate
);
25264 if (PyErr_Occurred()) SWIG_fail
;
25266 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapDataObject
, 1);
25273 static PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25274 PyObject
*resultobj
;
25275 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
25277 PyObject
* obj0
= 0 ;
25278 char *kwnames
[] = {
25279 (char *) "self", NULL
25282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapDataObject_GetBitmap",kwnames
,&obj0
)) goto fail
;
25283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapDataObject
,
25284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25287 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
25289 wxPyEndAllowThreads(__tstate
);
25290 if (PyErr_Occurred()) SWIG_fail
;
25293 wxBitmap
* resultptr
;
25294 resultptr
= new wxBitmap((wxBitmap
&) result
);
25295 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
25303 static PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25304 PyObject
*resultobj
;
25305 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
25306 wxBitmap
*arg2
= 0 ;
25307 PyObject
* obj0
= 0 ;
25308 PyObject
* obj1
= 0 ;
25309 char *kwnames
[] = {
25310 (char *) "self",(char *) "bitmap", NULL
25313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
25314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapDataObject
,
25315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25316 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
25317 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25319 if (arg2
== NULL
) {
25320 PyErr_SetString(PyExc_TypeError
,"null reference");
25324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25325 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
25327 wxPyEndAllowThreads(__tstate
);
25328 if (PyErr_Occurred()) SWIG_fail
;
25330 Py_INCREF(Py_None
); resultobj
= Py_None
;
25337 static PyObject
* BitmapDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25339 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25340 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject
, obj
);
25342 return Py_BuildValue((char *)"");
25344 static PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25345 PyObject
*resultobj
;
25346 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
25347 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
25348 wxPyBitmapDataObject
*result
;
25349 PyObject
* obj0
= 0 ;
25350 char *kwnames
[] = {
25351 (char *) "bitmap", NULL
25354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) goto fail
;
25356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
25357 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25359 if (arg1
== NULL
) {
25360 PyErr_SetString(PyExc_TypeError
,"null reference");
25365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25366 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
25368 wxPyEndAllowThreads(__tstate
);
25369 if (PyErr_Occurred()) SWIG_fail
;
25371 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyBitmapDataObject
, 1);
25378 static PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25379 PyObject
*resultobj
;
25380 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
25381 PyObject
*arg2
= (PyObject
*) 0 ;
25382 PyObject
*arg3
= (PyObject
*) 0 ;
25383 PyObject
* obj0
= 0 ;
25384 PyObject
* obj1
= 0 ;
25385 PyObject
* obj2
= 0 ;
25386 char *kwnames
[] = {
25387 (char *) "self",(char *) "self",(char *) "_class", NULL
25390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapDataObject
,
25392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25397 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25399 wxPyEndAllowThreads(__tstate
);
25400 if (PyErr_Occurred()) SWIG_fail
;
25402 Py_INCREF(Py_None
); resultobj
= Py_None
;
25409 static PyObject
* PyBitmapDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25411 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25412 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject
, obj
);
25414 return Py_BuildValue((char *)"");
25416 static PyObject
*_wrap_new_FileDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25417 PyObject
*resultobj
;
25418 wxFileDataObject
*result
;
25419 char *kwnames
[] = {
25423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDataObject",kwnames
)) goto fail
;
25425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25426 result
= (wxFileDataObject
*)new wxFileDataObject();
25428 wxPyEndAllowThreads(__tstate
);
25429 if (PyErr_Occurred()) SWIG_fail
;
25431 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDataObject
, 1);
25438 static PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25439 PyObject
*resultobj
;
25440 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
25441 wxArrayString
*result
;
25442 PyObject
* obj0
= 0 ;
25443 char *kwnames
[] = {
25444 (char *) "self", NULL
25447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDataObject_GetFilenames",kwnames
,&obj0
)) goto fail
;
25448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDataObject
,
25449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25453 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
25454 result
= (wxArrayString
*) &_result_ref
;
25457 wxPyEndAllowThreads(__tstate
);
25458 if (PyErr_Occurred()) SWIG_fail
;
25461 resultobj
= wxArrayString2PyList_helper(*result
);
25469 static PyObject
*_wrap_FileDataObject_AddFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25470 PyObject
*resultobj
;
25471 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
25472 wxString
*arg2
= 0 ;
25473 bool temp2
= False
;
25474 PyObject
* obj0
= 0 ;
25475 PyObject
* obj1
= 0 ;
25476 char *kwnames
[] = {
25477 (char *) "self",(char *) "filename", NULL
25480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDataObject_AddFile",kwnames
,&obj0
,&obj1
)) goto fail
;
25481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDataObject
,
25482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25484 arg2
= wxString_in_helper(obj1
);
25485 if (arg2
== NULL
) SWIG_fail
;
25489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25490 (arg1
)->AddFile((wxString
const &)*arg2
);
25492 wxPyEndAllowThreads(__tstate
);
25493 if (PyErr_Occurred()) SWIG_fail
;
25495 Py_INCREF(Py_None
); resultobj
= Py_None
;
25510 static PyObject
* FileDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25512 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25513 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject
, obj
);
25515 return Py_BuildValue((char *)"");
25517 static PyObject
*_wrap_new_CustomDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25518 PyObject
*resultobj
;
25519 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
25520 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
25521 wxCustomDataObject
*result
;
25522 PyObject
* obj0
= 0 ;
25523 char *kwnames
[] = {
25524 (char *) "format", NULL
25527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CustomDataObject",kwnames
,&obj0
)) goto fail
;
25529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
25530 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25532 if (arg1
== NULL
) {
25533 PyErr_SetString(PyExc_TypeError
,"null reference");
25538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25539 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
25541 wxPyEndAllowThreads(__tstate
);
25542 if (PyErr_Occurred()) SWIG_fail
;
25544 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
25551 static PyObject
*_wrap_CustomDataObject_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25552 PyObject
*resultobj
;
25553 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25554 PyObject
*arg2
= (PyObject
*) 0 ;
25556 PyObject
* obj0
= 0 ;
25557 PyObject
* obj1
= 0 ;
25558 char *kwnames
[] = {
25559 (char *) "self",(char *) "data", NULL
25562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
25563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25568 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
25570 wxPyEndAllowThreads(__tstate
);
25571 if (PyErr_Occurred()) SWIG_fail
;
25574 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25582 static PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25583 PyObject
*resultobj
;
25584 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25586 PyObject
* obj0
= 0 ;
25587 char *kwnames
[] = {
25588 (char *) "self", NULL
25591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetSize",kwnames
,&obj0
)) goto fail
;
25592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25596 result
= (size_t)(arg1
)->GetSize();
25598 wxPyEndAllowThreads(__tstate
);
25599 if (PyErr_Occurred()) SWIG_fail
;
25601 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
25608 static PyObject
*_wrap_CustomDataObject_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25609 PyObject
*resultobj
;
25610 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25612 PyObject
* obj0
= 0 ;
25613 char *kwnames
[] = {
25614 (char *) "self", NULL
25617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetData",kwnames
,&obj0
)) goto fail
;
25618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25622 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
25624 wxPyEndAllowThreads(__tstate
);
25625 if (PyErr_Occurred()) SWIG_fail
;
25627 resultobj
= result
;
25634 static PyObject
* CustomDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25636 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25637 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject
, obj
);
25639 return Py_BuildValue((char *)"");
25641 static PyObject
*_wrap_new_URLDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25642 PyObject
*resultobj
;
25643 wxURLDataObject
*result
;
25644 char *kwnames
[] = {
25648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_URLDataObject",kwnames
)) goto fail
;
25650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25651 result
= (wxURLDataObject
*)new wxURLDataObject();
25653 wxPyEndAllowThreads(__tstate
);
25654 if (PyErr_Occurred()) SWIG_fail
;
25656 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxURLDataObject
, 1);
25663 static PyObject
*_wrap_URLDataObject_GetURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25664 PyObject
*resultobj
;
25665 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
25667 PyObject
* obj0
= 0 ;
25668 char *kwnames
[] = {
25669 (char *) "self", NULL
25672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:URLDataObject_GetURL",kwnames
,&obj0
)) goto fail
;
25673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxURLDataObject
,
25674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25677 result
= (arg1
)->GetURL();
25679 wxPyEndAllowThreads(__tstate
);
25680 if (PyErr_Occurred()) SWIG_fail
;
25684 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25686 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25695 static PyObject
*_wrap_URLDataObject_SetURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25696 PyObject
*resultobj
;
25697 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
25698 wxString
*arg2
= 0 ;
25699 bool temp2
= False
;
25700 PyObject
* obj0
= 0 ;
25701 PyObject
* obj1
= 0 ;
25702 char *kwnames
[] = {
25703 (char *) "self",(char *) "url", NULL
25706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) goto fail
;
25707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxURLDataObject
,
25708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25710 arg2
= wxString_in_helper(obj1
);
25711 if (arg2
== NULL
) SWIG_fail
;
25715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25716 (arg1
)->SetURL((wxString
const &)*arg2
);
25718 wxPyEndAllowThreads(__tstate
);
25719 if (PyErr_Occurred()) SWIG_fail
;
25721 Py_INCREF(Py_None
); resultobj
= Py_None
;
25736 static PyObject
* URLDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25738 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25739 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject
, obj
);
25741 return Py_BuildValue((char *)"");
25743 static PyObject
*_wrap_new_MetafileDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25744 PyObject
*resultobj
;
25745 wxMetafileDataObject
*result
;
25746 char *kwnames
[] = {
25750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MetafileDataObject",kwnames
)) goto fail
;
25752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25753 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
25755 wxPyEndAllowThreads(__tstate
);
25756 if (PyErr_Occurred()) SWIG_fail
;
25758 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetafileDataObject
, 1);
25765 static PyObject
*_wrap_MetafileDataObject_SetMetafile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25766 PyObject
*resultobj
;
25767 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
25768 wxMetafile
*arg2
= 0 ;
25769 PyObject
* obj0
= 0 ;
25770 PyObject
* obj1
= 0 ;
25771 char *kwnames
[] = {
25772 (char *) "self",(char *) "metafile", NULL
25775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MetafileDataObject_SetMetafile",kwnames
,&obj0
,&obj1
)) goto fail
;
25776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetafileDataObject
,
25777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25778 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMetafile
,
25779 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25781 if (arg2
== NULL
) {
25782 PyErr_SetString(PyExc_TypeError
,"null reference");
25786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25787 (arg1
)->SetMetafile((wxMetafile
const &)*arg2
);
25789 wxPyEndAllowThreads(__tstate
);
25790 if (PyErr_Occurred()) SWIG_fail
;
25792 Py_INCREF(Py_None
); resultobj
= Py_None
;
25799 static PyObject
*_wrap_MetafileDataObject_GetMetafile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25800 PyObject
*resultobj
;
25801 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
25803 PyObject
* obj0
= 0 ;
25804 char *kwnames
[] = {
25805 (char *) "self", NULL
25808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetafileDataObject_GetMetafile",kwnames
,&obj0
)) goto fail
;
25809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetafileDataObject
,
25810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25813 result
= ((wxMetafileDataObject
const *)arg1
)->GetMetafile();
25815 wxPyEndAllowThreads(__tstate
);
25816 if (PyErr_Occurred()) SWIG_fail
;
25819 wxMetafile
* resultptr
;
25820 resultptr
= new wxMetafile((wxMetafile
&) result
);
25821 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxMetafile
, 1);
25829 static PyObject
* MetafileDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25831 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25832 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject
, obj
);
25834 return Py_BuildValue((char *)"");
25836 static PyObject
*_wrap_IsDragResultOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25837 PyObject
*resultobj
;
25840 PyObject
* obj0
= 0 ;
25841 char *kwnames
[] = {
25842 (char *) "res", NULL
25845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) goto fail
;
25846 arg1
= (wxDragResult
) SWIG_AsInt(obj0
);
25847 if (PyErr_Occurred()) SWIG_fail
;
25849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25850 result
= (bool)wxIsDragResultOk((wxDragResult
)arg1
);
25852 wxPyEndAllowThreads(__tstate
);
25853 if (PyErr_Occurred()) SWIG_fail
;
25856 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25864 static PyObject
*_wrap_new_DropSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25865 PyObject
*resultobj
;
25866 wxWindow
*arg1
= (wxWindow
*) 0 ;
25867 wxCursor
const &arg2_defvalue
= wxNullCursor
;
25868 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
25869 wxCursor
const &arg3_defvalue
= wxNullCursor
;
25870 wxCursor
*arg3
= (wxCursor
*) &arg3_defvalue
;
25871 wxCursor
const &arg4_defvalue
= wxNullCursor
;
25872 wxCursor
*arg4
= (wxCursor
*) &arg4_defvalue
;
25873 wxPyDropSource
*result
;
25874 PyObject
* obj0
= 0 ;
25875 PyObject
* obj1
= 0 ;
25876 PyObject
* obj2
= 0 ;
25877 PyObject
* obj3
= 0 ;
25878 char *kwnames
[] = {
25879 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
25882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25886 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
25887 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25889 if (arg2
== NULL
) {
25890 PyErr_SetString(PyExc_TypeError
,"null reference");
25895 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxCursor
,
25896 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25898 if (arg3
== NULL
) {
25899 PyErr_SetString(PyExc_TypeError
,"null reference");
25904 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxCursor
,
25905 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25907 if (arg4
== NULL
) {
25908 PyErr_SetString(PyExc_TypeError
,"null reference");
25913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25914 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxCursor
const &)*arg2
,(wxCursor
const &)*arg3
,(wxCursor
const &)*arg4
);
25916 wxPyEndAllowThreads(__tstate
);
25917 if (PyErr_Occurred()) SWIG_fail
;
25919 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropSource
, 1);
25926 static PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25927 PyObject
*resultobj
;
25928 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25929 PyObject
*arg2
= (PyObject
*) 0 ;
25930 PyObject
*arg3
= (PyObject
*) 0 ;
25932 PyObject
* obj0
= 0 ;
25933 PyObject
* obj1
= 0 ;
25934 PyObject
* obj2
= 0 ;
25935 PyObject
* obj3
= 0 ;
25936 char *kwnames
[] = {
25937 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
25940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25945 arg4
= (int) SWIG_AsInt(obj3
);
25946 if (PyErr_Occurred()) SWIG_fail
;
25948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25949 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
25951 wxPyEndAllowThreads(__tstate
);
25952 if (PyErr_Occurred()) SWIG_fail
;
25954 Py_INCREF(Py_None
); resultobj
= Py_None
;
25961 static PyObject
*_wrap_delete_DropSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25962 PyObject
*resultobj
;
25963 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25964 PyObject
* obj0
= 0 ;
25965 char *kwnames
[] = {
25966 (char *) "self", NULL
25969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropSource",kwnames
,&obj0
)) goto fail
;
25970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25976 wxPyEndAllowThreads(__tstate
);
25977 if (PyErr_Occurred()) SWIG_fail
;
25979 Py_INCREF(Py_None
); resultobj
= Py_None
;
25986 static PyObject
*_wrap_DropSource_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25987 PyObject
*resultobj
;
25988 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25989 wxDataObject
*arg2
= 0 ;
25990 PyObject
* obj0
= 0 ;
25991 PyObject
* obj1
= 0 ;
25992 char *kwnames
[] = {
25993 (char *) "self",(char *) "data", NULL
25996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
25997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25999 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26000 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26002 if (arg2
== NULL
) {
26003 PyErr_SetString(PyExc_TypeError
,"null reference");
26007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26008 (arg1
)->SetData(*arg2
);
26010 wxPyEndAllowThreads(__tstate
);
26011 if (PyErr_Occurred()) SWIG_fail
;
26013 Py_INCREF(Py_None
); resultobj
= Py_None
;
26020 static PyObject
*_wrap_DropSource_GetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26021 PyObject
*resultobj
;
26022 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26023 wxDataObject
*result
;
26024 PyObject
* obj0
= 0 ;
26025 char *kwnames
[] = {
26026 (char *) "self", NULL
26029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropSource_GetDataObject",kwnames
,&obj0
)) goto fail
;
26030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26034 result
= (wxDataObject
*)(arg1
)->GetDataObject();
26036 wxPyEndAllowThreads(__tstate
);
26037 if (PyErr_Occurred()) SWIG_fail
;
26039 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
26046 static PyObject
*_wrap_DropSource_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26047 PyObject
*resultobj
;
26048 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26050 wxCursor
*arg3
= 0 ;
26051 PyObject
* obj0
= 0 ;
26052 PyObject
* obj1
= 0 ;
26053 PyObject
* obj2
= 0 ;
26054 char *kwnames
[] = {
26055 (char *) "self",(char *) "res",(char *) "cursor", NULL
26058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26061 arg2
= (wxDragResult
) SWIG_AsInt(obj1
);
26062 if (PyErr_Occurred()) SWIG_fail
;
26063 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxCursor
,
26064 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26066 if (arg3
== NULL
) {
26067 PyErr_SetString(PyExc_TypeError
,"null reference");
26071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26072 (arg1
)->SetCursor((wxDragResult
)arg2
,(wxCursor
const &)*arg3
);
26074 wxPyEndAllowThreads(__tstate
);
26075 if (PyErr_Occurred()) SWIG_fail
;
26077 Py_INCREF(Py_None
); resultobj
= Py_None
;
26084 static PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26085 PyObject
*resultobj
;
26086 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26087 int arg2
= (int) wxDrag_CopyOnly
;
26089 PyObject
* obj0
= 0 ;
26090 PyObject
* obj1
= 0 ;
26091 char *kwnames
[] = {
26092 (char *) "self",(char *) "flags", NULL
26095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) goto fail
;
26096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26099 arg2
= (int) SWIG_AsInt(obj1
);
26100 if (PyErr_Occurred()) SWIG_fail
;
26103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26104 result
= (int)(arg1
)->DoDragDrop(arg2
);
26106 wxPyEndAllowThreads(__tstate
);
26107 if (PyErr_Occurred()) SWIG_fail
;
26109 resultobj
= SWIG_FromInt((int)result
);
26116 static PyObject
*_wrap_DropSource_base_GiveFeedback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26117 PyObject
*resultobj
;
26118 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26121 PyObject
* obj0
= 0 ;
26122 PyObject
* obj1
= 0 ;
26123 char *kwnames
[] = {
26124 (char *) "self",(char *) "effect", NULL
26127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_base_GiveFeedback",kwnames
,&obj0
,&obj1
)) goto fail
;
26128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26130 arg2
= (wxDragResult
) SWIG_AsInt(obj1
);
26131 if (PyErr_Occurred()) SWIG_fail
;
26133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26134 result
= (bool)(arg1
)->base_GiveFeedback((wxDragResult
)arg2
);
26136 wxPyEndAllowThreads(__tstate
);
26137 if (PyErr_Occurred()) SWIG_fail
;
26140 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26148 static PyObject
* DropSource_swigregister(PyObject
*self
, PyObject
*args
) {
26150 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26151 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource
, obj
);
26153 return Py_BuildValue((char *)"");
26155 static PyObject
*_wrap_new_DropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26156 PyObject
*resultobj
;
26157 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
26158 wxPyDropTarget
*result
;
26159 PyObject
* obj0
= 0 ;
26160 char *kwnames
[] = {
26161 (char *) "dataObject", NULL
26164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DropTarget",kwnames
,&obj0
)) goto fail
;
26166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
26167 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26171 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
26173 wxPyEndAllowThreads(__tstate
);
26174 if (PyErr_Occurred()) SWIG_fail
;
26176 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 1);
26183 static PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26184 PyObject
*resultobj
;
26185 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26186 PyObject
*arg2
= (PyObject
*) 0 ;
26187 PyObject
*arg3
= (PyObject
*) 0 ;
26188 PyObject
* obj0
= 0 ;
26189 PyObject
* obj1
= 0 ;
26190 PyObject
* obj2
= 0 ;
26191 char *kwnames
[] = {
26192 (char *) "self",(char *) "self",(char *) "_class", NULL
26195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26202 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26204 wxPyEndAllowThreads(__tstate
);
26205 if (PyErr_Occurred()) SWIG_fail
;
26207 Py_INCREF(Py_None
); resultobj
= Py_None
;
26214 static PyObject
*_wrap_delete_DropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26215 PyObject
*resultobj
;
26216 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26217 PyObject
* obj0
= 0 ;
26218 char *kwnames
[] = {
26219 (char *) "self", NULL
26222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropTarget",kwnames
,&obj0
)) goto fail
;
26223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26229 wxPyEndAllowThreads(__tstate
);
26230 if (PyErr_Occurred()) SWIG_fail
;
26232 Py_INCREF(Py_None
); resultobj
= Py_None
;
26239 static PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26240 PyObject
*resultobj
;
26241 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26242 wxDataObject
*result
;
26243 PyObject
* obj0
= 0 ;
26244 char *kwnames
[] = {
26245 (char *) "self", NULL
26248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDataObject",kwnames
,&obj0
)) goto fail
;
26249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26253 result
= (wxDataObject
*)(arg1
)->GetDataObject();
26255 wxPyEndAllowThreads(__tstate
);
26256 if (PyErr_Occurred()) SWIG_fail
;
26258 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
26265 static PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26266 PyObject
*resultobj
;
26267 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26268 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
26269 PyObject
* obj0
= 0 ;
26270 PyObject
* obj1
= 0 ;
26271 char *kwnames
[] = {
26272 (char *) "self",(char *) "dataObject", NULL
26275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) goto fail
;
26276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26278 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26279 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26282 (arg1
)->SetDataObject(arg2
);
26284 wxPyEndAllowThreads(__tstate
);
26285 if (PyErr_Occurred()) SWIG_fail
;
26287 Py_INCREF(Py_None
); resultobj
= Py_None
;
26294 static PyObject
*_wrap_DropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26295 PyObject
*resultobj
;
26296 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26301 PyObject
* obj0
= 0 ;
26302 PyObject
* obj1
= 0 ;
26303 PyObject
* obj2
= 0 ;
26304 PyObject
* obj3
= 0 ;
26305 char *kwnames
[] = {
26306 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26312 arg2
= (int) SWIG_AsInt(obj1
);
26313 if (PyErr_Occurred()) SWIG_fail
;
26314 arg3
= (int) SWIG_AsInt(obj2
);
26315 if (PyErr_Occurred()) SWIG_fail
;
26316 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26317 if (PyErr_Occurred()) SWIG_fail
;
26319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26320 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26322 wxPyEndAllowThreads(__tstate
);
26323 if (PyErr_Occurred()) SWIG_fail
;
26325 resultobj
= SWIG_FromInt((int)result
);
26332 static PyObject
*_wrap_DropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26333 PyObject
*resultobj
;
26334 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26339 PyObject
* obj0
= 0 ;
26340 PyObject
* obj1
= 0 ;
26341 PyObject
* obj2
= 0 ;
26342 PyObject
* obj3
= 0 ;
26343 char *kwnames
[] = {
26344 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26350 arg2
= (int) SWIG_AsInt(obj1
);
26351 if (PyErr_Occurred()) SWIG_fail
;
26352 arg3
= (int) SWIG_AsInt(obj2
);
26353 if (PyErr_Occurred()) SWIG_fail
;
26354 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26355 if (PyErr_Occurred()) SWIG_fail
;
26357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26358 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26360 wxPyEndAllowThreads(__tstate
);
26361 if (PyErr_Occurred()) SWIG_fail
;
26363 resultobj
= SWIG_FromInt((int)result
);
26370 static PyObject
*_wrap_DropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26371 PyObject
*resultobj
;
26372 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26373 PyObject
* obj0
= 0 ;
26374 char *kwnames
[] = {
26375 (char *) "self", NULL
26378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26383 (arg1
)->base_OnLeave();
26385 wxPyEndAllowThreads(__tstate
);
26386 if (PyErr_Occurred()) SWIG_fail
;
26388 Py_INCREF(Py_None
); resultobj
= Py_None
;
26395 static PyObject
*_wrap_DropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26396 PyObject
*resultobj
;
26397 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26401 PyObject
* obj0
= 0 ;
26402 PyObject
* obj1
= 0 ;
26403 PyObject
* obj2
= 0 ;
26404 char *kwnames
[] = {
26405 (char *) "self",(char *) "x",(char *) "y", NULL
26408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26411 arg2
= (int) SWIG_AsInt(obj1
);
26412 if (PyErr_Occurred()) SWIG_fail
;
26413 arg3
= (int) SWIG_AsInt(obj2
);
26414 if (PyErr_Occurred()) SWIG_fail
;
26416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26417 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26419 wxPyEndAllowThreads(__tstate
);
26420 if (PyErr_Occurred()) SWIG_fail
;
26423 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26431 static PyObject
*_wrap_DropTarget_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26432 PyObject
*resultobj
;
26433 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26435 PyObject
* obj0
= 0 ;
26436 char *kwnames
[] = {
26437 (char *) "self", NULL
26440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetData",kwnames
,&obj0
)) goto fail
;
26441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26445 result
= (bool)(arg1
)->GetData();
26447 wxPyEndAllowThreads(__tstate
);
26448 if (PyErr_Occurred()) SWIG_fail
;
26451 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26459 static PyObject
* DropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
26461 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26462 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget
, obj
);
26464 return Py_BuildValue((char *)"");
26466 static PyObject
*_wrap_new_TextDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26467 PyObject
*resultobj
;
26468 wxPyTextDropTarget
*result
;
26469 char *kwnames
[] = {
26473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TextDropTarget",kwnames
)) goto fail
;
26475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26476 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
26478 wxPyEndAllowThreads(__tstate
);
26479 if (PyErr_Occurred()) SWIG_fail
;
26481 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDropTarget
, 1);
26488 static PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26489 PyObject
*resultobj
;
26490 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26491 PyObject
*arg2
= (PyObject
*) 0 ;
26492 PyObject
*arg3
= (PyObject
*) 0 ;
26493 PyObject
* obj0
= 0 ;
26494 PyObject
* obj1
= 0 ;
26495 PyObject
* obj2
= 0 ;
26496 char *kwnames
[] = {
26497 (char *) "self",(char *) "self",(char *) "_class", NULL
26500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26507 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26509 wxPyEndAllowThreads(__tstate
);
26510 if (PyErr_Occurred()) SWIG_fail
;
26512 Py_INCREF(Py_None
); resultobj
= Py_None
;
26519 static PyObject
*_wrap_TextDropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26520 PyObject
*resultobj
;
26521 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26526 PyObject
* obj0
= 0 ;
26527 PyObject
* obj1
= 0 ;
26528 PyObject
* obj2
= 0 ;
26529 PyObject
* obj3
= 0 ;
26530 char *kwnames
[] = {
26531 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26537 arg2
= (int) SWIG_AsInt(obj1
);
26538 if (PyErr_Occurred()) SWIG_fail
;
26539 arg3
= (int) SWIG_AsInt(obj2
);
26540 if (PyErr_Occurred()) SWIG_fail
;
26541 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26542 if (PyErr_Occurred()) SWIG_fail
;
26544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26545 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26547 wxPyEndAllowThreads(__tstate
);
26548 if (PyErr_Occurred()) SWIG_fail
;
26550 resultobj
= SWIG_FromInt((int)result
);
26557 static PyObject
*_wrap_TextDropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26558 PyObject
*resultobj
;
26559 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26564 PyObject
* obj0
= 0 ;
26565 PyObject
* obj1
= 0 ;
26566 PyObject
* obj2
= 0 ;
26567 PyObject
* obj3
= 0 ;
26568 char *kwnames
[] = {
26569 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26575 arg2
= (int) SWIG_AsInt(obj1
);
26576 if (PyErr_Occurred()) SWIG_fail
;
26577 arg3
= (int) SWIG_AsInt(obj2
);
26578 if (PyErr_Occurred()) SWIG_fail
;
26579 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26580 if (PyErr_Occurred()) SWIG_fail
;
26582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26583 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26585 wxPyEndAllowThreads(__tstate
);
26586 if (PyErr_Occurred()) SWIG_fail
;
26588 resultobj
= SWIG_FromInt((int)result
);
26595 static PyObject
*_wrap_TextDropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26596 PyObject
*resultobj
;
26597 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26598 PyObject
* obj0
= 0 ;
26599 char *kwnames
[] = {
26600 (char *) "self", NULL
26603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26608 (arg1
)->base_OnLeave();
26610 wxPyEndAllowThreads(__tstate
);
26611 if (PyErr_Occurred()) SWIG_fail
;
26613 Py_INCREF(Py_None
); resultobj
= Py_None
;
26620 static PyObject
*_wrap_TextDropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26621 PyObject
*resultobj
;
26622 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26626 PyObject
* obj0
= 0 ;
26627 PyObject
* obj1
= 0 ;
26628 PyObject
* obj2
= 0 ;
26629 char *kwnames
[] = {
26630 (char *) "self",(char *) "x",(char *) "y", NULL
26633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26636 arg2
= (int) SWIG_AsInt(obj1
);
26637 if (PyErr_Occurred()) SWIG_fail
;
26638 arg3
= (int) SWIG_AsInt(obj2
);
26639 if (PyErr_Occurred()) SWIG_fail
;
26641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26642 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26644 wxPyEndAllowThreads(__tstate
);
26645 if (PyErr_Occurred()) SWIG_fail
;
26648 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26656 static PyObject
*_wrap_TextDropTarget_base_OnData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26657 PyObject
*resultobj
;
26658 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26663 PyObject
* obj0
= 0 ;
26664 PyObject
* obj1
= 0 ;
26665 PyObject
* obj2
= 0 ;
26666 PyObject
* obj3
= 0 ;
26667 char *kwnames
[] = {
26668 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26674 arg2
= (int) SWIG_AsInt(obj1
);
26675 if (PyErr_Occurred()) SWIG_fail
;
26676 arg3
= (int) SWIG_AsInt(obj2
);
26677 if (PyErr_Occurred()) SWIG_fail
;
26678 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26679 if (PyErr_Occurred()) SWIG_fail
;
26681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26682 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
26684 wxPyEndAllowThreads(__tstate
);
26685 if (PyErr_Occurred()) SWIG_fail
;
26687 resultobj
= SWIG_FromInt((int)result
);
26694 static PyObject
* TextDropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
26696 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26697 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget
, obj
);
26699 return Py_BuildValue((char *)"");
26701 static PyObject
*_wrap_new_FileDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26702 PyObject
*resultobj
;
26703 wxPyFileDropTarget
*result
;
26704 char *kwnames
[] = {
26708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDropTarget",kwnames
)) goto fail
;
26710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26711 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
26713 wxPyEndAllowThreads(__tstate
);
26714 if (PyErr_Occurred()) SWIG_fail
;
26716 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileDropTarget
, 1);
26723 static PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26724 PyObject
*resultobj
;
26725 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26726 PyObject
*arg2
= (PyObject
*) 0 ;
26727 PyObject
*arg3
= (PyObject
*) 0 ;
26728 PyObject
* obj0
= 0 ;
26729 PyObject
* obj1
= 0 ;
26730 PyObject
* obj2
= 0 ;
26731 char *kwnames
[] = {
26732 (char *) "self",(char *) "self",(char *) "_class", NULL
26735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26742 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26744 wxPyEndAllowThreads(__tstate
);
26745 if (PyErr_Occurred()) SWIG_fail
;
26747 Py_INCREF(Py_None
); resultobj
= Py_None
;
26754 static PyObject
*_wrap_FileDropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26755 PyObject
*resultobj
;
26756 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26761 PyObject
* obj0
= 0 ;
26762 PyObject
* obj1
= 0 ;
26763 PyObject
* obj2
= 0 ;
26764 PyObject
* obj3
= 0 ;
26765 char *kwnames
[] = {
26766 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26772 arg2
= (int) SWIG_AsInt(obj1
);
26773 if (PyErr_Occurred()) SWIG_fail
;
26774 arg3
= (int) SWIG_AsInt(obj2
);
26775 if (PyErr_Occurred()) SWIG_fail
;
26776 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26777 if (PyErr_Occurred()) SWIG_fail
;
26779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26780 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26782 wxPyEndAllowThreads(__tstate
);
26783 if (PyErr_Occurred()) SWIG_fail
;
26785 resultobj
= SWIG_FromInt((int)result
);
26792 static PyObject
*_wrap_FileDropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26793 PyObject
*resultobj
;
26794 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26799 PyObject
* obj0
= 0 ;
26800 PyObject
* obj1
= 0 ;
26801 PyObject
* obj2
= 0 ;
26802 PyObject
* obj3
= 0 ;
26803 char *kwnames
[] = {
26804 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26810 arg2
= (int) SWIG_AsInt(obj1
);
26811 if (PyErr_Occurred()) SWIG_fail
;
26812 arg3
= (int) SWIG_AsInt(obj2
);
26813 if (PyErr_Occurred()) SWIG_fail
;
26814 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26815 if (PyErr_Occurred()) SWIG_fail
;
26817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26818 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26820 wxPyEndAllowThreads(__tstate
);
26821 if (PyErr_Occurred()) SWIG_fail
;
26823 resultobj
= SWIG_FromInt((int)result
);
26830 static PyObject
*_wrap_FileDropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26831 PyObject
*resultobj
;
26832 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26833 PyObject
* obj0
= 0 ;
26834 char *kwnames
[] = {
26835 (char *) "self", NULL
26838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26843 (arg1
)->base_OnLeave();
26845 wxPyEndAllowThreads(__tstate
);
26846 if (PyErr_Occurred()) SWIG_fail
;
26848 Py_INCREF(Py_None
); resultobj
= Py_None
;
26855 static PyObject
*_wrap_FileDropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26856 PyObject
*resultobj
;
26857 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26861 PyObject
* obj0
= 0 ;
26862 PyObject
* obj1
= 0 ;
26863 PyObject
* obj2
= 0 ;
26864 char *kwnames
[] = {
26865 (char *) "self",(char *) "x",(char *) "y", NULL
26868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26871 arg2
= (int) SWIG_AsInt(obj1
);
26872 if (PyErr_Occurred()) SWIG_fail
;
26873 arg3
= (int) SWIG_AsInt(obj2
);
26874 if (PyErr_Occurred()) SWIG_fail
;
26876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26877 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26879 wxPyEndAllowThreads(__tstate
);
26880 if (PyErr_Occurred()) SWIG_fail
;
26883 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26891 static PyObject
*_wrap_FileDropTarget_base_OnData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26892 PyObject
*resultobj
;
26893 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26898 PyObject
* obj0
= 0 ;
26899 PyObject
* obj1
= 0 ;
26900 PyObject
* obj2
= 0 ;
26901 PyObject
* obj3
= 0 ;
26902 char *kwnames
[] = {
26903 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26909 arg2
= (int) SWIG_AsInt(obj1
);
26910 if (PyErr_Occurred()) SWIG_fail
;
26911 arg3
= (int) SWIG_AsInt(obj2
);
26912 if (PyErr_Occurred()) SWIG_fail
;
26913 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26914 if (PyErr_Occurred()) SWIG_fail
;
26916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26917 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
26919 wxPyEndAllowThreads(__tstate
);
26920 if (PyErr_Occurred()) SWIG_fail
;
26922 resultobj
= SWIG_FromInt((int)result
);
26929 static PyObject
* FileDropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
26931 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26932 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget
, obj
);
26934 return Py_BuildValue((char *)"");
26936 static PyObject
*_wrap_new_Clipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26937 PyObject
*resultobj
;
26938 wxClipboard
*result
;
26939 char *kwnames
[] = {
26943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Clipboard",kwnames
)) goto fail
;
26945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26946 result
= (wxClipboard
*)new wxClipboard();
26948 wxPyEndAllowThreads(__tstate
);
26949 if (PyErr_Occurred()) SWIG_fail
;
26951 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 1);
26958 static PyObject
*_wrap_delete_Clipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26959 PyObject
*resultobj
;
26960 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26961 PyObject
* obj0
= 0 ;
26962 char *kwnames
[] = {
26963 (char *) "self", NULL
26966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Clipboard",kwnames
,&obj0
)) goto fail
;
26967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26973 wxPyEndAllowThreads(__tstate
);
26974 if (PyErr_Occurred()) SWIG_fail
;
26976 Py_INCREF(Py_None
); resultobj
= Py_None
;
26983 static PyObject
*_wrap_Clipboard_Open(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26984 PyObject
*resultobj
;
26985 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26987 PyObject
* obj0
= 0 ;
26988 char *kwnames
[] = {
26989 (char *) "self", NULL
26992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Open",kwnames
,&obj0
)) goto fail
;
26993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26997 result
= (bool)(arg1
)->Open();
26999 wxPyEndAllowThreads(__tstate
);
27000 if (PyErr_Occurred()) SWIG_fail
;
27003 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27011 static PyObject
*_wrap_Clipboard_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27012 PyObject
*resultobj
;
27013 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27014 PyObject
* obj0
= 0 ;
27015 char *kwnames
[] = {
27016 (char *) "self", NULL
27019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Close",kwnames
,&obj0
)) goto fail
;
27020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27026 wxPyEndAllowThreads(__tstate
);
27027 if (PyErr_Occurred()) SWIG_fail
;
27029 Py_INCREF(Py_None
); resultobj
= Py_None
;
27036 static PyObject
*_wrap_Clipboard_IsOpened(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27037 PyObject
*resultobj
;
27038 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27040 PyObject
* obj0
= 0 ;
27041 char *kwnames
[] = {
27042 (char *) "self", NULL
27045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_IsOpened",kwnames
,&obj0
)) goto fail
;
27046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27050 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
27052 wxPyEndAllowThreads(__tstate
);
27053 if (PyErr_Occurred()) SWIG_fail
;
27056 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27064 static PyObject
*_wrap_Clipboard_AddData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27065 PyObject
*resultobj
;
27066 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27067 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
27069 PyObject
* obj0
= 0 ;
27070 PyObject
* obj1
= 0 ;
27071 char *kwnames
[] = {
27072 (char *) "self",(char *) "data", NULL
27075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) goto fail
;
27076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27078 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
27079 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
27081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27082 result
= (bool)(arg1
)->AddData(arg2
);
27084 wxPyEndAllowThreads(__tstate
);
27085 if (PyErr_Occurred()) SWIG_fail
;
27088 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27096 static PyObject
*_wrap_Clipboard_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27097 PyObject
*resultobj
;
27098 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27099 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
27101 PyObject
* obj0
= 0 ;
27102 PyObject
* obj1
= 0 ;
27103 char *kwnames
[] = {
27104 (char *) "self",(char *) "data", NULL
27107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
27108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27110 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
27111 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
27113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27114 result
= (bool)(arg1
)->SetData(arg2
);
27116 wxPyEndAllowThreads(__tstate
);
27117 if (PyErr_Occurred()) SWIG_fail
;
27120 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27128 static PyObject
*_wrap_Clipboard_IsSupported(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27129 PyObject
*resultobj
;
27130 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27131 wxDataFormat
*arg2
= 0 ;
27133 PyObject
* obj0
= 0 ;
27134 PyObject
* obj1
= 0 ;
27135 char *kwnames
[] = {
27136 (char *) "self",(char *) "format", NULL
27139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) goto fail
;
27140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27142 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
27143 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27145 if (arg2
== NULL
) {
27146 PyErr_SetString(PyExc_TypeError
,"null reference");
27150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27151 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
27153 wxPyEndAllowThreads(__tstate
);
27154 if (PyErr_Occurred()) SWIG_fail
;
27157 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27165 static PyObject
*_wrap_Clipboard_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27166 PyObject
*resultobj
;
27167 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27168 wxDataObject
*arg2
= 0 ;
27170 PyObject
* obj0
= 0 ;
27171 PyObject
* obj1
= 0 ;
27172 char *kwnames
[] = {
27173 (char *) "self",(char *) "data", NULL
27176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) goto fail
;
27177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27179 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
27180 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27182 if (arg2
== NULL
) {
27183 PyErr_SetString(PyExc_TypeError
,"null reference");
27187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27188 result
= (bool)(arg1
)->GetData(*arg2
);
27190 wxPyEndAllowThreads(__tstate
);
27191 if (PyErr_Occurred()) SWIG_fail
;
27194 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27202 static PyObject
*_wrap_Clipboard_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27203 PyObject
*resultobj
;
27204 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27205 PyObject
* obj0
= 0 ;
27206 char *kwnames
[] = {
27207 (char *) "self", NULL
27210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Clear",kwnames
,&obj0
)) goto fail
;
27211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27217 wxPyEndAllowThreads(__tstate
);
27218 if (PyErr_Occurred()) SWIG_fail
;
27220 Py_INCREF(Py_None
); resultobj
= Py_None
;
27227 static PyObject
*_wrap_Clipboard_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27228 PyObject
*resultobj
;
27229 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27231 PyObject
* obj0
= 0 ;
27232 char *kwnames
[] = {
27233 (char *) "self", NULL
27236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Flush",kwnames
,&obj0
)) goto fail
;
27237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27241 result
= (bool)(arg1
)->Flush();
27243 wxPyEndAllowThreads(__tstate
);
27244 if (PyErr_Occurred()) SWIG_fail
;
27247 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27255 static PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27256 PyObject
*resultobj
;
27257 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27258 bool arg2
= (bool) True
;
27259 PyObject
* obj0
= 0 ;
27260 PyObject
* obj1
= 0 ;
27261 char *kwnames
[] = {
27262 (char *) "self",(char *) "primary", NULL
27265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) goto fail
;
27266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27269 arg2
= (bool) SWIG_AsBool(obj1
);
27270 if (PyErr_Occurred()) SWIG_fail
;
27273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27274 (arg1
)->UsePrimarySelection(arg2
);
27276 wxPyEndAllowThreads(__tstate
);
27277 if (PyErr_Occurred()) SWIG_fail
;
27279 Py_INCREF(Py_None
); resultobj
= Py_None
;
27286 static PyObject
*_wrap_Clipboard_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27287 PyObject
*resultobj
;
27288 wxClipboard
*result
;
27289 char *kwnames
[] = {
27293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Clipboard_Get",kwnames
)) goto fail
;
27295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27296 result
= (wxClipboard
*)wxClipboard::Get();
27298 wxPyEndAllowThreads(__tstate
);
27299 if (PyErr_Occurred()) SWIG_fail
;
27301 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 0);
27308 static PyObject
* Clipboard_swigregister(PyObject
*self
, PyObject
*args
) {
27310 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27311 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard
, obj
);
27313 return Py_BuildValue((char *)"");
27315 static PyObject
*_wrap_new_ClipboardLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27316 PyObject
*resultobj
;
27317 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
27318 wxClipboardLocker
*result
;
27319 PyObject
* obj0
= 0 ;
27320 char *kwnames
[] = {
27321 (char *) "clipboard", NULL
27324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
27326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27331 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
27333 wxPyEndAllowThreads(__tstate
);
27334 if (PyErr_Occurred()) SWIG_fail
;
27336 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboardLocker
, 1);
27343 static PyObject
*_wrap_delete_ClipboardLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27344 PyObject
*resultobj
;
27345 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
27346 PyObject
* obj0
= 0 ;
27347 char *kwnames
[] = {
27348 (char *) "self", NULL
27351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
27352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboardLocker
,
27353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27358 wxPyEndAllowThreads(__tstate
);
27359 if (PyErr_Occurred()) SWIG_fail
;
27361 Py_INCREF(Py_None
); resultobj
= Py_None
;
27368 static PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27369 PyObject
*resultobj
;
27370 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
27372 PyObject
* obj0
= 0 ;
27373 char *kwnames
[] = {
27374 (char *) "self", NULL
27377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ClipboardLocker___nonzero__",kwnames
,&obj0
)) goto fail
;
27378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboardLocker
,
27379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27382 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
27384 wxPyEndAllowThreads(__tstate
);
27385 if (PyErr_Occurred()) SWIG_fail
;
27388 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27396 static PyObject
* ClipboardLocker_swigregister(PyObject
*self
, PyObject
*args
) {
27398 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27399 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker
, obj
);
27401 return Py_BuildValue((char *)"");
27403 static PyObject
*_wrap_new_VideoMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27404 PyObject
*resultobj
;
27405 int arg1
= (int) 0 ;
27406 int arg2
= (int) 0 ;
27407 int arg3
= (int) 0 ;
27408 int arg4
= (int) 0 ;
27409 wxVideoMode
*result
;
27410 PyObject
* obj0
= 0 ;
27411 PyObject
* obj1
= 0 ;
27412 PyObject
* obj2
= 0 ;
27413 PyObject
* obj3
= 0 ;
27414 char *kwnames
[] = {
27415 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
27418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_VideoMode",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27420 arg1
= (int) SWIG_AsInt(obj0
);
27421 if (PyErr_Occurred()) SWIG_fail
;
27424 arg2
= (int) SWIG_AsInt(obj1
);
27425 if (PyErr_Occurred()) SWIG_fail
;
27428 arg3
= (int) SWIG_AsInt(obj2
);
27429 if (PyErr_Occurred()) SWIG_fail
;
27432 arg4
= (int) SWIG_AsInt(obj3
);
27433 if (PyErr_Occurred()) SWIG_fail
;
27436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27437 result
= (wxVideoMode
*)new wxVideoMode(arg1
,arg2
,arg3
,arg4
);
27439 wxPyEndAllowThreads(__tstate
);
27440 if (PyErr_Occurred()) SWIG_fail
;
27442 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVideoMode
, 1);
27449 static PyObject
*_wrap_delete_VideoMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27450 PyObject
*resultobj
;
27451 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27452 PyObject
* obj0
= 0 ;
27453 char *kwnames
[] = {
27454 (char *) "self", NULL
27457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VideoMode",kwnames
,&obj0
)) goto fail
;
27458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27464 wxPyEndAllowThreads(__tstate
);
27465 if (PyErr_Occurred()) SWIG_fail
;
27467 Py_INCREF(Py_None
); resultobj
= Py_None
;
27474 static PyObject
*_wrap_VideoMode_Matches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27475 PyObject
*resultobj
;
27476 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27477 wxVideoMode
*arg2
= 0 ;
27479 PyObject
* obj0
= 0 ;
27480 PyObject
* obj1
= 0 ;
27481 char *kwnames
[] = {
27482 (char *) "self",(char *) "other", NULL
27485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_Matches",kwnames
,&obj0
,&obj1
)) goto fail
;
27486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27488 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27489 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27491 if (arg2
== NULL
) {
27492 PyErr_SetString(PyExc_TypeError
,"null reference");
27496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27497 result
= (bool)((wxVideoMode
const *)arg1
)->Matches((wxVideoMode
const &)*arg2
);
27499 wxPyEndAllowThreads(__tstate
);
27500 if (PyErr_Occurred()) SWIG_fail
;
27503 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27511 static PyObject
*_wrap_VideoMode_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27512 PyObject
*resultobj
;
27513 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27515 PyObject
* obj0
= 0 ;
27516 char *kwnames
[] = {
27517 (char *) "self", NULL
27520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetWidth",kwnames
,&obj0
)) goto fail
;
27521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27525 result
= (int)((wxVideoMode
const *)arg1
)->GetWidth();
27527 wxPyEndAllowThreads(__tstate
);
27528 if (PyErr_Occurred()) SWIG_fail
;
27530 resultobj
= SWIG_FromInt((int)result
);
27537 static PyObject
*_wrap_VideoMode_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27538 PyObject
*resultobj
;
27539 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27541 PyObject
* obj0
= 0 ;
27542 char *kwnames
[] = {
27543 (char *) "self", NULL
27546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetHeight",kwnames
,&obj0
)) goto fail
;
27547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27551 result
= (int)((wxVideoMode
const *)arg1
)->GetHeight();
27553 wxPyEndAllowThreads(__tstate
);
27554 if (PyErr_Occurred()) SWIG_fail
;
27556 resultobj
= SWIG_FromInt((int)result
);
27563 static PyObject
*_wrap_VideoMode_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27564 PyObject
*resultobj
;
27565 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27567 PyObject
* obj0
= 0 ;
27568 char *kwnames
[] = {
27569 (char *) "self", NULL
27572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetDepth",kwnames
,&obj0
)) goto fail
;
27573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27577 result
= (int)((wxVideoMode
const *)arg1
)->GetDepth();
27579 wxPyEndAllowThreads(__tstate
);
27580 if (PyErr_Occurred()) SWIG_fail
;
27582 resultobj
= SWIG_FromInt((int)result
);
27589 static PyObject
*_wrap_VideoMode_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27590 PyObject
*resultobj
;
27591 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27593 PyObject
* obj0
= 0 ;
27594 char *kwnames
[] = {
27595 (char *) "self", NULL
27598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_IsOk",kwnames
,&obj0
)) goto fail
;
27599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27603 result
= (bool)((wxVideoMode
const *)arg1
)->IsOk();
27605 wxPyEndAllowThreads(__tstate
);
27606 if (PyErr_Occurred()) SWIG_fail
;
27609 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27617 static PyObject
*_wrap_VideoMode___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27618 PyObject
*resultobj
;
27619 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27620 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
27622 PyObject
* obj0
= 0 ;
27623 PyObject
* obj1
= 0 ;
27624 char *kwnames
[] = {
27625 (char *) "self",(char *) "other", NULL
27628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
27629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27631 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27635 result
= (bool)wxVideoMode___eq__(arg1
,(wxVideoMode
const *)arg2
);
27637 wxPyEndAllowThreads(__tstate
);
27638 if (PyErr_Occurred()) SWIG_fail
;
27641 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27649 static PyObject
*_wrap_VideoMode___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27650 PyObject
*resultobj
;
27651 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27652 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
27654 PyObject
* obj0
= 0 ;
27655 PyObject
* obj1
= 0 ;
27656 char *kwnames
[] = {
27657 (char *) "self",(char *) "other", NULL
27660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
27661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27663 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27667 result
= (bool)wxVideoMode___ne__(arg1
,(wxVideoMode
const *)arg2
);
27669 wxPyEndAllowThreads(__tstate
);
27670 if (PyErr_Occurred()) SWIG_fail
;
27673 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27681 static PyObject
*_wrap_VideoMode_w_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27682 PyObject
*resultobj
;
27683 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27685 PyObject
* obj0
= 0 ;
27686 PyObject
* obj1
= 0 ;
27687 char *kwnames
[] = {
27688 (char *) "self",(char *) "w", NULL
27691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_w_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27694 arg2
= (int) SWIG_AsInt(obj1
);
27695 if (PyErr_Occurred()) SWIG_fail
;
27696 if (arg1
) (arg1
)->w
= arg2
;
27698 Py_INCREF(Py_None
); resultobj
= Py_None
;
27705 static PyObject
*_wrap_VideoMode_w_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27706 PyObject
*resultobj
;
27707 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27709 PyObject
* obj0
= 0 ;
27710 char *kwnames
[] = {
27711 (char *) "self", NULL
27714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_w_get",kwnames
,&obj0
)) goto fail
;
27715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27717 result
= (int) ((arg1
)->w
);
27719 resultobj
= SWIG_FromInt((int)result
);
27726 static PyObject
*_wrap_VideoMode_h_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27727 PyObject
*resultobj
;
27728 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27730 PyObject
* obj0
= 0 ;
27731 PyObject
* obj1
= 0 ;
27732 char *kwnames
[] = {
27733 (char *) "self",(char *) "h", NULL
27736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_h_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27739 arg2
= (int) SWIG_AsInt(obj1
);
27740 if (PyErr_Occurred()) SWIG_fail
;
27741 if (arg1
) (arg1
)->h
= arg2
;
27743 Py_INCREF(Py_None
); resultobj
= Py_None
;
27750 static PyObject
*_wrap_VideoMode_h_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27751 PyObject
*resultobj
;
27752 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27754 PyObject
* obj0
= 0 ;
27755 char *kwnames
[] = {
27756 (char *) "self", NULL
27759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_h_get",kwnames
,&obj0
)) goto fail
;
27760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27762 result
= (int) ((arg1
)->h
);
27764 resultobj
= SWIG_FromInt((int)result
);
27771 static PyObject
*_wrap_VideoMode_bpp_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27772 PyObject
*resultobj
;
27773 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27775 PyObject
* obj0
= 0 ;
27776 PyObject
* obj1
= 0 ;
27777 char *kwnames
[] = {
27778 (char *) "self",(char *) "bpp", NULL
27781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_bpp_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27784 arg2
= (int) SWIG_AsInt(obj1
);
27785 if (PyErr_Occurred()) SWIG_fail
;
27786 if (arg1
) (arg1
)->bpp
= arg2
;
27788 Py_INCREF(Py_None
); resultobj
= Py_None
;
27795 static PyObject
*_wrap_VideoMode_bpp_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27796 PyObject
*resultobj
;
27797 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27799 PyObject
* obj0
= 0 ;
27800 char *kwnames
[] = {
27801 (char *) "self", NULL
27804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_bpp_get",kwnames
,&obj0
)) goto fail
;
27805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27807 result
= (int) ((arg1
)->bpp
);
27809 resultobj
= SWIG_FromInt((int)result
);
27816 static PyObject
*_wrap_VideoMode_refresh_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27817 PyObject
*resultobj
;
27818 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27820 PyObject
* obj0
= 0 ;
27821 PyObject
* obj1
= 0 ;
27822 char *kwnames
[] = {
27823 (char *) "self",(char *) "refresh", NULL
27826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_refresh_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27829 arg2
= (int) SWIG_AsInt(obj1
);
27830 if (PyErr_Occurred()) SWIG_fail
;
27831 if (arg1
) (arg1
)->refresh
= arg2
;
27833 Py_INCREF(Py_None
); resultobj
= Py_None
;
27840 static PyObject
*_wrap_VideoMode_refresh_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27841 PyObject
*resultobj
;
27842 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27844 PyObject
* obj0
= 0 ;
27845 char *kwnames
[] = {
27846 (char *) "self", NULL
27849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_refresh_get",kwnames
,&obj0
)) goto fail
;
27850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27852 result
= (int) ((arg1
)->refresh
);
27854 resultobj
= SWIG_FromInt((int)result
);
27861 static PyObject
* VideoMode_swigregister(PyObject
*self
, PyObject
*args
) {
27863 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27864 SWIG_TypeClientData(SWIGTYPE_p_wxVideoMode
, obj
);
27866 return Py_BuildValue((char *)"");
27868 static int _wrap_DefaultVideoMode_set(PyObject
*_val
) {
27869 PyErr_SetString(PyExc_TypeError
,"Variable DefaultVideoMode is read-only.");
27874 static PyObject
*_wrap_DefaultVideoMode_get() {
27877 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultVideoMode
), SWIGTYPE_p_wxVideoMode
, 0);
27882 static PyObject
*_wrap_new_Display(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27883 PyObject
*resultobj
;
27884 size_t arg1
= (size_t) 0 ;
27886 PyObject
* obj0
= 0 ;
27887 char *kwnames
[] = {
27888 (char *) "index", NULL
27891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Display",kwnames
,&obj0
)) goto fail
;
27893 arg1
= (size_t) SWIG_AsUnsignedLong(obj0
);
27894 if (PyErr_Occurred()) SWIG_fail
;
27897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27898 result
= (wxDisplay
*)new wxDisplay(arg1
);
27900 wxPyEndAllowThreads(__tstate
);
27901 if (PyErr_Occurred()) SWIG_fail
;
27903 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplay
, 1);
27910 static PyObject
*_wrap_delete_Display(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27911 PyObject
*resultobj
;
27912 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27913 PyObject
* obj0
= 0 ;
27914 char *kwnames
[] = {
27915 (char *) "self", NULL
27918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Display",kwnames
,&obj0
)) goto fail
;
27919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27925 wxPyEndAllowThreads(__tstate
);
27926 if (PyErr_Occurred()) SWIG_fail
;
27928 Py_INCREF(Py_None
); resultobj
= Py_None
;
27935 static PyObject
*_wrap_Display_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27936 PyObject
*resultobj
;
27938 char *kwnames
[] = {
27942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Display_GetCount",kwnames
)) goto fail
;
27944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27945 result
= (size_t)wxDisplay::GetCount();
27947 wxPyEndAllowThreads(__tstate
);
27948 if (PyErr_Occurred()) SWIG_fail
;
27950 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
27957 static PyObject
*_wrap_Display_GetFromPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27958 PyObject
*resultobj
;
27959 wxPoint
*arg1
= 0 ;
27962 PyObject
* obj0
= 0 ;
27963 char *kwnames
[] = {
27964 (char *) "pt", NULL
27967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromPoint",kwnames
,&obj0
)) goto fail
;
27970 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
27973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27974 result
= (int)wxDisplay::GetFromPoint((wxPoint
const &)*arg1
);
27976 wxPyEndAllowThreads(__tstate
);
27977 if (PyErr_Occurred()) SWIG_fail
;
27979 resultobj
= SWIG_FromInt((int)result
);
27986 static PyObject
*_wrap_Display_GetFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27987 PyObject
*resultobj
;
27988 wxWindow
*arg1
= (wxWindow
*) 0 ;
27990 PyObject
* obj0
= 0 ;
27991 char *kwnames
[] = {
27992 (char *) "window", NULL
27995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromWindow",kwnames
,&obj0
)) goto fail
;
27996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28000 result
= (int)Display_GetFromWindow(arg1
);
28002 wxPyEndAllowThreads(__tstate
);
28003 if (PyErr_Occurred()) SWIG_fail
;
28005 resultobj
= SWIG_FromInt((int)result
);
28012 static PyObject
*_wrap_Display_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28013 PyObject
*resultobj
;
28014 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28016 PyObject
* obj0
= 0 ;
28017 char *kwnames
[] = {
28018 (char *) "self", NULL
28021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsOk",kwnames
,&obj0
)) goto fail
;
28022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28026 result
= (bool)((wxDisplay
const *)arg1
)->IsOk();
28028 wxPyEndAllowThreads(__tstate
);
28029 if (PyErr_Occurred()) SWIG_fail
;
28032 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28040 static PyObject
*_wrap_Display_GetGeometry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28041 PyObject
*resultobj
;
28042 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28044 PyObject
* obj0
= 0 ;
28045 char *kwnames
[] = {
28046 (char *) "self", NULL
28049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetGeometry",kwnames
,&obj0
)) goto fail
;
28050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28054 result
= ((wxDisplay
const *)arg1
)->GetGeometry();
28056 wxPyEndAllowThreads(__tstate
);
28057 if (PyErr_Occurred()) SWIG_fail
;
28060 wxRect
* resultptr
;
28061 resultptr
= new wxRect((wxRect
&) result
);
28062 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
28070 static PyObject
*_wrap_Display_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28071 PyObject
*resultobj
;
28072 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28074 PyObject
* obj0
= 0 ;
28075 char *kwnames
[] = {
28076 (char *) "self", NULL
28079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetName",kwnames
,&obj0
)) goto fail
;
28080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28084 result
= ((wxDisplay
const *)arg1
)->GetName();
28086 wxPyEndAllowThreads(__tstate
);
28087 if (PyErr_Occurred()) SWIG_fail
;
28091 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28093 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28102 static PyObject
*_wrap_Display_IsPrimary(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28103 PyObject
*resultobj
;
28104 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28106 PyObject
* obj0
= 0 ;
28107 char *kwnames
[] = {
28108 (char *) "self", NULL
28111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsPrimary",kwnames
,&obj0
)) goto fail
;
28112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28116 result
= (bool)((wxDisplay
const *)arg1
)->IsPrimary();
28118 wxPyEndAllowThreads(__tstate
);
28119 if (PyErr_Occurred()) SWIG_fail
;
28122 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28130 static PyObject
*_wrap_Display_GetModes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28131 PyObject
*resultobj
;
28132 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28133 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
28134 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
28136 PyObject
* obj0
= 0 ;
28137 PyObject
* obj1
= 0 ;
28138 char *kwnames
[] = {
28139 (char *) "self",(char *) "mode", NULL
28142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_GetModes",kwnames
,&obj0
,&obj1
)) goto fail
;
28143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28146 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
28147 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28149 if (arg2
== NULL
) {
28150 PyErr_SetString(PyExc_TypeError
,"null reference");
28155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28156 result
= (PyObject
*)wxDisplay_GetModes(arg1
,(wxVideoMode
const &)*arg2
);
28158 wxPyEndAllowThreads(__tstate
);
28159 if (PyErr_Occurred()) SWIG_fail
;
28161 resultobj
= result
;
28168 static PyObject
*_wrap_Display_GetCurrentMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28169 PyObject
*resultobj
;
28170 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28171 wxVideoMode result
;
28172 PyObject
* obj0
= 0 ;
28173 char *kwnames
[] = {
28174 (char *) "self", NULL
28177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetCurrentMode",kwnames
,&obj0
)) goto fail
;
28178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28182 result
= ((wxDisplay
const *)arg1
)->GetCurrentMode();
28184 wxPyEndAllowThreads(__tstate
);
28185 if (PyErr_Occurred()) SWIG_fail
;
28188 wxVideoMode
* resultptr
;
28189 resultptr
= new wxVideoMode((wxVideoMode
&) result
);
28190 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVideoMode
, 1);
28198 static PyObject
*_wrap_Display_ChangeMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28199 PyObject
*resultobj
;
28200 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28201 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
28202 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
28204 PyObject
* obj0
= 0 ;
28205 PyObject
* obj1
= 0 ;
28206 char *kwnames
[] = {
28207 (char *) "self",(char *) "mode", NULL
28210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_ChangeMode",kwnames
,&obj0
,&obj1
)) goto fail
;
28211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28214 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
28215 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28217 if (arg2
== NULL
) {
28218 PyErr_SetString(PyExc_TypeError
,"null reference");
28223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28224 result
= (bool)(arg1
)->ChangeMode((wxVideoMode
const &)*arg2
);
28226 wxPyEndAllowThreads(__tstate
);
28227 if (PyErr_Occurred()) SWIG_fail
;
28230 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28238 static PyObject
*_wrap_Display_ResetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28239 PyObject
*resultobj
;
28240 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28241 PyObject
* obj0
= 0 ;
28242 char *kwnames
[] = {
28243 (char *) "self", NULL
28246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_ResetMode",kwnames
,&obj0
)) goto fail
;
28247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28251 (arg1
)->ResetMode();
28253 wxPyEndAllowThreads(__tstate
);
28254 if (PyErr_Occurred()) SWIG_fail
;
28256 Py_INCREF(Py_None
); resultobj
= Py_None
;
28263 static PyObject
* Display_swigregister(PyObject
*self
, PyObject
*args
) {
28265 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28266 SWIG_TypeClientData(SWIGTYPE_p_wxDisplay
, obj
);
28268 return Py_BuildValue((char *)"");
28270 static PyMethodDef SwigMethods
[] = {
28271 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
28272 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
28273 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
},
28274 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
},
28275 { (char *)"SystemSettings_GetScreenType", (PyCFunction
) _wrap_SystemSettings_GetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
28276 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
28277 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
},
28278 { (char *)"new_SystemOptions", (PyCFunction
) _wrap_new_SystemOptions
, METH_VARARGS
| METH_KEYWORDS
},
28279 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
},
28280 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
28281 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
},
28282 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
28283 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
},
28284 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
},
28285 { (char *)"NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
},
28286 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
},
28287 { (char *)"GetCurrentId", (PyCFunction
) _wrap_GetCurrentId
, METH_VARARGS
| METH_KEYWORDS
},
28288 { (char *)"Bell", (PyCFunction
) _wrap_Bell
, METH_VARARGS
| METH_KEYWORDS
},
28289 { (char *)"EndBusyCursor", (PyCFunction
) _wrap_EndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
28290 { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
},
28291 { (char *)"GetMousePosition", (PyCFunction
) _wrap_GetMousePosition
, METH_VARARGS
| METH_KEYWORDS
},
28292 { (char *)"IsBusy", (PyCFunction
) _wrap_IsBusy
, METH_VARARGS
| METH_KEYWORDS
},
28293 { (char *)"Now", (PyCFunction
) _wrap_Now
, METH_VARARGS
| METH_KEYWORDS
},
28294 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
},
28295 { (char *)"StartTimer", (PyCFunction
) _wrap_StartTimer
, METH_VARARGS
| METH_KEYWORDS
},
28296 { (char *)"GetOsVersion", (PyCFunction
) _wrap_GetOsVersion
, METH_VARARGS
| METH_KEYWORDS
},
28297 { (char *)"GetOsDescription", (PyCFunction
) _wrap_GetOsDescription
, METH_VARARGS
| METH_KEYWORDS
},
28298 { (char *)"GetFreeMemory", (PyCFunction
) _wrap_GetFreeMemory
, METH_VARARGS
| METH_KEYWORDS
},
28299 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
},
28300 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
},
28301 { (char *)"MilliSleep", (PyCFunction
) _wrap_MilliSleep
, METH_VARARGS
| METH_KEYWORDS
},
28302 { (char *)"MicroSleep", (PyCFunction
) _wrap_MicroSleep
, METH_VARARGS
| METH_KEYWORDS
},
28303 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
},
28304 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
},
28305 { (char *)"GetEmailAddress", (PyCFunction
) _wrap_GetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
},
28306 { (char *)"GetHostName", (PyCFunction
) _wrap_GetHostName
, METH_VARARGS
| METH_KEYWORDS
},
28307 { (char *)"GetFullHostName", (PyCFunction
) _wrap_GetFullHostName
, METH_VARARGS
| METH_KEYWORDS
},
28308 { (char *)"GetUserId", (PyCFunction
) _wrap_GetUserId
, METH_VARARGS
| METH_KEYWORDS
},
28309 { (char *)"GetUserName", (PyCFunction
) _wrap_GetUserName
, METH_VARARGS
| METH_KEYWORDS
},
28310 { (char *)"GetHomeDir", (PyCFunction
) _wrap_GetHomeDir
, METH_VARARGS
| METH_KEYWORDS
},
28311 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
},
28312 { (char *)"GetProcessId", (PyCFunction
) _wrap_GetProcessId
, METH_VARARGS
| METH_KEYWORDS
},
28313 { (char *)"Trap", (PyCFunction
) _wrap_Trap
, METH_VARARGS
| METH_KEYWORDS
},
28314 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
},
28315 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
28316 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
28317 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
},
28318 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
},
28319 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
},
28320 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
},
28321 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
},
28322 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
},
28323 { (char *)"GetNumberFromUser", (PyCFunction
) _wrap_GetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
},
28324 { (char *)"ColourDisplay", (PyCFunction
) _wrap_ColourDisplay
, METH_VARARGS
| METH_KEYWORDS
},
28325 { (char *)"DisplayDepth", (PyCFunction
) _wrap_DisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
28326 { (char *)"GetDisplayDepth", (PyCFunction
) _wrap_GetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
28327 { (char *)"DisplaySize", (PyCFunction
) _wrap_DisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
28328 { (char *)"GetDisplaySize", (PyCFunction
) _wrap_GetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
28329 { (char *)"DisplaySizeMM", (PyCFunction
) _wrap_DisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
28330 { (char *)"GetDisplaySizeMM", (PyCFunction
) _wrap_GetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
28331 { (char *)"ClientDisplayRect", (PyCFunction
) _wrap_ClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
28332 { (char *)"GetClientDisplayRect", (PyCFunction
) _wrap_GetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
28333 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
28334 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
28335 { (char *)"GetActiveWindow", (PyCFunction
) _wrap_GetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
},
28336 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
28337 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
28338 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
},
28339 { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS
| METH_KEYWORDS
},
28340 { (char *)"WakeUpMainThread", (PyCFunction
) _wrap_WakeUpMainThread
, METH_VARARGS
| METH_KEYWORDS
},
28341 { (char *)"MutexGuiEnter", (PyCFunction
) _wrap_MutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
},
28342 { (char *)"MutexGuiLeave", (PyCFunction
) _wrap_MutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
},
28343 { (char *)"new_MutexGuiLocker", (PyCFunction
) _wrap_new_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
28344 { (char *)"delete_MutexGuiLocker", (PyCFunction
) _wrap_delete_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
28345 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
},
28346 { (char *)"Thread_IsMain", (PyCFunction
) _wrap_Thread_IsMain
, METH_VARARGS
| METH_KEYWORDS
},
28347 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
},
28348 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
},
28349 { (char *)"ToolTip_GetTip", (PyCFunction
) _wrap_ToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
28350 { (char *)"ToolTip_GetWindow", (PyCFunction
) _wrap_ToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
28351 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
},
28352 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
},
28353 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
},
28354 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
},
28355 { (char *)"delete_Caret", (PyCFunction
) _wrap_delete_Caret
, METH_VARARGS
| METH_KEYWORDS
},
28356 { (char *)"Caret_IsOk", (PyCFunction
) _wrap_Caret_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28357 { (char *)"Caret_IsVisible", (PyCFunction
) _wrap_Caret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
28358 { (char *)"Caret_GetPosition", (PyCFunction
) _wrap_Caret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28359 { (char *)"Caret_GetPositionTuple", (PyCFunction
) _wrap_Caret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
28360 { (char *)"Caret_GetSize", (PyCFunction
) _wrap_Caret_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
28361 { (char *)"Caret_GetSizeTuple", (PyCFunction
) _wrap_Caret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
28362 { (char *)"Caret_GetWindow", (PyCFunction
) _wrap_Caret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
28363 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
28364 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
},
28365 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
28366 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
28367 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
},
28368 { (char *)"Caret_Hide", (PyCFunction
) _wrap_Caret_Hide
, METH_VARARGS
| METH_KEYWORDS
},
28369 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
},
28370 { (char *)"Caret_GetBlinkTime", (PyCFunction
) _wrap_Caret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
28371 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
28372 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
28373 { (char *)"delete_BusyCursor", (PyCFunction
) _wrap_delete_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
28374 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
},
28375 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
28376 { (char *)"delete_WindowDisabler", (PyCFunction
) _wrap_delete_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
28377 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
},
28378 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
28379 { (char *)"delete_BusyInfo", (PyCFunction
) _wrap_delete_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
28380 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
},
28381 { (char *)"new_StopWatch", (PyCFunction
) _wrap_new_StopWatch
, METH_VARARGS
| METH_KEYWORDS
},
28382 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
},
28383 { (char *)"StopWatch_Pause", (PyCFunction
) _wrap_StopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
},
28384 { (char *)"StopWatch_Resume", (PyCFunction
) _wrap_StopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
},
28385 { (char *)"StopWatch_Time", (PyCFunction
) _wrap_StopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
},
28386 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
},
28387 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
},
28388 { (char *)"delete_FileHistory", (PyCFunction
) _wrap_delete_FileHistory
, METH_VARARGS
| METH_KEYWORDS
},
28389 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
},
28390 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
},
28391 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
) _wrap_FileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
},
28392 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
},
28393 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
},
28394 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
},
28395 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
},
28396 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
},
28397 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
},
28398 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
},
28399 { (char *)"FileHistory_GetCount", (PyCFunction
) _wrap_FileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
28400 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
},
28401 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
28402 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
) _wrap_new_PreSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
28403 { (char *)"delete_SingleInstanceChecker", (PyCFunction
) _wrap_delete_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
28404 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
},
28405 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
) _wrap_SingleInstanceChecker_IsAnotherRunning
, METH_VARARGS
| METH_KEYWORDS
},
28406 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
},
28407 { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
},
28408 { (char *)"delete_TipProvider", (PyCFunction
) _wrap_delete_TipProvider
, METH_VARARGS
| METH_KEYWORDS
},
28409 { (char *)"TipProvider_GetTip", (PyCFunction
) _wrap_TipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
28410 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
) _wrap_TipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
},
28411 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
},
28412 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
},
28413 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
28414 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28415 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
},
28416 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
},
28417 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
28418 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
},
28419 { (char *)"delete_Timer", (PyCFunction
) _wrap_delete_Timer
, METH_VARARGS
| METH_KEYWORDS
},
28420 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28421 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
},
28422 { (char *)"Timer_GetOwner", (PyCFunction
) _wrap_Timer_GetOwner
, METH_VARARGS
| METH_KEYWORDS
},
28423 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
},
28424 { (char *)"Timer_Stop", (PyCFunction
) _wrap_Timer_Stop
, METH_VARARGS
| METH_KEYWORDS
},
28425 { (char *)"Timer_IsRunning", (PyCFunction
) _wrap_Timer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
},
28426 { (char *)"Timer_GetInterval", (PyCFunction
) _wrap_Timer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
28427 { (char *)"Timer_IsOneShot", (PyCFunction
) _wrap_Timer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
},
28428 { (char *)"Timer_GetId", (PyCFunction
) _wrap_Timer_GetId
, METH_VARARGS
| METH_KEYWORDS
},
28429 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
},
28430 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
},
28431 { (char *)"TimerEvent_GetInterval", (PyCFunction
) _wrap_TimerEvent_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
28432 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
},
28433 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
},
28434 { (char *)"delete_TimerRunner", (PyCFunction
) _wrap_delete_TimerRunner
, METH_VARARGS
| METH_KEYWORDS
},
28435 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
},
28436 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
},
28437 { (char *)"new_Log", (PyCFunction
) _wrap_new_Log
, METH_VARARGS
| METH_KEYWORDS
},
28438 { (char *)"Log_IsEnabled", (PyCFunction
) _wrap_Log_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
28439 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
},
28440 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
},
28441 { (char *)"Log_Flush", (PyCFunction
) _wrap_Log_Flush
, METH_VARARGS
| METH_KEYWORDS
},
28442 { (char *)"Log_FlushActive", (PyCFunction
) _wrap_Log_FlushActive
, METH_VARARGS
| METH_KEYWORDS
},
28443 { (char *)"Log_GetActiveTarget", (PyCFunction
) _wrap_Log_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
28444 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
28445 { (char *)"Log_Suspend", (PyCFunction
) _wrap_Log_Suspend
, METH_VARARGS
| METH_KEYWORDS
},
28446 { (char *)"Log_Resume", (PyCFunction
) _wrap_Log_Resume
, METH_VARARGS
| METH_KEYWORDS
},
28447 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
28448 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
},
28449 { (char *)"Log_DontCreateOnDemand", (PyCFunction
) _wrap_Log_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
28450 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28451 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28452 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28453 { (char *)"Log_ClearTraceMasks", (PyCFunction
) _wrap_Log_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
28454 { (char *)"Log_GetTraceMasks", (PyCFunction
) _wrap_Log_GetTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
28455 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
28456 { (char *)"Log_GetVerbose", (PyCFunction
) _wrap_Log_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
28457 { (char *)"Log_GetTraceMask", (PyCFunction
) _wrap_Log_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28458 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28459 { (char *)"Log_GetLogLevel", (PyCFunction
) _wrap_Log_GetLogLevel
, METH_VARARGS
| METH_KEYWORDS
},
28460 { (char *)"Log_GetTimestamp", (PyCFunction
) _wrap_Log_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
28461 { (char *)"Log_TimeStamp", (PyCFunction
) _wrap_Log_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
},
28462 { (char *)"Log_Destroy", (PyCFunction
) _wrap_Log_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
28463 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
},
28464 { (char *)"new_LogStderr", (PyCFunction
) _wrap_new_LogStderr
, METH_VARARGS
| METH_KEYWORDS
},
28465 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
},
28466 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
28467 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
},
28468 { (char *)"new_LogGui", (PyCFunction
) _wrap_new_LogGui
, METH_VARARGS
| METH_KEYWORDS
},
28469 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
},
28470 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
},
28471 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
28472 { (char *)"LogWindow_GetFrame", (PyCFunction
) _wrap_LogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
28473 { (char *)"LogWindow_GetOldLog", (PyCFunction
) _wrap_LogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
28474 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
) _wrap_LogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
28475 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
28476 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
},
28477 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
},
28478 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
},
28479 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
28480 { (char *)"LogChain_IsPassingMessages", (PyCFunction
) _wrap_LogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
28481 { (char *)"LogChain_GetOldLog", (PyCFunction
) _wrap_LogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
28482 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
},
28483 { (char *)"SysErrorCode", (PyCFunction
) _wrap_SysErrorCode
, METH_VARARGS
| METH_KEYWORDS
},
28484 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
},
28485 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
},
28486 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
},
28487 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
},
28488 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
},
28489 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
},
28490 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
},
28491 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
},
28492 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
},
28493 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
},
28494 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
},
28495 { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS
},
28496 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
},
28497 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
},
28498 { (char *)"new_LogNull", (PyCFunction
) _wrap_new_LogNull
, METH_VARARGS
| METH_KEYWORDS
},
28499 { (char *)"delete_LogNull", (PyCFunction
) _wrap_delete_LogNull
, METH_VARARGS
| METH_KEYWORDS
},
28500 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
},
28501 { (char *)"new_PyLog", (PyCFunction
) _wrap_new_PyLog
, METH_VARARGS
| METH_KEYWORDS
},
28502 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28503 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
},
28504 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
},
28505 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
},
28506 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
},
28507 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
},
28508 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28509 { (char *)"Process_base_OnTerminate", (PyCFunction
) _wrap_Process_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
},
28510 { (char *)"Process_Redirect", (PyCFunction
) _wrap_Process_Redirect
, METH_VARARGS
| METH_KEYWORDS
},
28511 { (char *)"Process_IsRedirected", (PyCFunction
) _wrap_Process_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
},
28512 { (char *)"Process_Detach", (PyCFunction
) _wrap_Process_Detach
, METH_VARARGS
| METH_KEYWORDS
},
28513 { (char *)"Process_GetInputStream", (PyCFunction
) _wrap_Process_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
},
28514 { (char *)"Process_GetErrorStream", (PyCFunction
) _wrap_Process_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
},
28515 { (char *)"Process_GetOutputStream", (PyCFunction
) _wrap_Process_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
28516 { (char *)"Process_CloseOutput", (PyCFunction
) _wrap_Process_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
},
28517 { (char *)"Process_IsInputOpened", (PyCFunction
) _wrap_Process_IsInputOpened
, METH_VARARGS
| METH_KEYWORDS
},
28518 { (char *)"Process_IsInputAvailable", (PyCFunction
) _wrap_Process_IsInputAvailable
, METH_VARARGS
| METH_KEYWORDS
},
28519 { (char *)"Process_IsErrorAvailable", (PyCFunction
) _wrap_Process_IsErrorAvailable
, METH_VARARGS
| METH_KEYWORDS
},
28520 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
},
28521 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
28522 { (char *)"ProcessEvent_GetPid", (PyCFunction
) _wrap_ProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
},
28523 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
) _wrap_ProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
},
28524 { (char *)"ProcessEvent_m_pid_set", (PyCFunction
) _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
},
28525 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
) _wrap_ProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
},
28526 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
},
28527 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
},
28528 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
},
28529 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
},
28530 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
},
28531 { (char *)"delete_Joystick", (PyCFunction
) _wrap_delete_Joystick
, METH_VARARGS
| METH_KEYWORDS
},
28532 { (char *)"Joystick_GetPosition", (PyCFunction
) _wrap_Joystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28533 { (char *)"Joystick_GetZPosition", (PyCFunction
) _wrap_Joystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
28534 { (char *)"Joystick_GetButtonState", (PyCFunction
) _wrap_Joystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
28535 { (char *)"Joystick_GetPOVPosition", (PyCFunction
) _wrap_Joystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
},
28536 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
) _wrap_Joystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
},
28537 { (char *)"Joystick_GetRudderPosition", (PyCFunction
) _wrap_Joystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
},
28538 { (char *)"Joystick_GetUPosition", (PyCFunction
) _wrap_Joystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
},
28539 { (char *)"Joystick_GetVPosition", (PyCFunction
) _wrap_Joystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
},
28540 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
) _wrap_Joystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
28541 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
28542 { (char *)"Joystick_IsOk", (PyCFunction
) _wrap_Joystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28543 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
) _wrap_Joystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
},
28544 { (char *)"Joystick_GetManufacturerId", (PyCFunction
) _wrap_Joystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
},
28545 { (char *)"Joystick_GetProductId", (PyCFunction
) _wrap_Joystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
},
28546 { (char *)"Joystick_GetProductName", (PyCFunction
) _wrap_Joystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
},
28547 { (char *)"Joystick_GetXMin", (PyCFunction
) _wrap_Joystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
},
28548 { (char *)"Joystick_GetYMin", (PyCFunction
) _wrap_Joystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
},
28549 { (char *)"Joystick_GetZMin", (PyCFunction
) _wrap_Joystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
},
28550 { (char *)"Joystick_GetXMax", (PyCFunction
) _wrap_Joystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
},
28551 { (char *)"Joystick_GetYMax", (PyCFunction
) _wrap_Joystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
},
28552 { (char *)"Joystick_GetZMax", (PyCFunction
) _wrap_Joystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
},
28553 { (char *)"Joystick_GetNumberButtons", (PyCFunction
) _wrap_Joystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
},
28554 { (char *)"Joystick_GetNumberAxes", (PyCFunction
) _wrap_Joystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
},
28555 { (char *)"Joystick_GetMaxButtons", (PyCFunction
) _wrap_Joystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
},
28556 { (char *)"Joystick_GetMaxAxes", (PyCFunction
) _wrap_Joystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
},
28557 { (char *)"Joystick_GetPollingMin", (PyCFunction
) _wrap_Joystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
},
28558 { (char *)"Joystick_GetPollingMax", (PyCFunction
) _wrap_Joystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
},
28559 { (char *)"Joystick_GetRudderMin", (PyCFunction
) _wrap_Joystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
},
28560 { (char *)"Joystick_GetRudderMax", (PyCFunction
) _wrap_Joystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
},
28561 { (char *)"Joystick_GetUMin", (PyCFunction
) _wrap_Joystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
},
28562 { (char *)"Joystick_GetUMax", (PyCFunction
) _wrap_Joystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
},
28563 { (char *)"Joystick_GetVMin", (PyCFunction
) _wrap_Joystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
},
28564 { (char *)"Joystick_GetVMax", (PyCFunction
) _wrap_Joystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
},
28565 { (char *)"Joystick_HasRudder", (PyCFunction
) _wrap_Joystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
},
28566 { (char *)"Joystick_HasZ", (PyCFunction
) _wrap_Joystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
},
28567 { (char *)"Joystick_HasU", (PyCFunction
) _wrap_Joystick_HasU
, METH_VARARGS
| METH_KEYWORDS
},
28568 { (char *)"Joystick_HasV", (PyCFunction
) _wrap_Joystick_HasV
, METH_VARARGS
| METH_KEYWORDS
},
28569 { (char *)"Joystick_HasPOV", (PyCFunction
) _wrap_Joystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
},
28570 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
) _wrap_Joystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
},
28571 { (char *)"Joystick_HasPOVCTS", (PyCFunction
) _wrap_Joystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
},
28572 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
},
28573 { (char *)"Joystick_ReleaseCapture", (PyCFunction
) _wrap_Joystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
},
28574 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
},
28575 { (char *)"JoystickEvent_m_pos_set", (PyCFunction
) _wrap_JoystickEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
},
28576 { (char *)"JoystickEvent_m_pos_get", (PyCFunction
) _wrap_JoystickEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
},
28577 { (char *)"JoystickEvent_m_zPosition_set", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_set
, METH_VARARGS
| METH_KEYWORDS
},
28578 { (char *)"JoystickEvent_m_zPosition_get", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_get
, METH_VARARGS
| METH_KEYWORDS
},
28579 { (char *)"JoystickEvent_m_buttonChange_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_set
, METH_VARARGS
| METH_KEYWORDS
},
28580 { (char *)"JoystickEvent_m_buttonChange_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_get
, METH_VARARGS
| METH_KEYWORDS
},
28581 { (char *)"JoystickEvent_m_buttonState_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_set
, METH_VARARGS
| METH_KEYWORDS
},
28582 { (char *)"JoystickEvent_m_buttonState_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_get
, METH_VARARGS
| METH_KEYWORDS
},
28583 { (char *)"JoystickEvent_m_joyStick_set", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_set
, METH_VARARGS
| METH_KEYWORDS
},
28584 { (char *)"JoystickEvent_m_joyStick_get", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_get
, METH_VARARGS
| METH_KEYWORDS
},
28585 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
},
28586 { (char *)"JoystickEvent_GetPosition", (PyCFunction
) _wrap_JoystickEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28587 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
) _wrap_JoystickEvent_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
28588 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
) _wrap_JoystickEvent_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
28589 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
) _wrap_JoystickEvent_GetButtonChange
, METH_VARARGS
| METH_KEYWORDS
},
28590 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
) _wrap_JoystickEvent_GetJoystick
, METH_VARARGS
| METH_KEYWORDS
},
28591 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
},
28592 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
28593 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
},
28594 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28595 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
28596 { (char *)"JoystickEvent_IsButton", (PyCFunction
) _wrap_JoystickEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
28597 { (char *)"JoystickEvent_IsMove", (PyCFunction
) _wrap_JoystickEvent_IsMove
, METH_VARARGS
| METH_KEYWORDS
},
28598 { (char *)"JoystickEvent_IsZMove", (PyCFunction
) _wrap_JoystickEvent_IsZMove
, METH_VARARGS
| METH_KEYWORDS
},
28599 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
},
28600 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
},
28601 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
},
28602 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
},
28603 { (char *)"new_Sound", (PyCFunction
) _wrap_new_Sound
, METH_VARARGS
| METH_KEYWORDS
},
28604 { (char *)"new_SoundFromData", (PyCFunction
) _wrap_new_SoundFromData
, METH_VARARGS
| METH_KEYWORDS
},
28605 { (char *)"delete_Sound", (PyCFunction
) _wrap_delete_Sound
, METH_VARARGS
| METH_KEYWORDS
},
28606 { (char *)"Sound_Create", (PyCFunction
) _wrap_Sound_Create
, METH_VARARGS
| METH_KEYWORDS
},
28607 { (char *)"Sound_CreateFromData", (PyCFunction
) _wrap_Sound_CreateFromData
, METH_VARARGS
| METH_KEYWORDS
},
28608 { (char *)"Sound_IsOk", (PyCFunction
) _wrap_Sound_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28609 { (char *)"Sound_Play", (PyCFunction
) _wrap_Sound_Play
, METH_VARARGS
| METH_KEYWORDS
},
28610 { (char *)"Sound_PlaySound", (PyCFunction
) _wrap_Sound_PlaySound
, METH_VARARGS
| METH_KEYWORDS
},
28611 { (char *)"Sound_Stop", (PyCFunction
) _wrap_Sound_Stop
, METH_VARARGS
| METH_KEYWORDS
},
28612 { (char *)"Sound_swigregister", Sound_swigregister
, METH_VARARGS
},
28613 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
28614 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
},
28615 { (char *)"new_NullFileTypeInfo", (PyCFunction
) _wrap_new_NullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
28616 { (char *)"FileTypeInfo_IsValid", (PyCFunction
) _wrap_FileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
28617 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
28618 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
28619 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
) _wrap_FileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
28620 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_FileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
28621 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_FileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
28622 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
28623 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
) _wrap_FileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
28624 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
) _wrap_FileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
28625 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_FileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
},
28626 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
) _wrap_FileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
},
28627 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_FileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
},
28628 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
},
28629 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
},
28630 { (char *)"delete_FileType", (PyCFunction
) _wrap_delete_FileType
, METH_VARARGS
| METH_KEYWORDS
},
28631 { (char *)"FileType_GetMimeType", (PyCFunction
) _wrap_FileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
28632 { (char *)"FileType_GetMimeTypes", (PyCFunction
) _wrap_FileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
28633 { (char *)"FileType_GetExtensions", (PyCFunction
) _wrap_FileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
28634 { (char *)"FileType_GetIcon", (PyCFunction
) _wrap_FileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
28635 { (char *)"FileType_GetIconInfo", (PyCFunction
) _wrap_FileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
},
28636 { (char *)"FileType_GetDescription", (PyCFunction
) _wrap_FileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
28637 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
28638 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
28639 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
},
28640 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
},
28641 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
},
28642 { (char *)"FileType_Unassociate", (PyCFunction
) _wrap_FileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
28643 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
},
28644 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
},
28645 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
},
28646 { (char *)"new_MimeTypesManager", (PyCFunction
) _wrap_new_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
28647 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
28648 { (char *)"MimeTypesManager_ClearData", (PyCFunction
) _wrap_MimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
},
28649 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
},
28650 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
},
28651 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
},
28652 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
28653 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_MimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
},
28654 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
},
28655 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
},
28656 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
28657 { (char *)"delete_MimeTypesManager", (PyCFunction
) _wrap_delete_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
28658 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
},
28659 { (char *)"new_ArtProvider", (PyCFunction
) _wrap_new_ArtProvider
, METH_VARARGS
| METH_KEYWORDS
},
28660 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28661 { (char *)"ArtProvider_PushProvider", (PyCFunction
) _wrap_ArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
},
28662 { (char *)"ArtProvider_PopProvider", (PyCFunction
) _wrap_ArtProvider_PopProvider
, METH_VARARGS
| METH_KEYWORDS
},
28663 { (char *)"ArtProvider_RemoveProvider", (PyCFunction
) _wrap_ArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
},
28664 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
28665 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
28666 { (char *)"ArtProvider_Destroy", (PyCFunction
) _wrap_ArtProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
28667 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
},
28668 { (char *)"delete_ConfigBase", (PyCFunction
) _wrap_delete_ConfigBase
, METH_VARARGS
| METH_KEYWORDS
},
28669 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
},
28670 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
},
28671 { (char *)"ConfigBase_Create", (PyCFunction
) _wrap_ConfigBase_Create
, METH_VARARGS
| METH_KEYWORDS
},
28672 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
) _wrap_ConfigBase_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
28673 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
28674 { (char *)"ConfigBase_GetPath", (PyCFunction
) _wrap_ConfigBase_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
28675 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
) _wrap_ConfigBase_GetFirstGroup
, METH_VARARGS
| METH_KEYWORDS
},
28676 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
},
28677 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
) _wrap_ConfigBase_GetFirstEntry
, METH_VARARGS
| METH_KEYWORDS
},
28678 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
},
28679 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
},
28680 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
},
28681 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
},
28682 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
},
28683 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
},
28684 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
},
28685 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
},
28686 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
},
28687 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
},
28688 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
},
28689 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
},
28690 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
},
28691 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
},
28692 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
},
28693 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
},
28694 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
},
28695 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
},
28696 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
},
28697 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
},
28698 { (char *)"ConfigBase_DeleteAll", (PyCFunction
) _wrap_ConfigBase_DeleteAll
, METH_VARARGS
| METH_KEYWORDS
},
28699 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28700 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
) _wrap_ConfigBase_IsExpandingEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28701 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
},
28702 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
) _wrap_ConfigBase_IsRecordingDefaults
, METH_VARARGS
| METH_KEYWORDS
},
28703 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28704 { (char *)"ConfigBase_GetAppName", (PyCFunction
) _wrap_ConfigBase_GetAppName
, METH_VARARGS
| METH_KEYWORDS
},
28705 { (char *)"ConfigBase_GetVendorName", (PyCFunction
) _wrap_ConfigBase_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
28706 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
},
28707 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
28708 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
28709 { (char *)"ConfigBase_GetStyle", (PyCFunction
) _wrap_ConfigBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
28710 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
},
28711 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
},
28712 { (char *)"delete_Config", (PyCFunction
) _wrap_delete_Config
, METH_VARARGS
| METH_KEYWORDS
},
28713 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
},
28714 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
},
28715 { (char *)"delete_FileConfig", (PyCFunction
) _wrap_delete_FileConfig
, METH_VARARGS
| METH_KEYWORDS
},
28716 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
},
28717 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
},
28718 { (char *)"delete_ConfigPathChanger", (PyCFunction
) _wrap_delete_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
},
28719 { (char *)"ConfigPathChanger_Name", (PyCFunction
) _wrap_ConfigPathChanger_Name
, METH_VARARGS
| METH_KEYWORDS
},
28720 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
},
28721 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28722 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
},
28723 { (char *)"DateTime_GetCountry", (PyCFunction
) _wrap_DateTime_GetCountry
, METH_VARARGS
| METH_KEYWORDS
},
28724 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
},
28725 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
},
28726 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
},
28727 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
},
28728 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
},
28729 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
},
28730 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
},
28731 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
},
28732 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
},
28733 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
},
28734 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
) _wrap_DateTime_GetAmPmStrings
, METH_VARARGS
| METH_KEYWORDS
},
28735 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
},
28736 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
},
28737 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
},
28738 { (char *)"DateTime_Now", (PyCFunction
) _wrap_DateTime_Now
, METH_VARARGS
| METH_KEYWORDS
},
28739 { (char *)"DateTime_UNow", (PyCFunction
) _wrap_DateTime_UNow
, METH_VARARGS
| METH_KEYWORDS
},
28740 { (char *)"DateTime_Today", (PyCFunction
) _wrap_DateTime_Today
, METH_VARARGS
| METH_KEYWORDS
},
28741 { (char *)"new_DateTime", (PyCFunction
) _wrap_new_DateTime
, METH_VARARGS
| METH_KEYWORDS
},
28742 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
},
28743 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
},
28744 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
},
28745 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
},
28746 { (char *)"delete_DateTime", (PyCFunction
) _wrap_delete_DateTime
, METH_VARARGS
| METH_KEYWORDS
},
28747 { (char *)"DateTime_SetToCurrent", (PyCFunction
) _wrap_DateTime_SetToCurrent
, METH_VARARGS
| METH_KEYWORDS
},
28748 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
},
28749 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
},
28750 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
},
28751 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
},
28752 { (char *)"DateTime_ResetTime", (PyCFunction
) _wrap_DateTime_ResetTime
, METH_VARARGS
| METH_KEYWORDS
},
28753 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
},
28754 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
},
28755 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
},
28756 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
},
28757 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
},
28758 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
},
28759 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
28760 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
28761 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
28762 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28763 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28764 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28765 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28766 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28767 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28768 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28769 { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
},
28770 { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
},
28771 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
28772 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
28773 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
},
28774 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
},
28775 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
28776 { (char *)"DateTime_GetJDN", (PyCFunction
) _wrap_DateTime_GetJDN
, METH_VARARGS
| METH_KEYWORDS
},
28777 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetModifiedJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
28778 { (char *)"DateTime_GetMJD", (PyCFunction
) _wrap_DateTime_GetMJD
, METH_VARARGS
| METH_KEYWORDS
},
28779 { (char *)"DateTime_GetRataDie", (PyCFunction
) _wrap_DateTime_GetRataDie
, METH_VARARGS
| METH_KEYWORDS
},
28780 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
},
28781 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
},
28782 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
},
28783 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
},
28784 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
},
28785 { (char *)"DateTime_IsValid", (PyCFunction
) _wrap_DateTime_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
28786 { (char *)"DateTime_GetTicks", (PyCFunction
) _wrap_DateTime_GetTicks
, METH_VARARGS
| METH_KEYWORDS
},
28787 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
},
28788 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
},
28789 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
},
28790 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28791 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
},
28792 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
},
28793 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
},
28794 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
28795 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
},
28796 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
},
28797 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
},
28798 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
},
28799 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
28800 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
},
28801 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
},
28802 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
},
28803 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
},
28804 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
},
28805 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
},
28806 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
},
28807 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
},
28808 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
},
28809 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
},
28810 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
},
28811 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
28812 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
},
28813 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
},
28814 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
},
28815 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
},
28816 { (char *)"DateTime___lt__", _wrap_DateTime___lt__
, METH_VARARGS
},
28817 { (char *)"DateTime___le__", _wrap_DateTime___le__
, METH_VARARGS
},
28818 { (char *)"DateTime___gt__", _wrap_DateTime___gt__
, METH_VARARGS
},
28819 { (char *)"DateTime___ge__", _wrap_DateTime___ge__
, METH_VARARGS
},
28820 { (char *)"DateTime___eq__", _wrap_DateTime___eq__
, METH_VARARGS
},
28821 { (char *)"DateTime___ne__", _wrap_DateTime___ne__
, METH_VARARGS
},
28822 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
},
28823 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
},
28824 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
},
28825 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
},
28826 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
},
28827 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
},
28828 { (char *)"DateTime_FormatDate", (PyCFunction
) _wrap_DateTime_FormatDate
, METH_VARARGS
| METH_KEYWORDS
},
28829 { (char *)"DateTime_FormatTime", (PyCFunction
) _wrap_DateTime_FormatTime
, METH_VARARGS
| METH_KEYWORDS
},
28830 { (char *)"DateTime_FormatISODate", (PyCFunction
) _wrap_DateTime_FormatISODate
, METH_VARARGS
| METH_KEYWORDS
},
28831 { (char *)"DateTime_FormatISOTime", (PyCFunction
) _wrap_DateTime_FormatISOTime
, METH_VARARGS
| METH_KEYWORDS
},
28832 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
},
28833 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
},
28834 { (char *)"TimeSpan_Second", (PyCFunction
) _wrap_TimeSpan_Second
, METH_VARARGS
| METH_KEYWORDS
},
28835 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
},
28836 { (char *)"TimeSpan_Minute", (PyCFunction
) _wrap_TimeSpan_Minute
, METH_VARARGS
| METH_KEYWORDS
},
28837 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
},
28838 { (char *)"TimeSpan_Hour", (PyCFunction
) _wrap_TimeSpan_Hour
, METH_VARARGS
| METH_KEYWORDS
},
28839 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
28840 { (char *)"TimeSpan_Day", (PyCFunction
) _wrap_TimeSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
28841 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
28842 { (char *)"TimeSpan_Week", (PyCFunction
) _wrap_TimeSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
28843 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
28844 { (char *)"delete_TimeSpan", (PyCFunction
) _wrap_delete_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
28845 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
28846 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
28847 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
28848 { (char *)"TimeSpan_Neg", (PyCFunction
) _wrap_TimeSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
28849 { (char *)"TimeSpan_Abs", (PyCFunction
) _wrap_TimeSpan_Abs
, METH_VARARGS
| METH_KEYWORDS
},
28850 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
28851 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
},
28852 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
},
28853 { (char *)"TimeSpan___neg__", (PyCFunction
) _wrap_TimeSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
28854 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
28855 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
28856 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
28857 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
28858 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
},
28859 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
},
28860 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
},
28861 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
},
28862 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
28863 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
28864 { (char *)"TimeSpan_IsNull", (PyCFunction
) _wrap_TimeSpan_IsNull
, METH_VARARGS
| METH_KEYWORDS
},
28865 { (char *)"TimeSpan_IsPositive", (PyCFunction
) _wrap_TimeSpan_IsPositive
, METH_VARARGS
| METH_KEYWORDS
},
28866 { (char *)"TimeSpan_IsNegative", (PyCFunction
) _wrap_TimeSpan_IsNegative
, METH_VARARGS
| METH_KEYWORDS
},
28867 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
28868 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
},
28869 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
},
28870 { (char *)"TimeSpan_GetWeeks", (PyCFunction
) _wrap_TimeSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
28871 { (char *)"TimeSpan_GetDays", (PyCFunction
) _wrap_TimeSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
28872 { (char *)"TimeSpan_GetHours", (PyCFunction
) _wrap_TimeSpan_GetHours
, METH_VARARGS
| METH_KEYWORDS
},
28873 { (char *)"TimeSpan_GetMinutes", (PyCFunction
) _wrap_TimeSpan_GetMinutes
, METH_VARARGS
| METH_KEYWORDS
},
28874 { (char *)"TimeSpan_GetSeconds", (PyCFunction
) _wrap_TimeSpan_GetSeconds
, METH_VARARGS
| METH_KEYWORDS
},
28875 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
) _wrap_TimeSpan_GetMilliseconds
, METH_VARARGS
| METH_KEYWORDS
},
28876 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
},
28877 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
},
28878 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
},
28879 { (char *)"delete_DateSpan", (PyCFunction
) _wrap_delete_DateSpan
, METH_VARARGS
| METH_KEYWORDS
},
28880 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
28881 { (char *)"DateSpan_Day", (PyCFunction
) _wrap_DateSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
28882 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
28883 { (char *)"DateSpan_Week", (PyCFunction
) _wrap_DateSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
28884 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
},
28885 { (char *)"DateSpan_Month", (PyCFunction
) _wrap_DateSpan_Month
, METH_VARARGS
| METH_KEYWORDS
},
28886 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
},
28887 { (char *)"DateSpan_Year", (PyCFunction
) _wrap_DateSpan_Year
, METH_VARARGS
| METH_KEYWORDS
},
28888 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
},
28889 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
},
28890 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
28891 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
},
28892 { (char *)"DateSpan_GetYears", (PyCFunction
) _wrap_DateSpan_GetYears
, METH_VARARGS
| METH_KEYWORDS
},
28893 { (char *)"DateSpan_GetMonths", (PyCFunction
) _wrap_DateSpan_GetMonths
, METH_VARARGS
| METH_KEYWORDS
},
28894 { (char *)"DateSpan_GetWeeks", (PyCFunction
) _wrap_DateSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
28895 { (char *)"DateSpan_GetDays", (PyCFunction
) _wrap_DateSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
28896 { (char *)"DateSpan_GetTotalDays", (PyCFunction
) _wrap_DateSpan_GetTotalDays
, METH_VARARGS
| METH_KEYWORDS
},
28897 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
28898 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
28899 { (char *)"DateSpan_Neg", (PyCFunction
) _wrap_DateSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
28900 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
28901 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
28902 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
},
28903 { (char *)"DateSpan___neg__", (PyCFunction
) _wrap_DateSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
28904 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
},
28905 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
28906 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
28907 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
28908 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
28909 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
28910 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
28911 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
},
28912 { (char *)"GetLocalTime", (PyCFunction
) _wrap_GetLocalTime
, METH_VARARGS
| METH_KEYWORDS
},
28913 { (char *)"GetUTCTime", (PyCFunction
) _wrap_GetUTCTime
, METH_VARARGS
| METH_KEYWORDS
},
28914 { (char *)"GetCurrentTime", (PyCFunction
) _wrap_GetCurrentTime
, METH_VARARGS
| METH_KEYWORDS
},
28915 { (char *)"GetLocalTimeMillis", (PyCFunction
) _wrap_GetLocalTimeMillis
, METH_VARARGS
| METH_KEYWORDS
},
28916 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
},
28917 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
},
28918 { (char *)"delete_DataFormat", (PyCFunction
) _wrap_delete_DataFormat
, METH_VARARGS
| METH_KEYWORDS
},
28919 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
},
28920 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
},
28921 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
},
28922 { (char *)"DataFormat_GetType", (PyCFunction
) _wrap_DataFormat_GetType
, METH_VARARGS
| METH_KEYWORDS
},
28923 { (char *)"DataFormat_GetId", (PyCFunction
) _wrap_DataFormat_GetId
, METH_VARARGS
| METH_KEYWORDS
},
28924 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
},
28925 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
},
28926 { (char *)"delete_DataObject", (PyCFunction
) _wrap_delete_DataObject
, METH_VARARGS
| METH_KEYWORDS
},
28927 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
},
28928 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
},
28929 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
},
28930 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
},
28931 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
},
28932 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
},
28933 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28934 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
},
28935 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
},
28936 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
) _wrap_DataObjectSimple_GetFormat
, METH_VARARGS
| METH_KEYWORDS
},
28937 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
},
28938 { (char *)"DataObjectSimple_GetDataSize", (PyCFunction
) _wrap_DataObjectSimple_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
},
28939 { (char *)"DataObjectSimple_GetDataHere", (PyCFunction
) _wrap_DataObjectSimple_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
},
28940 { (char *)"DataObjectSimple_SetData", (PyCFunction
) _wrap_DataObjectSimple_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28941 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
},
28942 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
},
28943 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28944 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
},
28945 { (char *)"new_DataObjectComposite", (PyCFunction
) _wrap_new_DataObjectComposite
, METH_VARARGS
| METH_KEYWORDS
},
28946 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
},
28947 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
},
28948 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28949 { (char *)"TextDataObject_GetTextLength", (PyCFunction
) _wrap_TextDataObject_GetTextLength
, METH_VARARGS
| METH_KEYWORDS
},
28950 { (char *)"TextDataObject_GetText", (PyCFunction
) _wrap_TextDataObject_GetText
, METH_VARARGS
| METH_KEYWORDS
},
28951 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
},
28952 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
},
28953 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28954 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28955 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
},
28956 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28957 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
) _wrap_BitmapDataObject_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
28958 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
28959 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
},
28960 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28961 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28962 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
},
28963 { (char *)"new_FileDataObject", (PyCFunction
) _wrap_new_FileDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28964 { (char *)"FileDataObject_GetFilenames", (PyCFunction
) _wrap_FileDataObject_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
},
28965 { (char *)"FileDataObject_AddFile", (PyCFunction
) _wrap_FileDataObject_AddFile
, METH_VARARGS
| METH_KEYWORDS
},
28966 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
},
28967 { (char *)"new_CustomDataObject", (PyCFunction
) _wrap_new_CustomDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28968 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28969 { (char *)"CustomDataObject_GetSize", (PyCFunction
) _wrap_CustomDataObject_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
28970 { (char *)"CustomDataObject_GetData", (PyCFunction
) _wrap_CustomDataObject_GetData
, METH_VARARGS
| METH_KEYWORDS
},
28971 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
},
28972 { (char *)"new_URLDataObject", (PyCFunction
) _wrap_new_URLDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28973 { (char *)"URLDataObject_GetURL", (PyCFunction
) _wrap_URLDataObject_GetURL
, METH_VARARGS
| METH_KEYWORDS
},
28974 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
},
28975 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
},
28976 { (char *)"new_MetafileDataObject", (PyCFunction
) _wrap_new_MetafileDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28977 { (char *)"MetafileDataObject_SetMetafile", (PyCFunction
) _wrap_MetafileDataObject_SetMetafile
, METH_VARARGS
| METH_KEYWORDS
},
28978 { (char *)"MetafileDataObject_GetMetafile", (PyCFunction
) _wrap_MetafileDataObject_GetMetafile
, METH_VARARGS
| METH_KEYWORDS
},
28979 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
},
28980 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
},
28981 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
},
28982 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28983 { (char *)"delete_DropSource", (PyCFunction
) _wrap_delete_DropSource
, METH_VARARGS
| METH_KEYWORDS
},
28984 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28985 { (char *)"DropSource_GetDataObject", (PyCFunction
) _wrap_DropSource_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28986 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
28987 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
},
28988 { (char *)"DropSource_base_GiveFeedback", (PyCFunction
) _wrap_DropSource_base_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
},
28989 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
},
28990 { (char *)"new_DropTarget", (PyCFunction
) _wrap_new_DropTarget
, METH_VARARGS
| METH_KEYWORDS
},
28991 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28992 { (char *)"delete_DropTarget", (PyCFunction
) _wrap_delete_DropTarget
, METH_VARARGS
| METH_KEYWORDS
},
28993 { (char *)"DropTarget_GetDataObject", (PyCFunction
) _wrap_DropTarget_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28994 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28995 { (char *)"DropTarget_base_OnEnter", (PyCFunction
) _wrap_DropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
28996 { (char *)"DropTarget_base_OnDragOver", (PyCFunction
) _wrap_DropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
28997 { (char *)"DropTarget_base_OnLeave", (PyCFunction
) _wrap_DropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
28998 { (char *)"DropTarget_base_OnDrop", (PyCFunction
) _wrap_DropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
28999 { (char *)"DropTarget_GetData", (PyCFunction
) _wrap_DropTarget_GetData
, METH_VARARGS
| METH_KEYWORDS
},
29000 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
},
29001 { (char *)"new_TextDropTarget", (PyCFunction
) _wrap_new_TextDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
29002 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
29003 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction
) _wrap_TextDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
29004 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
29005 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction
) _wrap_TextDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
29006 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction
) _wrap_TextDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
29007 { (char *)"TextDropTarget_base_OnData", (PyCFunction
) _wrap_TextDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
},
29008 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
},
29009 { (char *)"new_FileDropTarget", (PyCFunction
) _wrap_new_FileDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
29010 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
29011 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction
) _wrap_FileDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
29012 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
29013 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction
) _wrap_FileDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
29014 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction
) _wrap_FileDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
29015 { (char *)"FileDropTarget_base_OnData", (PyCFunction
) _wrap_FileDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
},
29016 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
},
29017 { (char *)"new_Clipboard", (PyCFunction
) _wrap_new_Clipboard
, METH_VARARGS
| METH_KEYWORDS
},
29018 { (char *)"delete_Clipboard", (PyCFunction
) _wrap_delete_Clipboard
, METH_VARARGS
| METH_KEYWORDS
},
29019 { (char *)"Clipboard_Open", (PyCFunction
) _wrap_Clipboard_Open
, METH_VARARGS
| METH_KEYWORDS
},
29020 { (char *)"Clipboard_Close", (PyCFunction
) _wrap_Clipboard_Close
, METH_VARARGS
| METH_KEYWORDS
},
29021 { (char *)"Clipboard_IsOpened", (PyCFunction
) _wrap_Clipboard_IsOpened
, METH_VARARGS
| METH_KEYWORDS
},
29022 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
},
29023 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
},
29024 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
},
29025 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
},
29026 { (char *)"Clipboard_Clear", (PyCFunction
) _wrap_Clipboard_Clear
, METH_VARARGS
| METH_KEYWORDS
},
29027 { (char *)"Clipboard_Flush", (PyCFunction
) _wrap_Clipboard_Flush
, METH_VARARGS
| METH_KEYWORDS
},
29028 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
},
29029 { (char *)"Clipboard_Get", (PyCFunction
) _wrap_Clipboard_Get
, METH_VARARGS
| METH_KEYWORDS
},
29030 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
},
29031 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
},
29032 { (char *)"delete_ClipboardLocker", (PyCFunction
) _wrap_delete_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
},
29033 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
) _wrap_ClipboardLocker___nonzero__
, METH_VARARGS
| METH_KEYWORDS
},
29034 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
},
29035 { (char *)"new_VideoMode", (PyCFunction
) _wrap_new_VideoMode
, METH_VARARGS
| METH_KEYWORDS
},
29036 { (char *)"delete_VideoMode", (PyCFunction
) _wrap_delete_VideoMode
, METH_VARARGS
| METH_KEYWORDS
},
29037 { (char *)"VideoMode_Matches", (PyCFunction
) _wrap_VideoMode_Matches
, METH_VARARGS
| METH_KEYWORDS
},
29038 { (char *)"VideoMode_GetWidth", (PyCFunction
) _wrap_VideoMode_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
29039 { (char *)"VideoMode_GetHeight", (PyCFunction
) _wrap_VideoMode_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
29040 { (char *)"VideoMode_GetDepth", (PyCFunction
) _wrap_VideoMode_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
29041 { (char *)"VideoMode_IsOk", (PyCFunction
) _wrap_VideoMode_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
29042 { (char *)"VideoMode___eq__", (PyCFunction
) _wrap_VideoMode___eq__
, METH_VARARGS
| METH_KEYWORDS
},
29043 { (char *)"VideoMode___ne__", (PyCFunction
) _wrap_VideoMode___ne__
, METH_VARARGS
| METH_KEYWORDS
},
29044 { (char *)"VideoMode_w_set", (PyCFunction
) _wrap_VideoMode_w_set
, METH_VARARGS
| METH_KEYWORDS
},
29045 { (char *)"VideoMode_w_get", (PyCFunction
) _wrap_VideoMode_w_get
, METH_VARARGS
| METH_KEYWORDS
},
29046 { (char *)"VideoMode_h_set", (PyCFunction
) _wrap_VideoMode_h_set
, METH_VARARGS
| METH_KEYWORDS
},
29047 { (char *)"VideoMode_h_get", (PyCFunction
) _wrap_VideoMode_h_get
, METH_VARARGS
| METH_KEYWORDS
},
29048 { (char *)"VideoMode_bpp_set", (PyCFunction
) _wrap_VideoMode_bpp_set
, METH_VARARGS
| METH_KEYWORDS
},
29049 { (char *)"VideoMode_bpp_get", (PyCFunction
) _wrap_VideoMode_bpp_get
, METH_VARARGS
| METH_KEYWORDS
},
29050 { (char *)"VideoMode_refresh_set", (PyCFunction
) _wrap_VideoMode_refresh_set
, METH_VARARGS
| METH_KEYWORDS
},
29051 { (char *)"VideoMode_refresh_get", (PyCFunction
) _wrap_VideoMode_refresh_get
, METH_VARARGS
| METH_KEYWORDS
},
29052 { (char *)"VideoMode_swigregister", VideoMode_swigregister
, METH_VARARGS
},
29053 { (char *)"new_Display", (PyCFunction
) _wrap_new_Display
, METH_VARARGS
| METH_KEYWORDS
},
29054 { (char *)"delete_Display", (PyCFunction
) _wrap_delete_Display
, METH_VARARGS
| METH_KEYWORDS
},
29055 { (char *)"Display_GetCount", (PyCFunction
) _wrap_Display_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
29056 { (char *)"Display_GetFromPoint", (PyCFunction
) _wrap_Display_GetFromPoint
, METH_VARARGS
| METH_KEYWORDS
},
29057 { (char *)"Display_GetFromWindow", (PyCFunction
) _wrap_Display_GetFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
29058 { (char *)"Display_IsOk", (PyCFunction
) _wrap_Display_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
29059 { (char *)"Display_GetGeometry", (PyCFunction
) _wrap_Display_GetGeometry
, METH_VARARGS
| METH_KEYWORDS
},
29060 { (char *)"Display_GetName", (PyCFunction
) _wrap_Display_GetName
, METH_VARARGS
| METH_KEYWORDS
},
29061 { (char *)"Display_IsPrimary", (PyCFunction
) _wrap_Display_IsPrimary
, METH_VARARGS
| METH_KEYWORDS
},
29062 { (char *)"Display_GetModes", (PyCFunction
) _wrap_Display_GetModes
, METH_VARARGS
| METH_KEYWORDS
},
29063 { (char *)"Display_GetCurrentMode", (PyCFunction
) _wrap_Display_GetCurrentMode
, METH_VARARGS
| METH_KEYWORDS
},
29064 { (char *)"Display_ChangeMode", (PyCFunction
) _wrap_Display_ChangeMode
, METH_VARARGS
| METH_KEYWORDS
},
29065 { (char *)"Display_ResetMode", (PyCFunction
) _wrap_Display_ResetMode
, METH_VARARGS
| METH_KEYWORDS
},
29066 { (char *)"Display_swigregister", Display_swigregister
, METH_VARARGS
},
29071 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
29073 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
29074 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
29076 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
29077 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
29079 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
29080 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
29082 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
29083 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
29085 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
29086 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
29088 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
29089 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
29091 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
29092 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
29094 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
29095 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
29097 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
29098 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
29100 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
29101 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
29103 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
29104 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
29106 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
29107 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
29109 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
29110 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
29112 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
29113 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
29115 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
29116 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
29118 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
29119 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
29121 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
29122 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
29124 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
29125 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
29127 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
29128 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
29130 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
29131 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
29133 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
29134 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
29136 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
29137 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
29139 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
29140 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
29142 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
29143 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
29145 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
29146 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
29148 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
29149 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
29151 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
29152 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
29154 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
29155 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
29157 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
29158 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
29160 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
29161 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
29163 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
29164 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
29166 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
29167 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
29169 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
29170 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
29172 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
29173 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
29175 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
29176 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
29178 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
29179 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
29181 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
29182 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
29184 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
29185 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
29187 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
29188 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
29190 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
29191 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
29193 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
29194 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
29196 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
29197 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
29199 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
29200 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
29202 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
29203 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
29205 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
29206 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
29208 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
29209 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
29211 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
29212 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
29214 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
29215 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
29217 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
29218 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
29220 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
29221 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
29223 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
29224 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
29226 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
29227 return (void *)((wxDataObject
*) (wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
29229 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
29230 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
29232 static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x
) {
29233 return (void *)((wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
29235 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
29236 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
29238 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
29239 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
29241 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
29242 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
29244 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
29245 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
29247 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
29248 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
29250 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
29251 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
29253 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
29254 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
29256 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
29257 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
29259 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
29260 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
29262 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
29263 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
29265 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
29266 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
29268 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
29269 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
29271 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
29272 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
29274 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
29275 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
29277 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
29278 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
29280 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
29281 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
29283 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
29284 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
29286 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
29287 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
29289 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
29290 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
29292 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
29293 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
29295 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
29296 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
29298 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
29299 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
29301 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
29302 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
29304 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
29305 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
29307 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
29308 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
29310 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
29311 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
29313 static void *_p_wxSizerTo_p_wxObject(void *x
) {
29314 return (void *)((wxObject
*) ((wxSizer
*) x
));
29316 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
29317 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
29319 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
29320 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
29322 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
29323 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
29325 static void *_p_wxEventTo_p_wxObject(void *x
) {
29326 return (void *)((wxObject
*) ((wxEvent
*) x
));
29328 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
29329 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
29331 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
29332 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
29334 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
29335 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
29337 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
29338 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
29340 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
29341 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
29343 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
29344 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
29346 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
29347 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
29349 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
29350 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
29352 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
29353 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
29355 static void *_p_wxControlTo_p_wxObject(void *x
) {
29356 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
29358 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
29359 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
29361 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
29362 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
29364 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
29365 return (void *)((wxObject
*) ((wxFSFile
*) x
));
29367 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
29368 return (void *)((wxObject
*) ((wxClipboard
*) x
));
29370 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
29371 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
29373 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
29374 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
29376 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
29377 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
29379 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
29380 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
29382 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
29383 return (void *)((wxObject
*) ((wxToolTip
*) x
));
29385 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
29386 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
29388 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
29389 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
29391 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
29392 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
29394 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
29395 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
29397 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
29398 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
29400 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
29401 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
29403 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
29404 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
29406 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
29407 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
29409 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
29410 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
29412 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
29413 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
29415 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
29416 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
29418 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
29419 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
29421 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
29422 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
29424 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
29425 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
29427 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
29428 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
29430 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
29431 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
29433 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
29434 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
29436 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
29437 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
29439 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
29440 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
29442 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
29443 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
29445 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
29446 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
29448 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
29449 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
29451 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
29452 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
29454 static void *_p_wxImageTo_p_wxObject(void *x
) {
29455 return (void *)((wxObject
*) ((wxImage
*) x
));
29457 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
29458 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
29460 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
29461 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
29463 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
29464 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
29466 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
29467 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
29469 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
29470 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
29472 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
29473 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
29475 static void *_p_wxWindowTo_p_wxObject(void *x
) {
29476 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
29478 static void *_p_wxMenuTo_p_wxObject(void *x
) {
29479 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
29481 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
29482 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
29484 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
29485 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
29487 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
29488 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
29490 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
29491 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
29493 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
29494 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
29496 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
29497 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
29499 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
29500 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
29502 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
29503 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
29505 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
29506 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
29508 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
29509 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
29511 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
29512 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
29514 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
29515 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
29517 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
29518 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
29520 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
29521 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
29523 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
29524 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
29526 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
29527 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
29529 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
29530 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
29532 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
29533 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
29535 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
29536 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
29538 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
29539 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
29541 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
29542 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
29544 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
29545 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
29547 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
29548 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
29550 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
29551 return (void *)((wxLog
*) ((wxLogChain
*) x
));
29553 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
29554 return (void *)((wxLog
*) ((wxLogGui
*) x
));
29556 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
29557 return (void *)((wxLog
*) ((wxPyLog
*) x
));
29559 static void *_p_wxControlTo_p_wxWindow(void *x
) {
29560 return (void *)((wxWindow
*) ((wxControl
*) x
));
29562 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
29563 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
29565 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
29566 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
29568 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
29569 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
29571 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
29572 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
29574 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}};
29575 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}};
29576 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}};
29577 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}};
29578 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}};
29579 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}};
29580 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}};
29581 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}};
29582 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}};
29583 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}};
29584 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}};
29585 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}};
29586 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}};
29587 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}};
29588 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}};
29589 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}};
29590 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}};
29591 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}};
29592 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}};
29593 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}};
29594 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}};
29595 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}};
29596 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}};
29597 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}};
29598 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}};
29599 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}};
29600 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}};
29601 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}};
29602 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}};
29603 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}};
29604 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}};
29605 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}};
29606 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}};
29607 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}};
29608 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}};
29609 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}};
29610 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}};
29611 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}};
29612 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}};
29613 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}};
29614 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}};
29615 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}};
29616 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}};
29617 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}};
29618 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}};
29619 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}};
29620 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}};
29621 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}};
29622 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}};
29623 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}};
29624 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}};
29625 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}};
29626 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}};
29627 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}};
29628 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}};
29629 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}};
29630 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}};
29631 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}};
29632 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}};
29633 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}};
29634 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}};
29635 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}};
29636 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}};
29637 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}};
29638 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}};
29639 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}};
29640 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}};
29641 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}};
29642 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}};
29643 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}};
29644 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}};
29645 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}};
29646 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}};
29647 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}};
29648 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}};
29649 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}};
29650 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}};
29651 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}};
29652 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}};
29653 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}};
29654 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}};
29655 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}};
29656 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}};
29657 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}};
29658 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}};
29659 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}};
29661 static swig_type_info
*swig_types_initial
[] = {
29662 _swigt__p_wxLogChain
,
29663 _swigt__p_wxMutexGuiLocker
,
29664 _swigt__p_wxMetafile
,
29665 _swigt__p_wxFileHistory
,
29667 _swigt__p_wxDateTime__TimeZone
,
29670 _swigt__p_wxConfigBase
,
29671 _swigt__p_wxDisplay
,
29672 _swigt__p_wxFileType
,
29673 _swigt__p_wxLogGui
,
29675 _swigt__p_wxDataFormat
,
29676 _swigt__p_wxTimerEvent
,
29680 _swigt__p_wxClipboard
,
29681 _swigt__p_wxStopWatch
,
29683 _swigt__p_wxClipboardLocker
,
29685 _swigt__p_wxLogStderr
,
29686 _swigt__p_wxLogTextCtrl
,
29687 _swigt__p_wxTextCtrl
,
29688 _swigt__p_wxBusyCursor
,
29689 _swigt__p_wxPyBitmapDataObject
,
29690 _swigt__p_wxPyTextDataObject
,
29691 _swigt__p_wxBitmapDataObject
,
29692 _swigt__p_wxTextDataObject
,
29693 _swigt__p_wxDataObject
,
29694 _swigt__p_wxFileDataObject
,
29695 _swigt__p_wxCustomDataObject
,
29696 _swigt__p_wxURLDataObject
,
29697 _swigt__p_wxMetafileDataObject
,
29699 _swigt__p_wxTimerRunner
,
29700 _swigt__p_wxLogWindow
,
29701 _swigt__p_wxTimeSpan
,
29702 _swigt__p_wxArrayString
,
29703 _swigt__p_wxWindowDisabler
,
29704 _swigt__p_wxToolTip
,
29705 _swigt__p_wxDataObjectComposite
,
29706 _swigt__p_wxFileConfig
,
29707 _swigt__p_wxSystemSettings
,
29708 _swigt__p_wxVideoMode
,
29709 _swigt__p_wxPyDataObjectSimple
,
29710 _swigt__p_wxDataObjectSimple
,
29711 _swigt__p_wxEvtHandler
,
29714 _swigt__p_wxSingleInstanceChecker
,
29715 _swigt__p_wxFileTypeInfo
,
29718 _swigt__p_wxMimeTypesManager
,
29719 _swigt__p_wxPyArtProvider
,
29720 _swigt__p_wxPyTipProvider
,
29721 _swigt__p_wxTipProvider
,
29722 _swigt__p_wxJoystick
,
29723 _swigt__p_wxSystemOptions
,
29725 _swigt__p_wxJoystickEvent
,
29726 _swigt__p_wxCursor
,
29727 _swigt__p_wxObject
,
29728 _swigt__p_wxOutputStream
,
29729 _swigt__p_wxDateTime
,
29730 _swigt__p_wxPyDropSource
,
29731 _swigt__p_wxWindow
,
29732 _swigt__p_wxString
,
29733 _swigt__p_wxPyProcess
,
29734 _swigt__p_wxBitmap
,
29735 _swigt__p_wxConfig
,
29737 _swigt__p_wxBusyInfo
,
29738 _swigt__p_wxPyDropTarget
,
29739 _swigt__p_wxPyTextDropTarget
,
29740 _swigt__p_wxPyFileDropTarget
,
29741 _swigt__p_wxProcessEvent
,
29743 _swigt__p_wxLogNull
,
29744 _swigt__p_wxColour
,
29745 _swigt__p_wxConfigPathChanger
,
29746 _swigt__p_wxPyTimer
,
29747 _swigt__p_wxDateSpan
,
29752 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
29754 static swig_const_info swig_const_table
[] = {
29755 { SWIG_PY_POINTER
, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", &SWIGTYPE_p_char
},
29756 { SWIG_PY_POINTER
, (char*)"TRACE_Messages", 0, 0, (void *)"messages", &SWIGTYPE_p_char
},
29757 { SWIG_PY_POINTER
, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", &SWIGTYPE_p_char
},
29758 { SWIG_PY_POINTER
, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", &SWIGTYPE_p_char
},
29759 { SWIG_PY_POINTER
, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", &SWIGTYPE_p_char
},
29769 SWIGEXPORT(void) SWIG_init(void) {
29770 static PyObject
*SWIG_globals
= 0;
29771 static int typeinit
= 0;
29774 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
29775 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
29776 d
= PyModule_GetDict(m
);
29779 for (i
= 0; swig_types_initial
[i
]; i
++) {
29780 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
29784 SWIG_InstallConstants(d
,swig_const_table
);
29786 PyDict_SetItemString(d
,"SYS_OEM_FIXED_FONT", SWIG_FromInt((int)wxSYS_OEM_FIXED_FONT
));
29787 PyDict_SetItemString(d
,"SYS_ANSI_FIXED_FONT", SWIG_FromInt((int)wxSYS_ANSI_FIXED_FONT
));
29788 PyDict_SetItemString(d
,"SYS_ANSI_VAR_FONT", SWIG_FromInt((int)wxSYS_ANSI_VAR_FONT
));
29789 PyDict_SetItemString(d
,"SYS_SYSTEM_FONT", SWIG_FromInt((int)wxSYS_SYSTEM_FONT
));
29790 PyDict_SetItemString(d
,"SYS_DEVICE_DEFAULT_FONT", SWIG_FromInt((int)wxSYS_DEVICE_DEFAULT_FONT
));
29791 PyDict_SetItemString(d
,"SYS_DEFAULT_PALETTE", SWIG_FromInt((int)wxSYS_DEFAULT_PALETTE
));
29792 PyDict_SetItemString(d
,"SYS_SYSTEM_FIXED_FONT", SWIG_FromInt((int)wxSYS_SYSTEM_FIXED_FONT
));
29793 PyDict_SetItemString(d
,"SYS_DEFAULT_GUI_FONT", SWIG_FromInt((int)wxSYS_DEFAULT_GUI_FONT
));
29794 PyDict_SetItemString(d
,"SYS_ICONTITLE_FONT", SWIG_FromInt((int)wxSYS_ICONTITLE_FONT
));
29795 PyDict_SetItemString(d
,"SYS_COLOUR_SCROLLBAR", SWIG_FromInt((int)wxSYS_COLOUR_SCROLLBAR
));
29796 PyDict_SetItemString(d
,"SYS_COLOUR_BACKGROUND", SWIG_FromInt((int)wxSYS_COLOUR_BACKGROUND
));
29797 PyDict_SetItemString(d
,"SYS_COLOUR_DESKTOP", SWIG_FromInt((int)wxSYS_COLOUR_DESKTOP
));
29798 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_ACTIVECAPTION
));
29799 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVECAPTION
));
29800 PyDict_SetItemString(d
,"SYS_COLOUR_MENU", SWIG_FromInt((int)wxSYS_COLOUR_MENU
));
29801 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOW", SWIG_FromInt((int)wxSYS_COLOUR_WINDOW
));
29802 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWFRAME", SWIG_FromInt((int)wxSYS_COLOUR_WINDOWFRAME
));
29803 PyDict_SetItemString(d
,"SYS_COLOUR_MENUTEXT", SWIG_FromInt((int)wxSYS_COLOUR_MENUTEXT
));
29804 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWTEXT", SWIG_FromInt((int)wxSYS_COLOUR_WINDOWTEXT
));
29805 PyDict_SetItemString(d
,"SYS_COLOUR_CAPTIONTEXT", SWIG_FromInt((int)wxSYS_COLOUR_CAPTIONTEXT
));
29806 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVEBORDER", SWIG_FromInt((int)wxSYS_COLOUR_ACTIVEBORDER
));
29807 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVEBORDER", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVEBORDER
));
29808 PyDict_SetItemString(d
,"SYS_COLOUR_APPWORKSPACE", SWIG_FromInt((int)wxSYS_COLOUR_APPWORKSPACE
));
29809 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_HIGHLIGHT
));
29810 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_FromInt((int)wxSYS_COLOUR_HIGHLIGHTTEXT
));
29811 PyDict_SetItemString(d
,"SYS_COLOUR_BTNFACE", SWIG_FromInt((int)wxSYS_COLOUR_BTNFACE
));
29812 PyDict_SetItemString(d
,"SYS_COLOUR_3DFACE", SWIG_FromInt((int)wxSYS_COLOUR_3DFACE
));
29813 PyDict_SetItemString(d
,"SYS_COLOUR_BTNSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_BTNSHADOW
));
29814 PyDict_SetItemString(d
,"SYS_COLOUR_3DSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_3DSHADOW
));
29815 PyDict_SetItemString(d
,"SYS_COLOUR_GRAYTEXT", SWIG_FromInt((int)wxSYS_COLOUR_GRAYTEXT
));
29816 PyDict_SetItemString(d
,"SYS_COLOUR_BTNTEXT", SWIG_FromInt((int)wxSYS_COLOUR_BTNTEXT
));
29817 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVECAPTIONTEXT
));
29818 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_BTNHIGHLIGHT
));
29819 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_BTNHILIGHT
));
29820 PyDict_SetItemString(d
,"SYS_COLOUR_3DHIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DHIGHLIGHT
));
29821 PyDict_SetItemString(d
,"SYS_COLOUR_3DHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DHILIGHT
));
29822 PyDict_SetItemString(d
,"SYS_COLOUR_3DDKSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_3DDKSHADOW
));
29823 PyDict_SetItemString(d
,"SYS_COLOUR_3DLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DLIGHT
));
29824 PyDict_SetItemString(d
,"SYS_COLOUR_INFOTEXT", SWIG_FromInt((int)wxSYS_COLOUR_INFOTEXT
));
29825 PyDict_SetItemString(d
,"SYS_COLOUR_INFOBK", SWIG_FromInt((int)wxSYS_COLOUR_INFOBK
));
29826 PyDict_SetItemString(d
,"SYS_COLOUR_LISTBOX", SWIG_FromInt((int)wxSYS_COLOUR_LISTBOX
));
29827 PyDict_SetItemString(d
,"SYS_COLOUR_HOTLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_HOTLIGHT
));
29828 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_GRADIENTACTIVECAPTION
));
29829 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_GRADIENTINACTIVECAPTION
));
29830 PyDict_SetItemString(d
,"SYS_COLOUR_MENUHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_MENUHILIGHT
));
29831 PyDict_SetItemString(d
,"SYS_COLOUR_MENUBAR", SWIG_FromInt((int)wxSYS_COLOUR_MENUBAR
));
29832 PyDict_SetItemString(d
,"SYS_COLOUR_MAX", SWIG_FromInt((int)wxSYS_COLOUR_MAX
));
29833 PyDict_SetItemString(d
,"SYS_MOUSE_BUTTONS", SWIG_FromInt((int)wxSYS_MOUSE_BUTTONS
));
29834 PyDict_SetItemString(d
,"SYS_BORDER_X", SWIG_FromInt((int)wxSYS_BORDER_X
));
29835 PyDict_SetItemString(d
,"SYS_BORDER_Y", SWIG_FromInt((int)wxSYS_BORDER_Y
));
29836 PyDict_SetItemString(d
,"SYS_CURSOR_X", SWIG_FromInt((int)wxSYS_CURSOR_X
));
29837 PyDict_SetItemString(d
,"SYS_CURSOR_Y", SWIG_FromInt((int)wxSYS_CURSOR_Y
));
29838 PyDict_SetItemString(d
,"SYS_DCLICK_X", SWIG_FromInt((int)wxSYS_DCLICK_X
));
29839 PyDict_SetItemString(d
,"SYS_DCLICK_Y", SWIG_FromInt((int)wxSYS_DCLICK_Y
));
29840 PyDict_SetItemString(d
,"SYS_DRAG_X", SWIG_FromInt((int)wxSYS_DRAG_X
));
29841 PyDict_SetItemString(d
,"SYS_DRAG_Y", SWIG_FromInt((int)wxSYS_DRAG_Y
));
29842 PyDict_SetItemString(d
,"SYS_EDGE_X", SWIG_FromInt((int)wxSYS_EDGE_X
));
29843 PyDict_SetItemString(d
,"SYS_EDGE_Y", SWIG_FromInt((int)wxSYS_EDGE_Y
));
29844 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_X", SWIG_FromInt((int)wxSYS_HSCROLL_ARROW_X
));
29845 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_Y", SWIG_FromInt((int)wxSYS_HSCROLL_ARROW_Y
));
29846 PyDict_SetItemString(d
,"SYS_HTHUMB_X", SWIG_FromInt((int)wxSYS_HTHUMB_X
));
29847 PyDict_SetItemString(d
,"SYS_ICON_X", SWIG_FromInt((int)wxSYS_ICON_X
));
29848 PyDict_SetItemString(d
,"SYS_ICON_Y", SWIG_FromInt((int)wxSYS_ICON_Y
));
29849 PyDict_SetItemString(d
,"SYS_ICONSPACING_X", SWIG_FromInt((int)wxSYS_ICONSPACING_X
));
29850 PyDict_SetItemString(d
,"SYS_ICONSPACING_Y", SWIG_FromInt((int)wxSYS_ICONSPACING_Y
));
29851 PyDict_SetItemString(d
,"SYS_WINDOWMIN_X", SWIG_FromInt((int)wxSYS_WINDOWMIN_X
));
29852 PyDict_SetItemString(d
,"SYS_WINDOWMIN_Y", SWIG_FromInt((int)wxSYS_WINDOWMIN_Y
));
29853 PyDict_SetItemString(d
,"SYS_SCREEN_X", SWIG_FromInt((int)wxSYS_SCREEN_X
));
29854 PyDict_SetItemString(d
,"SYS_SCREEN_Y", SWIG_FromInt((int)wxSYS_SCREEN_Y
));
29855 PyDict_SetItemString(d
,"SYS_FRAMESIZE_X", SWIG_FromInt((int)wxSYS_FRAMESIZE_X
));
29856 PyDict_SetItemString(d
,"SYS_FRAMESIZE_Y", SWIG_FromInt((int)wxSYS_FRAMESIZE_Y
));
29857 PyDict_SetItemString(d
,"SYS_SMALLICON_X", SWIG_FromInt((int)wxSYS_SMALLICON_X
));
29858 PyDict_SetItemString(d
,"SYS_SMALLICON_Y", SWIG_FromInt((int)wxSYS_SMALLICON_Y
));
29859 PyDict_SetItemString(d
,"SYS_HSCROLL_Y", SWIG_FromInt((int)wxSYS_HSCROLL_Y
));
29860 PyDict_SetItemString(d
,"SYS_VSCROLL_X", SWIG_FromInt((int)wxSYS_VSCROLL_X
));
29861 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_X", SWIG_FromInt((int)wxSYS_VSCROLL_ARROW_X
));
29862 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_Y", SWIG_FromInt((int)wxSYS_VSCROLL_ARROW_Y
));
29863 PyDict_SetItemString(d
,"SYS_VTHUMB_Y", SWIG_FromInt((int)wxSYS_VTHUMB_Y
));
29864 PyDict_SetItemString(d
,"SYS_CAPTION_Y", SWIG_FromInt((int)wxSYS_CAPTION_Y
));
29865 PyDict_SetItemString(d
,"SYS_MENU_Y", SWIG_FromInt((int)wxSYS_MENU_Y
));
29866 PyDict_SetItemString(d
,"SYS_NETWORK_PRESENT", SWIG_FromInt((int)wxSYS_NETWORK_PRESENT
));
29867 PyDict_SetItemString(d
,"SYS_PENWINDOWS_PRESENT", SWIG_FromInt((int)wxSYS_PENWINDOWS_PRESENT
));
29868 PyDict_SetItemString(d
,"SYS_SHOW_SOUNDS", SWIG_FromInt((int)wxSYS_SHOW_SOUNDS
));
29869 PyDict_SetItemString(d
,"SYS_SWAP_BUTTONS", SWIG_FromInt((int)wxSYS_SWAP_BUTTONS
));
29870 PyDict_SetItemString(d
,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_FromInt((int)wxSYS_CAN_DRAW_FRAME_DECORATIONS
));
29871 PyDict_SetItemString(d
,"SYS_CAN_ICONIZE_FRAME", SWIG_FromInt((int)wxSYS_CAN_ICONIZE_FRAME
));
29872 PyDict_SetItemString(d
,"SYS_SCREEN_NONE", SWIG_FromInt((int)wxSYS_SCREEN_NONE
));
29873 PyDict_SetItemString(d
,"SYS_SCREEN_TINY", SWIG_FromInt((int)wxSYS_SCREEN_TINY
));
29874 PyDict_SetItemString(d
,"SYS_SCREEN_PDA", SWIG_FromInt((int)wxSYS_SCREEN_PDA
));
29875 PyDict_SetItemString(d
,"SYS_SCREEN_SMALL", SWIG_FromInt((int)wxSYS_SCREEN_SMALL
));
29876 PyDict_SetItemString(d
,"SYS_SCREEN_DESKTOP", SWIG_FromInt((int)wxSYS_SCREEN_DESKTOP
));
29877 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
29878 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
29879 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
29880 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
29881 PyDict_SetItemString(d
,"SHUTDOWN_POWEROFF", SWIG_FromInt((int)wxSHUTDOWN_POWEROFF
));
29882 PyDict_SetItemString(d
,"SHUTDOWN_REBOOT", SWIG_FromInt((int)wxSHUTDOWN_REBOOT
));
29883 PyDict_SetItemString(d
,"TIMER_CONTINUOUS", SWIG_FromInt((int)wxTIMER_CONTINUOUS
));
29884 PyDict_SetItemString(d
,"TIMER_ONE_SHOT", SWIG_FromInt((int)wxTIMER_ONE_SHOT
));
29885 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
29887 wxPyPtrTypeMap_Add("wxTimer", "wxPyTimer");
29889 PyDict_SetItemString(d
,"LOG_FatalError", SWIG_FromInt((int)wxLOG_FatalError
));
29890 PyDict_SetItemString(d
,"LOG_Error", SWIG_FromInt((int)wxLOG_Error
));
29891 PyDict_SetItemString(d
,"LOG_Warning", SWIG_FromInt((int)wxLOG_Warning
));
29892 PyDict_SetItemString(d
,"LOG_Message", SWIG_FromInt((int)wxLOG_Message
));
29893 PyDict_SetItemString(d
,"LOG_Status", SWIG_FromInt((int)wxLOG_Status
));
29894 PyDict_SetItemString(d
,"LOG_Info", SWIG_FromInt((int)wxLOG_Info
));
29895 PyDict_SetItemString(d
,"LOG_Debug", SWIG_FromInt((int)wxLOG_Debug
));
29896 PyDict_SetItemString(d
,"LOG_Trace", SWIG_FromInt((int)wxLOG_Trace
));
29897 PyDict_SetItemString(d
,"LOG_Progress", SWIG_FromInt((int)wxLOG_Progress
));
29898 PyDict_SetItemString(d
,"LOG_User", SWIG_FromInt((int)wxLOG_User
));
29899 PyDict_SetItemString(d
,"LOG_Max", SWIG_FromInt((int)wxLOG_Max
));
29900 PyDict_SetItemString(d
,"TRACE_MemAlloc", SWIG_FromCharPtr("memalloc"));
29901 PyDict_SetItemString(d
,"TRACE_Messages", SWIG_FromCharPtr("messages"));
29902 PyDict_SetItemString(d
,"TRACE_ResAlloc", SWIG_FromCharPtr("resalloc"));
29903 PyDict_SetItemString(d
,"TRACE_RefCount", SWIG_FromCharPtr("refcount"));
29904 PyDict_SetItemString(d
,"TRACE_OleCalls", SWIG_FromCharPtr("ole"));
29905 PyDict_SetItemString(d
,"TraceMemAlloc", SWIG_FromInt((int)0x0001));
29906 PyDict_SetItemString(d
,"TraceMessages", SWIG_FromInt((int)0x0002));
29907 PyDict_SetItemString(d
,"TraceResAlloc", SWIG_FromInt((int)0x0004));
29908 PyDict_SetItemString(d
,"TraceRefCount", SWIG_FromInt((int)0x0008));
29909 PyDict_SetItemString(d
,"TraceOleCalls", SWIG_FromInt((int)0x0100));
29910 PyDict_SetItemString(d
,"PROCESS_DEFAULT", SWIG_FromInt((int)wxPROCESS_DEFAULT
));
29911 PyDict_SetItemString(d
,"PROCESS_REDIRECT", SWIG_FromInt((int)wxPROCESS_REDIRECT
));
29912 PyDict_SetItemString(d
,"KILL_OK", SWIG_FromInt((int)wxKILL_OK
));
29913 PyDict_SetItemString(d
,"KILL_BAD_SIGNAL", SWIG_FromInt((int)wxKILL_BAD_SIGNAL
));
29914 PyDict_SetItemString(d
,"KILL_ACCESS_DENIED", SWIG_FromInt((int)wxKILL_ACCESS_DENIED
));
29915 PyDict_SetItemString(d
,"KILL_NO_PROCESS", SWIG_FromInt((int)wxKILL_NO_PROCESS
));
29916 PyDict_SetItemString(d
,"KILL_ERROR", SWIG_FromInt((int)wxKILL_ERROR
));
29917 PyDict_SetItemString(d
,"SIGNONE", SWIG_FromInt((int)wxSIGNONE
));
29918 PyDict_SetItemString(d
,"SIGHUP", SWIG_FromInt((int)wxSIGHUP
));
29919 PyDict_SetItemString(d
,"SIGINT", SWIG_FromInt((int)wxSIGINT
));
29920 PyDict_SetItemString(d
,"SIGQUIT", SWIG_FromInt((int)wxSIGQUIT
));
29921 PyDict_SetItemString(d
,"SIGILL", SWIG_FromInt((int)wxSIGILL
));
29922 PyDict_SetItemString(d
,"SIGTRAP", SWIG_FromInt((int)wxSIGTRAP
));
29923 PyDict_SetItemString(d
,"SIGABRT", SWIG_FromInt((int)wxSIGABRT
));
29924 PyDict_SetItemString(d
,"SIGIOT", SWIG_FromInt((int)wxSIGIOT
));
29925 PyDict_SetItemString(d
,"SIGEMT", SWIG_FromInt((int)wxSIGEMT
));
29926 PyDict_SetItemString(d
,"SIGFPE", SWIG_FromInt((int)wxSIGFPE
));
29927 PyDict_SetItemString(d
,"SIGKILL", SWIG_FromInt((int)wxSIGKILL
));
29928 PyDict_SetItemString(d
,"SIGBUS", SWIG_FromInt((int)wxSIGBUS
));
29929 PyDict_SetItemString(d
,"SIGSEGV", SWIG_FromInt((int)wxSIGSEGV
));
29930 PyDict_SetItemString(d
,"SIGSYS", SWIG_FromInt((int)wxSIGSYS
));
29931 PyDict_SetItemString(d
,"SIGPIPE", SWIG_FromInt((int)wxSIGPIPE
));
29932 PyDict_SetItemString(d
,"SIGALRM", SWIG_FromInt((int)wxSIGALRM
));
29933 PyDict_SetItemString(d
,"SIGTERM", SWIG_FromInt((int)wxSIGTERM
));
29934 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
29935 PyDict_SetItemString(d
,"EXEC_ASYNC", SWIG_FromInt((int)wxEXEC_ASYNC
));
29936 PyDict_SetItemString(d
,"EXEC_SYNC", SWIG_FromInt((int)wxEXEC_SYNC
));
29937 PyDict_SetItemString(d
,"EXEC_NOHIDE", SWIG_FromInt((int)wxEXEC_NOHIDE
));
29938 PyDict_SetItemString(d
,"EXEC_MAKE_GROUP_LEADER", SWIG_FromInt((int)wxEXEC_MAKE_GROUP_LEADER
));
29940 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
29942 PyDict_SetItemString(d
,"JOYSTICK1", SWIG_FromInt((int)wxJOYSTICK1
));
29943 PyDict_SetItemString(d
,"JOYSTICK2", SWIG_FromInt((int)wxJOYSTICK2
));
29944 PyDict_SetItemString(d
,"JOY_BUTTON_ANY", SWIG_FromInt((int)wxJOY_BUTTON_ANY
));
29945 PyDict_SetItemString(d
,"JOY_BUTTON1", SWIG_FromInt((int)wxJOY_BUTTON1
));
29946 PyDict_SetItemString(d
,"JOY_BUTTON2", SWIG_FromInt((int)wxJOY_BUTTON2
));
29947 PyDict_SetItemString(d
,"JOY_BUTTON3", SWIG_FromInt((int)wxJOY_BUTTON3
));
29948 PyDict_SetItemString(d
,"JOY_BUTTON4", SWIG_FromInt((int)wxJOY_BUTTON4
));
29949 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
29950 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
29951 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
29952 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
29953 PyDict_SetItemString(d
,"SOUND_SYNC", SWIG_FromInt((int)wxSOUND_SYNC
));
29954 PyDict_SetItemString(d
,"SOUND_ASYNC", SWIG_FromInt((int)wxSOUND_ASYNC
));
29955 PyDict_SetItemString(d
,"SOUND_LOOP", SWIG_FromInt((int)wxSOUND_LOOP
));
29956 PyDict_SetItemString(d
,"MAILCAP_STANDARD", SWIG_FromInt((int)wxMAILCAP_STANDARD
));
29957 PyDict_SetItemString(d
,"MAILCAP_NETSCAPE", SWIG_FromInt((int)wxMAILCAP_NETSCAPE
));
29958 PyDict_SetItemString(d
,"MAILCAP_KDE", SWIG_FromInt((int)wxMAILCAP_KDE
));
29959 PyDict_SetItemString(d
,"MAILCAP_GNOME", SWIG_FromInt((int)wxMAILCAP_GNOME
));
29960 PyDict_SetItemString(d
,"MAILCAP_ALL", SWIG_FromInt((int)wxMAILCAP_ALL
));
29961 SWIG_addvarlink(SWIG_globals
,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get
, _wrap_TheMimeTypesManager_set
);
29962 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get
, _wrap_ART_TOOLBAR_set
);
29963 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MENU",_wrap_ART_MENU_get
, _wrap_ART_MENU_set
);
29964 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get
, _wrap_ART_FRAME_ICON_set
);
29965 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get
, _wrap_ART_CMN_DIALOG_set
);
29966 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get
, _wrap_ART_HELP_BROWSER_set
);
29967 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get
, _wrap_ART_MESSAGE_BOX_set
);
29968 SWIG_addvarlink(SWIG_globals
,(char*)"ART_OTHER",_wrap_ART_OTHER_get
, _wrap_ART_OTHER_set
);
29969 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get
, _wrap_ART_ADD_BOOKMARK_set
);
29970 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get
, _wrap_ART_DEL_BOOKMARK_set
);
29971 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get
, _wrap_ART_HELP_SIDE_PANEL_set
);
29972 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get
, _wrap_ART_HELP_SETTINGS_set
);
29973 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get
, _wrap_ART_HELP_BOOK_set
);
29974 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get
, _wrap_ART_HELP_FOLDER_set
);
29975 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get
, _wrap_ART_HELP_PAGE_set
);
29976 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get
, _wrap_ART_GO_BACK_set
);
29977 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get
, _wrap_ART_GO_FORWARD_set
);
29978 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get
, _wrap_ART_GO_UP_set
);
29979 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get
, _wrap_ART_GO_DOWN_set
);
29980 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get
, _wrap_ART_GO_TO_PARENT_set
);
29981 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get
, _wrap_ART_GO_HOME_set
);
29982 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get
, _wrap_ART_FILE_OPEN_set
);
29983 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PRINT",_wrap_ART_PRINT_get
, _wrap_ART_PRINT_set
);
29984 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP",_wrap_ART_HELP_get
, _wrap_ART_HELP_set
);
29985 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TIP",_wrap_ART_TIP_get
, _wrap_ART_TIP_set
);
29986 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get
, _wrap_ART_REPORT_VIEW_set
);
29987 SWIG_addvarlink(SWIG_globals
,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get
, _wrap_ART_LIST_VIEW_set
);
29988 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get
, _wrap_ART_NEW_DIR_set
);
29989 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get
, _wrap_ART_FOLDER_set
);
29990 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get
, _wrap_ART_GO_DIR_UP_set
);
29991 SWIG_addvarlink(SWIG_globals
,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get
, _wrap_ART_EXECUTABLE_FILE_set
);
29992 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get
, _wrap_ART_NORMAL_FILE_set
);
29993 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get
, _wrap_ART_TICK_MARK_set
);
29994 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get
, _wrap_ART_CROSS_MARK_set
);
29995 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ERROR",_wrap_ART_ERROR_get
, _wrap_ART_ERROR_set
);
29996 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get
, _wrap_ART_QUESTION_set
);
29997 SWIG_addvarlink(SWIG_globals
,(char*)"ART_WARNING",_wrap_ART_WARNING_get
, _wrap_ART_WARNING_set
);
29998 SWIG_addvarlink(SWIG_globals
,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get
, _wrap_ART_INFORMATION_set
);
29999 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get
, _wrap_ART_MISSING_IMAGE_set
);
30001 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
30003 PyDict_SetItemString(d
,"CONFIG_USE_LOCAL_FILE", SWIG_FromInt((int)wxCONFIG_USE_LOCAL_FILE
));
30004 PyDict_SetItemString(d
,"CONFIG_USE_GLOBAL_FILE", SWIG_FromInt((int)wxCONFIG_USE_GLOBAL_FILE
));
30005 PyDict_SetItemString(d
,"CONFIG_USE_RELATIVE_PATH", SWIG_FromInt((int)wxCONFIG_USE_RELATIVE_PATH
));
30006 PyDict_SetItemString(d
,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_FromInt((int)wxCONFIG_USE_NO_ESCAPE_CHARACTERS
));
30007 PyDict_SetItemString(d
,"ConfigBase_Type_Unknown", SWIG_FromInt((int)wxConfigBase::Type_Unknown
));
30008 PyDict_SetItemString(d
,"ConfigBase_Type_String", SWIG_FromInt((int)wxConfigBase::Type_String
));
30009 PyDict_SetItemString(d
,"ConfigBase_Type_Boolean", SWIG_FromInt((int)wxConfigBase::Type_Boolean
));
30010 PyDict_SetItemString(d
,"ConfigBase_Type_Integer", SWIG_FromInt((int)wxConfigBase::Type_Integer
));
30011 PyDict_SetItemString(d
,"ConfigBase_Type_Float", SWIG_FromInt((int)wxConfigBase::Type_Float
));
30012 SWIG_addvarlink(SWIG_globals
,(char*)"DateFormatStr",_wrap_DateFormatStr_get
, _wrap_DateFormatStr_set
);
30013 SWIG_addvarlink(SWIG_globals
,(char*)"TimeSpanFormatStr",_wrap_TimeSpanFormatStr_get
, _wrap_TimeSpanFormatStr_set
);
30014 PyDict_SetItemString(d
,"DateTime_Local", SWIG_FromInt((int)wxDateTime::Local
));
30015 PyDict_SetItemString(d
,"DateTime_GMT_12", SWIG_FromInt((int)wxDateTime::GMT_12
));
30016 PyDict_SetItemString(d
,"DateTime_GMT_11", SWIG_FromInt((int)wxDateTime::GMT_11
));
30017 PyDict_SetItemString(d
,"DateTime_GMT_10", SWIG_FromInt((int)wxDateTime::GMT_10
));
30018 PyDict_SetItemString(d
,"DateTime_GMT_9", SWIG_FromInt((int)wxDateTime::GMT_9
));
30019 PyDict_SetItemString(d
,"DateTime_GMT_8", SWIG_FromInt((int)wxDateTime::GMT_8
));
30020 PyDict_SetItemString(d
,"DateTime_GMT_7", SWIG_FromInt((int)wxDateTime::GMT_7
));
30021 PyDict_SetItemString(d
,"DateTime_GMT_6", SWIG_FromInt((int)wxDateTime::GMT_6
));
30022 PyDict_SetItemString(d
,"DateTime_GMT_5", SWIG_FromInt((int)wxDateTime::GMT_5
));
30023 PyDict_SetItemString(d
,"DateTime_GMT_4", SWIG_FromInt((int)wxDateTime::GMT_4
));
30024 PyDict_SetItemString(d
,"DateTime_GMT_3", SWIG_FromInt((int)wxDateTime::GMT_3
));
30025 PyDict_SetItemString(d
,"DateTime_GMT_2", SWIG_FromInt((int)wxDateTime::GMT_2
));
30026 PyDict_SetItemString(d
,"DateTime_GMT_1", SWIG_FromInt((int)wxDateTime::GMT_1
));
30027 PyDict_SetItemString(d
,"DateTime_GMT0", SWIG_FromInt((int)wxDateTime::GMT0
));
30028 PyDict_SetItemString(d
,"DateTime_GMT1", SWIG_FromInt((int)wxDateTime::GMT1
));
30029 PyDict_SetItemString(d
,"DateTime_GMT2", SWIG_FromInt((int)wxDateTime::GMT2
));
30030 PyDict_SetItemString(d
,"DateTime_GMT3", SWIG_FromInt((int)wxDateTime::GMT3
));
30031 PyDict_SetItemString(d
,"DateTime_GMT4", SWIG_FromInt((int)wxDateTime::GMT4
));
30032 PyDict_SetItemString(d
,"DateTime_GMT5", SWIG_FromInt((int)wxDateTime::GMT5
));
30033 PyDict_SetItemString(d
,"DateTime_GMT6", SWIG_FromInt((int)wxDateTime::GMT6
));
30034 PyDict_SetItemString(d
,"DateTime_GMT7", SWIG_FromInt((int)wxDateTime::GMT7
));
30035 PyDict_SetItemString(d
,"DateTime_GMT8", SWIG_FromInt((int)wxDateTime::GMT8
));
30036 PyDict_SetItemString(d
,"DateTime_GMT9", SWIG_FromInt((int)wxDateTime::GMT9
));
30037 PyDict_SetItemString(d
,"DateTime_GMT10", SWIG_FromInt((int)wxDateTime::GMT10
));
30038 PyDict_SetItemString(d
,"DateTime_GMT11", SWIG_FromInt((int)wxDateTime::GMT11
));
30039 PyDict_SetItemString(d
,"DateTime_GMT12", SWIG_FromInt((int)wxDateTime::GMT12
));
30040 PyDict_SetItemString(d
,"DateTime_WET", SWIG_FromInt((int)wxDateTime::WET
));
30041 PyDict_SetItemString(d
,"DateTime_WEST", SWIG_FromInt((int)wxDateTime::WEST
));
30042 PyDict_SetItemString(d
,"DateTime_CET", SWIG_FromInt((int)wxDateTime::CET
));
30043 PyDict_SetItemString(d
,"DateTime_CEST", SWIG_FromInt((int)wxDateTime::CEST
));
30044 PyDict_SetItemString(d
,"DateTime_EET", SWIG_FromInt((int)wxDateTime::EET
));
30045 PyDict_SetItemString(d
,"DateTime_EEST", SWIG_FromInt((int)wxDateTime::EEST
));
30046 PyDict_SetItemString(d
,"DateTime_MSK", SWIG_FromInt((int)wxDateTime::MSK
));
30047 PyDict_SetItemString(d
,"DateTime_MSD", SWIG_FromInt((int)wxDateTime::MSD
));
30048 PyDict_SetItemString(d
,"DateTime_AST", SWIG_FromInt((int)wxDateTime::AST
));
30049 PyDict_SetItemString(d
,"DateTime_ADT", SWIG_FromInt((int)wxDateTime::ADT
));
30050 PyDict_SetItemString(d
,"DateTime_EST", SWIG_FromInt((int)wxDateTime::EST
));
30051 PyDict_SetItemString(d
,"DateTime_EDT", SWIG_FromInt((int)wxDateTime::EDT
));
30052 PyDict_SetItemString(d
,"DateTime_CST", SWIG_FromInt((int)wxDateTime::CST
));
30053 PyDict_SetItemString(d
,"DateTime_CDT", SWIG_FromInt((int)wxDateTime::CDT
));
30054 PyDict_SetItemString(d
,"DateTime_MST", SWIG_FromInt((int)wxDateTime::MST
));
30055 PyDict_SetItemString(d
,"DateTime_MDT", SWIG_FromInt((int)wxDateTime::MDT
));
30056 PyDict_SetItemString(d
,"DateTime_PST", SWIG_FromInt((int)wxDateTime::PST
));
30057 PyDict_SetItemString(d
,"DateTime_PDT", SWIG_FromInt((int)wxDateTime::PDT
));
30058 PyDict_SetItemString(d
,"DateTime_HST", SWIG_FromInt((int)wxDateTime::HST
));
30059 PyDict_SetItemString(d
,"DateTime_AKST", SWIG_FromInt((int)wxDateTime::AKST
));
30060 PyDict_SetItemString(d
,"DateTime_AKDT", SWIG_FromInt((int)wxDateTime::AKDT
));
30061 PyDict_SetItemString(d
,"DateTime_A_WST", SWIG_FromInt((int)wxDateTime::A_WST
));
30062 PyDict_SetItemString(d
,"DateTime_A_CST", SWIG_FromInt((int)wxDateTime::A_CST
));
30063 PyDict_SetItemString(d
,"DateTime_A_EST", SWIG_FromInt((int)wxDateTime::A_EST
));
30064 PyDict_SetItemString(d
,"DateTime_A_ESST", SWIG_FromInt((int)wxDateTime::A_ESST
));
30065 PyDict_SetItemString(d
,"DateTime_UTC", SWIG_FromInt((int)wxDateTime::UTC
));
30066 PyDict_SetItemString(d
,"DateTime_Gregorian", SWIG_FromInt((int)wxDateTime::Gregorian
));
30067 PyDict_SetItemString(d
,"DateTime_Julian", SWIG_FromInt((int)wxDateTime::Julian
));
30068 PyDict_SetItemString(d
,"DateTime_Gr_Unknown", SWIG_FromInt((int)wxDateTime::Gr_Unknown
));
30069 PyDict_SetItemString(d
,"DateTime_Gr_Standard", SWIG_FromInt((int)wxDateTime::Gr_Standard
));
30070 PyDict_SetItemString(d
,"DateTime_Gr_Alaska", SWIG_FromInt((int)wxDateTime::Gr_Alaska
));
30071 PyDict_SetItemString(d
,"DateTime_Gr_Albania", SWIG_FromInt((int)wxDateTime::Gr_Albania
));
30072 PyDict_SetItemString(d
,"DateTime_Gr_Austria", SWIG_FromInt((int)wxDateTime::Gr_Austria
));
30073 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Brixen", SWIG_FromInt((int)wxDateTime::Gr_Austria_Brixen
));
30074 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Salzburg", SWIG_FromInt((int)wxDateTime::Gr_Austria_Salzburg
));
30075 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Tyrol", SWIG_FromInt((int)wxDateTime::Gr_Austria_Tyrol
));
30076 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Carinthia", SWIG_FromInt((int)wxDateTime::Gr_Austria_Carinthia
));
30077 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Styria", SWIG_FromInt((int)wxDateTime::Gr_Austria_Styria
));
30078 PyDict_SetItemString(d
,"DateTime_Gr_Belgium", SWIG_FromInt((int)wxDateTime::Gr_Belgium
));
30079 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria
));
30080 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_1", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_1
));
30081 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_2", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_2
));
30082 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_3", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_3
));
30083 PyDict_SetItemString(d
,"DateTime_Gr_Canada", SWIG_FromInt((int)wxDateTime::Gr_Canada
));
30084 PyDict_SetItemString(d
,"DateTime_Gr_China", SWIG_FromInt((int)wxDateTime::Gr_China
));
30085 PyDict_SetItemString(d
,"DateTime_Gr_China_1", SWIG_FromInt((int)wxDateTime::Gr_China_1
));
30086 PyDict_SetItemString(d
,"DateTime_Gr_China_2", SWIG_FromInt((int)wxDateTime::Gr_China_2
));
30087 PyDict_SetItemString(d
,"DateTime_Gr_Czechoslovakia", SWIG_FromInt((int)wxDateTime::Gr_Czechoslovakia
));
30088 PyDict_SetItemString(d
,"DateTime_Gr_Denmark", SWIG_FromInt((int)wxDateTime::Gr_Denmark
));
30089 PyDict_SetItemString(d
,"DateTime_Gr_Egypt", SWIG_FromInt((int)wxDateTime::Gr_Egypt
));
30090 PyDict_SetItemString(d
,"DateTime_Gr_Estonia", SWIG_FromInt((int)wxDateTime::Gr_Estonia
));
30091 PyDict_SetItemString(d
,"DateTime_Gr_Finland", SWIG_FromInt((int)wxDateTime::Gr_Finland
));
30092 PyDict_SetItemString(d
,"DateTime_Gr_France", SWIG_FromInt((int)wxDateTime::Gr_France
));
30093 PyDict_SetItemString(d
,"DateTime_Gr_France_Alsace", SWIG_FromInt((int)wxDateTime::Gr_France_Alsace
));
30094 PyDict_SetItemString(d
,"DateTime_Gr_France_Lorraine", SWIG_FromInt((int)wxDateTime::Gr_France_Lorraine
));
30095 PyDict_SetItemString(d
,"DateTime_Gr_France_Strasbourg", SWIG_FromInt((int)wxDateTime::Gr_France_Strasbourg
));
30096 PyDict_SetItemString(d
,"DateTime_Gr_Germany", SWIG_FromInt((int)wxDateTime::Gr_Germany
));
30097 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Catholic", SWIG_FromInt((int)wxDateTime::Gr_Germany_Catholic
));
30098 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Prussia", SWIG_FromInt((int)wxDateTime::Gr_Germany_Prussia
));
30099 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Protestant", SWIG_FromInt((int)wxDateTime::Gr_Germany_Protestant
));
30100 PyDict_SetItemString(d
,"DateTime_Gr_GreatBritain", SWIG_FromInt((int)wxDateTime::Gr_GreatBritain
));
30101 PyDict_SetItemString(d
,"DateTime_Gr_Greece", SWIG_FromInt((int)wxDateTime::Gr_Greece
));
30102 PyDict_SetItemString(d
,"DateTime_Gr_Hungary", SWIG_FromInt((int)wxDateTime::Gr_Hungary
));
30103 PyDict_SetItemString(d
,"DateTime_Gr_Ireland", SWIG_FromInt((int)wxDateTime::Gr_Ireland
));
30104 PyDict_SetItemString(d
,"DateTime_Gr_Italy", SWIG_FromInt((int)wxDateTime::Gr_Italy
));
30105 PyDict_SetItemString(d
,"DateTime_Gr_Japan", SWIG_FromInt((int)wxDateTime::Gr_Japan
));
30106 PyDict_SetItemString(d
,"DateTime_Gr_Japan_1", SWIG_FromInt((int)wxDateTime::Gr_Japan_1
));
30107 PyDict_SetItemString(d
,"DateTime_Gr_Japan_2", SWIG_FromInt((int)wxDateTime::Gr_Japan_2
));
30108 PyDict_SetItemString(d
,"DateTime_Gr_Japan_3", SWIG_FromInt((int)wxDateTime::Gr_Japan_3
));
30109 PyDict_SetItemString(d
,"DateTime_Gr_Latvia", SWIG_FromInt((int)wxDateTime::Gr_Latvia
));
30110 PyDict_SetItemString(d
,"DateTime_Gr_Lithuania", SWIG_FromInt((int)wxDateTime::Gr_Lithuania
));
30111 PyDict_SetItemString(d
,"DateTime_Gr_Luxemburg", SWIG_FromInt((int)wxDateTime::Gr_Luxemburg
));
30112 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands", SWIG_FromInt((int)wxDateTime::Gr_Netherlands
));
30113 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Groningen", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Groningen
));
30114 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Gelderland", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Gelderland
));
30115 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Utrecht", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Utrecht
));
30116 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Friesland", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Friesland
));
30117 PyDict_SetItemString(d
,"DateTime_Gr_Norway", SWIG_FromInt((int)wxDateTime::Gr_Norway
));
30118 PyDict_SetItemString(d
,"DateTime_Gr_Poland", SWIG_FromInt((int)wxDateTime::Gr_Poland
));
30119 PyDict_SetItemString(d
,"DateTime_Gr_Portugal", SWIG_FromInt((int)wxDateTime::Gr_Portugal
));
30120 PyDict_SetItemString(d
,"DateTime_Gr_Romania", SWIG_FromInt((int)wxDateTime::Gr_Romania
));
30121 PyDict_SetItemString(d
,"DateTime_Gr_Russia", SWIG_FromInt((int)wxDateTime::Gr_Russia
));
30122 PyDict_SetItemString(d
,"DateTime_Gr_Scotland", SWIG_FromInt((int)wxDateTime::Gr_Scotland
));
30123 PyDict_SetItemString(d
,"DateTime_Gr_Spain", SWIG_FromInt((int)wxDateTime::Gr_Spain
));
30124 PyDict_SetItemString(d
,"DateTime_Gr_Sweden", SWIG_FromInt((int)wxDateTime::Gr_Sweden
));
30125 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland", SWIG_FromInt((int)wxDateTime::Gr_Switzerland
));
30126 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Catholic", SWIG_FromInt((int)wxDateTime::Gr_Switzerland_Catholic
));
30127 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Protestant", SWIG_FromInt((int)wxDateTime::Gr_Switzerland_Protestant
));
30128 PyDict_SetItemString(d
,"DateTime_Gr_Turkey", SWIG_FromInt((int)wxDateTime::Gr_Turkey
));
30129 PyDict_SetItemString(d
,"DateTime_Gr_USA", SWIG_FromInt((int)wxDateTime::Gr_USA
));
30130 PyDict_SetItemString(d
,"DateTime_Gr_Wales", SWIG_FromInt((int)wxDateTime::Gr_Wales
));
30131 PyDict_SetItemString(d
,"DateTime_Gr_Yugoslavia", SWIG_FromInt((int)wxDateTime::Gr_Yugoslavia
));
30132 PyDict_SetItemString(d
,"DateTime_Country_Unknown", SWIG_FromInt((int)wxDateTime::Country_Unknown
));
30133 PyDict_SetItemString(d
,"DateTime_Country_Default", SWIG_FromInt((int)wxDateTime::Country_Default
));
30134 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_Start", SWIG_FromInt((int)wxDateTime::Country_WesternEurope_Start
));
30135 PyDict_SetItemString(d
,"DateTime_Country_EEC", SWIG_FromInt((int)wxDateTime::Country_EEC
));
30136 PyDict_SetItemString(d
,"DateTime_France", SWIG_FromInt((int)wxDateTime::France
));
30137 PyDict_SetItemString(d
,"DateTime_Germany", SWIG_FromInt((int)wxDateTime::Germany
));
30138 PyDict_SetItemString(d
,"DateTime_UK", SWIG_FromInt((int)wxDateTime::UK
));
30139 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_End", SWIG_FromInt((int)wxDateTime::Country_WesternEurope_End
));
30140 PyDict_SetItemString(d
,"DateTime_Russia", SWIG_FromInt((int)wxDateTime::Russia
));
30141 PyDict_SetItemString(d
,"DateTime_USA", SWIG_FromInt((int)wxDateTime::USA
));
30142 PyDict_SetItemString(d
,"DateTime_Jan", SWIG_FromInt((int)wxDateTime::Jan
));
30143 PyDict_SetItemString(d
,"DateTime_Feb", SWIG_FromInt((int)wxDateTime::Feb
));
30144 PyDict_SetItemString(d
,"DateTime_Mar", SWIG_FromInt((int)wxDateTime::Mar
));
30145 PyDict_SetItemString(d
,"DateTime_Apr", SWIG_FromInt((int)wxDateTime::Apr
));
30146 PyDict_SetItemString(d
,"DateTime_May", SWIG_FromInt((int)wxDateTime::May
));
30147 PyDict_SetItemString(d
,"DateTime_Jun", SWIG_FromInt((int)wxDateTime::Jun
));
30148 PyDict_SetItemString(d
,"DateTime_Jul", SWIG_FromInt((int)wxDateTime::Jul
));
30149 PyDict_SetItemString(d
,"DateTime_Aug", SWIG_FromInt((int)wxDateTime::Aug
));
30150 PyDict_SetItemString(d
,"DateTime_Sep", SWIG_FromInt((int)wxDateTime::Sep
));
30151 PyDict_SetItemString(d
,"DateTime_Oct", SWIG_FromInt((int)wxDateTime::Oct
));
30152 PyDict_SetItemString(d
,"DateTime_Nov", SWIG_FromInt((int)wxDateTime::Nov
));
30153 PyDict_SetItemString(d
,"DateTime_Dec", SWIG_FromInt((int)wxDateTime::Dec
));
30154 PyDict_SetItemString(d
,"DateTime_Inv_Month", SWIG_FromInt((int)wxDateTime::Inv_Month
));
30155 PyDict_SetItemString(d
,"DateTime_Sun", SWIG_FromInt((int)wxDateTime::Sun
));
30156 PyDict_SetItemString(d
,"DateTime_Mon", SWIG_FromInt((int)wxDateTime::Mon
));
30157 PyDict_SetItemString(d
,"DateTime_Tue", SWIG_FromInt((int)wxDateTime::Tue
));
30158 PyDict_SetItemString(d
,"DateTime_Wed", SWIG_FromInt((int)wxDateTime::Wed
));
30159 PyDict_SetItemString(d
,"DateTime_Thu", SWIG_FromInt((int)wxDateTime::Thu
));
30160 PyDict_SetItemString(d
,"DateTime_Fri", SWIG_FromInt((int)wxDateTime::Fri
));
30161 PyDict_SetItemString(d
,"DateTime_Sat", SWIG_FromInt((int)wxDateTime::Sat
));
30162 PyDict_SetItemString(d
,"DateTime_Inv_WeekDay", SWIG_FromInt((int)wxDateTime::Inv_WeekDay
));
30163 PyDict_SetItemString(d
,"DateTime_Inv_Year", SWIG_FromInt((int)wxDateTime::Inv_Year
));
30164 PyDict_SetItemString(d
,"DateTime_Name_Full", SWIG_FromInt((int)wxDateTime::Name_Full
));
30165 PyDict_SetItemString(d
,"DateTime_Name_Abbr", SWIG_FromInt((int)wxDateTime::Name_Abbr
));
30166 PyDict_SetItemString(d
,"DateTime_Default_First", SWIG_FromInt((int)wxDateTime::Default_First
));
30167 PyDict_SetItemString(d
,"DateTime_Monday_First", SWIG_FromInt((int)wxDateTime::Monday_First
));
30168 PyDict_SetItemString(d
,"DateTime_Sunday_First", SWIG_FromInt((int)wxDateTime::Sunday_First
));
30169 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultDateTime",_wrap_DefaultDateTime_get
, _wrap_DefaultDateTime_set
);
30170 PyDict_SetItemString(d
,"DF_INVALID", SWIG_FromInt((int)wxDF_INVALID
));
30171 PyDict_SetItemString(d
,"DF_TEXT", SWIG_FromInt((int)wxDF_TEXT
));
30172 PyDict_SetItemString(d
,"DF_BITMAP", SWIG_FromInt((int)wxDF_BITMAP
));
30173 PyDict_SetItemString(d
,"DF_METAFILE", SWIG_FromInt((int)wxDF_METAFILE
));
30174 PyDict_SetItemString(d
,"DF_SYLK", SWIG_FromInt((int)wxDF_SYLK
));
30175 PyDict_SetItemString(d
,"DF_DIF", SWIG_FromInt((int)wxDF_DIF
));
30176 PyDict_SetItemString(d
,"DF_TIFF", SWIG_FromInt((int)wxDF_TIFF
));
30177 PyDict_SetItemString(d
,"DF_OEMTEXT", SWIG_FromInt((int)wxDF_OEMTEXT
));
30178 PyDict_SetItemString(d
,"DF_DIB", SWIG_FromInt((int)wxDF_DIB
));
30179 PyDict_SetItemString(d
,"DF_PALETTE", SWIG_FromInt((int)wxDF_PALETTE
));
30180 PyDict_SetItemString(d
,"DF_PENDATA", SWIG_FromInt((int)wxDF_PENDATA
));
30181 PyDict_SetItemString(d
,"DF_RIFF", SWIG_FromInt((int)wxDF_RIFF
));
30182 PyDict_SetItemString(d
,"DF_WAVE", SWIG_FromInt((int)wxDF_WAVE
));
30183 PyDict_SetItemString(d
,"DF_UNICODETEXT", SWIG_FromInt((int)wxDF_UNICODETEXT
));
30184 PyDict_SetItemString(d
,"DF_ENHMETAFILE", SWIG_FromInt((int)wxDF_ENHMETAFILE
));
30185 PyDict_SetItemString(d
,"DF_FILENAME", SWIG_FromInt((int)wxDF_FILENAME
));
30186 PyDict_SetItemString(d
,"DF_LOCALE", SWIG_FromInt((int)wxDF_LOCALE
));
30187 PyDict_SetItemString(d
,"DF_PRIVATE", SWIG_FromInt((int)wxDF_PRIVATE
));
30188 PyDict_SetItemString(d
,"DF_HTML", SWIG_FromInt((int)wxDF_HTML
));
30189 PyDict_SetItemString(d
,"DF_MAX", SWIG_FromInt((int)wxDF_MAX
));
30190 SWIG_addvarlink(SWIG_globals
,(char*)"FormatInvalid",_wrap_FormatInvalid_get
, _wrap_FormatInvalid_set
);
30191 PyDict_SetItemString(d
,"DataObject_Get", SWIG_FromInt((int)wxDataObject::Get
));
30192 PyDict_SetItemString(d
,"DataObject_Set", SWIG_FromInt((int)wxDataObject::Set
));
30193 PyDict_SetItemString(d
,"DataObject_Both", SWIG_FromInt((int)wxDataObject::Both
));
30194 PyDict_SetItemString(d
,"Drag_CopyOnly", SWIG_FromInt((int)wxDrag_CopyOnly
));
30195 PyDict_SetItemString(d
,"Drag_AllowMove", SWIG_FromInt((int)wxDrag_AllowMove
));
30196 PyDict_SetItemString(d
,"Drag_DefaultMove", SWIG_FromInt((int)wxDrag_DefaultMove
));
30197 PyDict_SetItemString(d
,"DragError", SWIG_FromInt((int)wxDragError
));
30198 PyDict_SetItemString(d
,"DragNone", SWIG_FromInt((int)wxDragNone
));
30199 PyDict_SetItemString(d
,"DragCopy", SWIG_FromInt((int)wxDragCopy
));
30200 PyDict_SetItemString(d
,"DragMove", SWIG_FromInt((int)wxDragMove
));
30201 PyDict_SetItemString(d
,"DragLink", SWIG_FromInt((int)wxDragLink
));
30202 PyDict_SetItemString(d
,"DragCancel", SWIG_FromInt((int)wxDragCancel
));
30204 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
30205 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
30206 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
30207 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
30209 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultVideoMode",_wrap_DefaultVideoMode_get
, _wrap_DefaultVideoMode_set
);