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"
355 static const wxString
wxPyEmptyString(wxEmptyString
);
362 SWIGSTATICINLINE(long)
363 SWIG_CheckLongInRange(long value
, const char* type
,
364 long min_value
, long max_value
)
366 if (!PyErr_Occurred()) {
367 if (value
< min_value
) {
369 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
370 value
, type
, min_value
);
372 PyErr_SetObject(PyExc_OverflowError
, err
);
374 } else if (value
> max_value
) {
376 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
377 value
, type
, max_value
);
378 PyErr_SetObject(PyExc_OverflowError
, err
);
386 SWIGSTATICINLINE(long)
387 SWIG_AsLong(PyObject
* obj
)
389 if (PyNumber_Check(obj
))
390 return PyInt_AsLong(obj
);
392 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
393 obj
->ob_type
->tp_name
);
394 PyErr_SetObject(PyExc_TypeError
, errmsg
);
401 #if INT_MAX != LONG_MAX
402 SWIGSTATICINLINE(int)
403 SWIG_AsInt(PyObject
*obj
)
405 return swig_numeric_cast(int,
406 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
407 "int", INT_MIN
, INT_MAX
));
410 #define SWIG_AsInt SWIG_AsLong
414 SWIGSTATICINLINE(int)
415 SWIG_CheckInt(PyObject
* obj
)
418 if (PyErr_Occurred()) {
426 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
427 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
428 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
430 SWIGSTATICINLINE(int)
431 SWIG_CheckLong(PyObject
* obj
)
434 if (PyErr_Occurred()) {
443 SWIGSTATICINLINE(bool)
444 SWIG_AsBool(PyObject
*obj
)
446 return PyObject_IsTrue(obj
) ? true : false;
450 SWIGSTATICINLINE(int)
451 SWIG_CheckBool(PyObject
* obj
)
454 if (PyErr_Occurred()) {
463 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
469 } else if (target
== Py_None
) {
473 if (!PyTuple_Check(target
)) {
475 target
= PyTuple_New(1);
476 PyTuple_SetItem(target
, 0, o2
);
479 PyTuple_SetItem(o3
, 0, o
);
482 target
= PySequence_Concat(o2
, o3
);
490 SWIGSTATICINLINE(unsigned long)
491 SWIG_AsUnsignedLong(PyObject
* obj
)
493 if (PyLong_Check(obj
)) {
494 return PyLong_AsUnsignedLong(obj
);
496 long i
= SWIG_AsLong(obj
);
497 if ( !PyErr_Occurred() && (i
< 0)) {
498 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
505 SWIGSTATICINLINE(int)
506 SWIG_CheckUnsignedLong(PyObject
* obj
)
508 SWIG_AsUnsignedLong(obj
);
509 if (PyErr_Occurred()) {
518 SWIGSTATICINLINE(PyObject
* )
519 SWIG_FromUnsignedLong(unsigned long value
)
521 return (value
> LONG_MAX
) ?
522 PyLong_FromUnsignedLong(value
)
523 : PyInt_FromLong(swig_numeric_cast(long,value
));
527 bool wxThread_IsMain() {
528 #ifdef WXP_WITH_THREAD
529 return wxThread::IsMain();
536 int wxCaret_GetBlinkTime() {
537 return wxCaret::GetBlinkTime();
540 void wxCaret_SetBlinkTime(int milliseconds
) {
541 wxCaret::SetBlinkTime(milliseconds
);
545 #include <wx/snglinst.h>
549 #include <wx/msw/private.h>
550 #include <wx/dynload.h>
555 void wxDrawWindowOnDC(wxWindow
* window
, const wxDC
& dc
, int method
)
562 // This one only partially works. Appears to be an undocumented
563 // "standard" convention that not all widgets adhear to. For
564 // example, for some widgets backgrounds or non-client areas may
566 ::SendMessage(GetHwndOf(window
), WM_PAINT
, (long)GetHdcOf(dc
), 0);
570 // This one works much better, except for on XP. On Win2k nearly
571 // all widgets and their children are captured correctly[**]. On
572 // XP with Themes activated most native widgets draw only
573 // partially, if at all. Without themes it works just like on
576 // ** For example the radio buttons in a wxRadioBox are not its
577 // children by default, but you can capture it via the panel
578 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
579 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
580 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
581 PRF_ERASEBKGND
| PRF_OWNED
);
585 // This one is only defined in the latest SDK and is only
586 // available on XP. MSDN says it is similar to sending WM_PRINT
587 // so I expect that it will work similar to the above. Since it
588 // is avaialble only on XP, it can't be compiled like this and
589 // will have to be loaded dynamically.
590 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
595 // Use PrintWindow if available, or fallback to WM_PRINT
596 // otherwise. Unfortunately using PrintWindow is even worse than
597 // WM_PRINT. For most native widgets nothing is drawn to the dc
598 // at all, with or without Themes.
599 typedef BOOL (WINAPI
*PrintWindow_t
)(HWND
, HDC
, UINT
);
600 static bool s_triedToLoad
= False
;
601 static PrintWindow_t pfnPrintWindow
= NULL
;
602 if ( !s_triedToLoad
)
605 s_triedToLoad
= True
;
606 wxDynamicLibrary
dllUser32(_T("user32.dll"));
607 if ( dllUser32
.IsLoaded() )
609 wxLogNull nolog
; // Don't report errors here
610 pfnPrintWindow
= (PrintWindow_t
)dllUser32
.GetSymbol(_T("PrintWindow"));
615 printf("Using PrintWindow\n");
616 pfnPrintWindow(GetHwndOf(window
), GetHdcOf(dc
), 0);
620 printf("Using WM_PRINT\n");
621 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
622 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
| PRF_ERASEBKGND
| PRF_OWNED
);
630 #include <wx/tipdlg.h>
633 class wxPyTipProvider
: public wxTipProvider
{
635 wxPyTipProvider(size_t currentTip
)
636 : wxTipProvider(currentTip
) {}
638 DEC_PYCALLBACK_STRING__pure(GetTip
);
639 DEC_PYCALLBACK_STRING_STRING(PreprocessTip
);
643 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
644 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider
, wxTipProvider
, PreprocessTip
);
647 //IMP_PYCALLBACK__(wxPyTimer, wxTimer, Notify);
649 void wxPyTimer::Notify() {
651 bool blocked
= wxPyBeginBlockThreads();
652 if ((found
= wxPyCBH_findCallback(m_myInst
, "Notify")))
653 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("()"));
654 wxPyEndBlockThreads(blocked
);
658 void wxPyTimer::base_Notify() {
664 SWIGSTATICINLINE(PyObject
*)
665 SWIG_FromCharPtr(const char* cptr
)
667 size_t size
= cptr
? strlen(cptr
) : 0;
669 if (size
> INT_MAX
) {
670 return SWIG_NewPointerObj(swig_const_cast(char*,cptr
),
671 SWIG_TypeQuery("char *"), 0);
673 return PyString_FromStringAndSize(cptr
, swig_numeric_cast(int,size
));
682 SWIGSTATICINLINE(unsigned long)
683 SWIG_CheckUnsignedLongInRange(unsigned long value
, const char* type
,
684 unsigned long max_value
)
686 if (!PyErr_Occurred()) {
687 if (value
> max_value
) {
689 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
690 value
, type
, max_value
);
691 PyErr_SetObject(PyExc_OverflowError
, err
);
699 #if UINT_MAX != ULONG_MAX
700 SWIGSTATICINLINE(unsigned int)
701 SWIG_AsUnsignedInt(PyObject
*obj
)
703 return swig_numeric_cast(unsigned int,
704 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj
),
705 "unsigned int", UINT_MAX
));
708 #define SWIG_AsUnsignedInt SWIG_AsUnsignedLong
712 SWIGSTATICINLINE(int)
713 SWIG_CheckUnsignedInt(PyObject
* obj
)
715 SWIG_AsUnsignedInt(obj
);
716 if (PyErr_Occurred()) {
724 wxString
Log_TimeStamp(){
726 wxLog::TimeStamp(&msg
);
729 void wxLog_Destroy(wxLog
*self
){ delete self
; }
731 // A wxLog class that can be derived from in wxPython
732 class wxPyLog
: public wxLog
{
734 wxPyLog() : wxLog() {}
736 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
738 bool blocked
= wxPyBeginBlockThreads();
739 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog"))) {
740 PyObject
* s
= wx2PyString(szString
);
741 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iOi)", level
, s
, t
));
744 wxPyEndBlockThreads(blocked
);
746 wxLog::DoLog(level
, szString
, t
);
749 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
751 bool blocked
= wxPyBeginBlockThreads();
752 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString"))) {
753 PyObject
* s
= wx2PyString(szString
);
754 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(Oi)", s
, t
));
757 wxPyEndBlockThreads(blocked
);
759 wxLog::DoLogString(szString
, t
);
768 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
771 #include <wx/joystick.h>
774 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
775 // A C++ stub class for wxJoystick for platforms that don't have it.
776 class wxJoystick
: public wxObject
{
778 wxJoystick(int joystick
= wxJOYSTICK1
) {
779 bool blocked
= wxPyBeginBlockThreads();
780 PyErr_SetString(PyExc_NotImplementedError
,
781 "wxJoystick is not available on this platform.");
782 wxPyEndBlockThreads(blocked
);
784 wxPoint
GetPosition() { return wxPoint(-1,-1); }
785 int GetZPosition() { return -1; }
786 int GetButtonState() { return -1; }
787 int GetPOVPosition() { return -1; }
788 int GetPOVCTSPosition() { return -1; }
789 int GetRudderPosition() { return -1; }
790 int GetUPosition() { return -1; }
791 int GetVPosition() { return -1; }
792 int GetMovementThreshold() { return -1; }
793 void SetMovementThreshold(int threshold
) {}
795 bool IsOk(void) { return False
; }
796 int GetNumberJoysticks() { return -1; }
797 int GetManufacturerId() { return -1; }
798 int GetProductId() { return -1; }
799 wxString
GetProductName() { return ""; }
800 int GetXMin() { return -1; }
801 int GetYMin() { return -1; }
802 int GetZMin() { return -1; }
803 int GetXMax() { return -1; }
804 int GetYMax() { return -1; }
805 int GetZMax() { return -1; }
806 int GetNumberButtons() { return -1; }
807 int GetNumberAxes() { return -1; }
808 int GetMaxButtons() { return -1; }
809 int GetMaxAxes() { return -1; }
810 int GetPollingMin() { return -1; }
811 int GetPollingMax() { return -1; }
812 int GetRudderMin() { return -1; }
813 int GetRudderMax() { return -1; }
814 int GetUMin() { return -1; }
815 int GetUMax() { return -1; }
816 int GetVMin() { return -1; }
817 int GetVMax() { return -1; }
819 bool HasRudder() { return False
; }
820 bool HasZ() { return False
; }
821 bool HasU() { return False
; }
822 bool HasV() { return False
; }
823 bool HasPOV() { return False
; }
824 bool HasPOV4Dir() { return False
; }
825 bool HasPOVCTS() { return False
; }
827 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return False
; }
828 bool ReleaseCapture() { return False
; }
833 #include <wx/sound.h>
837 // A C++ stub class for wxWave for platforms that don't have it.
838 class wxSound
: public wxObject
842 bool blocked
= wxPyBeginBlockThreads();
843 PyErr_SetString(PyExc_NotImplementedError
,
844 "wxSound is not available on this platform.");
845 wxPyEndBlockThreads(blocked
);
847 wxSound(const wxString
&/*, bool*/) {
848 bool blocked
= wxPyBeginBlockThreads();
849 PyErr_SetString(PyExc_NotImplementedError
,
850 "wxSound is not available on this platform.");
851 wxPyEndBlockThreads(blocked
);
853 wxSound(int, const wxByte
*) {
854 bool blocked
= wxPyBeginBlockThreads();
855 PyErr_SetString(PyExc_NotImplementedError
,
856 "wxSound is not available on this platform.");
857 wxPyEndBlockThreads(blocked
);
862 bool Create(const wxString
&/*, bool*/) { return false; }
863 bool Create(int, const wxByte
*) { return false; };
864 bool IsOk() { return false; };
865 bool Play(unsigned) const { return false; }
866 static bool Play(const wxString
&, unsigned) { return false; }
867 static void Stop() {}
872 wxSound
*new_wxSound(wxString
const &fileName
){
873 if (fileName
.Length() == 0)
876 return new wxSound(fileName
);
878 wxSound
*new_wxSound(PyObject
*data
){
879 unsigned char* buffer
; int size
;
880 wxSound
*sound
= NULL
;
882 bool blocked
= wxPyBeginBlockThreads();
883 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
885 sound
= new wxSound(size
, buffer
);
887 wxPyEndBlockThreads(blocked
);
890 bool wxSound_CreateFromData(wxSound
*self
,PyObject
*data
){
892 unsigned char* buffer
;
896 bool blocked
= wxPyBeginBlockThreads();
897 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
899 rv
= self
->Create(size
, buffer
);
901 wxPyEndBlockThreads(blocked
);
904 bool blocked
= wxPyBeginBlockThreads();
905 PyErr_SetString(PyExc_NotImplementedError
,
906 "Create from data is not available on this platform.");
907 wxPyEndBlockThreads(blocked
);
912 #include <wx/mimetype.h>
914 PyObject
*wxFileType_GetMimeType(wxFileType
*self
){
916 if (self
->GetMimeType(&str
))
917 return wx2PyString(str
);
921 PyObject
*wxFileType_GetMimeTypes(wxFileType
*self
){
923 if (self
->GetMimeTypes(arr
))
924 return wxArrayString2PyList_helper(arr
);
928 PyObject
*wxFileType_GetExtensions(wxFileType
*self
){
930 if (self
->GetExtensions(arr
))
931 return wxArrayString2PyList_helper(arr
);
935 wxIcon
*wxFileType_GetIcon(wxFileType
*self
){
937 if (self
->GetIcon(&loc
))
938 return new wxIcon(loc
);
942 PyObject
*wxFileType_GetIconInfo(wxFileType
*self
){
944 if (self
->GetIcon(&loc
)) {
945 wxString iconFile
= loc
.GetFileName();
948 iconIndex
= loc
.GetIndex();
950 // Make a tuple and put the values in it
951 bool blocked
= wxPyBeginBlockThreads();
952 PyObject
* tuple
= PyTuple_New(3);
953 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(loc
),
954 wxT("wxIcon"), True
));
955 PyTuple_SetItem(tuple
, 1, wx2PyString(iconFile
));
956 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
957 wxPyEndBlockThreads(blocked
);
963 PyObject
*wxFileType_GetDescription(wxFileType
*self
){
965 if (self
->GetDescription(&str
))
966 return wx2PyString(str
);
970 PyObject
*wxFileType_GetOpenCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
972 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
973 return wx2PyString(str
);
977 PyObject
*wxFileType_GetPrintCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
979 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
980 return wx2PyString(str
);
984 PyObject
*wxFileType_GetAllCommands(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
986 wxArrayString commands
;
987 if (self
->GetAllCommands(&verbs
, &commands
,
988 wxFileType::MessageParameters(filename
, mimetype
))) {
989 bool blocked
= wxPyBeginBlockThreads();
990 PyObject
* tuple
= PyTuple_New(2);
991 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
992 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
993 wxPyEndBlockThreads(blocked
);
999 wxString
FileType_ExpandCommand(wxString
const &command
,wxString
const &filename
,wxString
const &mimetype
){
1000 return wxFileType::ExpandCommand(command
,
1001 wxFileType::MessageParameters(filename
, mimetype
));
1003 PyObject
*wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
){
1005 self
->EnumAllFileTypes(arr
);
1006 return wxArrayString2PyList_helper(arr
);
1009 #include <wx/artprov.h>
1011 static const wxString
wxPyART_TOOLBAR(wxART_TOOLBAR
);
1012 static const wxString
wxPyART_MENU(wxART_MENU
);
1013 static const wxString
wxPyART_FRAME_ICON(wxART_FRAME_ICON
);
1014 static const wxString
wxPyART_CMN_DIALOG(wxART_CMN_DIALOG
);
1015 static const wxString
wxPyART_HELP_BROWSER(wxART_HELP_BROWSER
);
1016 static const wxString
wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX
);
1017 static const wxString
wxPyART_OTHER(wxART_OTHER
);
1018 static const wxString
wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK
);
1019 static const wxString
wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK
);
1020 static const wxString
wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL
);
1021 static const wxString
wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS
);
1022 static const wxString
wxPyART_HELP_BOOK(wxART_HELP_BOOK
);
1023 static const wxString
wxPyART_HELP_FOLDER(wxART_HELP_FOLDER
);
1024 static const wxString
wxPyART_HELP_PAGE(wxART_HELP_PAGE
);
1025 static const wxString
wxPyART_GO_BACK(wxART_GO_BACK
);
1026 static const wxString
wxPyART_GO_FORWARD(wxART_GO_FORWARD
);
1027 static const wxString
wxPyART_GO_UP(wxART_GO_UP
);
1028 static const wxString
wxPyART_GO_DOWN(wxART_GO_DOWN
);
1029 static const wxString
wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT
);
1030 static const wxString
wxPyART_GO_HOME(wxART_GO_HOME
);
1031 static const wxString
wxPyART_FILE_OPEN(wxART_FILE_OPEN
);
1032 static const wxString
wxPyART_PRINT(wxART_PRINT
);
1033 static const wxString
wxPyART_HELP(wxART_HELP
);
1034 static const wxString
wxPyART_TIP(wxART_TIP
);
1035 static const wxString
wxPyART_REPORT_VIEW(wxART_REPORT_VIEW
);
1036 static const wxString
wxPyART_LIST_VIEW(wxART_LIST_VIEW
);
1037 static const wxString
wxPyART_NEW_DIR(wxART_NEW_DIR
);
1038 static const wxString
wxPyART_FOLDER(wxART_FOLDER
);
1039 static const wxString
wxPyART_GO_DIR_UP(wxART_GO_DIR_UP
);
1040 static const wxString
wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE
);
1041 static const wxString
wxPyART_NORMAL_FILE(wxART_NORMAL_FILE
);
1042 static const wxString
wxPyART_TICK_MARK(wxART_TICK_MARK
);
1043 static const wxString
wxPyART_CROSS_MARK(wxART_CROSS_MARK
);
1044 static const wxString
wxPyART_ERROR(wxART_ERROR
);
1045 static const wxString
wxPyART_QUESTION(wxART_QUESTION
);
1046 static const wxString
wxPyART_WARNING(wxART_WARNING
);
1047 static const wxString
wxPyART_INFORMATION(wxART_INFORMATION
);
1048 static const wxString
wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE
);
1049 // Python aware wxArtProvider
1050 class wxPyArtProvider
: public wxArtProvider
{
1053 virtual wxBitmap
CreateBitmap(const wxArtID
& id
,
1054 const wxArtClient
& client
,
1055 const wxSize
& size
) {
1056 wxBitmap rval
= wxNullBitmap
;
1057 bool blocked
= wxPyBeginBlockThreads();
1058 if ((wxPyCBH_findCallback(m_myInst
, "CreateBitmap"))) {
1059 PyObject
* so
= wxPyConstructObject((void*)&size
, wxT("wxSize"), 0);
1063 s1
= wx2PyString(id
);
1064 s2
= wx2PyString(client
);
1065 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOO)", s1
, s2
, so
));
1070 if (wxPyConvertSwigPtr(ro
, (void**)&ptr
, wxT("wxBitmap")))
1075 wxPyEndBlockThreads(blocked
);
1082 void wxPyArtProvider_Destroy(wxPyArtProvider
*self
){ delete self
; }
1086 static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) {
1087 PyObject
* ret
= PyTuple_New(3);
1089 PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
));
1090 PyTuple_SET_ITEM(ret
, 1, wx2PyString(str
));
1091 PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
));
1096 PyObject
*wxConfigBase_GetFirstGroup(wxConfigBase
*self
){
1101 cont
= self
->GetFirstGroup(value
, index
);
1102 return __EnumerationHelper(cont
, value
, index
);
1104 PyObject
*wxConfigBase_GetNextGroup(wxConfigBase
*self
,long index
){
1108 cont
= self
->GetNextGroup(value
, index
);
1109 return __EnumerationHelper(cont
, value
, index
);
1111 PyObject
*wxConfigBase_GetFirstEntry(wxConfigBase
*self
){
1116 cont
= self
->GetFirstEntry(value
, index
);
1117 return __EnumerationHelper(cont
, value
, index
);
1119 PyObject
*wxConfigBase_GetNextEntry(wxConfigBase
*self
,long index
){
1123 cont
= self
->GetNextEntry(value
, index
);
1124 return __EnumerationHelper(cont
, value
, index
);
1126 long wxConfigBase_ReadInt(wxConfigBase
*self
,wxString
const &key
,long defaultVal
){
1128 self
->Read(key
, &rv
, defaultVal
);
1132 SWIGSTATICINLINE(double)
1133 SWIG_AsDouble(PyObject
*obj
)
1135 if (PyNumber_Check(obj
))
1136 return PyFloat_AsDouble(obj
);
1138 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
1139 obj
->ob_type
->tp_name
);
1140 PyErr_SetObject(PyExc_TypeError
, errmsg
);
1147 SWIGSTATICINLINE(int)
1148 SWIG_CheckDouble(PyObject
* obj
)
1151 if (PyErr_Occurred()) {
1159 double wxConfigBase_ReadFloat(wxConfigBase
*self
,wxString
const &key
,double defaultVal
){
1161 self
->Read(key
, &rv
, defaultVal
);
1164 bool wxConfigBase_ReadBool(wxConfigBase
*self
,wxString
const &key
,bool defaultVal
){
1166 self
->Read(key
, &rv
, defaultVal
);
1170 #include <wx/datetime.h>
1173 static const wxString
wxPyDateFormatStr(wxT("%c"));
1174 static const wxString
wxPyTimeSpanFormatStr(wxT("%H:%M:%S"));
1176 #define LOCAL_TZ wxDateTime::Local
1179 #if UINT_MAX < LONG_MAX
1180 #define SWIG_FromUnsignedInt SWIG_FromLong
1182 #define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
1185 wxDateTime
wxDateTime___add____SWIG_0(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
1186 wxDateTime
wxDateTime___add____SWIG_1(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
1187 wxTimeSpan
wxDateTime___sub____SWIG_0(wxDateTime
*self
,wxDateTime
const &other
){ return *self
- other
; }
1188 wxDateTime
wxDateTime___sub____SWIG_1(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
1189 wxDateTime
wxDateTime___sub____SWIG_2(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
- other
; }
1190 bool wxDateTime___lt__(wxDateTime
*self
,wxDateTime
const *other
){
1191 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
< other
;
1192 return (*self
< *other
);
1194 bool wxDateTime___le__(wxDateTime
*self
,wxDateTime
const *other
){
1195 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
<= other
;
1196 return (*self
<= *other
);
1198 bool wxDateTime___gt__(wxDateTime
*self
,wxDateTime
const *other
){
1199 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
> other
;
1200 return (*self
> *other
);
1202 bool wxDateTime___ge__(wxDateTime
*self
,wxDateTime
const *other
){
1203 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
>= other
;
1204 return (*self
>= *other
);
1206 bool wxDateTime___eq__(wxDateTime
*self
,wxDateTime
const *other
){
1207 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
== other
;
1208 return (*self
== *other
);
1210 bool wxDateTime___ne__(wxDateTime
*self
,wxDateTime
const *other
){
1211 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
!= other
;
1212 return (*self
!= *other
);
1214 int wxDateTime_ParseRfc822Date(wxDateTime
*self
,wxString
const &date
){
1216 const wxChar
* _date
= date
;
1217 rv
= self
->ParseRfc822Date(_date
);
1218 if (rv
== NULL
) return -1;
1221 int wxDateTime_ParseFormat(wxDateTime
*self
,wxString
const &date
,wxString
const &format
,wxDateTime
const &dateDef
){
1223 const wxChar
* _date
= date
;
1224 rv
= self
->ParseFormat(_date
, format
, dateDef
);
1225 if (rv
== NULL
) return -1;
1228 int wxDateTime_ParseDateTime(wxDateTime
*self
,wxString
const &datetime
){
1230 const wxChar
* _datetime
= datetime
;
1231 rv
= self
->ParseDateTime(_datetime
);
1232 if (rv
== NULL
) return -1;
1233 return rv
- _datetime
;
1235 int wxDateTime_ParseDate(wxDateTime
*self
,wxString
const &date
){
1237 const wxChar
* _date
= date
;
1238 rv
= self
->ParseDate(_date
);
1239 if (rv
== NULL
) return -1;
1242 int wxDateTime_ParseTime(wxDateTime
*self
,wxString
const &time
){
1244 const wxChar
* _time
= time
;
1245 rv
= self
->ParseTime(_time
);
1246 if (rv
== NULL
) return -1;
1249 wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
1250 wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
1251 wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
){ return *self
* n
; }
1252 wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
){ return n
* *self
; }
1253 bool wxTimeSpan___lt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
< *other
) : False
; }
1254 bool wxTimeSpan___le__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
<= *other
) : False
; }
1255 bool wxTimeSpan___gt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
> *other
) : True
; }
1256 bool wxTimeSpan___ge__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
>= *other
) : True
; }
1257 bool wxTimeSpan___eq__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
== *other
) : False
; }
1258 bool wxTimeSpan___ne__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
!= *other
) : True
; }
1259 wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
1260 wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
- other
; }
1261 wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
){ return *self
* n
; }
1262 wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
){ return n
* *self
; }
1263 bool wxDateSpan___eq__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
== *other
) : False
; }
1264 bool wxDateSpan___ne__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
!= *other
) : True
; }
1266 #include <wx/dataobj.h>
1268 // Create a new class for wxPython to use
1269 class wxPyDataObjectSimple
: public wxDataObjectSimple
{
1271 wxPyDataObjectSimple(const wxDataFormat
& format
= wxFormatInvalid
)
1272 : wxDataObjectSimple(format
) {}
1274 DEC_PYCALLBACK_SIZET__const(GetDataSize
);
1275 bool GetDataHere(void *buf
) const;
1276 bool SetData(size_t len
, const void *buf
) const;
1280 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple
, wxDataObjectSimple
, GetDataSize
);
1282 bool wxPyDataObjectSimple::GetDataHere(void *buf
) const {
1283 // We need to get the data for this object and write it to buf. I think
1284 // the best way to do this for wxPython is to have the Python method
1285 // return either a string or None and then act appropriately with the
1289 bool blocked
= wxPyBeginBlockThreads();
1290 if (wxPyCBH_findCallback(m_myInst
, "GetDataHere")) {
1292 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1294 rval
= (ro
!= Py_None
&& PyString_Check(ro
));
1296 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
));
1300 wxPyEndBlockThreads(blocked
);
1304 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) const{
1305 // For this one we simply need to make a string from buf and len
1306 // and send it to the Python method.
1308 bool blocked
= wxPyBeginBlockThreads();
1309 if (wxPyCBH_findCallback(m_myInst
, "SetData")) {
1310 PyObject
* data
= PyString_FromStringAndSize((char*)buf
, len
);
1311 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", data
));
1314 wxPyEndBlockThreads(blocked
);
1318 // Create a new class for wxPython to use
1319 class wxPyTextDataObject
: public wxTextDataObject
{
1321 wxPyTextDataObject(const wxString
& text
= wxPyEmptyString
)
1322 : wxTextDataObject(text
) {}
1324 DEC_PYCALLBACK_SIZET__const(GetTextLength
);
1325 DEC_PYCALLBACK_STRING__const(GetText
);
1326 DEC_PYCALLBACK__STRING(SetText
);
1330 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
);
1331 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject
, wxTextDataObject
, GetText
);
1332 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
);
1335 // Create a new class for wxPython to use
1336 class wxPyBitmapDataObject
: public wxBitmapDataObject
{
1338 wxPyBitmapDataObject(const wxBitmap
& bitmap
= wxNullBitmap
)
1339 : wxBitmapDataObject(bitmap
) {}
1341 wxBitmap
GetBitmap() const;
1342 void SetBitmap(const wxBitmap
& bitmap
);
1346 wxBitmap
wxPyBitmapDataObject::GetBitmap() const {
1347 wxBitmap
* rval
= &wxNullBitmap
;
1348 bool blocked
= wxPyBeginBlockThreads();
1349 if (wxPyCBH_findCallback(m_myInst
, "GetBitmap")) {
1352 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1354 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxBitmap")))
1359 wxPyEndBlockThreads(blocked
);
1363 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) {
1364 bool blocked
= wxPyBeginBlockThreads();
1365 if (wxPyCBH_findCallback(m_myInst
, "SetBitmap")) {
1366 PyObject
* bo
= wxPyConstructObject((void*)&bitmap
, wxT("wxBitmap"), False
);
1367 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", bo
));
1370 wxPyEndBlockThreads(blocked
);
1373 void wxCustomDataObject_TakeData(wxCustomDataObject
*self
,PyObject
*data
){
1374 if (PyString_Check(data
)) {
1375 // for Python we just call SetData here since we always need it to make a copy.
1376 self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1379 // raise a TypeError if not a string
1380 PyErr_SetString(PyExc_TypeError
, "String expected.");
1383 bool wxCustomDataObject_SetData(wxCustomDataObject
*self
,PyObject
*data
){
1384 if (PyString_Check(data
)) {
1385 return self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1388 // raise a TypeError if not a string
1389 PyErr_SetString(PyExc_TypeError
, "String expected.");
1393 PyObject
*wxCustomDataObject_GetData(wxCustomDataObject
*self
){
1394 return PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize());
1397 #include <wx/metafile.h>
1400 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
1403 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
1404 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
1405 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
1406 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
1407 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
1410 class wxPyTextDropTarget
: public wxTextDropTarget
{
1412 wxPyTextDropTarget() {}
1414 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
1416 DEC_PYCALLBACK__(OnLeave
);
1417 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1418 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1419 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
1420 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1425 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
1426 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
1427 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
1428 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
1429 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
1430 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
1434 class wxPyFileDropTarget
: public wxFileDropTarget
{
1436 wxPyFileDropTarget() {}
1438 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
1440 DEC_PYCALLBACK__(OnLeave
);
1441 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1442 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1443 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
1444 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1449 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
1450 const wxArrayString
& filenames
) {
1452 bool blocked
= wxPyBeginBlockThreads();
1453 if (wxPyCBH_findCallback(m_myInst
, "OnDropFiles")) {
1454 PyObject
* list
= wxArrayString2PyList_helper(filenames
);
1455 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",x
,y
,list
));
1458 wxPyEndBlockThreads(blocked
);
1464 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
1465 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
1466 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
1467 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
1468 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
1473 bool wxClipboardLocker___nonzero__(wxClipboardLocker
*self
){ return !!(*self
); }
1475 #include "wx/display.h"
1477 bool wxVideoMode___eq__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
== *other
) : False
; }
1478 bool wxVideoMode___ne__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
!= *other
) : True
; }
1479 PyObject
*wxDisplay_GetModes(wxDisplay
*self
,wxVideoMode
const &mode
){
1480 PyObject
* pyList
= NULL
;
1481 wxArrayVideoModes arr
= self
->GetModes(mode
);
1482 bool blocked
= wxPyBeginBlockThreads();
1483 pyList
= PyList_New(0);
1484 for (int i
=0; i
< arr
.GetCount(); i
++) {
1485 wxVideoMode
* m
= new wxVideoMode(arr
.Item(i
));
1486 PyObject
* pyObj
= wxPyConstructObject(m
, wxT("wxVideoMode"), true);
1487 PyList_Append(pyList
, pyObj
);
1489 wxPyEndBlockThreads(blocked
);
1495 static PyObject
*_wrap_SystemSettings_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1496 PyObject
*resultobj
;
1499 PyObject
* obj0
= 0 ;
1501 (char *) "index", NULL
1504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetColour",kwnames
,&obj0
)) goto fail
;
1505 arg1
= (wxSystemColour
) SWIG_AsInt(obj0
);
1506 if (PyErr_Occurred()) SWIG_fail
;
1508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1509 result
= wxSystemSettings::GetColour((wxSystemColour
)arg1
);
1511 wxPyEndAllowThreads(__tstate
);
1512 if (PyErr_Occurred()) SWIG_fail
;
1515 wxColour
* resultptr
;
1516 resultptr
= new wxColour((wxColour
&) result
);
1517 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
1525 static PyObject
*_wrap_SystemSettings_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1526 PyObject
*resultobj
;
1529 PyObject
* obj0
= 0 ;
1531 (char *) "index", NULL
1534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetFont",kwnames
,&obj0
)) goto fail
;
1535 arg1
= (wxSystemFont
) SWIG_AsInt(obj0
);
1536 if (PyErr_Occurred()) SWIG_fail
;
1538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1539 result
= wxSystemSettings::GetFont((wxSystemFont
)arg1
);
1541 wxPyEndAllowThreads(__tstate
);
1542 if (PyErr_Occurred()) SWIG_fail
;
1546 resultptr
= new wxFont((wxFont
&) result
);
1547 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
1555 static PyObject
*_wrap_SystemSettings_GetMetric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1556 PyObject
*resultobj
;
1559 PyObject
* obj0
= 0 ;
1561 (char *) "index", NULL
1564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetMetric",kwnames
,&obj0
)) goto fail
;
1565 arg1
= (wxSystemMetric
) SWIG_AsInt(obj0
);
1566 if (PyErr_Occurred()) SWIG_fail
;
1568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1569 result
= (int)wxSystemSettings::GetMetric((wxSystemMetric
)arg1
);
1571 wxPyEndAllowThreads(__tstate
);
1572 if (PyErr_Occurred()) SWIG_fail
;
1574 resultobj
= SWIG_FromInt((int)result
);
1581 static PyObject
*_wrap_SystemSettings_HasFeature(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1582 PyObject
*resultobj
;
1585 PyObject
* obj0
= 0 ;
1587 (char *) "index", NULL
1590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_HasFeature",kwnames
,&obj0
)) goto fail
;
1591 arg1
= (wxSystemFeature
) SWIG_AsInt(obj0
);
1592 if (PyErr_Occurred()) SWIG_fail
;
1594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1595 result
= (bool)wxSystemSettings::HasFeature((wxSystemFeature
)arg1
);
1597 wxPyEndAllowThreads(__tstate
);
1598 if (PyErr_Occurred()) SWIG_fail
;
1601 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1609 static PyObject
*_wrap_SystemSettings_GetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1610 PyObject
*resultobj
;
1616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SystemSettings_GetScreenType",kwnames
)) goto fail
;
1618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1619 result
= (int)wxSystemSettings::GetScreenType();
1621 wxPyEndAllowThreads(__tstate
);
1622 if (PyErr_Occurred()) SWIG_fail
;
1624 resultobj
= SWIG_FromInt((int)result
);
1631 static PyObject
*_wrap_SystemSettings_SetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1632 PyObject
*resultobj
;
1634 PyObject
* obj0
= 0 ;
1636 (char *) "screen", NULL
1639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_SetScreenType",kwnames
,&obj0
)) goto fail
;
1640 arg1
= (wxSystemScreenType
) SWIG_AsInt(obj0
);
1641 if (PyErr_Occurred()) SWIG_fail
;
1643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1644 wxSystemSettings::SetScreenType((wxSystemScreenType
)arg1
);
1646 wxPyEndAllowThreads(__tstate
);
1647 if (PyErr_Occurred()) SWIG_fail
;
1649 Py_INCREF(Py_None
); resultobj
= Py_None
;
1656 static PyObject
* SystemSettings_swigregister(PyObject
*self
, PyObject
*args
) {
1658 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1659 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings
, obj
);
1661 return Py_BuildValue((char *)"");
1663 static PyObject
*_wrap_new_SystemOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1664 PyObject
*resultobj
;
1665 wxSystemOptions
*result
;
1670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SystemOptions",kwnames
)) goto fail
;
1672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1673 result
= (wxSystemOptions
*)new wxSystemOptions();
1675 wxPyEndAllowThreads(__tstate
);
1676 if (PyErr_Occurred()) SWIG_fail
;
1678 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSystemOptions
, 1);
1685 static PyObject
*_wrap_SystemOptions_SetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1686 PyObject
*resultobj
;
1687 wxString
*arg1
= 0 ;
1688 wxString
*arg2
= 0 ;
1689 bool temp1
= False
;
1690 bool temp2
= False
;
1691 PyObject
* obj0
= 0 ;
1692 PyObject
* obj1
= 0 ;
1694 (char *) "name",(char *) "value", NULL
1697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
1699 arg1
= wxString_in_helper(obj0
);
1700 if (arg1
== NULL
) SWIG_fail
;
1704 arg2
= wxString_in_helper(obj1
);
1705 if (arg2
== NULL
) SWIG_fail
;
1709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1710 wxSystemOptions::SetOption((wxString
const &)*arg1
,(wxString
const &)*arg2
);
1712 wxPyEndAllowThreads(__tstate
);
1713 if (PyErr_Occurred()) SWIG_fail
;
1715 Py_INCREF(Py_None
); resultobj
= Py_None
;
1738 static PyObject
*_wrap_SystemOptions_SetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1739 PyObject
*resultobj
;
1740 wxString
*arg1
= 0 ;
1742 bool temp1
= False
;
1743 PyObject
* obj0
= 0 ;
1744 PyObject
* obj1
= 0 ;
1746 (char *) "name",(char *) "value", NULL
1749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
1751 arg1
= wxString_in_helper(obj0
);
1752 if (arg1
== NULL
) SWIG_fail
;
1755 arg2
= (int) SWIG_AsInt(obj1
);
1756 if (PyErr_Occurred()) SWIG_fail
;
1758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1759 wxSystemOptions::SetOption((wxString
const &)*arg1
,arg2
);
1761 wxPyEndAllowThreads(__tstate
);
1762 if (PyErr_Occurred()) SWIG_fail
;
1764 Py_INCREF(Py_None
); resultobj
= Py_None
;
1779 static PyObject
*_wrap_SystemOptions_GetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1780 PyObject
*resultobj
;
1781 wxString
*arg1
= 0 ;
1783 bool temp1
= False
;
1784 PyObject
* obj0
= 0 ;
1786 (char *) "name", NULL
1789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) goto fail
;
1791 arg1
= wxString_in_helper(obj0
);
1792 if (arg1
== NULL
) SWIG_fail
;
1796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1797 result
= wxSystemOptions::GetOption((wxString
const &)*arg1
);
1799 wxPyEndAllowThreads(__tstate
);
1800 if (PyErr_Occurred()) SWIG_fail
;
1804 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1806 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1823 static PyObject
*_wrap_SystemOptions_GetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1824 PyObject
*resultobj
;
1825 wxString
*arg1
= 0 ;
1827 bool temp1
= False
;
1828 PyObject
* obj0
= 0 ;
1830 (char *) "name", NULL
1833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) goto fail
;
1835 arg1
= wxString_in_helper(obj0
);
1836 if (arg1
== NULL
) SWIG_fail
;
1840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1841 result
= (int)wxSystemOptions::GetOptionInt((wxString
const &)*arg1
);
1843 wxPyEndAllowThreads(__tstate
);
1844 if (PyErr_Occurred()) SWIG_fail
;
1846 resultobj
= SWIG_FromInt((int)result
);
1861 static PyObject
*_wrap_SystemOptions_HasOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1862 PyObject
*resultobj
;
1863 wxString
*arg1
= 0 ;
1865 bool temp1
= False
;
1866 PyObject
* obj0
= 0 ;
1868 (char *) "name", NULL
1871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) goto fail
;
1873 arg1
= wxString_in_helper(obj0
);
1874 if (arg1
== NULL
) SWIG_fail
;
1878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1879 result
= (bool)wxSystemOptions::HasOption((wxString
const &)*arg1
);
1881 wxPyEndAllowThreads(__tstate
);
1882 if (PyErr_Occurred()) SWIG_fail
;
1885 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1901 static PyObject
* SystemOptions_swigregister(PyObject
*self
, PyObject
*args
) {
1903 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1904 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions
, obj
);
1906 return Py_BuildValue((char *)"");
1908 static int _wrap_FileSelectorPromptStr_set(PyObject
*_val
) {
1909 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
1914 static PyObject
*_wrap_FileSelectorPromptStr_get() {
1919 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
1921 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
1928 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*_val
) {
1929 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
1934 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
1939 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
1941 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
1948 static int _wrap_DirSelectorPromptStr_set(PyObject
*_val
) {
1949 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
1954 static PyObject
*_wrap_DirSelectorPromptStr_get() {
1959 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
1961 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
1968 static PyObject
*_wrap_NewId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1969 PyObject
*resultobj
;
1975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewId",kwnames
)) goto fail
;
1977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1978 result
= (long)wxNewId();
1980 wxPyEndAllowThreads(__tstate
);
1981 if (PyErr_Occurred()) SWIG_fail
;
1983 resultobj
= SWIG_FromLong((long)result
);
1990 static PyObject
*_wrap_RegisterId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1991 PyObject
*resultobj
;
1993 PyObject
* obj0
= 0 ;
1998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegisterId",kwnames
,&obj0
)) goto fail
;
1999 arg1
= (long) SWIG_AsLong(obj0
);
2000 if (PyErr_Occurred()) SWIG_fail
;
2002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2005 wxPyEndAllowThreads(__tstate
);
2006 if (PyErr_Occurred()) SWIG_fail
;
2008 Py_INCREF(Py_None
); resultobj
= Py_None
;
2015 static PyObject
*_wrap_GetCurrentId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2016 PyObject
*resultobj
;
2022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentId",kwnames
)) goto fail
;
2024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2025 result
= (long)wxGetCurrentId();
2027 wxPyEndAllowThreads(__tstate
);
2028 if (PyErr_Occurred()) SWIG_fail
;
2030 resultobj
= SWIG_FromLong((long)result
);
2037 static PyObject
*_wrap_Bell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2038 PyObject
*resultobj
;
2043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Bell",kwnames
)) goto fail
;
2045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2048 wxPyEndAllowThreads(__tstate
);
2049 if (PyErr_Occurred()) SWIG_fail
;
2051 Py_INCREF(Py_None
); resultobj
= Py_None
;
2058 static PyObject
*_wrap_EndBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2059 PyObject
*resultobj
;
2064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EndBusyCursor",kwnames
)) goto fail
;
2066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2069 wxPyEndAllowThreads(__tstate
);
2070 if (PyErr_Occurred()) SWIG_fail
;
2072 Py_INCREF(Py_None
); resultobj
= Py_None
;
2079 static PyObject
*_wrap_GetElapsedTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2080 PyObject
*resultobj
;
2081 bool arg1
= (bool) True
;
2083 PyObject
* obj0
= 0 ;
2085 (char *) "resetTimer", NULL
2088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) goto fail
;
2090 arg1
= (bool) SWIG_AsBool(obj0
);
2091 if (PyErr_Occurred()) SWIG_fail
;
2094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2095 result
= (long)wxGetElapsedTime(arg1
);
2097 wxPyEndAllowThreads(__tstate
);
2098 if (PyErr_Occurred()) SWIG_fail
;
2100 resultobj
= SWIG_FromLong((long)result
);
2107 static PyObject
*_wrap_GetMousePosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2108 PyObject
*resultobj
;
2109 int *arg1
= (int *) 0 ;
2110 int *arg2
= (int *) 0 ;
2119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetMousePosition",kwnames
)) goto fail
;
2121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2122 wxGetMousePosition(arg1
,arg2
);
2124 wxPyEndAllowThreads(__tstate
);
2125 if (PyErr_Occurred()) SWIG_fail
;
2127 Py_INCREF(Py_None
); resultobj
= Py_None
;
2129 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
2130 resultobj
= t_output_helper(resultobj
,o
);
2133 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
2134 resultobj
= t_output_helper(resultobj
,o
);
2142 static PyObject
*_wrap_IsBusy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2143 PyObject
*resultobj
;
2149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IsBusy",kwnames
)) goto fail
;
2151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2152 result
= (bool)wxIsBusy();
2154 wxPyEndAllowThreads(__tstate
);
2155 if (PyErr_Occurred()) SWIG_fail
;
2158 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2166 static PyObject
*_wrap_Now(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2167 PyObject
*resultobj
;
2173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Now",kwnames
)) goto fail
;
2175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2178 wxPyEndAllowThreads(__tstate
);
2179 if (PyErr_Occurred()) SWIG_fail
;
2183 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2185 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2194 static PyObject
*_wrap_Shell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2195 PyObject
*resultobj
;
2196 wxString
const &arg1_defvalue
= wxPyEmptyString
;
2197 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2199 bool temp1
= False
;
2200 PyObject
* obj0
= 0 ;
2202 (char *) "command", NULL
2205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) goto fail
;
2208 arg1
= wxString_in_helper(obj0
);
2209 if (arg1
== NULL
) SWIG_fail
;
2214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2215 result
= (bool)wxShell((wxString
const &)*arg1
);
2217 wxPyEndAllowThreads(__tstate
);
2218 if (PyErr_Occurred()) SWIG_fail
;
2221 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2237 static PyObject
*_wrap_StartTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2238 PyObject
*resultobj
;
2243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StartTimer",kwnames
)) goto fail
;
2245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2248 wxPyEndAllowThreads(__tstate
);
2249 if (PyErr_Occurred()) SWIG_fail
;
2251 Py_INCREF(Py_None
); resultobj
= Py_None
;
2258 static PyObject
*_wrap_GetOsVersion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2259 PyObject
*resultobj
;
2260 int *arg1
= (int *) 0 ;
2261 int *arg2
= (int *) 0 ;
2271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsVersion",kwnames
)) goto fail
;
2273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2274 result
= (int)wxGetOsVersion(arg1
,arg2
);
2276 wxPyEndAllowThreads(__tstate
);
2277 if (PyErr_Occurred()) SWIG_fail
;
2279 resultobj
= SWIG_FromInt((int)result
);
2281 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
2282 resultobj
= t_output_helper(resultobj
,o
);
2285 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
2286 resultobj
= t_output_helper(resultobj
,o
);
2294 static PyObject
*_wrap_GetOsDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2295 PyObject
*resultobj
;
2301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsDescription",kwnames
)) goto fail
;
2303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2304 result
= wxGetOsDescription();
2306 wxPyEndAllowThreads(__tstate
);
2307 if (PyErr_Occurred()) SWIG_fail
;
2311 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2313 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2322 static PyObject
*_wrap_GetFreeMemory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2323 PyObject
*resultobj
;
2329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFreeMemory",kwnames
)) goto fail
;
2331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2332 result
= (long)wxGetFreeMemory();
2334 wxPyEndAllowThreads(__tstate
);
2335 if (PyErr_Occurred()) SWIG_fail
;
2337 resultobj
= SWIG_FromLong((long)result
);
2344 static PyObject
*_wrap_Shutdown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2345 PyObject
*resultobj
;
2348 PyObject
* obj0
= 0 ;
2350 (char *) "wFlags", NULL
2353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Shutdown",kwnames
,&obj0
)) goto fail
;
2354 arg1
= (wxShutdownFlags
) SWIG_AsInt(obj0
);
2355 if (PyErr_Occurred()) SWIG_fail
;
2357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2358 result
= (bool)wxShutdown((wxShutdownFlags
)arg1
);
2360 wxPyEndAllowThreads(__tstate
);
2361 if (PyErr_Occurred()) SWIG_fail
;
2364 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2372 static PyObject
*_wrap_Sleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2373 PyObject
*resultobj
;
2375 PyObject
* obj0
= 0 ;
2377 (char *) "secs", NULL
2380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sleep",kwnames
,&obj0
)) goto fail
;
2381 arg1
= (int) SWIG_AsInt(obj0
);
2382 if (PyErr_Occurred()) SWIG_fail
;
2384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2387 wxPyEndAllowThreads(__tstate
);
2388 if (PyErr_Occurred()) SWIG_fail
;
2390 Py_INCREF(Py_None
); resultobj
= Py_None
;
2397 static PyObject
*_wrap_Usleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2398 PyObject
*resultobj
;
2399 unsigned long arg1
;
2400 PyObject
* obj0
= 0 ;
2402 (char *) "milliseconds", NULL
2405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Usleep",kwnames
,&obj0
)) goto fail
;
2406 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
2407 if (PyErr_Occurred()) SWIG_fail
;
2409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2412 wxPyEndAllowThreads(__tstate
);
2413 if (PyErr_Occurred()) SWIG_fail
;
2415 Py_INCREF(Py_None
); resultobj
= Py_None
;
2422 static PyObject
*_wrap_EnableTopLevelWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2423 PyObject
*resultobj
;
2425 PyObject
* obj0
= 0 ;
2427 (char *) "enable", NULL
2430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) goto fail
;
2431 arg1
= (bool) SWIG_AsBool(obj0
);
2432 if (PyErr_Occurred()) SWIG_fail
;
2434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2435 wxEnableTopLevelWindows(arg1
);
2437 wxPyEndAllowThreads(__tstate
);
2438 if (PyErr_Occurred()) SWIG_fail
;
2440 Py_INCREF(Py_None
); resultobj
= Py_None
;
2447 static PyObject
*_wrap_StripMenuCodes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2448 PyObject
*resultobj
;
2449 wxString
*arg1
= 0 ;
2451 bool temp1
= False
;
2452 PyObject
* obj0
= 0 ;
2457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) goto fail
;
2459 arg1
= wxString_in_helper(obj0
);
2460 if (arg1
== NULL
) SWIG_fail
;
2464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2465 result
= wxStripMenuCodes((wxString
const &)*arg1
);
2467 wxPyEndAllowThreads(__tstate
);
2468 if (PyErr_Occurred()) SWIG_fail
;
2472 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2474 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2491 static PyObject
*_wrap_GetEmailAddress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2492 PyObject
*resultobj
;
2498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetEmailAddress",kwnames
)) goto fail
;
2500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2501 result
= wxGetEmailAddress();
2503 wxPyEndAllowThreads(__tstate
);
2504 if (PyErr_Occurred()) SWIG_fail
;
2508 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2510 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2519 static PyObject
*_wrap_GetHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2520 PyObject
*resultobj
;
2526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHostName",kwnames
)) goto fail
;
2528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2529 result
= wxGetHostName();
2531 wxPyEndAllowThreads(__tstate
);
2532 if (PyErr_Occurred()) SWIG_fail
;
2536 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2538 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2547 static PyObject
*_wrap_GetFullHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2548 PyObject
*resultobj
;
2554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFullHostName",kwnames
)) goto fail
;
2556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2557 result
= wxGetFullHostName();
2559 wxPyEndAllowThreads(__tstate
);
2560 if (PyErr_Occurred()) SWIG_fail
;
2564 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2566 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2575 static PyObject
*_wrap_GetUserId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2576 PyObject
*resultobj
;
2582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserId",kwnames
)) goto fail
;
2584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2585 result
= wxGetUserId();
2587 wxPyEndAllowThreads(__tstate
);
2588 if (PyErr_Occurred()) SWIG_fail
;
2592 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2594 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2603 static PyObject
*_wrap_GetUserName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2604 PyObject
*resultobj
;
2610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserName",kwnames
)) goto fail
;
2612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2613 result
= wxGetUserName();
2615 wxPyEndAllowThreads(__tstate
);
2616 if (PyErr_Occurred()) SWIG_fail
;
2620 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2622 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2631 static PyObject
*_wrap_GetHomeDir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2632 PyObject
*resultobj
;
2638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHomeDir",kwnames
)) goto fail
;
2640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2641 result
= wxGetHomeDir();
2643 wxPyEndAllowThreads(__tstate
);
2644 if (PyErr_Occurred()) SWIG_fail
;
2648 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2650 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2659 static PyObject
*_wrap_GetUserHome(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2660 PyObject
*resultobj
;
2661 wxString
const &arg1_defvalue
= wxPyEmptyString
;
2662 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2664 bool temp1
= False
;
2665 PyObject
* obj0
= 0 ;
2667 (char *) "user", NULL
2670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) goto fail
;
2673 arg1
= wxString_in_helper(obj0
);
2674 if (arg1
== NULL
) SWIG_fail
;
2679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2680 result
= wxGetUserHome((wxString
const &)*arg1
);
2682 wxPyEndAllowThreads(__tstate
);
2683 if (PyErr_Occurred()) SWIG_fail
;
2687 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2689 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2706 static PyObject
*_wrap_GetProcessId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2707 PyObject
*resultobj
;
2708 unsigned long result
;
2713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetProcessId",kwnames
)) goto fail
;
2715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2716 result
= (unsigned long)wxGetProcessId();
2718 wxPyEndAllowThreads(__tstate
);
2719 if (PyErr_Occurred()) SWIG_fail
;
2721 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
2728 static PyObject
*_wrap_Trap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2729 PyObject
*resultobj
;
2734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Trap",kwnames
)) goto fail
;
2736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2739 wxPyEndAllowThreads(__tstate
);
2740 if (PyErr_Occurred()) SWIG_fail
;
2742 Py_INCREF(Py_None
); resultobj
= Py_None
;
2749 static PyObject
*_wrap_FileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2750 PyObject
*resultobj
;
2751 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
2752 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2753 wxString
const &arg2_defvalue
= wxPyEmptyString
;
2754 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
2755 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2756 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2757 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2758 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2759 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
2760 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
2761 int arg6
= (int) 0 ;
2762 wxWindow
*arg7
= (wxWindow
*) NULL
;
2763 int arg8
= (int) -1 ;
2764 int arg9
= (int) -1 ;
2766 bool temp1
= False
;
2767 bool temp2
= False
;
2768 bool temp3
= False
;
2769 bool temp4
= False
;
2770 bool temp5
= False
;
2771 PyObject
* obj0
= 0 ;
2772 PyObject
* obj1
= 0 ;
2773 PyObject
* obj2
= 0 ;
2774 PyObject
* obj3
= 0 ;
2775 PyObject
* obj4
= 0 ;
2776 PyObject
* obj5
= 0 ;
2777 PyObject
* obj6
= 0 ;
2778 PyObject
* obj7
= 0 ;
2779 PyObject
* obj8
= 0 ;
2781 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
2784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOOOO:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2787 arg1
= wxString_in_helper(obj0
);
2788 if (arg1
== NULL
) SWIG_fail
;
2794 arg2
= wxString_in_helper(obj1
);
2795 if (arg2
== NULL
) SWIG_fail
;
2801 arg3
= wxString_in_helper(obj2
);
2802 if (arg3
== NULL
) SWIG_fail
;
2808 arg4
= wxString_in_helper(obj3
);
2809 if (arg4
== NULL
) SWIG_fail
;
2815 arg5
= wxString_in_helper(obj4
);
2816 if (arg5
== NULL
) SWIG_fail
;
2821 arg6
= (int) SWIG_AsInt(obj5
);
2822 if (PyErr_Occurred()) SWIG_fail
;
2825 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxWindow
,
2826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2829 arg8
= (int) SWIG_AsInt(obj7
);
2830 if (PyErr_Occurred()) SWIG_fail
;
2833 arg9
= (int) SWIG_AsInt(obj8
);
2834 if (PyErr_Occurred()) SWIG_fail
;
2837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2838 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
2840 wxPyEndAllowThreads(__tstate
);
2841 if (PyErr_Occurred()) SWIG_fail
;
2845 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2847 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2896 static PyObject
*_wrap_LoadFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2897 PyObject
*resultobj
;
2898 wxString
*arg1
= 0 ;
2899 wxString
*arg2
= 0 ;
2900 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2901 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2902 wxWindow
*arg4
= (wxWindow
*) NULL
;
2904 bool temp1
= False
;
2905 bool temp2
= False
;
2906 bool temp3
= False
;
2907 PyObject
* obj0
= 0 ;
2908 PyObject
* obj1
= 0 ;
2909 PyObject
* obj2
= 0 ;
2910 PyObject
* obj3
= 0 ;
2912 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
2915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2917 arg1
= wxString_in_helper(obj0
);
2918 if (arg1
== NULL
) SWIG_fail
;
2922 arg2
= wxString_in_helper(obj1
);
2923 if (arg2
== NULL
) SWIG_fail
;
2928 arg3
= wxString_in_helper(obj2
);
2929 if (arg3
== NULL
) SWIG_fail
;
2934 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
2935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2939 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
2941 wxPyEndAllowThreads(__tstate
);
2942 if (PyErr_Occurred()) SWIG_fail
;
2946 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2948 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2981 static PyObject
*_wrap_SaveFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2982 PyObject
*resultobj
;
2983 wxString
*arg1
= 0 ;
2984 wxString
*arg2
= 0 ;
2985 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2986 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2987 wxWindow
*arg4
= (wxWindow
*) NULL
;
2989 bool temp1
= False
;
2990 bool temp2
= False
;
2991 bool temp3
= False
;
2992 PyObject
* obj0
= 0 ;
2993 PyObject
* obj1
= 0 ;
2994 PyObject
* obj2
= 0 ;
2995 PyObject
* obj3
= 0 ;
2997 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
3000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3002 arg1
= wxString_in_helper(obj0
);
3003 if (arg1
== NULL
) SWIG_fail
;
3007 arg2
= wxString_in_helper(obj1
);
3008 if (arg2
== NULL
) SWIG_fail
;
3013 arg3
= wxString_in_helper(obj2
);
3014 if (arg3
== NULL
) SWIG_fail
;
3019 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3024 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3026 wxPyEndAllowThreads(__tstate
);
3027 if (PyErr_Occurred()) SWIG_fail
;
3031 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3033 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3066 static PyObject
*_wrap_DirSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3067 PyObject
*resultobj
;
3068 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
3069 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3070 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3071 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3072 long arg3
= (long) wxDD_DEFAULT_STYLE
;
3073 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3074 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3075 wxWindow
*arg5
= (wxWindow
*) NULL
;
3077 bool temp1
= False
;
3078 bool temp2
= False
;
3080 PyObject
* obj0
= 0 ;
3081 PyObject
* obj1
= 0 ;
3082 PyObject
* obj2
= 0 ;
3083 PyObject
* obj3
= 0 ;
3084 PyObject
* obj4
= 0 ;
3086 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
3089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:DirSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3092 arg1
= wxString_in_helper(obj0
);
3093 if (arg1
== NULL
) SWIG_fail
;
3099 arg2
= wxString_in_helper(obj1
);
3100 if (arg2
== NULL
) SWIG_fail
;
3105 arg3
= (long) SWIG_AsLong(obj2
);
3106 if (PyErr_Occurred()) SWIG_fail
;
3111 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3115 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3120 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
3122 wxPyEndAllowThreads(__tstate
);
3123 if (PyErr_Occurred()) SWIG_fail
;
3127 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3129 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3154 static PyObject
*_wrap_GetTextFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3155 PyObject
*resultobj
;
3156 wxString
*arg1
= 0 ;
3157 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3158 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3159 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3160 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3161 wxWindow
*arg4
= (wxWindow
*) NULL
;
3162 int arg5
= (int) -1 ;
3163 int arg6
= (int) -1 ;
3164 bool arg7
= (bool) True
;
3166 bool temp1
= False
;
3167 bool temp2
= False
;
3168 bool temp3
= False
;
3169 PyObject
* obj0
= 0 ;
3170 PyObject
* obj1
= 0 ;
3171 PyObject
* obj2
= 0 ;
3172 PyObject
* obj3
= 0 ;
3173 PyObject
* obj4
= 0 ;
3174 PyObject
* obj5
= 0 ;
3175 PyObject
* obj6
= 0 ;
3177 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
3180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3182 arg1
= wxString_in_helper(obj0
);
3183 if (arg1
== NULL
) SWIG_fail
;
3188 arg2
= wxString_in_helper(obj1
);
3189 if (arg2
== NULL
) SWIG_fail
;
3195 arg3
= wxString_in_helper(obj2
);
3196 if (arg3
== NULL
) SWIG_fail
;
3201 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3205 arg5
= (int) SWIG_AsInt(obj4
);
3206 if (PyErr_Occurred()) SWIG_fail
;
3209 arg6
= (int) SWIG_AsInt(obj5
);
3210 if (PyErr_Occurred()) SWIG_fail
;
3213 arg7
= (bool) SWIG_AsBool(obj6
);
3214 if (PyErr_Occurred()) SWIG_fail
;
3217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3218 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
3220 wxPyEndAllowThreads(__tstate
);
3221 if (PyErr_Occurred()) SWIG_fail
;
3225 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3227 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3260 static PyObject
*_wrap_GetPasswordFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3261 PyObject
*resultobj
;
3262 wxString
*arg1
= 0 ;
3263 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3264 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3265 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3266 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3267 wxWindow
*arg4
= (wxWindow
*) NULL
;
3269 bool temp1
= False
;
3270 bool temp2
= False
;
3271 bool temp3
= False
;
3272 PyObject
* obj0
= 0 ;
3273 PyObject
* obj1
= 0 ;
3274 PyObject
* obj2
= 0 ;
3275 PyObject
* obj3
= 0 ;
3277 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
3280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3282 arg1
= wxString_in_helper(obj0
);
3283 if (arg1
== NULL
) SWIG_fail
;
3288 arg2
= wxString_in_helper(obj1
);
3289 if (arg2
== NULL
) SWIG_fail
;
3295 arg3
= wxString_in_helper(obj2
);
3296 if (arg3
== NULL
) SWIG_fail
;
3301 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3306 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3308 wxPyEndAllowThreads(__tstate
);
3309 if (PyErr_Occurred()) SWIG_fail
;
3313 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3315 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3348 static PyObject
*_wrap_GetSingleChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3349 PyObject
*resultobj
;
3350 wxString
*arg1
= 0 ;
3351 wxString
*arg2
= 0 ;
3353 wxString
*arg4
= (wxString
*) 0 ;
3354 wxWindow
*arg5
= (wxWindow
*) NULL
;
3355 int arg6
= (int) -1 ;
3356 int arg7
= (int) -1 ;
3357 bool arg8
= (bool) True
;
3358 int arg9
= (int) 150 ;
3359 int arg10
= (int) 200 ;
3361 bool temp1
= False
;
3362 bool temp2
= False
;
3363 PyObject
* obj0
= 0 ;
3364 PyObject
* obj1
= 0 ;
3365 PyObject
* obj2
= 0 ;
3366 PyObject
* obj3
= 0 ;
3367 PyObject
* obj4
= 0 ;
3368 PyObject
* obj5
= 0 ;
3369 PyObject
* obj6
= 0 ;
3370 PyObject
* obj7
= 0 ;
3371 PyObject
* obj8
= 0 ;
3373 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3378 arg1
= wxString_in_helper(obj0
);
3379 if (arg1
== NULL
) SWIG_fail
;
3383 arg2
= wxString_in_helper(obj1
);
3384 if (arg2
== NULL
) SWIG_fail
;
3388 arg3
= PyList_Size(obj2
);
3389 arg4
= wxString_LIST_helper(obj2
);
3390 if (arg4
== NULL
) SWIG_fail
;
3393 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3397 arg6
= (int) SWIG_AsInt(obj4
);
3398 if (PyErr_Occurred()) SWIG_fail
;
3401 arg7
= (int) SWIG_AsInt(obj5
);
3402 if (PyErr_Occurred()) SWIG_fail
;
3405 arg8
= (bool) SWIG_AsBool(obj6
);
3406 if (PyErr_Occurred()) SWIG_fail
;
3409 arg9
= (int) SWIG_AsInt(obj7
);
3410 if (PyErr_Occurred()) SWIG_fail
;
3413 arg10
= (int) SWIG_AsInt(obj8
);
3414 if (PyErr_Occurred()) SWIG_fail
;
3417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3418 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
3420 wxPyEndAllowThreads(__tstate
);
3421 if (PyErr_Occurred()) SWIG_fail
;
3425 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3427 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3439 if (arg4
) delete [] arg4
;
3452 if (arg4
) delete [] arg4
;
3458 static PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3459 PyObject
*resultobj
;
3460 wxString
*arg1
= 0 ;
3461 wxString
*arg2
= 0 ;
3463 wxString
*arg4
= (wxString
*) 0 ;
3464 wxWindow
*arg5
= (wxWindow
*) NULL
;
3465 int arg6
= (int) -1 ;
3466 int arg7
= (int) -1 ;
3467 bool arg8
= (bool) True
;
3468 int arg9
= (int) 150 ;
3469 int arg10
= (int) 200 ;
3471 bool temp1
= False
;
3472 bool temp2
= False
;
3473 PyObject
* obj0
= 0 ;
3474 PyObject
* obj1
= 0 ;
3475 PyObject
* obj2
= 0 ;
3476 PyObject
* obj3
= 0 ;
3477 PyObject
* obj4
= 0 ;
3478 PyObject
* obj5
= 0 ;
3479 PyObject
* obj6
= 0 ;
3480 PyObject
* obj7
= 0 ;
3481 PyObject
* obj8
= 0 ;
3483 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3488 arg1
= wxString_in_helper(obj0
);
3489 if (arg1
== NULL
) SWIG_fail
;
3493 arg2
= wxString_in_helper(obj1
);
3494 if (arg2
== NULL
) SWIG_fail
;
3498 arg3
= PyList_Size(obj2
);
3499 arg4
= wxString_LIST_helper(obj2
);
3500 if (arg4
== NULL
) SWIG_fail
;
3503 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3507 arg6
= (int) SWIG_AsInt(obj4
);
3508 if (PyErr_Occurred()) SWIG_fail
;
3511 arg7
= (int) SWIG_AsInt(obj5
);
3512 if (PyErr_Occurred()) SWIG_fail
;
3515 arg8
= (bool) SWIG_AsBool(obj6
);
3516 if (PyErr_Occurred()) SWIG_fail
;
3519 arg9
= (int) SWIG_AsInt(obj7
);
3520 if (PyErr_Occurred()) SWIG_fail
;
3523 arg10
= (int) SWIG_AsInt(obj8
);
3524 if (PyErr_Occurred()) SWIG_fail
;
3527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3528 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
3530 wxPyEndAllowThreads(__tstate
);
3531 if (PyErr_Occurred()) SWIG_fail
;
3533 resultobj
= SWIG_FromInt((int)result
);
3543 if (arg4
) delete [] arg4
;
3556 if (arg4
) delete [] arg4
;
3562 static PyObject
*_wrap_MessageBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3563 PyObject
*resultobj
;
3564 wxString
*arg1
= 0 ;
3565 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3566 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3567 int arg3
= (int) wxOK
|wxCENTRE
;
3568 wxWindow
*arg4
= (wxWindow
*) NULL
;
3569 int arg5
= (int) -1 ;
3570 int arg6
= (int) -1 ;
3572 bool temp1
= False
;
3573 bool temp2
= False
;
3574 PyObject
* obj0
= 0 ;
3575 PyObject
* obj1
= 0 ;
3576 PyObject
* obj2
= 0 ;
3577 PyObject
* obj3
= 0 ;
3578 PyObject
* obj4
= 0 ;
3579 PyObject
* obj5
= 0 ;
3581 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
3584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:MessageBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
3586 arg1
= wxString_in_helper(obj0
);
3587 if (arg1
== NULL
) SWIG_fail
;
3592 arg2
= wxString_in_helper(obj1
);
3593 if (arg2
== NULL
) SWIG_fail
;
3598 arg3
= (int) SWIG_AsInt(obj2
);
3599 if (PyErr_Occurred()) SWIG_fail
;
3602 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3606 arg5
= (int) SWIG_AsInt(obj4
);
3607 if (PyErr_Occurred()) SWIG_fail
;
3610 arg6
= (int) SWIG_AsInt(obj5
);
3611 if (PyErr_Occurred()) SWIG_fail
;
3614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3615 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
3617 wxPyEndAllowThreads(__tstate
);
3618 if (PyErr_Occurred()) SWIG_fail
;
3620 resultobj
= SWIG_FromInt((int)result
);
3643 static PyObject
*_wrap_GetNumberFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3644 PyObject
*resultobj
;
3645 wxString
*arg1
= 0 ;
3646 wxString
*arg2
= 0 ;
3647 wxString
*arg3
= 0 ;
3649 long arg5
= (long) 0 ;
3650 long arg6
= (long) 100 ;
3651 wxWindow
*arg7
= (wxWindow
*) NULL
;
3652 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
3653 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
3655 bool temp1
= False
;
3656 bool temp2
= False
;
3657 bool temp3
= False
;
3659 PyObject
* obj0
= 0 ;
3660 PyObject
* obj1
= 0 ;
3661 PyObject
* obj2
= 0 ;
3662 PyObject
* obj3
= 0 ;
3663 PyObject
* obj4
= 0 ;
3664 PyObject
* obj5
= 0 ;
3665 PyObject
* obj6
= 0 ;
3666 PyObject
* obj7
= 0 ;
3668 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
3671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3673 arg1
= wxString_in_helper(obj0
);
3674 if (arg1
== NULL
) SWIG_fail
;
3678 arg2
= wxString_in_helper(obj1
);
3679 if (arg2
== NULL
) SWIG_fail
;
3683 arg3
= wxString_in_helper(obj2
);
3684 if (arg3
== NULL
) SWIG_fail
;
3687 arg4
= (long) SWIG_AsLong(obj3
);
3688 if (PyErr_Occurred()) SWIG_fail
;
3690 arg5
= (long) SWIG_AsLong(obj4
);
3691 if (PyErr_Occurred()) SWIG_fail
;
3694 arg6
= (long) SWIG_AsLong(obj5
);
3695 if (PyErr_Occurred()) SWIG_fail
;
3698 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxWindow
,
3699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3704 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
3708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3709 result
= (long)wxGetNumberFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
3711 wxPyEndAllowThreads(__tstate
);
3712 if (PyErr_Occurred()) SWIG_fail
;
3714 resultobj
= SWIG_FromLong((long)result
);
3745 static PyObject
*_wrap_ColourDisplay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3746 PyObject
*resultobj
;
3752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ColourDisplay",kwnames
)) goto fail
;
3754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3755 result
= (bool)wxColourDisplay();
3757 wxPyEndAllowThreads(__tstate
);
3758 if (PyErr_Occurred()) SWIG_fail
;
3761 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3769 static PyObject
*_wrap_DisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3770 PyObject
*resultobj
;
3776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplayDepth",kwnames
)) goto fail
;
3778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3779 result
= (int)wxDisplayDepth();
3781 wxPyEndAllowThreads(__tstate
);
3782 if (PyErr_Occurred()) SWIG_fail
;
3784 resultobj
= SWIG_FromInt((int)result
);
3791 static PyObject
*_wrap_GetDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3792 PyObject
*resultobj
;
3798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplayDepth",kwnames
)) goto fail
;
3800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3801 result
= (int)wxGetDisplayDepth();
3803 wxPyEndAllowThreads(__tstate
);
3804 if (PyErr_Occurred()) SWIG_fail
;
3806 resultobj
= SWIG_FromInt((int)result
);
3813 static PyObject
*_wrap_DisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3814 PyObject
*resultobj
;
3815 int *arg1
= (int *) 0 ;
3816 int *arg2
= (int *) 0 ;
3825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySize",kwnames
)) goto fail
;
3827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3828 wxDisplaySize(arg1
,arg2
);
3830 wxPyEndAllowThreads(__tstate
);
3831 if (PyErr_Occurred()) SWIG_fail
;
3833 Py_INCREF(Py_None
); resultobj
= Py_None
;
3835 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
3836 resultobj
= t_output_helper(resultobj
,o
);
3839 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3840 resultobj
= t_output_helper(resultobj
,o
);
3848 static PyObject
*_wrap_GetDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3849 PyObject
*resultobj
;
3855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySize",kwnames
)) goto fail
;
3857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3858 result
= wxGetDisplaySize();
3860 wxPyEndAllowThreads(__tstate
);
3861 if (PyErr_Occurred()) SWIG_fail
;
3865 resultptr
= new wxSize((wxSize
&) result
);
3866 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3874 static PyObject
*_wrap_DisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3875 PyObject
*resultobj
;
3876 int *arg1
= (int *) 0 ;
3877 int *arg2
= (int *) 0 ;
3886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySizeMM",kwnames
)) goto fail
;
3888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3889 wxDisplaySizeMM(arg1
,arg2
);
3891 wxPyEndAllowThreads(__tstate
);
3892 if (PyErr_Occurred()) SWIG_fail
;
3894 Py_INCREF(Py_None
); resultobj
= Py_None
;
3896 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
3897 resultobj
= t_output_helper(resultobj
,o
);
3900 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3901 resultobj
= t_output_helper(resultobj
,o
);
3909 static PyObject
*_wrap_GetDisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3910 PyObject
*resultobj
;
3916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySizeMM",kwnames
)) goto fail
;
3918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3919 result
= wxGetDisplaySizeMM();
3921 wxPyEndAllowThreads(__tstate
);
3922 if (PyErr_Occurred()) SWIG_fail
;
3926 resultptr
= new wxSize((wxSize
&) result
);
3927 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3935 static PyObject
*_wrap_ClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3936 PyObject
*resultobj
;
3937 int *arg1
= (int *) 0 ;
3938 int *arg2
= (int *) 0 ;
3939 int *arg3
= (int *) 0 ;
3940 int *arg4
= (int *) 0 ;
3953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ClientDisplayRect",kwnames
)) goto fail
;
3955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3956 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
3958 wxPyEndAllowThreads(__tstate
);
3959 if (PyErr_Occurred()) SWIG_fail
;
3961 Py_INCREF(Py_None
); resultobj
= Py_None
;
3963 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
3964 resultobj
= t_output_helper(resultobj
,o
);
3967 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3968 resultobj
= t_output_helper(resultobj
,o
);
3971 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
3972 resultobj
= t_output_helper(resultobj
,o
);
3975 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
3976 resultobj
= t_output_helper(resultobj
,o
);
3984 static PyObject
*_wrap_GetClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3985 PyObject
*resultobj
;
3991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetClientDisplayRect",kwnames
)) goto fail
;
3993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3994 result
= wxGetClientDisplayRect();
3996 wxPyEndAllowThreads(__tstate
);
3997 if (PyErr_Occurred()) SWIG_fail
;
4001 resultptr
= new wxRect((wxRect
&) result
);
4002 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
4010 static PyObject
*_wrap_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4011 PyObject
*resultobj
;
4012 wxCursor
*arg1
= 0 ;
4013 PyObject
* obj0
= 0 ;
4015 (char *) "cursor", NULL
4018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) goto fail
;
4019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4020 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4023 PyErr_SetString(PyExc_TypeError
,"null reference");
4027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4030 wxPyEndAllowThreads(__tstate
);
4031 if (PyErr_Occurred()) SWIG_fail
;
4033 Py_INCREF(Py_None
); resultobj
= Py_None
;
4040 static PyObject
*_wrap_BeginBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4041 PyObject
*resultobj
;
4042 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
4043 PyObject
* obj0
= 0 ;
4045 (char *) "cursor", NULL
4048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) goto fail
;
4050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4055 wxBeginBusyCursor(arg1
);
4057 wxPyEndAllowThreads(__tstate
);
4058 if (PyErr_Occurred()) SWIG_fail
;
4060 Py_INCREF(Py_None
); resultobj
= Py_None
;
4067 static PyObject
*_wrap_GetActiveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4068 PyObject
*resultobj
;
4074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetActiveWindow",kwnames
)) goto fail
;
4076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4077 result
= (wxWindow
*)wxGetActiveWindow();
4079 wxPyEndAllowThreads(__tstate
);
4080 if (PyErr_Occurred()) SWIG_fail
;
4083 resultobj
= wxPyMake_wxObject(result
);
4091 static PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4092 PyObject
*resultobj
;
4096 PyObject
* obj0
= 0 ;
4101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
4104 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4108 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
4110 wxPyEndAllowThreads(__tstate
);
4111 if (PyErr_Occurred()) SWIG_fail
;
4114 resultobj
= wxPyMake_wxObject(result
);
4122 static PyObject
*_wrap_FindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4123 PyObject
*resultobj
;
4127 PyObject
* obj0
= 0 ;
4132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
4135 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4139 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
4141 wxPyEndAllowThreads(__tstate
);
4142 if (PyErr_Occurred()) SWIG_fail
;
4145 resultobj
= wxPyMake_wxObject(result
);
4153 static PyObject
*_wrap_GetTopLevelParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4154 PyObject
*resultobj
;
4155 wxWindow
*arg1
= (wxWindow
*) 0 ;
4157 PyObject
* obj0
= 0 ;
4159 (char *) "win", NULL
4162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) goto fail
;
4163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4167 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
4169 wxPyEndAllowThreads(__tstate
);
4170 if (PyErr_Occurred()) SWIG_fail
;
4173 resultobj
= wxPyMake_wxObject(result
);
4181 static PyObject
*_wrap_GetKeyState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4182 PyObject
*resultobj
;
4185 PyObject
* obj0
= 0 ;
4187 (char *) "key", NULL
4190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetKeyState",kwnames
,&obj0
)) goto fail
;
4191 arg1
= (wxKeyCode
) SWIG_AsInt(obj0
);
4192 if (PyErr_Occurred()) SWIG_fail
;
4194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4195 result
= (bool)wxGetKeyState((wxKeyCode
)arg1
);
4197 wxPyEndAllowThreads(__tstate
);
4198 if (PyErr_Occurred()) SWIG_fail
;
4201 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4209 static PyObject
*_wrap_WakeUpMainThread(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4210 PyObject
*resultobj
;
4215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpMainThread",kwnames
)) goto fail
;
4217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4218 wxWakeUpMainThread();
4220 wxPyEndAllowThreads(__tstate
);
4221 if (PyErr_Occurred()) SWIG_fail
;
4223 Py_INCREF(Py_None
); resultobj
= Py_None
;
4230 static PyObject
*_wrap_MutexGuiEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4231 PyObject
*resultobj
;
4236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiEnter",kwnames
)) goto fail
;
4238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4241 wxPyEndAllowThreads(__tstate
);
4242 if (PyErr_Occurred()) SWIG_fail
;
4244 Py_INCREF(Py_None
); resultobj
= Py_None
;
4251 static PyObject
*_wrap_MutexGuiLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4252 PyObject
*resultobj
;
4257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiLeave",kwnames
)) goto fail
;
4259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4262 wxPyEndAllowThreads(__tstate
);
4263 if (PyErr_Occurred()) SWIG_fail
;
4265 Py_INCREF(Py_None
); resultobj
= Py_None
;
4272 static PyObject
*_wrap_new_MutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4273 PyObject
*resultobj
;
4274 wxMutexGuiLocker
*result
;
4279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MutexGuiLocker",kwnames
)) goto fail
;
4281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4282 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
4284 wxPyEndAllowThreads(__tstate
);
4285 if (PyErr_Occurred()) SWIG_fail
;
4287 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMutexGuiLocker
, 1);
4294 static PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4295 PyObject
*resultobj
;
4296 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
4297 PyObject
* obj0
= 0 ;
4299 (char *) "self", NULL
4302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MutexGuiLocker",kwnames
,&obj0
)) goto fail
;
4303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMutexGuiLocker
,
4304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4309 wxPyEndAllowThreads(__tstate
);
4310 if (PyErr_Occurred()) SWIG_fail
;
4312 Py_INCREF(Py_None
); resultobj
= Py_None
;
4319 static PyObject
* MutexGuiLocker_swigregister(PyObject
*self
, PyObject
*args
) {
4321 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4322 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker
, obj
);
4324 return Py_BuildValue((char *)"");
4326 static PyObject
*_wrap_Thread_IsMain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4327 PyObject
*resultobj
;
4333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Thread_IsMain",kwnames
)) goto fail
;
4335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4336 result
= (bool)wxThread_IsMain();
4338 wxPyEndAllowThreads(__tstate
);
4339 if (PyErr_Occurred()) SWIG_fail
;
4342 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4350 static PyObject
*_wrap_new_ToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4351 PyObject
*resultobj
;
4352 wxString
*arg1
= 0 ;
4354 bool temp1
= False
;
4355 PyObject
* obj0
= 0 ;
4357 (char *) "tip", NULL
4360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) goto fail
;
4362 arg1
= wxString_in_helper(obj0
);
4363 if (arg1
== NULL
) SWIG_fail
;
4367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4368 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
4370 wxPyEndAllowThreads(__tstate
);
4371 if (PyErr_Occurred()) SWIG_fail
;
4374 resultobj
= wxPyMake_wxObject(result
);
4390 static PyObject
*_wrap_ToolTip_SetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4391 PyObject
*resultobj
;
4392 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4393 wxString
*arg2
= 0 ;
4394 bool temp2
= False
;
4395 PyObject
* obj0
= 0 ;
4396 PyObject
* obj1
= 0 ;
4398 (char *) "self",(char *) "tip", NULL
4401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) goto fail
;
4402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4405 arg2
= wxString_in_helper(obj1
);
4406 if (arg2
== NULL
) SWIG_fail
;
4410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4411 (arg1
)->SetTip((wxString
const &)*arg2
);
4413 wxPyEndAllowThreads(__tstate
);
4414 if (PyErr_Occurred()) SWIG_fail
;
4416 Py_INCREF(Py_None
); resultobj
= Py_None
;
4431 static PyObject
*_wrap_ToolTip_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4432 PyObject
*resultobj
;
4433 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4435 PyObject
* obj0
= 0 ;
4437 (char *) "self", NULL
4440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetTip",kwnames
,&obj0
)) goto fail
;
4441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4445 result
= (arg1
)->GetTip();
4447 wxPyEndAllowThreads(__tstate
);
4448 if (PyErr_Occurred()) SWIG_fail
;
4452 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4454 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4463 static PyObject
*_wrap_ToolTip_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4464 PyObject
*resultobj
;
4465 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4467 PyObject
* obj0
= 0 ;
4469 (char *) "self", NULL
4472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetWindow",kwnames
,&obj0
)) goto fail
;
4473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4477 result
= (wxWindow
*)(arg1
)->GetWindow();
4479 wxPyEndAllowThreads(__tstate
);
4480 if (PyErr_Occurred()) SWIG_fail
;
4483 resultobj
= wxPyMake_wxObject(result
);
4491 static PyObject
*_wrap_ToolTip_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4492 PyObject
*resultobj
;
4494 PyObject
* obj0
= 0 ;
4496 (char *) "flag", NULL
4499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) goto fail
;
4500 arg1
= (bool) SWIG_AsBool(obj0
);
4501 if (PyErr_Occurred()) SWIG_fail
;
4503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4504 wxToolTip::Enable(arg1
);
4506 wxPyEndAllowThreads(__tstate
);
4507 if (PyErr_Occurred()) SWIG_fail
;
4509 Py_INCREF(Py_None
); resultobj
= Py_None
;
4516 static PyObject
*_wrap_ToolTip_SetDelay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4517 PyObject
*resultobj
;
4519 PyObject
* obj0
= 0 ;
4521 (char *) "milliseconds", NULL
4524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_SetDelay",kwnames
,&obj0
)) goto fail
;
4525 arg1
= (long) SWIG_AsLong(obj0
);
4526 if (PyErr_Occurred()) SWIG_fail
;
4528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4529 wxToolTip::SetDelay(arg1
);
4531 wxPyEndAllowThreads(__tstate
);
4532 if (PyErr_Occurred()) SWIG_fail
;
4534 Py_INCREF(Py_None
); resultobj
= Py_None
;
4541 static PyObject
* ToolTip_swigregister(PyObject
*self
, PyObject
*args
) {
4543 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4544 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip
, obj
);
4546 return Py_BuildValue((char *)"");
4548 static PyObject
*_wrap_new_Caret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4549 PyObject
*resultobj
;
4550 wxWindow
*arg1
= (wxWindow
*) 0 ;
4554 PyObject
* obj0
= 0 ;
4555 PyObject
* obj1
= 0 ;
4557 (char *) "window",(char *) "size", NULL
4560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) goto fail
;
4561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4565 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4569 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
4571 wxPyEndAllowThreads(__tstate
);
4572 if (PyErr_Occurred()) SWIG_fail
;
4574 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 1);
4581 static PyObject
*_wrap_delete_Caret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4582 PyObject
*resultobj
;
4583 wxCaret
*arg1
= (wxCaret
*) 0 ;
4584 PyObject
* obj0
= 0 ;
4586 (char *) "self", NULL
4589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Caret",kwnames
,&obj0
)) goto fail
;
4590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4596 wxPyEndAllowThreads(__tstate
);
4597 if (PyErr_Occurred()) SWIG_fail
;
4599 Py_INCREF(Py_None
); resultobj
= Py_None
;
4606 static PyObject
*_wrap_Caret_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4607 PyObject
*resultobj
;
4608 wxCaret
*arg1
= (wxCaret
*) 0 ;
4610 PyObject
* obj0
= 0 ;
4612 (char *) "self", NULL
4615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsOk",kwnames
,&obj0
)) goto fail
;
4616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4620 result
= (bool)(arg1
)->IsOk();
4622 wxPyEndAllowThreads(__tstate
);
4623 if (PyErr_Occurred()) SWIG_fail
;
4626 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4634 static PyObject
*_wrap_Caret_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4635 PyObject
*resultobj
;
4636 wxCaret
*arg1
= (wxCaret
*) 0 ;
4638 PyObject
* obj0
= 0 ;
4640 (char *) "self", NULL
4643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsVisible",kwnames
,&obj0
)) goto fail
;
4644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4648 result
= (bool)(arg1
)->IsVisible();
4650 wxPyEndAllowThreads(__tstate
);
4651 if (PyErr_Occurred()) SWIG_fail
;
4654 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4662 static PyObject
*_wrap_Caret_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4663 PyObject
*resultobj
;
4664 wxCaret
*arg1
= (wxCaret
*) 0 ;
4666 PyObject
* obj0
= 0 ;
4668 (char *) "self", NULL
4671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPosition",kwnames
,&obj0
)) goto fail
;
4672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4676 result
= (arg1
)->GetPosition();
4678 wxPyEndAllowThreads(__tstate
);
4679 if (PyErr_Occurred()) SWIG_fail
;
4682 wxPoint
* resultptr
;
4683 resultptr
= new wxPoint((wxPoint
&) result
);
4684 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4692 static PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4693 PyObject
*resultobj
;
4694 wxCaret
*arg1
= (wxCaret
*) 0 ;
4695 int *arg2
= (int *) 0 ;
4696 int *arg3
= (int *) 0 ;
4699 PyObject
* obj0
= 0 ;
4701 (char *) "self", NULL
4706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
4707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4711 (arg1
)->GetPosition(arg2
,arg3
);
4713 wxPyEndAllowThreads(__tstate
);
4714 if (PyErr_Occurred()) SWIG_fail
;
4716 Py_INCREF(Py_None
); resultobj
= Py_None
;
4718 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4719 resultobj
= t_output_helper(resultobj
,o
);
4722 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4723 resultobj
= t_output_helper(resultobj
,o
);
4731 static PyObject
*_wrap_Caret_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4732 PyObject
*resultobj
;
4733 wxCaret
*arg1
= (wxCaret
*) 0 ;
4735 PyObject
* obj0
= 0 ;
4737 (char *) "self", NULL
4740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSize",kwnames
,&obj0
)) goto fail
;
4741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4745 result
= (arg1
)->GetSize();
4747 wxPyEndAllowThreads(__tstate
);
4748 if (PyErr_Occurred()) SWIG_fail
;
4752 resultptr
= new wxSize((wxSize
&) result
);
4753 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
4761 static PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4762 PyObject
*resultobj
;
4763 wxCaret
*arg1
= (wxCaret
*) 0 ;
4764 int *arg2
= (int *) 0 ;
4765 int *arg3
= (int *) 0 ;
4768 PyObject
* obj0
= 0 ;
4770 (char *) "self", NULL
4775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
4776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4780 (arg1
)->GetSize(arg2
,arg3
);
4782 wxPyEndAllowThreads(__tstate
);
4783 if (PyErr_Occurred()) SWIG_fail
;
4785 Py_INCREF(Py_None
); resultobj
= Py_None
;
4787 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4788 resultobj
= t_output_helper(resultobj
,o
);
4791 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4792 resultobj
= t_output_helper(resultobj
,o
);
4800 static PyObject
*_wrap_Caret_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4801 PyObject
*resultobj
;
4802 wxCaret
*arg1
= (wxCaret
*) 0 ;
4804 PyObject
* obj0
= 0 ;
4806 (char *) "self", NULL
4809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetWindow",kwnames
,&obj0
)) goto fail
;
4810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4814 result
= (wxWindow
*)(arg1
)->GetWindow();
4816 wxPyEndAllowThreads(__tstate
);
4817 if (PyErr_Occurred()) SWIG_fail
;
4820 resultobj
= wxPyMake_wxObject(result
);
4828 static PyObject
*_wrap_Caret_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4829 PyObject
*resultobj
;
4830 wxCaret
*arg1
= (wxCaret
*) 0 ;
4833 PyObject
* obj0
= 0 ;
4834 PyObject
* obj1
= 0 ;
4835 PyObject
* obj2
= 0 ;
4837 (char *) "self",(char *) "x",(char *) "y", NULL
4840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4843 arg2
= (int) SWIG_AsInt(obj1
);
4844 if (PyErr_Occurred()) SWIG_fail
;
4845 arg3
= (int) SWIG_AsInt(obj2
);
4846 if (PyErr_Occurred()) SWIG_fail
;
4848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4849 (arg1
)->Move(arg2
,arg3
);
4851 wxPyEndAllowThreads(__tstate
);
4852 if (PyErr_Occurred()) SWIG_fail
;
4854 Py_INCREF(Py_None
); resultobj
= Py_None
;
4861 static PyObject
*_wrap_Caret_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4862 PyObject
*resultobj
;
4863 wxCaret
*arg1
= (wxCaret
*) 0 ;
4866 PyObject
* obj0
= 0 ;
4867 PyObject
* obj1
= 0 ;
4869 (char *) "self",(char *) "pt", NULL
4872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
4873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4877 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4881 (arg1
)->Move((wxPoint
const &)*arg2
);
4883 wxPyEndAllowThreads(__tstate
);
4884 if (PyErr_Occurred()) SWIG_fail
;
4886 Py_INCREF(Py_None
); resultobj
= Py_None
;
4893 static PyObject
*_wrap_Caret_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4894 PyObject
*resultobj
;
4895 wxCaret
*arg1
= (wxCaret
*) 0 ;
4898 PyObject
* obj0
= 0 ;
4899 PyObject
* obj1
= 0 ;
4900 PyObject
* obj2
= 0 ;
4902 (char *) "self",(char *) "width",(char *) "height", NULL
4905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4908 arg2
= (int) SWIG_AsInt(obj1
);
4909 if (PyErr_Occurred()) SWIG_fail
;
4910 arg3
= (int) SWIG_AsInt(obj2
);
4911 if (PyErr_Occurred()) SWIG_fail
;
4913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4914 (arg1
)->SetSize(arg2
,arg3
);
4916 wxPyEndAllowThreads(__tstate
);
4917 if (PyErr_Occurred()) SWIG_fail
;
4919 Py_INCREF(Py_None
); resultobj
= Py_None
;
4926 static PyObject
*_wrap_Caret_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4927 PyObject
*resultobj
;
4928 wxCaret
*arg1
= (wxCaret
*) 0 ;
4931 PyObject
* obj0
= 0 ;
4932 PyObject
* obj1
= 0 ;
4934 (char *) "self",(char *) "size", NULL
4937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
4938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4942 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4946 (arg1
)->SetSize((wxSize
const &)*arg2
);
4948 wxPyEndAllowThreads(__tstate
);
4949 if (PyErr_Occurred()) SWIG_fail
;
4951 Py_INCREF(Py_None
); resultobj
= Py_None
;
4958 static PyObject
*_wrap_Caret_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4959 PyObject
*resultobj
;
4960 wxCaret
*arg1
= (wxCaret
*) 0 ;
4961 int arg2
= (int) True
;
4962 PyObject
* obj0
= 0 ;
4963 PyObject
* obj1
= 0 ;
4965 (char *) "self",(char *) "show", NULL
4968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Caret_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
4969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4972 arg2
= (int) SWIG_AsInt(obj1
);
4973 if (PyErr_Occurred()) SWIG_fail
;
4976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4979 wxPyEndAllowThreads(__tstate
);
4980 if (PyErr_Occurred()) SWIG_fail
;
4982 Py_INCREF(Py_None
); resultobj
= Py_None
;
4989 static PyObject
*_wrap_Caret_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4990 PyObject
*resultobj
;
4991 wxCaret
*arg1
= (wxCaret
*) 0 ;
4992 PyObject
* obj0
= 0 ;
4994 (char *) "self", NULL
4997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Hide",kwnames
,&obj0
)) goto fail
;
4998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5004 wxPyEndAllowThreads(__tstate
);
5005 if (PyErr_Occurred()) SWIG_fail
;
5007 Py_INCREF(Py_None
); resultobj
= Py_None
;
5014 static PyObject
* Caret_swigregister(PyObject
*self
, PyObject
*args
) {
5016 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5017 SWIG_TypeClientData(SWIGTYPE_p_wxCaret
, obj
);
5019 return Py_BuildValue((char *)"");
5021 static PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5022 PyObject
*resultobj
;
5028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Caret_GetBlinkTime",kwnames
)) goto fail
;
5030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5031 result
= (int)wxCaret_GetBlinkTime();
5033 wxPyEndAllowThreads(__tstate
);
5034 if (PyErr_Occurred()) SWIG_fail
;
5036 resultobj
= SWIG_FromInt((int)result
);
5043 static PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5044 PyObject
*resultobj
;
5046 PyObject
* obj0
= 0 ;
5048 (char *) "milliseconds", NULL
5051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_SetBlinkTime",kwnames
,&obj0
)) goto fail
;
5052 arg1
= (int) SWIG_AsInt(obj0
);
5053 if (PyErr_Occurred()) SWIG_fail
;
5055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5056 wxCaret_SetBlinkTime(arg1
);
5058 wxPyEndAllowThreads(__tstate
);
5059 if (PyErr_Occurred()) SWIG_fail
;
5061 Py_INCREF(Py_None
); resultobj
= Py_None
;
5068 static PyObject
*_wrap_new_BusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5069 PyObject
*resultobj
;
5070 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
5071 wxBusyCursor
*result
;
5072 PyObject
* obj0
= 0 ;
5074 (char *) "cursor", NULL
5077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) goto fail
;
5079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5084 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
5086 wxPyEndAllowThreads(__tstate
);
5087 if (PyErr_Occurred()) SWIG_fail
;
5089 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyCursor
, 1);
5096 static PyObject
*_wrap_delete_BusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5097 PyObject
*resultobj
;
5098 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
5099 PyObject
* obj0
= 0 ;
5101 (char *) "self", NULL
5104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyCursor",kwnames
,&obj0
)) goto fail
;
5105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBusyCursor
,
5106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5111 wxPyEndAllowThreads(__tstate
);
5112 if (PyErr_Occurred()) SWIG_fail
;
5114 Py_INCREF(Py_None
); resultobj
= Py_None
;
5121 static PyObject
* BusyCursor_swigregister(PyObject
*self
, PyObject
*args
) {
5123 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5124 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor
, obj
);
5126 return Py_BuildValue((char *)"");
5128 static PyObject
*_wrap_new_WindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5129 PyObject
*resultobj
;
5130 wxWindow
*arg1
= (wxWindow
*) NULL
;
5131 wxWindowDisabler
*result
;
5132 PyObject
* obj0
= 0 ;
5134 (char *) "winToSkip", NULL
5137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) goto fail
;
5139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5144 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
5146 wxPyEndAllowThreads(__tstate
);
5147 if (PyErr_Occurred()) SWIG_fail
;
5149 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDisabler
, 1);
5156 static PyObject
*_wrap_delete_WindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5157 PyObject
*resultobj
;
5158 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
5159 PyObject
* obj0
= 0 ;
5161 (char *) "self", NULL
5164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_WindowDisabler",kwnames
,&obj0
)) goto fail
;
5165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowDisabler
,
5166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5171 wxPyEndAllowThreads(__tstate
);
5172 if (PyErr_Occurred()) SWIG_fail
;
5174 Py_INCREF(Py_None
); resultobj
= Py_None
;
5181 static PyObject
* WindowDisabler_swigregister(PyObject
*self
, PyObject
*args
) {
5183 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5184 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler
, obj
);
5186 return Py_BuildValue((char *)"");
5188 static PyObject
*_wrap_new_BusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5189 PyObject
*resultobj
;
5190 wxString
*arg1
= 0 ;
5192 bool temp1
= False
;
5193 PyObject
* obj0
= 0 ;
5195 (char *) "message", NULL
5198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) goto fail
;
5200 arg1
= wxString_in_helper(obj0
);
5201 if (arg1
== NULL
) SWIG_fail
;
5205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5206 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
);
5208 wxPyEndAllowThreads(__tstate
);
5209 if (PyErr_Occurred()) SWIG_fail
;
5211 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyInfo
, 1);
5226 static PyObject
*_wrap_delete_BusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5227 PyObject
*resultobj
;
5228 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
5229 PyObject
* obj0
= 0 ;
5231 (char *) "self", NULL
5234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyInfo",kwnames
,&obj0
)) goto fail
;
5235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBusyInfo
,
5236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5241 wxPyEndAllowThreads(__tstate
);
5242 if (PyErr_Occurred()) SWIG_fail
;
5244 Py_INCREF(Py_None
); resultobj
= Py_None
;
5251 static PyObject
* BusyInfo_swigregister(PyObject
*self
, PyObject
*args
) {
5253 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5254 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo
, obj
);
5256 return Py_BuildValue((char *)"");
5258 static PyObject
*_wrap_new_StopWatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5259 PyObject
*resultobj
;
5260 wxStopWatch
*result
;
5265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StopWatch",kwnames
)) goto fail
;
5267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5268 result
= (wxStopWatch
*)new wxStopWatch();
5270 wxPyEndAllowThreads(__tstate
);
5271 if (PyErr_Occurred()) SWIG_fail
;
5273 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStopWatch
, 1);
5280 static PyObject
*_wrap_StopWatch_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5281 PyObject
*resultobj
;
5282 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5283 long arg2
= (long) 0 ;
5284 PyObject
* obj0
= 0 ;
5285 PyObject
* obj1
= 0 ;
5287 (char *) "self",(char *) "t0", NULL
5290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StopWatch_Start",kwnames
,&obj0
,&obj1
)) goto fail
;
5291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5294 arg2
= (long) SWIG_AsLong(obj1
);
5295 if (PyErr_Occurred()) SWIG_fail
;
5298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5299 (arg1
)->Start(arg2
);
5301 wxPyEndAllowThreads(__tstate
);
5302 if (PyErr_Occurred()) SWIG_fail
;
5304 Py_INCREF(Py_None
); resultobj
= Py_None
;
5311 static PyObject
*_wrap_StopWatch_Pause(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5312 PyObject
*resultobj
;
5313 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5314 PyObject
* obj0
= 0 ;
5316 (char *) "self", NULL
5319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Pause",kwnames
,&obj0
)) goto fail
;
5320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5326 wxPyEndAllowThreads(__tstate
);
5327 if (PyErr_Occurred()) SWIG_fail
;
5329 Py_INCREF(Py_None
); resultobj
= Py_None
;
5336 static PyObject
*_wrap_StopWatch_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5337 PyObject
*resultobj
;
5338 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5339 PyObject
* obj0
= 0 ;
5341 (char *) "self", NULL
5344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Resume",kwnames
,&obj0
)) goto fail
;
5345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5351 wxPyEndAllowThreads(__tstate
);
5352 if (PyErr_Occurred()) SWIG_fail
;
5354 Py_INCREF(Py_None
); resultobj
= Py_None
;
5361 static PyObject
*_wrap_StopWatch_Time(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5362 PyObject
*resultobj
;
5363 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5365 PyObject
* obj0
= 0 ;
5367 (char *) "self", NULL
5370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Time",kwnames
,&obj0
)) goto fail
;
5371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5375 result
= (long)((wxStopWatch
const *)arg1
)->Time();
5377 wxPyEndAllowThreads(__tstate
);
5378 if (PyErr_Occurred()) SWIG_fail
;
5380 resultobj
= SWIG_FromLong((long)result
);
5387 static PyObject
* StopWatch_swigregister(PyObject
*self
, PyObject
*args
) {
5389 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5390 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch
, obj
);
5392 return Py_BuildValue((char *)"");
5394 static PyObject
*_wrap_new_FileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5395 PyObject
*resultobj
;
5396 int arg1
= (int) 9 ;
5397 wxFileHistory
*result
;
5398 PyObject
* obj0
= 0 ;
5400 (char *) "maxFiles", NULL
5403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FileHistory",kwnames
,&obj0
)) goto fail
;
5405 arg1
= (int) SWIG_AsInt(obj0
);
5406 if (PyErr_Occurred()) SWIG_fail
;
5409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5410 result
= (wxFileHistory
*)new wxFileHistory(arg1
);
5412 wxPyEndAllowThreads(__tstate
);
5413 if (PyErr_Occurred()) SWIG_fail
;
5415 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileHistory
, 1);
5422 static PyObject
*_wrap_delete_FileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5423 PyObject
*resultobj
;
5424 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5425 PyObject
* obj0
= 0 ;
5427 (char *) "self", NULL
5430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileHistory",kwnames
,&obj0
)) goto fail
;
5431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5437 wxPyEndAllowThreads(__tstate
);
5438 if (PyErr_Occurred()) SWIG_fail
;
5440 Py_INCREF(Py_None
); resultobj
= Py_None
;
5447 static PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5448 PyObject
*resultobj
;
5449 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5450 wxString
*arg2
= 0 ;
5451 bool temp2
= False
;
5452 PyObject
* obj0
= 0 ;
5453 PyObject
* obj1
= 0 ;
5455 (char *) "self",(char *) "file", NULL
5458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
5459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5462 arg2
= wxString_in_helper(obj1
);
5463 if (arg2
== NULL
) SWIG_fail
;
5467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5468 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
5470 wxPyEndAllowThreads(__tstate
);
5471 if (PyErr_Occurred()) SWIG_fail
;
5473 Py_INCREF(Py_None
); resultobj
= Py_None
;
5488 static PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5489 PyObject
*resultobj
;
5490 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5492 PyObject
* obj0
= 0 ;
5493 PyObject
* obj1
= 0 ;
5495 (char *) "self",(char *) "i", NULL
5498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
5499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5501 arg2
= (int) SWIG_AsInt(obj1
);
5502 if (PyErr_Occurred()) SWIG_fail
;
5504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5505 (arg1
)->RemoveFileFromHistory(arg2
);
5507 wxPyEndAllowThreads(__tstate
);
5508 if (PyErr_Occurred()) SWIG_fail
;
5510 Py_INCREF(Py_None
); resultobj
= Py_None
;
5517 static PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5518 PyObject
*resultobj
;
5519 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5521 PyObject
* obj0
= 0 ;
5523 (char *) "self", NULL
5526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetMaxFiles",kwnames
,&obj0
)) goto fail
;
5527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5531 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
5533 wxPyEndAllowThreads(__tstate
);
5534 if (PyErr_Occurred()) SWIG_fail
;
5536 resultobj
= SWIG_FromInt((int)result
);
5543 static PyObject
*_wrap_FileHistory_UseMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5544 PyObject
*resultobj
;
5545 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5546 wxMenu
*arg2
= (wxMenu
*) 0 ;
5547 PyObject
* obj0
= 0 ;
5548 PyObject
* obj1
= 0 ;
5550 (char *) "self",(char *) "menu", NULL
5553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5556 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
5557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5560 (arg1
)->UseMenu(arg2
);
5562 wxPyEndAllowThreads(__tstate
);
5563 if (PyErr_Occurred()) SWIG_fail
;
5565 Py_INCREF(Py_None
); resultobj
= Py_None
;
5572 static PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5573 PyObject
*resultobj
;
5574 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5575 wxMenu
*arg2
= (wxMenu
*) 0 ;
5576 PyObject
* obj0
= 0 ;
5577 PyObject
* obj1
= 0 ;
5579 (char *) "self",(char *) "menu", NULL
5582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5585 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
5586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5589 (arg1
)->RemoveMenu(arg2
);
5591 wxPyEndAllowThreads(__tstate
);
5592 if (PyErr_Occurred()) SWIG_fail
;
5594 Py_INCREF(Py_None
); resultobj
= Py_None
;
5601 static PyObject
*_wrap_FileHistory_Load(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5602 PyObject
*resultobj
;
5603 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5604 wxConfigBase
*arg2
= 0 ;
5605 PyObject
* obj0
= 0 ;
5606 PyObject
* obj1
= 0 ;
5608 (char *) "self",(char *) "config", NULL
5611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) goto fail
;
5612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5614 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
5615 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5618 PyErr_SetString(PyExc_TypeError
,"null reference");
5622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5623 (arg1
)->Load(*arg2
);
5625 wxPyEndAllowThreads(__tstate
);
5626 if (PyErr_Occurred()) SWIG_fail
;
5628 Py_INCREF(Py_None
); resultobj
= Py_None
;
5635 static PyObject
*_wrap_FileHistory_Save(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5636 PyObject
*resultobj
;
5637 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5638 wxConfigBase
*arg2
= 0 ;
5639 PyObject
* obj0
= 0 ;
5640 PyObject
* obj1
= 0 ;
5642 (char *) "self",(char *) "config", NULL
5645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) goto fail
;
5646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5648 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
5649 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5652 PyErr_SetString(PyExc_TypeError
,"null reference");
5656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5657 (arg1
)->Save(*arg2
);
5659 wxPyEndAllowThreads(__tstate
);
5660 if (PyErr_Occurred()) SWIG_fail
;
5662 Py_INCREF(Py_None
); resultobj
= Py_None
;
5669 static PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5670 PyObject
*resultobj
;
5671 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5672 PyObject
* obj0
= 0 ;
5674 (char *) "self", NULL
5677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_AddFilesToMenu",kwnames
,&obj0
)) goto fail
;
5678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5682 (arg1
)->AddFilesToMenu();
5684 wxPyEndAllowThreads(__tstate
);
5685 if (PyErr_Occurred()) SWIG_fail
;
5687 Py_INCREF(Py_None
); resultobj
= Py_None
;
5694 static PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5695 PyObject
*resultobj
;
5696 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5697 wxMenu
*arg2
= (wxMenu
*) 0 ;
5698 PyObject
* obj0
= 0 ;
5699 PyObject
* obj1
= 0 ;
5701 (char *) "self",(char *) "menu", NULL
5704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5707 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
5708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5711 (arg1
)->AddFilesToMenu(arg2
);
5713 wxPyEndAllowThreads(__tstate
);
5714 if (PyErr_Occurred()) SWIG_fail
;
5716 Py_INCREF(Py_None
); resultobj
= Py_None
;
5723 static PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5724 PyObject
*resultobj
;
5725 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5728 PyObject
* obj0
= 0 ;
5729 PyObject
* obj1
= 0 ;
5731 (char *) "self",(char *) "i", NULL
5734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_GetHistoryFile",kwnames
,&obj0
,&obj1
)) goto fail
;
5735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5737 arg2
= (int) SWIG_AsInt(obj1
);
5738 if (PyErr_Occurred()) SWIG_fail
;
5740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5741 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
5743 wxPyEndAllowThreads(__tstate
);
5744 if (PyErr_Occurred()) SWIG_fail
;
5748 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5750 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5759 static PyObject
*_wrap_FileHistory_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5760 PyObject
*resultobj
;
5761 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5763 PyObject
* obj0
= 0 ;
5765 (char *) "self", NULL
5768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetCount",kwnames
,&obj0
)) goto fail
;
5769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5773 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
5775 wxPyEndAllowThreads(__tstate
);
5776 if (PyErr_Occurred()) SWIG_fail
;
5778 resultobj
= SWIG_FromInt((int)result
);
5785 static PyObject
* FileHistory_swigregister(PyObject
*self
, PyObject
*args
) {
5787 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5788 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory
, obj
);
5790 return Py_BuildValue((char *)"");
5792 static PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5793 PyObject
*resultobj
;
5794 wxString
*arg1
= 0 ;
5795 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5796 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5797 wxSingleInstanceChecker
*result
;
5798 bool temp1
= False
;
5799 bool temp2
= False
;
5800 PyObject
* obj0
= 0 ;
5801 PyObject
* obj1
= 0 ;
5803 (char *) "name",(char *) "path", NULL
5806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) goto fail
;
5808 arg1
= wxString_in_helper(obj0
);
5809 if (arg1
== NULL
) SWIG_fail
;
5814 arg2
= wxString_in_helper(obj1
);
5815 if (arg2
== NULL
) SWIG_fail
;
5820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5821 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
5823 wxPyEndAllowThreads(__tstate
);
5824 if (PyErr_Occurred()) SWIG_fail
;
5826 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
5849 static PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5850 PyObject
*resultobj
;
5851 wxSingleInstanceChecker
*result
;
5856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSingleInstanceChecker",kwnames
)) goto fail
;
5858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5859 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
5861 wxPyEndAllowThreads(__tstate
);
5862 if (PyErr_Occurred()) SWIG_fail
;
5864 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
5871 static PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5872 PyObject
*resultobj
;
5873 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
5874 PyObject
* obj0
= 0 ;
5876 (char *) "self", NULL
5879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_SingleInstanceChecker",kwnames
,&obj0
)) goto fail
;
5880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
5881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5886 wxPyEndAllowThreads(__tstate
);
5887 if (PyErr_Occurred()) SWIG_fail
;
5889 Py_INCREF(Py_None
); resultobj
= Py_None
;
5896 static PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5897 PyObject
*resultobj
;
5898 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
5899 wxString
*arg2
= 0 ;
5900 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5901 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5903 bool temp2
= False
;
5904 bool temp3
= False
;
5905 PyObject
* obj0
= 0 ;
5906 PyObject
* obj1
= 0 ;
5907 PyObject
* obj2
= 0 ;
5909 (char *) "self",(char *) "name",(char *) "path", NULL
5912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
5914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5916 arg2
= wxString_in_helper(obj1
);
5917 if (arg2
== NULL
) SWIG_fail
;
5922 arg3
= wxString_in_helper(obj2
);
5923 if (arg3
== NULL
) SWIG_fail
;
5928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5929 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
5931 wxPyEndAllowThreads(__tstate
);
5932 if (PyErr_Occurred()) SWIG_fail
;
5935 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5959 static PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5960 PyObject
*resultobj
;
5961 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
5963 PyObject
* obj0
= 0 ;
5965 (char *) "self", NULL
5968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames
,&obj0
)) goto fail
;
5969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
5970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5973 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
5975 wxPyEndAllowThreads(__tstate
);
5976 if (PyErr_Occurred()) SWIG_fail
;
5979 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5987 static PyObject
* SingleInstanceChecker_swigregister(PyObject
*self
, PyObject
*args
) {
5989 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5990 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker
, obj
);
5992 return Py_BuildValue((char *)"");
5994 static PyObject
*_wrap_DrawWindowOnDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5995 PyObject
*resultobj
;
5996 wxWindow
*arg1
= (wxWindow
*) 0 ;
5999 PyObject
* obj0
= 0 ;
6000 PyObject
* obj1
= 0 ;
6001 PyObject
* obj2
= 0 ;
6003 (char *) "window",(char *) "dc",(char *) "method", NULL
6006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DrawWindowOnDC",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6009 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
6010 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6013 PyErr_SetString(PyExc_TypeError
,"null reference");
6016 arg3
= (int) SWIG_AsInt(obj2
);
6017 if (PyErr_Occurred()) SWIG_fail
;
6019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6020 wxDrawWindowOnDC(arg1
,(wxDC
const &)*arg2
,arg3
);
6022 wxPyEndAllowThreads(__tstate
);
6023 if (PyErr_Occurred()) SWIG_fail
;
6025 Py_INCREF(Py_None
); resultobj
= Py_None
;
6032 static PyObject
*_wrap_delete_TipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6033 PyObject
*resultobj
;
6034 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6035 PyObject
* obj0
= 0 ;
6037 (char *) "self", NULL
6040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TipProvider",kwnames
,&obj0
)) goto fail
;
6041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6047 wxPyEndAllowThreads(__tstate
);
6048 if (PyErr_Occurred()) SWIG_fail
;
6050 Py_INCREF(Py_None
); resultobj
= Py_None
;
6057 static PyObject
*_wrap_TipProvider_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6058 PyObject
*resultobj
;
6059 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6061 PyObject
* obj0
= 0 ;
6063 (char *) "self", NULL
6066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetTip",kwnames
,&obj0
)) goto fail
;
6067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6071 result
= (arg1
)->GetTip();
6073 wxPyEndAllowThreads(__tstate
);
6074 if (PyErr_Occurred()) SWIG_fail
;
6078 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6080 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6089 static PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6090 PyObject
*resultobj
;
6091 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6093 PyObject
* obj0
= 0 ;
6095 (char *) "self", NULL
6098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetCurrentTip",kwnames
,&obj0
)) goto fail
;
6099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6103 result
= (size_t)(arg1
)->GetCurrentTip();
6105 wxPyEndAllowThreads(__tstate
);
6106 if (PyErr_Occurred()) SWIG_fail
;
6108 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
6115 static PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6116 PyObject
*resultobj
;
6117 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6118 wxString
*arg2
= 0 ;
6120 bool temp2
= False
;
6121 PyObject
* obj0
= 0 ;
6122 PyObject
* obj1
= 0 ;
6124 (char *) "self",(char *) "tip", NULL
6127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) goto fail
;
6128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6131 arg2
= wxString_in_helper(obj1
);
6132 if (arg2
== NULL
) SWIG_fail
;
6136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6137 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
6139 wxPyEndAllowThreads(__tstate
);
6140 if (PyErr_Occurred()) SWIG_fail
;
6144 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6146 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6163 static PyObject
* TipProvider_swigregister(PyObject
*self
, PyObject
*args
) {
6165 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6166 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider
, obj
);
6168 return Py_BuildValue((char *)"");
6170 static PyObject
*_wrap_new_PyTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6171 PyObject
*resultobj
;
6173 wxPyTipProvider
*result
;
6174 PyObject
* obj0
= 0 ;
6176 (char *) "currentTip", NULL
6179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) goto fail
;
6180 arg1
= (size_t) SWIG_AsUnsignedLong(obj0
);
6181 if (PyErr_Occurred()) SWIG_fail
;
6183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6184 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
6186 wxPyEndAllowThreads(__tstate
);
6187 if (PyErr_Occurred()) SWIG_fail
;
6189 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTipProvider
, 1);
6196 static PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6197 PyObject
*resultobj
;
6198 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
6199 PyObject
*arg2
= (PyObject
*) 0 ;
6200 PyObject
*arg3
= (PyObject
*) 0 ;
6201 PyObject
* obj0
= 0 ;
6202 PyObject
* obj1
= 0 ;
6203 PyObject
* obj2
= 0 ;
6205 (char *) "self",(char *) "self",(char *) "_class", NULL
6208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTipProvider
,
6210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6215 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6217 wxPyEndAllowThreads(__tstate
);
6218 if (PyErr_Occurred()) SWIG_fail
;
6220 Py_INCREF(Py_None
); resultobj
= Py_None
;
6227 static PyObject
* PyTipProvider_swigregister(PyObject
*self
, PyObject
*args
) {
6229 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6230 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider
, obj
);
6232 return Py_BuildValue((char *)"");
6234 static PyObject
*_wrap_ShowTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6235 PyObject
*resultobj
;
6236 wxWindow
*arg1
= (wxWindow
*) 0 ;
6237 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
6238 bool arg3
= (bool) True
;
6240 PyObject
* obj0
= 0 ;
6241 PyObject
* obj1
= 0 ;
6242 PyObject
* obj2
= 0 ;
6244 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
6247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6250 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTipProvider
,
6251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6253 arg3
= (bool) SWIG_AsBool(obj2
);
6254 if (PyErr_Occurred()) SWIG_fail
;
6257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6258 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
6260 wxPyEndAllowThreads(__tstate
);
6261 if (PyErr_Occurred()) SWIG_fail
;
6264 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6272 static PyObject
*_wrap_CreateFileTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6273 PyObject
*resultobj
;
6274 wxString
*arg1
= 0 ;
6276 wxTipProvider
*result
;
6277 bool temp1
= False
;
6278 PyObject
* obj0
= 0 ;
6279 PyObject
* obj1
= 0 ;
6281 (char *) "filename",(char *) "currentTip", NULL
6284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) goto fail
;
6286 arg1
= wxString_in_helper(obj0
);
6287 if (arg1
== NULL
) SWIG_fail
;
6290 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
6291 if (PyErr_Occurred()) SWIG_fail
;
6293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6294 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
6296 wxPyEndAllowThreads(__tstate
);
6297 if (PyErr_Occurred()) SWIG_fail
;
6299 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipProvider
, 1);
6314 static PyObject
*_wrap_new_Timer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6315 PyObject
*resultobj
;
6316 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
6317 int arg2
= (int) -1 ;
6319 PyObject
* obj0
= 0 ;
6320 PyObject
* obj1
= 0 ;
6322 (char *) "owner",(char *) "id", NULL
6325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Timer",kwnames
,&obj0
,&obj1
)) goto fail
;
6327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
6328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6331 arg2
= (int) SWIG_AsInt(obj1
);
6332 if (PyErr_Occurred()) SWIG_fail
;
6335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6336 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
6338 wxPyEndAllowThreads(__tstate
);
6339 if (PyErr_Occurred()) SWIG_fail
;
6341 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTimer
, 1);
6348 static PyObject
*_wrap_delete_Timer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6349 PyObject
*resultobj
;
6350 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6351 PyObject
* obj0
= 0 ;
6353 (char *) "self", NULL
6356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Timer",kwnames
,&obj0
)) goto fail
;
6357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6363 wxPyEndAllowThreads(__tstate
);
6364 if (PyErr_Occurred()) SWIG_fail
;
6366 Py_INCREF(Py_None
); resultobj
= Py_None
;
6373 static PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6374 PyObject
*resultobj
;
6375 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6376 PyObject
*arg2
= (PyObject
*) 0 ;
6377 PyObject
*arg3
= (PyObject
*) 0 ;
6378 int arg4
= (int) 1 ;
6379 PyObject
* obj0
= 0 ;
6380 PyObject
* obj1
= 0 ;
6381 PyObject
* obj2
= 0 ;
6382 PyObject
* obj3
= 0 ;
6384 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
6387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6393 arg4
= (int) SWIG_AsInt(obj3
);
6394 if (PyErr_Occurred()) SWIG_fail
;
6397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6398 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
6400 wxPyEndAllowThreads(__tstate
);
6401 if (PyErr_Occurred()) SWIG_fail
;
6403 Py_INCREF(Py_None
); resultobj
= Py_None
;
6410 static PyObject
*_wrap_Timer_SetOwner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6411 PyObject
*resultobj
;
6412 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6413 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
6414 int arg3
= (int) -1 ;
6415 PyObject
* obj0
= 0 ;
6416 PyObject
* obj1
= 0 ;
6417 PyObject
* obj2
= 0 ;
6419 (char *) "self",(char *) "owner",(char *) "id", NULL
6422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6425 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
6426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6428 arg3
= (int) SWIG_AsInt(obj2
);
6429 if (PyErr_Occurred()) SWIG_fail
;
6432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6433 (arg1
)->SetOwner(arg2
,arg3
);
6435 wxPyEndAllowThreads(__tstate
);
6436 if (PyErr_Occurred()) SWIG_fail
;
6438 Py_INCREF(Py_None
); resultobj
= Py_None
;
6445 static PyObject
*_wrap_Timer_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6446 PyObject
*resultobj
;
6447 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6448 int arg2
= (int) -1 ;
6449 bool arg3
= (bool) False
;
6451 PyObject
* obj0
= 0 ;
6452 PyObject
* obj1
= 0 ;
6453 PyObject
* obj2
= 0 ;
6455 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
6458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Timer_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6462 arg2
= (int) SWIG_AsInt(obj1
);
6463 if (PyErr_Occurred()) SWIG_fail
;
6466 arg3
= (bool) SWIG_AsBool(obj2
);
6467 if (PyErr_Occurred()) SWIG_fail
;
6470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6471 result
= (bool)(arg1
)->Start(arg2
,arg3
);
6473 wxPyEndAllowThreads(__tstate
);
6474 if (PyErr_Occurred()) SWIG_fail
;
6477 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6485 static PyObject
*_wrap_Timer_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6486 PyObject
*resultobj
;
6487 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6488 PyObject
* obj0
= 0 ;
6490 (char *) "self", NULL
6493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_Stop",kwnames
,&obj0
)) goto fail
;
6494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6500 wxPyEndAllowThreads(__tstate
);
6501 if (PyErr_Occurred()) SWIG_fail
;
6503 Py_INCREF(Py_None
); resultobj
= Py_None
;
6510 static PyObject
*_wrap_Timer_IsRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6511 PyObject
*resultobj
;
6512 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6514 PyObject
* obj0
= 0 ;
6516 (char *) "self", NULL
6519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsRunning",kwnames
,&obj0
)) goto fail
;
6520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6524 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
6526 wxPyEndAllowThreads(__tstate
);
6527 if (PyErr_Occurred()) SWIG_fail
;
6530 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6538 static PyObject
*_wrap_Timer_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6539 PyObject
*resultobj
;
6540 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6542 PyObject
* obj0
= 0 ;
6544 (char *) "self", NULL
6547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetInterval",kwnames
,&obj0
)) goto fail
;
6548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6552 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
6554 wxPyEndAllowThreads(__tstate
);
6555 if (PyErr_Occurred()) SWIG_fail
;
6557 resultobj
= SWIG_FromInt((int)result
);
6564 static PyObject
*_wrap_Timer_IsOneShot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6565 PyObject
*resultobj
;
6566 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6568 PyObject
* obj0
= 0 ;
6570 (char *) "self", NULL
6573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsOneShot",kwnames
,&obj0
)) goto fail
;
6574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6578 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
6580 wxPyEndAllowThreads(__tstate
);
6581 if (PyErr_Occurred()) SWIG_fail
;
6584 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6592 static PyObject
*_wrap_Timer_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6593 PyObject
*resultobj
;
6594 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6596 PyObject
* obj0
= 0 ;
6598 (char *) "self", NULL
6601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetId",kwnames
,&obj0
)) goto fail
;
6602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6606 result
= (int)((wxPyTimer
const *)arg1
)->GetId();
6608 wxPyEndAllowThreads(__tstate
);
6609 if (PyErr_Occurred()) SWIG_fail
;
6611 resultobj
= SWIG_FromInt((int)result
);
6618 static PyObject
* Timer_swigregister(PyObject
*self
, PyObject
*args
) {
6620 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6621 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer
, obj
);
6623 return Py_BuildValue((char *)"");
6625 static PyObject
*_wrap_new_TimerEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6626 PyObject
*resultobj
;
6627 int arg1
= (int) 0 ;
6628 int arg2
= (int) 0 ;
6629 wxTimerEvent
*result
;
6630 PyObject
* obj0
= 0 ;
6631 PyObject
* obj1
= 0 ;
6633 (char *) "timerid",(char *) "interval", NULL
6636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TimerEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
6638 arg1
= (int) SWIG_AsInt(obj0
);
6639 if (PyErr_Occurred()) SWIG_fail
;
6642 arg2
= (int) SWIG_AsInt(obj1
);
6643 if (PyErr_Occurred()) SWIG_fail
;
6646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6647 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
6649 wxPyEndAllowThreads(__tstate
);
6650 if (PyErr_Occurred()) SWIG_fail
;
6652 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerEvent
, 1);
6659 static PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6660 PyObject
*resultobj
;
6661 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
6663 PyObject
* obj0
= 0 ;
6665 (char *) "self", NULL
6668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimerEvent_GetInterval",kwnames
,&obj0
)) goto fail
;
6669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerEvent
,
6670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6673 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
6675 wxPyEndAllowThreads(__tstate
);
6676 if (PyErr_Occurred()) SWIG_fail
;
6678 resultobj
= SWIG_FromInt((int)result
);
6685 static PyObject
* TimerEvent_swigregister(PyObject
*self
, PyObject
*args
) {
6687 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6688 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent
, obj
);
6690 return Py_BuildValue((char *)"");
6692 static PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*self
, PyObject
*args
) {
6693 PyObject
*resultobj
;
6695 wxTimerRunner
*result
;
6696 PyObject
* obj0
= 0 ;
6698 if(!PyArg_ParseTuple(args
,(char *)"O:new_TimerRunner",&obj0
)) goto fail
;
6699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimer
,
6700 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6703 PyErr_SetString(PyExc_TypeError
,"null reference");
6707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6708 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
6710 wxPyEndAllowThreads(__tstate
);
6711 if (PyErr_Occurred()) SWIG_fail
;
6713 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
6720 static PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*self
, PyObject
*args
) {
6721 PyObject
*resultobj
;
6724 bool arg3
= (bool) False
;
6725 wxTimerRunner
*result
;
6726 PyObject
* obj0
= 0 ;
6727 PyObject
* obj1
= 0 ;
6728 PyObject
* obj2
= 0 ;
6730 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_TimerRunner",&obj0
,&obj1
,&obj2
)) goto fail
;
6731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimer
,
6732 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6735 PyErr_SetString(PyExc_TypeError
,"null reference");
6738 arg2
= (int) SWIG_AsInt(obj1
);
6739 if (PyErr_Occurred()) SWIG_fail
;
6741 arg3
= (bool) SWIG_AsBool(obj2
);
6742 if (PyErr_Occurred()) SWIG_fail
;
6745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6746 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
6748 wxPyEndAllowThreads(__tstate
);
6749 if (PyErr_Occurred()) SWIG_fail
;
6751 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
6758 static PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
6763 argc
= PyObject_Length(args
);
6764 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
6765 argv
[ii
] = PyTuple_GetItem(args
,ii
);
6771 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
6779 return _wrap_new_TimerRunner__SWIG_0(self
,args
);
6782 if ((argc
>= 2) && (argc
<= 3)) {
6786 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
6794 _v
= SWIG_CheckInt(argv
[1]);
6797 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
6799 _v
= SWIG_CheckBool(argv
[2]);
6801 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
6807 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TimerRunner'");
6812 static PyObject
*_wrap_delete_TimerRunner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6813 PyObject
*resultobj
;
6814 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
6815 PyObject
* obj0
= 0 ;
6817 (char *) "self", NULL
6820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimerRunner",kwnames
,&obj0
)) goto fail
;
6821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerRunner
,
6822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6827 wxPyEndAllowThreads(__tstate
);
6828 if (PyErr_Occurred()) SWIG_fail
;
6830 Py_INCREF(Py_None
); resultobj
= Py_None
;
6837 static PyObject
*_wrap_TimerRunner_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6838 PyObject
*resultobj
;
6839 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
6841 bool arg3
= (bool) False
;
6842 PyObject
* obj0
= 0 ;
6843 PyObject
* obj1
= 0 ;
6844 PyObject
* obj2
= 0 ;
6846 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
6849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TimerRunner_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerRunner
,
6851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6852 arg2
= (int) SWIG_AsInt(obj1
);
6853 if (PyErr_Occurred()) SWIG_fail
;
6855 arg3
= (bool) SWIG_AsBool(obj2
);
6856 if (PyErr_Occurred()) SWIG_fail
;
6859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6860 (arg1
)->Start(arg2
,arg3
);
6862 wxPyEndAllowThreads(__tstate
);
6863 if (PyErr_Occurred()) SWIG_fail
;
6865 Py_INCREF(Py_None
); resultobj
= Py_None
;
6872 static PyObject
* TimerRunner_swigregister(PyObject
*self
, PyObject
*args
) {
6874 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6875 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner
, obj
);
6877 return Py_BuildValue((char *)"");
6879 static PyObject
*_wrap_new_Log(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6880 PyObject
*resultobj
;
6886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Log",kwnames
)) goto fail
;
6888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6889 result
= (wxLog
*)new wxLog();
6891 wxPyEndAllowThreads(__tstate
);
6892 if (PyErr_Occurred()) SWIG_fail
;
6894 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 1);
6901 static PyObject
*_wrap_Log_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6902 PyObject
*resultobj
;
6908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_IsEnabled",kwnames
)) goto fail
;
6910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6911 result
= (bool)wxLog::IsEnabled();
6913 wxPyEndAllowThreads(__tstate
);
6914 if (PyErr_Occurred()) SWIG_fail
;
6917 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6925 static PyObject
*_wrap_Log_EnableLogging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6926 PyObject
*resultobj
;
6927 bool arg1
= (bool) True
;
6929 PyObject
* obj0
= 0 ;
6931 (char *) "doIt", NULL
6934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) goto fail
;
6936 arg1
= (bool) SWIG_AsBool(obj0
);
6937 if (PyErr_Occurred()) SWIG_fail
;
6940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6941 result
= (bool)wxLog::EnableLogging(arg1
);
6943 wxPyEndAllowThreads(__tstate
);
6944 if (PyErr_Occurred()) SWIG_fail
;
6947 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6955 static PyObject
*_wrap_Log_OnLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6956 PyObject
*resultobj
;
6958 wxChar
*arg2
= (wxChar
*) 0 ;
6960 PyObject
* obj0
= 0 ;
6961 PyObject
* obj1
= 0 ;
6962 PyObject
* obj2
= 0 ;
6964 (char *) "level",(char *) "szString",(char *) "t", NULL
6967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6968 arg1
= (wxLogLevel
) SWIG_AsUnsignedLong(obj0
);
6969 if (PyErr_Occurred()) SWIG_fail
;
6970 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxChar
,
6971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6972 arg3
= (time_t) SWIG_AsUnsignedInt(obj2
);
6973 if (PyErr_Occurred()) SWIG_fail
;
6975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6976 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
6978 wxPyEndAllowThreads(__tstate
);
6979 if (PyErr_Occurred()) SWIG_fail
;
6981 Py_INCREF(Py_None
); resultobj
= Py_None
;
6988 static PyObject
*_wrap_Log_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6989 PyObject
*resultobj
;
6990 wxLog
*arg1
= (wxLog
*) 0 ;
6991 PyObject
* obj0
= 0 ;
6993 (char *) "self", NULL
6996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Flush",kwnames
,&obj0
)) goto fail
;
6997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
6998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7003 wxPyEndAllowThreads(__tstate
);
7004 if (PyErr_Occurred()) SWIG_fail
;
7006 Py_INCREF(Py_None
); resultobj
= Py_None
;
7013 static PyObject
*_wrap_Log_FlushActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7014 PyObject
*resultobj
;
7019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_FlushActive",kwnames
)) goto fail
;
7021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7022 wxLog::FlushActive();
7024 wxPyEndAllowThreads(__tstate
);
7025 if (PyErr_Occurred()) SWIG_fail
;
7027 Py_INCREF(Py_None
); resultobj
= Py_None
;
7034 static PyObject
*_wrap_Log_GetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7035 PyObject
*resultobj
;
7041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetActiveTarget",kwnames
)) goto fail
;
7043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7044 result
= (wxLog
*)wxLog::GetActiveTarget();
7046 wxPyEndAllowThreads(__tstate
);
7047 if (PyErr_Occurred()) SWIG_fail
;
7049 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7056 static PyObject
*_wrap_Log_SetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7057 PyObject
*resultobj
;
7058 wxLog
*arg1
= (wxLog
*) 0 ;
7060 PyObject
* obj0
= 0 ;
7062 (char *) "pLogger", NULL
7065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) goto fail
;
7066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7070 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
7072 wxPyEndAllowThreads(__tstate
);
7073 if (PyErr_Occurred()) SWIG_fail
;
7075 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7082 static PyObject
*_wrap_Log_Suspend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7083 PyObject
*resultobj
;
7088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Suspend",kwnames
)) goto fail
;
7090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7093 wxPyEndAllowThreads(__tstate
);
7094 if (PyErr_Occurred()) SWIG_fail
;
7096 Py_INCREF(Py_None
); resultobj
= Py_None
;
7103 static PyObject
*_wrap_Log_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7104 PyObject
*resultobj
;
7109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Resume",kwnames
)) goto fail
;
7111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7114 wxPyEndAllowThreads(__tstate
);
7115 if (PyErr_Occurred()) SWIG_fail
;
7117 Py_INCREF(Py_None
); resultobj
= Py_None
;
7124 static PyObject
*_wrap_Log_SetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7125 PyObject
*resultobj
;
7126 bool arg1
= (bool) True
;
7127 PyObject
* obj0
= 0 ;
7129 (char *) "bVerbose", NULL
7132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) goto fail
;
7134 arg1
= (bool) SWIG_AsBool(obj0
);
7135 if (PyErr_Occurred()) SWIG_fail
;
7138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7139 wxLog::SetVerbose(arg1
);
7141 wxPyEndAllowThreads(__tstate
);
7142 if (PyErr_Occurred()) SWIG_fail
;
7144 Py_INCREF(Py_None
); resultobj
= Py_None
;
7151 static PyObject
*_wrap_Log_SetLogLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7152 PyObject
*resultobj
;
7154 PyObject
* obj0
= 0 ;
7156 (char *) "logLevel", NULL
7159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) goto fail
;
7160 arg1
= (wxLogLevel
) SWIG_AsUnsignedLong(obj0
);
7161 if (PyErr_Occurred()) SWIG_fail
;
7163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7164 wxLog::SetLogLevel(arg1
);
7166 wxPyEndAllowThreads(__tstate
);
7167 if (PyErr_Occurred()) SWIG_fail
;
7169 Py_INCREF(Py_None
); resultobj
= Py_None
;
7176 static PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7177 PyObject
*resultobj
;
7182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_DontCreateOnDemand",kwnames
)) goto fail
;
7184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7185 wxLog::DontCreateOnDemand();
7187 wxPyEndAllowThreads(__tstate
);
7188 if (PyErr_Occurred()) SWIG_fail
;
7190 Py_INCREF(Py_None
); resultobj
= Py_None
;
7197 static PyObject
*_wrap_Log_SetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7198 PyObject
*resultobj
;
7200 PyObject
* obj0
= 0 ;
7202 (char *) "ulMask", NULL
7205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) goto fail
;
7206 arg1
= (wxTraceMask
) SWIG_AsUnsignedLong(obj0
);
7207 if (PyErr_Occurred()) SWIG_fail
;
7209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7210 wxLog::SetTraceMask(arg1
);
7212 wxPyEndAllowThreads(__tstate
);
7213 if (PyErr_Occurred()) SWIG_fail
;
7215 Py_INCREF(Py_None
); resultobj
= Py_None
;
7222 static PyObject
*_wrap_Log_AddTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7223 PyObject
*resultobj
;
7224 wxString
*arg1
= 0 ;
7225 bool temp1
= False
;
7226 PyObject
* obj0
= 0 ;
7228 (char *) "str", NULL
7231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) goto fail
;
7233 arg1
= wxString_in_helper(obj0
);
7234 if (arg1
== NULL
) SWIG_fail
;
7238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7239 wxLog::AddTraceMask((wxString
const &)*arg1
);
7241 wxPyEndAllowThreads(__tstate
);
7242 if (PyErr_Occurred()) SWIG_fail
;
7244 Py_INCREF(Py_None
); resultobj
= Py_None
;
7259 static PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7260 PyObject
*resultobj
;
7261 wxString
*arg1
= 0 ;
7262 bool temp1
= False
;
7263 PyObject
* obj0
= 0 ;
7265 (char *) "str", NULL
7268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) goto fail
;
7270 arg1
= wxString_in_helper(obj0
);
7271 if (arg1
== NULL
) SWIG_fail
;
7275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7276 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
7278 wxPyEndAllowThreads(__tstate
);
7279 if (PyErr_Occurred()) SWIG_fail
;
7281 Py_INCREF(Py_None
); resultobj
= Py_None
;
7296 static PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7297 PyObject
*resultobj
;
7302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_ClearTraceMasks",kwnames
)) goto fail
;
7304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7305 wxLog::ClearTraceMasks();
7307 wxPyEndAllowThreads(__tstate
);
7308 if (PyErr_Occurred()) SWIG_fail
;
7310 Py_INCREF(Py_None
); resultobj
= Py_None
;
7317 static PyObject
*_wrap_Log_GetTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7318 PyObject
*resultobj
;
7319 wxArrayString
*result
;
7324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMasks",kwnames
)) goto fail
;
7326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7328 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
7329 result
= (wxArrayString
*) &_result_ref
;
7332 wxPyEndAllowThreads(__tstate
);
7333 if (PyErr_Occurred()) SWIG_fail
;
7336 resultobj
= wxArrayString2PyList_helper(*result
);
7344 static PyObject
*_wrap_Log_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7345 PyObject
*resultobj
;
7346 wxChar
*arg1
= (wxChar
*) 0 ;
7347 PyObject
* obj0
= 0 ;
7352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) goto fail
;
7353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChar
,
7354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7357 wxLog::SetTimestamp((wxChar
const *)arg1
);
7359 wxPyEndAllowThreads(__tstate
);
7360 if (PyErr_Occurred()) SWIG_fail
;
7362 Py_INCREF(Py_None
); resultobj
= Py_None
;
7369 static PyObject
*_wrap_Log_GetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7370 PyObject
*resultobj
;
7376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetVerbose",kwnames
)) goto fail
;
7378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7379 result
= (bool)wxLog::GetVerbose();
7381 wxPyEndAllowThreads(__tstate
);
7382 if (PyErr_Occurred()) SWIG_fail
;
7385 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7393 static PyObject
*_wrap_Log_GetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7394 PyObject
*resultobj
;
7400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMask",kwnames
)) goto fail
;
7402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7403 result
= (wxTraceMask
)wxLog::GetTraceMask();
7405 wxPyEndAllowThreads(__tstate
);
7406 if (PyErr_Occurred()) SWIG_fail
;
7408 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
7415 static PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7416 PyObject
*resultobj
;
7417 wxChar
*arg1
= (wxChar
*) 0 ;
7419 PyObject
* obj0
= 0 ;
7421 (char *) "mask", NULL
7424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) goto fail
;
7425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChar
,
7426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7429 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
7431 wxPyEndAllowThreads(__tstate
);
7432 if (PyErr_Occurred()) SWIG_fail
;
7435 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7443 static PyObject
*_wrap_Log_GetLogLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7444 PyObject
*resultobj
;
7450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetLogLevel",kwnames
)) goto fail
;
7452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7453 result
= (wxLogLevel
)wxLog::GetLogLevel();
7455 wxPyEndAllowThreads(__tstate
);
7456 if (PyErr_Occurred()) SWIG_fail
;
7458 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
7465 static PyObject
*_wrap_Log_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7466 PyObject
*resultobj
;
7472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTimestamp",kwnames
)) goto fail
;
7474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7475 result
= (wxChar
*)wxLog::GetTimestamp();
7477 wxPyEndAllowThreads(__tstate
);
7478 if (PyErr_Occurred()) SWIG_fail
;
7480 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChar
, 0);
7487 static PyObject
*_wrap_Log_TimeStamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7488 PyObject
*resultobj
;
7494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_TimeStamp",kwnames
)) goto fail
;
7496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7497 result
= Log_TimeStamp();
7499 wxPyEndAllowThreads(__tstate
);
7500 if (PyErr_Occurred()) SWIG_fail
;
7504 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7506 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7515 static PyObject
*_wrap_Log_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7516 PyObject
*resultobj
;
7517 wxLog
*arg1
= (wxLog
*) 0 ;
7518 PyObject
* obj0
= 0 ;
7520 (char *) "self", NULL
7523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Destroy",kwnames
,&obj0
)) goto fail
;
7524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7528 wxLog_Destroy(arg1
);
7530 wxPyEndAllowThreads(__tstate
);
7531 if (PyErr_Occurred()) SWIG_fail
;
7533 Py_INCREF(Py_None
); resultobj
= Py_None
;
7540 static PyObject
* Log_swigregister(PyObject
*self
, PyObject
*args
) {
7542 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7543 SWIG_TypeClientData(SWIGTYPE_p_wxLog
, obj
);
7545 return Py_BuildValue((char *)"");
7547 static PyObject
*_wrap_new_LogStderr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7548 PyObject
*resultobj
;
7549 wxLogStderr
*result
;
7554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogStderr",kwnames
)) goto fail
;
7556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7557 result
= (wxLogStderr
*)new wxLogStderr();
7559 wxPyEndAllowThreads(__tstate
);
7560 if (PyErr_Occurred()) SWIG_fail
;
7562 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogStderr
, 1);
7569 static PyObject
* LogStderr_swigregister(PyObject
*self
, PyObject
*args
) {
7571 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7572 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr
, obj
);
7574 return Py_BuildValue((char *)"");
7576 static PyObject
*_wrap_new_LogTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7577 PyObject
*resultobj
;
7578 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7579 wxLogTextCtrl
*result
;
7580 PyObject
* obj0
= 0 ;
7582 (char *) "pTextCtrl", NULL
7585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) goto fail
;
7586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7590 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
7592 wxPyEndAllowThreads(__tstate
);
7593 if (PyErr_Occurred()) SWIG_fail
;
7595 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogTextCtrl
, 1);
7602 static PyObject
* LogTextCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
7604 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7605 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl
, obj
);
7607 return Py_BuildValue((char *)"");
7609 static PyObject
*_wrap_new_LogGui(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7610 PyObject
*resultobj
;
7616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogGui",kwnames
)) goto fail
;
7618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7619 result
= (wxLogGui
*)new wxLogGui();
7621 wxPyEndAllowThreads(__tstate
);
7622 if (PyErr_Occurred()) SWIG_fail
;
7624 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogGui
, 1);
7631 static PyObject
* LogGui_swigregister(PyObject
*self
, PyObject
*args
) {
7633 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7634 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui
, obj
);
7636 return Py_BuildValue((char *)"");
7638 static PyObject
*_wrap_new_LogWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7639 PyObject
*resultobj
;
7640 wxFrame
*arg1
= (wxFrame
*) 0 ;
7641 wxString
*arg2
= 0 ;
7642 bool arg3
= (bool) True
;
7643 bool arg4
= (bool) True
;
7644 wxLogWindow
*result
;
7645 bool temp2
= False
;
7646 PyObject
* obj0
= 0 ;
7647 PyObject
* obj1
= 0 ;
7648 PyObject
* obj2
= 0 ;
7649 PyObject
* obj3
= 0 ;
7651 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
7654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
7656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7658 arg2
= wxString_in_helper(obj1
);
7659 if (arg2
== NULL
) SWIG_fail
;
7663 arg3
= (bool) SWIG_AsBool(obj2
);
7664 if (PyErr_Occurred()) SWIG_fail
;
7667 arg4
= (bool) SWIG_AsBool(obj3
);
7668 if (PyErr_Occurred()) SWIG_fail
;
7671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7672 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
7674 wxPyEndAllowThreads(__tstate
);
7675 if (PyErr_Occurred()) SWIG_fail
;
7677 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogWindow
, 1);
7692 static PyObject
*_wrap_LogWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7693 PyObject
*resultobj
;
7694 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7695 bool arg2
= (bool) True
;
7696 PyObject
* obj0
= 0 ;
7697 PyObject
* obj1
= 0 ;
7699 (char *) "self",(char *) "bShow", NULL
7702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
7703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7706 arg2
= (bool) SWIG_AsBool(obj1
);
7707 if (PyErr_Occurred()) SWIG_fail
;
7710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7713 wxPyEndAllowThreads(__tstate
);
7714 if (PyErr_Occurred()) SWIG_fail
;
7716 Py_INCREF(Py_None
); resultobj
= Py_None
;
7723 static PyObject
*_wrap_LogWindow_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7724 PyObject
*resultobj
;
7725 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7727 PyObject
* obj0
= 0 ;
7729 (char *) "self", NULL
7732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetFrame",kwnames
,&obj0
)) goto fail
;
7733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7737 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
7739 wxPyEndAllowThreads(__tstate
);
7740 if (PyErr_Occurred()) SWIG_fail
;
7743 resultobj
= wxPyMake_wxObject(result
);
7751 static PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7752 PyObject
*resultobj
;
7753 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7755 PyObject
* obj0
= 0 ;
7757 (char *) "self", NULL
7760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetOldLog",kwnames
,&obj0
)) goto fail
;
7761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7765 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
7767 wxPyEndAllowThreads(__tstate
);
7768 if (PyErr_Occurred()) SWIG_fail
;
7770 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7777 static PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7778 PyObject
*resultobj
;
7779 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7781 PyObject
* obj0
= 0 ;
7783 (char *) "self", NULL
7786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
7787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7791 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
7793 wxPyEndAllowThreads(__tstate
);
7794 if (PyErr_Occurred()) SWIG_fail
;
7797 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7805 static PyObject
*_wrap_LogWindow_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7806 PyObject
*resultobj
;
7807 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7809 PyObject
* obj0
= 0 ;
7810 PyObject
* obj1
= 0 ;
7812 (char *) "self",(char *) "bDoPass", NULL
7815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
7816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7818 arg2
= (bool) SWIG_AsBool(obj1
);
7819 if (PyErr_Occurred()) SWIG_fail
;
7821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7822 (arg1
)->PassMessages(arg2
);
7824 wxPyEndAllowThreads(__tstate
);
7825 if (PyErr_Occurred()) SWIG_fail
;
7827 Py_INCREF(Py_None
); resultobj
= Py_None
;
7834 static PyObject
* LogWindow_swigregister(PyObject
*self
, PyObject
*args
) {
7836 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7837 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow
, obj
);
7839 return Py_BuildValue((char *)"");
7841 static PyObject
*_wrap_new_LogChain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7842 PyObject
*resultobj
;
7843 wxLog
*arg1
= (wxLog
*) 0 ;
7845 PyObject
* obj0
= 0 ;
7847 (char *) "logger", NULL
7850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) goto fail
;
7851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7855 result
= (wxLogChain
*)new wxLogChain(arg1
);
7857 wxPyEndAllowThreads(__tstate
);
7858 if (PyErr_Occurred()) SWIG_fail
;
7860 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogChain
, 1);
7867 static PyObject
*_wrap_LogChain_SetLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7868 PyObject
*resultobj
;
7869 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7870 wxLog
*arg2
= (wxLog
*) 0 ;
7871 PyObject
* obj0
= 0 ;
7872 PyObject
* obj1
= 0 ;
7874 (char *) "self",(char *) "logger", NULL
7877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) goto fail
;
7878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
7879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7880 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLog
,
7881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7884 (arg1
)->SetLog(arg2
);
7886 wxPyEndAllowThreads(__tstate
);
7887 if (PyErr_Occurred()) SWIG_fail
;
7889 Py_INCREF(Py_None
); resultobj
= Py_None
;
7896 static PyObject
*_wrap_LogChain_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7897 PyObject
*resultobj
;
7898 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7900 PyObject
* obj0
= 0 ;
7901 PyObject
* obj1
= 0 ;
7903 (char *) "self",(char *) "bDoPass", NULL
7906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
7907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
7908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7909 arg2
= (bool) SWIG_AsBool(obj1
);
7910 if (PyErr_Occurred()) SWIG_fail
;
7912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7913 (arg1
)->PassMessages(arg2
);
7915 wxPyEndAllowThreads(__tstate
);
7916 if (PyErr_Occurred()) SWIG_fail
;
7918 Py_INCREF(Py_None
); resultobj
= Py_None
;
7925 static PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7926 PyObject
*resultobj
;
7927 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7929 PyObject
* obj0
= 0 ;
7931 (char *) "self", NULL
7934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
7935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
7936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7939 result
= (bool)(arg1
)->IsPassingMessages();
7941 wxPyEndAllowThreads(__tstate
);
7942 if (PyErr_Occurred()) SWIG_fail
;
7945 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7953 static PyObject
*_wrap_LogChain_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7954 PyObject
*resultobj
;
7955 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7957 PyObject
* obj0
= 0 ;
7959 (char *) "self", NULL
7962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_GetOldLog",kwnames
,&obj0
)) goto fail
;
7963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
7964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7967 result
= (wxLog
*)(arg1
)->GetOldLog();
7969 wxPyEndAllowThreads(__tstate
);
7970 if (PyErr_Occurred()) SWIG_fail
;
7972 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7979 static PyObject
* LogChain_swigregister(PyObject
*self
, PyObject
*args
) {
7981 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7982 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain
, obj
);
7984 return Py_BuildValue((char *)"");
7986 static PyObject
*_wrap_SysErrorCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7987 PyObject
*resultobj
;
7988 unsigned long result
;
7993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SysErrorCode",kwnames
)) goto fail
;
7995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7996 result
= (unsigned long)wxSysErrorCode();
7998 wxPyEndAllowThreads(__tstate
);
7999 if (PyErr_Occurred()) SWIG_fail
;
8001 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
8008 static PyObject
*_wrap_SysErrorMsg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8009 PyObject
*resultobj
;
8010 unsigned long arg1
= (unsigned long) 0 ;
8012 PyObject
* obj0
= 0 ;
8014 (char *) "nErrCode", NULL
8017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) goto fail
;
8019 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
8020 if (PyErr_Occurred()) SWIG_fail
;
8023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8024 result
= wxSysErrorMsg(arg1
);
8026 wxPyEndAllowThreads(__tstate
);
8027 if (PyErr_Occurred()) SWIG_fail
;
8031 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8033 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8042 static PyObject
*_wrap_LogFatalError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8043 PyObject
*resultobj
;
8044 wxString
*arg1
= 0 ;
8045 bool temp1
= False
;
8046 PyObject
* obj0
= 0 ;
8048 (char *) "msg", NULL
8051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) goto fail
;
8053 arg1
= wxString_in_helper(obj0
);
8054 if (arg1
== NULL
) SWIG_fail
;
8058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8059 wxLogFatalError((wxString
const &)*arg1
);
8061 wxPyEndAllowThreads(__tstate
);
8062 if (PyErr_Occurred()) SWIG_fail
;
8064 Py_INCREF(Py_None
); resultobj
= Py_None
;
8079 static PyObject
*_wrap_LogError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8080 PyObject
*resultobj
;
8081 wxString
*arg1
= 0 ;
8082 bool temp1
= False
;
8083 PyObject
* obj0
= 0 ;
8085 (char *) "msg", NULL
8088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) goto fail
;
8090 arg1
= wxString_in_helper(obj0
);
8091 if (arg1
== NULL
) SWIG_fail
;
8095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8096 wxLogError((wxString
const &)*arg1
);
8098 wxPyEndAllowThreads(__tstate
);
8099 if (PyErr_Occurred()) SWIG_fail
;
8101 Py_INCREF(Py_None
); resultobj
= Py_None
;
8116 static PyObject
*_wrap_LogWarning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8117 PyObject
*resultobj
;
8118 wxString
*arg1
= 0 ;
8119 bool temp1
= False
;
8120 PyObject
* obj0
= 0 ;
8122 (char *) "msg", NULL
8125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) goto fail
;
8127 arg1
= wxString_in_helper(obj0
);
8128 if (arg1
== NULL
) SWIG_fail
;
8132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8133 wxLogWarning((wxString
const &)*arg1
);
8135 wxPyEndAllowThreads(__tstate
);
8136 if (PyErr_Occurred()) SWIG_fail
;
8138 Py_INCREF(Py_None
); resultobj
= Py_None
;
8153 static PyObject
*_wrap_LogMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8154 PyObject
*resultobj
;
8155 wxString
*arg1
= 0 ;
8156 bool temp1
= False
;
8157 PyObject
* obj0
= 0 ;
8159 (char *) "msg", NULL
8162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) goto fail
;
8164 arg1
= wxString_in_helper(obj0
);
8165 if (arg1
== NULL
) SWIG_fail
;
8169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8170 wxLogMessage((wxString
const &)*arg1
);
8172 wxPyEndAllowThreads(__tstate
);
8173 if (PyErr_Occurred()) SWIG_fail
;
8175 Py_INCREF(Py_None
); resultobj
= Py_None
;
8190 static PyObject
*_wrap_LogInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8191 PyObject
*resultobj
;
8192 wxString
*arg1
= 0 ;
8193 bool temp1
= False
;
8194 PyObject
* obj0
= 0 ;
8196 (char *) "msg", NULL
8199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) goto fail
;
8201 arg1
= wxString_in_helper(obj0
);
8202 if (arg1
== NULL
) SWIG_fail
;
8206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8207 wxLogInfo((wxString
const &)*arg1
);
8209 wxPyEndAllowThreads(__tstate
);
8210 if (PyErr_Occurred()) SWIG_fail
;
8212 Py_INCREF(Py_None
); resultobj
= Py_None
;
8227 static PyObject
*_wrap_LogDebug(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8228 PyObject
*resultobj
;
8229 wxString
*arg1
= 0 ;
8230 bool temp1
= False
;
8231 PyObject
* obj0
= 0 ;
8233 (char *) "msg", NULL
8236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) goto fail
;
8238 arg1
= wxString_in_helper(obj0
);
8239 if (arg1
== NULL
) SWIG_fail
;
8243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8244 wxLogDebug((wxString
const &)*arg1
);
8246 wxPyEndAllowThreads(__tstate
);
8247 if (PyErr_Occurred()) SWIG_fail
;
8249 Py_INCREF(Py_None
); resultobj
= Py_None
;
8264 static PyObject
*_wrap_LogVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8265 PyObject
*resultobj
;
8266 wxString
*arg1
= 0 ;
8267 bool temp1
= False
;
8268 PyObject
* obj0
= 0 ;
8270 (char *) "msg", NULL
8273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) goto fail
;
8275 arg1
= wxString_in_helper(obj0
);
8276 if (arg1
== NULL
) SWIG_fail
;
8280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8281 wxLogVerbose((wxString
const &)*arg1
);
8283 wxPyEndAllowThreads(__tstate
);
8284 if (PyErr_Occurred()) SWIG_fail
;
8286 Py_INCREF(Py_None
); resultobj
= Py_None
;
8301 static PyObject
*_wrap_LogStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8302 PyObject
*resultobj
;
8303 wxString
*arg1
= 0 ;
8304 bool temp1
= False
;
8305 PyObject
* obj0
= 0 ;
8307 (char *) "msg", NULL
8310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) goto fail
;
8312 arg1
= wxString_in_helper(obj0
);
8313 if (arg1
== NULL
) SWIG_fail
;
8317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8318 wxLogStatus((wxString
const &)*arg1
);
8320 wxPyEndAllowThreads(__tstate
);
8321 if (PyErr_Occurred()) SWIG_fail
;
8323 Py_INCREF(Py_None
); resultobj
= Py_None
;
8338 static PyObject
*_wrap_LogStatusFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8339 PyObject
*resultobj
;
8340 wxFrame
*arg1
= (wxFrame
*) 0 ;
8341 wxString
*arg2
= 0 ;
8342 bool temp2
= False
;
8343 PyObject
* obj0
= 0 ;
8344 PyObject
* obj1
= 0 ;
8346 (char *) "pFrame",(char *) "msg", NULL
8349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
8350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
8351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8353 arg2
= wxString_in_helper(obj1
);
8354 if (arg2
== NULL
) SWIG_fail
;
8358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8359 wxLogStatus(arg1
,(wxString
const &)*arg2
);
8361 wxPyEndAllowThreads(__tstate
);
8362 if (PyErr_Occurred()) SWIG_fail
;
8364 Py_INCREF(Py_None
); resultobj
= Py_None
;
8379 static PyObject
*_wrap_LogSysError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8380 PyObject
*resultobj
;
8381 wxString
*arg1
= 0 ;
8382 bool temp1
= False
;
8383 PyObject
* obj0
= 0 ;
8385 (char *) "msg", NULL
8388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) goto fail
;
8390 arg1
= wxString_in_helper(obj0
);
8391 if (arg1
== NULL
) SWIG_fail
;
8395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8396 wxLogSysError((wxString
const &)*arg1
);
8398 wxPyEndAllowThreads(__tstate
);
8399 if (PyErr_Occurred()) SWIG_fail
;
8401 Py_INCREF(Py_None
); resultobj
= Py_None
;
8416 static PyObject
*_wrap_LogTrace__SWIG_0(PyObject
*self
, PyObject
*args
) {
8417 PyObject
*resultobj
;
8418 unsigned long arg1
;
8419 wxString
*arg2
= 0 ;
8420 bool temp2
= False
;
8421 PyObject
* obj0
= 0 ;
8422 PyObject
* obj1
= 0 ;
8424 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
8425 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
8426 if (PyErr_Occurred()) SWIG_fail
;
8428 arg2
= wxString_in_helper(obj1
);
8429 if (arg2
== NULL
) SWIG_fail
;
8433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8434 wxLogTrace(arg1
,(wxString
const &)*arg2
);
8436 wxPyEndAllowThreads(__tstate
);
8437 if (PyErr_Occurred()) SWIG_fail
;
8439 Py_INCREF(Py_None
); resultobj
= Py_None
;
8454 static PyObject
*_wrap_LogTrace__SWIG_1(PyObject
*self
, PyObject
*args
) {
8455 PyObject
*resultobj
;
8456 wxString
*arg1
= 0 ;
8457 wxString
*arg2
= 0 ;
8458 bool temp1
= False
;
8459 bool temp2
= False
;
8460 PyObject
* obj0
= 0 ;
8461 PyObject
* obj1
= 0 ;
8463 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
8465 arg1
= wxString_in_helper(obj0
);
8466 if (arg1
== NULL
) SWIG_fail
;
8470 arg2
= wxString_in_helper(obj1
);
8471 if (arg2
== NULL
) SWIG_fail
;
8475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8476 wxLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
8478 wxPyEndAllowThreads(__tstate
);
8479 if (PyErr_Occurred()) SWIG_fail
;
8481 Py_INCREF(Py_None
); resultobj
= Py_None
;
8504 static PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
) {
8509 argc
= PyObject_Length(args
);
8510 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
8511 argv
[ii
] = PyTuple_GetItem(args
,ii
);
8516 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
8520 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
8523 return _wrap_LogTrace__SWIG_1(self
,args
);
8529 _v
= SWIG_CheckUnsignedLong(argv
[0]);
8532 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
8535 return _wrap_LogTrace__SWIG_0(self
,args
);
8540 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'LogTrace'");
8545 static PyObject
*_wrap_LogGeneric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8546 PyObject
*resultobj
;
8547 unsigned long arg1
;
8548 wxString
*arg2
= 0 ;
8549 bool temp2
= False
;
8550 PyObject
* obj0
= 0 ;
8551 PyObject
* obj1
= 0 ;
8553 (char *) "level",(char *) "msg", NULL
8556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) goto fail
;
8557 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
8558 if (PyErr_Occurred()) SWIG_fail
;
8560 arg2
= wxString_in_helper(obj1
);
8561 if (arg2
== NULL
) SWIG_fail
;
8565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8566 wxLogGeneric(arg1
,(wxString
const &)*arg2
);
8568 wxPyEndAllowThreads(__tstate
);
8569 if (PyErr_Occurred()) SWIG_fail
;
8571 Py_INCREF(Py_None
); resultobj
= Py_None
;
8586 static PyObject
*_wrap_SafeShowMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8587 PyObject
*resultobj
;
8588 wxString
*arg1
= 0 ;
8589 wxString
*arg2
= 0 ;
8590 bool temp1
= False
;
8591 bool temp2
= False
;
8592 PyObject
* obj0
= 0 ;
8593 PyObject
* obj1
= 0 ;
8595 (char *) "title",(char *) "text", NULL
8598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
8600 arg1
= wxString_in_helper(obj0
);
8601 if (arg1
== NULL
) SWIG_fail
;
8605 arg2
= wxString_in_helper(obj1
);
8606 if (arg2
== NULL
) SWIG_fail
;
8610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8611 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
8613 wxPyEndAllowThreads(__tstate
);
8614 if (PyErr_Occurred()) SWIG_fail
;
8616 Py_INCREF(Py_None
); resultobj
= Py_None
;
8639 static PyObject
*_wrap_new_LogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8640 PyObject
*resultobj
;
8646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogNull",kwnames
)) goto fail
;
8648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8649 result
= (wxLogNull
*)new wxLogNull();
8651 wxPyEndAllowThreads(__tstate
);
8652 if (PyErr_Occurred()) SWIG_fail
;
8654 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogNull
, 1);
8661 static PyObject
*_wrap_delete_LogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8662 PyObject
*resultobj
;
8663 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
8664 PyObject
* obj0
= 0 ;
8666 (char *) "self", NULL
8669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LogNull",kwnames
,&obj0
)) goto fail
;
8670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogNull
,
8671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8676 wxPyEndAllowThreads(__tstate
);
8677 if (PyErr_Occurred()) SWIG_fail
;
8679 Py_INCREF(Py_None
); resultobj
= Py_None
;
8686 static PyObject
* LogNull_swigregister(PyObject
*self
, PyObject
*args
) {
8688 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8689 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull
, obj
);
8691 return Py_BuildValue((char *)"");
8693 static PyObject
*_wrap_new_PyLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8694 PyObject
*resultobj
;
8700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyLog",kwnames
)) goto fail
;
8702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8703 result
= (wxPyLog
*)new wxPyLog();
8705 wxPyEndAllowThreads(__tstate
);
8706 if (PyErr_Occurred()) SWIG_fail
;
8708 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyLog
, 1);
8715 static PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8716 PyObject
*resultobj
;
8717 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
8718 PyObject
*arg2
= (PyObject
*) 0 ;
8719 PyObject
*arg3
= (PyObject
*) 0 ;
8720 PyObject
* obj0
= 0 ;
8721 PyObject
* obj1
= 0 ;
8722 PyObject
* obj2
= 0 ;
8724 (char *) "self",(char *) "self",(char *) "_class", NULL
8727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLog
,
8729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8734 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8736 wxPyEndAllowThreads(__tstate
);
8737 if (PyErr_Occurred()) SWIG_fail
;
8739 Py_INCREF(Py_None
); resultobj
= Py_None
;
8746 static PyObject
* PyLog_swigregister(PyObject
*self
, PyObject
*args
) {
8748 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8749 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog
, obj
);
8751 return Py_BuildValue((char *)"");
8753 static PyObject
*_wrap_Process_Kill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8754 PyObject
*resultobj
;
8756 int arg2
= (int) wxSIGTERM
;
8758 PyObject
* obj0
= 0 ;
8759 PyObject
* obj1
= 0 ;
8761 (char *) "pid",(char *) "sig", NULL
8764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Kill",kwnames
,&obj0
,&obj1
)) goto fail
;
8765 arg1
= (int) SWIG_AsInt(obj0
);
8766 if (PyErr_Occurred()) SWIG_fail
;
8768 arg2
= (wxSignal
) SWIG_AsInt(obj1
);
8769 if (PyErr_Occurred()) SWIG_fail
;
8772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8773 result
= (int)wxPyProcess::Kill(arg1
,(wxSignal
)arg2
);
8775 wxPyEndAllowThreads(__tstate
);
8776 if (PyErr_Occurred()) SWIG_fail
;
8778 resultobj
= SWIG_FromInt((int)result
);
8785 static PyObject
*_wrap_Process_Exists(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8786 PyObject
*resultobj
;
8789 PyObject
* obj0
= 0 ;
8791 (char *) "pid", NULL
8794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Exists",kwnames
,&obj0
)) goto fail
;
8795 arg1
= (int) SWIG_AsInt(obj0
);
8796 if (PyErr_Occurred()) SWIG_fail
;
8798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8799 result
= (bool)wxPyProcess::Exists(arg1
);
8801 wxPyEndAllowThreads(__tstate
);
8802 if (PyErr_Occurred()) SWIG_fail
;
8805 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8813 static PyObject
*_wrap_Process_Open(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8814 PyObject
*resultobj
;
8815 wxString
*arg1
= 0 ;
8816 int arg2
= (int) wxEXEC_ASYNC
;
8817 wxPyProcess
*result
;
8818 bool temp1
= False
;
8819 PyObject
* obj0
= 0 ;
8820 PyObject
* obj1
= 0 ;
8822 (char *) "cmd",(char *) "flags", NULL
8825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Open",kwnames
,&obj0
,&obj1
)) goto fail
;
8827 arg1
= wxString_in_helper(obj0
);
8828 if (arg1
== NULL
) SWIG_fail
;
8832 arg2
= (int) SWIG_AsInt(obj1
);
8833 if (PyErr_Occurred()) SWIG_fail
;
8836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8837 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
8839 wxPyEndAllowThreads(__tstate
);
8840 if (PyErr_Occurred()) SWIG_fail
;
8842 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 0);
8857 static PyObject
*_wrap_new_Process(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8858 PyObject
*resultobj
;
8859 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
8860 int arg2
= (int) -1 ;
8861 wxPyProcess
*result
;
8862 PyObject
* obj0
= 0 ;
8863 PyObject
* obj1
= 0 ;
8865 (char *) "parent",(char *) "id", NULL
8868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Process",kwnames
,&obj0
,&obj1
)) goto fail
;
8870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
8871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8874 arg2
= (int) SWIG_AsInt(obj1
);
8875 if (PyErr_Occurred()) SWIG_fail
;
8878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8879 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
8881 wxPyEndAllowThreads(__tstate
);
8882 if (PyErr_Occurred()) SWIG_fail
;
8884 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 1);
8891 static PyObject
*_wrap_Process__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8892 PyObject
*resultobj
;
8893 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8894 PyObject
*arg2
= (PyObject
*) 0 ;
8895 PyObject
*arg3
= (PyObject
*) 0 ;
8896 PyObject
* obj0
= 0 ;
8897 PyObject
* obj1
= 0 ;
8898 PyObject
* obj2
= 0 ;
8900 (char *) "self",(char *) "self",(char *) "_class", NULL
8903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
8905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8910 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8912 wxPyEndAllowThreads(__tstate
);
8913 if (PyErr_Occurred()) SWIG_fail
;
8915 Py_INCREF(Py_None
); resultobj
= Py_None
;
8922 static PyObject
*_wrap_Process_base_OnTerminate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8923 PyObject
*resultobj
;
8924 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8927 PyObject
* obj0
= 0 ;
8928 PyObject
* obj1
= 0 ;
8929 PyObject
* obj2
= 0 ;
8931 (char *) "self",(char *) "pid",(char *) "status", NULL
8934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process_base_OnTerminate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
8936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8937 arg2
= (int) SWIG_AsInt(obj1
);
8938 if (PyErr_Occurred()) SWIG_fail
;
8939 arg3
= (int) SWIG_AsInt(obj2
);
8940 if (PyErr_Occurred()) SWIG_fail
;
8942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8943 (arg1
)->base_OnTerminate(arg2
,arg3
);
8945 wxPyEndAllowThreads(__tstate
);
8946 if (PyErr_Occurred()) SWIG_fail
;
8948 Py_INCREF(Py_None
); resultobj
= Py_None
;
8955 static PyObject
*_wrap_Process_Redirect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8956 PyObject
*resultobj
;
8957 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8958 PyObject
* obj0
= 0 ;
8960 (char *) "self", NULL
8963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Redirect",kwnames
,&obj0
)) goto fail
;
8964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
8965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8970 wxPyEndAllowThreads(__tstate
);
8971 if (PyErr_Occurred()) SWIG_fail
;
8973 Py_INCREF(Py_None
); resultobj
= Py_None
;
8980 static PyObject
*_wrap_Process_IsRedirected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8981 PyObject
*resultobj
;
8982 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8984 PyObject
* obj0
= 0 ;
8986 (char *) "self", NULL
8989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsRedirected",kwnames
,&obj0
)) goto fail
;
8990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
8991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8994 result
= (bool)(arg1
)->IsRedirected();
8996 wxPyEndAllowThreads(__tstate
);
8997 if (PyErr_Occurred()) SWIG_fail
;
9000 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9008 static PyObject
*_wrap_Process_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9009 PyObject
*resultobj
;
9010 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9011 PyObject
* obj0
= 0 ;
9013 (char *) "self", NULL
9016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Detach",kwnames
,&obj0
)) goto fail
;
9017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9023 wxPyEndAllowThreads(__tstate
);
9024 if (PyErr_Occurred()) SWIG_fail
;
9026 Py_INCREF(Py_None
); resultobj
= Py_None
;
9033 static PyObject
*_wrap_Process_GetInputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9034 PyObject
*resultobj
;
9035 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9036 wxInputStream
*result
;
9037 PyObject
* obj0
= 0 ;
9039 (char *) "self", NULL
9042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetInputStream",kwnames
,&obj0
)) goto fail
;
9043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9047 result
= (wxInputStream
*)(arg1
)->GetInputStream();
9049 wxPyEndAllowThreads(__tstate
);
9050 if (PyErr_Occurred()) SWIG_fail
;
9053 wxPyInputStream
* _ptr
= NULL
;
9056 _ptr
= new wxPyInputStream(result
);
9058 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
9066 static PyObject
*_wrap_Process_GetErrorStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9067 PyObject
*resultobj
;
9068 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9069 wxInputStream
*result
;
9070 PyObject
* obj0
= 0 ;
9072 (char *) "self", NULL
9075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetErrorStream",kwnames
,&obj0
)) goto fail
;
9076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9080 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
9082 wxPyEndAllowThreads(__tstate
);
9083 if (PyErr_Occurred()) SWIG_fail
;
9086 wxPyInputStream
* _ptr
= NULL
;
9089 _ptr
= new wxPyInputStream(result
);
9091 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
9099 static PyObject
*_wrap_Process_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9100 PyObject
*resultobj
;
9101 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9102 wxOutputStream
*result
;
9103 PyObject
* obj0
= 0 ;
9105 (char *) "self", NULL
9108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetOutputStream",kwnames
,&obj0
)) goto fail
;
9109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9113 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
9115 wxPyEndAllowThreads(__tstate
);
9116 if (PyErr_Occurred()) SWIG_fail
;
9118 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
9125 static PyObject
*_wrap_Process_CloseOutput(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9126 PyObject
*resultobj
;
9127 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9128 PyObject
* obj0
= 0 ;
9130 (char *) "self", NULL
9133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_CloseOutput",kwnames
,&obj0
)) goto fail
;
9134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9138 (arg1
)->CloseOutput();
9140 wxPyEndAllowThreads(__tstate
);
9141 if (PyErr_Occurred()) SWIG_fail
;
9143 Py_INCREF(Py_None
); resultobj
= Py_None
;
9150 static PyObject
*_wrap_Process_IsInputOpened(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9151 PyObject
*resultobj
;
9152 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9154 PyObject
* obj0
= 0 ;
9156 (char *) "self", NULL
9159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputOpened",kwnames
,&obj0
)) goto fail
;
9160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9164 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
9166 wxPyEndAllowThreads(__tstate
);
9167 if (PyErr_Occurred()) SWIG_fail
;
9170 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9178 static PyObject
*_wrap_Process_IsInputAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9179 PyObject
*resultobj
;
9180 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9182 PyObject
* obj0
= 0 ;
9184 (char *) "self", NULL
9187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputAvailable",kwnames
,&obj0
)) goto fail
;
9188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9192 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
9194 wxPyEndAllowThreads(__tstate
);
9195 if (PyErr_Occurred()) SWIG_fail
;
9198 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9206 static PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9207 PyObject
*resultobj
;
9208 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9210 PyObject
* obj0
= 0 ;
9212 (char *) "self", NULL
9215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsErrorAvailable",kwnames
,&obj0
)) goto fail
;
9216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9220 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
9222 wxPyEndAllowThreads(__tstate
);
9223 if (PyErr_Occurred()) SWIG_fail
;
9226 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9234 static PyObject
* Process_swigregister(PyObject
*self
, PyObject
*args
) {
9236 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9237 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess
, obj
);
9239 return Py_BuildValue((char *)"");
9241 static PyObject
*_wrap_new_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9242 PyObject
*resultobj
;
9243 int arg1
= (int) 0 ;
9244 int arg2
= (int) 0 ;
9245 int arg3
= (int) 0 ;
9246 wxProcessEvent
*result
;
9247 PyObject
* obj0
= 0 ;
9248 PyObject
* obj1
= 0 ;
9249 PyObject
* obj2
= 0 ;
9251 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
9254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ProcessEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9256 arg1
= (int) SWIG_AsInt(obj0
);
9257 if (PyErr_Occurred()) SWIG_fail
;
9260 arg2
= (int) SWIG_AsInt(obj1
);
9261 if (PyErr_Occurred()) SWIG_fail
;
9264 arg3
= (int) SWIG_AsInt(obj2
);
9265 if (PyErr_Occurred()) SWIG_fail
;
9268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9269 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
9271 wxPyEndAllowThreads(__tstate
);
9272 if (PyErr_Occurred()) SWIG_fail
;
9274 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProcessEvent
, 1);
9281 static PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9282 PyObject
*resultobj
;
9283 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9285 PyObject
* obj0
= 0 ;
9287 (char *) "self", NULL
9290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetPid",kwnames
,&obj0
)) goto fail
;
9291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9295 result
= (int)(arg1
)->GetPid();
9297 wxPyEndAllowThreads(__tstate
);
9298 if (PyErr_Occurred()) SWIG_fail
;
9300 resultobj
= SWIG_FromInt((int)result
);
9307 static PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9308 PyObject
*resultobj
;
9309 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9311 PyObject
* obj0
= 0 ;
9313 (char *) "self", NULL
9316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetExitCode",kwnames
,&obj0
)) goto fail
;
9317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9321 result
= (int)(arg1
)->GetExitCode();
9323 wxPyEndAllowThreads(__tstate
);
9324 if (PyErr_Occurred()) SWIG_fail
;
9326 resultobj
= SWIG_FromInt((int)result
);
9333 static PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9334 PyObject
*resultobj
;
9335 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9337 PyObject
* obj0
= 0 ;
9338 PyObject
* obj1
= 0 ;
9340 (char *) "self",(char *) "m_pid", NULL
9343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_pid_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9346 arg2
= (int) SWIG_AsInt(obj1
);
9347 if (PyErr_Occurred()) SWIG_fail
;
9348 if (arg1
) (arg1
)->m_pid
= arg2
;
9350 Py_INCREF(Py_None
); resultobj
= Py_None
;
9357 static PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9358 PyObject
*resultobj
;
9359 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9361 PyObject
* obj0
= 0 ;
9363 (char *) "self", NULL
9366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_pid_get",kwnames
,&obj0
)) goto fail
;
9367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9369 result
= (int) ((arg1
)->m_pid
);
9371 resultobj
= SWIG_FromInt((int)result
);
9378 static PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9379 PyObject
*resultobj
;
9380 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9382 PyObject
* obj0
= 0 ;
9383 PyObject
* obj1
= 0 ;
9385 (char *) "self",(char *) "m_exitcode", NULL
9388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9391 arg2
= (int) SWIG_AsInt(obj1
);
9392 if (PyErr_Occurred()) SWIG_fail
;
9393 if (arg1
) (arg1
)->m_exitcode
= arg2
;
9395 Py_INCREF(Py_None
); resultobj
= Py_None
;
9402 static PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9403 PyObject
*resultobj
;
9404 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9406 PyObject
* obj0
= 0 ;
9408 (char *) "self", NULL
9411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_exitcode_get",kwnames
,&obj0
)) goto fail
;
9412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9414 result
= (int) ((arg1
)->m_exitcode
);
9416 resultobj
= SWIG_FromInt((int)result
);
9423 static PyObject
* ProcessEvent_swigregister(PyObject
*self
, PyObject
*args
) {
9425 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9426 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent
, obj
);
9428 return Py_BuildValue((char *)"");
9430 static PyObject
*_wrap_Execute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9431 PyObject
*resultobj
;
9432 wxString
*arg1
= 0 ;
9433 int arg2
= (int) wxEXEC_ASYNC
;
9434 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
9436 bool temp1
= False
;
9437 PyObject
* obj0
= 0 ;
9438 PyObject
* obj1
= 0 ;
9439 PyObject
* obj2
= 0 ;
9441 (char *) "command",(char *) "flags",(char *) "process", NULL
9444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Execute",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9446 arg1
= wxString_in_helper(obj0
);
9447 if (arg1
== NULL
) SWIG_fail
;
9451 arg2
= (int) SWIG_AsInt(obj1
);
9452 if (PyErr_Occurred()) SWIG_fail
;
9455 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyProcess
,
9456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9460 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
9462 wxPyEndAllowThreads(__tstate
);
9463 if (PyErr_Occurred()) SWIG_fail
;
9465 resultobj
= SWIG_FromLong((long)result
);
9480 static PyObject
*_wrap_new_Joystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9481 PyObject
*resultobj
;
9482 int arg1
= (int) wxJOYSTICK1
;
9484 PyObject
* obj0
= 0 ;
9486 (char *) "joystick", NULL
9489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Joystick",kwnames
,&obj0
)) goto fail
;
9491 arg1
= (int) SWIG_AsInt(obj0
);
9492 if (PyErr_Occurred()) SWIG_fail
;
9495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9496 result
= (wxJoystick
*)new wxJoystick(arg1
);
9498 wxPyEndAllowThreads(__tstate
);
9499 if (PyErr_Occurred()) SWIG_fail
;
9501 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystick
, 1);
9508 static PyObject
*_wrap_delete_Joystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9509 PyObject
*resultobj
;
9510 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9511 PyObject
* obj0
= 0 ;
9513 (char *) "self", NULL
9516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Joystick",kwnames
,&obj0
)) goto fail
;
9517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9523 wxPyEndAllowThreads(__tstate
);
9524 if (PyErr_Occurred()) SWIG_fail
;
9526 Py_INCREF(Py_None
); resultobj
= Py_None
;
9533 static PyObject
*_wrap_Joystick_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9534 PyObject
*resultobj
;
9535 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9537 PyObject
* obj0
= 0 ;
9539 (char *) "self", NULL
9542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPosition",kwnames
,&obj0
)) goto fail
;
9543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9547 result
= (arg1
)->GetPosition();
9549 wxPyEndAllowThreads(__tstate
);
9550 if (PyErr_Occurred()) SWIG_fail
;
9553 wxPoint
* resultptr
;
9554 resultptr
= new wxPoint((wxPoint
&) result
);
9555 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
9563 static PyObject
*_wrap_Joystick_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9564 PyObject
*resultobj
;
9565 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9567 PyObject
* obj0
= 0 ;
9569 (char *) "self", NULL
9572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZPosition",kwnames
,&obj0
)) goto fail
;
9573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9577 result
= (int)(arg1
)->GetZPosition();
9579 wxPyEndAllowThreads(__tstate
);
9580 if (PyErr_Occurred()) SWIG_fail
;
9582 resultobj
= SWIG_FromInt((int)result
);
9589 static PyObject
*_wrap_Joystick_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9590 PyObject
*resultobj
;
9591 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9593 PyObject
* obj0
= 0 ;
9595 (char *) "self", NULL
9598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetButtonState",kwnames
,&obj0
)) goto fail
;
9599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9603 result
= (int)(arg1
)->GetButtonState();
9605 wxPyEndAllowThreads(__tstate
);
9606 if (PyErr_Occurred()) SWIG_fail
;
9608 resultobj
= SWIG_FromInt((int)result
);
9615 static PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9616 PyObject
*resultobj
;
9617 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9619 PyObject
* obj0
= 0 ;
9621 (char *) "self", NULL
9624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVPosition",kwnames
,&obj0
)) goto fail
;
9625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9629 result
= (int)(arg1
)->GetPOVPosition();
9631 wxPyEndAllowThreads(__tstate
);
9632 if (PyErr_Occurred()) SWIG_fail
;
9634 resultobj
= SWIG_FromInt((int)result
);
9641 static PyObject
*_wrap_Joystick_GetPOVCTSPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9642 PyObject
*resultobj
;
9643 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9645 PyObject
* obj0
= 0 ;
9647 (char *) "self", NULL
9650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVCTSPosition",kwnames
,&obj0
)) goto fail
;
9651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9655 result
= (int)(arg1
)->GetPOVCTSPosition();
9657 wxPyEndAllowThreads(__tstate
);
9658 if (PyErr_Occurred()) SWIG_fail
;
9660 resultobj
= SWIG_FromInt((int)result
);
9667 static PyObject
*_wrap_Joystick_GetRudderPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9668 PyObject
*resultobj
;
9669 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9671 PyObject
* obj0
= 0 ;
9673 (char *) "self", NULL
9676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderPosition",kwnames
,&obj0
)) goto fail
;
9677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9681 result
= (int)(arg1
)->GetRudderPosition();
9683 wxPyEndAllowThreads(__tstate
);
9684 if (PyErr_Occurred()) SWIG_fail
;
9686 resultobj
= SWIG_FromInt((int)result
);
9693 static PyObject
*_wrap_Joystick_GetUPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9694 PyObject
*resultobj
;
9695 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9697 PyObject
* obj0
= 0 ;
9699 (char *) "self", NULL
9702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUPosition",kwnames
,&obj0
)) goto fail
;
9703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9707 result
= (int)(arg1
)->GetUPosition();
9709 wxPyEndAllowThreads(__tstate
);
9710 if (PyErr_Occurred()) SWIG_fail
;
9712 resultobj
= SWIG_FromInt((int)result
);
9719 static PyObject
*_wrap_Joystick_GetVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9720 PyObject
*resultobj
;
9721 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9723 PyObject
* obj0
= 0 ;
9725 (char *) "self", NULL
9728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVPosition",kwnames
,&obj0
)) goto fail
;
9729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9733 result
= (int)(arg1
)->GetVPosition();
9735 wxPyEndAllowThreads(__tstate
);
9736 if (PyErr_Occurred()) SWIG_fail
;
9738 resultobj
= SWIG_FromInt((int)result
);
9745 static PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9746 PyObject
*resultobj
;
9747 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9749 PyObject
* obj0
= 0 ;
9751 (char *) "self", NULL
9754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMovementThreshold",kwnames
,&obj0
)) goto fail
;
9755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9759 result
= (int)(arg1
)->GetMovementThreshold();
9761 wxPyEndAllowThreads(__tstate
);
9762 if (PyErr_Occurred()) SWIG_fail
;
9764 resultobj
= SWIG_FromInt((int)result
);
9771 static PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9772 PyObject
*resultobj
;
9773 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9775 PyObject
* obj0
= 0 ;
9776 PyObject
* obj1
= 0 ;
9778 (char *) "self",(char *) "threshold", NULL
9781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Joystick_SetMovementThreshold",kwnames
,&obj0
,&obj1
)) goto fail
;
9782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9784 arg2
= (int) SWIG_AsInt(obj1
);
9785 if (PyErr_Occurred()) SWIG_fail
;
9787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9788 (arg1
)->SetMovementThreshold(arg2
);
9790 wxPyEndAllowThreads(__tstate
);
9791 if (PyErr_Occurred()) SWIG_fail
;
9793 Py_INCREF(Py_None
); resultobj
= Py_None
;
9800 static PyObject
*_wrap_Joystick_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9801 PyObject
*resultobj
;
9802 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9804 PyObject
* obj0
= 0 ;
9806 (char *) "self", NULL
9809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_IsOk",kwnames
,&obj0
)) goto fail
;
9810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9814 result
= (bool)(arg1
)->IsOk();
9816 wxPyEndAllowThreads(__tstate
);
9817 if (PyErr_Occurred()) SWIG_fail
;
9820 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9828 static PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9829 PyObject
*resultobj
;
9830 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9832 PyObject
* obj0
= 0 ;
9834 (char *) "self", NULL
9837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberJoysticks",kwnames
,&obj0
)) goto fail
;
9838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9842 result
= (int)(arg1
)->GetNumberJoysticks();
9844 wxPyEndAllowThreads(__tstate
);
9845 if (PyErr_Occurred()) SWIG_fail
;
9847 resultobj
= SWIG_FromInt((int)result
);
9854 static PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9855 PyObject
*resultobj
;
9856 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9858 PyObject
* obj0
= 0 ;
9860 (char *) "self", NULL
9863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetManufacturerId",kwnames
,&obj0
)) goto fail
;
9864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9868 result
= (int)(arg1
)->GetManufacturerId();
9870 wxPyEndAllowThreads(__tstate
);
9871 if (PyErr_Occurred()) SWIG_fail
;
9873 resultobj
= SWIG_FromInt((int)result
);
9880 static PyObject
*_wrap_Joystick_GetProductId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9881 PyObject
*resultobj
;
9882 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9884 PyObject
* obj0
= 0 ;
9886 (char *) "self", NULL
9889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductId",kwnames
,&obj0
)) goto fail
;
9890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9894 result
= (int)(arg1
)->GetProductId();
9896 wxPyEndAllowThreads(__tstate
);
9897 if (PyErr_Occurred()) SWIG_fail
;
9899 resultobj
= SWIG_FromInt((int)result
);
9906 static PyObject
*_wrap_Joystick_GetProductName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9907 PyObject
*resultobj
;
9908 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9910 PyObject
* obj0
= 0 ;
9912 (char *) "self", NULL
9915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductName",kwnames
,&obj0
)) goto fail
;
9916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9920 result
= (arg1
)->GetProductName();
9922 wxPyEndAllowThreads(__tstate
);
9923 if (PyErr_Occurred()) SWIG_fail
;
9927 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9929 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9938 static PyObject
*_wrap_Joystick_GetXMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9939 PyObject
*resultobj
;
9940 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9942 PyObject
* obj0
= 0 ;
9944 (char *) "self", NULL
9947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMin",kwnames
,&obj0
)) goto fail
;
9948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9952 result
= (int)(arg1
)->GetXMin();
9954 wxPyEndAllowThreads(__tstate
);
9955 if (PyErr_Occurred()) SWIG_fail
;
9957 resultobj
= SWIG_FromInt((int)result
);
9964 static PyObject
*_wrap_Joystick_GetYMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9965 PyObject
*resultobj
;
9966 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9968 PyObject
* obj0
= 0 ;
9970 (char *) "self", NULL
9973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMin",kwnames
,&obj0
)) goto fail
;
9974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9978 result
= (int)(arg1
)->GetYMin();
9980 wxPyEndAllowThreads(__tstate
);
9981 if (PyErr_Occurred()) SWIG_fail
;
9983 resultobj
= SWIG_FromInt((int)result
);
9990 static PyObject
*_wrap_Joystick_GetZMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9991 PyObject
*resultobj
;
9992 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9994 PyObject
* obj0
= 0 ;
9996 (char *) "self", NULL
9999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMin",kwnames
,&obj0
)) goto fail
;
10000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10004 result
= (int)(arg1
)->GetZMin();
10006 wxPyEndAllowThreads(__tstate
);
10007 if (PyErr_Occurred()) SWIG_fail
;
10009 resultobj
= SWIG_FromInt((int)result
);
10016 static PyObject
*_wrap_Joystick_GetXMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10017 PyObject
*resultobj
;
10018 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10020 PyObject
* obj0
= 0 ;
10021 char *kwnames
[] = {
10022 (char *) "self", NULL
10025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMax",kwnames
,&obj0
)) goto fail
;
10026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10030 result
= (int)(arg1
)->GetXMax();
10032 wxPyEndAllowThreads(__tstate
);
10033 if (PyErr_Occurred()) SWIG_fail
;
10035 resultobj
= SWIG_FromInt((int)result
);
10042 static PyObject
*_wrap_Joystick_GetYMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10043 PyObject
*resultobj
;
10044 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10046 PyObject
* obj0
= 0 ;
10047 char *kwnames
[] = {
10048 (char *) "self", NULL
10051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMax",kwnames
,&obj0
)) goto fail
;
10052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10056 result
= (int)(arg1
)->GetYMax();
10058 wxPyEndAllowThreads(__tstate
);
10059 if (PyErr_Occurred()) SWIG_fail
;
10061 resultobj
= SWIG_FromInt((int)result
);
10068 static PyObject
*_wrap_Joystick_GetZMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10069 PyObject
*resultobj
;
10070 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10072 PyObject
* obj0
= 0 ;
10073 char *kwnames
[] = {
10074 (char *) "self", NULL
10077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMax",kwnames
,&obj0
)) goto fail
;
10078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10082 result
= (int)(arg1
)->GetZMax();
10084 wxPyEndAllowThreads(__tstate
);
10085 if (PyErr_Occurred()) SWIG_fail
;
10087 resultobj
= SWIG_FromInt((int)result
);
10094 static PyObject
*_wrap_Joystick_GetNumberButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10095 PyObject
*resultobj
;
10096 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10098 PyObject
* obj0
= 0 ;
10099 char *kwnames
[] = {
10100 (char *) "self", NULL
10103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberButtons",kwnames
,&obj0
)) goto fail
;
10104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10108 result
= (int)(arg1
)->GetNumberButtons();
10110 wxPyEndAllowThreads(__tstate
);
10111 if (PyErr_Occurred()) SWIG_fail
;
10113 resultobj
= SWIG_FromInt((int)result
);
10120 static PyObject
*_wrap_Joystick_GetNumberAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10121 PyObject
*resultobj
;
10122 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10124 PyObject
* obj0
= 0 ;
10125 char *kwnames
[] = {
10126 (char *) "self", NULL
10129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberAxes",kwnames
,&obj0
)) goto fail
;
10130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10134 result
= (int)(arg1
)->GetNumberAxes();
10136 wxPyEndAllowThreads(__tstate
);
10137 if (PyErr_Occurred()) SWIG_fail
;
10139 resultobj
= SWIG_FromInt((int)result
);
10146 static PyObject
*_wrap_Joystick_GetMaxButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10147 PyObject
*resultobj
;
10148 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10150 PyObject
* obj0
= 0 ;
10151 char *kwnames
[] = {
10152 (char *) "self", NULL
10155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxButtons",kwnames
,&obj0
)) goto fail
;
10156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10160 result
= (int)(arg1
)->GetMaxButtons();
10162 wxPyEndAllowThreads(__tstate
);
10163 if (PyErr_Occurred()) SWIG_fail
;
10165 resultobj
= SWIG_FromInt((int)result
);
10172 static PyObject
*_wrap_Joystick_GetMaxAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10173 PyObject
*resultobj
;
10174 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10176 PyObject
* obj0
= 0 ;
10177 char *kwnames
[] = {
10178 (char *) "self", NULL
10181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxAxes",kwnames
,&obj0
)) goto fail
;
10182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10186 result
= (int)(arg1
)->GetMaxAxes();
10188 wxPyEndAllowThreads(__tstate
);
10189 if (PyErr_Occurred()) SWIG_fail
;
10191 resultobj
= SWIG_FromInt((int)result
);
10198 static PyObject
*_wrap_Joystick_GetPollingMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10199 PyObject
*resultobj
;
10200 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10202 PyObject
* obj0
= 0 ;
10203 char *kwnames
[] = {
10204 (char *) "self", NULL
10207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMin",kwnames
,&obj0
)) goto fail
;
10208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10212 result
= (int)(arg1
)->GetPollingMin();
10214 wxPyEndAllowThreads(__tstate
);
10215 if (PyErr_Occurred()) SWIG_fail
;
10217 resultobj
= SWIG_FromInt((int)result
);
10224 static PyObject
*_wrap_Joystick_GetPollingMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10225 PyObject
*resultobj
;
10226 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10228 PyObject
* obj0
= 0 ;
10229 char *kwnames
[] = {
10230 (char *) "self", NULL
10233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMax",kwnames
,&obj0
)) goto fail
;
10234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10238 result
= (int)(arg1
)->GetPollingMax();
10240 wxPyEndAllowThreads(__tstate
);
10241 if (PyErr_Occurred()) SWIG_fail
;
10243 resultobj
= SWIG_FromInt((int)result
);
10250 static PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10251 PyObject
*resultobj
;
10252 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10254 PyObject
* obj0
= 0 ;
10255 char *kwnames
[] = {
10256 (char *) "self", NULL
10259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMin",kwnames
,&obj0
)) goto fail
;
10260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10264 result
= (int)(arg1
)->GetRudderMin();
10266 wxPyEndAllowThreads(__tstate
);
10267 if (PyErr_Occurred()) SWIG_fail
;
10269 resultobj
= SWIG_FromInt((int)result
);
10276 static PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10277 PyObject
*resultobj
;
10278 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10280 PyObject
* obj0
= 0 ;
10281 char *kwnames
[] = {
10282 (char *) "self", NULL
10285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMax",kwnames
,&obj0
)) goto fail
;
10286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10290 result
= (int)(arg1
)->GetRudderMax();
10292 wxPyEndAllowThreads(__tstate
);
10293 if (PyErr_Occurred()) SWIG_fail
;
10295 resultobj
= SWIG_FromInt((int)result
);
10302 static PyObject
*_wrap_Joystick_GetUMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10303 PyObject
*resultobj
;
10304 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10306 PyObject
* obj0
= 0 ;
10307 char *kwnames
[] = {
10308 (char *) "self", NULL
10311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMin",kwnames
,&obj0
)) goto fail
;
10312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10316 result
= (int)(arg1
)->GetUMin();
10318 wxPyEndAllowThreads(__tstate
);
10319 if (PyErr_Occurred()) SWIG_fail
;
10321 resultobj
= SWIG_FromInt((int)result
);
10328 static PyObject
*_wrap_Joystick_GetUMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10329 PyObject
*resultobj
;
10330 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10332 PyObject
* obj0
= 0 ;
10333 char *kwnames
[] = {
10334 (char *) "self", NULL
10337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMax",kwnames
,&obj0
)) goto fail
;
10338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10342 result
= (int)(arg1
)->GetUMax();
10344 wxPyEndAllowThreads(__tstate
);
10345 if (PyErr_Occurred()) SWIG_fail
;
10347 resultobj
= SWIG_FromInt((int)result
);
10354 static PyObject
*_wrap_Joystick_GetVMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10355 PyObject
*resultobj
;
10356 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10358 PyObject
* obj0
= 0 ;
10359 char *kwnames
[] = {
10360 (char *) "self", NULL
10363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMin",kwnames
,&obj0
)) goto fail
;
10364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10368 result
= (int)(arg1
)->GetVMin();
10370 wxPyEndAllowThreads(__tstate
);
10371 if (PyErr_Occurred()) SWIG_fail
;
10373 resultobj
= SWIG_FromInt((int)result
);
10380 static PyObject
*_wrap_Joystick_GetVMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10381 PyObject
*resultobj
;
10382 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10384 PyObject
* obj0
= 0 ;
10385 char *kwnames
[] = {
10386 (char *) "self", NULL
10389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMax",kwnames
,&obj0
)) goto fail
;
10390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10394 result
= (int)(arg1
)->GetVMax();
10396 wxPyEndAllowThreads(__tstate
);
10397 if (PyErr_Occurred()) SWIG_fail
;
10399 resultobj
= SWIG_FromInt((int)result
);
10406 static PyObject
*_wrap_Joystick_HasRudder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10407 PyObject
*resultobj
;
10408 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10410 PyObject
* obj0
= 0 ;
10411 char *kwnames
[] = {
10412 (char *) "self", NULL
10415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasRudder",kwnames
,&obj0
)) goto fail
;
10416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10420 result
= (bool)(arg1
)->HasRudder();
10422 wxPyEndAllowThreads(__tstate
);
10423 if (PyErr_Occurred()) SWIG_fail
;
10426 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10434 static PyObject
*_wrap_Joystick_HasZ(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10435 PyObject
*resultobj
;
10436 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10438 PyObject
* obj0
= 0 ;
10439 char *kwnames
[] = {
10440 (char *) "self", NULL
10443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasZ",kwnames
,&obj0
)) goto fail
;
10444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10448 result
= (bool)(arg1
)->HasZ();
10450 wxPyEndAllowThreads(__tstate
);
10451 if (PyErr_Occurred()) SWIG_fail
;
10454 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10462 static PyObject
*_wrap_Joystick_HasU(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10463 PyObject
*resultobj
;
10464 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10466 PyObject
* obj0
= 0 ;
10467 char *kwnames
[] = {
10468 (char *) "self", NULL
10471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasU",kwnames
,&obj0
)) goto fail
;
10472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10476 result
= (bool)(arg1
)->HasU();
10478 wxPyEndAllowThreads(__tstate
);
10479 if (PyErr_Occurred()) SWIG_fail
;
10482 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10490 static PyObject
*_wrap_Joystick_HasV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10491 PyObject
*resultobj
;
10492 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10494 PyObject
* obj0
= 0 ;
10495 char *kwnames
[] = {
10496 (char *) "self", NULL
10499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasV",kwnames
,&obj0
)) goto fail
;
10500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10504 result
= (bool)(arg1
)->HasV();
10506 wxPyEndAllowThreads(__tstate
);
10507 if (PyErr_Occurred()) SWIG_fail
;
10510 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10518 static PyObject
*_wrap_Joystick_HasPOV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10519 PyObject
*resultobj
;
10520 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10522 PyObject
* obj0
= 0 ;
10523 char *kwnames
[] = {
10524 (char *) "self", NULL
10527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV",kwnames
,&obj0
)) goto fail
;
10528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10532 result
= (bool)(arg1
)->HasPOV();
10534 wxPyEndAllowThreads(__tstate
);
10535 if (PyErr_Occurred()) SWIG_fail
;
10538 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10546 static PyObject
*_wrap_Joystick_HasPOV4Dir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10547 PyObject
*resultobj
;
10548 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10550 PyObject
* obj0
= 0 ;
10551 char *kwnames
[] = {
10552 (char *) "self", NULL
10555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV4Dir",kwnames
,&obj0
)) goto fail
;
10556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10560 result
= (bool)(arg1
)->HasPOV4Dir();
10562 wxPyEndAllowThreads(__tstate
);
10563 if (PyErr_Occurred()) SWIG_fail
;
10566 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10574 static PyObject
*_wrap_Joystick_HasPOVCTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10575 PyObject
*resultobj
;
10576 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10578 PyObject
* obj0
= 0 ;
10579 char *kwnames
[] = {
10580 (char *) "self", NULL
10583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOVCTS",kwnames
,&obj0
)) goto fail
;
10584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10588 result
= (bool)(arg1
)->HasPOVCTS();
10590 wxPyEndAllowThreads(__tstate
);
10591 if (PyErr_Occurred()) SWIG_fail
;
10594 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10602 static PyObject
*_wrap_Joystick_SetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10603 PyObject
*resultobj
;
10604 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10605 wxWindow
*arg2
= (wxWindow
*) 0 ;
10606 int arg3
= (int) 0 ;
10608 PyObject
* obj0
= 0 ;
10609 PyObject
* obj1
= 0 ;
10610 PyObject
* obj2
= 0 ;
10611 char *kwnames
[] = {
10612 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
10615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10618 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10621 arg3
= (int) SWIG_AsInt(obj2
);
10622 if (PyErr_Occurred()) SWIG_fail
;
10625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10626 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
10628 wxPyEndAllowThreads(__tstate
);
10629 if (PyErr_Occurred()) SWIG_fail
;
10632 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10640 static PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10641 PyObject
*resultobj
;
10642 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10644 PyObject
* obj0
= 0 ;
10645 char *kwnames
[] = {
10646 (char *) "self", NULL
10649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_ReleaseCapture",kwnames
,&obj0
)) goto fail
;
10650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10654 result
= (bool)(arg1
)->ReleaseCapture();
10656 wxPyEndAllowThreads(__tstate
);
10657 if (PyErr_Occurred()) SWIG_fail
;
10660 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10668 static PyObject
* Joystick_swigregister(PyObject
*self
, PyObject
*args
) {
10670 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10671 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick
, obj
);
10673 return Py_BuildValue((char *)"");
10675 static PyObject
*_wrap_JoystickEvent_m_pos_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10676 PyObject
*resultobj
;
10677 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10678 wxPoint
*arg2
= (wxPoint
*) 0 ;
10679 PyObject
* obj0
= 0 ;
10680 PyObject
* obj1
= 0 ;
10681 char *kwnames
[] = {
10682 (char *) "self",(char *) "m_pos", NULL
10685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10688 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
10689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10690 if (arg1
) (arg1
)->m_pos
= *arg2
;
10692 Py_INCREF(Py_None
); resultobj
= Py_None
;
10699 static PyObject
*_wrap_JoystickEvent_m_pos_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10700 PyObject
*resultobj
;
10701 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10703 PyObject
* obj0
= 0 ;
10704 char *kwnames
[] = {
10705 (char *) "self", NULL
10708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
10709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10711 result
= (wxPoint
*)& ((arg1
)->m_pos
);
10713 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
10720 static PyObject
*_wrap_JoystickEvent_m_zPosition_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10721 PyObject
*resultobj
;
10722 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10724 PyObject
* obj0
= 0 ;
10725 PyObject
* obj1
= 0 ;
10726 char *kwnames
[] = {
10727 (char *) "self",(char *) "m_zPosition", NULL
10730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_zPosition_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10733 arg2
= (int) SWIG_AsInt(obj1
);
10734 if (PyErr_Occurred()) SWIG_fail
;
10735 if (arg1
) (arg1
)->m_zPosition
= arg2
;
10737 Py_INCREF(Py_None
); resultobj
= Py_None
;
10744 static PyObject
*_wrap_JoystickEvent_m_zPosition_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10745 PyObject
*resultobj
;
10746 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10748 PyObject
* obj0
= 0 ;
10749 char *kwnames
[] = {
10750 (char *) "self", NULL
10753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_zPosition_get",kwnames
,&obj0
)) goto fail
;
10754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10756 result
= (int) ((arg1
)->m_zPosition
);
10758 resultobj
= SWIG_FromInt((int)result
);
10765 static PyObject
*_wrap_JoystickEvent_m_buttonChange_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10766 PyObject
*resultobj
;
10767 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10769 PyObject
* obj0
= 0 ;
10770 PyObject
* obj1
= 0 ;
10771 char *kwnames
[] = {
10772 (char *) "self",(char *) "m_buttonChange", NULL
10775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonChange_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10778 arg2
= (int) SWIG_AsInt(obj1
);
10779 if (PyErr_Occurred()) SWIG_fail
;
10780 if (arg1
) (arg1
)->m_buttonChange
= arg2
;
10782 Py_INCREF(Py_None
); resultobj
= Py_None
;
10789 static PyObject
*_wrap_JoystickEvent_m_buttonChange_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10790 PyObject
*resultobj
;
10791 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10793 PyObject
* obj0
= 0 ;
10794 char *kwnames
[] = {
10795 (char *) "self", NULL
10798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonChange_get",kwnames
,&obj0
)) goto fail
;
10799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10801 result
= (int) ((arg1
)->m_buttonChange
);
10803 resultobj
= SWIG_FromInt((int)result
);
10810 static PyObject
*_wrap_JoystickEvent_m_buttonState_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10811 PyObject
*resultobj
;
10812 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10814 PyObject
* obj0
= 0 ;
10815 PyObject
* obj1
= 0 ;
10816 char *kwnames
[] = {
10817 (char *) "self",(char *) "m_buttonState", NULL
10820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonState_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10823 arg2
= (int) SWIG_AsInt(obj1
);
10824 if (PyErr_Occurred()) SWIG_fail
;
10825 if (arg1
) (arg1
)->m_buttonState
= arg2
;
10827 Py_INCREF(Py_None
); resultobj
= Py_None
;
10834 static PyObject
*_wrap_JoystickEvent_m_buttonState_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10835 PyObject
*resultobj
;
10836 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10838 PyObject
* obj0
= 0 ;
10839 char *kwnames
[] = {
10840 (char *) "self", NULL
10843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonState_get",kwnames
,&obj0
)) goto fail
;
10844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10846 result
= (int) ((arg1
)->m_buttonState
);
10848 resultobj
= SWIG_FromInt((int)result
);
10855 static PyObject
*_wrap_JoystickEvent_m_joyStick_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10856 PyObject
*resultobj
;
10857 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10859 PyObject
* obj0
= 0 ;
10860 PyObject
* obj1
= 0 ;
10861 char *kwnames
[] = {
10862 (char *) "self",(char *) "m_joyStick", NULL
10865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_joyStick_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10868 arg2
= (int) SWIG_AsInt(obj1
);
10869 if (PyErr_Occurred()) SWIG_fail
;
10870 if (arg1
) (arg1
)->m_joyStick
= arg2
;
10872 Py_INCREF(Py_None
); resultobj
= Py_None
;
10879 static PyObject
*_wrap_JoystickEvent_m_joyStick_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10880 PyObject
*resultobj
;
10881 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10883 PyObject
* obj0
= 0 ;
10884 char *kwnames
[] = {
10885 (char *) "self", NULL
10888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_joyStick_get",kwnames
,&obj0
)) goto fail
;
10889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10891 result
= (int) ((arg1
)->m_joyStick
);
10893 resultobj
= SWIG_FromInt((int)result
);
10900 static PyObject
*_wrap_new_JoystickEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10901 PyObject
*resultobj
;
10902 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
10903 int arg2
= (int) 0 ;
10904 int arg3
= (int) wxJOYSTICK1
;
10905 int arg4
= (int) 0 ;
10906 wxJoystickEvent
*result
;
10907 PyObject
* obj0
= 0 ;
10908 PyObject
* obj1
= 0 ;
10909 PyObject
* obj2
= 0 ;
10910 PyObject
* obj3
= 0 ;
10911 char *kwnames
[] = {
10912 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
10915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_JoystickEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10917 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
10918 if (PyErr_Occurred()) SWIG_fail
;
10921 arg2
= (int) SWIG_AsInt(obj1
);
10922 if (PyErr_Occurred()) SWIG_fail
;
10925 arg3
= (int) SWIG_AsInt(obj2
);
10926 if (PyErr_Occurred()) SWIG_fail
;
10929 arg4
= (int) SWIG_AsInt(obj3
);
10930 if (PyErr_Occurred()) SWIG_fail
;
10933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10934 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
10936 wxPyEndAllowThreads(__tstate
);
10937 if (PyErr_Occurred()) SWIG_fail
;
10939 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystickEvent
, 1);
10946 static PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10947 PyObject
*resultobj
;
10948 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10950 PyObject
* obj0
= 0 ;
10951 char *kwnames
[] = {
10952 (char *) "self", NULL
10955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
10956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10960 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
10962 wxPyEndAllowThreads(__tstate
);
10963 if (PyErr_Occurred()) SWIG_fail
;
10966 wxPoint
* resultptr
;
10967 resultptr
= new wxPoint((wxPoint
&) result
);
10968 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
10976 static PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10977 PyObject
*resultobj
;
10978 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10980 PyObject
* obj0
= 0 ;
10981 char *kwnames
[] = {
10982 (char *) "self", NULL
10985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetZPosition",kwnames
,&obj0
)) goto fail
;
10986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10990 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
10992 wxPyEndAllowThreads(__tstate
);
10993 if (PyErr_Occurred()) SWIG_fail
;
10995 resultobj
= SWIG_FromInt((int)result
);
11002 static PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11003 PyObject
*resultobj
;
11004 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11006 PyObject
* obj0
= 0 ;
11007 char *kwnames
[] = {
11008 (char *) "self", NULL
11011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonState",kwnames
,&obj0
)) goto fail
;
11012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11016 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
11018 wxPyEndAllowThreads(__tstate
);
11019 if (PyErr_Occurred()) SWIG_fail
;
11021 resultobj
= SWIG_FromInt((int)result
);
11028 static PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11029 PyObject
*resultobj
;
11030 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11032 PyObject
* obj0
= 0 ;
11033 char *kwnames
[] = {
11034 (char *) "self", NULL
11037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonChange",kwnames
,&obj0
)) goto fail
;
11038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11042 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
11044 wxPyEndAllowThreads(__tstate
);
11045 if (PyErr_Occurred()) SWIG_fail
;
11047 resultobj
= SWIG_FromInt((int)result
);
11054 static PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11055 PyObject
*resultobj
;
11056 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11058 PyObject
* obj0
= 0 ;
11059 char *kwnames
[] = {
11060 (char *) "self", NULL
11063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetJoystick",kwnames
,&obj0
)) goto fail
;
11064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11068 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
11070 wxPyEndAllowThreads(__tstate
);
11071 if (PyErr_Occurred()) SWIG_fail
;
11073 resultobj
= SWIG_FromInt((int)result
);
11080 static PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11081 PyObject
*resultobj
;
11082 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11084 PyObject
* obj0
= 0 ;
11085 PyObject
* obj1
= 0 ;
11086 char *kwnames
[] = {
11087 (char *) "self",(char *) "stick", NULL
11090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetJoystick",kwnames
,&obj0
,&obj1
)) goto fail
;
11091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11093 arg2
= (int) SWIG_AsInt(obj1
);
11094 if (PyErr_Occurred()) SWIG_fail
;
11096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11097 (arg1
)->SetJoystick(arg2
);
11099 wxPyEndAllowThreads(__tstate
);
11100 if (PyErr_Occurred()) SWIG_fail
;
11102 Py_INCREF(Py_None
); resultobj
= Py_None
;
11109 static PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11110 PyObject
*resultobj
;
11111 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11113 PyObject
* obj0
= 0 ;
11114 PyObject
* obj1
= 0 ;
11115 char *kwnames
[] = {
11116 (char *) "self",(char *) "state", NULL
11119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonState",kwnames
,&obj0
,&obj1
)) goto fail
;
11120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11122 arg2
= (int) SWIG_AsInt(obj1
);
11123 if (PyErr_Occurred()) SWIG_fail
;
11125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11126 (arg1
)->SetButtonState(arg2
);
11128 wxPyEndAllowThreads(__tstate
);
11129 if (PyErr_Occurred()) SWIG_fail
;
11131 Py_INCREF(Py_None
); resultobj
= Py_None
;
11138 static PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11139 PyObject
*resultobj
;
11140 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11142 PyObject
* obj0
= 0 ;
11143 PyObject
* obj1
= 0 ;
11144 char *kwnames
[] = {
11145 (char *) "self",(char *) "change", NULL
11148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&obj1
)) goto fail
;
11149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11151 arg2
= (int) SWIG_AsInt(obj1
);
11152 if (PyErr_Occurred()) SWIG_fail
;
11154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11155 (arg1
)->SetButtonChange(arg2
);
11157 wxPyEndAllowThreads(__tstate
);
11158 if (PyErr_Occurred()) SWIG_fail
;
11160 Py_INCREF(Py_None
); resultobj
= Py_None
;
11167 static PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11168 PyObject
*resultobj
;
11169 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11170 wxPoint
*arg2
= 0 ;
11172 PyObject
* obj0
= 0 ;
11173 PyObject
* obj1
= 0 ;
11174 char *kwnames
[] = {
11175 (char *) "self",(char *) "pos", NULL
11178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11183 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11187 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
11189 wxPyEndAllowThreads(__tstate
);
11190 if (PyErr_Occurred()) SWIG_fail
;
11192 Py_INCREF(Py_None
); resultobj
= Py_None
;
11199 static PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11200 PyObject
*resultobj
;
11201 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11203 PyObject
* obj0
= 0 ;
11204 PyObject
* obj1
= 0 ;
11205 char *kwnames
[] = {
11206 (char *) "self",(char *) "zPos", NULL
11209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetZPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11212 arg2
= (int) SWIG_AsInt(obj1
);
11213 if (PyErr_Occurred()) SWIG_fail
;
11215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11216 (arg1
)->SetZPosition(arg2
);
11218 wxPyEndAllowThreads(__tstate
);
11219 if (PyErr_Occurred()) SWIG_fail
;
11221 Py_INCREF(Py_None
); resultobj
= Py_None
;
11228 static PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11229 PyObject
*resultobj
;
11230 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11232 PyObject
* obj0
= 0 ;
11233 char *kwnames
[] = {
11234 (char *) "self", NULL
11237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsButton",kwnames
,&obj0
)) goto fail
;
11238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11242 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
11244 wxPyEndAllowThreads(__tstate
);
11245 if (PyErr_Occurred()) SWIG_fail
;
11248 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11256 static PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11257 PyObject
*resultobj
;
11258 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11260 PyObject
* obj0
= 0 ;
11261 char *kwnames
[] = {
11262 (char *) "self", NULL
11265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsMove",kwnames
,&obj0
)) goto fail
;
11266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11270 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
11272 wxPyEndAllowThreads(__tstate
);
11273 if (PyErr_Occurred()) SWIG_fail
;
11276 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11284 static PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11285 PyObject
*resultobj
;
11286 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11288 PyObject
* obj0
= 0 ;
11289 char *kwnames
[] = {
11290 (char *) "self", NULL
11293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsZMove",kwnames
,&obj0
)) goto fail
;
11294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11298 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
11300 wxPyEndAllowThreads(__tstate
);
11301 if (PyErr_Occurred()) SWIG_fail
;
11304 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11312 static PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11313 PyObject
*resultobj
;
11314 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11315 int arg2
= (int) wxJOY_BUTTON_ANY
;
11317 PyObject
* obj0
= 0 ;
11318 PyObject
* obj1
= 0 ;
11319 char *kwnames
[] = {
11320 (char *) "self",(char *) "but", NULL
11323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
11324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11327 arg2
= (int) SWIG_AsInt(obj1
);
11328 if (PyErr_Occurred()) SWIG_fail
;
11331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11332 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
11334 wxPyEndAllowThreads(__tstate
);
11335 if (PyErr_Occurred()) SWIG_fail
;
11338 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11346 static PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11347 PyObject
*resultobj
;
11348 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11349 int arg2
= (int) wxJOY_BUTTON_ANY
;
11351 PyObject
* obj0
= 0 ;
11352 PyObject
* obj1
= 0 ;
11353 char *kwnames
[] = {
11354 (char *) "self",(char *) "but", NULL
11357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
11358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11361 arg2
= (int) SWIG_AsInt(obj1
);
11362 if (PyErr_Occurred()) SWIG_fail
;
11365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11366 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
11368 wxPyEndAllowThreads(__tstate
);
11369 if (PyErr_Occurred()) SWIG_fail
;
11372 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11380 static PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11381 PyObject
*resultobj
;
11382 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11383 int arg2
= (int) wxJOY_BUTTON_ANY
;
11385 PyObject
* obj0
= 0 ;
11386 PyObject
* obj1
= 0 ;
11387 char *kwnames
[] = {
11388 (char *) "self",(char *) "but", NULL
11391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
11392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11395 arg2
= (int) SWIG_AsInt(obj1
);
11396 if (PyErr_Occurred()) SWIG_fail
;
11399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11400 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
11402 wxPyEndAllowThreads(__tstate
);
11403 if (PyErr_Occurred()) SWIG_fail
;
11406 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11414 static PyObject
* JoystickEvent_swigregister(PyObject
*self
, PyObject
*args
) {
11416 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11417 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent
, obj
);
11419 return Py_BuildValue((char *)"");
11421 static PyObject
*_wrap_new_Sound(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11422 PyObject
*resultobj
;
11423 wxString
const &arg1_defvalue
= wxPyEmptyString
;
11424 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
11426 bool temp1
= False
;
11427 PyObject
* obj0
= 0 ;
11428 char *kwnames
[] = {
11429 (char *) "fileName", NULL
11432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Sound",kwnames
,&obj0
)) goto fail
;
11435 arg1
= wxString_in_helper(obj0
);
11436 if (arg1
== NULL
) SWIG_fail
;
11441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11442 result
= (wxSound
*)new_wxSound((wxString
const &)*arg1
);
11444 wxPyEndAllowThreads(__tstate
);
11445 if (PyErr_Occurred()) SWIG_fail
;
11447 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
11462 static PyObject
*_wrap_new_SoundFromData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11463 PyObject
*resultobj
;
11464 PyObject
*arg1
= (PyObject
*) 0 ;
11466 PyObject
* obj0
= 0 ;
11467 char *kwnames
[] = {
11468 (char *) "data", NULL
11471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_SoundFromData",kwnames
,&obj0
)) goto fail
;
11474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11475 result
= (wxSound
*)new_wxSound(arg1
);
11477 wxPyEndAllowThreads(__tstate
);
11478 if (PyErr_Occurred()) SWIG_fail
;
11480 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
11487 static PyObject
*_wrap_delete_Sound(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11488 PyObject
*resultobj
;
11489 wxSound
*arg1
= (wxSound
*) 0 ;
11490 PyObject
* obj0
= 0 ;
11491 char *kwnames
[] = {
11492 (char *) "self", NULL
11495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Sound",kwnames
,&obj0
)) goto fail
;
11496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11502 wxPyEndAllowThreads(__tstate
);
11503 if (PyErr_Occurred()) SWIG_fail
;
11505 Py_INCREF(Py_None
); resultobj
= Py_None
;
11512 static PyObject
*_wrap_Sound_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11513 PyObject
*resultobj
;
11514 wxSound
*arg1
= (wxSound
*) 0 ;
11515 wxString
*arg2
= 0 ;
11517 bool temp2
= False
;
11518 PyObject
* obj0
= 0 ;
11519 PyObject
* obj1
= 0 ;
11520 char *kwnames
[] = {
11521 (char *) "self",(char *) "fileName", NULL
11524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_Create",kwnames
,&obj0
,&obj1
)) goto fail
;
11525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11528 arg2
= wxString_in_helper(obj1
);
11529 if (arg2
== NULL
) SWIG_fail
;
11533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11534 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
);
11536 wxPyEndAllowThreads(__tstate
);
11537 if (PyErr_Occurred()) SWIG_fail
;
11540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11556 static PyObject
*_wrap_Sound_CreateFromData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11557 PyObject
*resultobj
;
11558 wxSound
*arg1
= (wxSound
*) 0 ;
11559 PyObject
*arg2
= (PyObject
*) 0 ;
11561 PyObject
* obj0
= 0 ;
11562 PyObject
* obj1
= 0 ;
11563 char *kwnames
[] = {
11564 (char *) "self",(char *) "data", NULL
11567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_CreateFromData",kwnames
,&obj0
,&obj1
)) goto fail
;
11568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11573 result
= (bool)wxSound_CreateFromData(arg1
,arg2
);
11575 wxPyEndAllowThreads(__tstate
);
11576 if (PyErr_Occurred()) SWIG_fail
;
11579 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11587 static PyObject
*_wrap_Sound_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11588 PyObject
*resultobj
;
11589 wxSound
*arg1
= (wxSound
*) 0 ;
11591 PyObject
* obj0
= 0 ;
11592 char *kwnames
[] = {
11593 (char *) "self", NULL
11596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sound_IsOk",kwnames
,&obj0
)) goto fail
;
11597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11601 result
= (bool)(arg1
)->IsOk();
11603 wxPyEndAllowThreads(__tstate
);
11604 if (PyErr_Occurred()) SWIG_fail
;
11607 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11615 static PyObject
*_wrap_Sound_Play(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11616 PyObject
*resultobj
;
11617 wxSound
*arg1
= (wxSound
*) 0 ;
11618 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
11620 PyObject
* obj0
= 0 ;
11621 PyObject
* obj1
= 0 ;
11622 char *kwnames
[] = {
11623 (char *) "self",(char *) "flags", NULL
11626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_Play",kwnames
,&obj0
,&obj1
)) goto fail
;
11627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11630 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
11631 if (PyErr_Occurred()) SWIG_fail
;
11634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11635 result
= (bool)((wxSound
const *)arg1
)->Play(arg2
);
11637 wxPyEndAllowThreads(__tstate
);
11638 if (PyErr_Occurred()) SWIG_fail
;
11641 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11649 static PyObject
*_wrap_Sound_PlaySound(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11650 PyObject
*resultobj
;
11651 wxString
*arg1
= 0 ;
11652 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
11654 bool temp1
= False
;
11655 PyObject
* obj0
= 0 ;
11656 PyObject
* obj1
= 0 ;
11657 char *kwnames
[] = {
11658 (char *) "filename",(char *) "flags", NULL
11661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_PlaySound",kwnames
,&obj0
,&obj1
)) goto fail
;
11663 arg1
= wxString_in_helper(obj0
);
11664 if (arg1
== NULL
) SWIG_fail
;
11668 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
11669 if (PyErr_Occurred()) SWIG_fail
;
11672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11673 result
= (bool)wxSound::Play((wxString
const &)*arg1
,arg2
);
11675 wxPyEndAllowThreads(__tstate
);
11676 if (PyErr_Occurred()) SWIG_fail
;
11679 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11695 static PyObject
*_wrap_Sound_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11696 PyObject
*resultobj
;
11697 char *kwnames
[] = {
11701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Sound_Stop",kwnames
)) goto fail
;
11703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11706 wxPyEndAllowThreads(__tstate
);
11707 if (PyErr_Occurred()) SWIG_fail
;
11709 Py_INCREF(Py_None
); resultobj
= Py_None
;
11716 static PyObject
* Sound_swigregister(PyObject
*self
, PyObject
*args
) {
11718 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11719 SWIG_TypeClientData(SWIGTYPE_p_wxSound
, obj
);
11721 return Py_BuildValue((char *)"");
11723 static PyObject
*_wrap_new_FileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11724 PyObject
*resultobj
;
11725 wxString
*arg1
= 0 ;
11726 wxString
*arg2
= 0 ;
11727 wxString
*arg3
= 0 ;
11728 wxString
*arg4
= 0 ;
11729 wxFileTypeInfo
*result
;
11730 bool temp1
= False
;
11731 bool temp2
= False
;
11732 bool temp3
= False
;
11733 bool temp4
= False
;
11734 PyObject
* obj0
= 0 ;
11735 PyObject
* obj1
= 0 ;
11736 PyObject
* obj2
= 0 ;
11737 PyObject
* obj3
= 0 ;
11738 char *kwnames
[] = {
11739 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
11742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11744 arg1
= wxString_in_helper(obj0
);
11745 if (arg1
== NULL
) SWIG_fail
;
11749 arg2
= wxString_in_helper(obj1
);
11750 if (arg2
== NULL
) SWIG_fail
;
11754 arg3
= wxString_in_helper(obj2
);
11755 if (arg3
== NULL
) SWIG_fail
;
11759 arg4
= wxString_in_helper(obj3
);
11760 if (arg4
== NULL
) SWIG_fail
;
11764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11765 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
11767 wxPyEndAllowThreads(__tstate
);
11768 if (PyErr_Occurred()) SWIG_fail
;
11770 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
11809 static PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11810 PyObject
*resultobj
;
11811 wxArrayString
*arg1
= 0 ;
11812 wxFileTypeInfo
*result
;
11813 bool temp1
= False
;
11814 PyObject
* obj0
= 0 ;
11815 char *kwnames
[] = {
11816 (char *) "sArray", NULL
11819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) goto fail
;
11821 if (! PySequence_Check(obj0
)) {
11822 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11825 arg1
= new wxArrayString
;
11827 int i
, len
=PySequence_Length(obj0
);
11828 for (i
=0; i
<len
; i
++) {
11829 PyObject
* item
= PySequence_GetItem(obj0
, i
);
11831 PyObject
* str
= PyObject_Unicode(item
);
11833 PyObject
* str
= PyObject_Str(item
);
11835 if (PyErr_Occurred()) SWIG_fail
;
11836 arg1
->Add(Py2wxString(str
));
11842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11843 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
11845 wxPyEndAllowThreads(__tstate
);
11846 if (PyErr_Occurred()) SWIG_fail
;
11848 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
11850 if (temp1
) delete arg1
;
11855 if (temp1
) delete arg1
;
11861 static PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11862 PyObject
*resultobj
;
11863 wxFileTypeInfo
*result
;
11864 char *kwnames
[] = {
11868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NullFileTypeInfo",kwnames
)) goto fail
;
11870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11871 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
11873 wxPyEndAllowThreads(__tstate
);
11874 if (PyErr_Occurred()) SWIG_fail
;
11876 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
11883 static PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11884 PyObject
*resultobj
;
11885 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11887 PyObject
* obj0
= 0 ;
11888 char *kwnames
[] = {
11889 (char *) "self", NULL
11892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_IsValid",kwnames
,&obj0
)) goto fail
;
11893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
11894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11897 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
11899 wxPyEndAllowThreads(__tstate
);
11900 if (PyErr_Occurred()) SWIG_fail
;
11903 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11911 static PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11912 PyObject
*resultobj
;
11913 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11914 wxString
*arg2
= 0 ;
11915 int arg3
= (int) 0 ;
11916 bool temp2
= False
;
11917 PyObject
* obj0
= 0 ;
11918 PyObject
* obj1
= 0 ;
11919 PyObject
* obj2
= 0 ;
11920 char *kwnames
[] = {
11921 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
11924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
11926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11928 arg2
= wxString_in_helper(obj1
);
11929 if (arg2
== NULL
) SWIG_fail
;
11933 arg3
= (int) SWIG_AsInt(obj2
);
11934 if (PyErr_Occurred()) SWIG_fail
;
11937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11938 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
11940 wxPyEndAllowThreads(__tstate
);
11941 if (PyErr_Occurred()) SWIG_fail
;
11943 Py_INCREF(Py_None
); resultobj
= Py_None
;
11958 static PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11959 PyObject
*resultobj
;
11960 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11961 wxString
*arg2
= 0 ;
11962 bool temp2
= False
;
11963 PyObject
* obj0
= 0 ;
11964 PyObject
* obj1
= 0 ;
11965 char *kwnames
[] = {
11966 (char *) "self",(char *) "shortDesc", NULL
11969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
11970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
11971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11973 arg2
= wxString_in_helper(obj1
);
11974 if (arg2
== NULL
) SWIG_fail
;
11978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11979 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
11981 wxPyEndAllowThreads(__tstate
);
11982 if (PyErr_Occurred()) SWIG_fail
;
11984 Py_INCREF(Py_None
); resultobj
= Py_None
;
11999 static PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12000 PyObject
*resultobj
;
12001 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12003 PyObject
* obj0
= 0 ;
12004 char *kwnames
[] = {
12005 (char *) "self", NULL
12008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetMimeType",kwnames
,&obj0
)) goto fail
;
12009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12014 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
12015 result
= (wxString
*) &_result_ref
;
12018 wxPyEndAllowThreads(__tstate
);
12019 if (PyErr_Occurred()) SWIG_fail
;
12023 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12025 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12034 static PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12035 PyObject
*resultobj
;
12036 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12038 PyObject
* obj0
= 0 ;
12039 char *kwnames
[] = {
12040 (char *) "self", NULL
12043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames
,&obj0
)) goto fail
;
12044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12049 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
12050 result
= (wxString
*) &_result_ref
;
12053 wxPyEndAllowThreads(__tstate
);
12054 if (PyErr_Occurred()) SWIG_fail
;
12058 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12060 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12069 static PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12070 PyObject
*resultobj
;
12071 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12073 PyObject
* obj0
= 0 ;
12074 char *kwnames
[] = {
12075 (char *) "self", NULL
12078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames
,&obj0
)) goto fail
;
12079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12084 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
12085 result
= (wxString
*) &_result_ref
;
12088 wxPyEndAllowThreads(__tstate
);
12089 if (PyErr_Occurred()) SWIG_fail
;
12093 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12095 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12104 static PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12105 PyObject
*resultobj
;
12106 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12108 PyObject
* obj0
= 0 ;
12109 char *kwnames
[] = {
12110 (char *) "self", NULL
12113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetShortDesc",kwnames
,&obj0
)) goto fail
;
12114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12119 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
12120 result
= (wxString
*) &_result_ref
;
12123 wxPyEndAllowThreads(__tstate
);
12124 if (PyErr_Occurred()) SWIG_fail
;
12128 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12130 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12139 static PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12140 PyObject
*resultobj
;
12141 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12143 PyObject
* obj0
= 0 ;
12144 char *kwnames
[] = {
12145 (char *) "self", NULL
12148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetDescription",kwnames
,&obj0
)) goto fail
;
12149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12154 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
12155 result
= (wxString
*) &_result_ref
;
12158 wxPyEndAllowThreads(__tstate
);
12159 if (PyErr_Occurred()) SWIG_fail
;
12163 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12165 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12174 static PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12175 PyObject
*resultobj
;
12176 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12177 wxArrayString
*result
;
12178 PyObject
* obj0
= 0 ;
12179 char *kwnames
[] = {
12180 (char *) "self", NULL
12183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensions",kwnames
,&obj0
)) goto fail
;
12184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12189 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
12190 result
= (wxArrayString
*) &_result_ref
;
12193 wxPyEndAllowThreads(__tstate
);
12194 if (PyErr_Occurred()) SWIG_fail
;
12197 resultobj
= wxArrayString2PyList_helper(*result
);
12205 static PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12206 PyObject
*resultobj
;
12207 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12209 PyObject
* obj0
= 0 ;
12210 char *kwnames
[] = {
12211 (char *) "self", NULL
12214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames
,&obj0
)) goto fail
;
12215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12219 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
12221 wxPyEndAllowThreads(__tstate
);
12222 if (PyErr_Occurred()) SWIG_fail
;
12224 resultobj
= SWIG_FromInt((int)result
);
12231 static PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12232 PyObject
*resultobj
;
12233 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12235 PyObject
* obj0
= 0 ;
12236 char *kwnames
[] = {
12237 (char *) "self", NULL
12240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconFile",kwnames
,&obj0
)) goto fail
;
12241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12246 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
12247 result
= (wxString
*) &_result_ref
;
12250 wxPyEndAllowThreads(__tstate
);
12251 if (PyErr_Occurred()) SWIG_fail
;
12255 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12257 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12266 static PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12267 PyObject
*resultobj
;
12268 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12270 PyObject
* obj0
= 0 ;
12271 char *kwnames
[] = {
12272 (char *) "self", NULL
12275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconIndex",kwnames
,&obj0
)) goto fail
;
12276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12280 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
12282 wxPyEndAllowThreads(__tstate
);
12283 if (PyErr_Occurred()) SWIG_fail
;
12285 resultobj
= SWIG_FromInt((int)result
);
12292 static PyObject
* FileTypeInfo_swigregister(PyObject
*self
, PyObject
*args
) {
12294 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12295 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo
, obj
);
12297 return Py_BuildValue((char *)"");
12299 static PyObject
*_wrap_new_FileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12300 PyObject
*resultobj
;
12301 wxFileTypeInfo
*arg1
= 0 ;
12302 wxFileType
*result
;
12303 PyObject
* obj0
= 0 ;
12304 char *kwnames
[] = {
12305 (char *) "ftInfo", NULL
12308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) goto fail
;
12309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12310 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12312 if (arg1
== NULL
) {
12313 PyErr_SetString(PyExc_TypeError
,"null reference");
12317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12318 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
12320 wxPyEndAllowThreads(__tstate
);
12321 if (PyErr_Occurred()) SWIG_fail
;
12323 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
12330 static PyObject
*_wrap_delete_FileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12331 PyObject
*resultobj
;
12332 wxFileType
*arg1
= (wxFileType
*) 0 ;
12333 PyObject
* obj0
= 0 ;
12334 char *kwnames
[] = {
12335 (char *) "self", NULL
12338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileType",kwnames
,&obj0
)) goto fail
;
12339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12345 wxPyEndAllowThreads(__tstate
);
12346 if (PyErr_Occurred()) SWIG_fail
;
12348 Py_INCREF(Py_None
); resultobj
= Py_None
;
12355 static PyObject
*_wrap_FileType_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12356 PyObject
*resultobj
;
12357 wxFileType
*arg1
= (wxFileType
*) 0 ;
12359 PyObject
* obj0
= 0 ;
12360 char *kwnames
[] = {
12361 (char *) "self", NULL
12364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeType",kwnames
,&obj0
)) goto fail
;
12365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12369 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
12371 wxPyEndAllowThreads(__tstate
);
12372 if (PyErr_Occurred()) SWIG_fail
;
12374 resultobj
= result
;
12381 static PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12382 PyObject
*resultobj
;
12383 wxFileType
*arg1
= (wxFileType
*) 0 ;
12385 PyObject
* obj0
= 0 ;
12386 char *kwnames
[] = {
12387 (char *) "self", NULL
12390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeTypes",kwnames
,&obj0
)) goto fail
;
12391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12395 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
12397 wxPyEndAllowThreads(__tstate
);
12398 if (PyErr_Occurred()) SWIG_fail
;
12400 resultobj
= result
;
12407 static PyObject
*_wrap_FileType_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12408 PyObject
*resultobj
;
12409 wxFileType
*arg1
= (wxFileType
*) 0 ;
12411 PyObject
* obj0
= 0 ;
12412 char *kwnames
[] = {
12413 (char *) "self", NULL
12416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetExtensions",kwnames
,&obj0
)) goto fail
;
12417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12421 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
12423 wxPyEndAllowThreads(__tstate
);
12424 if (PyErr_Occurred()) SWIG_fail
;
12426 resultobj
= result
;
12433 static PyObject
*_wrap_FileType_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12434 PyObject
*resultobj
;
12435 wxFileType
*arg1
= (wxFileType
*) 0 ;
12437 PyObject
* obj0
= 0 ;
12438 char *kwnames
[] = {
12439 (char *) "self", NULL
12442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIcon",kwnames
,&obj0
)) goto fail
;
12443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12447 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
12449 wxPyEndAllowThreads(__tstate
);
12450 if (PyErr_Occurred()) SWIG_fail
;
12452 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
12459 static PyObject
*_wrap_FileType_GetIconInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12460 PyObject
*resultobj
;
12461 wxFileType
*arg1
= (wxFileType
*) 0 ;
12463 PyObject
* obj0
= 0 ;
12464 char *kwnames
[] = {
12465 (char *) "self", NULL
12468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIconInfo",kwnames
,&obj0
)) goto fail
;
12469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12473 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
12475 wxPyEndAllowThreads(__tstate
);
12476 if (PyErr_Occurred()) SWIG_fail
;
12478 resultobj
= result
;
12485 static PyObject
*_wrap_FileType_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12486 PyObject
*resultobj
;
12487 wxFileType
*arg1
= (wxFileType
*) 0 ;
12489 PyObject
* obj0
= 0 ;
12490 char *kwnames
[] = {
12491 (char *) "self", NULL
12494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetDescription",kwnames
,&obj0
)) goto fail
;
12495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12499 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
12501 wxPyEndAllowThreads(__tstate
);
12502 if (PyErr_Occurred()) SWIG_fail
;
12504 resultobj
= result
;
12511 static PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12512 PyObject
*resultobj
;
12513 wxFileType
*arg1
= (wxFileType
*) 0 ;
12514 wxString
*arg2
= 0 ;
12515 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12516 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12518 bool temp2
= False
;
12519 bool temp3
= False
;
12520 PyObject
* obj0
= 0 ;
12521 PyObject
* obj1
= 0 ;
12522 PyObject
* obj2
= 0 ;
12523 char *kwnames
[] = {
12524 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12531 arg2
= wxString_in_helper(obj1
);
12532 if (arg2
== NULL
) SWIG_fail
;
12537 arg3
= wxString_in_helper(obj2
);
12538 if (arg3
== NULL
) SWIG_fail
;
12543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12544 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12546 wxPyEndAllowThreads(__tstate
);
12547 if (PyErr_Occurred()) SWIG_fail
;
12549 resultobj
= result
;
12572 static PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12573 PyObject
*resultobj
;
12574 wxFileType
*arg1
= (wxFileType
*) 0 ;
12575 wxString
*arg2
= 0 ;
12576 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12577 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12579 bool temp2
= False
;
12580 bool temp3
= False
;
12581 PyObject
* obj0
= 0 ;
12582 PyObject
* obj1
= 0 ;
12583 PyObject
* obj2
= 0 ;
12584 char *kwnames
[] = {
12585 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12592 arg2
= wxString_in_helper(obj1
);
12593 if (arg2
== NULL
) SWIG_fail
;
12598 arg3
= wxString_in_helper(obj2
);
12599 if (arg3
== NULL
) SWIG_fail
;
12604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12605 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12607 wxPyEndAllowThreads(__tstate
);
12608 if (PyErr_Occurred()) SWIG_fail
;
12610 resultobj
= result
;
12633 static PyObject
*_wrap_FileType_GetAllCommands(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12634 PyObject
*resultobj
;
12635 wxFileType
*arg1
= (wxFileType
*) 0 ;
12636 wxString
*arg2
= 0 ;
12637 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12638 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12640 bool temp2
= False
;
12641 bool temp3
= False
;
12642 PyObject
* obj0
= 0 ;
12643 PyObject
* obj1
= 0 ;
12644 PyObject
* obj2
= 0 ;
12645 char *kwnames
[] = {
12646 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12653 arg2
= wxString_in_helper(obj1
);
12654 if (arg2
== NULL
) SWIG_fail
;
12659 arg3
= wxString_in_helper(obj2
);
12660 if (arg3
== NULL
) SWIG_fail
;
12665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12666 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12668 wxPyEndAllowThreads(__tstate
);
12669 if (PyErr_Occurred()) SWIG_fail
;
12671 resultobj
= result
;
12694 static PyObject
*_wrap_FileType_SetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12695 PyObject
*resultobj
;
12696 wxFileType
*arg1
= (wxFileType
*) 0 ;
12697 wxString
*arg2
= 0 ;
12698 wxString
*arg3
= 0 ;
12699 bool arg4
= (bool) True
;
12701 bool temp2
= False
;
12702 bool temp3
= False
;
12703 PyObject
* obj0
= 0 ;
12704 PyObject
* obj1
= 0 ;
12705 PyObject
* obj2
= 0 ;
12706 PyObject
* obj3
= 0 ;
12707 char *kwnames
[] = {
12708 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
12711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12715 arg2
= wxString_in_helper(obj1
);
12716 if (arg2
== NULL
) SWIG_fail
;
12720 arg3
= wxString_in_helper(obj2
);
12721 if (arg3
== NULL
) SWIG_fail
;
12725 arg4
= (bool) SWIG_AsBool(obj3
);
12726 if (PyErr_Occurred()) SWIG_fail
;
12729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12730 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
12732 wxPyEndAllowThreads(__tstate
);
12733 if (PyErr_Occurred()) SWIG_fail
;
12736 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12760 static PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12761 PyObject
*resultobj
;
12762 wxFileType
*arg1
= (wxFileType
*) 0 ;
12763 wxString
const &arg2_defvalue
= wxPyEmptyString
;
12764 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12765 int arg3
= (int) 0 ;
12767 bool temp2
= False
;
12768 PyObject
* obj0
= 0 ;
12769 PyObject
* obj1
= 0 ;
12770 PyObject
* obj2
= 0 ;
12771 char *kwnames
[] = {
12772 (char *) "self",(char *) "cmd",(char *) "index", NULL
12775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12780 arg2
= wxString_in_helper(obj1
);
12781 if (arg2
== NULL
) SWIG_fail
;
12786 arg3
= (int) SWIG_AsInt(obj2
);
12787 if (PyErr_Occurred()) SWIG_fail
;
12790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12791 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
12793 wxPyEndAllowThreads(__tstate
);
12794 if (PyErr_Occurred()) SWIG_fail
;
12797 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12813 static PyObject
*_wrap_FileType_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12814 PyObject
*resultobj
;
12815 wxFileType
*arg1
= (wxFileType
*) 0 ;
12817 PyObject
* obj0
= 0 ;
12818 char *kwnames
[] = {
12819 (char *) "self", NULL
12822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_Unassociate",kwnames
,&obj0
)) goto fail
;
12823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12827 result
= (bool)(arg1
)->Unassociate();
12829 wxPyEndAllowThreads(__tstate
);
12830 if (PyErr_Occurred()) SWIG_fail
;
12833 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12841 static PyObject
*_wrap_FileType_ExpandCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12842 PyObject
*resultobj
;
12843 wxString
*arg1
= 0 ;
12844 wxString
*arg2
= 0 ;
12845 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12846 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12848 bool temp1
= False
;
12849 bool temp2
= False
;
12850 bool temp3
= False
;
12851 PyObject
* obj0
= 0 ;
12852 PyObject
* obj1
= 0 ;
12853 PyObject
* obj2
= 0 ;
12854 char *kwnames
[] = {
12855 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
12858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12860 arg1
= wxString_in_helper(obj0
);
12861 if (arg1
== NULL
) SWIG_fail
;
12865 arg2
= wxString_in_helper(obj1
);
12866 if (arg2
== NULL
) SWIG_fail
;
12871 arg3
= wxString_in_helper(obj2
);
12872 if (arg3
== NULL
) SWIG_fail
;
12877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12878 result
= FileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12880 wxPyEndAllowThreads(__tstate
);
12881 if (PyErr_Occurred()) SWIG_fail
;
12885 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12887 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12920 static PyObject
* FileType_swigregister(PyObject
*self
, PyObject
*args
) {
12922 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12923 SWIG_TypeClientData(SWIGTYPE_p_wxFileType
, obj
);
12925 return Py_BuildValue((char *)"");
12927 static int _wrap_TheMimeTypesManager_set(PyObject
*_val
) {
12928 PyErr_SetString(PyExc_TypeError
,"Variable TheMimeTypesManager is read-only.");
12933 static PyObject
*_wrap_TheMimeTypesManager_get() {
12936 pyobj
= SWIG_NewPointerObj((void *)(wxTheMimeTypesManager
), SWIGTYPE_p_wxMimeTypesManager
, 0);
12941 static PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12942 PyObject
*resultobj
;
12943 wxString
*arg1
= 0 ;
12944 wxString
*arg2
= 0 ;
12946 bool temp1
= False
;
12947 bool temp2
= False
;
12948 PyObject
* obj0
= 0 ;
12949 PyObject
* obj1
= 0 ;
12950 char *kwnames
[] = {
12951 (char *) "mimeType",(char *) "wildcard", NULL
12954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) goto fail
;
12956 arg1
= wxString_in_helper(obj0
);
12957 if (arg1
== NULL
) SWIG_fail
;
12961 arg2
= wxString_in_helper(obj1
);
12962 if (arg2
== NULL
) SWIG_fail
;
12966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12967 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
12969 wxPyEndAllowThreads(__tstate
);
12970 if (PyErr_Occurred()) SWIG_fail
;
12973 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12997 static PyObject
*_wrap_new_MimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12998 PyObject
*resultobj
;
12999 wxMimeTypesManager
*result
;
13000 char *kwnames
[] = {
13004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MimeTypesManager",kwnames
)) goto fail
;
13006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13007 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
13009 wxPyEndAllowThreads(__tstate
);
13010 if (PyErr_Occurred()) SWIG_fail
;
13012 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMimeTypesManager
, 1);
13019 static PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13020 PyObject
*resultobj
;
13021 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13022 int arg2
= (int) wxMAILCAP_ALL
;
13023 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13024 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13025 bool temp3
= False
;
13026 PyObject
* obj0
= 0 ;
13027 PyObject
* obj1
= 0 ;
13028 PyObject
* obj2
= 0 ;
13029 char *kwnames
[] = {
13030 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
13033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MimeTypesManager_Initialize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13037 arg2
= (int) SWIG_AsInt(obj1
);
13038 if (PyErr_Occurred()) SWIG_fail
;
13042 arg3
= wxString_in_helper(obj2
);
13043 if (arg3
== NULL
) SWIG_fail
;
13048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13049 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
13051 wxPyEndAllowThreads(__tstate
);
13052 if (PyErr_Occurred()) SWIG_fail
;
13054 Py_INCREF(Py_None
); resultobj
= Py_None
;
13069 static PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13070 PyObject
*resultobj
;
13071 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13072 PyObject
* obj0
= 0 ;
13073 char *kwnames
[] = {
13074 (char *) "self", NULL
13077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_ClearData",kwnames
,&obj0
)) goto fail
;
13078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13082 (arg1
)->ClearData();
13084 wxPyEndAllowThreads(__tstate
);
13085 if (PyErr_Occurred()) SWIG_fail
;
13087 Py_INCREF(Py_None
); resultobj
= Py_None
;
13094 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13095 PyObject
*resultobj
;
13096 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13097 wxString
*arg2
= 0 ;
13098 wxFileType
*result
;
13099 bool temp2
= False
;
13100 PyObject
* obj0
= 0 ;
13101 PyObject
* obj1
= 0 ;
13102 char *kwnames
[] = {
13103 (char *) "self",(char *) "ext", NULL
13106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
13107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13110 arg2
= wxString_in_helper(obj1
);
13111 if (arg2
== NULL
) SWIG_fail
;
13115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13116 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
13118 wxPyEndAllowThreads(__tstate
);
13119 if (PyErr_Occurred()) SWIG_fail
;
13121 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13136 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13137 PyObject
*resultobj
;
13138 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13139 wxString
*arg2
= 0 ;
13140 wxFileType
*result
;
13141 bool temp2
= False
;
13142 PyObject
* obj0
= 0 ;
13143 PyObject
* obj1
= 0 ;
13144 char *kwnames
[] = {
13145 (char *) "self",(char *) "mimeType", NULL
13148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
13149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13152 arg2
= wxString_in_helper(obj1
);
13153 if (arg2
== NULL
) SWIG_fail
;
13157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13158 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
13160 wxPyEndAllowThreads(__tstate
);
13161 if (PyErr_Occurred()) SWIG_fail
;
13163 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13178 static PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13179 PyObject
*resultobj
;
13180 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13181 wxString
*arg2
= 0 ;
13182 bool arg3
= (bool) False
;
13184 bool temp2
= False
;
13185 PyObject
* obj0
= 0 ;
13186 PyObject
* obj1
= 0 ;
13187 PyObject
* obj2
= 0 ;
13188 char *kwnames
[] = {
13189 (char *) "self",(char *) "filename",(char *) "fallback", NULL
13192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13196 arg2
= wxString_in_helper(obj1
);
13197 if (arg2
== NULL
) SWIG_fail
;
13201 arg3
= (bool) SWIG_AsBool(obj2
);
13202 if (PyErr_Occurred()) SWIG_fail
;
13205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13206 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
13208 wxPyEndAllowThreads(__tstate
);
13209 if (PyErr_Occurred()) SWIG_fail
;
13212 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13228 static PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13229 PyObject
*resultobj
;
13230 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13231 wxString
*arg2
= 0 ;
13233 bool temp2
= False
;
13234 PyObject
* obj0
= 0 ;
13235 PyObject
* obj1
= 0 ;
13236 char *kwnames
[] = {
13237 (char *) "self",(char *) "filename", NULL
13240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) goto fail
;
13241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13244 arg2
= wxString_in_helper(obj1
);
13245 if (arg2
== NULL
) SWIG_fail
;
13249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13250 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
13252 wxPyEndAllowThreads(__tstate
);
13253 if (PyErr_Occurred()) SWIG_fail
;
13256 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13272 static PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13273 PyObject
*resultobj
;
13274 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13276 PyObject
* obj0
= 0 ;
13277 char *kwnames
[] = {
13278 (char *) "self", NULL
13281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames
,&obj0
)) goto fail
;
13282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13286 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
13288 wxPyEndAllowThreads(__tstate
);
13289 if (PyErr_Occurred()) SWIG_fail
;
13291 resultobj
= result
;
13298 static PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13299 PyObject
*resultobj
;
13300 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13301 wxFileTypeInfo
*arg2
= 0 ;
13302 PyObject
* obj0
= 0 ;
13303 PyObject
* obj1
= 0 ;
13304 char *kwnames
[] = {
13305 (char *) "self",(char *) "ft", NULL
13308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) goto fail
;
13309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13311 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileTypeInfo
,
13312 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13314 if (arg2
== NULL
) {
13315 PyErr_SetString(PyExc_TypeError
,"null reference");
13319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13320 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
13322 wxPyEndAllowThreads(__tstate
);
13323 if (PyErr_Occurred()) SWIG_fail
;
13325 Py_INCREF(Py_None
); resultobj
= Py_None
;
13332 static PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13333 PyObject
*resultobj
;
13334 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13335 wxFileTypeInfo
*arg2
= 0 ;
13336 wxFileType
*result
;
13337 PyObject
* obj0
= 0 ;
13338 PyObject
* obj1
= 0 ;
13339 char *kwnames
[] = {
13340 (char *) "self",(char *) "ftInfo", NULL
13343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) goto fail
;
13344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13346 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileTypeInfo
,
13347 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13349 if (arg2
== NULL
) {
13350 PyErr_SetString(PyExc_TypeError
,"null reference");
13354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13355 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
13357 wxPyEndAllowThreads(__tstate
);
13358 if (PyErr_Occurred()) SWIG_fail
;
13360 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13367 static PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13368 PyObject
*resultobj
;
13369 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13370 wxFileType
*arg2
= (wxFileType
*) 0 ;
13372 PyObject
* obj0
= 0 ;
13373 PyObject
* obj1
= 0 ;
13374 char *kwnames
[] = {
13375 (char *) "self",(char *) "ft", NULL
13378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) goto fail
;
13379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13381 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileType
,
13382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13385 result
= (bool)(arg1
)->Unassociate(arg2
);
13387 wxPyEndAllowThreads(__tstate
);
13388 if (PyErr_Occurred()) SWIG_fail
;
13391 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13399 static PyObject
*_wrap_delete_MimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13400 PyObject
*resultobj
;
13401 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13402 PyObject
* obj0
= 0 ;
13403 char *kwnames
[] = {
13404 (char *) "self", NULL
13407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MimeTypesManager",kwnames
,&obj0
)) goto fail
;
13408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13414 wxPyEndAllowThreads(__tstate
);
13415 if (PyErr_Occurred()) SWIG_fail
;
13417 Py_INCREF(Py_None
); resultobj
= Py_None
;
13424 static PyObject
* MimeTypesManager_swigregister(PyObject
*self
, PyObject
*args
) {
13426 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13427 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager
, obj
);
13429 return Py_BuildValue((char *)"");
13431 static int _wrap_ART_TOOLBAR_set(PyObject
*_val
) {
13432 PyErr_SetString(PyExc_TypeError
,"Variable ART_TOOLBAR is read-only.");
13437 static PyObject
*_wrap_ART_TOOLBAR_get() {
13442 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
13444 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
13451 static int _wrap_ART_MENU_set(PyObject
*_val
) {
13452 PyErr_SetString(PyExc_TypeError
,"Variable ART_MENU is read-only.");
13457 static PyObject
*_wrap_ART_MENU_get() {
13462 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
13464 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
13471 static int _wrap_ART_FRAME_ICON_set(PyObject
*_val
) {
13472 PyErr_SetString(PyExc_TypeError
,"Variable ART_FRAME_ICON is read-only.");
13477 static PyObject
*_wrap_ART_FRAME_ICON_get() {
13482 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
13484 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
13491 static int _wrap_ART_CMN_DIALOG_set(PyObject
*_val
) {
13492 PyErr_SetString(PyExc_TypeError
,"Variable ART_CMN_DIALOG is read-only.");
13497 static PyObject
*_wrap_ART_CMN_DIALOG_get() {
13502 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
13504 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
13511 static int _wrap_ART_HELP_BROWSER_set(PyObject
*_val
) {
13512 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BROWSER is read-only.");
13517 static PyObject
*_wrap_ART_HELP_BROWSER_get() {
13522 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
13524 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
13531 static int _wrap_ART_MESSAGE_BOX_set(PyObject
*_val
) {
13532 PyErr_SetString(PyExc_TypeError
,"Variable ART_MESSAGE_BOX is read-only.");
13537 static PyObject
*_wrap_ART_MESSAGE_BOX_get() {
13542 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
13544 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
13551 static int _wrap_ART_OTHER_set(PyObject
*_val
) {
13552 PyErr_SetString(PyExc_TypeError
,"Variable ART_OTHER is read-only.");
13557 static PyObject
*_wrap_ART_OTHER_get() {
13562 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
13564 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
13571 static int _wrap_ART_ADD_BOOKMARK_set(PyObject
*_val
) {
13572 PyErr_SetString(PyExc_TypeError
,"Variable ART_ADD_BOOKMARK is read-only.");
13577 static PyObject
*_wrap_ART_ADD_BOOKMARK_get() {
13582 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
13584 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
13591 static int _wrap_ART_DEL_BOOKMARK_set(PyObject
*_val
) {
13592 PyErr_SetString(PyExc_TypeError
,"Variable ART_DEL_BOOKMARK is read-only.");
13597 static PyObject
*_wrap_ART_DEL_BOOKMARK_get() {
13602 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
13604 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
13611 static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject
*_val
) {
13612 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
13617 static PyObject
*_wrap_ART_HELP_SIDE_PANEL_get() {
13622 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
13624 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
13631 static int _wrap_ART_HELP_SETTINGS_set(PyObject
*_val
) {
13632 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SETTINGS is read-only.");
13637 static PyObject
*_wrap_ART_HELP_SETTINGS_get() {
13642 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
13644 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
13651 static int _wrap_ART_HELP_BOOK_set(PyObject
*_val
) {
13652 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BOOK is read-only.");
13657 static PyObject
*_wrap_ART_HELP_BOOK_get() {
13662 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
13664 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
13671 static int _wrap_ART_HELP_FOLDER_set(PyObject
*_val
) {
13672 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_FOLDER is read-only.");
13677 static PyObject
*_wrap_ART_HELP_FOLDER_get() {
13682 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
13684 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
13691 static int _wrap_ART_HELP_PAGE_set(PyObject
*_val
) {
13692 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_PAGE is read-only.");
13697 static PyObject
*_wrap_ART_HELP_PAGE_get() {
13702 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
13704 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
13711 static int _wrap_ART_GO_BACK_set(PyObject
*_val
) {
13712 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_BACK is read-only.");
13717 static PyObject
*_wrap_ART_GO_BACK_get() {
13722 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
13724 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
13731 static int _wrap_ART_GO_FORWARD_set(PyObject
*_val
) {
13732 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_FORWARD is read-only.");
13737 static PyObject
*_wrap_ART_GO_FORWARD_get() {
13742 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
13744 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
13751 static int _wrap_ART_GO_UP_set(PyObject
*_val
) {
13752 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_UP is read-only.");
13757 static PyObject
*_wrap_ART_GO_UP_get() {
13762 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
13764 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
13771 static int _wrap_ART_GO_DOWN_set(PyObject
*_val
) {
13772 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DOWN is read-only.");
13777 static PyObject
*_wrap_ART_GO_DOWN_get() {
13782 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
13784 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
13791 static int _wrap_ART_GO_TO_PARENT_set(PyObject
*_val
) {
13792 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_TO_PARENT is read-only.");
13797 static PyObject
*_wrap_ART_GO_TO_PARENT_get() {
13802 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
13804 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
13811 static int _wrap_ART_GO_HOME_set(PyObject
*_val
) {
13812 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_HOME is read-only.");
13817 static PyObject
*_wrap_ART_GO_HOME_get() {
13822 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
13824 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
13831 static int _wrap_ART_FILE_OPEN_set(PyObject
*_val
) {
13832 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_OPEN is read-only.");
13837 static PyObject
*_wrap_ART_FILE_OPEN_get() {
13842 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
13844 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
13851 static int _wrap_ART_PRINT_set(PyObject
*_val
) {
13852 PyErr_SetString(PyExc_TypeError
,"Variable ART_PRINT is read-only.");
13857 static PyObject
*_wrap_ART_PRINT_get() {
13862 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
13864 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
13871 static int _wrap_ART_HELP_set(PyObject
*_val
) {
13872 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP is read-only.");
13877 static PyObject
*_wrap_ART_HELP_get() {
13882 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
13884 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
13891 static int _wrap_ART_TIP_set(PyObject
*_val
) {
13892 PyErr_SetString(PyExc_TypeError
,"Variable ART_TIP is read-only.");
13897 static PyObject
*_wrap_ART_TIP_get() {
13902 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
13904 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
13911 static int _wrap_ART_REPORT_VIEW_set(PyObject
*_val
) {
13912 PyErr_SetString(PyExc_TypeError
,"Variable ART_REPORT_VIEW is read-only.");
13917 static PyObject
*_wrap_ART_REPORT_VIEW_get() {
13922 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
13924 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
13931 static int _wrap_ART_LIST_VIEW_set(PyObject
*_val
) {
13932 PyErr_SetString(PyExc_TypeError
,"Variable ART_LIST_VIEW is read-only.");
13937 static PyObject
*_wrap_ART_LIST_VIEW_get() {
13942 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
13944 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
13951 static int _wrap_ART_NEW_DIR_set(PyObject
*_val
) {
13952 PyErr_SetString(PyExc_TypeError
,"Variable ART_NEW_DIR is read-only.");
13957 static PyObject
*_wrap_ART_NEW_DIR_get() {
13962 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
13964 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
13971 static int _wrap_ART_FOLDER_set(PyObject
*_val
) {
13972 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER is read-only.");
13977 static PyObject
*_wrap_ART_FOLDER_get() {
13982 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
13984 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
13991 static int _wrap_ART_GO_DIR_UP_set(PyObject
*_val
) {
13992 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DIR_UP is read-only.");
13997 static PyObject
*_wrap_ART_GO_DIR_UP_get() {
14002 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
14004 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
14011 static int _wrap_ART_EXECUTABLE_FILE_set(PyObject
*_val
) {
14012 PyErr_SetString(PyExc_TypeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
14017 static PyObject
*_wrap_ART_EXECUTABLE_FILE_get() {
14022 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
14024 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
14031 static int _wrap_ART_NORMAL_FILE_set(PyObject
*_val
) {
14032 PyErr_SetString(PyExc_TypeError
,"Variable ART_NORMAL_FILE is read-only.");
14037 static PyObject
*_wrap_ART_NORMAL_FILE_get() {
14042 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
14044 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
14051 static int _wrap_ART_TICK_MARK_set(PyObject
*_val
) {
14052 PyErr_SetString(PyExc_TypeError
,"Variable ART_TICK_MARK is read-only.");
14057 static PyObject
*_wrap_ART_TICK_MARK_get() {
14062 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
14064 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
14071 static int _wrap_ART_CROSS_MARK_set(PyObject
*_val
) {
14072 PyErr_SetString(PyExc_TypeError
,"Variable ART_CROSS_MARK is read-only.");
14077 static PyObject
*_wrap_ART_CROSS_MARK_get() {
14082 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
14084 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
14091 static int _wrap_ART_ERROR_set(PyObject
*_val
) {
14092 PyErr_SetString(PyExc_TypeError
,"Variable ART_ERROR is read-only.");
14097 static PyObject
*_wrap_ART_ERROR_get() {
14102 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
14104 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
14111 static int _wrap_ART_QUESTION_set(PyObject
*_val
) {
14112 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUESTION is read-only.");
14117 static PyObject
*_wrap_ART_QUESTION_get() {
14122 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
14124 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
14131 static int _wrap_ART_WARNING_set(PyObject
*_val
) {
14132 PyErr_SetString(PyExc_TypeError
,"Variable ART_WARNING is read-only.");
14137 static PyObject
*_wrap_ART_WARNING_get() {
14142 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
14144 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
14151 static int _wrap_ART_INFORMATION_set(PyObject
*_val
) {
14152 PyErr_SetString(PyExc_TypeError
,"Variable ART_INFORMATION is read-only.");
14157 static PyObject
*_wrap_ART_INFORMATION_get() {
14162 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
14164 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
14171 static int _wrap_ART_MISSING_IMAGE_set(PyObject
*_val
) {
14172 PyErr_SetString(PyExc_TypeError
,"Variable ART_MISSING_IMAGE is read-only.");
14177 static PyObject
*_wrap_ART_MISSING_IMAGE_get() {
14182 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
14184 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
14191 static PyObject
*_wrap_new_ArtProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14192 PyObject
*resultobj
;
14193 wxPyArtProvider
*result
;
14194 char *kwnames
[] = {
14198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ArtProvider",kwnames
)) goto fail
;
14200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14201 result
= (wxPyArtProvider
*)new wxPyArtProvider();
14203 wxPyEndAllowThreads(__tstate
);
14204 if (PyErr_Occurred()) SWIG_fail
;
14206 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyArtProvider
, 1);
14213 static PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14214 PyObject
*resultobj
;
14215 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14216 PyObject
*arg2
= (PyObject
*) 0 ;
14217 PyObject
*arg3
= (PyObject
*) 0 ;
14218 PyObject
* obj0
= 0 ;
14219 PyObject
* obj1
= 0 ;
14220 PyObject
* obj2
= 0 ;
14221 char *kwnames
[] = {
14222 (char *) "self",(char *) "self",(char *) "_class", NULL
14225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14232 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14234 wxPyEndAllowThreads(__tstate
);
14235 if (PyErr_Occurred()) SWIG_fail
;
14237 Py_INCREF(Py_None
); resultobj
= Py_None
;
14244 static PyObject
*_wrap_ArtProvider_PushProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14245 PyObject
*resultobj
;
14246 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14247 PyObject
* obj0
= 0 ;
14248 char *kwnames
[] = {
14249 (char *) "provider", NULL
14252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_PushProvider",kwnames
,&obj0
)) goto fail
;
14253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14257 wxPyArtProvider::PushProvider(arg1
);
14259 wxPyEndAllowThreads(__tstate
);
14260 if (PyErr_Occurred()) SWIG_fail
;
14262 Py_INCREF(Py_None
); resultobj
= Py_None
;
14269 static PyObject
*_wrap_ArtProvider_PopProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14270 PyObject
*resultobj
;
14272 char *kwnames
[] = {
14276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ArtProvider_PopProvider",kwnames
)) goto fail
;
14278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14279 result
= (bool)wxPyArtProvider::PopProvider();
14281 wxPyEndAllowThreads(__tstate
);
14282 if (PyErr_Occurred()) SWIG_fail
;
14285 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14293 static PyObject
*_wrap_ArtProvider_RemoveProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14294 PyObject
*resultobj
;
14295 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14297 PyObject
* obj0
= 0 ;
14298 char *kwnames
[] = {
14299 (char *) "provider", NULL
14302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",kwnames
,&obj0
)) goto fail
;
14303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14307 result
= (bool)wxPyArtProvider::RemoveProvider(arg1
);
14309 wxPyEndAllowThreads(__tstate
);
14310 if (PyErr_Occurred()) SWIG_fail
;
14313 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14321 static PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14322 PyObject
*resultobj
;
14323 wxString
*arg1
= 0 ;
14324 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
14325 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14326 wxSize
const &arg3_defvalue
= wxDefaultSize
;
14327 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
14329 bool temp1
= False
;
14330 bool temp2
= False
;
14332 PyObject
* obj0
= 0 ;
14333 PyObject
* obj1
= 0 ;
14334 PyObject
* obj2
= 0 ;
14335 char *kwnames
[] = {
14336 (char *) "id",(char *) "client",(char *) "size", NULL
14339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14341 arg1
= wxString_in_helper(obj0
);
14342 if (arg1
== NULL
) SWIG_fail
;
14347 arg2
= wxString_in_helper(obj1
);
14348 if (arg2
== NULL
) SWIG_fail
;
14355 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14360 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
14362 wxPyEndAllowThreads(__tstate
);
14363 if (PyErr_Occurred()) SWIG_fail
;
14366 wxBitmap
* resultptr
;
14367 resultptr
= new wxBitmap((wxBitmap
&) result
);
14368 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
14392 static PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14393 PyObject
*resultobj
;
14394 wxString
*arg1
= 0 ;
14395 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
14396 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14397 wxSize
const &arg3_defvalue
= wxDefaultSize
;
14398 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
14400 bool temp1
= False
;
14401 bool temp2
= False
;
14403 PyObject
* obj0
= 0 ;
14404 PyObject
* obj1
= 0 ;
14405 PyObject
* obj2
= 0 ;
14406 char *kwnames
[] = {
14407 (char *) "id",(char *) "client",(char *) "size", NULL
14410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14412 arg1
= wxString_in_helper(obj0
);
14413 if (arg1
== NULL
) SWIG_fail
;
14418 arg2
= wxString_in_helper(obj1
);
14419 if (arg2
== NULL
) SWIG_fail
;
14426 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14431 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
14433 wxPyEndAllowThreads(__tstate
);
14434 if (PyErr_Occurred()) SWIG_fail
;
14437 wxIcon
* resultptr
;
14438 resultptr
= new wxIcon((wxIcon
&) result
);
14439 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
14463 static PyObject
*_wrap_ArtProvider_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14464 PyObject
*resultobj
;
14465 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14466 PyObject
* obj0
= 0 ;
14467 char *kwnames
[] = {
14468 (char *) "self", NULL
14471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Destroy",kwnames
,&obj0
)) goto fail
;
14472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14476 wxPyArtProvider_Destroy(arg1
);
14478 wxPyEndAllowThreads(__tstate
);
14479 if (PyErr_Occurred()) SWIG_fail
;
14481 Py_INCREF(Py_None
); resultobj
= Py_None
;
14488 static PyObject
* ArtProvider_swigregister(PyObject
*self
, PyObject
*args
) {
14490 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14491 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider
, obj
);
14493 return Py_BuildValue((char *)"");
14495 static PyObject
*_wrap_delete_ConfigBase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14496 PyObject
*resultobj
;
14497 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14498 PyObject
* obj0
= 0 ;
14499 char *kwnames
[] = {
14500 (char *) "self", NULL
14503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigBase",kwnames
,&obj0
)) goto fail
;
14504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14510 wxPyEndAllowThreads(__tstate
);
14511 if (PyErr_Occurred()) SWIG_fail
;
14513 Py_INCREF(Py_None
); resultobj
= Py_None
;
14520 static PyObject
*_wrap_ConfigBase_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14521 PyObject
*resultobj
;
14522 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14523 wxConfigBase
*result
;
14524 PyObject
* obj0
= 0 ;
14525 char *kwnames
[] = {
14526 (char *) "config", NULL
14529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) goto fail
;
14530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14534 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
14536 wxPyEndAllowThreads(__tstate
);
14537 if (PyErr_Occurred()) SWIG_fail
;
14539 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
14546 static PyObject
*_wrap_ConfigBase_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14547 PyObject
*resultobj
;
14548 bool arg1
= (bool) True
;
14549 wxConfigBase
*result
;
14550 PyObject
* obj0
= 0 ;
14551 char *kwnames
[] = {
14552 (char *) "createOnDemand", NULL
14555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) goto fail
;
14557 arg1
= (bool) SWIG_AsBool(obj0
);
14558 if (PyErr_Occurred()) SWIG_fail
;
14561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14562 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
14564 wxPyEndAllowThreads(__tstate
);
14565 if (PyErr_Occurred()) SWIG_fail
;
14567 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
14574 static PyObject
*_wrap_ConfigBase_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14575 PyObject
*resultobj
;
14576 wxConfigBase
*result
;
14577 char *kwnames
[] = {
14581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_Create",kwnames
)) goto fail
;
14583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14584 result
= (wxConfigBase
*)wxConfigBase::Create();
14586 wxPyEndAllowThreads(__tstate
);
14587 if (PyErr_Occurred()) SWIG_fail
;
14589 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
14596 static PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14597 PyObject
*resultobj
;
14598 char *kwnames
[] = {
14602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_DontCreateOnDemand",kwnames
)) goto fail
;
14604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14605 wxConfigBase::DontCreateOnDemand();
14607 wxPyEndAllowThreads(__tstate
);
14608 if (PyErr_Occurred()) SWIG_fail
;
14610 Py_INCREF(Py_None
); resultobj
= Py_None
;
14617 static PyObject
*_wrap_ConfigBase_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14618 PyObject
*resultobj
;
14619 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14620 wxString
*arg2
= 0 ;
14621 bool temp2
= False
;
14622 PyObject
* obj0
= 0 ;
14623 PyObject
* obj1
= 0 ;
14624 char *kwnames
[] = {
14625 (char *) "self",(char *) "path", NULL
14628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
14629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14632 arg2
= wxString_in_helper(obj1
);
14633 if (arg2
== NULL
) SWIG_fail
;
14637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14638 (arg1
)->SetPath((wxString
const &)*arg2
);
14640 wxPyEndAllowThreads(__tstate
);
14641 if (PyErr_Occurred()) SWIG_fail
;
14643 Py_INCREF(Py_None
); resultobj
= Py_None
;
14658 static PyObject
*_wrap_ConfigBase_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14659 PyObject
*resultobj
;
14660 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14662 PyObject
* obj0
= 0 ;
14663 char *kwnames
[] = {
14664 (char *) "self", NULL
14667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetPath",kwnames
,&obj0
)) goto fail
;
14668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14673 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
14674 result
= (wxString
*) &_result_ref
;
14677 wxPyEndAllowThreads(__tstate
);
14678 if (PyErr_Occurred()) SWIG_fail
;
14682 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14684 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14693 static PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14694 PyObject
*resultobj
;
14695 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14697 PyObject
* obj0
= 0 ;
14698 char *kwnames
[] = {
14699 (char *) "self", NULL
14702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstGroup",kwnames
,&obj0
)) goto fail
;
14703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14707 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
14709 wxPyEndAllowThreads(__tstate
);
14710 if (PyErr_Occurred()) SWIG_fail
;
14712 resultobj
= result
;
14719 static PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14720 PyObject
*resultobj
;
14721 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14724 PyObject
* obj0
= 0 ;
14725 PyObject
* obj1
= 0 ;
14726 char *kwnames
[] = {
14727 (char *) "self",(char *) "index", NULL
14730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
14731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14733 arg2
= (long) SWIG_AsLong(obj1
);
14734 if (PyErr_Occurred()) SWIG_fail
;
14736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14737 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
14739 wxPyEndAllowThreads(__tstate
);
14740 if (PyErr_Occurred()) SWIG_fail
;
14742 resultobj
= result
;
14749 static PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14750 PyObject
*resultobj
;
14751 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14753 PyObject
* obj0
= 0 ;
14754 char *kwnames
[] = {
14755 (char *) "self", NULL
14758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstEntry",kwnames
,&obj0
)) goto fail
;
14759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14763 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
14765 wxPyEndAllowThreads(__tstate
);
14766 if (PyErr_Occurred()) SWIG_fail
;
14768 resultobj
= result
;
14775 static PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14776 PyObject
*resultobj
;
14777 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14780 PyObject
* obj0
= 0 ;
14781 PyObject
* obj1
= 0 ;
14782 char *kwnames
[] = {
14783 (char *) "self",(char *) "index", NULL
14786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
14787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14789 arg2
= (long) SWIG_AsLong(obj1
);
14790 if (PyErr_Occurred()) SWIG_fail
;
14792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14793 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
14795 wxPyEndAllowThreads(__tstate
);
14796 if (PyErr_Occurred()) SWIG_fail
;
14798 resultobj
= result
;
14805 static PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14806 PyObject
*resultobj
;
14807 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14808 bool arg2
= (bool) False
;
14810 PyObject
* obj0
= 0 ;
14811 PyObject
* obj1
= 0 ;
14812 char *kwnames
[] = {
14813 (char *) "self",(char *) "recursive", NULL
14816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) goto fail
;
14817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14820 arg2
= (bool) SWIG_AsBool(obj1
);
14821 if (PyErr_Occurred()) SWIG_fail
;
14824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14825 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
14827 wxPyEndAllowThreads(__tstate
);
14828 if (PyErr_Occurred()) SWIG_fail
;
14830 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
14837 static PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14838 PyObject
*resultobj
;
14839 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14840 bool arg2
= (bool) False
;
14842 PyObject
* obj0
= 0 ;
14843 PyObject
* obj1
= 0 ;
14844 char *kwnames
[] = {
14845 (char *) "self",(char *) "recursive", NULL
14848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) goto fail
;
14849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14852 arg2
= (bool) SWIG_AsBool(obj1
);
14853 if (PyErr_Occurred()) SWIG_fail
;
14856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14857 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
14859 wxPyEndAllowThreads(__tstate
);
14860 if (PyErr_Occurred()) SWIG_fail
;
14862 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
14869 static PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14870 PyObject
*resultobj
;
14871 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14872 wxString
*arg2
= 0 ;
14874 bool temp2
= False
;
14875 PyObject
* obj0
= 0 ;
14876 PyObject
* obj1
= 0 ;
14877 char *kwnames
[] = {
14878 (char *) "self",(char *) "name", NULL
14881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
14882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14885 arg2
= wxString_in_helper(obj1
);
14886 if (arg2
== NULL
) SWIG_fail
;
14890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14891 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
14893 wxPyEndAllowThreads(__tstate
);
14894 if (PyErr_Occurred()) SWIG_fail
;
14897 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14913 static PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14914 PyObject
*resultobj
;
14915 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14916 wxString
*arg2
= 0 ;
14918 bool temp2
= False
;
14919 PyObject
* obj0
= 0 ;
14920 PyObject
* obj1
= 0 ;
14921 char *kwnames
[] = {
14922 (char *) "self",(char *) "name", NULL
14925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
14926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14929 arg2
= wxString_in_helper(obj1
);
14930 if (arg2
== NULL
) SWIG_fail
;
14934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14935 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
14937 wxPyEndAllowThreads(__tstate
);
14938 if (PyErr_Occurred()) SWIG_fail
;
14941 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14957 static PyObject
*_wrap_ConfigBase_Exists(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14958 PyObject
*resultobj
;
14959 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14960 wxString
*arg2
= 0 ;
14962 bool temp2
= False
;
14963 PyObject
* obj0
= 0 ;
14964 PyObject
* obj1
= 0 ;
14965 char *kwnames
[] = {
14966 (char *) "self",(char *) "name", NULL
14969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) goto fail
;
14970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14973 arg2
= wxString_in_helper(obj1
);
14974 if (arg2
== NULL
) SWIG_fail
;
14978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14979 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
14981 wxPyEndAllowThreads(__tstate
);
14982 if (PyErr_Occurred()) SWIG_fail
;
14985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15001 static PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15002 PyObject
*resultobj
;
15003 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15004 wxString
*arg2
= 0 ;
15006 bool temp2
= False
;
15007 PyObject
* obj0
= 0 ;
15008 PyObject
* obj1
= 0 ;
15009 char *kwnames
[] = {
15010 (char *) "self",(char *) "name", NULL
15013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) goto fail
;
15014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15017 arg2
= wxString_in_helper(obj1
);
15018 if (arg2
== NULL
) SWIG_fail
;
15022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15023 result
= (int)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
15025 wxPyEndAllowThreads(__tstate
);
15026 if (PyErr_Occurred()) SWIG_fail
;
15028 resultobj
= SWIG_FromInt((int)result
);
15043 static PyObject
*_wrap_ConfigBase_Read(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15044 PyObject
*resultobj
;
15045 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15046 wxString
*arg2
= 0 ;
15047 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15048 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15050 bool temp2
= False
;
15051 bool temp3
= False
;
15052 PyObject
* obj0
= 0 ;
15053 PyObject
* obj1
= 0 ;
15054 PyObject
* obj2
= 0 ;
15055 char *kwnames
[] = {
15056 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15063 arg2
= wxString_in_helper(obj1
);
15064 if (arg2
== NULL
) SWIG_fail
;
15069 arg3
= wxString_in_helper(obj2
);
15070 if (arg3
== NULL
) SWIG_fail
;
15075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15076 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15078 wxPyEndAllowThreads(__tstate
);
15079 if (PyErr_Occurred()) SWIG_fail
;
15083 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15085 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15110 static PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15111 PyObject
*resultobj
;
15112 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15113 wxString
*arg2
= 0 ;
15114 long arg3
= (long) 0 ;
15116 bool temp2
= False
;
15117 PyObject
* obj0
= 0 ;
15118 PyObject
* obj1
= 0 ;
15119 PyObject
* obj2
= 0 ;
15120 char *kwnames
[] = {
15121 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15128 arg2
= wxString_in_helper(obj1
);
15129 if (arg2
== NULL
) SWIG_fail
;
15133 arg3
= (long) SWIG_AsLong(obj2
);
15134 if (PyErr_Occurred()) SWIG_fail
;
15137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15138 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
15140 wxPyEndAllowThreads(__tstate
);
15141 if (PyErr_Occurred()) SWIG_fail
;
15143 resultobj
= SWIG_FromLong((long)result
);
15158 static PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15159 PyObject
*resultobj
;
15160 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15161 wxString
*arg2
= 0 ;
15162 double arg3
= (double) 0.0 ;
15164 bool temp2
= False
;
15165 PyObject
* obj0
= 0 ;
15166 PyObject
* obj1
= 0 ;
15167 PyObject
* obj2
= 0 ;
15168 char *kwnames
[] = {
15169 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15176 arg2
= wxString_in_helper(obj1
);
15177 if (arg2
== NULL
) SWIG_fail
;
15181 arg3
= (double) SWIG_AsDouble(obj2
);
15182 if (PyErr_Occurred()) SWIG_fail
;
15185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15186 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
15188 wxPyEndAllowThreads(__tstate
);
15189 if (PyErr_Occurred()) SWIG_fail
;
15191 resultobj
= SWIG_FromDouble((double)result
);
15206 static PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15207 PyObject
*resultobj
;
15208 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15209 wxString
*arg2
= 0 ;
15210 bool arg3
= (bool) False
;
15212 bool temp2
= False
;
15213 PyObject
* obj0
= 0 ;
15214 PyObject
* obj1
= 0 ;
15215 PyObject
* obj2
= 0 ;
15216 char *kwnames
[] = {
15217 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15224 arg2
= wxString_in_helper(obj1
);
15225 if (arg2
== NULL
) SWIG_fail
;
15229 arg3
= (bool) SWIG_AsBool(obj2
);
15230 if (PyErr_Occurred()) SWIG_fail
;
15233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15234 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
15236 wxPyEndAllowThreads(__tstate
);
15237 if (PyErr_Occurred()) SWIG_fail
;
15240 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15256 static PyObject
*_wrap_ConfigBase_Write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15257 PyObject
*resultobj
;
15258 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15259 wxString
*arg2
= 0 ;
15260 wxString
*arg3
= 0 ;
15262 bool temp2
= False
;
15263 bool temp3
= False
;
15264 PyObject
* obj0
= 0 ;
15265 PyObject
* obj1
= 0 ;
15266 PyObject
* obj2
= 0 ;
15267 char *kwnames
[] = {
15268 (char *) "self",(char *) "key",(char *) "value", NULL
15271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15275 arg2
= wxString_in_helper(obj1
);
15276 if (arg2
== NULL
) SWIG_fail
;
15280 arg3
= wxString_in_helper(obj2
);
15281 if (arg3
== NULL
) SWIG_fail
;
15285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15286 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15288 wxPyEndAllowThreads(__tstate
);
15289 if (PyErr_Occurred()) SWIG_fail
;
15292 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15316 static PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15317 PyObject
*resultobj
;
15318 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15319 wxString
*arg2
= 0 ;
15322 bool temp2
= False
;
15323 PyObject
* obj0
= 0 ;
15324 PyObject
* obj1
= 0 ;
15325 PyObject
* obj2
= 0 ;
15326 char *kwnames
[] = {
15327 (char *) "self",(char *) "key",(char *) "value", NULL
15330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15334 arg2
= wxString_in_helper(obj1
);
15335 if (arg2
== NULL
) SWIG_fail
;
15338 arg3
= (long) SWIG_AsLong(obj2
);
15339 if (PyErr_Occurred()) SWIG_fail
;
15341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15342 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15344 wxPyEndAllowThreads(__tstate
);
15345 if (PyErr_Occurred()) SWIG_fail
;
15348 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15364 static PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15365 PyObject
*resultobj
;
15366 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15367 wxString
*arg2
= 0 ;
15370 bool temp2
= False
;
15371 PyObject
* obj0
= 0 ;
15372 PyObject
* obj1
= 0 ;
15373 PyObject
* obj2
= 0 ;
15374 char *kwnames
[] = {
15375 (char *) "self",(char *) "key",(char *) "value", NULL
15378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15382 arg2
= wxString_in_helper(obj1
);
15383 if (arg2
== NULL
) SWIG_fail
;
15386 arg3
= (double) SWIG_AsDouble(obj2
);
15387 if (PyErr_Occurred()) SWIG_fail
;
15389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15390 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15392 wxPyEndAllowThreads(__tstate
);
15393 if (PyErr_Occurred()) SWIG_fail
;
15396 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15412 static PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15413 PyObject
*resultobj
;
15414 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15415 wxString
*arg2
= 0 ;
15418 bool temp2
= False
;
15419 PyObject
* obj0
= 0 ;
15420 PyObject
* obj1
= 0 ;
15421 PyObject
* obj2
= 0 ;
15422 char *kwnames
[] = {
15423 (char *) "self",(char *) "key",(char *) "value", NULL
15426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15430 arg2
= wxString_in_helper(obj1
);
15431 if (arg2
== NULL
) SWIG_fail
;
15434 arg3
= (bool) SWIG_AsBool(obj2
);
15435 if (PyErr_Occurred()) SWIG_fail
;
15437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15438 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15440 wxPyEndAllowThreads(__tstate
);
15441 if (PyErr_Occurred()) SWIG_fail
;
15444 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15460 static PyObject
*_wrap_ConfigBase_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15461 PyObject
*resultobj
;
15462 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15463 bool arg2
= (bool) False
;
15465 PyObject
* obj0
= 0 ;
15466 PyObject
* obj1
= 0 ;
15467 char *kwnames
[] = {
15468 (char *) "self",(char *) "currentOnly", NULL
15471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) goto fail
;
15472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15475 arg2
= (bool) SWIG_AsBool(obj1
);
15476 if (PyErr_Occurred()) SWIG_fail
;
15479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15480 result
= (bool)(arg1
)->Flush(arg2
);
15482 wxPyEndAllowThreads(__tstate
);
15483 if (PyErr_Occurred()) SWIG_fail
;
15486 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15494 static PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15495 PyObject
*resultobj
;
15496 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15497 wxString
*arg2
= 0 ;
15498 wxString
*arg3
= 0 ;
15500 bool temp2
= False
;
15501 bool temp3
= False
;
15502 PyObject
* obj0
= 0 ;
15503 PyObject
* obj1
= 0 ;
15504 PyObject
* obj2
= 0 ;
15505 char *kwnames
[] = {
15506 (char *) "self",(char *) "oldName",(char *) "newName", NULL
15509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15513 arg2
= wxString_in_helper(obj1
);
15514 if (arg2
== NULL
) SWIG_fail
;
15518 arg3
= wxString_in_helper(obj2
);
15519 if (arg3
== NULL
) SWIG_fail
;
15523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15524 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15526 wxPyEndAllowThreads(__tstate
);
15527 if (PyErr_Occurred()) SWIG_fail
;
15530 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15554 static PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15555 PyObject
*resultobj
;
15556 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15557 wxString
*arg2
= 0 ;
15558 wxString
*arg3
= 0 ;
15560 bool temp2
= False
;
15561 bool temp3
= False
;
15562 PyObject
* obj0
= 0 ;
15563 PyObject
* obj1
= 0 ;
15564 PyObject
* obj2
= 0 ;
15565 char *kwnames
[] = {
15566 (char *) "self",(char *) "oldName",(char *) "newName", NULL
15569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15573 arg2
= wxString_in_helper(obj1
);
15574 if (arg2
== NULL
) SWIG_fail
;
15578 arg3
= wxString_in_helper(obj2
);
15579 if (arg3
== NULL
) SWIG_fail
;
15583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15584 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15586 wxPyEndAllowThreads(__tstate
);
15587 if (PyErr_Occurred()) SWIG_fail
;
15590 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15614 static PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15615 PyObject
*resultobj
;
15616 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15617 wxString
*arg2
= 0 ;
15618 bool arg3
= (bool) True
;
15620 bool temp2
= False
;
15621 PyObject
* obj0
= 0 ;
15622 PyObject
* obj1
= 0 ;
15623 PyObject
* obj2
= 0 ;
15624 char *kwnames
[] = {
15625 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
15628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15632 arg2
= wxString_in_helper(obj1
);
15633 if (arg2
== NULL
) SWIG_fail
;
15637 arg3
= (bool) SWIG_AsBool(obj2
);
15638 if (PyErr_Occurred()) SWIG_fail
;
15641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15642 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
15644 wxPyEndAllowThreads(__tstate
);
15645 if (PyErr_Occurred()) SWIG_fail
;
15648 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15664 static PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15665 PyObject
*resultobj
;
15666 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15667 wxString
*arg2
= 0 ;
15669 bool temp2
= False
;
15670 PyObject
* obj0
= 0 ;
15671 PyObject
* obj1
= 0 ;
15672 char *kwnames
[] = {
15673 (char *) "self",(char *) "key", NULL
15676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
15677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15680 arg2
= wxString_in_helper(obj1
);
15681 if (arg2
== NULL
) SWIG_fail
;
15685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15686 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
15688 wxPyEndAllowThreads(__tstate
);
15689 if (PyErr_Occurred()) SWIG_fail
;
15692 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15708 static PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15709 PyObject
*resultobj
;
15710 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15712 PyObject
* obj0
= 0 ;
15713 char *kwnames
[] = {
15714 (char *) "self", NULL
15717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_DeleteAll",kwnames
,&obj0
)) goto fail
;
15718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15722 result
= (bool)(arg1
)->DeleteAll();
15724 wxPyEndAllowThreads(__tstate
);
15725 if (PyErr_Occurred()) SWIG_fail
;
15728 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15736 static PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15737 PyObject
*resultobj
;
15738 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15739 bool arg2
= (bool) True
;
15740 PyObject
* obj0
= 0 ;
15741 PyObject
* obj1
= 0 ;
15742 char *kwnames
[] = {
15743 (char *) "self",(char *) "doIt", NULL
15746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
15747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15750 arg2
= (bool) SWIG_AsBool(obj1
);
15751 if (PyErr_Occurred()) SWIG_fail
;
15754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15755 (arg1
)->SetExpandEnvVars(arg2
);
15757 wxPyEndAllowThreads(__tstate
);
15758 if (PyErr_Occurred()) SWIG_fail
;
15760 Py_INCREF(Py_None
); resultobj
= Py_None
;
15767 static PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15768 PyObject
*resultobj
;
15769 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15771 PyObject
* obj0
= 0 ;
15772 char *kwnames
[] = {
15773 (char *) "self", NULL
15776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames
,&obj0
)) goto fail
;
15777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15781 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
15783 wxPyEndAllowThreads(__tstate
);
15784 if (PyErr_Occurred()) SWIG_fail
;
15787 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15795 static PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15796 PyObject
*resultobj
;
15797 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15798 bool arg2
= (bool) True
;
15799 PyObject
* obj0
= 0 ;
15800 PyObject
* obj1
= 0 ;
15801 char *kwnames
[] = {
15802 (char *) "self",(char *) "doIt", NULL
15805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
15806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15809 arg2
= (bool) SWIG_AsBool(obj1
);
15810 if (PyErr_Occurred()) SWIG_fail
;
15813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15814 (arg1
)->SetRecordDefaults(arg2
);
15816 wxPyEndAllowThreads(__tstate
);
15817 if (PyErr_Occurred()) SWIG_fail
;
15819 Py_INCREF(Py_None
); resultobj
= Py_None
;
15826 static PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15827 PyObject
*resultobj
;
15828 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15830 PyObject
* obj0
= 0 ;
15831 char *kwnames
[] = {
15832 (char *) "self", NULL
15835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames
,&obj0
)) goto fail
;
15836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15840 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
15842 wxPyEndAllowThreads(__tstate
);
15843 if (PyErr_Occurred()) SWIG_fail
;
15846 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15854 static PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15855 PyObject
*resultobj
;
15856 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15857 wxString
*arg2
= 0 ;
15859 bool temp2
= False
;
15860 PyObject
* obj0
= 0 ;
15861 PyObject
* obj1
= 0 ;
15862 char *kwnames
[] = {
15863 (char *) "self",(char *) "str", NULL
15866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
15867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15870 arg2
= wxString_in_helper(obj1
);
15871 if (arg2
== NULL
) SWIG_fail
;
15875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15876 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
15878 wxPyEndAllowThreads(__tstate
);
15879 if (PyErr_Occurred()) SWIG_fail
;
15883 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15885 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15902 static PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15903 PyObject
*resultobj
;
15904 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15906 PyObject
* obj0
= 0 ;
15907 char *kwnames
[] = {
15908 (char *) "self", NULL
15911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetAppName",kwnames
,&obj0
)) goto fail
;
15912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15916 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
15918 wxPyEndAllowThreads(__tstate
);
15919 if (PyErr_Occurred()) SWIG_fail
;
15923 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15925 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15934 static PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15935 PyObject
*resultobj
;
15936 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15938 PyObject
* obj0
= 0 ;
15939 char *kwnames
[] = {
15940 (char *) "self", NULL
15943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetVendorName",kwnames
,&obj0
)) goto fail
;
15944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15948 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
15950 wxPyEndAllowThreads(__tstate
);
15951 if (PyErr_Occurred()) SWIG_fail
;
15955 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15957 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15966 static PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15967 PyObject
*resultobj
;
15968 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15969 wxString
*arg2
= 0 ;
15970 bool temp2
= False
;
15971 PyObject
* obj0
= 0 ;
15972 PyObject
* obj1
= 0 ;
15973 char *kwnames
[] = {
15974 (char *) "self",(char *) "appName", NULL
15977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
15978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15981 arg2
= wxString_in_helper(obj1
);
15982 if (arg2
== NULL
) SWIG_fail
;
15986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15987 (arg1
)->SetAppName((wxString
const &)*arg2
);
15989 wxPyEndAllowThreads(__tstate
);
15990 if (PyErr_Occurred()) SWIG_fail
;
15992 Py_INCREF(Py_None
); resultobj
= Py_None
;
16007 static PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16008 PyObject
*resultobj
;
16009 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16010 wxString
*arg2
= 0 ;
16011 bool temp2
= False
;
16012 PyObject
* obj0
= 0 ;
16013 PyObject
* obj1
= 0 ;
16014 char *kwnames
[] = {
16015 (char *) "self",(char *) "vendorName", NULL
16018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
16019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16022 arg2
= wxString_in_helper(obj1
);
16023 if (arg2
== NULL
) SWIG_fail
;
16027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16028 (arg1
)->SetVendorName((wxString
const &)*arg2
);
16030 wxPyEndAllowThreads(__tstate
);
16031 if (PyErr_Occurred()) SWIG_fail
;
16033 Py_INCREF(Py_None
); resultobj
= Py_None
;
16048 static PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16049 PyObject
*resultobj
;
16050 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16052 PyObject
* obj0
= 0 ;
16053 PyObject
* obj1
= 0 ;
16054 char *kwnames
[] = {
16055 (char *) "self",(char *) "style", NULL
16058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
16059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16061 arg2
= (long) SWIG_AsLong(obj1
);
16062 if (PyErr_Occurred()) SWIG_fail
;
16064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16065 (arg1
)->SetStyle(arg2
);
16067 wxPyEndAllowThreads(__tstate
);
16068 if (PyErr_Occurred()) SWIG_fail
;
16070 Py_INCREF(Py_None
); resultobj
= Py_None
;
16077 static PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16078 PyObject
*resultobj
;
16079 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16081 PyObject
* obj0
= 0 ;
16082 char *kwnames
[] = {
16083 (char *) "self", NULL
16086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetStyle",kwnames
,&obj0
)) goto fail
;
16087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16091 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
16093 wxPyEndAllowThreads(__tstate
);
16094 if (PyErr_Occurred()) SWIG_fail
;
16096 resultobj
= SWIG_FromLong((long)result
);
16103 static PyObject
* ConfigBase_swigregister(PyObject
*self
, PyObject
*args
) {
16105 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16106 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase
, obj
);
16108 return Py_BuildValue((char *)"");
16110 static PyObject
*_wrap_new_Config(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16111 PyObject
*resultobj
;
16112 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16113 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16114 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16115 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16116 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16117 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16118 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16119 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16120 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
16122 bool temp1
= False
;
16123 bool temp2
= False
;
16124 bool temp3
= False
;
16125 bool temp4
= False
;
16126 PyObject
* obj0
= 0 ;
16127 PyObject
* obj1
= 0 ;
16128 PyObject
* obj2
= 0 ;
16129 PyObject
* obj3
= 0 ;
16130 PyObject
* obj4
= 0 ;
16131 char *kwnames
[] = {
16132 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16138 arg1
= wxString_in_helper(obj0
);
16139 if (arg1
== NULL
) SWIG_fail
;
16145 arg2
= wxString_in_helper(obj1
);
16146 if (arg2
== NULL
) SWIG_fail
;
16152 arg3
= wxString_in_helper(obj2
);
16153 if (arg3
== NULL
) SWIG_fail
;
16159 arg4
= wxString_in_helper(obj3
);
16160 if (arg4
== NULL
) SWIG_fail
;
16165 arg5
= (long) SWIG_AsLong(obj4
);
16166 if (PyErr_Occurred()) SWIG_fail
;
16169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16170 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
16172 wxPyEndAllowThreads(__tstate
);
16173 if (PyErr_Occurred()) SWIG_fail
;
16175 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfig
, 1);
16214 static PyObject
*_wrap_delete_Config(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16215 PyObject
*resultobj
;
16216 wxConfig
*arg1
= (wxConfig
*) 0 ;
16217 PyObject
* obj0
= 0 ;
16218 char *kwnames
[] = {
16219 (char *) "self", NULL
16222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Config",kwnames
,&obj0
)) goto fail
;
16223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfig
,
16224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16229 wxPyEndAllowThreads(__tstate
);
16230 if (PyErr_Occurred()) SWIG_fail
;
16232 Py_INCREF(Py_None
); resultobj
= Py_None
;
16239 static PyObject
* Config_swigregister(PyObject
*self
, PyObject
*args
) {
16241 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16242 SWIG_TypeClientData(SWIGTYPE_p_wxConfig
, obj
);
16244 return Py_BuildValue((char *)"");
16246 static PyObject
*_wrap_new_FileConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16247 PyObject
*resultobj
;
16248 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16249 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16250 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16251 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16252 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16253 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16254 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16255 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16256 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
16257 wxFileConfig
*result
;
16258 bool temp1
= False
;
16259 bool temp2
= False
;
16260 bool temp3
= False
;
16261 bool temp4
= False
;
16262 PyObject
* obj0
= 0 ;
16263 PyObject
* obj1
= 0 ;
16264 PyObject
* obj2
= 0 ;
16265 PyObject
* obj3
= 0 ;
16266 PyObject
* obj4
= 0 ;
16267 char *kwnames
[] = {
16268 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16274 arg1
= wxString_in_helper(obj0
);
16275 if (arg1
== NULL
) SWIG_fail
;
16281 arg2
= wxString_in_helper(obj1
);
16282 if (arg2
== NULL
) SWIG_fail
;
16288 arg3
= wxString_in_helper(obj2
);
16289 if (arg3
== NULL
) SWIG_fail
;
16295 arg4
= wxString_in_helper(obj3
);
16296 if (arg4
== NULL
) SWIG_fail
;
16301 arg5
= (long) SWIG_AsLong(obj4
);
16302 if (PyErr_Occurred()) SWIG_fail
;
16305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16306 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
16308 wxPyEndAllowThreads(__tstate
);
16309 if (PyErr_Occurred()) SWIG_fail
;
16311 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileConfig
, 1);
16350 static PyObject
*_wrap_delete_FileConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16351 PyObject
*resultobj
;
16352 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
16353 PyObject
* obj0
= 0 ;
16354 char *kwnames
[] = {
16355 (char *) "self", NULL
16358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileConfig",kwnames
,&obj0
)) goto fail
;
16359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileConfig
,
16360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16365 wxPyEndAllowThreads(__tstate
);
16366 if (PyErr_Occurred()) SWIG_fail
;
16368 Py_INCREF(Py_None
); resultobj
= Py_None
;
16375 static PyObject
* FileConfig_swigregister(PyObject
*self
, PyObject
*args
) {
16377 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16378 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig
, obj
);
16380 return Py_BuildValue((char *)"");
16382 static PyObject
*_wrap_new_ConfigPathChanger(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16383 PyObject
*resultobj
;
16384 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16385 wxString
*arg2
= 0 ;
16386 wxConfigPathChanger
*result
;
16387 bool temp2
= False
;
16388 PyObject
* obj0
= 0 ;
16389 PyObject
* obj1
= 0 ;
16390 char *kwnames
[] = {
16391 (char *) "config",(char *) "entry", NULL
16394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) goto fail
;
16395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16398 arg2
= wxString_in_helper(obj1
);
16399 if (arg2
== NULL
) SWIG_fail
;
16403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16404 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
16406 wxPyEndAllowThreads(__tstate
);
16407 if (PyErr_Occurred()) SWIG_fail
;
16409 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigPathChanger
, 1);
16424 static PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16425 PyObject
*resultobj
;
16426 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
16427 PyObject
* obj0
= 0 ;
16428 char *kwnames
[] = {
16429 (char *) "self", NULL
16432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigPathChanger",kwnames
,&obj0
)) goto fail
;
16433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigPathChanger
,
16434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16439 wxPyEndAllowThreads(__tstate
);
16440 if (PyErr_Occurred()) SWIG_fail
;
16442 Py_INCREF(Py_None
); resultobj
= Py_None
;
16449 static PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16450 PyObject
*resultobj
;
16451 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
16453 PyObject
* obj0
= 0 ;
16454 char *kwnames
[] = {
16455 (char *) "self", NULL
16458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigPathChanger_Name",kwnames
,&obj0
)) goto fail
;
16459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigPathChanger
,
16460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16464 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
16465 result
= (wxString
*) &_result_ref
;
16468 wxPyEndAllowThreads(__tstate
);
16469 if (PyErr_Occurred()) SWIG_fail
;
16473 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16475 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16484 static PyObject
* ConfigPathChanger_swigregister(PyObject
*self
, PyObject
*args
) {
16486 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16487 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger
, obj
);
16489 return Py_BuildValue((char *)"");
16491 static PyObject
*_wrap_ExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16492 PyObject
*resultobj
;
16493 wxString
*arg1
= 0 ;
16495 bool temp1
= False
;
16496 PyObject
* obj0
= 0 ;
16497 char *kwnames
[] = {
16498 (char *) "sz", NULL
16501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) goto fail
;
16503 arg1
= wxString_in_helper(obj0
);
16504 if (arg1
== NULL
) SWIG_fail
;
16508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16509 result
= wxExpandEnvVars((wxString
const &)*arg1
);
16511 wxPyEndAllowThreads(__tstate
);
16512 if (PyErr_Occurred()) SWIG_fail
;
16516 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16518 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16535 static int _wrap_DateFormatStr_set(PyObject
*_val
) {
16536 PyErr_SetString(PyExc_TypeError
,"Variable DateFormatStr is read-only.");
16541 static PyObject
*_wrap_DateFormatStr_get() {
16546 pyobj
= PyUnicode_FromWideChar((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
16548 pyobj
= PyString_FromStringAndSize((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
16555 static int _wrap_TimeSpanFormatStr_set(PyObject
*_val
) {
16556 PyErr_SetString(PyExc_TypeError
,"Variable TimeSpanFormatStr is read-only.");
16561 static PyObject
*_wrap_TimeSpanFormatStr_get() {
16566 pyobj
= PyUnicode_FromWideChar((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
16568 pyobj
= PyString_FromStringAndSize((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
16575 static PyObject
*_wrap_DateTime_SetCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16576 PyObject
*resultobj
;
16578 PyObject
* obj0
= 0 ;
16579 char *kwnames
[] = {
16580 (char *) "country", NULL
16583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) goto fail
;
16584 arg1
= (wxDateTime::Country
) SWIG_AsInt(obj0
);
16585 if (PyErr_Occurred()) SWIG_fail
;
16587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16588 wxDateTime::SetCountry((wxDateTime::Country
)arg1
);
16590 wxPyEndAllowThreads(__tstate
);
16591 if (PyErr_Occurred()) SWIG_fail
;
16593 Py_INCREF(Py_None
); resultobj
= Py_None
;
16600 static PyObject
*_wrap_DateTime_GetCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16601 PyObject
*resultobj
;
16603 char *kwnames
[] = {
16607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetCountry",kwnames
)) goto fail
;
16609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16610 result
= (int)wxDateTime::GetCountry();
16612 wxPyEndAllowThreads(__tstate
);
16613 if (PyErr_Occurred()) SWIG_fail
;
16615 resultobj
= SWIG_FromInt((int)result
);
16622 static PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16623 PyObject
*resultobj
;
16624 int arg1
= (int) wxDateTime::Country_Default
;
16626 PyObject
* obj0
= 0 ;
16627 char *kwnames
[] = {
16628 (char *) "country", NULL
16631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) goto fail
;
16633 arg1
= (wxDateTime::Country
) SWIG_AsInt(obj0
);
16634 if (PyErr_Occurred()) SWIG_fail
;
16637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16638 result
= (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country
)arg1
);
16640 wxPyEndAllowThreads(__tstate
);
16641 if (PyErr_Occurred()) SWIG_fail
;
16644 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16652 static PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16653 PyObject
*resultobj
;
16654 int arg1
= (int) wxDateTime::Gregorian
;
16656 PyObject
* obj0
= 0 ;
16657 char *kwnames
[] = {
16658 (char *) "cal", NULL
16661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) goto fail
;
16663 arg1
= (wxDateTime::Calendar
) SWIG_AsInt(obj0
);
16664 if (PyErr_Occurred()) SWIG_fail
;
16667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16668 result
= (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar
)arg1
);
16670 wxPyEndAllowThreads(__tstate
);
16671 if (PyErr_Occurred()) SWIG_fail
;
16673 resultobj
= SWIG_FromInt((int)result
);
16680 static PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16681 PyObject
*resultobj
;
16684 PyObject
* obj0
= 0 ;
16685 char *kwnames
[] = {
16686 (char *) "year", NULL
16689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) goto fail
;
16690 arg1
= (int) SWIG_AsInt(obj0
);
16691 if (PyErr_Occurred()) SWIG_fail
;
16693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16694 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
16696 wxPyEndAllowThreads(__tstate
);
16697 if (PyErr_Occurred()) SWIG_fail
;
16699 resultobj
= SWIG_FromInt((int)result
);
16706 static PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16707 PyObject
*resultobj
;
16708 int arg1
= (int) wxDateTime::Gregorian
;
16710 PyObject
* obj0
= 0 ;
16711 char *kwnames
[] = {
16712 (char *) "cal", NULL
16715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",kwnames
,&obj0
)) goto fail
;
16717 arg1
= (wxDateTime::Calendar
) SWIG_AsInt(obj0
);
16718 if (PyErr_Occurred()) SWIG_fail
;
16721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16722 result
= (int)wxDateTime::GetCurrentMonth((wxDateTime::Calendar
)arg1
);
16724 wxPyEndAllowThreads(__tstate
);
16725 if (PyErr_Occurred()) SWIG_fail
;
16727 resultobj
= SWIG_FromInt((int)result
);
16734 static PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16735 PyObject
*resultobj
;
16736 int arg1
= (int) wxDateTime::Inv_Year
;
16737 int arg2
= (int) wxDateTime::Gregorian
;
16739 PyObject
* obj0
= 0 ;
16740 PyObject
* obj1
= 0 ;
16741 char *kwnames
[] = {
16742 (char *) "year",(char *) "cal", NULL
16745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) goto fail
;
16747 arg1
= (int) SWIG_AsInt(obj0
);
16748 if (PyErr_Occurred()) SWIG_fail
;
16751 arg2
= (wxDateTime::Calendar
) SWIG_AsInt(obj1
);
16752 if (PyErr_Occurred()) SWIG_fail
;
16755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16756 result
= (bool)wxDateTime::IsLeapYear(arg1
,(wxDateTime::Calendar
)arg2
);
16758 wxPyEndAllowThreads(__tstate
);
16759 if (PyErr_Occurred()) SWIG_fail
;
16762 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16770 static PyObject
*_wrap_DateTime_GetCentury(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16771 PyObject
*resultobj
;
16772 int arg1
= (int) wxDateTime::Inv_Year
;
16774 PyObject
* obj0
= 0 ;
16775 char *kwnames
[] = {
16776 (char *) "year", NULL
16779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) goto fail
;
16781 arg1
= (int) SWIG_AsInt(obj0
);
16782 if (PyErr_Occurred()) SWIG_fail
;
16785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16786 result
= (int)wxDateTime::GetCentury(arg1
);
16788 wxPyEndAllowThreads(__tstate
);
16789 if (PyErr_Occurred()) SWIG_fail
;
16791 resultobj
= SWIG_FromInt((int)result
);
16798 static PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16799 PyObject
*resultobj
;
16801 int arg2
= (int) wxDateTime::Gregorian
;
16803 PyObject
* obj0
= 0 ;
16804 PyObject
* obj1
= 0 ;
16805 char *kwnames
[] = {
16806 (char *) "year",(char *) "cal", NULL
16809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) goto fail
;
16810 arg1
= (int) SWIG_AsInt(obj0
);
16811 if (PyErr_Occurred()) SWIG_fail
;
16813 arg2
= (wxDateTime::Calendar
) SWIG_AsInt(obj1
);
16814 if (PyErr_Occurred()) SWIG_fail
;
16817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16818 result
= (int)wxDateTime::GetNumberOfDays(arg1
,(wxDateTime::Calendar
)arg2
);
16820 wxPyEndAllowThreads(__tstate
);
16821 if (PyErr_Occurred()) SWIG_fail
;
16823 resultobj
= SWIG_FromInt((int)result
);
16830 static PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16831 PyObject
*resultobj
;
16833 int arg2
= (int) wxDateTime::Inv_Year
;
16834 int arg3
= (int) wxDateTime::Gregorian
;
16836 PyObject
* obj0
= 0 ;
16837 PyObject
* obj1
= 0 ;
16838 PyObject
* obj2
= 0 ;
16839 char *kwnames
[] = {
16840 (char *) "month",(char *) "year",(char *) "cal", NULL
16843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16844 arg1
= (wxDateTime::Month
) SWIG_AsInt(obj0
);
16845 if (PyErr_Occurred()) SWIG_fail
;
16847 arg2
= (int) SWIG_AsInt(obj1
);
16848 if (PyErr_Occurred()) SWIG_fail
;
16851 arg3
= (wxDateTime::Calendar
) SWIG_AsInt(obj2
);
16852 if (PyErr_Occurred()) SWIG_fail
;
16855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16856 result
= (int)wxDateTime::GetNumberOfDays((wxDateTime::Month
)arg1
,arg2
,(wxDateTime::Calendar
)arg3
);
16858 wxPyEndAllowThreads(__tstate
);
16859 if (PyErr_Occurred()) SWIG_fail
;
16861 resultobj
= SWIG_FromInt((int)result
);
16868 static PyObject
*_wrap_DateTime_GetMonthName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16869 PyObject
*resultobj
;
16871 int arg2
= (int) wxDateTime::Name_Full
;
16873 PyObject
* obj0
= 0 ;
16874 PyObject
* obj1
= 0 ;
16875 char *kwnames
[] = {
16876 (char *) "month",(char *) "flags", NULL
16879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) goto fail
;
16880 arg1
= (wxDateTime::Month
) SWIG_AsInt(obj0
);
16881 if (PyErr_Occurred()) SWIG_fail
;
16883 arg2
= (wxDateTime::NameFlags
) SWIG_AsInt(obj1
);
16884 if (PyErr_Occurred()) SWIG_fail
;
16887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16888 result
= wxDateTime::GetMonthName((wxDateTime::Month
)arg1
,(wxDateTime::NameFlags
)arg2
);
16890 wxPyEndAllowThreads(__tstate
);
16891 if (PyErr_Occurred()) SWIG_fail
;
16895 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16897 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16906 static PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16907 PyObject
*resultobj
;
16909 int arg2
= (int) wxDateTime::Name_Full
;
16911 PyObject
* obj0
= 0 ;
16912 PyObject
* obj1
= 0 ;
16913 char *kwnames
[] = {
16914 (char *) "weekday",(char *) "flags", NULL
16917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) goto fail
;
16918 arg1
= (wxDateTime::WeekDay
) SWIG_AsInt(obj0
);
16919 if (PyErr_Occurred()) SWIG_fail
;
16921 arg2
= (wxDateTime::NameFlags
) SWIG_AsInt(obj1
);
16922 if (PyErr_Occurred()) SWIG_fail
;
16925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16926 result
= wxDateTime::GetWeekDayName((wxDateTime::WeekDay
)arg1
,(wxDateTime::NameFlags
)arg2
);
16928 wxPyEndAllowThreads(__tstate
);
16929 if (PyErr_Occurred()) SWIG_fail
;
16933 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16935 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16944 static PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16945 PyObject
*resultobj
;
16946 wxString
*arg1
= (wxString
*) 0 ;
16947 wxString
*arg2
= (wxString
*) 0 ;
16948 bool temp1
= False
;
16949 bool temp2
= False
;
16950 PyObject
* obj0
= 0 ;
16951 PyObject
* obj1
= 0 ;
16952 char *kwnames
[] = {
16953 (char *) "OUTPUT",(char *) "OUTPUT", NULL
16956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetAmPmStrings",kwnames
,&obj0
,&obj1
)) goto fail
;
16958 arg1
= wxString_in_helper(obj0
);
16959 if (arg1
== NULL
) SWIG_fail
;
16963 arg2
= wxString_in_helper(obj1
);
16964 if (arg2
== NULL
) SWIG_fail
;
16968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16969 wxDateTime::GetAmPmStrings(arg1
,arg2
);
16971 wxPyEndAllowThreads(__tstate
);
16972 if (PyErr_Occurred()) SWIG_fail
;
16974 Py_INCREF(Py_None
); resultobj
= Py_None
;
16997 static PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16998 PyObject
*resultobj
;
16999 int arg1
= (int) wxDateTime::Inv_Year
;
17000 int arg2
= (int) wxDateTime::Country_Default
;
17002 PyObject
* obj0
= 0 ;
17003 PyObject
* obj1
= 0 ;
17004 char *kwnames
[] = {
17005 (char *) "year",(char *) "country", NULL
17008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) goto fail
;
17010 arg1
= (int) SWIG_AsInt(obj0
);
17011 if (PyErr_Occurred()) SWIG_fail
;
17014 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
17015 if (PyErr_Occurred()) SWIG_fail
;
17018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17019 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,(wxDateTime::Country
)arg2
);
17021 wxPyEndAllowThreads(__tstate
);
17022 if (PyErr_Occurred()) SWIG_fail
;
17025 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17033 static PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17034 PyObject
*resultobj
;
17035 int arg1
= (int) wxDateTime::Inv_Year
;
17036 int arg2
= (int) wxDateTime::Country_Default
;
17038 PyObject
* obj0
= 0 ;
17039 PyObject
* obj1
= 0 ;
17040 char *kwnames
[] = {
17041 (char *) "year",(char *) "country", NULL
17044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetBeginDST",kwnames
,&obj0
,&obj1
)) goto fail
;
17046 arg1
= (int) SWIG_AsInt(obj0
);
17047 if (PyErr_Occurred()) SWIG_fail
;
17050 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
17051 if (PyErr_Occurred()) SWIG_fail
;
17054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17055 result
= wxDateTime::GetBeginDST(arg1
,(wxDateTime::Country
)arg2
);
17057 wxPyEndAllowThreads(__tstate
);
17058 if (PyErr_Occurred()) SWIG_fail
;
17061 wxDateTime
* resultptr
;
17062 resultptr
= new wxDateTime((wxDateTime
&) result
);
17063 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17071 static PyObject
*_wrap_DateTime_GetEndDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17072 PyObject
*resultobj
;
17073 int arg1
= (int) wxDateTime::Inv_Year
;
17074 int arg2
= (int) wxDateTime::Country_Default
;
17076 PyObject
* obj0
= 0 ;
17077 PyObject
* obj1
= 0 ;
17078 char *kwnames
[] = {
17079 (char *) "year",(char *) "country", NULL
17082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) goto fail
;
17084 arg1
= (int) SWIG_AsInt(obj0
);
17085 if (PyErr_Occurred()) SWIG_fail
;
17088 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
17089 if (PyErr_Occurred()) SWIG_fail
;
17092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17093 result
= wxDateTime::GetEndDST(arg1
,(wxDateTime::Country
)arg2
);
17095 wxPyEndAllowThreads(__tstate
);
17096 if (PyErr_Occurred()) SWIG_fail
;
17099 wxDateTime
* resultptr
;
17100 resultptr
= new wxDateTime((wxDateTime
&) result
);
17101 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17109 static PyObject
*_wrap_DateTime_Now(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17110 PyObject
*resultobj
;
17112 char *kwnames
[] = {
17116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Now",kwnames
)) goto fail
;
17118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17119 result
= wxDateTime::Now();
17121 wxPyEndAllowThreads(__tstate
);
17122 if (PyErr_Occurred()) SWIG_fail
;
17125 wxDateTime
* resultptr
;
17126 resultptr
= new wxDateTime((wxDateTime
&) result
);
17127 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17135 static PyObject
*_wrap_DateTime_UNow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17136 PyObject
*resultobj
;
17138 char *kwnames
[] = {
17142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_UNow",kwnames
)) goto fail
;
17144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17145 result
= wxDateTime::UNow();
17147 wxPyEndAllowThreads(__tstate
);
17148 if (PyErr_Occurred()) SWIG_fail
;
17151 wxDateTime
* resultptr
;
17152 resultptr
= new wxDateTime((wxDateTime
&) result
);
17153 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17161 static PyObject
*_wrap_DateTime_Today(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17162 PyObject
*resultobj
;
17164 char *kwnames
[] = {
17168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Today",kwnames
)) goto fail
;
17170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17171 result
= wxDateTime::Today();
17173 wxPyEndAllowThreads(__tstate
);
17174 if (PyErr_Occurred()) SWIG_fail
;
17177 wxDateTime
* resultptr
;
17178 resultptr
= new wxDateTime((wxDateTime
&) result
);
17179 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17187 static PyObject
*_wrap_new_DateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17188 PyObject
*resultobj
;
17189 wxDateTime
*result
;
17190 char *kwnames
[] = {
17194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DateTime",kwnames
)) goto fail
;
17196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17197 result
= (wxDateTime
*)new wxDateTime();
17199 wxPyEndAllowThreads(__tstate
);
17200 if (PyErr_Occurred()) SWIG_fail
;
17202 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17209 static PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17210 PyObject
*resultobj
;
17212 wxDateTime
*result
;
17213 PyObject
* obj0
= 0 ;
17214 char *kwnames
[] = {
17215 (char *) "timet", NULL
17218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) goto fail
;
17219 arg1
= (time_t) SWIG_AsUnsignedInt(obj0
);
17220 if (PyErr_Occurred()) SWIG_fail
;
17222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17223 result
= (wxDateTime
*)new wxDateTime(arg1
);
17225 wxPyEndAllowThreads(__tstate
);
17226 if (PyErr_Occurred()) SWIG_fail
;
17228 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17235 static PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17236 PyObject
*resultobj
;
17238 wxDateTime
*result
;
17239 PyObject
* obj0
= 0 ;
17240 char *kwnames
[] = {
17241 (char *) "jdn", NULL
17244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) goto fail
;
17245 arg1
= (double) SWIG_AsDouble(obj0
);
17246 if (PyErr_Occurred()) SWIG_fail
;
17248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17249 result
= (wxDateTime
*)new wxDateTime(arg1
);
17251 wxPyEndAllowThreads(__tstate
);
17252 if (PyErr_Occurred()) SWIG_fail
;
17254 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17261 static PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17262 PyObject
*resultobj
;
17264 int arg2
= (int) 0 ;
17265 int arg3
= (int) 0 ;
17266 int arg4
= (int) 0 ;
17267 wxDateTime
*result
;
17268 PyObject
* obj0
= 0 ;
17269 PyObject
* obj1
= 0 ;
17270 PyObject
* obj2
= 0 ;
17271 PyObject
* obj3
= 0 ;
17272 char *kwnames
[] = {
17273 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17277 arg1
= (int) SWIG_AsInt(obj0
);
17278 if (PyErr_Occurred()) SWIG_fail
;
17280 arg2
= (int) SWIG_AsInt(obj1
);
17281 if (PyErr_Occurred()) SWIG_fail
;
17284 arg3
= (int) SWIG_AsInt(obj2
);
17285 if (PyErr_Occurred()) SWIG_fail
;
17288 arg4
= (int) SWIG_AsInt(obj3
);
17289 if (PyErr_Occurred()) SWIG_fail
;
17292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17293 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
17295 wxPyEndAllowThreads(__tstate
);
17296 if (PyErr_Occurred()) SWIG_fail
;
17298 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17305 static PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17306 PyObject
*resultobj
;
17308 int arg2
= (int) wxDateTime::Inv_Month
;
17309 int arg3
= (int) wxDateTime::Inv_Year
;
17310 int arg4
= (int) 0 ;
17311 int arg5
= (int) 0 ;
17312 int arg6
= (int) 0 ;
17313 int arg7
= (int) 0 ;
17314 wxDateTime
*result
;
17315 PyObject
* obj0
= 0 ;
17316 PyObject
* obj1
= 0 ;
17317 PyObject
* obj2
= 0 ;
17318 PyObject
* obj3
= 0 ;
17319 PyObject
* obj4
= 0 ;
17320 PyObject
* obj5
= 0 ;
17321 PyObject
* obj6
= 0 ;
17322 char *kwnames
[] = {
17323 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17327 arg1
= (int) SWIG_AsInt(obj0
);
17328 if (PyErr_Occurred()) SWIG_fail
;
17330 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
17331 if (PyErr_Occurred()) SWIG_fail
;
17334 arg3
= (int) SWIG_AsInt(obj2
);
17335 if (PyErr_Occurred()) SWIG_fail
;
17338 arg4
= (int) SWIG_AsInt(obj3
);
17339 if (PyErr_Occurred()) SWIG_fail
;
17342 arg5
= (int) SWIG_AsInt(obj4
);
17343 if (PyErr_Occurred()) SWIG_fail
;
17346 arg6
= (int) SWIG_AsInt(obj5
);
17347 if (PyErr_Occurred()) SWIG_fail
;
17350 arg7
= (int) SWIG_AsInt(obj6
);
17351 if (PyErr_Occurred()) SWIG_fail
;
17354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17355 result
= (wxDateTime
*)new wxDateTime(arg1
,(wxDateTime::Month
)arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
17357 wxPyEndAllowThreads(__tstate
);
17358 if (PyErr_Occurred()) SWIG_fail
;
17360 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17367 static PyObject
*_wrap_delete_DateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17368 PyObject
*resultobj
;
17369 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17370 PyObject
* obj0
= 0 ;
17371 char *kwnames
[] = {
17372 (char *) "self", NULL
17375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateTime",kwnames
,&obj0
)) goto fail
;
17376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17382 wxPyEndAllowThreads(__tstate
);
17383 if (PyErr_Occurred()) SWIG_fail
;
17385 Py_INCREF(Py_None
); resultobj
= Py_None
;
17392 static PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17393 PyObject
*resultobj
;
17394 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17395 wxDateTime
*result
;
17396 PyObject
* obj0
= 0 ;
17397 char *kwnames
[] = {
17398 (char *) "self", NULL
17401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetToCurrent",kwnames
,&obj0
)) goto fail
;
17402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17407 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
17408 result
= (wxDateTime
*) &_result_ref
;
17411 wxPyEndAllowThreads(__tstate
);
17412 if (PyErr_Occurred()) SWIG_fail
;
17414 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17421 static PyObject
*_wrap_DateTime_SetTimeT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17422 PyObject
*resultobj
;
17423 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17425 wxDateTime
*result
;
17426 PyObject
* obj0
= 0 ;
17427 PyObject
* obj1
= 0 ;
17428 char *kwnames
[] = {
17429 (char *) "self",(char *) "timet", NULL
17432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) goto fail
;
17433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17435 arg2
= (time_t) SWIG_AsUnsignedInt(obj1
);
17436 if (PyErr_Occurred()) SWIG_fail
;
17438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17440 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
17441 result
= (wxDateTime
*) &_result_ref
;
17444 wxPyEndAllowThreads(__tstate
);
17445 if (PyErr_Occurred()) SWIG_fail
;
17447 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17454 static PyObject
*_wrap_DateTime_SetJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17455 PyObject
*resultobj
;
17456 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17458 wxDateTime
*result
;
17459 PyObject
* obj0
= 0 ;
17460 PyObject
* obj1
= 0 ;
17461 char *kwnames
[] = {
17462 (char *) "self",(char *) "jdn", NULL
17465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) goto fail
;
17466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17468 arg2
= (double) SWIG_AsDouble(obj1
);
17469 if (PyErr_Occurred()) SWIG_fail
;
17471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17473 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
17474 result
= (wxDateTime
*) &_result_ref
;
17477 wxPyEndAllowThreads(__tstate
);
17478 if (PyErr_Occurred()) SWIG_fail
;
17480 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17487 static PyObject
*_wrap_DateTime_SetHMS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17488 PyObject
*resultobj
;
17489 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17491 int arg3
= (int) 0 ;
17492 int arg4
= (int) 0 ;
17493 int arg5
= (int) 0 ;
17494 wxDateTime
*result
;
17495 PyObject
* obj0
= 0 ;
17496 PyObject
* obj1
= 0 ;
17497 PyObject
* obj2
= 0 ;
17498 PyObject
* obj3
= 0 ;
17499 PyObject
* obj4
= 0 ;
17500 char *kwnames
[] = {
17501 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17507 arg2
= (int) SWIG_AsInt(obj1
);
17508 if (PyErr_Occurred()) SWIG_fail
;
17510 arg3
= (int) SWIG_AsInt(obj2
);
17511 if (PyErr_Occurred()) SWIG_fail
;
17514 arg4
= (int) SWIG_AsInt(obj3
);
17515 if (PyErr_Occurred()) SWIG_fail
;
17518 arg5
= (int) SWIG_AsInt(obj4
);
17519 if (PyErr_Occurred()) SWIG_fail
;
17522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17524 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
17525 result
= (wxDateTime
*) &_result_ref
;
17528 wxPyEndAllowThreads(__tstate
);
17529 if (PyErr_Occurred()) SWIG_fail
;
17531 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17538 static PyObject
*_wrap_DateTime_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17539 PyObject
*resultobj
;
17540 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17542 int arg3
= (int) wxDateTime::Inv_Month
;
17543 int arg4
= (int) wxDateTime::Inv_Year
;
17544 int arg5
= (int) 0 ;
17545 int arg6
= (int) 0 ;
17546 int arg7
= (int) 0 ;
17547 int arg8
= (int) 0 ;
17548 wxDateTime
*result
;
17549 PyObject
* obj0
= 0 ;
17550 PyObject
* obj1
= 0 ;
17551 PyObject
* obj2
= 0 ;
17552 PyObject
* obj3
= 0 ;
17553 PyObject
* obj4
= 0 ;
17554 PyObject
* obj5
= 0 ;
17555 PyObject
* obj6
= 0 ;
17556 PyObject
* obj7
= 0 ;
17557 char *kwnames
[] = {
17558 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
17562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17564 arg2
= (int) SWIG_AsInt(obj1
);
17565 if (PyErr_Occurred()) SWIG_fail
;
17567 arg3
= (wxDateTime::Month
) SWIG_AsInt(obj2
);
17568 if (PyErr_Occurred()) SWIG_fail
;
17571 arg4
= (int) SWIG_AsInt(obj3
);
17572 if (PyErr_Occurred()) SWIG_fail
;
17575 arg5
= (int) SWIG_AsInt(obj4
);
17576 if (PyErr_Occurred()) SWIG_fail
;
17579 arg6
= (int) SWIG_AsInt(obj5
);
17580 if (PyErr_Occurred()) SWIG_fail
;
17583 arg7
= (int) SWIG_AsInt(obj6
);
17584 if (PyErr_Occurred()) SWIG_fail
;
17587 arg8
= (int) SWIG_AsInt(obj7
);
17588 if (PyErr_Occurred()) SWIG_fail
;
17591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17593 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,(wxDateTime::Month
)arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
17594 result
= (wxDateTime
*) &_result_ref
;
17597 wxPyEndAllowThreads(__tstate
);
17598 if (PyErr_Occurred()) SWIG_fail
;
17600 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17607 static PyObject
*_wrap_DateTime_ResetTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17608 PyObject
*resultobj
;
17609 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17610 wxDateTime
*result
;
17611 PyObject
* obj0
= 0 ;
17612 char *kwnames
[] = {
17613 (char *) "self", NULL
17616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ResetTime",kwnames
,&obj0
)) goto fail
;
17617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17622 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
17623 result
= (wxDateTime
*) &_result_ref
;
17626 wxPyEndAllowThreads(__tstate
);
17627 if (PyErr_Occurred()) SWIG_fail
;
17629 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17636 static PyObject
*_wrap_DateTime_SetYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17637 PyObject
*resultobj
;
17638 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17640 wxDateTime
*result
;
17641 PyObject
* obj0
= 0 ;
17642 PyObject
* obj1
= 0 ;
17643 char *kwnames
[] = {
17644 (char *) "self",(char *) "year", NULL
17647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
17648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17650 arg2
= (int) SWIG_AsInt(obj1
);
17651 if (PyErr_Occurred()) SWIG_fail
;
17653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17655 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
17656 result
= (wxDateTime
*) &_result_ref
;
17659 wxPyEndAllowThreads(__tstate
);
17660 if (PyErr_Occurred()) SWIG_fail
;
17662 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17669 static PyObject
*_wrap_DateTime_SetMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17670 PyObject
*resultobj
;
17671 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17673 wxDateTime
*result
;
17674 PyObject
* obj0
= 0 ;
17675 PyObject
* obj1
= 0 ;
17676 char *kwnames
[] = {
17677 (char *) "self",(char *) "month", NULL
17680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
17681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17683 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
17684 if (PyErr_Occurred()) SWIG_fail
;
17686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17688 wxDateTime
&_result_ref
= (arg1
)->SetMonth((wxDateTime::Month
)arg2
);
17689 result
= (wxDateTime
*) &_result_ref
;
17692 wxPyEndAllowThreads(__tstate
);
17693 if (PyErr_Occurred()) SWIG_fail
;
17695 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17702 static PyObject
*_wrap_DateTime_SetDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17703 PyObject
*resultobj
;
17704 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17706 wxDateTime
*result
;
17707 PyObject
* obj0
= 0 ;
17708 PyObject
* obj1
= 0 ;
17709 char *kwnames
[] = {
17710 (char *) "self",(char *) "day", NULL
17713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
17714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17716 arg2
= (int) SWIG_AsInt(obj1
);
17717 if (PyErr_Occurred()) SWIG_fail
;
17719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17721 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
17722 result
= (wxDateTime
*) &_result_ref
;
17725 wxPyEndAllowThreads(__tstate
);
17726 if (PyErr_Occurred()) SWIG_fail
;
17728 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17735 static PyObject
*_wrap_DateTime_SetHour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17736 PyObject
*resultobj
;
17737 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17739 wxDateTime
*result
;
17740 PyObject
* obj0
= 0 ;
17741 PyObject
* obj1
= 0 ;
17742 char *kwnames
[] = {
17743 (char *) "self",(char *) "hour", NULL
17746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
17747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17749 arg2
= (int) SWIG_AsInt(obj1
);
17750 if (PyErr_Occurred()) SWIG_fail
;
17752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17754 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
17755 result
= (wxDateTime
*) &_result_ref
;
17758 wxPyEndAllowThreads(__tstate
);
17759 if (PyErr_Occurred()) SWIG_fail
;
17761 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17768 static PyObject
*_wrap_DateTime_SetMinute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17769 PyObject
*resultobj
;
17770 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17772 wxDateTime
*result
;
17773 PyObject
* obj0
= 0 ;
17774 PyObject
* obj1
= 0 ;
17775 char *kwnames
[] = {
17776 (char *) "self",(char *) "minute", NULL
17779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
17780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17782 arg2
= (int) SWIG_AsInt(obj1
);
17783 if (PyErr_Occurred()) SWIG_fail
;
17785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17787 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
17788 result
= (wxDateTime
*) &_result_ref
;
17791 wxPyEndAllowThreads(__tstate
);
17792 if (PyErr_Occurred()) SWIG_fail
;
17794 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17801 static PyObject
*_wrap_DateTime_SetSecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17802 PyObject
*resultobj
;
17803 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17805 wxDateTime
*result
;
17806 PyObject
* obj0
= 0 ;
17807 PyObject
* obj1
= 0 ;
17808 char *kwnames
[] = {
17809 (char *) "self",(char *) "second", NULL
17812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
17813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17815 arg2
= (int) SWIG_AsInt(obj1
);
17816 if (PyErr_Occurred()) SWIG_fail
;
17818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17820 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
17821 result
= (wxDateTime
*) &_result_ref
;
17824 wxPyEndAllowThreads(__tstate
);
17825 if (PyErr_Occurred()) SWIG_fail
;
17827 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17834 static PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17835 PyObject
*resultobj
;
17836 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17838 wxDateTime
*result
;
17839 PyObject
* obj0
= 0 ;
17840 PyObject
* obj1
= 0 ;
17841 char *kwnames
[] = {
17842 (char *) "self",(char *) "millisecond", NULL
17845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
17846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17848 arg2
= (int) SWIG_AsInt(obj1
);
17849 if (PyErr_Occurred()) SWIG_fail
;
17851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17853 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
17854 result
= (wxDateTime
*) &_result_ref
;
17857 wxPyEndAllowThreads(__tstate
);
17858 if (PyErr_Occurred()) SWIG_fail
;
17860 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17867 static PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17868 PyObject
*resultobj
;
17869 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17871 int arg3
= (int) wxDateTime::Monday_First
;
17872 wxDateTime
*result
;
17873 PyObject
* obj0
= 0 ;
17874 PyObject
* obj1
= 0 ;
17875 PyObject
* obj2
= 0 ;
17876 char *kwnames
[] = {
17877 (char *) "self",(char *) "weekday",(char *) "flags", NULL
17880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17883 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
17884 if (PyErr_Occurred()) SWIG_fail
;
17886 arg3
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj2
);
17887 if (PyErr_Occurred()) SWIG_fail
;
17890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17892 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
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_GetWeekDayInSameWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17907 PyObject
*resultobj
;
17908 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17910 int arg3
= (int) wxDateTime::Monday_First
;
17912 PyObject
* obj0
= 0 ;
17913 PyObject
* obj1
= 0 ;
17914 PyObject
* obj2
= 0 ;
17915 char *kwnames
[] = {
17916 (char *) "self",(char *) "weekday",(char *) "flags", NULL
17919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17922 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
17923 if (PyErr_Occurred()) SWIG_fail
;
17925 arg3
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj2
);
17926 if (PyErr_Occurred()) SWIG_fail
;
17929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17930 result
= (arg1
)->GetWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
17932 wxPyEndAllowThreads(__tstate
);
17933 if (PyErr_Occurred()) SWIG_fail
;
17936 wxDateTime
* resultptr
;
17937 resultptr
= new wxDateTime((wxDateTime
&) result
);
17938 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17946 static PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17947 PyObject
*resultobj
;
17948 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17950 wxDateTime
*result
;
17951 PyObject
* obj0
= 0 ;
17952 PyObject
* obj1
= 0 ;
17953 char *kwnames
[] = {
17954 (char *) "self",(char *) "weekday", NULL
17957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
17958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17960 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
17961 if (PyErr_Occurred()) SWIG_fail
;
17963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17965 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay((wxDateTime::WeekDay
)arg2
);
17966 result
= (wxDateTime
*) &_result_ref
;
17969 wxPyEndAllowThreads(__tstate
);
17970 if (PyErr_Occurred()) SWIG_fail
;
17972 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17979 static PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17980 PyObject
*resultobj
;
17981 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17984 PyObject
* obj0
= 0 ;
17985 PyObject
* obj1
= 0 ;
17986 char *kwnames
[] = {
17987 (char *) "self",(char *) "weekday", NULL
17990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
17991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17993 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
17994 if (PyErr_Occurred()) SWIG_fail
;
17996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17997 result
= (arg1
)->GetNextWeekDay((wxDateTime::WeekDay
)arg2
);
17999 wxPyEndAllowThreads(__tstate
);
18000 if (PyErr_Occurred()) SWIG_fail
;
18003 wxDateTime
* resultptr
;
18004 resultptr
= new wxDateTime((wxDateTime
&) result
);
18005 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18013 static PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18014 PyObject
*resultobj
;
18015 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18017 wxDateTime
*result
;
18018 PyObject
* obj0
= 0 ;
18019 PyObject
* obj1
= 0 ;
18020 char *kwnames
[] = {
18021 (char *) "self",(char *) "weekday", NULL
18024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18027 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18028 if (PyErr_Occurred()) SWIG_fail
;
18030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18032 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay((wxDateTime::WeekDay
)arg2
);
18033 result
= (wxDateTime
*) &_result_ref
;
18036 wxPyEndAllowThreads(__tstate
);
18037 if (PyErr_Occurred()) SWIG_fail
;
18039 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18046 static PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18047 PyObject
*resultobj
;
18048 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18051 PyObject
* obj0
= 0 ;
18052 PyObject
* obj1
= 0 ;
18053 char *kwnames
[] = {
18054 (char *) "self",(char *) "weekday", NULL
18057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18060 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18061 if (PyErr_Occurred()) SWIG_fail
;
18063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18064 result
= (arg1
)->GetPrevWeekDay((wxDateTime::WeekDay
)arg2
);
18066 wxPyEndAllowThreads(__tstate
);
18067 if (PyErr_Occurred()) SWIG_fail
;
18070 wxDateTime
* resultptr
;
18071 resultptr
= new wxDateTime((wxDateTime
&) result
);
18072 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18080 static PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18081 PyObject
*resultobj
;
18082 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18084 int arg3
= (int) 1 ;
18085 int arg4
= (int) wxDateTime::Inv_Month
;
18086 int arg5
= (int) wxDateTime::Inv_Year
;
18088 PyObject
* obj0
= 0 ;
18089 PyObject
* obj1
= 0 ;
18090 PyObject
* obj2
= 0 ;
18091 PyObject
* obj3
= 0 ;
18092 PyObject
* obj4
= 0 ;
18093 char *kwnames
[] = {
18094 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
18097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18100 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18101 if (PyErr_Occurred()) SWIG_fail
;
18103 arg3
= (int) SWIG_AsInt(obj2
);
18104 if (PyErr_Occurred()) SWIG_fail
;
18107 arg4
= (wxDateTime::Month
) SWIG_AsInt(obj3
);
18108 if (PyErr_Occurred()) SWIG_fail
;
18111 arg5
= (int) SWIG_AsInt(obj4
);
18112 if (PyErr_Occurred()) SWIG_fail
;
18115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18116 result
= (bool)(arg1
)->SetToWeekDay((wxDateTime::WeekDay
)arg2
,arg3
,(wxDateTime::Month
)arg4
,arg5
);
18118 wxPyEndAllowThreads(__tstate
);
18119 if (PyErr_Occurred()) SWIG_fail
;
18122 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18130 static PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18131 PyObject
*resultobj
;
18132 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18134 int arg3
= (int) wxDateTime::Inv_Month
;
18135 int arg4
= (int) wxDateTime::Inv_Year
;
18137 PyObject
* obj0
= 0 ;
18138 PyObject
* obj1
= 0 ;
18139 PyObject
* obj2
= 0 ;
18140 PyObject
* obj3
= 0 ;
18141 char *kwnames
[] = {
18142 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18148 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18149 if (PyErr_Occurred()) SWIG_fail
;
18151 arg3
= (wxDateTime::Month
) SWIG_AsInt(obj2
);
18152 if (PyErr_Occurred()) SWIG_fail
;
18155 arg4
= (int) SWIG_AsInt(obj3
);
18156 if (PyErr_Occurred()) SWIG_fail
;
18159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18160 result
= (bool)(arg1
)->SetToLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
18162 wxPyEndAllowThreads(__tstate
);
18163 if (PyErr_Occurred()) SWIG_fail
;
18166 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18174 static PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18175 PyObject
*resultobj
;
18176 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18178 int arg3
= (int) wxDateTime::Inv_Month
;
18179 int arg4
= (int) wxDateTime::Inv_Year
;
18181 PyObject
* obj0
= 0 ;
18182 PyObject
* obj1
= 0 ;
18183 PyObject
* obj2
= 0 ;
18184 PyObject
* obj3
= 0 ;
18185 char *kwnames
[] = {
18186 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18192 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18193 if (PyErr_Occurred()) SWIG_fail
;
18195 arg3
= (wxDateTime::Month
) SWIG_AsInt(obj2
);
18196 if (PyErr_Occurred()) SWIG_fail
;
18199 arg4
= (int) SWIG_AsInt(obj3
);
18200 if (PyErr_Occurred()) SWIG_fail
;
18203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18204 result
= (arg1
)->GetLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
18206 wxPyEndAllowThreads(__tstate
);
18207 if (PyErr_Occurred()) SWIG_fail
;
18210 wxDateTime
* resultptr
;
18211 resultptr
= new wxDateTime((wxDateTime
&) result
);
18212 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18220 static PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18221 PyObject
*resultobj
;
18222 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18224 int arg3
= (int) wxDateTime::Mon
;
18225 int arg4
= (int) wxDateTime::Monday_First
;
18227 PyObject
* obj0
= 0 ;
18228 PyObject
* obj1
= 0 ;
18229 PyObject
* obj2
= 0 ;
18230 PyObject
* obj3
= 0 ;
18231 char *kwnames
[] = {
18232 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18238 arg2
= (int) SWIG_AsInt(obj1
);
18239 if (PyErr_Occurred()) SWIG_fail
;
18241 arg3
= (wxDateTime::WeekDay
) SWIG_AsInt(obj2
);
18242 if (PyErr_Occurred()) SWIG_fail
;
18245 arg4
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj3
);
18246 if (PyErr_Occurred()) SWIG_fail
;
18249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18250 result
= (bool)(arg1
)->SetToTheWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
18252 wxPyEndAllowThreads(__tstate
);
18253 if (PyErr_Occurred()) SWIG_fail
;
18256 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18264 static PyObject
*_wrap_DateTime_GetWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18265 PyObject
*resultobj
;
18266 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18268 int arg3
= (int) wxDateTime::Mon
;
18269 int arg4
= (int) wxDateTime::Monday_First
;
18271 PyObject
* obj0
= 0 ;
18272 PyObject
* obj1
= 0 ;
18273 PyObject
* obj2
= 0 ;
18274 PyObject
* obj3
= 0 ;
18275 char *kwnames
[] = {
18276 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18282 arg2
= (int) SWIG_AsInt(obj1
);
18283 if (PyErr_Occurred()) SWIG_fail
;
18285 arg3
= (wxDateTime::WeekDay
) SWIG_AsInt(obj2
);
18286 if (PyErr_Occurred()) SWIG_fail
;
18289 arg4
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj3
);
18290 if (PyErr_Occurred()) SWIG_fail
;
18293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18294 result
= (arg1
)->GetWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
18296 wxPyEndAllowThreads(__tstate
);
18297 if (PyErr_Occurred()) SWIG_fail
;
18300 wxDateTime
* resultptr
;
18301 resultptr
= new wxDateTime((wxDateTime
&) result
);
18302 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18310 static PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18311 PyObject
*resultobj
;
18312 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18313 int arg2
= (int) wxDateTime::Inv_Month
;
18314 int arg3
= (int) wxDateTime::Inv_Year
;
18315 wxDateTime
*result
;
18316 PyObject
* obj0
= 0 ;
18317 PyObject
* obj1
= 0 ;
18318 PyObject
* obj2
= 0 ;
18319 char *kwnames
[] = {
18320 (char *) "self",(char *) "month",(char *) "year", NULL
18323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18327 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
18328 if (PyErr_Occurred()) SWIG_fail
;
18331 arg3
= (int) SWIG_AsInt(obj2
);
18332 if (PyErr_Occurred()) SWIG_fail
;
18335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18337 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
18338 result
= (wxDateTime
*) &_result_ref
;
18341 wxPyEndAllowThreads(__tstate
);
18342 if (PyErr_Occurred()) SWIG_fail
;
18344 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18351 static PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18352 PyObject
*resultobj
;
18353 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18354 int arg2
= (int) wxDateTime::Inv_Month
;
18355 int arg3
= (int) wxDateTime::Inv_Year
;
18357 PyObject
* obj0
= 0 ;
18358 PyObject
* obj1
= 0 ;
18359 PyObject
* obj2
= 0 ;
18360 char *kwnames
[] = {
18361 (char *) "self",(char *) "month",(char *) "year", NULL
18364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18368 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
18369 if (PyErr_Occurred()) SWIG_fail
;
18372 arg3
= (int) SWIG_AsInt(obj2
);
18373 if (PyErr_Occurred()) SWIG_fail
;
18376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18377 result
= (arg1
)->GetLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
18379 wxPyEndAllowThreads(__tstate
);
18380 if (PyErr_Occurred()) SWIG_fail
;
18383 wxDateTime
* resultptr
;
18384 resultptr
= new wxDateTime((wxDateTime
&) result
);
18385 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18393 static PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18394 PyObject
*resultobj
;
18395 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18397 wxDateTime
*result
;
18398 PyObject
* obj0
= 0 ;
18399 PyObject
* obj1
= 0 ;
18400 char *kwnames
[] = {
18401 (char *) "self",(char *) "yday", NULL
18404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18407 arg2
= (int) SWIG_AsInt(obj1
);
18408 if (PyErr_Occurred()) SWIG_fail
;
18410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18412 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
18413 result
= (wxDateTime
*) &_result_ref
;
18416 wxPyEndAllowThreads(__tstate
);
18417 if (PyErr_Occurred()) SWIG_fail
;
18419 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18426 static PyObject
*_wrap_DateTime_GetYearDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18427 PyObject
*resultobj
;
18428 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18431 PyObject
* obj0
= 0 ;
18432 PyObject
* obj1
= 0 ;
18433 char *kwnames
[] = {
18434 (char *) "self",(char *) "yday", NULL
18437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18440 arg2
= (int) SWIG_AsInt(obj1
);
18441 if (PyErr_Occurred()) SWIG_fail
;
18443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18444 result
= (arg1
)->GetYearDay(arg2
);
18446 wxPyEndAllowThreads(__tstate
);
18447 if (PyErr_Occurred()) SWIG_fail
;
18450 wxDateTime
* resultptr
;
18451 resultptr
= new wxDateTime((wxDateTime
&) result
);
18452 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18460 static PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18461 PyObject
*resultobj
;
18462 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18464 PyObject
* obj0
= 0 ;
18465 char *kwnames
[] = {
18466 (char *) "self", NULL
18469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJulianDayNumber",kwnames
,&obj0
)) goto fail
;
18470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18474 result
= (double)(arg1
)->GetJulianDayNumber();
18476 wxPyEndAllowThreads(__tstate
);
18477 if (PyErr_Occurred()) SWIG_fail
;
18479 resultobj
= SWIG_FromDouble((double)result
);
18486 static PyObject
*_wrap_DateTime_GetJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18487 PyObject
*resultobj
;
18488 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18490 PyObject
* obj0
= 0 ;
18491 char *kwnames
[] = {
18492 (char *) "self", NULL
18495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJDN",kwnames
,&obj0
)) goto fail
;
18496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18500 result
= (double)(arg1
)->GetJDN();
18502 wxPyEndAllowThreads(__tstate
);
18503 if (PyErr_Occurred()) SWIG_fail
;
18505 resultobj
= SWIG_FromDouble((double)result
);
18512 static PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18513 PyObject
*resultobj
;
18514 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18516 PyObject
* obj0
= 0 ;
18517 char *kwnames
[] = {
18518 (char *) "self", NULL
18521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames
,&obj0
)) goto fail
;
18522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18526 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
18528 wxPyEndAllowThreads(__tstate
);
18529 if (PyErr_Occurred()) SWIG_fail
;
18531 resultobj
= SWIG_FromDouble((double)result
);
18538 static PyObject
*_wrap_DateTime_GetMJD(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18539 PyObject
*resultobj
;
18540 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18542 PyObject
* obj0
= 0 ;
18543 char *kwnames
[] = {
18544 (char *) "self", NULL
18547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetMJD",kwnames
,&obj0
)) goto fail
;
18548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18552 result
= (double)(arg1
)->GetMJD();
18554 wxPyEndAllowThreads(__tstate
);
18555 if (PyErr_Occurred()) SWIG_fail
;
18557 resultobj
= SWIG_FromDouble((double)result
);
18564 static PyObject
*_wrap_DateTime_GetRataDie(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18565 PyObject
*resultobj
;
18566 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18568 PyObject
* obj0
= 0 ;
18569 char *kwnames
[] = {
18570 (char *) "self", NULL
18573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetRataDie",kwnames
,&obj0
)) goto fail
;
18574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18578 result
= (double)(arg1
)->GetRataDie();
18580 wxPyEndAllowThreads(__tstate
);
18581 if (PyErr_Occurred()) SWIG_fail
;
18583 resultobj
= SWIG_FromDouble((double)result
);
18590 static PyObject
*_wrap_DateTime_ToTimezone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18591 PyObject
*resultobj
;
18592 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18593 wxDateTime::TimeZone
*arg2
= 0 ;
18594 bool arg3
= (bool) False
;
18596 bool temp2
= False
;
18597 PyObject
* obj0
= 0 ;
18598 PyObject
* obj1
= 0 ;
18599 PyObject
* obj2
= 0 ;
18600 char *kwnames
[] = {
18601 (char *) "self",(char *) "tz",(char *) "noDST", NULL
18604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18608 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18612 arg3
= (bool) SWIG_AsBool(obj2
);
18613 if (PyErr_Occurred()) SWIG_fail
;
18616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18617 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
18619 wxPyEndAllowThreads(__tstate
);
18620 if (PyErr_Occurred()) SWIG_fail
;
18623 wxDateTime
* resultptr
;
18624 resultptr
= new wxDateTime((wxDateTime
&) result
);
18625 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18628 if (temp2
) delete arg2
;
18633 if (temp2
) delete arg2
;
18639 static PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18640 PyObject
*resultobj
;
18641 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18642 wxDateTime::TimeZone
*arg2
= 0 ;
18643 bool arg3
= (bool) False
;
18644 wxDateTime
*result
;
18645 bool temp2
= False
;
18646 PyObject
* obj0
= 0 ;
18647 PyObject
* obj1
= 0 ;
18648 PyObject
* obj2
= 0 ;
18649 char *kwnames
[] = {
18650 (char *) "self",(char *) "tz",(char *) "noDST", NULL
18653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18657 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18661 arg3
= (bool) SWIG_AsBool(obj2
);
18662 if (PyErr_Occurred()) SWIG_fail
;
18665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18667 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
18668 result
= (wxDateTime
*) &_result_ref
;
18671 wxPyEndAllowThreads(__tstate
);
18672 if (PyErr_Occurred()) SWIG_fail
;
18674 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18676 if (temp2
) delete arg2
;
18681 if (temp2
) delete arg2
;
18687 static PyObject
*_wrap_DateTime_ToGMT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18688 PyObject
*resultobj
;
18689 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18690 bool arg2
= (bool) False
;
18692 PyObject
* obj0
= 0 ;
18693 PyObject
* obj1
= 0 ;
18694 char *kwnames
[] = {
18695 (char *) "self",(char *) "noDST", NULL
18698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
18699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18702 arg2
= (bool) SWIG_AsBool(obj1
);
18703 if (PyErr_Occurred()) SWIG_fail
;
18706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18707 result
= (arg1
)->ToGMT(arg2
);
18709 wxPyEndAllowThreads(__tstate
);
18710 if (PyErr_Occurred()) SWIG_fail
;
18713 wxDateTime
* resultptr
;
18714 resultptr
= new wxDateTime((wxDateTime
&) result
);
18715 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18723 static PyObject
*_wrap_DateTime_MakeGMT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18724 PyObject
*resultobj
;
18725 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18726 bool arg2
= (bool) False
;
18727 wxDateTime
*result
;
18728 PyObject
* obj0
= 0 ;
18729 PyObject
* obj1
= 0 ;
18730 char *kwnames
[] = {
18731 (char *) "self",(char *) "noDST", NULL
18734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
18735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18738 arg2
= (bool) SWIG_AsBool(obj1
);
18739 if (PyErr_Occurred()) SWIG_fail
;
18742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18744 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
18745 result
= (wxDateTime
*) &_result_ref
;
18748 wxPyEndAllowThreads(__tstate
);
18749 if (PyErr_Occurred()) SWIG_fail
;
18751 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18758 static PyObject
*_wrap_DateTime_IsDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18759 PyObject
*resultobj
;
18760 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18761 int arg2
= (int) wxDateTime::Country_Default
;
18763 PyObject
* obj0
= 0 ;
18764 PyObject
* obj1
= 0 ;
18765 char *kwnames
[] = {
18766 (char *) "self",(char *) "country", NULL
18769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) goto fail
;
18770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18773 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
18774 if (PyErr_Occurred()) SWIG_fail
;
18777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18778 result
= (int)(arg1
)->IsDST((wxDateTime::Country
)arg2
);
18780 wxPyEndAllowThreads(__tstate
);
18781 if (PyErr_Occurred()) SWIG_fail
;
18783 resultobj
= SWIG_FromInt((int)result
);
18790 static PyObject
*_wrap_DateTime_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18791 PyObject
*resultobj
;
18792 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18794 PyObject
* obj0
= 0 ;
18795 char *kwnames
[] = {
18796 (char *) "self", NULL
18799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_IsValid",kwnames
,&obj0
)) goto fail
;
18800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18804 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
18806 wxPyEndAllowThreads(__tstate
);
18807 if (PyErr_Occurred()) SWIG_fail
;
18810 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18818 static PyObject
*_wrap_DateTime_GetTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18819 PyObject
*resultobj
;
18820 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18822 PyObject
* obj0
= 0 ;
18823 char *kwnames
[] = {
18824 (char *) "self", NULL
18827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetTicks",kwnames
,&obj0
)) goto fail
;
18828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18832 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
18834 wxPyEndAllowThreads(__tstate
);
18835 if (PyErr_Occurred()) SWIG_fail
;
18837 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
18844 static PyObject
*_wrap_DateTime_GetYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18845 PyObject
*resultobj
;
18846 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18847 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
18848 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
18850 bool temp2
= False
;
18851 PyObject
* obj0
= 0 ;
18852 PyObject
* obj1
= 0 ;
18853 char *kwnames
[] = {
18854 (char *) "self",(char *) "tz", NULL
18857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
18858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18862 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18868 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
18870 wxPyEndAllowThreads(__tstate
);
18871 if (PyErr_Occurred()) SWIG_fail
;
18873 resultobj
= SWIG_FromInt((int)result
);
18875 if (temp2
) delete arg2
;
18880 if (temp2
) delete arg2
;
18886 static PyObject
*_wrap_DateTime_GetMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18887 PyObject
*resultobj
;
18888 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18889 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
18890 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
18892 bool temp2
= False
;
18893 PyObject
* obj0
= 0 ;
18894 PyObject
* obj1
= 0 ;
18895 char *kwnames
[] = {
18896 (char *) "self",(char *) "tz", NULL
18899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
18900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18904 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18910 result
= (int)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
18912 wxPyEndAllowThreads(__tstate
);
18913 if (PyErr_Occurred()) SWIG_fail
;
18915 resultobj
= SWIG_FromInt((int)result
);
18917 if (temp2
) delete arg2
;
18922 if (temp2
) delete arg2
;
18928 static PyObject
*_wrap_DateTime_GetDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18929 PyObject
*resultobj
;
18930 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18931 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
18932 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
18934 bool temp2
= False
;
18935 PyObject
* obj0
= 0 ;
18936 PyObject
* obj1
= 0 ;
18937 char *kwnames
[] = {
18938 (char *) "self",(char *) "tz", NULL
18941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18946 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18952 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
18954 wxPyEndAllowThreads(__tstate
);
18955 if (PyErr_Occurred()) SWIG_fail
;
18957 resultobj
= SWIG_FromInt((int)result
);
18959 if (temp2
) delete arg2
;
18964 if (temp2
) delete arg2
;
18970 static PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18971 PyObject
*resultobj
;
18972 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18973 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
18974 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
18976 bool temp2
= False
;
18977 PyObject
* obj0
= 0 ;
18978 PyObject
* obj1
= 0 ;
18979 char *kwnames
[] = {
18980 (char *) "self",(char *) "tz", NULL
18983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18988 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18994 result
= (int)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
18996 wxPyEndAllowThreads(__tstate
);
18997 if (PyErr_Occurred()) SWIG_fail
;
18999 resultobj
= SWIG_FromInt((int)result
);
19001 if (temp2
) delete arg2
;
19006 if (temp2
) delete arg2
;
19012 static PyObject
*_wrap_DateTime_GetHour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19013 PyObject
*resultobj
;
19014 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19015 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19016 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19018 bool temp2
= False
;
19019 PyObject
* obj0
= 0 ;
19020 PyObject
* obj1
= 0 ;
19021 char *kwnames
[] = {
19022 (char *) "self",(char *) "tz", NULL
19025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
19026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19030 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19036 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
19038 wxPyEndAllowThreads(__tstate
);
19039 if (PyErr_Occurred()) SWIG_fail
;
19041 resultobj
= SWIG_FromInt((int)result
);
19043 if (temp2
) delete arg2
;
19048 if (temp2
) delete arg2
;
19054 static PyObject
*_wrap_DateTime_GetMinute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19055 PyObject
*resultobj
;
19056 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19057 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19058 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19060 bool temp2
= False
;
19061 PyObject
* obj0
= 0 ;
19062 PyObject
* obj1
= 0 ;
19063 char *kwnames
[] = {
19064 (char *) "self",(char *) "tz", NULL
19067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
19068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19072 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19078 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
19080 wxPyEndAllowThreads(__tstate
);
19081 if (PyErr_Occurred()) SWIG_fail
;
19083 resultobj
= SWIG_FromInt((int)result
);
19085 if (temp2
) delete arg2
;
19090 if (temp2
) delete arg2
;
19096 static PyObject
*_wrap_DateTime_GetSecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19097 PyObject
*resultobj
;
19098 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19099 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19100 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19102 bool temp2
= False
;
19103 PyObject
* obj0
= 0 ;
19104 PyObject
* obj1
= 0 ;
19105 char *kwnames
[] = {
19106 (char *) "self",(char *) "tz", NULL
19109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
19110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19114 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19120 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
19122 wxPyEndAllowThreads(__tstate
);
19123 if (PyErr_Occurred()) SWIG_fail
;
19125 resultobj
= SWIG_FromInt((int)result
);
19127 if (temp2
) delete arg2
;
19132 if (temp2
) delete arg2
;
19138 static PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19139 PyObject
*resultobj
;
19140 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19141 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19142 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19144 bool temp2
= False
;
19145 PyObject
* obj0
= 0 ;
19146 PyObject
* obj1
= 0 ;
19147 char *kwnames
[] = {
19148 (char *) "self",(char *) "tz", NULL
19151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
19152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19156 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19162 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
19164 wxPyEndAllowThreads(__tstate
);
19165 if (PyErr_Occurred()) SWIG_fail
;
19167 resultobj
= SWIG_FromInt((int)result
);
19169 if (temp2
) delete arg2
;
19174 if (temp2
) delete arg2
;
19180 static PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19181 PyObject
*resultobj
;
19182 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19183 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19184 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19186 bool temp2
= False
;
19187 PyObject
* obj0
= 0 ;
19188 PyObject
* obj1
= 0 ;
19189 char *kwnames
[] = {
19190 (char *) "self",(char *) "tz", NULL
19193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19198 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19204 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
19206 wxPyEndAllowThreads(__tstate
);
19207 if (PyErr_Occurred()) SWIG_fail
;
19209 resultobj
= SWIG_FromInt((int)result
);
19211 if (temp2
) delete arg2
;
19216 if (temp2
) delete arg2
;
19222 static PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19223 PyObject
*resultobj
;
19224 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19225 int arg2
= (int) wxDateTime::Monday_First
;
19226 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
19227 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
19229 bool temp3
= False
;
19230 PyObject
* obj0
= 0 ;
19231 PyObject
* obj1
= 0 ;
19232 PyObject
* obj2
= 0 ;
19233 char *kwnames
[] = {
19234 (char *) "self",(char *) "flags",(char *) "tz", NULL
19237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19241 arg2
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj1
);
19242 if (PyErr_Occurred()) SWIG_fail
;
19246 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
19251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19252 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
19254 wxPyEndAllowThreads(__tstate
);
19255 if (PyErr_Occurred()) SWIG_fail
;
19257 resultobj
= SWIG_FromInt((int)result
);
19259 if (temp3
) delete arg3
;
19264 if (temp3
) delete arg3
;
19270 static PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19271 PyObject
*resultobj
;
19272 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19273 int arg2
= (int) wxDateTime::Monday_First
;
19274 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
19275 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
19277 bool temp3
= False
;
19278 PyObject
* obj0
= 0 ;
19279 PyObject
* obj1
= 0 ;
19280 PyObject
* obj2
= 0 ;
19281 char *kwnames
[] = {
19282 (char *) "self",(char *) "flags",(char *) "tz", NULL
19285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19289 arg2
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj1
);
19290 if (PyErr_Occurred()) SWIG_fail
;
19294 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
19299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19300 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
19302 wxPyEndAllowThreads(__tstate
);
19303 if (PyErr_Occurred()) SWIG_fail
;
19305 resultobj
= SWIG_FromInt((int)result
);
19307 if (temp3
) delete arg3
;
19312 if (temp3
) delete arg3
;
19318 static PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19319 PyObject
*resultobj
;
19320 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19321 int arg2
= (int) wxDateTime::Country_Default
;
19323 PyObject
* obj0
= 0 ;
19324 PyObject
* obj1
= 0 ;
19325 char *kwnames
[] = {
19326 (char *) "self",(char *) "country", NULL
19329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19333 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
19334 if (PyErr_Occurred()) SWIG_fail
;
19337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19338 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay((wxDateTime::Country
)arg2
);
19340 wxPyEndAllowThreads(__tstate
);
19341 if (PyErr_Occurred()) SWIG_fail
;
19344 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19352 static PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19353 PyObject
*resultobj
;
19354 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19355 wxDateTime
*arg2
= 0 ;
19357 PyObject
* obj0
= 0 ;
19358 PyObject
* obj1
= 0 ;
19359 char *kwnames
[] = {
19360 (char *) "self",(char *) "datetime", NULL
19363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
19364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19366 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19367 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19369 if (arg2
== NULL
) {
19370 PyErr_SetString(PyExc_TypeError
,"null reference");
19374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19375 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
19377 wxPyEndAllowThreads(__tstate
);
19378 if (PyErr_Occurred()) SWIG_fail
;
19381 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19389 static PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19390 PyObject
*resultobj
;
19391 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19392 wxDateTime
*arg2
= 0 ;
19394 PyObject
* obj0
= 0 ;
19395 PyObject
* obj1
= 0 ;
19396 char *kwnames
[] = {
19397 (char *) "self",(char *) "datetime", NULL
19400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) goto fail
;
19401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19403 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19404 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19406 if (arg2
== NULL
) {
19407 PyErr_SetString(PyExc_TypeError
,"null reference");
19411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19412 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
19414 wxPyEndAllowThreads(__tstate
);
19415 if (PyErr_Occurred()) SWIG_fail
;
19418 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19426 static PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19427 PyObject
*resultobj
;
19428 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19429 wxDateTime
*arg2
= 0 ;
19431 PyObject
* obj0
= 0 ;
19432 PyObject
* obj1
= 0 ;
19433 char *kwnames
[] = {
19434 (char *) "self",(char *) "datetime", NULL
19437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
19438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19440 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19441 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19443 if (arg2
== NULL
) {
19444 PyErr_SetString(PyExc_TypeError
,"null reference");
19448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19449 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
19451 wxPyEndAllowThreads(__tstate
);
19452 if (PyErr_Occurred()) SWIG_fail
;
19455 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19463 static PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19464 PyObject
*resultobj
;
19465 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19466 wxDateTime
*arg2
= 0 ;
19467 wxDateTime
*arg3
= 0 ;
19469 PyObject
* obj0
= 0 ;
19470 PyObject
* obj1
= 0 ;
19471 PyObject
* obj2
= 0 ;
19472 char *kwnames
[] = {
19473 (char *) "self",(char *) "t1",(char *) "t2", NULL
19476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19479 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19480 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19482 if (arg2
== NULL
) {
19483 PyErr_SetString(PyExc_TypeError
,"null reference");
19486 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
,
19487 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19489 if (arg3
== NULL
) {
19490 PyErr_SetString(PyExc_TypeError
,"null reference");
19494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19495 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
19497 wxPyEndAllowThreads(__tstate
);
19498 if (PyErr_Occurred()) SWIG_fail
;
19501 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19509 static PyObject
*_wrap_DateTime_IsBetween(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19510 PyObject
*resultobj
;
19511 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19512 wxDateTime
*arg2
= 0 ;
19513 wxDateTime
*arg3
= 0 ;
19515 PyObject
* obj0
= 0 ;
19516 PyObject
* obj1
= 0 ;
19517 PyObject
* obj2
= 0 ;
19518 char *kwnames
[] = {
19519 (char *) "self",(char *) "t1",(char *) "t2", NULL
19522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19525 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19526 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19528 if (arg2
== NULL
) {
19529 PyErr_SetString(PyExc_TypeError
,"null reference");
19532 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
,
19533 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19535 if (arg3
== NULL
) {
19536 PyErr_SetString(PyExc_TypeError
,"null reference");
19540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19541 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
19543 wxPyEndAllowThreads(__tstate
);
19544 if (PyErr_Occurred()) SWIG_fail
;
19547 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19555 static PyObject
*_wrap_DateTime_IsSameDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19556 PyObject
*resultobj
;
19557 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19558 wxDateTime
*arg2
= 0 ;
19560 PyObject
* obj0
= 0 ;
19561 PyObject
* obj1
= 0 ;
19562 char *kwnames
[] = {
19563 (char *) "self",(char *) "dt", NULL
19566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) goto fail
;
19567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19569 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19570 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19572 if (arg2
== NULL
) {
19573 PyErr_SetString(PyExc_TypeError
,"null reference");
19577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19578 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
19580 wxPyEndAllowThreads(__tstate
);
19581 if (PyErr_Occurred()) SWIG_fail
;
19584 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19592 static PyObject
*_wrap_DateTime_IsSameTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19593 PyObject
*resultobj
;
19594 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19595 wxDateTime
*arg2
= 0 ;
19597 PyObject
* obj0
= 0 ;
19598 PyObject
* obj1
= 0 ;
19599 char *kwnames
[] = {
19600 (char *) "self",(char *) "dt", NULL
19603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) goto fail
;
19604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19606 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19607 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19609 if (arg2
== NULL
) {
19610 PyErr_SetString(PyExc_TypeError
,"null reference");
19614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19615 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
19617 wxPyEndAllowThreads(__tstate
);
19618 if (PyErr_Occurred()) SWIG_fail
;
19621 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19629 static PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19630 PyObject
*resultobj
;
19631 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19632 wxDateTime
*arg2
= 0 ;
19633 wxTimeSpan
*arg3
= 0 ;
19635 PyObject
* obj0
= 0 ;
19636 PyObject
* obj1
= 0 ;
19637 PyObject
* obj2
= 0 ;
19638 char *kwnames
[] = {
19639 (char *) "self",(char *) "dt",(char *) "ts", NULL
19642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19645 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19646 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19648 if (arg2
== NULL
) {
19649 PyErr_SetString(PyExc_TypeError
,"null reference");
19652 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTimeSpan
,
19653 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19655 if (arg3
== NULL
) {
19656 PyErr_SetString(PyExc_TypeError
,"null reference");
19660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19661 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
19663 wxPyEndAllowThreads(__tstate
);
19664 if (PyErr_Occurred()) SWIG_fail
;
19667 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19675 static PyObject
*_wrap_DateTime_AddTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19676 PyObject
*resultobj
;
19677 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19678 wxTimeSpan
*arg2
= 0 ;
19679 wxDateTime
*result
;
19680 PyObject
* obj0
= 0 ;
19681 PyObject
* obj1
= 0 ;
19682 char *kwnames
[] = {
19683 (char *) "self",(char *) "diff", NULL
19686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) goto fail
;
19687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19689 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
19690 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19692 if (arg2
== NULL
) {
19693 PyErr_SetString(PyExc_TypeError
,"null reference");
19697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19699 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
19700 result
= (wxDateTime
*) &_result_ref
;
19703 wxPyEndAllowThreads(__tstate
);
19704 if (PyErr_Occurred()) SWIG_fail
;
19706 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19713 static PyObject
*_wrap_DateTime_AddDS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19714 PyObject
*resultobj
;
19715 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19716 wxDateSpan
*arg2
= 0 ;
19717 wxDateTime
*result
;
19718 PyObject
* obj0
= 0 ;
19719 PyObject
* obj1
= 0 ;
19720 char *kwnames
[] = {
19721 (char *) "self",(char *) "diff", NULL
19724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) goto fail
;
19725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19727 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
19728 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19730 if (arg2
== NULL
) {
19731 PyErr_SetString(PyExc_TypeError
,"null reference");
19735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19737 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
19738 result
= (wxDateTime
*) &_result_ref
;
19741 wxPyEndAllowThreads(__tstate
);
19742 if (PyErr_Occurred()) SWIG_fail
;
19744 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19751 static PyObject
*_wrap_DateTime_SubtractTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19752 PyObject
*resultobj
;
19753 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19754 wxTimeSpan
*arg2
= 0 ;
19755 wxDateTime
*result
;
19756 PyObject
* obj0
= 0 ;
19757 PyObject
* obj1
= 0 ;
19758 char *kwnames
[] = {
19759 (char *) "self",(char *) "diff", NULL
19762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) goto fail
;
19763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19765 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
19766 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19768 if (arg2
== NULL
) {
19769 PyErr_SetString(PyExc_TypeError
,"null reference");
19773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19775 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
19776 result
= (wxDateTime
*) &_result_ref
;
19779 wxPyEndAllowThreads(__tstate
);
19780 if (PyErr_Occurred()) SWIG_fail
;
19782 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19789 static PyObject
*_wrap_DateTime_SubtractDS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19790 PyObject
*resultobj
;
19791 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19792 wxDateSpan
*arg2
= 0 ;
19793 wxDateTime
*result
;
19794 PyObject
* obj0
= 0 ;
19795 PyObject
* obj1
= 0 ;
19796 char *kwnames
[] = {
19797 (char *) "self",(char *) "diff", NULL
19800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) goto fail
;
19801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19803 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
19804 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19806 if (arg2
== NULL
) {
19807 PyErr_SetString(PyExc_TypeError
,"null reference");
19811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19813 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
19814 result
= (wxDateTime
*) &_result_ref
;
19817 wxPyEndAllowThreads(__tstate
);
19818 if (PyErr_Occurred()) SWIG_fail
;
19820 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19827 static PyObject
*_wrap_DateTime_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19828 PyObject
*resultobj
;
19829 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19830 wxDateTime
*arg2
= 0 ;
19832 PyObject
* obj0
= 0 ;
19833 PyObject
* obj1
= 0 ;
19834 char *kwnames
[] = {
19835 (char *) "self",(char *) "dt", NULL
19838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
19839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19841 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19842 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19844 if (arg2
== NULL
) {
19845 PyErr_SetString(PyExc_TypeError
,"null reference");
19849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19850 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
19852 wxPyEndAllowThreads(__tstate
);
19853 if (PyErr_Occurred()) SWIG_fail
;
19856 wxTimeSpan
* resultptr
;
19857 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19858 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
19866 static PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*self
, PyObject
*args
) {
19867 PyObject
*resultobj
;
19868 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19869 wxTimeSpan
*arg2
= 0 ;
19870 wxDateTime
*result
;
19871 PyObject
* obj0
= 0 ;
19872 PyObject
* obj1
= 0 ;
19874 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
19875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19877 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
19878 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19880 if (arg2
== NULL
) {
19881 PyErr_SetString(PyExc_TypeError
,"null reference");
19885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19887 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
19888 result
= (wxDateTime
*) &_result_ref
;
19891 wxPyEndAllowThreads(__tstate
);
19892 if (PyErr_Occurred()) SWIG_fail
;
19894 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19901 static PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*self
, PyObject
*args
) {
19902 PyObject
*resultobj
;
19903 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19904 wxDateSpan
*arg2
= 0 ;
19905 wxDateTime
*result
;
19906 PyObject
* obj0
= 0 ;
19907 PyObject
* obj1
= 0 ;
19909 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
19910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19912 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
19913 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19915 if (arg2
== NULL
) {
19916 PyErr_SetString(PyExc_TypeError
,"null reference");
19920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19922 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
19923 result
= (wxDateTime
*) &_result_ref
;
19926 wxPyEndAllowThreads(__tstate
);
19927 if (PyErr_Occurred()) SWIG_fail
;
19929 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19936 static PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
19941 argc
= PyObject_Length(args
);
19942 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
19943 argv
[ii
] = PyTuple_GetItem(args
,ii
);
19949 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
19959 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
19967 return _wrap_DateTime___iadd____SWIG_0(self
,args
);
19975 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
19985 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
19993 return _wrap_DateTime___iadd____SWIG_1(self
,args
);
19998 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___iadd__'");
20003 static PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*self
, PyObject
*args
) {
20004 PyObject
*resultobj
;
20005 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20006 wxTimeSpan
*arg2
= 0 ;
20007 wxDateTime
*result
;
20008 PyObject
* obj0
= 0 ;
20009 PyObject
* obj1
= 0 ;
20011 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
20012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20014 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20015 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20017 if (arg2
== NULL
) {
20018 PyErr_SetString(PyExc_TypeError
,"null reference");
20022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20024 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
20025 result
= (wxDateTime
*) &_result_ref
;
20028 wxPyEndAllowThreads(__tstate
);
20029 if (PyErr_Occurred()) SWIG_fail
;
20031 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20038 static PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*self
, PyObject
*args
) {
20039 PyObject
*resultobj
;
20040 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20041 wxDateSpan
*arg2
= 0 ;
20042 wxDateTime
*result
;
20043 PyObject
* obj0
= 0 ;
20044 PyObject
* obj1
= 0 ;
20046 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
20047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20049 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20050 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20052 if (arg2
== NULL
) {
20053 PyErr_SetString(PyExc_TypeError
,"null reference");
20057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20059 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
20060 result
= (wxDateTime
*) &_result_ref
;
20063 wxPyEndAllowThreads(__tstate
);
20064 if (PyErr_Occurred()) SWIG_fail
;
20066 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20073 static PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
20078 argc
= PyObject_Length(args
);
20079 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20080 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20086 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20096 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20104 return _wrap_DateTime___isub____SWIG_0(self
,args
);
20112 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20122 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20130 return _wrap_DateTime___isub____SWIG_1(self
,args
);
20135 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___isub__'");
20140 static PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*self
, PyObject
*args
) {
20141 PyObject
*resultobj
;
20142 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20143 wxTimeSpan
*arg2
= 0 ;
20145 PyObject
* obj0
= 0 ;
20146 PyObject
* obj1
= 0 ;
20148 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
20149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20151 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20152 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20154 if (arg2
== NULL
) {
20155 PyErr_SetString(PyExc_TypeError
,"null reference");
20159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20160 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
20162 wxPyEndAllowThreads(__tstate
);
20163 if (PyErr_Occurred()) SWIG_fail
;
20166 wxDateTime
* resultptr
;
20167 resultptr
= new wxDateTime((wxDateTime
&) result
);
20168 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20176 static PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*self
, PyObject
*args
) {
20177 PyObject
*resultobj
;
20178 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20179 wxDateSpan
*arg2
= 0 ;
20181 PyObject
* obj0
= 0 ;
20182 PyObject
* obj1
= 0 ;
20184 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
20185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20187 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20188 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20190 if (arg2
== NULL
) {
20191 PyErr_SetString(PyExc_TypeError
,"null reference");
20195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20196 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
20198 wxPyEndAllowThreads(__tstate
);
20199 if (PyErr_Occurred()) SWIG_fail
;
20202 wxDateTime
* resultptr
;
20203 resultptr
= new wxDateTime((wxDateTime
&) result
);
20204 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20212 static PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
20217 argc
= PyObject_Length(args
);
20218 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20219 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20225 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20235 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20243 return _wrap_DateTime___add____SWIG_0(self
,args
);
20251 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20261 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20269 return _wrap_DateTime___add____SWIG_1(self
,args
);
20274 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___add__'");
20279 static PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*self
, PyObject
*args
) {
20280 PyObject
*resultobj
;
20281 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20282 wxDateTime
*arg2
= 0 ;
20284 PyObject
* obj0
= 0 ;
20285 PyObject
* obj1
= 0 ;
20287 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20290 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20291 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20293 if (arg2
== NULL
) {
20294 PyErr_SetString(PyExc_TypeError
,"null reference");
20298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20299 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
20301 wxPyEndAllowThreads(__tstate
);
20302 if (PyErr_Occurred()) SWIG_fail
;
20305 wxTimeSpan
* resultptr
;
20306 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
20307 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
20315 static PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*self
, PyObject
*args
) {
20316 PyObject
*resultobj
;
20317 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20318 wxTimeSpan
*arg2
= 0 ;
20320 PyObject
* obj0
= 0 ;
20321 PyObject
* obj1
= 0 ;
20323 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20326 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20327 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20329 if (arg2
== NULL
) {
20330 PyErr_SetString(PyExc_TypeError
,"null reference");
20334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20335 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
20337 wxPyEndAllowThreads(__tstate
);
20338 if (PyErr_Occurred()) SWIG_fail
;
20341 wxDateTime
* resultptr
;
20342 resultptr
= new wxDateTime((wxDateTime
&) result
);
20343 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20351 static PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*self
, PyObject
*args
) {
20352 PyObject
*resultobj
;
20353 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20354 wxDateSpan
*arg2
= 0 ;
20356 PyObject
* obj0
= 0 ;
20357 PyObject
* obj1
= 0 ;
20359 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20362 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20363 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20365 if (arg2
== NULL
) {
20366 PyErr_SetString(PyExc_TypeError
,"null reference");
20370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20371 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
20373 wxPyEndAllowThreads(__tstate
);
20374 if (PyErr_Occurred()) SWIG_fail
;
20377 wxDateTime
* resultptr
;
20378 resultptr
= new wxDateTime((wxDateTime
&) result
);
20379 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20387 static PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
20392 argc
= PyObject_Length(args
);
20393 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20394 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20400 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20410 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20418 return _wrap_DateTime___sub____SWIG_0(self
,args
);
20426 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20436 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20444 return _wrap_DateTime___sub____SWIG_1(self
,args
);
20452 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20462 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20470 return _wrap_DateTime___sub____SWIG_2(self
,args
);
20475 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___sub__'");
20480 static PyObject
*_wrap_DateTime___lt__(PyObject
*self
, PyObject
*args
) {
20481 PyObject
*resultobj
;
20482 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20483 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20485 PyObject
* obj0
= 0 ;
20486 PyObject
* obj1
= 0 ;
20488 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___lt__",&obj0
,&obj1
)) goto fail
;
20489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20491 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20495 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const *)arg2
);
20497 wxPyEndAllowThreads(__tstate
);
20498 if (PyErr_Occurred()) SWIG_fail
;
20501 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20509 static PyObject
*_wrap_DateTime___le__(PyObject
*self
, PyObject
*args
) {
20510 PyObject
*resultobj
;
20511 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20512 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20514 PyObject
* obj0
= 0 ;
20515 PyObject
* obj1
= 0 ;
20517 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___le__",&obj0
,&obj1
)) goto fail
;
20518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20520 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20524 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const *)arg2
);
20526 wxPyEndAllowThreads(__tstate
);
20527 if (PyErr_Occurred()) SWIG_fail
;
20530 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20538 static PyObject
*_wrap_DateTime___gt__(PyObject
*self
, PyObject
*args
) {
20539 PyObject
*resultobj
;
20540 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20541 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20543 PyObject
* obj0
= 0 ;
20544 PyObject
* obj1
= 0 ;
20546 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___gt__",&obj0
,&obj1
)) goto fail
;
20547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20549 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20553 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const *)arg2
);
20555 wxPyEndAllowThreads(__tstate
);
20556 if (PyErr_Occurred()) SWIG_fail
;
20559 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20567 static PyObject
*_wrap_DateTime___ge__(PyObject
*self
, PyObject
*args
) {
20568 PyObject
*resultobj
;
20569 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20570 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20572 PyObject
* obj0
= 0 ;
20573 PyObject
* obj1
= 0 ;
20575 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ge__",&obj0
,&obj1
)) goto fail
;
20576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20578 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20582 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const *)arg2
);
20584 wxPyEndAllowThreads(__tstate
);
20585 if (PyErr_Occurred()) SWIG_fail
;
20588 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20596 static PyObject
*_wrap_DateTime___eq__(PyObject
*self
, PyObject
*args
) {
20597 PyObject
*resultobj
;
20598 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20599 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20601 PyObject
* obj0
= 0 ;
20602 PyObject
* obj1
= 0 ;
20604 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___eq__",&obj0
,&obj1
)) goto fail
;
20605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20607 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20611 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const *)arg2
);
20613 wxPyEndAllowThreads(__tstate
);
20614 if (PyErr_Occurred()) SWIG_fail
;
20617 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20625 static PyObject
*_wrap_DateTime___ne__(PyObject
*self
, PyObject
*args
) {
20626 PyObject
*resultobj
;
20627 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20628 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20630 PyObject
* obj0
= 0 ;
20631 PyObject
* obj1
= 0 ;
20633 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ne__",&obj0
,&obj1
)) goto fail
;
20634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20636 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20640 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const *)arg2
);
20642 wxPyEndAllowThreads(__tstate
);
20643 if (PyErr_Occurred()) SWIG_fail
;
20646 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20654 static PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20655 PyObject
*resultobj
;
20656 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20657 wxString
*arg2
= 0 ;
20659 bool temp2
= False
;
20660 PyObject
* obj0
= 0 ;
20661 PyObject
* obj1
= 0 ;
20662 char *kwnames
[] = {
20663 (char *) "self",(char *) "date", NULL
20666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) goto fail
;
20667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20670 arg2
= wxString_in_helper(obj1
);
20671 if (arg2
== NULL
) SWIG_fail
;
20675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20676 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
20678 wxPyEndAllowThreads(__tstate
);
20679 if (PyErr_Occurred()) SWIG_fail
;
20681 resultobj
= SWIG_FromInt((int)result
);
20696 static PyObject
*_wrap_DateTime_ParseFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20697 PyObject
*resultobj
;
20698 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20699 wxString
*arg2
= 0 ;
20700 wxString
const &arg3_defvalue
= wxPyDateFormatStr
;
20701 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20702 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
20703 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
20705 bool temp2
= False
;
20706 bool temp3
= False
;
20707 PyObject
* obj0
= 0 ;
20708 PyObject
* obj1
= 0 ;
20709 PyObject
* obj2
= 0 ;
20710 PyObject
* obj3
= 0 ;
20711 char *kwnames
[] = {
20712 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
20715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20719 arg2
= wxString_in_helper(obj1
);
20720 if (arg2
== NULL
) SWIG_fail
;
20725 arg3
= wxString_in_helper(obj2
);
20726 if (arg3
== NULL
) SWIG_fail
;
20731 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDateTime
,
20732 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20734 if (arg4
== NULL
) {
20735 PyErr_SetString(PyExc_TypeError
,"null reference");
20740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20741 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
20743 wxPyEndAllowThreads(__tstate
);
20744 if (PyErr_Occurred()) SWIG_fail
;
20746 resultobj
= SWIG_FromInt((int)result
);
20769 static PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20770 PyObject
*resultobj
;
20771 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20772 wxString
*arg2
= 0 ;
20774 bool temp2
= False
;
20775 PyObject
* obj0
= 0 ;
20776 PyObject
* obj1
= 0 ;
20777 char *kwnames
[] = {
20778 (char *) "self",(char *) "datetime", NULL
20781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) goto fail
;
20782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20785 arg2
= wxString_in_helper(obj1
);
20786 if (arg2
== NULL
) SWIG_fail
;
20790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20791 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
20793 wxPyEndAllowThreads(__tstate
);
20794 if (PyErr_Occurred()) SWIG_fail
;
20796 resultobj
= SWIG_FromInt((int)result
);
20811 static PyObject
*_wrap_DateTime_ParseDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20812 PyObject
*resultobj
;
20813 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20814 wxString
*arg2
= 0 ;
20816 bool temp2
= False
;
20817 PyObject
* obj0
= 0 ;
20818 PyObject
* obj1
= 0 ;
20819 char *kwnames
[] = {
20820 (char *) "self",(char *) "date", NULL
20823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) goto fail
;
20824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20827 arg2
= wxString_in_helper(obj1
);
20828 if (arg2
== NULL
) SWIG_fail
;
20832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20833 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
20835 wxPyEndAllowThreads(__tstate
);
20836 if (PyErr_Occurred()) SWIG_fail
;
20838 resultobj
= SWIG_FromInt((int)result
);
20853 static PyObject
*_wrap_DateTime_ParseTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20854 PyObject
*resultobj
;
20855 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20856 wxString
*arg2
= 0 ;
20858 bool temp2
= False
;
20859 PyObject
* obj0
= 0 ;
20860 PyObject
* obj1
= 0 ;
20861 char *kwnames
[] = {
20862 (char *) "self",(char *) "time", NULL
20865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) goto fail
;
20866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20869 arg2
= wxString_in_helper(obj1
);
20870 if (arg2
== NULL
) SWIG_fail
;
20874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20875 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
20877 wxPyEndAllowThreads(__tstate
);
20878 if (PyErr_Occurred()) SWIG_fail
;
20880 resultobj
= SWIG_FromInt((int)result
);
20895 static PyObject
*_wrap_DateTime_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20896 PyObject
*resultobj
;
20897 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20898 wxString
const &arg2_defvalue
= wxPyDateFormatStr
;
20899 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
20900 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
20901 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
20903 bool temp2
= False
;
20904 bool temp3
= False
;
20905 PyObject
* obj0
= 0 ;
20906 PyObject
* obj1
= 0 ;
20907 PyObject
* obj2
= 0 ;
20908 char *kwnames
[] = {
20909 (char *) "self",(char *) "format",(char *) "tz", NULL
20912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20917 arg2
= wxString_in_helper(obj1
);
20918 if (arg2
== NULL
) SWIG_fail
;
20924 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
20929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20930 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
20932 wxPyEndAllowThreads(__tstate
);
20933 if (PyErr_Occurred()) SWIG_fail
;
20937 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20939 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20947 if (temp3
) delete arg3
;
20956 if (temp3
) delete arg3
;
20962 static PyObject
*_wrap_DateTime_FormatDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20963 PyObject
*resultobj
;
20964 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20966 PyObject
* obj0
= 0 ;
20967 char *kwnames
[] = {
20968 (char *) "self", NULL
20971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatDate",kwnames
,&obj0
)) goto fail
;
20972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20976 result
= ((wxDateTime
const *)arg1
)->FormatDate();
20978 wxPyEndAllowThreads(__tstate
);
20979 if (PyErr_Occurred()) SWIG_fail
;
20983 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20985 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20994 static PyObject
*_wrap_DateTime_FormatTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20995 PyObject
*resultobj
;
20996 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20998 PyObject
* obj0
= 0 ;
20999 char *kwnames
[] = {
21000 (char *) "self", NULL
21003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatTime",kwnames
,&obj0
)) goto fail
;
21004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21008 result
= ((wxDateTime
const *)arg1
)->FormatTime();
21010 wxPyEndAllowThreads(__tstate
);
21011 if (PyErr_Occurred()) SWIG_fail
;
21015 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21017 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21026 static PyObject
*_wrap_DateTime_FormatISODate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21027 PyObject
*resultobj
;
21028 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21030 PyObject
* obj0
= 0 ;
21031 char *kwnames
[] = {
21032 (char *) "self", NULL
21035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISODate",kwnames
,&obj0
)) goto fail
;
21036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21040 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
21042 wxPyEndAllowThreads(__tstate
);
21043 if (PyErr_Occurred()) SWIG_fail
;
21047 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21049 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21058 static PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21059 PyObject
*resultobj
;
21060 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21062 PyObject
* obj0
= 0 ;
21063 char *kwnames
[] = {
21064 (char *) "self", NULL
21067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISOTime",kwnames
,&obj0
)) goto fail
;
21068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21072 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
21074 wxPyEndAllowThreads(__tstate
);
21075 if (PyErr_Occurred()) SWIG_fail
;
21079 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21081 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21090 static PyObject
* DateTime_swigregister(PyObject
*self
, PyObject
*args
) {
21092 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21093 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime
, obj
);
21095 return Py_BuildValue((char *)"");
21097 static PyObject
*_wrap_TimeSpan_Seconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21098 PyObject
*resultobj
;
21101 PyObject
* obj0
= 0 ;
21102 char *kwnames
[] = {
21103 (char *) "sec", NULL
21106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",kwnames
,&obj0
)) goto fail
;
21107 arg1
= (long) SWIG_AsLong(obj0
);
21108 if (PyErr_Occurred()) SWIG_fail
;
21110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21111 result
= wxTimeSpan::Seconds(arg1
);
21113 wxPyEndAllowThreads(__tstate
);
21114 if (PyErr_Occurred()) SWIG_fail
;
21117 wxTimeSpan
* resultptr
;
21118 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21119 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21127 static PyObject
*_wrap_TimeSpan_Second(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21128 PyObject
*resultobj
;
21130 char *kwnames
[] = {
21134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Second",kwnames
)) goto fail
;
21136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21137 result
= wxTimeSpan::Second();
21139 wxPyEndAllowThreads(__tstate
);
21140 if (PyErr_Occurred()) SWIG_fail
;
21143 wxTimeSpan
* resultptr
;
21144 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21145 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21153 static PyObject
*_wrap_TimeSpan_Minutes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21154 PyObject
*resultobj
;
21157 PyObject
* obj0
= 0 ;
21158 char *kwnames
[] = {
21159 (char *) "min", NULL
21162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",kwnames
,&obj0
)) goto fail
;
21163 arg1
= (long) SWIG_AsLong(obj0
);
21164 if (PyErr_Occurred()) SWIG_fail
;
21166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21167 result
= wxTimeSpan::Minutes(arg1
);
21169 wxPyEndAllowThreads(__tstate
);
21170 if (PyErr_Occurred()) SWIG_fail
;
21173 wxTimeSpan
* resultptr
;
21174 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21175 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21183 static PyObject
*_wrap_TimeSpan_Minute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21184 PyObject
*resultobj
;
21186 char *kwnames
[] = {
21190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Minute",kwnames
)) goto fail
;
21192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21193 result
= wxTimeSpan::Minute();
21195 wxPyEndAllowThreads(__tstate
);
21196 if (PyErr_Occurred()) SWIG_fail
;
21199 wxTimeSpan
* resultptr
;
21200 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21201 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21209 static PyObject
*_wrap_TimeSpan_Hours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21210 PyObject
*resultobj
;
21213 PyObject
* obj0
= 0 ;
21214 char *kwnames
[] = {
21215 (char *) "hours", NULL
21218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",kwnames
,&obj0
)) goto fail
;
21219 arg1
= (long) SWIG_AsLong(obj0
);
21220 if (PyErr_Occurred()) SWIG_fail
;
21222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21223 result
= wxTimeSpan::Hours(arg1
);
21225 wxPyEndAllowThreads(__tstate
);
21226 if (PyErr_Occurred()) SWIG_fail
;
21229 wxTimeSpan
* resultptr
;
21230 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21231 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21239 static PyObject
*_wrap_TimeSpan_Hour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21240 PyObject
*resultobj
;
21242 char *kwnames
[] = {
21246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Hour",kwnames
)) goto fail
;
21248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21249 result
= wxTimeSpan::Hour();
21251 wxPyEndAllowThreads(__tstate
);
21252 if (PyErr_Occurred()) SWIG_fail
;
21255 wxTimeSpan
* resultptr
;
21256 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21257 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21265 static PyObject
*_wrap_TimeSpan_Days(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21266 PyObject
*resultobj
;
21269 PyObject
* obj0
= 0 ;
21270 char *kwnames
[] = {
21271 (char *) "days", NULL
21274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Days",kwnames
,&obj0
)) goto fail
;
21275 arg1
= (long) SWIG_AsLong(obj0
);
21276 if (PyErr_Occurred()) SWIG_fail
;
21278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21279 result
= wxTimeSpan::Days(arg1
);
21281 wxPyEndAllowThreads(__tstate
);
21282 if (PyErr_Occurred()) SWIG_fail
;
21285 wxTimeSpan
* resultptr
;
21286 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21287 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21295 static PyObject
*_wrap_TimeSpan_Day(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21296 PyObject
*resultobj
;
21298 char *kwnames
[] = {
21302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Day",kwnames
)) goto fail
;
21304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21305 result
= wxTimeSpan::Day();
21307 wxPyEndAllowThreads(__tstate
);
21308 if (PyErr_Occurred()) SWIG_fail
;
21311 wxTimeSpan
* resultptr
;
21312 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21313 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21321 static PyObject
*_wrap_TimeSpan_Weeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21322 PyObject
*resultobj
;
21325 PyObject
* obj0
= 0 ;
21326 char *kwnames
[] = {
21327 (char *) "days", NULL
21330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) goto fail
;
21331 arg1
= (long) SWIG_AsLong(obj0
);
21332 if (PyErr_Occurred()) SWIG_fail
;
21334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21335 result
= wxTimeSpan::Weeks(arg1
);
21337 wxPyEndAllowThreads(__tstate
);
21338 if (PyErr_Occurred()) SWIG_fail
;
21341 wxTimeSpan
* resultptr
;
21342 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21343 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21351 static PyObject
*_wrap_TimeSpan_Week(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21352 PyObject
*resultobj
;
21354 char *kwnames
[] = {
21358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Week",kwnames
)) goto fail
;
21360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21361 result
= wxTimeSpan::Week();
21363 wxPyEndAllowThreads(__tstate
);
21364 if (PyErr_Occurred()) SWIG_fail
;
21367 wxTimeSpan
* resultptr
;
21368 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21369 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21377 static PyObject
*_wrap_new_TimeSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21378 PyObject
*resultobj
;
21379 long arg1
= (long) 0 ;
21380 long arg2
= (long) 0 ;
21381 long arg3
= (long) 0 ;
21382 long arg4
= (long) 0 ;
21383 wxTimeSpan
*result
;
21384 PyObject
* obj0
= 0 ;
21385 PyObject
* obj1
= 0 ;
21386 PyObject
* obj2
= 0 ;
21387 PyObject
* obj3
= 0 ;
21388 char *kwnames
[] = {
21389 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
21392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21394 arg1
= (long) SWIG_AsLong(obj0
);
21395 if (PyErr_Occurred()) SWIG_fail
;
21398 arg2
= (long) SWIG_AsLong(obj1
);
21399 if (PyErr_Occurred()) SWIG_fail
;
21402 arg3
= (long) SWIG_AsLong(obj2
);
21403 if (PyErr_Occurred()) SWIG_fail
;
21406 arg4
= (long) SWIG_AsLong(obj3
);
21407 if (PyErr_Occurred()) SWIG_fail
;
21410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21411 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
21413 wxPyEndAllowThreads(__tstate
);
21414 if (PyErr_Occurred()) SWIG_fail
;
21416 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
21423 static PyObject
*_wrap_delete_TimeSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21424 PyObject
*resultobj
;
21425 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21426 PyObject
* obj0
= 0 ;
21427 char *kwnames
[] = {
21428 (char *) "self", NULL
21431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimeSpan",kwnames
,&obj0
)) goto fail
;
21432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21438 wxPyEndAllowThreads(__tstate
);
21439 if (PyErr_Occurred()) SWIG_fail
;
21441 Py_INCREF(Py_None
); resultobj
= Py_None
;
21448 static PyObject
*_wrap_TimeSpan_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21449 PyObject
*resultobj
;
21450 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21451 wxTimeSpan
*arg2
= 0 ;
21452 wxTimeSpan
*result
;
21453 PyObject
* obj0
= 0 ;
21454 PyObject
* obj1
= 0 ;
21455 char *kwnames
[] = {
21456 (char *) "self",(char *) "diff", NULL
21459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
21460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21462 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21463 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21465 if (arg2
== NULL
) {
21466 PyErr_SetString(PyExc_TypeError
,"null reference");
21470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21472 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
21473 result
= (wxTimeSpan
*) &_result_ref
;
21476 wxPyEndAllowThreads(__tstate
);
21477 if (PyErr_Occurred()) SWIG_fail
;
21479 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21486 static PyObject
*_wrap_TimeSpan_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21487 PyObject
*resultobj
;
21488 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21489 wxTimeSpan
*arg2
= 0 ;
21490 wxTimeSpan
*result
;
21491 PyObject
* obj0
= 0 ;
21492 PyObject
* obj1
= 0 ;
21493 char *kwnames
[] = {
21494 (char *) "self",(char *) "diff", NULL
21497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
21498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21500 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21501 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21503 if (arg2
== NULL
) {
21504 PyErr_SetString(PyExc_TypeError
,"null reference");
21508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21510 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
21511 result
= (wxTimeSpan
*) &_result_ref
;
21514 wxPyEndAllowThreads(__tstate
);
21515 if (PyErr_Occurred()) SWIG_fail
;
21517 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21524 static PyObject
*_wrap_TimeSpan_Multiply(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21525 PyObject
*resultobj
;
21526 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21528 wxTimeSpan
*result
;
21529 PyObject
* obj0
= 0 ;
21530 PyObject
* obj1
= 0 ;
21531 char *kwnames
[] = {
21532 (char *) "self",(char *) "n", NULL
21535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
21536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21538 arg2
= (int) SWIG_AsInt(obj1
);
21539 if (PyErr_Occurred()) SWIG_fail
;
21541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21543 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
21544 result
= (wxTimeSpan
*) &_result_ref
;
21547 wxPyEndAllowThreads(__tstate
);
21548 if (PyErr_Occurred()) SWIG_fail
;
21550 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21557 static PyObject
*_wrap_TimeSpan_Neg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21558 PyObject
*resultobj
;
21559 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21560 wxTimeSpan
*result
;
21561 PyObject
* obj0
= 0 ;
21562 char *kwnames
[] = {
21563 (char *) "self", NULL
21566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Neg",kwnames
,&obj0
)) goto fail
;
21567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21572 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
21573 result
= (wxTimeSpan
*) &_result_ref
;
21576 wxPyEndAllowThreads(__tstate
);
21577 if (PyErr_Occurred()) SWIG_fail
;
21579 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21586 static PyObject
*_wrap_TimeSpan_Abs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21587 PyObject
*resultobj
;
21588 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21590 PyObject
* obj0
= 0 ;
21591 char *kwnames
[] = {
21592 (char *) "self", NULL
21595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Abs",kwnames
,&obj0
)) goto fail
;
21596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21600 result
= ((wxTimeSpan
const *)arg1
)->Abs();
21602 wxPyEndAllowThreads(__tstate
);
21603 if (PyErr_Occurred()) SWIG_fail
;
21606 wxTimeSpan
* resultptr
;
21607 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21608 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21616 static PyObject
*_wrap_TimeSpan___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21617 PyObject
*resultobj
;
21618 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21619 wxTimeSpan
*arg2
= 0 ;
21620 wxTimeSpan
*result
;
21621 PyObject
* obj0
= 0 ;
21622 PyObject
* obj1
= 0 ;
21623 char *kwnames
[] = {
21624 (char *) "self",(char *) "diff", NULL
21627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
21628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21630 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21631 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21633 if (arg2
== NULL
) {
21634 PyErr_SetString(PyExc_TypeError
,"null reference");
21638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21640 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
21641 result
= (wxTimeSpan
*) &_result_ref
;
21644 wxPyEndAllowThreads(__tstate
);
21645 if (PyErr_Occurred()) SWIG_fail
;
21647 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21654 static PyObject
*_wrap_TimeSpan___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21655 PyObject
*resultobj
;
21656 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21657 wxTimeSpan
*arg2
= 0 ;
21658 wxTimeSpan
*result
;
21659 PyObject
* obj0
= 0 ;
21660 PyObject
* obj1
= 0 ;
21661 char *kwnames
[] = {
21662 (char *) "self",(char *) "diff", NULL
21665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
21666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21668 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21669 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21671 if (arg2
== NULL
) {
21672 PyErr_SetString(PyExc_TypeError
,"null reference");
21676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21678 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
21679 result
= (wxTimeSpan
*) &_result_ref
;
21682 wxPyEndAllowThreads(__tstate
);
21683 if (PyErr_Occurred()) SWIG_fail
;
21685 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21692 static PyObject
*_wrap_TimeSpan___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21693 PyObject
*resultobj
;
21694 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21696 wxTimeSpan
*result
;
21697 PyObject
* obj0
= 0 ;
21698 PyObject
* obj1
= 0 ;
21699 char *kwnames
[] = {
21700 (char *) "self",(char *) "n", NULL
21703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
21704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21706 arg2
= (int) SWIG_AsInt(obj1
);
21707 if (PyErr_Occurred()) SWIG_fail
;
21709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21711 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
21712 result
= (wxTimeSpan
*) &_result_ref
;
21715 wxPyEndAllowThreads(__tstate
);
21716 if (PyErr_Occurred()) SWIG_fail
;
21718 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21725 static PyObject
*_wrap_TimeSpan___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21726 PyObject
*resultobj
;
21727 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21728 wxTimeSpan
*result
;
21729 PyObject
* obj0
= 0 ;
21730 char *kwnames
[] = {
21731 (char *) "self", NULL
21734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan___neg__",kwnames
,&obj0
)) goto fail
;
21735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21740 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
21741 result
= (wxTimeSpan
*) &_result_ref
;
21744 wxPyEndAllowThreads(__tstate
);
21745 if (PyErr_Occurred()) SWIG_fail
;
21747 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21754 static PyObject
*_wrap_TimeSpan___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21755 PyObject
*resultobj
;
21756 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21757 wxTimeSpan
*arg2
= 0 ;
21759 PyObject
* obj0
= 0 ;
21760 PyObject
* obj1
= 0 ;
21761 char *kwnames
[] = {
21762 (char *) "self",(char *) "other", NULL
21765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
21766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21768 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21769 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21771 if (arg2
== NULL
) {
21772 PyErr_SetString(PyExc_TypeError
,"null reference");
21776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21777 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
21779 wxPyEndAllowThreads(__tstate
);
21780 if (PyErr_Occurred()) SWIG_fail
;
21783 wxTimeSpan
* resultptr
;
21784 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21785 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21793 static PyObject
*_wrap_TimeSpan___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21794 PyObject
*resultobj
;
21795 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21796 wxTimeSpan
*arg2
= 0 ;
21798 PyObject
* obj0
= 0 ;
21799 PyObject
* obj1
= 0 ;
21800 char *kwnames
[] = {
21801 (char *) "self",(char *) "other", NULL
21804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
21805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21807 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21808 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21810 if (arg2
== NULL
) {
21811 PyErr_SetString(PyExc_TypeError
,"null reference");
21815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21816 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
21818 wxPyEndAllowThreads(__tstate
);
21819 if (PyErr_Occurred()) SWIG_fail
;
21822 wxTimeSpan
* resultptr
;
21823 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21824 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21832 static PyObject
*_wrap_TimeSpan___mul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21833 PyObject
*resultobj
;
21834 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21837 PyObject
* obj0
= 0 ;
21838 PyObject
* obj1
= 0 ;
21839 char *kwnames
[] = {
21840 (char *) "self",(char *) "n", NULL
21843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
21844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21846 arg2
= (int) SWIG_AsInt(obj1
);
21847 if (PyErr_Occurred()) SWIG_fail
;
21849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21850 result
= wxTimeSpan___mul__(arg1
,arg2
);
21852 wxPyEndAllowThreads(__tstate
);
21853 if (PyErr_Occurred()) SWIG_fail
;
21856 wxTimeSpan
* resultptr
;
21857 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21858 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21866 static PyObject
*_wrap_TimeSpan___rmul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21867 PyObject
*resultobj
;
21868 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21871 PyObject
* obj0
= 0 ;
21872 PyObject
* obj1
= 0 ;
21873 char *kwnames
[] = {
21874 (char *) "self",(char *) "n", NULL
21877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
21878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21880 arg2
= (int) SWIG_AsInt(obj1
);
21881 if (PyErr_Occurred()) SWIG_fail
;
21883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21884 result
= wxTimeSpan___rmul__(arg1
,arg2
);
21886 wxPyEndAllowThreads(__tstate
);
21887 if (PyErr_Occurred()) SWIG_fail
;
21890 wxTimeSpan
* resultptr
;
21891 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21892 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21900 static PyObject
*_wrap_TimeSpan___lt__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21901 PyObject
*resultobj
;
21902 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21903 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
21905 PyObject
* obj0
= 0 ;
21906 PyObject
* obj1
= 0 ;
21907 char *kwnames
[] = {
21908 (char *) "self",(char *) "other", NULL
21911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
21912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21914 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21918 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const *)arg2
);
21920 wxPyEndAllowThreads(__tstate
);
21921 if (PyErr_Occurred()) SWIG_fail
;
21924 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21932 static PyObject
*_wrap_TimeSpan___le__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21933 PyObject
*resultobj
;
21934 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21935 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
21937 PyObject
* obj0
= 0 ;
21938 PyObject
* obj1
= 0 ;
21939 char *kwnames
[] = {
21940 (char *) "self",(char *) "other", NULL
21943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
21944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21946 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21950 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const *)arg2
);
21952 wxPyEndAllowThreads(__tstate
);
21953 if (PyErr_Occurred()) SWIG_fail
;
21956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21964 static PyObject
*_wrap_TimeSpan___gt__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21965 PyObject
*resultobj
;
21966 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21967 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
21969 PyObject
* obj0
= 0 ;
21970 PyObject
* obj1
= 0 ;
21971 char *kwnames
[] = {
21972 (char *) "self",(char *) "other", NULL
21975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
21976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21978 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21982 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const *)arg2
);
21984 wxPyEndAllowThreads(__tstate
);
21985 if (PyErr_Occurred()) SWIG_fail
;
21988 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21996 static PyObject
*_wrap_TimeSpan___ge__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21997 PyObject
*resultobj
;
21998 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21999 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22001 PyObject
* obj0
= 0 ;
22002 PyObject
* obj1
= 0 ;
22003 char *kwnames
[] = {
22004 (char *) "self",(char *) "other", NULL
22007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
22008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22010 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22014 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const *)arg2
);
22016 wxPyEndAllowThreads(__tstate
);
22017 if (PyErr_Occurred()) SWIG_fail
;
22020 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22028 static PyObject
*_wrap_TimeSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22029 PyObject
*resultobj
;
22030 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22031 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22033 PyObject
* obj0
= 0 ;
22034 PyObject
* obj1
= 0 ;
22035 char *kwnames
[] = {
22036 (char *) "self",(char *) "other", NULL
22039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
22040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22042 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22046 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const *)arg2
);
22048 wxPyEndAllowThreads(__tstate
);
22049 if (PyErr_Occurred()) SWIG_fail
;
22052 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22060 static PyObject
*_wrap_TimeSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22061 PyObject
*resultobj
;
22062 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22063 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22065 PyObject
* obj0
= 0 ;
22066 PyObject
* obj1
= 0 ;
22067 char *kwnames
[] = {
22068 (char *) "self",(char *) "other", NULL
22071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
22072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22074 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22078 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const *)arg2
);
22080 wxPyEndAllowThreads(__tstate
);
22081 if (PyErr_Occurred()) SWIG_fail
;
22084 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22092 static PyObject
*_wrap_TimeSpan_IsNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22093 PyObject
*resultobj
;
22094 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22096 PyObject
* obj0
= 0 ;
22097 char *kwnames
[] = {
22098 (char *) "self", NULL
22101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNull",kwnames
,&obj0
)) goto fail
;
22102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22106 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
22108 wxPyEndAllowThreads(__tstate
);
22109 if (PyErr_Occurred()) SWIG_fail
;
22112 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22120 static PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22121 PyObject
*resultobj
;
22122 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22124 PyObject
* obj0
= 0 ;
22125 char *kwnames
[] = {
22126 (char *) "self", NULL
22129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsPositive",kwnames
,&obj0
)) goto fail
;
22130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22134 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
22136 wxPyEndAllowThreads(__tstate
);
22137 if (PyErr_Occurred()) SWIG_fail
;
22140 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22148 static PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22149 PyObject
*resultobj
;
22150 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22152 PyObject
* obj0
= 0 ;
22153 char *kwnames
[] = {
22154 (char *) "self", NULL
22157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNegative",kwnames
,&obj0
)) goto fail
;
22158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22162 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
22164 wxPyEndAllowThreads(__tstate
);
22165 if (PyErr_Occurred()) SWIG_fail
;
22168 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22176 static PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22177 PyObject
*resultobj
;
22178 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22179 wxTimeSpan
*arg2
= 0 ;
22181 PyObject
* obj0
= 0 ;
22182 PyObject
* obj1
= 0 ;
22183 char *kwnames
[] = {
22184 (char *) "self",(char *) "ts", NULL
22187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
22188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22190 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22191 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22193 if (arg2
== NULL
) {
22194 PyErr_SetString(PyExc_TypeError
,"null reference");
22198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22199 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
22201 wxPyEndAllowThreads(__tstate
);
22202 if (PyErr_Occurred()) SWIG_fail
;
22205 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22213 static PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22214 PyObject
*resultobj
;
22215 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22216 wxTimeSpan
*arg2
= 0 ;
22218 PyObject
* obj0
= 0 ;
22219 PyObject
* obj1
= 0 ;
22220 char *kwnames
[] = {
22221 (char *) "self",(char *) "ts", NULL
22224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22227 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22228 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22230 if (arg2
== NULL
) {
22231 PyErr_SetString(PyExc_TypeError
,"null reference");
22235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22236 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
22238 wxPyEndAllowThreads(__tstate
);
22239 if (PyErr_Occurred()) SWIG_fail
;
22242 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22250 static PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22251 PyObject
*resultobj
;
22252 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22253 wxTimeSpan
*arg2
= 0 ;
22255 PyObject
* obj0
= 0 ;
22256 PyObject
* obj1
= 0 ;
22257 char *kwnames
[] = {
22258 (char *) "self",(char *) "t", NULL
22261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22264 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22265 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22267 if (arg2
== NULL
) {
22268 PyErr_SetString(PyExc_TypeError
,"null reference");
22272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22273 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
22275 wxPyEndAllowThreads(__tstate
);
22276 if (PyErr_Occurred()) SWIG_fail
;
22279 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22287 static PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22288 PyObject
*resultobj
;
22289 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22291 PyObject
* obj0
= 0 ;
22292 char *kwnames
[] = {
22293 (char *) "self", NULL
22296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
22297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22301 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
22303 wxPyEndAllowThreads(__tstate
);
22304 if (PyErr_Occurred()) SWIG_fail
;
22306 resultobj
= SWIG_FromInt((int)result
);
22313 static PyObject
*_wrap_TimeSpan_GetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22314 PyObject
*resultobj
;
22315 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22317 PyObject
* obj0
= 0 ;
22318 char *kwnames
[] = {
22319 (char *) "self", NULL
22322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetDays",kwnames
,&obj0
)) goto fail
;
22323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22327 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
22329 wxPyEndAllowThreads(__tstate
);
22330 if (PyErr_Occurred()) SWIG_fail
;
22332 resultobj
= SWIG_FromInt((int)result
);
22339 static PyObject
*_wrap_TimeSpan_GetHours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22340 PyObject
*resultobj
;
22341 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22343 PyObject
* obj0
= 0 ;
22344 char *kwnames
[] = {
22345 (char *) "self", NULL
22348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetHours",kwnames
,&obj0
)) goto fail
;
22349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22353 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
22355 wxPyEndAllowThreads(__tstate
);
22356 if (PyErr_Occurred()) SWIG_fail
;
22358 resultobj
= SWIG_FromInt((int)result
);
22365 static PyObject
*_wrap_TimeSpan_GetMinutes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22366 PyObject
*resultobj
;
22367 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22369 PyObject
* obj0
= 0 ;
22370 char *kwnames
[] = {
22371 (char *) "self", NULL
22374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMinutes",kwnames
,&obj0
)) goto fail
;
22375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22379 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
22381 wxPyEndAllowThreads(__tstate
);
22382 if (PyErr_Occurred()) SWIG_fail
;
22384 resultobj
= SWIG_FromInt((int)result
);
22391 static PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22392 PyObject
*resultobj
;
22393 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22395 PyObject
* obj0
= 0 ;
22396 char *kwnames
[] = {
22397 (char *) "self", NULL
22400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetSeconds",kwnames
,&obj0
)) goto fail
;
22401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22405 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
22407 wxPyEndAllowThreads(__tstate
);
22408 if (PyErr_Occurred()) SWIG_fail
;
22411 PyObject
*hi
, *lo
, *shifter
, *shifted
;
22412 hi
= PyLong_FromLong( (&result
)->GetHi() );
22413 lo
= PyLong_FromLong( (&result
)->GetLo() );
22414 shifter
= PyLong_FromLong(32);
22415 shifted
= PyNumber_Lshift(hi
, shifter
);
22416 resultobj
= PyNumber_Or(shifted
, lo
);
22419 Py_DECREF(shifter
);
22420 Py_DECREF(shifted
);
22428 static PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22429 PyObject
*resultobj
;
22430 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22432 PyObject
* obj0
= 0 ;
22433 char *kwnames
[] = {
22434 (char *) "self", NULL
22437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMilliseconds",kwnames
,&obj0
)) goto fail
;
22438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22442 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
22444 wxPyEndAllowThreads(__tstate
);
22445 if (PyErr_Occurred()) SWIG_fail
;
22448 PyObject
*hi
, *lo
, *shifter
, *shifted
;
22449 hi
= PyLong_FromLong( (&result
)->GetHi() );
22450 lo
= PyLong_FromLong( (&result
)->GetLo() );
22451 shifter
= PyLong_FromLong(32);
22452 shifted
= PyNumber_Lshift(hi
, shifter
);
22453 resultobj
= PyNumber_Or(shifted
, lo
);
22456 Py_DECREF(shifter
);
22457 Py_DECREF(shifted
);
22465 static PyObject
*_wrap_TimeSpan_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22466 PyObject
*resultobj
;
22467 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22468 wxString
const &arg2_defvalue
= wxPyTimeSpanFormatStr
;
22469 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
22471 bool temp2
= False
;
22472 PyObject
* obj0
= 0 ;
22473 PyObject
* obj1
= 0 ;
22474 char *kwnames
[] = {
22475 (char *) "self",(char *) "format", NULL
22478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) goto fail
;
22479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22483 arg2
= wxString_in_helper(obj1
);
22484 if (arg2
== NULL
) SWIG_fail
;
22489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22490 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
22492 wxPyEndAllowThreads(__tstate
);
22493 if (PyErr_Occurred()) SWIG_fail
;
22497 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22499 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22516 static PyObject
* TimeSpan_swigregister(PyObject
*self
, PyObject
*args
) {
22518 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22519 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan
, obj
);
22521 return Py_BuildValue((char *)"");
22523 static PyObject
*_wrap_new_DateSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22524 PyObject
*resultobj
;
22525 int arg1
= (int) 0 ;
22526 int arg2
= (int) 0 ;
22527 int arg3
= (int) 0 ;
22528 int arg4
= (int) 0 ;
22529 wxDateSpan
*result
;
22530 PyObject
* obj0
= 0 ;
22531 PyObject
* obj1
= 0 ;
22532 PyObject
* obj2
= 0 ;
22533 PyObject
* obj3
= 0 ;
22534 char *kwnames
[] = {
22535 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
22538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22540 arg1
= (int) SWIG_AsInt(obj0
);
22541 if (PyErr_Occurred()) SWIG_fail
;
22544 arg2
= (int) SWIG_AsInt(obj1
);
22545 if (PyErr_Occurred()) SWIG_fail
;
22548 arg3
= (int) SWIG_AsInt(obj2
);
22549 if (PyErr_Occurred()) SWIG_fail
;
22552 arg4
= (int) SWIG_AsInt(obj3
);
22553 if (PyErr_Occurred()) SWIG_fail
;
22556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22557 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
22559 wxPyEndAllowThreads(__tstate
);
22560 if (PyErr_Occurred()) SWIG_fail
;
22562 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
22569 static PyObject
*_wrap_delete_DateSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22570 PyObject
*resultobj
;
22571 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22572 PyObject
* obj0
= 0 ;
22573 char *kwnames
[] = {
22574 (char *) "self", NULL
22577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateSpan",kwnames
,&obj0
)) goto fail
;
22578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22584 wxPyEndAllowThreads(__tstate
);
22585 if (PyErr_Occurred()) SWIG_fail
;
22587 Py_INCREF(Py_None
); resultobj
= Py_None
;
22594 static PyObject
*_wrap_DateSpan_Days(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22595 PyObject
*resultobj
;
22598 PyObject
* obj0
= 0 ;
22599 char *kwnames
[] = {
22600 (char *) "days", NULL
22603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",kwnames
,&obj0
)) goto fail
;
22604 arg1
= (int) SWIG_AsInt(obj0
);
22605 if (PyErr_Occurred()) SWIG_fail
;
22607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22608 result
= wxDateSpan::Days(arg1
);
22610 wxPyEndAllowThreads(__tstate
);
22611 if (PyErr_Occurred()) SWIG_fail
;
22614 wxDateSpan
* resultptr
;
22615 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22616 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22624 static PyObject
*_wrap_DateSpan_Day(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22625 PyObject
*resultobj
;
22627 char *kwnames
[] = {
22631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Day",kwnames
)) goto fail
;
22633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22634 result
= wxDateSpan::Day();
22636 wxPyEndAllowThreads(__tstate
);
22637 if (PyErr_Occurred()) SWIG_fail
;
22640 wxDateSpan
* resultptr
;
22641 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22642 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22650 static PyObject
*_wrap_DateSpan_Weeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22651 PyObject
*resultobj
;
22654 PyObject
* obj0
= 0 ;
22655 char *kwnames
[] = {
22656 (char *) "weeks", NULL
22659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",kwnames
,&obj0
)) goto fail
;
22660 arg1
= (int) SWIG_AsInt(obj0
);
22661 if (PyErr_Occurred()) SWIG_fail
;
22663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22664 result
= wxDateSpan::Weeks(arg1
);
22666 wxPyEndAllowThreads(__tstate
);
22667 if (PyErr_Occurred()) SWIG_fail
;
22670 wxDateSpan
* resultptr
;
22671 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22672 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22680 static PyObject
*_wrap_DateSpan_Week(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22681 PyObject
*resultobj
;
22683 char *kwnames
[] = {
22687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Week",kwnames
)) goto fail
;
22689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22690 result
= wxDateSpan::Week();
22692 wxPyEndAllowThreads(__tstate
);
22693 if (PyErr_Occurred()) SWIG_fail
;
22696 wxDateSpan
* resultptr
;
22697 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22698 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22706 static PyObject
*_wrap_DateSpan_Months(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22707 PyObject
*resultobj
;
22710 PyObject
* obj0
= 0 ;
22711 char *kwnames
[] = {
22712 (char *) "mon", NULL
22715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",kwnames
,&obj0
)) goto fail
;
22716 arg1
= (int) SWIG_AsInt(obj0
);
22717 if (PyErr_Occurred()) SWIG_fail
;
22719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22720 result
= wxDateSpan::Months(arg1
);
22722 wxPyEndAllowThreads(__tstate
);
22723 if (PyErr_Occurred()) SWIG_fail
;
22726 wxDateSpan
* resultptr
;
22727 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22728 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22736 static PyObject
*_wrap_DateSpan_Month(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22737 PyObject
*resultobj
;
22739 char *kwnames
[] = {
22743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Month",kwnames
)) goto fail
;
22745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22746 result
= wxDateSpan::Month();
22748 wxPyEndAllowThreads(__tstate
);
22749 if (PyErr_Occurred()) SWIG_fail
;
22752 wxDateSpan
* resultptr
;
22753 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22754 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22762 static PyObject
*_wrap_DateSpan_Years(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22763 PyObject
*resultobj
;
22766 PyObject
* obj0
= 0 ;
22767 char *kwnames
[] = {
22768 (char *) "years", NULL
22771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) goto fail
;
22772 arg1
= (int) SWIG_AsInt(obj0
);
22773 if (PyErr_Occurred()) SWIG_fail
;
22775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22776 result
= wxDateSpan::Years(arg1
);
22778 wxPyEndAllowThreads(__tstate
);
22779 if (PyErr_Occurred()) SWIG_fail
;
22782 wxDateSpan
* resultptr
;
22783 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22784 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22792 static PyObject
*_wrap_DateSpan_Year(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22793 PyObject
*resultobj
;
22795 char *kwnames
[] = {
22799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Year",kwnames
)) goto fail
;
22801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22802 result
= wxDateSpan::Year();
22804 wxPyEndAllowThreads(__tstate
);
22805 if (PyErr_Occurred()) SWIG_fail
;
22808 wxDateSpan
* resultptr
;
22809 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22810 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22818 static PyObject
*_wrap_DateSpan_SetYears(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22819 PyObject
*resultobj
;
22820 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22822 wxDateSpan
*result
;
22823 PyObject
* obj0
= 0 ;
22824 PyObject
* obj1
= 0 ;
22825 char *kwnames
[] = {
22826 (char *) "self",(char *) "n", NULL
22829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetYears",kwnames
,&obj0
,&obj1
)) goto fail
;
22830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22832 arg2
= (int) SWIG_AsInt(obj1
);
22833 if (PyErr_Occurred()) SWIG_fail
;
22835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22837 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
22838 result
= (wxDateSpan
*) &_result_ref
;
22841 wxPyEndAllowThreads(__tstate
);
22842 if (PyErr_Occurred()) SWIG_fail
;
22844 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
22851 static PyObject
*_wrap_DateSpan_SetMonths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22852 PyObject
*resultobj
;
22853 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22855 wxDateSpan
*result
;
22856 PyObject
* obj0
= 0 ;
22857 PyObject
* obj1
= 0 ;
22858 char *kwnames
[] = {
22859 (char *) "self",(char *) "n", NULL
22862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetMonths",kwnames
,&obj0
,&obj1
)) goto fail
;
22863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22865 arg2
= (int) SWIG_AsInt(obj1
);
22866 if (PyErr_Occurred()) SWIG_fail
;
22868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22870 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
22871 result
= (wxDateSpan
*) &_result_ref
;
22874 wxPyEndAllowThreads(__tstate
);
22875 if (PyErr_Occurred()) SWIG_fail
;
22877 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
22884 static PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22885 PyObject
*resultobj
;
22886 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22888 wxDateSpan
*result
;
22889 PyObject
* obj0
= 0 ;
22890 PyObject
* obj1
= 0 ;
22891 char *kwnames
[] = {
22892 (char *) "self",(char *) "n", NULL
22895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) goto fail
;
22896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22898 arg2
= (int) SWIG_AsInt(obj1
);
22899 if (PyErr_Occurred()) SWIG_fail
;
22901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22903 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
22904 result
= (wxDateSpan
*) &_result_ref
;
22907 wxPyEndAllowThreads(__tstate
);
22908 if (PyErr_Occurred()) SWIG_fail
;
22910 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
22917 static PyObject
*_wrap_DateSpan_SetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22918 PyObject
*resultobj
;
22919 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22921 wxDateSpan
*result
;
22922 PyObject
* obj0
= 0 ;
22923 PyObject
* obj1
= 0 ;
22924 char *kwnames
[] = {
22925 (char *) "self",(char *) "n", NULL
22928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) goto fail
;
22929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22931 arg2
= (int) SWIG_AsInt(obj1
);
22932 if (PyErr_Occurred()) SWIG_fail
;
22934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22936 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
22937 result
= (wxDateSpan
*) &_result_ref
;
22940 wxPyEndAllowThreads(__tstate
);
22941 if (PyErr_Occurred()) SWIG_fail
;
22943 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
22950 static PyObject
*_wrap_DateSpan_GetYears(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22951 PyObject
*resultobj
;
22952 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22954 PyObject
* obj0
= 0 ;
22955 char *kwnames
[] = {
22956 (char *) "self", NULL
22959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetYears",kwnames
,&obj0
)) goto fail
;
22960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22964 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
22966 wxPyEndAllowThreads(__tstate
);
22967 if (PyErr_Occurred()) SWIG_fail
;
22969 resultobj
= SWIG_FromInt((int)result
);
22976 static PyObject
*_wrap_DateSpan_GetMonths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22977 PyObject
*resultobj
;
22978 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22980 PyObject
* obj0
= 0 ;
22981 char *kwnames
[] = {
22982 (char *) "self", NULL
22985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetMonths",kwnames
,&obj0
)) goto fail
;
22986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22990 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
22992 wxPyEndAllowThreads(__tstate
);
22993 if (PyErr_Occurred()) SWIG_fail
;
22995 resultobj
= SWIG_FromInt((int)result
);
23002 static PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23003 PyObject
*resultobj
;
23004 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23006 PyObject
* obj0
= 0 ;
23007 char *kwnames
[] = {
23008 (char *) "self", NULL
23011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
23012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23016 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
23018 wxPyEndAllowThreads(__tstate
);
23019 if (PyErr_Occurred()) SWIG_fail
;
23021 resultobj
= SWIG_FromInt((int)result
);
23028 static PyObject
*_wrap_DateSpan_GetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23029 PyObject
*resultobj
;
23030 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23032 PyObject
* obj0
= 0 ;
23033 char *kwnames
[] = {
23034 (char *) "self", NULL
23037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetDays",kwnames
,&obj0
)) goto fail
;
23038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23042 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
23044 wxPyEndAllowThreads(__tstate
);
23045 if (PyErr_Occurred()) SWIG_fail
;
23047 resultobj
= SWIG_FromInt((int)result
);
23054 static PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23055 PyObject
*resultobj
;
23056 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23058 PyObject
* obj0
= 0 ;
23059 char *kwnames
[] = {
23060 (char *) "self", NULL
23063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetTotalDays",kwnames
,&obj0
)) goto fail
;
23064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23068 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
23070 wxPyEndAllowThreads(__tstate
);
23071 if (PyErr_Occurred()) SWIG_fail
;
23073 resultobj
= SWIG_FromInt((int)result
);
23080 static PyObject
*_wrap_DateSpan_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23081 PyObject
*resultobj
;
23082 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23083 wxDateSpan
*arg2
= 0 ;
23084 wxDateSpan
*result
;
23085 PyObject
* obj0
= 0 ;
23086 PyObject
* obj1
= 0 ;
23087 char *kwnames
[] = {
23088 (char *) "self",(char *) "other", NULL
23091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
23092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23094 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23095 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23097 if (arg2
== NULL
) {
23098 PyErr_SetString(PyExc_TypeError
,"null reference");
23102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23104 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
23105 result
= (wxDateSpan
*) &_result_ref
;
23108 wxPyEndAllowThreads(__tstate
);
23109 if (PyErr_Occurred()) SWIG_fail
;
23111 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23118 static PyObject
*_wrap_DateSpan_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23119 PyObject
*resultobj
;
23120 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23121 wxDateSpan
*arg2
= 0 ;
23122 wxDateSpan
*result
;
23123 PyObject
* obj0
= 0 ;
23124 PyObject
* obj1
= 0 ;
23125 char *kwnames
[] = {
23126 (char *) "self",(char *) "other", NULL
23129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
23130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23132 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23133 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23135 if (arg2
== NULL
) {
23136 PyErr_SetString(PyExc_TypeError
,"null reference");
23140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23142 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
23143 result
= (wxDateSpan
*) &_result_ref
;
23146 wxPyEndAllowThreads(__tstate
);
23147 if (PyErr_Occurred()) SWIG_fail
;
23149 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23156 static PyObject
*_wrap_DateSpan_Neg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23157 PyObject
*resultobj
;
23158 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23159 wxDateSpan
*result
;
23160 PyObject
* obj0
= 0 ;
23161 char *kwnames
[] = {
23162 (char *) "self", NULL
23165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Neg",kwnames
,&obj0
)) goto fail
;
23166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23171 wxDateSpan
&_result_ref
= (arg1
)->Neg();
23172 result
= (wxDateSpan
*) &_result_ref
;
23175 wxPyEndAllowThreads(__tstate
);
23176 if (PyErr_Occurred()) SWIG_fail
;
23178 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23185 static PyObject
*_wrap_DateSpan_Multiply(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23186 PyObject
*resultobj
;
23187 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23189 wxDateSpan
*result
;
23190 PyObject
* obj0
= 0 ;
23191 PyObject
* obj1
= 0 ;
23192 char *kwnames
[] = {
23193 (char *) "self",(char *) "factor", NULL
23196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
23197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23199 arg2
= (int) SWIG_AsInt(obj1
);
23200 if (PyErr_Occurred()) SWIG_fail
;
23202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23204 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
23205 result
= (wxDateSpan
*) &_result_ref
;
23208 wxPyEndAllowThreads(__tstate
);
23209 if (PyErr_Occurred()) SWIG_fail
;
23211 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23218 static PyObject
*_wrap_DateSpan___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23219 PyObject
*resultobj
;
23220 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23221 wxDateSpan
*arg2
= 0 ;
23222 wxDateSpan
*result
;
23223 PyObject
* obj0
= 0 ;
23224 PyObject
* obj1
= 0 ;
23225 char *kwnames
[] = {
23226 (char *) "self",(char *) "other", NULL
23229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
23230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23232 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23233 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23235 if (arg2
== NULL
) {
23236 PyErr_SetString(PyExc_TypeError
,"null reference");
23240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23242 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
23243 result
= (wxDateSpan
*) &_result_ref
;
23246 wxPyEndAllowThreads(__tstate
);
23247 if (PyErr_Occurred()) SWIG_fail
;
23249 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23256 static PyObject
*_wrap_DateSpan___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23257 PyObject
*resultobj
;
23258 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23259 wxDateSpan
*arg2
= 0 ;
23260 wxDateSpan
*result
;
23261 PyObject
* obj0
= 0 ;
23262 PyObject
* obj1
= 0 ;
23263 char *kwnames
[] = {
23264 (char *) "self",(char *) "other", NULL
23267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
23268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23270 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23271 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23273 if (arg2
== NULL
) {
23274 PyErr_SetString(PyExc_TypeError
,"null reference");
23278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23280 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
23281 result
= (wxDateSpan
*) &_result_ref
;
23284 wxPyEndAllowThreads(__tstate
);
23285 if (PyErr_Occurred()) SWIG_fail
;
23287 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23294 static PyObject
*_wrap_DateSpan___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23295 PyObject
*resultobj
;
23296 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23297 wxDateSpan
*result
;
23298 PyObject
* obj0
= 0 ;
23299 char *kwnames
[] = {
23300 (char *) "self", NULL
23303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan___neg__",kwnames
,&obj0
)) goto fail
;
23304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23309 wxDateSpan
&_result_ref
= (arg1
)->operator -();
23310 result
= (wxDateSpan
*) &_result_ref
;
23313 wxPyEndAllowThreads(__tstate
);
23314 if (PyErr_Occurred()) SWIG_fail
;
23316 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23323 static PyObject
*_wrap_DateSpan___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23324 PyObject
*resultobj
;
23325 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23327 wxDateSpan
*result
;
23328 PyObject
* obj0
= 0 ;
23329 PyObject
* obj1
= 0 ;
23330 char *kwnames
[] = {
23331 (char *) "self",(char *) "factor", NULL
23334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23337 arg2
= (int) SWIG_AsInt(obj1
);
23338 if (PyErr_Occurred()) SWIG_fail
;
23340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23342 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
23343 result
= (wxDateSpan
*) &_result_ref
;
23346 wxPyEndAllowThreads(__tstate
);
23347 if (PyErr_Occurred()) SWIG_fail
;
23349 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23356 static PyObject
*_wrap_DateSpan___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23357 PyObject
*resultobj
;
23358 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23359 wxDateSpan
*arg2
= 0 ;
23361 PyObject
* obj0
= 0 ;
23362 PyObject
* obj1
= 0 ;
23363 char *kwnames
[] = {
23364 (char *) "self",(char *) "other", NULL
23367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
23368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23370 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23371 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23373 if (arg2
== NULL
) {
23374 PyErr_SetString(PyExc_TypeError
,"null reference");
23378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23379 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
23381 wxPyEndAllowThreads(__tstate
);
23382 if (PyErr_Occurred()) SWIG_fail
;
23385 wxDateSpan
* resultptr
;
23386 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23387 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23395 static PyObject
*_wrap_DateSpan___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23396 PyObject
*resultobj
;
23397 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23398 wxDateSpan
*arg2
= 0 ;
23400 PyObject
* obj0
= 0 ;
23401 PyObject
* obj1
= 0 ;
23402 char *kwnames
[] = {
23403 (char *) "self",(char *) "other", NULL
23406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
23407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23409 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23410 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23412 if (arg2
== NULL
) {
23413 PyErr_SetString(PyExc_TypeError
,"null reference");
23417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23418 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
23420 wxPyEndAllowThreads(__tstate
);
23421 if (PyErr_Occurred()) SWIG_fail
;
23424 wxDateSpan
* resultptr
;
23425 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23426 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23434 static PyObject
*_wrap_DateSpan___mul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23435 PyObject
*resultobj
;
23436 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23439 PyObject
* obj0
= 0 ;
23440 PyObject
* obj1
= 0 ;
23441 char *kwnames
[] = {
23442 (char *) "self",(char *) "n", NULL
23445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23448 arg2
= (int) SWIG_AsInt(obj1
);
23449 if (PyErr_Occurred()) SWIG_fail
;
23451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23452 result
= wxDateSpan___mul__(arg1
,arg2
);
23454 wxPyEndAllowThreads(__tstate
);
23455 if (PyErr_Occurred()) SWIG_fail
;
23458 wxDateSpan
* resultptr
;
23459 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23460 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23468 static PyObject
*_wrap_DateSpan___rmul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23469 PyObject
*resultobj
;
23470 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23473 PyObject
* obj0
= 0 ;
23474 PyObject
* obj1
= 0 ;
23475 char *kwnames
[] = {
23476 (char *) "self",(char *) "n", NULL
23479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23482 arg2
= (int) SWIG_AsInt(obj1
);
23483 if (PyErr_Occurred()) SWIG_fail
;
23485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23486 result
= wxDateSpan___rmul__(arg1
,arg2
);
23488 wxPyEndAllowThreads(__tstate
);
23489 if (PyErr_Occurred()) SWIG_fail
;
23492 wxDateSpan
* resultptr
;
23493 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23494 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23502 static PyObject
*_wrap_DateSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23503 PyObject
*resultobj
;
23504 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23505 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
23507 PyObject
* obj0
= 0 ;
23508 PyObject
* obj1
= 0 ;
23509 char *kwnames
[] = {
23510 (char *) "self",(char *) "other", NULL
23513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
23514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23516 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23520 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const *)arg2
);
23522 wxPyEndAllowThreads(__tstate
);
23523 if (PyErr_Occurred()) SWIG_fail
;
23526 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23534 static PyObject
*_wrap_DateSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23535 PyObject
*resultobj
;
23536 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23537 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
23539 PyObject
* obj0
= 0 ;
23540 PyObject
* obj1
= 0 ;
23541 char *kwnames
[] = {
23542 (char *) "self",(char *) "other", NULL
23545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
23546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23548 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23552 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const *)arg2
);
23554 wxPyEndAllowThreads(__tstate
);
23555 if (PyErr_Occurred()) SWIG_fail
;
23558 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23566 static PyObject
* DateSpan_swigregister(PyObject
*self
, PyObject
*args
) {
23568 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23569 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan
, obj
);
23571 return Py_BuildValue((char *)"");
23573 static PyObject
*_wrap_GetLocalTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23574 PyObject
*resultobj
;
23576 char *kwnames
[] = {
23580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTime",kwnames
)) goto fail
;
23582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23583 result
= (long)wxGetLocalTime();
23585 wxPyEndAllowThreads(__tstate
);
23586 if (PyErr_Occurred()) SWIG_fail
;
23588 resultobj
= SWIG_FromLong((long)result
);
23595 static PyObject
*_wrap_GetUTCTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23596 PyObject
*resultobj
;
23598 char *kwnames
[] = {
23602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUTCTime",kwnames
)) goto fail
;
23604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23605 result
= (long)wxGetUTCTime();
23607 wxPyEndAllowThreads(__tstate
);
23608 if (PyErr_Occurred()) SWIG_fail
;
23610 resultobj
= SWIG_FromLong((long)result
);
23617 static PyObject
*_wrap_GetCurrentTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23618 PyObject
*resultobj
;
23620 char *kwnames
[] = {
23624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentTime",kwnames
)) goto fail
;
23626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23627 result
= (long)wxGetCurrentTime();
23629 wxPyEndAllowThreads(__tstate
);
23630 if (PyErr_Occurred()) SWIG_fail
;
23632 resultobj
= SWIG_FromLong((long)result
);
23639 static PyObject
*_wrap_GetLocalTimeMillis(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23640 PyObject
*resultobj
;
23642 char *kwnames
[] = {
23646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTimeMillis",kwnames
)) goto fail
;
23648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23649 result
= wxGetLocalTimeMillis();
23651 wxPyEndAllowThreads(__tstate
);
23652 if (PyErr_Occurred()) SWIG_fail
;
23655 PyObject
*hi
, *lo
, *shifter
, *shifted
;
23656 hi
= PyLong_FromLong( (&result
)->GetHi() );
23657 lo
= PyLong_FromLong( (&result
)->GetLo() );
23658 shifter
= PyLong_FromLong(32);
23659 shifted
= PyNumber_Lshift(hi
, shifter
);
23660 resultobj
= PyNumber_Or(shifted
, lo
);
23663 Py_DECREF(shifter
);
23664 Py_DECREF(shifted
);
23672 static int _wrap_DefaultDateTime_set(PyObject
*_val
) {
23673 PyErr_SetString(PyExc_TypeError
,"Variable DefaultDateTime is read-only.");
23678 static PyObject
*_wrap_DefaultDateTime_get() {
23681 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultDateTime
), SWIGTYPE_p_wxDateTime
, 0);
23686 static PyObject
*_wrap_new_DataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23687 PyObject
*resultobj
;
23689 wxDataFormat
*result
;
23690 PyObject
* obj0
= 0 ;
23691 char *kwnames
[] = {
23692 (char *) "type", NULL
23695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) goto fail
;
23696 arg1
= (wxDataFormatId
) SWIG_AsInt(obj0
);
23697 if (PyErr_Occurred()) SWIG_fail
;
23699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23700 result
= (wxDataFormat
*)new wxDataFormat((wxDataFormatId
)arg1
);
23702 wxPyEndAllowThreads(__tstate
);
23703 if (PyErr_Occurred()) SWIG_fail
;
23705 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
23712 static PyObject
*_wrap_new_CustomDataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23713 PyObject
*resultobj
;
23714 wxString
*arg1
= 0 ;
23715 wxDataFormat
*result
;
23716 bool temp1
= False
;
23717 PyObject
* obj0
= 0 ;
23718 char *kwnames
[] = {
23719 (char *) "format", NULL
23722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) goto fail
;
23724 arg1
= wxString_in_helper(obj0
);
23725 if (arg1
== NULL
) SWIG_fail
;
23729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23730 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
23732 wxPyEndAllowThreads(__tstate
);
23733 if (PyErr_Occurred()) SWIG_fail
;
23735 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
23750 static PyObject
*_wrap_delete_DataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23751 PyObject
*resultobj
;
23752 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23753 PyObject
* obj0
= 0 ;
23754 char *kwnames
[] = {
23755 (char *) "self", NULL
23758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataFormat",kwnames
,&obj0
)) goto fail
;
23759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23765 wxPyEndAllowThreads(__tstate
);
23766 if (PyErr_Occurred()) SWIG_fail
;
23768 Py_INCREF(Py_None
); resultobj
= Py_None
;
23775 static PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*self
, PyObject
*args
) {
23776 PyObject
*resultobj
;
23777 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23780 PyObject
* obj0
= 0 ;
23781 PyObject
* obj1
= 0 ;
23783 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
23784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23786 arg2
= (wxDataFormatId
) SWIG_AsInt(obj1
);
23787 if (PyErr_Occurred()) SWIG_fail
;
23789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23790 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormatId
)arg2
);
23792 wxPyEndAllowThreads(__tstate
);
23793 if (PyErr_Occurred()) SWIG_fail
;
23796 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23804 static PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*self
, PyObject
*args
) {
23805 PyObject
*resultobj
;
23806 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23809 PyObject
* obj0
= 0 ;
23810 PyObject
* obj1
= 0 ;
23812 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
23813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23815 arg2
= (wxDataFormatId
) SWIG_AsInt(obj1
);
23816 if (PyErr_Occurred()) SWIG_fail
;
23818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23819 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormatId
)arg2
);
23821 wxPyEndAllowThreads(__tstate
);
23822 if (PyErr_Occurred()) SWIG_fail
;
23825 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23833 static PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*self
, PyObject
*args
) {
23834 PyObject
*resultobj
;
23835 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23836 wxDataFormat
*arg2
= 0 ;
23838 PyObject
* obj0
= 0 ;
23839 PyObject
* obj1
= 0 ;
23841 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
23842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23844 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
23845 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23847 if (arg2
== NULL
) {
23848 PyErr_SetString(PyExc_TypeError
,"null reference");
23852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23853 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
23855 wxPyEndAllowThreads(__tstate
);
23856 if (PyErr_Occurred()) SWIG_fail
;
23859 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23867 static PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
23872 argc
= PyObject_Length(args
);
23873 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
23874 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23880 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
23890 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
23898 return _wrap_DataFormat___eq____SWIG_1(self
,args
);
23906 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
23914 _v
= SWIG_CheckInt(argv
[1]);
23916 return _wrap_DataFormat___eq____SWIG_0(self
,args
);
23921 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___eq__'");
23926 static PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*self
, PyObject
*args
) {
23927 PyObject
*resultobj
;
23928 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23929 wxDataFormat
*arg2
= 0 ;
23931 PyObject
* obj0
= 0 ;
23932 PyObject
* obj1
= 0 ;
23934 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
23935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23937 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
23938 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23940 if (arg2
== NULL
) {
23941 PyErr_SetString(PyExc_TypeError
,"null reference");
23945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23946 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
23948 wxPyEndAllowThreads(__tstate
);
23949 if (PyErr_Occurred()) SWIG_fail
;
23952 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23960 static PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
23965 argc
= PyObject_Length(args
);
23966 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
23967 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23973 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
23983 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
23991 return _wrap_DataFormat___ne____SWIG_1(self
,args
);
23999 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24007 _v
= SWIG_CheckInt(argv
[1]);
24009 return _wrap_DataFormat___ne____SWIG_0(self
,args
);
24014 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___ne__'");
24019 static PyObject
*_wrap_DataFormat_SetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24020 PyObject
*resultobj
;
24021 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24023 PyObject
* obj0
= 0 ;
24024 PyObject
* obj1
= 0 ;
24025 char *kwnames
[] = {
24026 (char *) "self",(char *) "format", NULL
24029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
24030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24032 arg2
= (wxDataFormatId
) SWIG_AsInt(obj1
);
24033 if (PyErr_Occurred()) SWIG_fail
;
24035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24036 (arg1
)->SetType((wxDataFormatId
)arg2
);
24038 wxPyEndAllowThreads(__tstate
);
24039 if (PyErr_Occurred()) SWIG_fail
;
24041 Py_INCREF(Py_None
); resultobj
= Py_None
;
24048 static PyObject
*_wrap_DataFormat_GetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24049 PyObject
*resultobj
;
24050 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24052 PyObject
* obj0
= 0 ;
24053 char *kwnames
[] = {
24054 (char *) "self", NULL
24057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetType",kwnames
,&obj0
)) goto fail
;
24058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24062 result
= (int)((wxDataFormat
const *)arg1
)->GetType();
24064 wxPyEndAllowThreads(__tstate
);
24065 if (PyErr_Occurred()) SWIG_fail
;
24067 resultobj
= SWIG_FromInt((int)result
);
24074 static PyObject
*_wrap_DataFormat_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24075 PyObject
*resultobj
;
24076 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24078 PyObject
* obj0
= 0 ;
24079 char *kwnames
[] = {
24080 (char *) "self", NULL
24083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetId",kwnames
,&obj0
)) goto fail
;
24084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24088 result
= ((wxDataFormat
const *)arg1
)->GetId();
24090 wxPyEndAllowThreads(__tstate
);
24091 if (PyErr_Occurred()) SWIG_fail
;
24095 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24097 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24106 static PyObject
*_wrap_DataFormat_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24107 PyObject
*resultobj
;
24108 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24109 wxString
*arg2
= 0 ;
24110 bool temp2
= False
;
24111 PyObject
* obj0
= 0 ;
24112 PyObject
* obj1
= 0 ;
24113 char *kwnames
[] = {
24114 (char *) "self",(char *) "format", NULL
24117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
24118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24121 arg2
= wxString_in_helper(obj1
);
24122 if (arg2
== NULL
) SWIG_fail
;
24126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24127 (arg1
)->SetId((wxString
const &)*arg2
);
24129 wxPyEndAllowThreads(__tstate
);
24130 if (PyErr_Occurred()) SWIG_fail
;
24132 Py_INCREF(Py_None
); resultobj
= Py_None
;
24147 static PyObject
* DataFormat_swigregister(PyObject
*self
, PyObject
*args
) {
24149 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24150 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat
, obj
);
24152 return Py_BuildValue((char *)"");
24154 static int _wrap_FormatInvalid_set(PyObject
*_val
) {
24155 PyErr_SetString(PyExc_TypeError
,"Variable FormatInvalid is read-only.");
24160 static PyObject
*_wrap_FormatInvalid_get() {
24163 pyobj
= SWIG_NewPointerObj((void *)(&wxFormatInvalid
), SWIGTYPE_p_wxDataFormat
, 0);
24168 static PyObject
*_wrap_delete_DataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24169 PyObject
*resultobj
;
24170 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24171 PyObject
* obj0
= 0 ;
24172 char *kwnames
[] = {
24173 (char *) "self", NULL
24176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataObject",kwnames
,&obj0
)) goto fail
;
24177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24183 wxPyEndAllowThreads(__tstate
);
24184 if (PyErr_Occurred()) SWIG_fail
;
24186 Py_INCREF(Py_None
); resultobj
= Py_None
;
24193 static PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24194 PyObject
*resultobj
;
24195 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24196 int arg2
= (int) wxDataObject::Get
;
24197 SwigValueWrapper
< wxDataFormat
> result
;
24198 PyObject
* obj0
= 0 ;
24199 PyObject
* obj1
= 0 ;
24200 char *kwnames
[] = {
24201 (char *) "self",(char *) "dir", NULL
24204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
24205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24208 arg2
= (wxDataObject::Direction
) SWIG_AsInt(obj1
);
24209 if (PyErr_Occurred()) SWIG_fail
;
24212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24213 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat((wxDataObject::Direction
)arg2
);
24215 wxPyEndAllowThreads(__tstate
);
24216 if (PyErr_Occurred()) SWIG_fail
;
24219 wxDataFormat
* resultptr
;
24220 resultptr
= new wxDataFormat((wxDataFormat
&) result
);
24221 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDataFormat
, 1);
24229 static PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24230 PyObject
*resultobj
;
24231 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24232 int arg2
= (int) wxDataObject::Get
;
24234 PyObject
* obj0
= 0 ;
24235 PyObject
* obj1
= 0 ;
24236 char *kwnames
[] = {
24237 (char *) "self",(char *) "dir", NULL
24240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) goto fail
;
24241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24244 arg2
= (wxDataObject::Direction
) SWIG_AsInt(obj1
);
24245 if (PyErr_Occurred()) SWIG_fail
;
24248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24249 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount((wxDataObject::Direction
)arg2
);
24251 wxPyEndAllowThreads(__tstate
);
24252 if (PyErr_Occurred()) SWIG_fail
;
24254 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24261 static PyObject
*_wrap_DataObject_IsSupported(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24262 PyObject
*resultobj
;
24263 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24264 wxDataFormat
*arg2
= 0 ;
24265 int arg3
= (int) wxDataObject::Get
;
24267 PyObject
* obj0
= 0 ;
24268 PyObject
* obj1
= 0 ;
24269 PyObject
* obj2
= 0 ;
24270 char *kwnames
[] = {
24271 (char *) "self",(char *) "format",(char *) "dir", NULL
24274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24277 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24278 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24280 if (arg2
== NULL
) {
24281 PyErr_SetString(PyExc_TypeError
,"null reference");
24285 arg3
= (wxDataObject::Direction
) SWIG_AsInt(obj2
);
24286 if (PyErr_Occurred()) SWIG_fail
;
24289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24290 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,(wxDataObject::Direction
)arg3
);
24292 wxPyEndAllowThreads(__tstate
);
24293 if (PyErr_Occurred()) SWIG_fail
;
24296 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24304 static PyObject
*_wrap_DataObject_GetDataSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24305 PyObject
*resultobj
;
24306 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24307 wxDataFormat
*arg2
= 0 ;
24309 PyObject
* obj0
= 0 ;
24310 PyObject
* obj1
= 0 ;
24311 char *kwnames
[] = {
24312 (char *) "self",(char *) "format", NULL
24315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) goto fail
;
24316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24318 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24319 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24321 if (arg2
== NULL
) {
24322 PyErr_SetString(PyExc_TypeError
,"null reference");
24326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24327 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
24329 wxPyEndAllowThreads(__tstate
);
24330 if (PyErr_Occurred()) SWIG_fail
;
24332 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24339 static PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24340 PyObject
*resultobj
;
24341 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24342 wxDataFormat
*arg2
= (wxDataFormat
*) 0 ;
24343 int arg3
= (int) wxDataObject::Get
;
24344 PyObject
* obj0
= 0 ;
24345 PyObject
* obj1
= 0 ;
24346 PyObject
* obj2
= 0 ;
24347 char *kwnames
[] = {
24348 (char *) "self",(char *) "formats",(char *) "dir", NULL
24351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24354 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24357 arg3
= (wxDataObject::Direction
) SWIG_AsInt(obj2
);
24358 if (PyErr_Occurred()) SWIG_fail
;
24361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24362 ((wxDataObject
const *)arg1
)->GetAllFormats(arg2
,(wxDataObject::Direction
)arg3
);
24364 wxPyEndAllowThreads(__tstate
);
24365 if (PyErr_Occurred()) SWIG_fail
;
24367 Py_INCREF(Py_None
); resultobj
= Py_None
;
24374 static PyObject
*_wrap_DataObject_GetDataHere(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24375 PyObject
*resultobj
;
24376 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24377 wxDataFormat
*arg2
= 0 ;
24378 void *arg3
= (void *) 0 ;
24380 PyObject
* obj0
= 0 ;
24381 PyObject
* obj1
= 0 ;
24382 PyObject
* obj2
= 0 ;
24383 char *kwnames
[] = {
24384 (char *) "self",(char *) "format",(char *) "buf", NULL
24387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24390 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24391 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24393 if (arg2
== NULL
) {
24394 PyErr_SetString(PyExc_TypeError
,"null reference");
24397 if ((SWIG_ConvertPtr(obj2
,&arg3
,0,SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24400 result
= (bool)((wxDataObject
const *)arg1
)->GetDataHere((wxDataFormat
const &)*arg2
,arg3
);
24402 wxPyEndAllowThreads(__tstate
);
24403 if (PyErr_Occurred()) SWIG_fail
;
24406 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24414 static PyObject
*_wrap_DataObject_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24415 PyObject
*resultobj
;
24416 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24417 wxDataFormat
*arg2
= 0 ;
24419 void *arg4
= (void *) 0 ;
24421 PyObject
* obj0
= 0 ;
24422 PyObject
* obj1
= 0 ;
24423 PyObject
* obj2
= 0 ;
24424 PyObject
* obj3
= 0 ;
24425 char *kwnames
[] = {
24426 (char *) "self",(char *) "format",(char *) "len",(char *) "buf", NULL
24429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24432 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24433 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24435 if (arg2
== NULL
) {
24436 PyErr_SetString(PyExc_TypeError
,"null reference");
24439 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
24440 if (PyErr_Occurred()) SWIG_fail
;
24441 if ((SWIG_ConvertPtr(obj3
,&arg4
,0,SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24444 result
= (bool)(arg1
)->SetData((wxDataFormat
const &)*arg2
,arg3
,(void const *)arg4
);
24446 wxPyEndAllowThreads(__tstate
);
24447 if (PyErr_Occurred()) SWIG_fail
;
24450 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24458 static PyObject
* DataObject_swigregister(PyObject
*self
, PyObject
*args
) {
24460 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24461 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject
, obj
);
24463 return Py_BuildValue((char *)"");
24465 static PyObject
*_wrap_new_DataObjectSimple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24466 PyObject
*resultobj
;
24467 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
24468 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
24469 wxDataObjectSimple
*result
;
24470 PyObject
* obj0
= 0 ;
24471 char *kwnames
[] = {
24472 (char *) "format", NULL
24475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) goto fail
;
24477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24478 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24480 if (arg1
== NULL
) {
24481 PyErr_SetString(PyExc_TypeError
,"null reference");
24486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24487 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
24489 wxPyEndAllowThreads(__tstate
);
24490 if (PyErr_Occurred()) SWIG_fail
;
24492 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectSimple
, 1);
24499 static PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24500 PyObject
*resultobj
;
24501 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24502 wxDataFormat
*result
;
24503 PyObject
* obj0
= 0 ;
24504 char *kwnames
[] = {
24505 (char *) "self", NULL
24508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetFormat",kwnames
,&obj0
)) goto fail
;
24509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24514 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
24515 result
= (wxDataFormat
*) &_result_ref
;
24518 wxPyEndAllowThreads(__tstate
);
24519 if (PyErr_Occurred()) SWIG_fail
;
24521 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 0);
24528 static PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24529 PyObject
*resultobj
;
24530 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24531 wxDataFormat
*arg2
= 0 ;
24532 PyObject
* obj0
= 0 ;
24533 PyObject
* obj1
= 0 ;
24534 char *kwnames
[] = {
24535 (char *) "self",(char *) "format", NULL
24538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
24539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24541 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24542 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24544 if (arg2
== NULL
) {
24545 PyErr_SetString(PyExc_TypeError
,"null reference");
24549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24550 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
24552 wxPyEndAllowThreads(__tstate
);
24553 if (PyErr_Occurred()) SWIG_fail
;
24555 Py_INCREF(Py_None
); resultobj
= Py_None
;
24562 static PyObject
* DataObjectSimple_swigregister(PyObject
*self
, PyObject
*args
) {
24564 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24565 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple
, obj
);
24567 return Py_BuildValue((char *)"");
24569 static PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24570 PyObject
*resultobj
;
24571 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
24572 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
24573 wxPyDataObjectSimple
*result
;
24574 PyObject
* obj0
= 0 ;
24575 char *kwnames
[] = {
24576 (char *) "format", NULL
24579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) goto fail
;
24581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24582 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24584 if (arg1
== NULL
) {
24585 PyErr_SetString(PyExc_TypeError
,"null reference");
24590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24591 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
24593 wxPyEndAllowThreads(__tstate
);
24594 if (PyErr_Occurred()) SWIG_fail
;
24596 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDataObjectSimple
, 1);
24603 static PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24604 PyObject
*resultobj
;
24605 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
24606 PyObject
*arg2
= (PyObject
*) 0 ;
24607 PyObject
*arg3
= (PyObject
*) 0 ;
24608 PyObject
* obj0
= 0 ;
24609 PyObject
* obj1
= 0 ;
24610 PyObject
* obj2
= 0 ;
24611 char *kwnames
[] = {
24612 (char *) "self",(char *) "self",(char *) "_class", NULL
24615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDataObjectSimple
,
24617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24622 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24624 wxPyEndAllowThreads(__tstate
);
24625 if (PyErr_Occurred()) SWIG_fail
;
24627 Py_INCREF(Py_None
); resultobj
= Py_None
;
24634 static PyObject
* PyDataObjectSimple_swigregister(PyObject
*self
, PyObject
*args
) {
24636 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24637 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple
, obj
);
24639 return Py_BuildValue((char *)"");
24641 static PyObject
*_wrap_new_DataObjectComposite(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24642 PyObject
*resultobj
;
24643 wxDataObjectComposite
*result
;
24644 char *kwnames
[] = {
24648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DataObjectComposite",kwnames
)) goto fail
;
24650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24651 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
24653 wxPyEndAllowThreads(__tstate
);
24654 if (PyErr_Occurred()) SWIG_fail
;
24656 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectComposite
, 1);
24663 static PyObject
*_wrap_DataObjectComposite_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24664 PyObject
*resultobj
;
24665 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
24666 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
24667 int arg3
= (int) False
;
24668 PyObject
* obj0
= 0 ;
24669 PyObject
* obj1
= 0 ;
24670 PyObject
* obj2
= 0 ;
24671 char *kwnames
[] = {
24672 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
24675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectComposite
,
24677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24678 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObjectSimple
,
24679 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24681 arg3
= (int) SWIG_AsInt(obj2
);
24682 if (PyErr_Occurred()) SWIG_fail
;
24685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24686 (arg1
)->Add(arg2
,arg3
);
24688 wxPyEndAllowThreads(__tstate
);
24689 if (PyErr_Occurred()) SWIG_fail
;
24691 Py_INCREF(Py_None
); resultobj
= Py_None
;
24698 static PyObject
* DataObjectComposite_swigregister(PyObject
*self
, PyObject
*args
) {
24700 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24701 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite
, obj
);
24703 return Py_BuildValue((char *)"");
24705 static PyObject
*_wrap_new_TextDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24706 PyObject
*resultobj
;
24707 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24708 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24709 wxTextDataObject
*result
;
24710 bool temp1
= False
;
24711 PyObject
* obj0
= 0 ;
24712 char *kwnames
[] = {
24713 (char *) "text", NULL
24716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) goto fail
;
24719 arg1
= wxString_in_helper(obj0
);
24720 if (arg1
== NULL
) SWIG_fail
;
24725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24726 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
24728 wxPyEndAllowThreads(__tstate
);
24729 if (PyErr_Occurred()) SWIG_fail
;
24731 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextDataObject
, 1);
24746 static PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24747 PyObject
*resultobj
;
24748 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
24750 PyObject
* obj0
= 0 ;
24751 char *kwnames
[] = {
24752 (char *) "self", NULL
24755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetTextLength",kwnames
,&obj0
)) goto fail
;
24756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
24757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24760 result
= (size_t)(arg1
)->GetTextLength();
24762 wxPyEndAllowThreads(__tstate
);
24763 if (PyErr_Occurred()) SWIG_fail
;
24765 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24772 static PyObject
*_wrap_TextDataObject_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24773 PyObject
*resultobj
;
24774 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
24776 PyObject
* obj0
= 0 ;
24777 char *kwnames
[] = {
24778 (char *) "self", NULL
24781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetText",kwnames
,&obj0
)) goto fail
;
24782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
24783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24786 result
= (arg1
)->GetText();
24788 wxPyEndAllowThreads(__tstate
);
24789 if (PyErr_Occurred()) SWIG_fail
;
24793 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24795 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24804 static PyObject
*_wrap_TextDataObject_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24805 PyObject
*resultobj
;
24806 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
24807 wxString
*arg2
= 0 ;
24808 bool temp2
= False
;
24809 PyObject
* obj0
= 0 ;
24810 PyObject
* obj1
= 0 ;
24811 char *kwnames
[] = {
24812 (char *) "self",(char *) "text", NULL
24815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
24816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
24817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24819 arg2
= wxString_in_helper(obj1
);
24820 if (arg2
== NULL
) SWIG_fail
;
24824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24825 (arg1
)->SetText((wxString
const &)*arg2
);
24827 wxPyEndAllowThreads(__tstate
);
24828 if (PyErr_Occurred()) SWIG_fail
;
24830 Py_INCREF(Py_None
); resultobj
= Py_None
;
24845 static PyObject
* TextDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
24847 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24848 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject
, obj
);
24850 return Py_BuildValue((char *)"");
24852 static PyObject
*_wrap_new_PyTextDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24853 PyObject
*resultobj
;
24854 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24855 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24856 wxPyTextDataObject
*result
;
24857 bool temp1
= False
;
24858 PyObject
* obj0
= 0 ;
24859 char *kwnames
[] = {
24860 (char *) "text", NULL
24863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) goto fail
;
24866 arg1
= wxString_in_helper(obj0
);
24867 if (arg1
== NULL
) SWIG_fail
;
24872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24873 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
24875 wxPyEndAllowThreads(__tstate
);
24876 if (PyErr_Occurred()) SWIG_fail
;
24878 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDataObject
, 1);
24893 static PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24894 PyObject
*resultobj
;
24895 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
24896 PyObject
*arg2
= (PyObject
*) 0 ;
24897 PyObject
*arg3
= (PyObject
*) 0 ;
24898 PyObject
* obj0
= 0 ;
24899 PyObject
* obj1
= 0 ;
24900 PyObject
* obj2
= 0 ;
24901 char *kwnames
[] = {
24902 (char *) "self",(char *) "self",(char *) "_class", NULL
24905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDataObject
,
24907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24912 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24914 wxPyEndAllowThreads(__tstate
);
24915 if (PyErr_Occurred()) SWIG_fail
;
24917 Py_INCREF(Py_None
); resultobj
= Py_None
;
24924 static PyObject
* PyTextDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
24926 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24927 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject
, obj
);
24929 return Py_BuildValue((char *)"");
24931 static PyObject
*_wrap_new_BitmapDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24932 PyObject
*resultobj
;
24933 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
24934 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
24935 wxBitmapDataObject
*result
;
24936 PyObject
* obj0
= 0 ;
24937 char *kwnames
[] = {
24938 (char *) "bitmap", NULL
24941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) goto fail
;
24943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
24944 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24946 if (arg1
== NULL
) {
24947 PyErr_SetString(PyExc_TypeError
,"null reference");
24952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24953 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
24955 wxPyEndAllowThreads(__tstate
);
24956 if (PyErr_Occurred()) SWIG_fail
;
24958 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapDataObject
, 1);
24965 static PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24966 PyObject
*resultobj
;
24967 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
24969 PyObject
* obj0
= 0 ;
24970 char *kwnames
[] = {
24971 (char *) "self", NULL
24974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapDataObject_GetBitmap",kwnames
,&obj0
)) goto fail
;
24975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapDataObject
,
24976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24979 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
24981 wxPyEndAllowThreads(__tstate
);
24982 if (PyErr_Occurred()) SWIG_fail
;
24985 wxBitmap
* resultptr
;
24986 resultptr
= new wxBitmap((wxBitmap
&) result
);
24987 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
24995 static PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24996 PyObject
*resultobj
;
24997 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
24998 wxBitmap
*arg2
= 0 ;
24999 PyObject
* obj0
= 0 ;
25000 PyObject
* obj1
= 0 ;
25001 char *kwnames
[] = {
25002 (char *) "self",(char *) "bitmap", NULL
25005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
25006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapDataObject
,
25007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25008 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
25009 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25011 if (arg2
== NULL
) {
25012 PyErr_SetString(PyExc_TypeError
,"null reference");
25016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25017 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
25019 wxPyEndAllowThreads(__tstate
);
25020 if (PyErr_Occurred()) SWIG_fail
;
25022 Py_INCREF(Py_None
); resultobj
= Py_None
;
25029 static PyObject
* BitmapDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25031 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25032 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject
, obj
);
25034 return Py_BuildValue((char *)"");
25036 static PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25037 PyObject
*resultobj
;
25038 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
25039 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
25040 wxPyBitmapDataObject
*result
;
25041 PyObject
* obj0
= 0 ;
25042 char *kwnames
[] = {
25043 (char *) "bitmap", NULL
25046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) goto fail
;
25048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
25049 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25051 if (arg1
== NULL
) {
25052 PyErr_SetString(PyExc_TypeError
,"null reference");
25057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25058 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
25060 wxPyEndAllowThreads(__tstate
);
25061 if (PyErr_Occurred()) SWIG_fail
;
25063 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyBitmapDataObject
, 1);
25070 static PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25071 PyObject
*resultobj
;
25072 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
25073 PyObject
*arg2
= (PyObject
*) 0 ;
25074 PyObject
*arg3
= (PyObject
*) 0 ;
25075 PyObject
* obj0
= 0 ;
25076 PyObject
* obj1
= 0 ;
25077 PyObject
* obj2
= 0 ;
25078 char *kwnames
[] = {
25079 (char *) "self",(char *) "self",(char *) "_class", NULL
25082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapDataObject
,
25084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25089 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25091 wxPyEndAllowThreads(__tstate
);
25092 if (PyErr_Occurred()) SWIG_fail
;
25094 Py_INCREF(Py_None
); resultobj
= Py_None
;
25101 static PyObject
* PyBitmapDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25103 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25104 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject
, obj
);
25106 return Py_BuildValue((char *)"");
25108 static PyObject
*_wrap_new_FileDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25109 PyObject
*resultobj
;
25110 wxFileDataObject
*result
;
25111 char *kwnames
[] = {
25115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDataObject",kwnames
)) goto fail
;
25117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25118 result
= (wxFileDataObject
*)new wxFileDataObject();
25120 wxPyEndAllowThreads(__tstate
);
25121 if (PyErr_Occurred()) SWIG_fail
;
25123 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDataObject
, 1);
25130 static PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25131 PyObject
*resultobj
;
25132 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
25133 wxArrayString
*result
;
25134 PyObject
* obj0
= 0 ;
25135 char *kwnames
[] = {
25136 (char *) "self", NULL
25139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDataObject_GetFilenames",kwnames
,&obj0
)) goto fail
;
25140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDataObject
,
25141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25145 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
25146 result
= (wxArrayString
*) &_result_ref
;
25149 wxPyEndAllowThreads(__tstate
);
25150 if (PyErr_Occurred()) SWIG_fail
;
25153 resultobj
= wxArrayString2PyList_helper(*result
);
25161 static PyObject
*_wrap_FileDataObject_AddFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25162 PyObject
*resultobj
;
25163 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
25164 wxString
*arg2
= 0 ;
25165 bool temp2
= False
;
25166 PyObject
* obj0
= 0 ;
25167 PyObject
* obj1
= 0 ;
25168 char *kwnames
[] = {
25169 (char *) "self",(char *) "filename", NULL
25172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDataObject_AddFile",kwnames
,&obj0
,&obj1
)) goto fail
;
25173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDataObject
,
25174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25176 arg2
= wxString_in_helper(obj1
);
25177 if (arg2
== NULL
) SWIG_fail
;
25181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25182 (arg1
)->AddFile((wxString
const &)*arg2
);
25184 wxPyEndAllowThreads(__tstate
);
25185 if (PyErr_Occurred()) SWIG_fail
;
25187 Py_INCREF(Py_None
); resultobj
= Py_None
;
25202 static PyObject
* FileDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25204 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25205 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject
, obj
);
25207 return Py_BuildValue((char *)"");
25209 static PyObject
*_wrap_new_CustomDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25210 PyObject
*resultobj
;
25211 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
25212 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
25213 wxCustomDataObject
*result
;
25214 PyObject
* obj0
= 0 ;
25215 char *kwnames
[] = {
25216 (char *) "format", NULL
25219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CustomDataObject",kwnames
,&obj0
)) goto fail
;
25221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
25222 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25224 if (arg1
== NULL
) {
25225 PyErr_SetString(PyExc_TypeError
,"null reference");
25230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25231 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
25233 wxPyEndAllowThreads(__tstate
);
25234 if (PyErr_Occurred()) SWIG_fail
;
25236 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
25243 static PyObject
*_wrap_CustomDataObject_TakeData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25244 PyObject
*resultobj
;
25245 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25246 PyObject
*arg2
= (PyObject
*) 0 ;
25247 PyObject
* obj0
= 0 ;
25248 PyObject
* obj1
= 0 ;
25249 char *kwnames
[] = {
25250 (char *) "self",(char *) "data", NULL
25253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_TakeData",kwnames
,&obj0
,&obj1
)) goto fail
;
25254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25259 wxCustomDataObject_TakeData(arg1
,arg2
);
25261 wxPyEndAllowThreads(__tstate
);
25262 if (PyErr_Occurred()) SWIG_fail
;
25264 Py_INCREF(Py_None
); resultobj
= Py_None
;
25271 static PyObject
*_wrap_CustomDataObject_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25272 PyObject
*resultobj
;
25273 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25274 PyObject
*arg2
= (PyObject
*) 0 ;
25276 PyObject
* obj0
= 0 ;
25277 PyObject
* obj1
= 0 ;
25278 char *kwnames
[] = {
25279 (char *) "self",(char *) "data", NULL
25282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
25283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25288 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
25290 wxPyEndAllowThreads(__tstate
);
25291 if (PyErr_Occurred()) SWIG_fail
;
25294 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25302 static PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25303 PyObject
*resultobj
;
25304 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25306 PyObject
* obj0
= 0 ;
25307 char *kwnames
[] = {
25308 (char *) "self", NULL
25311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetSize",kwnames
,&obj0
)) goto fail
;
25312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25316 result
= (size_t)(arg1
)->GetSize();
25318 wxPyEndAllowThreads(__tstate
);
25319 if (PyErr_Occurred()) SWIG_fail
;
25321 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
25328 static PyObject
*_wrap_CustomDataObject_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25329 PyObject
*resultobj
;
25330 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25332 PyObject
* obj0
= 0 ;
25333 char *kwnames
[] = {
25334 (char *) "self", NULL
25337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetData",kwnames
,&obj0
)) goto fail
;
25338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25342 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
25344 wxPyEndAllowThreads(__tstate
);
25345 if (PyErr_Occurred()) SWIG_fail
;
25347 resultobj
= result
;
25354 static PyObject
* CustomDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25356 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25357 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject
, obj
);
25359 return Py_BuildValue((char *)"");
25361 static PyObject
*_wrap_new_URLDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25362 PyObject
*resultobj
;
25363 wxURLDataObject
*result
;
25364 char *kwnames
[] = {
25368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_URLDataObject",kwnames
)) goto fail
;
25370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25371 result
= (wxURLDataObject
*)new wxURLDataObject();
25373 wxPyEndAllowThreads(__tstate
);
25374 if (PyErr_Occurred()) SWIG_fail
;
25376 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxURLDataObject
, 1);
25383 static PyObject
*_wrap_URLDataObject_GetURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25384 PyObject
*resultobj
;
25385 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
25387 PyObject
* obj0
= 0 ;
25388 char *kwnames
[] = {
25389 (char *) "self", NULL
25392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:URLDataObject_GetURL",kwnames
,&obj0
)) goto fail
;
25393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxURLDataObject
,
25394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25397 result
= (arg1
)->GetURL();
25399 wxPyEndAllowThreads(__tstate
);
25400 if (PyErr_Occurred()) SWIG_fail
;
25404 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25406 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25415 static PyObject
*_wrap_URLDataObject_SetURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25416 PyObject
*resultobj
;
25417 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
25418 wxString
*arg2
= 0 ;
25419 bool temp2
= False
;
25420 PyObject
* obj0
= 0 ;
25421 PyObject
* obj1
= 0 ;
25422 char *kwnames
[] = {
25423 (char *) "self",(char *) "url", NULL
25426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) goto fail
;
25427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxURLDataObject
,
25428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25430 arg2
= wxString_in_helper(obj1
);
25431 if (arg2
== NULL
) SWIG_fail
;
25435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25436 (arg1
)->SetURL((wxString
const &)*arg2
);
25438 wxPyEndAllowThreads(__tstate
);
25439 if (PyErr_Occurred()) SWIG_fail
;
25441 Py_INCREF(Py_None
); resultobj
= Py_None
;
25456 static PyObject
* URLDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25458 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25459 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject
, obj
);
25461 return Py_BuildValue((char *)"");
25463 static PyObject
*_wrap_new_MetafileDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25464 PyObject
*resultobj
;
25465 wxMetafileDataObject
*result
;
25466 char *kwnames
[] = {
25470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MetafileDataObject",kwnames
)) goto fail
;
25472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25473 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
25475 wxPyEndAllowThreads(__tstate
);
25476 if (PyErr_Occurred()) SWIG_fail
;
25478 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetafileDataObject
, 1);
25485 static PyObject
*_wrap_MetafileDataObject_SetMetafile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25486 PyObject
*resultobj
;
25487 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
25488 wxMetafile
*arg2
= 0 ;
25489 PyObject
* obj0
= 0 ;
25490 PyObject
* obj1
= 0 ;
25491 char *kwnames
[] = {
25492 (char *) "self",(char *) "metafile", NULL
25495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MetafileDataObject_SetMetafile",kwnames
,&obj0
,&obj1
)) goto fail
;
25496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetafileDataObject
,
25497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25498 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMetafile
,
25499 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25501 if (arg2
== NULL
) {
25502 PyErr_SetString(PyExc_TypeError
,"null reference");
25506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25507 (arg1
)->SetMetafile((wxMetafile
const &)*arg2
);
25509 wxPyEndAllowThreads(__tstate
);
25510 if (PyErr_Occurred()) SWIG_fail
;
25512 Py_INCREF(Py_None
); resultobj
= Py_None
;
25519 static PyObject
*_wrap_MetafileDataObject_GetMetafile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25520 PyObject
*resultobj
;
25521 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
25523 PyObject
* obj0
= 0 ;
25524 char *kwnames
[] = {
25525 (char *) "self", NULL
25528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetafileDataObject_GetMetafile",kwnames
,&obj0
)) goto fail
;
25529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetafileDataObject
,
25530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25533 result
= ((wxMetafileDataObject
const *)arg1
)->GetMetafile();
25535 wxPyEndAllowThreads(__tstate
);
25536 if (PyErr_Occurred()) SWIG_fail
;
25539 wxMetafile
* resultptr
;
25540 resultptr
= new wxMetafile((wxMetafile
&) result
);
25541 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxMetafile
, 1);
25549 static PyObject
* MetafileDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25551 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25552 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject
, obj
);
25554 return Py_BuildValue((char *)"");
25556 static PyObject
*_wrap_IsDragResultOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25557 PyObject
*resultobj
;
25560 PyObject
* obj0
= 0 ;
25561 char *kwnames
[] = {
25562 (char *) "res", NULL
25565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) goto fail
;
25566 arg1
= (wxDragResult
) SWIG_AsInt(obj0
);
25567 if (PyErr_Occurred()) SWIG_fail
;
25569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25570 result
= (bool)wxIsDragResultOk((wxDragResult
)arg1
);
25572 wxPyEndAllowThreads(__tstate
);
25573 if (PyErr_Occurred()) SWIG_fail
;
25576 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25584 static PyObject
*_wrap_new_DropSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25585 PyObject
*resultobj
;
25586 wxWindow
*arg1
= (wxWindow
*) 0 ;
25587 wxCursor
const &arg2_defvalue
= wxNullCursor
;
25588 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
25589 wxCursor
const &arg3_defvalue
= wxNullCursor
;
25590 wxCursor
*arg3
= (wxCursor
*) &arg3_defvalue
;
25591 wxCursor
const &arg4_defvalue
= wxNullCursor
;
25592 wxCursor
*arg4
= (wxCursor
*) &arg4_defvalue
;
25593 wxPyDropSource
*result
;
25594 PyObject
* obj0
= 0 ;
25595 PyObject
* obj1
= 0 ;
25596 PyObject
* obj2
= 0 ;
25597 PyObject
* obj3
= 0 ;
25598 char *kwnames
[] = {
25599 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
25602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25606 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
25607 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25609 if (arg2
== NULL
) {
25610 PyErr_SetString(PyExc_TypeError
,"null reference");
25615 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxCursor
,
25616 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25618 if (arg3
== NULL
) {
25619 PyErr_SetString(PyExc_TypeError
,"null reference");
25624 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxCursor
,
25625 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25627 if (arg4
== NULL
) {
25628 PyErr_SetString(PyExc_TypeError
,"null reference");
25633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25634 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxCursor
const &)*arg2
,(wxCursor
const &)*arg3
,(wxCursor
const &)*arg4
);
25636 wxPyEndAllowThreads(__tstate
);
25637 if (PyErr_Occurred()) SWIG_fail
;
25639 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropSource
, 1);
25646 static PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25647 PyObject
*resultobj
;
25648 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25649 PyObject
*arg2
= (PyObject
*) 0 ;
25650 PyObject
*arg3
= (PyObject
*) 0 ;
25652 PyObject
* obj0
= 0 ;
25653 PyObject
* obj1
= 0 ;
25654 PyObject
* obj2
= 0 ;
25655 PyObject
* obj3
= 0 ;
25656 char *kwnames
[] = {
25657 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
25660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25665 arg4
= (int) SWIG_AsInt(obj3
);
25666 if (PyErr_Occurred()) SWIG_fail
;
25668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25669 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
25671 wxPyEndAllowThreads(__tstate
);
25672 if (PyErr_Occurred()) SWIG_fail
;
25674 Py_INCREF(Py_None
); resultobj
= Py_None
;
25681 static PyObject
*_wrap_delete_DropSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25682 PyObject
*resultobj
;
25683 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25684 PyObject
* obj0
= 0 ;
25685 char *kwnames
[] = {
25686 (char *) "self", NULL
25689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropSource",kwnames
,&obj0
)) goto fail
;
25690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25696 wxPyEndAllowThreads(__tstate
);
25697 if (PyErr_Occurred()) SWIG_fail
;
25699 Py_INCREF(Py_None
); resultobj
= Py_None
;
25706 static PyObject
*_wrap_DropSource_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25707 PyObject
*resultobj
;
25708 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25709 wxDataObject
*arg2
= 0 ;
25710 PyObject
* obj0
= 0 ;
25711 PyObject
* obj1
= 0 ;
25712 char *kwnames
[] = {
25713 (char *) "self",(char *) "data", NULL
25716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
25717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25719 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
25720 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25722 if (arg2
== NULL
) {
25723 PyErr_SetString(PyExc_TypeError
,"null reference");
25727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25728 (arg1
)->SetData(*arg2
);
25730 wxPyEndAllowThreads(__tstate
);
25731 if (PyErr_Occurred()) SWIG_fail
;
25733 Py_INCREF(Py_None
); resultobj
= Py_None
;
25740 static PyObject
*_wrap_DropSource_GetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25741 PyObject
*resultobj
;
25742 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25743 wxDataObject
*result
;
25744 PyObject
* obj0
= 0 ;
25745 char *kwnames
[] = {
25746 (char *) "self", NULL
25749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropSource_GetDataObject",kwnames
,&obj0
)) goto fail
;
25750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25754 result
= (wxDataObject
*)(arg1
)->GetDataObject();
25756 wxPyEndAllowThreads(__tstate
);
25757 if (PyErr_Occurred()) SWIG_fail
;
25759 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
25766 static PyObject
*_wrap_DropSource_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25767 PyObject
*resultobj
;
25768 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25770 wxCursor
*arg3
= 0 ;
25771 PyObject
* obj0
= 0 ;
25772 PyObject
* obj1
= 0 ;
25773 PyObject
* obj2
= 0 ;
25774 char *kwnames
[] = {
25775 (char *) "self",(char *) "res",(char *) "cursor", NULL
25778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25781 arg2
= (wxDragResult
) SWIG_AsInt(obj1
);
25782 if (PyErr_Occurred()) SWIG_fail
;
25783 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxCursor
,
25784 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25786 if (arg3
== NULL
) {
25787 PyErr_SetString(PyExc_TypeError
,"null reference");
25791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25792 (arg1
)->SetCursor((wxDragResult
)arg2
,(wxCursor
const &)*arg3
);
25794 wxPyEndAllowThreads(__tstate
);
25795 if (PyErr_Occurred()) SWIG_fail
;
25797 Py_INCREF(Py_None
); resultobj
= Py_None
;
25804 static PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25805 PyObject
*resultobj
;
25806 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25807 int arg2
= (int) wxDrag_CopyOnly
;
25809 PyObject
* obj0
= 0 ;
25810 PyObject
* obj1
= 0 ;
25811 char *kwnames
[] = {
25812 (char *) "self",(char *) "flags", NULL
25815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) goto fail
;
25816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25819 arg2
= (int) SWIG_AsInt(obj1
);
25820 if (PyErr_Occurred()) SWIG_fail
;
25823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25824 result
= (int)(arg1
)->DoDragDrop(arg2
);
25826 wxPyEndAllowThreads(__tstate
);
25827 if (PyErr_Occurred()) SWIG_fail
;
25829 resultobj
= SWIG_FromInt((int)result
);
25836 static PyObject
*_wrap_DropSource_base_GiveFeedback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25837 PyObject
*resultobj
;
25838 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25841 PyObject
* obj0
= 0 ;
25842 PyObject
* obj1
= 0 ;
25843 char *kwnames
[] = {
25844 (char *) "self",(char *) "effect", NULL
25847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_base_GiveFeedback",kwnames
,&obj0
,&obj1
)) goto fail
;
25848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25850 arg2
= (wxDragResult
) SWIG_AsInt(obj1
);
25851 if (PyErr_Occurred()) SWIG_fail
;
25853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25854 result
= (bool)(arg1
)->base_GiveFeedback((wxDragResult
)arg2
);
25856 wxPyEndAllowThreads(__tstate
);
25857 if (PyErr_Occurred()) SWIG_fail
;
25860 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25868 static PyObject
* DropSource_swigregister(PyObject
*self
, PyObject
*args
) {
25870 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25871 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource
, obj
);
25873 return Py_BuildValue((char *)"");
25875 static PyObject
*_wrap_new_DropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25876 PyObject
*resultobj
;
25877 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
25878 wxPyDropTarget
*result
;
25879 PyObject
* obj0
= 0 ;
25880 char *kwnames
[] = {
25881 (char *) "dataObject", NULL
25884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DropTarget",kwnames
,&obj0
)) goto fail
;
25886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
25887 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25891 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
25893 wxPyEndAllowThreads(__tstate
);
25894 if (PyErr_Occurred()) SWIG_fail
;
25896 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 1);
25903 static PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25904 PyObject
*resultobj
;
25905 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25906 PyObject
*arg2
= (PyObject
*) 0 ;
25907 PyObject
*arg3
= (PyObject
*) 0 ;
25908 PyObject
* obj0
= 0 ;
25909 PyObject
* obj1
= 0 ;
25910 PyObject
* obj2
= 0 ;
25911 char *kwnames
[] = {
25912 (char *) "self",(char *) "self",(char *) "_class", NULL
25915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
25917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25922 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25924 wxPyEndAllowThreads(__tstate
);
25925 if (PyErr_Occurred()) SWIG_fail
;
25927 Py_INCREF(Py_None
); resultobj
= Py_None
;
25934 static PyObject
*_wrap_delete_DropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25935 PyObject
*resultobj
;
25936 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25937 PyObject
* obj0
= 0 ;
25938 char *kwnames
[] = {
25939 (char *) "self", NULL
25942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropTarget",kwnames
,&obj0
)) goto fail
;
25943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
25944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25949 wxPyEndAllowThreads(__tstate
);
25950 if (PyErr_Occurred()) SWIG_fail
;
25952 Py_INCREF(Py_None
); resultobj
= Py_None
;
25959 static PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25960 PyObject
*resultobj
;
25961 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25962 wxDataObject
*result
;
25963 PyObject
* obj0
= 0 ;
25964 char *kwnames
[] = {
25965 (char *) "self", NULL
25968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDataObject",kwnames
,&obj0
)) goto fail
;
25969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
25970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25973 result
= (wxDataObject
*)(arg1
)->GetDataObject();
25975 wxPyEndAllowThreads(__tstate
);
25976 if (PyErr_Occurred()) SWIG_fail
;
25978 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
25985 static PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25986 PyObject
*resultobj
;
25987 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25988 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
25989 PyObject
* obj0
= 0 ;
25990 PyObject
* obj1
= 0 ;
25991 char *kwnames
[] = {
25992 (char *) "self",(char *) "dataObject", NULL
25995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) goto fail
;
25996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
25997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25998 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
25999 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26002 (arg1
)->SetDataObject(arg2
);
26004 wxPyEndAllowThreads(__tstate
);
26005 if (PyErr_Occurred()) SWIG_fail
;
26007 Py_INCREF(Py_None
); resultobj
= Py_None
;
26014 static PyObject
*_wrap_DropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26015 PyObject
*resultobj
;
26016 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26021 PyObject
* obj0
= 0 ;
26022 PyObject
* obj1
= 0 ;
26023 PyObject
* obj2
= 0 ;
26024 PyObject
* obj3
= 0 ;
26025 char *kwnames
[] = {
26026 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26032 arg2
= (int) SWIG_AsInt(obj1
);
26033 if (PyErr_Occurred()) SWIG_fail
;
26034 arg3
= (int) SWIG_AsInt(obj2
);
26035 if (PyErr_Occurred()) SWIG_fail
;
26036 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26037 if (PyErr_Occurred()) SWIG_fail
;
26039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26040 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26042 wxPyEndAllowThreads(__tstate
);
26043 if (PyErr_Occurred()) SWIG_fail
;
26045 resultobj
= SWIG_FromInt((int)result
);
26052 static PyObject
*_wrap_DropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26053 PyObject
*resultobj
;
26054 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26059 PyObject
* obj0
= 0 ;
26060 PyObject
* obj1
= 0 ;
26061 PyObject
* obj2
= 0 ;
26062 PyObject
* obj3
= 0 ;
26063 char *kwnames
[] = {
26064 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26070 arg2
= (int) SWIG_AsInt(obj1
);
26071 if (PyErr_Occurred()) SWIG_fail
;
26072 arg3
= (int) SWIG_AsInt(obj2
);
26073 if (PyErr_Occurred()) SWIG_fail
;
26074 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26075 if (PyErr_Occurred()) SWIG_fail
;
26077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26078 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26080 wxPyEndAllowThreads(__tstate
);
26081 if (PyErr_Occurred()) SWIG_fail
;
26083 resultobj
= SWIG_FromInt((int)result
);
26090 static PyObject
*_wrap_DropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26091 PyObject
*resultobj
;
26092 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26093 PyObject
* obj0
= 0 ;
26094 char *kwnames
[] = {
26095 (char *) "self", NULL
26098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26103 (arg1
)->base_OnLeave();
26105 wxPyEndAllowThreads(__tstate
);
26106 if (PyErr_Occurred()) SWIG_fail
;
26108 Py_INCREF(Py_None
); resultobj
= Py_None
;
26115 static PyObject
*_wrap_DropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26116 PyObject
*resultobj
;
26117 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26121 PyObject
* obj0
= 0 ;
26122 PyObject
* obj1
= 0 ;
26123 PyObject
* obj2
= 0 ;
26124 char *kwnames
[] = {
26125 (char *) "self",(char *) "x",(char *) "y", NULL
26128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26131 arg2
= (int) SWIG_AsInt(obj1
);
26132 if (PyErr_Occurred()) SWIG_fail
;
26133 arg3
= (int) SWIG_AsInt(obj2
);
26134 if (PyErr_Occurred()) SWIG_fail
;
26136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26137 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26139 wxPyEndAllowThreads(__tstate
);
26140 if (PyErr_Occurred()) SWIG_fail
;
26143 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26151 static PyObject
*_wrap_DropTarget_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26152 PyObject
*resultobj
;
26153 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26155 PyObject
* obj0
= 0 ;
26156 char *kwnames
[] = {
26157 (char *) "self", NULL
26160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetData",kwnames
,&obj0
)) goto fail
;
26161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26165 result
= (bool)(arg1
)->GetData();
26167 wxPyEndAllowThreads(__tstate
);
26168 if (PyErr_Occurred()) SWIG_fail
;
26171 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26179 static PyObject
* DropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
26181 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26182 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget
, obj
);
26184 return Py_BuildValue((char *)"");
26186 static PyObject
*_wrap_new_TextDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26187 PyObject
*resultobj
;
26188 wxPyTextDropTarget
*result
;
26189 char *kwnames
[] = {
26193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TextDropTarget",kwnames
)) goto fail
;
26195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26196 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
26198 wxPyEndAllowThreads(__tstate
);
26199 if (PyErr_Occurred()) SWIG_fail
;
26201 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDropTarget
, 1);
26208 static PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26209 PyObject
*resultobj
;
26210 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26211 PyObject
*arg2
= (PyObject
*) 0 ;
26212 PyObject
*arg3
= (PyObject
*) 0 ;
26213 PyObject
* obj0
= 0 ;
26214 PyObject
* obj1
= 0 ;
26215 PyObject
* obj2
= 0 ;
26216 char *kwnames
[] = {
26217 (char *) "self",(char *) "self",(char *) "_class", NULL
26220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26227 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26229 wxPyEndAllowThreads(__tstate
);
26230 if (PyErr_Occurred()) SWIG_fail
;
26232 Py_INCREF(Py_None
); resultobj
= Py_None
;
26239 static PyObject
*_wrap_TextDropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26240 PyObject
*resultobj
;
26241 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26246 PyObject
* obj0
= 0 ;
26247 PyObject
* obj1
= 0 ;
26248 PyObject
* obj2
= 0 ;
26249 PyObject
* obj3
= 0 ;
26250 char *kwnames
[] = {
26251 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26257 arg2
= (int) SWIG_AsInt(obj1
);
26258 if (PyErr_Occurred()) SWIG_fail
;
26259 arg3
= (int) SWIG_AsInt(obj2
);
26260 if (PyErr_Occurred()) SWIG_fail
;
26261 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26262 if (PyErr_Occurred()) SWIG_fail
;
26264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26265 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26267 wxPyEndAllowThreads(__tstate
);
26268 if (PyErr_Occurred()) SWIG_fail
;
26270 resultobj
= SWIG_FromInt((int)result
);
26277 static PyObject
*_wrap_TextDropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26278 PyObject
*resultobj
;
26279 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26284 PyObject
* obj0
= 0 ;
26285 PyObject
* obj1
= 0 ;
26286 PyObject
* obj2
= 0 ;
26287 PyObject
* obj3
= 0 ;
26288 char *kwnames
[] = {
26289 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26295 arg2
= (int) SWIG_AsInt(obj1
);
26296 if (PyErr_Occurred()) SWIG_fail
;
26297 arg3
= (int) SWIG_AsInt(obj2
);
26298 if (PyErr_Occurred()) SWIG_fail
;
26299 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26300 if (PyErr_Occurred()) SWIG_fail
;
26302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26303 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26305 wxPyEndAllowThreads(__tstate
);
26306 if (PyErr_Occurred()) SWIG_fail
;
26308 resultobj
= SWIG_FromInt((int)result
);
26315 static PyObject
*_wrap_TextDropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26316 PyObject
*resultobj
;
26317 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26318 PyObject
* obj0
= 0 ;
26319 char *kwnames
[] = {
26320 (char *) "self", NULL
26323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26328 (arg1
)->base_OnLeave();
26330 wxPyEndAllowThreads(__tstate
);
26331 if (PyErr_Occurred()) SWIG_fail
;
26333 Py_INCREF(Py_None
); resultobj
= Py_None
;
26340 static PyObject
*_wrap_TextDropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26341 PyObject
*resultobj
;
26342 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26346 PyObject
* obj0
= 0 ;
26347 PyObject
* obj1
= 0 ;
26348 PyObject
* obj2
= 0 ;
26349 char *kwnames
[] = {
26350 (char *) "self",(char *) "x",(char *) "y", NULL
26353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26356 arg2
= (int) SWIG_AsInt(obj1
);
26357 if (PyErr_Occurred()) SWIG_fail
;
26358 arg3
= (int) SWIG_AsInt(obj2
);
26359 if (PyErr_Occurred()) SWIG_fail
;
26361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26362 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26364 wxPyEndAllowThreads(__tstate
);
26365 if (PyErr_Occurred()) SWIG_fail
;
26368 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26376 static PyObject
*_wrap_TextDropTarget_base_OnData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26377 PyObject
*resultobj
;
26378 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26383 PyObject
* obj0
= 0 ;
26384 PyObject
* obj1
= 0 ;
26385 PyObject
* obj2
= 0 ;
26386 PyObject
* obj3
= 0 ;
26387 char *kwnames
[] = {
26388 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26394 arg2
= (int) SWIG_AsInt(obj1
);
26395 if (PyErr_Occurred()) SWIG_fail
;
26396 arg3
= (int) SWIG_AsInt(obj2
);
26397 if (PyErr_Occurred()) SWIG_fail
;
26398 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26399 if (PyErr_Occurred()) SWIG_fail
;
26401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26402 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
26404 wxPyEndAllowThreads(__tstate
);
26405 if (PyErr_Occurred()) SWIG_fail
;
26407 resultobj
= SWIG_FromInt((int)result
);
26414 static PyObject
* TextDropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
26416 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26417 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget
, obj
);
26419 return Py_BuildValue((char *)"");
26421 static PyObject
*_wrap_new_FileDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26422 PyObject
*resultobj
;
26423 wxPyFileDropTarget
*result
;
26424 char *kwnames
[] = {
26428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDropTarget",kwnames
)) goto fail
;
26430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26431 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
26433 wxPyEndAllowThreads(__tstate
);
26434 if (PyErr_Occurred()) SWIG_fail
;
26436 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileDropTarget
, 1);
26443 static PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26444 PyObject
*resultobj
;
26445 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26446 PyObject
*arg2
= (PyObject
*) 0 ;
26447 PyObject
*arg3
= (PyObject
*) 0 ;
26448 PyObject
* obj0
= 0 ;
26449 PyObject
* obj1
= 0 ;
26450 PyObject
* obj2
= 0 ;
26451 char *kwnames
[] = {
26452 (char *) "self",(char *) "self",(char *) "_class", NULL
26455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26462 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26464 wxPyEndAllowThreads(__tstate
);
26465 if (PyErr_Occurred()) SWIG_fail
;
26467 Py_INCREF(Py_None
); resultobj
= Py_None
;
26474 static PyObject
*_wrap_FileDropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26475 PyObject
*resultobj
;
26476 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26481 PyObject
* obj0
= 0 ;
26482 PyObject
* obj1
= 0 ;
26483 PyObject
* obj2
= 0 ;
26484 PyObject
* obj3
= 0 ;
26485 char *kwnames
[] = {
26486 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26492 arg2
= (int) SWIG_AsInt(obj1
);
26493 if (PyErr_Occurred()) SWIG_fail
;
26494 arg3
= (int) SWIG_AsInt(obj2
);
26495 if (PyErr_Occurred()) SWIG_fail
;
26496 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26497 if (PyErr_Occurred()) SWIG_fail
;
26499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26500 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26502 wxPyEndAllowThreads(__tstate
);
26503 if (PyErr_Occurred()) SWIG_fail
;
26505 resultobj
= SWIG_FromInt((int)result
);
26512 static PyObject
*_wrap_FileDropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26513 PyObject
*resultobj
;
26514 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26519 PyObject
* obj0
= 0 ;
26520 PyObject
* obj1
= 0 ;
26521 PyObject
* obj2
= 0 ;
26522 PyObject
* obj3
= 0 ;
26523 char *kwnames
[] = {
26524 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26530 arg2
= (int) SWIG_AsInt(obj1
);
26531 if (PyErr_Occurred()) SWIG_fail
;
26532 arg3
= (int) SWIG_AsInt(obj2
);
26533 if (PyErr_Occurred()) SWIG_fail
;
26534 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26535 if (PyErr_Occurred()) SWIG_fail
;
26537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26538 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26540 wxPyEndAllowThreads(__tstate
);
26541 if (PyErr_Occurred()) SWIG_fail
;
26543 resultobj
= SWIG_FromInt((int)result
);
26550 static PyObject
*_wrap_FileDropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26551 PyObject
*resultobj
;
26552 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26553 PyObject
* obj0
= 0 ;
26554 char *kwnames
[] = {
26555 (char *) "self", NULL
26558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26563 (arg1
)->base_OnLeave();
26565 wxPyEndAllowThreads(__tstate
);
26566 if (PyErr_Occurred()) SWIG_fail
;
26568 Py_INCREF(Py_None
); resultobj
= Py_None
;
26575 static PyObject
*_wrap_FileDropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26576 PyObject
*resultobj
;
26577 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26581 PyObject
* obj0
= 0 ;
26582 PyObject
* obj1
= 0 ;
26583 PyObject
* obj2
= 0 ;
26584 char *kwnames
[] = {
26585 (char *) "self",(char *) "x",(char *) "y", NULL
26588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26591 arg2
= (int) SWIG_AsInt(obj1
);
26592 if (PyErr_Occurred()) SWIG_fail
;
26593 arg3
= (int) SWIG_AsInt(obj2
);
26594 if (PyErr_Occurred()) SWIG_fail
;
26596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26597 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26599 wxPyEndAllowThreads(__tstate
);
26600 if (PyErr_Occurred()) SWIG_fail
;
26603 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26611 static PyObject
*_wrap_FileDropTarget_base_OnData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26612 PyObject
*resultobj
;
26613 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26618 PyObject
* obj0
= 0 ;
26619 PyObject
* obj1
= 0 ;
26620 PyObject
* obj2
= 0 ;
26621 PyObject
* obj3
= 0 ;
26622 char *kwnames
[] = {
26623 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26629 arg2
= (int) SWIG_AsInt(obj1
);
26630 if (PyErr_Occurred()) SWIG_fail
;
26631 arg3
= (int) SWIG_AsInt(obj2
);
26632 if (PyErr_Occurred()) SWIG_fail
;
26633 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26634 if (PyErr_Occurred()) SWIG_fail
;
26636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26637 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
26639 wxPyEndAllowThreads(__tstate
);
26640 if (PyErr_Occurred()) SWIG_fail
;
26642 resultobj
= SWIG_FromInt((int)result
);
26649 static PyObject
* FileDropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
26651 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26652 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget
, obj
);
26654 return Py_BuildValue((char *)"");
26656 static PyObject
*_wrap_new_Clipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26657 PyObject
*resultobj
;
26658 wxClipboard
*result
;
26659 char *kwnames
[] = {
26663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Clipboard",kwnames
)) goto fail
;
26665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26666 result
= (wxClipboard
*)new wxClipboard();
26668 wxPyEndAllowThreads(__tstate
);
26669 if (PyErr_Occurred()) SWIG_fail
;
26671 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 1);
26678 static PyObject
*_wrap_delete_Clipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26679 PyObject
*resultobj
;
26680 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26681 PyObject
* obj0
= 0 ;
26682 char *kwnames
[] = {
26683 (char *) "self", NULL
26686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Clipboard",kwnames
,&obj0
)) goto fail
;
26687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26693 wxPyEndAllowThreads(__tstate
);
26694 if (PyErr_Occurred()) SWIG_fail
;
26696 Py_INCREF(Py_None
); resultobj
= Py_None
;
26703 static PyObject
*_wrap_Clipboard_Open(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26704 PyObject
*resultobj
;
26705 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26707 PyObject
* obj0
= 0 ;
26708 char *kwnames
[] = {
26709 (char *) "self", NULL
26712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Open",kwnames
,&obj0
)) goto fail
;
26713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26717 result
= (bool)(arg1
)->Open();
26719 wxPyEndAllowThreads(__tstate
);
26720 if (PyErr_Occurred()) SWIG_fail
;
26723 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26731 static PyObject
*_wrap_Clipboard_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26732 PyObject
*resultobj
;
26733 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26734 PyObject
* obj0
= 0 ;
26735 char *kwnames
[] = {
26736 (char *) "self", NULL
26739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Close",kwnames
,&obj0
)) goto fail
;
26740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26746 wxPyEndAllowThreads(__tstate
);
26747 if (PyErr_Occurred()) SWIG_fail
;
26749 Py_INCREF(Py_None
); resultobj
= Py_None
;
26756 static PyObject
*_wrap_Clipboard_IsOpened(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26757 PyObject
*resultobj
;
26758 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26760 PyObject
* obj0
= 0 ;
26761 char *kwnames
[] = {
26762 (char *) "self", NULL
26765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_IsOpened",kwnames
,&obj0
)) goto fail
;
26766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26770 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
26772 wxPyEndAllowThreads(__tstate
);
26773 if (PyErr_Occurred()) SWIG_fail
;
26776 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26784 static PyObject
*_wrap_Clipboard_AddData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26785 PyObject
*resultobj
;
26786 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26787 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
26789 PyObject
* obj0
= 0 ;
26790 PyObject
* obj1
= 0 ;
26791 char *kwnames
[] = {
26792 (char *) "self",(char *) "data", NULL
26795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) goto fail
;
26796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26798 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26799 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26802 result
= (bool)(arg1
)->AddData(arg2
);
26804 wxPyEndAllowThreads(__tstate
);
26805 if (PyErr_Occurred()) SWIG_fail
;
26808 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26816 static PyObject
*_wrap_Clipboard_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26817 PyObject
*resultobj
;
26818 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26819 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
26821 PyObject
* obj0
= 0 ;
26822 PyObject
* obj1
= 0 ;
26823 char *kwnames
[] = {
26824 (char *) "self",(char *) "data", NULL
26827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
26828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26830 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26831 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26834 result
= (bool)(arg1
)->SetData(arg2
);
26836 wxPyEndAllowThreads(__tstate
);
26837 if (PyErr_Occurred()) SWIG_fail
;
26840 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26848 static PyObject
*_wrap_Clipboard_IsSupported(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26849 PyObject
*resultobj
;
26850 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26851 wxDataFormat
*arg2
= 0 ;
26853 PyObject
* obj0
= 0 ;
26854 PyObject
* obj1
= 0 ;
26855 char *kwnames
[] = {
26856 (char *) "self",(char *) "format", NULL
26859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) goto fail
;
26860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26862 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
26863 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26865 if (arg2
== NULL
) {
26866 PyErr_SetString(PyExc_TypeError
,"null reference");
26870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26871 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
26873 wxPyEndAllowThreads(__tstate
);
26874 if (PyErr_Occurred()) SWIG_fail
;
26877 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26885 static PyObject
*_wrap_Clipboard_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26886 PyObject
*resultobj
;
26887 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26888 wxDataObject
*arg2
= 0 ;
26890 PyObject
* obj0
= 0 ;
26891 PyObject
* obj1
= 0 ;
26892 char *kwnames
[] = {
26893 (char *) "self",(char *) "data", NULL
26896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) goto fail
;
26897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26899 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26900 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26902 if (arg2
== NULL
) {
26903 PyErr_SetString(PyExc_TypeError
,"null reference");
26907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26908 result
= (bool)(arg1
)->GetData(*arg2
);
26910 wxPyEndAllowThreads(__tstate
);
26911 if (PyErr_Occurred()) SWIG_fail
;
26914 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26922 static PyObject
*_wrap_Clipboard_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26923 PyObject
*resultobj
;
26924 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26925 PyObject
* obj0
= 0 ;
26926 char *kwnames
[] = {
26927 (char *) "self", NULL
26930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Clear",kwnames
,&obj0
)) goto fail
;
26931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26937 wxPyEndAllowThreads(__tstate
);
26938 if (PyErr_Occurred()) SWIG_fail
;
26940 Py_INCREF(Py_None
); resultobj
= Py_None
;
26947 static PyObject
*_wrap_Clipboard_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26948 PyObject
*resultobj
;
26949 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26951 PyObject
* obj0
= 0 ;
26952 char *kwnames
[] = {
26953 (char *) "self", NULL
26956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Flush",kwnames
,&obj0
)) goto fail
;
26957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26961 result
= (bool)(arg1
)->Flush();
26963 wxPyEndAllowThreads(__tstate
);
26964 if (PyErr_Occurred()) SWIG_fail
;
26967 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26975 static PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26976 PyObject
*resultobj
;
26977 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26978 bool arg2
= (bool) True
;
26979 PyObject
* obj0
= 0 ;
26980 PyObject
* obj1
= 0 ;
26981 char *kwnames
[] = {
26982 (char *) "self",(char *) "primary", NULL
26985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) goto fail
;
26986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26989 arg2
= (bool) SWIG_AsBool(obj1
);
26990 if (PyErr_Occurred()) SWIG_fail
;
26993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26994 (arg1
)->UsePrimarySelection(arg2
);
26996 wxPyEndAllowThreads(__tstate
);
26997 if (PyErr_Occurred()) SWIG_fail
;
26999 Py_INCREF(Py_None
); resultobj
= Py_None
;
27006 static PyObject
* Clipboard_swigregister(PyObject
*self
, PyObject
*args
) {
27008 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27009 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard
, obj
);
27011 return Py_BuildValue((char *)"");
27013 static int _wrap_TheClipboard_set(PyObject
*_val
) {
27014 PyErr_SetString(PyExc_TypeError
,"Variable TheClipboard is read-only.");
27019 static PyObject
*_wrap_TheClipboard_get() {
27022 pyobj
= SWIG_NewPointerObj((void *)(wxTheClipboard
), SWIGTYPE_p_wxClipboard
, 0);
27027 static PyObject
*_wrap_new_ClipboardLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27028 PyObject
*resultobj
;
27029 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
27030 wxClipboardLocker
*result
;
27031 PyObject
* obj0
= 0 ;
27032 char *kwnames
[] = {
27033 (char *) "clipboard", NULL
27036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
27038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27043 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
27045 wxPyEndAllowThreads(__tstate
);
27046 if (PyErr_Occurred()) SWIG_fail
;
27048 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboardLocker
, 1);
27055 static PyObject
*_wrap_delete_ClipboardLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27056 PyObject
*resultobj
;
27057 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
27058 PyObject
* obj0
= 0 ;
27059 char *kwnames
[] = {
27060 (char *) "self", NULL
27063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
27064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboardLocker
,
27065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27070 wxPyEndAllowThreads(__tstate
);
27071 if (PyErr_Occurred()) SWIG_fail
;
27073 Py_INCREF(Py_None
); resultobj
= Py_None
;
27080 static PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27081 PyObject
*resultobj
;
27082 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
27084 PyObject
* obj0
= 0 ;
27085 char *kwnames
[] = {
27086 (char *) "self", NULL
27089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ClipboardLocker___nonzero__",kwnames
,&obj0
)) goto fail
;
27090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboardLocker
,
27091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27094 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
27096 wxPyEndAllowThreads(__tstate
);
27097 if (PyErr_Occurred()) SWIG_fail
;
27100 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27108 static PyObject
* ClipboardLocker_swigregister(PyObject
*self
, PyObject
*args
) {
27110 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27111 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker
, obj
);
27113 return Py_BuildValue((char *)"");
27115 static PyObject
*_wrap_new_VideoMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27116 PyObject
*resultobj
;
27117 int arg1
= (int) 0 ;
27118 int arg2
= (int) 0 ;
27119 int arg3
= (int) 0 ;
27120 int arg4
= (int) 0 ;
27121 wxVideoMode
*result
;
27122 PyObject
* obj0
= 0 ;
27123 PyObject
* obj1
= 0 ;
27124 PyObject
* obj2
= 0 ;
27125 PyObject
* obj3
= 0 ;
27126 char *kwnames
[] = {
27127 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
27130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_VideoMode",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27132 arg1
= (int) SWIG_AsInt(obj0
);
27133 if (PyErr_Occurred()) SWIG_fail
;
27136 arg2
= (int) SWIG_AsInt(obj1
);
27137 if (PyErr_Occurred()) SWIG_fail
;
27140 arg3
= (int) SWIG_AsInt(obj2
);
27141 if (PyErr_Occurred()) SWIG_fail
;
27144 arg4
= (int) SWIG_AsInt(obj3
);
27145 if (PyErr_Occurred()) SWIG_fail
;
27148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27149 result
= (wxVideoMode
*)new wxVideoMode(arg1
,arg2
,arg3
,arg4
);
27151 wxPyEndAllowThreads(__tstate
);
27152 if (PyErr_Occurred()) SWIG_fail
;
27154 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVideoMode
, 1);
27161 static PyObject
*_wrap_delete_VideoMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27162 PyObject
*resultobj
;
27163 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27164 PyObject
* obj0
= 0 ;
27165 char *kwnames
[] = {
27166 (char *) "self", NULL
27169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VideoMode",kwnames
,&obj0
)) goto fail
;
27170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27176 wxPyEndAllowThreads(__tstate
);
27177 if (PyErr_Occurred()) SWIG_fail
;
27179 Py_INCREF(Py_None
); resultobj
= Py_None
;
27186 static PyObject
*_wrap_VideoMode_Matches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27187 PyObject
*resultobj
;
27188 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27189 wxVideoMode
*arg2
= 0 ;
27191 PyObject
* obj0
= 0 ;
27192 PyObject
* obj1
= 0 ;
27193 char *kwnames
[] = {
27194 (char *) "self",(char *) "other", NULL
27197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_Matches",kwnames
,&obj0
,&obj1
)) goto fail
;
27198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27200 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27201 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27203 if (arg2
== NULL
) {
27204 PyErr_SetString(PyExc_TypeError
,"null reference");
27208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27209 result
= (bool)((wxVideoMode
const *)arg1
)->Matches((wxVideoMode
const &)*arg2
);
27211 wxPyEndAllowThreads(__tstate
);
27212 if (PyErr_Occurred()) SWIG_fail
;
27215 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27223 static PyObject
*_wrap_VideoMode_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27224 PyObject
*resultobj
;
27225 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27227 PyObject
* obj0
= 0 ;
27228 char *kwnames
[] = {
27229 (char *) "self", NULL
27232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetWidth",kwnames
,&obj0
)) goto fail
;
27233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27237 result
= (int)((wxVideoMode
const *)arg1
)->GetWidth();
27239 wxPyEndAllowThreads(__tstate
);
27240 if (PyErr_Occurred()) SWIG_fail
;
27242 resultobj
= SWIG_FromInt((int)result
);
27249 static PyObject
*_wrap_VideoMode_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27250 PyObject
*resultobj
;
27251 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27253 PyObject
* obj0
= 0 ;
27254 char *kwnames
[] = {
27255 (char *) "self", NULL
27258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetHeight",kwnames
,&obj0
)) goto fail
;
27259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27263 result
= (int)((wxVideoMode
const *)arg1
)->GetHeight();
27265 wxPyEndAllowThreads(__tstate
);
27266 if (PyErr_Occurred()) SWIG_fail
;
27268 resultobj
= SWIG_FromInt((int)result
);
27275 static PyObject
*_wrap_VideoMode_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27276 PyObject
*resultobj
;
27277 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27279 PyObject
* obj0
= 0 ;
27280 char *kwnames
[] = {
27281 (char *) "self", NULL
27284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetDepth",kwnames
,&obj0
)) goto fail
;
27285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27289 result
= (int)((wxVideoMode
const *)arg1
)->GetDepth();
27291 wxPyEndAllowThreads(__tstate
);
27292 if (PyErr_Occurred()) SWIG_fail
;
27294 resultobj
= SWIG_FromInt((int)result
);
27301 static PyObject
*_wrap_VideoMode_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27302 PyObject
*resultobj
;
27303 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27305 PyObject
* obj0
= 0 ;
27306 char *kwnames
[] = {
27307 (char *) "self", NULL
27310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_IsOk",kwnames
,&obj0
)) goto fail
;
27311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27315 result
= (bool)((wxVideoMode
const *)arg1
)->IsOk();
27317 wxPyEndAllowThreads(__tstate
);
27318 if (PyErr_Occurred()) SWIG_fail
;
27321 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27329 static PyObject
*_wrap_VideoMode___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27330 PyObject
*resultobj
;
27331 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27332 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
27334 PyObject
* obj0
= 0 ;
27335 PyObject
* obj1
= 0 ;
27336 char *kwnames
[] = {
27337 (char *) "self",(char *) "other", NULL
27340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
27341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27343 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27347 result
= (bool)wxVideoMode___eq__(arg1
,(wxVideoMode
const *)arg2
);
27349 wxPyEndAllowThreads(__tstate
);
27350 if (PyErr_Occurred()) SWIG_fail
;
27353 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27361 static PyObject
*_wrap_VideoMode___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27362 PyObject
*resultobj
;
27363 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27364 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
27366 PyObject
* obj0
= 0 ;
27367 PyObject
* obj1
= 0 ;
27368 char *kwnames
[] = {
27369 (char *) "self",(char *) "other", NULL
27372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
27373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27375 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27379 result
= (bool)wxVideoMode___ne__(arg1
,(wxVideoMode
const *)arg2
);
27381 wxPyEndAllowThreads(__tstate
);
27382 if (PyErr_Occurred()) SWIG_fail
;
27385 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27393 static PyObject
*_wrap_VideoMode_w_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27394 PyObject
*resultobj
;
27395 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27397 PyObject
* obj0
= 0 ;
27398 PyObject
* obj1
= 0 ;
27399 char *kwnames
[] = {
27400 (char *) "self",(char *) "w", NULL
27403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_w_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27406 arg2
= (int) SWIG_AsInt(obj1
);
27407 if (PyErr_Occurred()) SWIG_fail
;
27408 if (arg1
) (arg1
)->w
= arg2
;
27410 Py_INCREF(Py_None
); resultobj
= Py_None
;
27417 static PyObject
*_wrap_VideoMode_w_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27418 PyObject
*resultobj
;
27419 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27421 PyObject
* obj0
= 0 ;
27422 char *kwnames
[] = {
27423 (char *) "self", NULL
27426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_w_get",kwnames
,&obj0
)) goto fail
;
27427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27429 result
= (int) ((arg1
)->w
);
27431 resultobj
= SWIG_FromInt((int)result
);
27438 static PyObject
*_wrap_VideoMode_h_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27439 PyObject
*resultobj
;
27440 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27442 PyObject
* obj0
= 0 ;
27443 PyObject
* obj1
= 0 ;
27444 char *kwnames
[] = {
27445 (char *) "self",(char *) "h", NULL
27448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_h_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27451 arg2
= (int) SWIG_AsInt(obj1
);
27452 if (PyErr_Occurred()) SWIG_fail
;
27453 if (arg1
) (arg1
)->h
= arg2
;
27455 Py_INCREF(Py_None
); resultobj
= Py_None
;
27462 static PyObject
*_wrap_VideoMode_h_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27463 PyObject
*resultobj
;
27464 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27466 PyObject
* obj0
= 0 ;
27467 char *kwnames
[] = {
27468 (char *) "self", NULL
27471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_h_get",kwnames
,&obj0
)) goto fail
;
27472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27474 result
= (int) ((arg1
)->h
);
27476 resultobj
= SWIG_FromInt((int)result
);
27483 static PyObject
*_wrap_VideoMode_bpp_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27484 PyObject
*resultobj
;
27485 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27487 PyObject
* obj0
= 0 ;
27488 PyObject
* obj1
= 0 ;
27489 char *kwnames
[] = {
27490 (char *) "self",(char *) "bpp", NULL
27493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_bpp_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27496 arg2
= (int) SWIG_AsInt(obj1
);
27497 if (PyErr_Occurred()) SWIG_fail
;
27498 if (arg1
) (arg1
)->bpp
= arg2
;
27500 Py_INCREF(Py_None
); resultobj
= Py_None
;
27507 static PyObject
*_wrap_VideoMode_bpp_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27508 PyObject
*resultobj
;
27509 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27511 PyObject
* obj0
= 0 ;
27512 char *kwnames
[] = {
27513 (char *) "self", NULL
27516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_bpp_get",kwnames
,&obj0
)) goto fail
;
27517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27519 result
= (int) ((arg1
)->bpp
);
27521 resultobj
= SWIG_FromInt((int)result
);
27528 static PyObject
*_wrap_VideoMode_refresh_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27529 PyObject
*resultobj
;
27530 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27532 PyObject
* obj0
= 0 ;
27533 PyObject
* obj1
= 0 ;
27534 char *kwnames
[] = {
27535 (char *) "self",(char *) "refresh", NULL
27538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_refresh_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27541 arg2
= (int) SWIG_AsInt(obj1
);
27542 if (PyErr_Occurred()) SWIG_fail
;
27543 if (arg1
) (arg1
)->refresh
= arg2
;
27545 Py_INCREF(Py_None
); resultobj
= Py_None
;
27552 static PyObject
*_wrap_VideoMode_refresh_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27553 PyObject
*resultobj
;
27554 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27556 PyObject
* obj0
= 0 ;
27557 char *kwnames
[] = {
27558 (char *) "self", NULL
27561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_refresh_get",kwnames
,&obj0
)) goto fail
;
27562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27564 result
= (int) ((arg1
)->refresh
);
27566 resultobj
= SWIG_FromInt((int)result
);
27573 static PyObject
* VideoMode_swigregister(PyObject
*self
, PyObject
*args
) {
27575 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27576 SWIG_TypeClientData(SWIGTYPE_p_wxVideoMode
, obj
);
27578 return Py_BuildValue((char *)"");
27580 static int _wrap_DefaultVideoMode_set(PyObject
*_val
) {
27581 PyErr_SetString(PyExc_TypeError
,"Variable DefaultVideoMode is read-only.");
27586 static PyObject
*_wrap_DefaultVideoMode_get() {
27589 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultVideoMode
), SWIGTYPE_p_wxVideoMode
, 0);
27594 static PyObject
*_wrap_new_Display(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27595 PyObject
*resultobj
;
27596 size_t arg1
= (size_t) 0 ;
27598 PyObject
* obj0
= 0 ;
27599 char *kwnames
[] = {
27600 (char *) "index", NULL
27603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Display",kwnames
,&obj0
)) goto fail
;
27605 arg1
= (size_t) SWIG_AsUnsignedLong(obj0
);
27606 if (PyErr_Occurred()) SWIG_fail
;
27609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27610 result
= (wxDisplay
*)new wxDisplay(arg1
);
27612 wxPyEndAllowThreads(__tstate
);
27613 if (PyErr_Occurred()) SWIG_fail
;
27615 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplay
, 1);
27622 static PyObject
*_wrap_delete_Display(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27623 PyObject
*resultobj
;
27624 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27625 PyObject
* obj0
= 0 ;
27626 char *kwnames
[] = {
27627 (char *) "self", NULL
27630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Display",kwnames
,&obj0
)) goto fail
;
27631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27637 wxPyEndAllowThreads(__tstate
);
27638 if (PyErr_Occurred()) SWIG_fail
;
27640 Py_INCREF(Py_None
); resultobj
= Py_None
;
27647 static PyObject
*_wrap_Display_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27648 PyObject
*resultobj
;
27650 char *kwnames
[] = {
27654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Display_GetCount",kwnames
)) goto fail
;
27656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27657 result
= (size_t)wxDisplay::GetCount();
27659 wxPyEndAllowThreads(__tstate
);
27660 if (PyErr_Occurred()) SWIG_fail
;
27662 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
27669 static PyObject
*_wrap_Display_GetFromPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27670 PyObject
*resultobj
;
27671 wxPoint
*arg1
= 0 ;
27674 PyObject
* obj0
= 0 ;
27675 char *kwnames
[] = {
27676 (char *) "pt", NULL
27679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromPoint",kwnames
,&obj0
)) goto fail
;
27682 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
27685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27686 result
= (int)wxDisplay::GetFromPoint((wxPoint
const &)*arg1
);
27688 wxPyEndAllowThreads(__tstate
);
27689 if (PyErr_Occurred()) SWIG_fail
;
27691 resultobj
= SWIG_FromInt((int)result
);
27698 static PyObject
*_wrap_Display_GetFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27699 PyObject
*resultobj
;
27700 wxWindow
*arg1
= (wxWindow
*) 0 ;
27702 PyObject
* obj0
= 0 ;
27703 char *kwnames
[] = {
27704 (char *) "window", NULL
27707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromWindow",kwnames
,&obj0
)) goto fail
;
27708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27712 result
= (int)wxDisplay::GetFromWindow(arg1
);
27714 wxPyEndAllowThreads(__tstate
);
27715 if (PyErr_Occurred()) SWIG_fail
;
27717 resultobj
= SWIG_FromInt((int)result
);
27724 static PyObject
*_wrap_Display_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27725 PyObject
*resultobj
;
27726 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27728 PyObject
* obj0
= 0 ;
27729 char *kwnames
[] = {
27730 (char *) "self", NULL
27733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsOk",kwnames
,&obj0
)) goto fail
;
27734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27738 result
= (bool)((wxDisplay
const *)arg1
)->IsOk();
27740 wxPyEndAllowThreads(__tstate
);
27741 if (PyErr_Occurred()) SWIG_fail
;
27744 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27752 static PyObject
*_wrap_Display_GetGeometry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27753 PyObject
*resultobj
;
27754 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27756 PyObject
* obj0
= 0 ;
27757 char *kwnames
[] = {
27758 (char *) "self", NULL
27761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetGeometry",kwnames
,&obj0
)) goto fail
;
27762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27766 result
= ((wxDisplay
const *)arg1
)->GetGeometry();
27768 wxPyEndAllowThreads(__tstate
);
27769 if (PyErr_Occurred()) SWIG_fail
;
27772 wxRect
* resultptr
;
27773 resultptr
= new wxRect((wxRect
&) result
);
27774 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
27782 static PyObject
*_wrap_Display_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27783 PyObject
*resultobj
;
27784 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27786 PyObject
* obj0
= 0 ;
27787 char *kwnames
[] = {
27788 (char *) "self", NULL
27791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetName",kwnames
,&obj0
)) goto fail
;
27792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27796 result
= ((wxDisplay
const *)arg1
)->GetName();
27798 wxPyEndAllowThreads(__tstate
);
27799 if (PyErr_Occurred()) SWIG_fail
;
27803 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27805 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27814 static PyObject
*_wrap_Display_IsPrimary(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27815 PyObject
*resultobj
;
27816 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27818 PyObject
* obj0
= 0 ;
27819 char *kwnames
[] = {
27820 (char *) "self", NULL
27823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsPrimary",kwnames
,&obj0
)) goto fail
;
27824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27828 result
= (bool)((wxDisplay
const *)arg1
)->IsPrimary();
27830 wxPyEndAllowThreads(__tstate
);
27831 if (PyErr_Occurred()) SWIG_fail
;
27834 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27842 static PyObject
*_wrap_Display_GetModes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27843 PyObject
*resultobj
;
27844 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27845 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
27846 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
27848 PyObject
* obj0
= 0 ;
27849 PyObject
* obj1
= 0 ;
27850 char *kwnames
[] = {
27851 (char *) "self",(char *) "mode", NULL
27854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_GetModes",kwnames
,&obj0
,&obj1
)) goto fail
;
27855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27858 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27859 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27861 if (arg2
== NULL
) {
27862 PyErr_SetString(PyExc_TypeError
,"null reference");
27867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27868 result
= (PyObject
*)wxDisplay_GetModes(arg1
,(wxVideoMode
const &)*arg2
);
27870 wxPyEndAllowThreads(__tstate
);
27871 if (PyErr_Occurred()) SWIG_fail
;
27873 resultobj
= result
;
27880 static PyObject
*_wrap_Display_GetCurrentMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27881 PyObject
*resultobj
;
27882 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27883 wxVideoMode result
;
27884 PyObject
* obj0
= 0 ;
27885 char *kwnames
[] = {
27886 (char *) "self", NULL
27889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetCurrentMode",kwnames
,&obj0
)) goto fail
;
27890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27894 result
= ((wxDisplay
const *)arg1
)->GetCurrentMode();
27896 wxPyEndAllowThreads(__tstate
);
27897 if (PyErr_Occurred()) SWIG_fail
;
27900 wxVideoMode
* resultptr
;
27901 resultptr
= new wxVideoMode((wxVideoMode
&) result
);
27902 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVideoMode
, 1);
27910 static PyObject
*_wrap_Display_ChangeMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27911 PyObject
*resultobj
;
27912 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27913 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
27914 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
27916 PyObject
* obj0
= 0 ;
27917 PyObject
* obj1
= 0 ;
27918 char *kwnames
[] = {
27919 (char *) "self",(char *) "mode", NULL
27922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_ChangeMode",kwnames
,&obj0
,&obj1
)) goto fail
;
27923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27926 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27927 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27929 if (arg2
== NULL
) {
27930 PyErr_SetString(PyExc_TypeError
,"null reference");
27935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27936 result
= (bool)(arg1
)->ChangeMode((wxVideoMode
const &)*arg2
);
27938 wxPyEndAllowThreads(__tstate
);
27939 if (PyErr_Occurred()) SWIG_fail
;
27942 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27950 static PyObject
*_wrap_Display_ResetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27951 PyObject
*resultobj
;
27952 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27953 PyObject
* obj0
= 0 ;
27954 char *kwnames
[] = {
27955 (char *) "self", NULL
27958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_ResetMode",kwnames
,&obj0
)) goto fail
;
27959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27963 (arg1
)->ResetMode();
27965 wxPyEndAllowThreads(__tstate
);
27966 if (PyErr_Occurred()) SWIG_fail
;
27968 Py_INCREF(Py_None
); resultobj
= Py_None
;
27975 static PyObject
* Display_swigregister(PyObject
*self
, PyObject
*args
) {
27977 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27978 SWIG_TypeClientData(SWIGTYPE_p_wxDisplay
, obj
);
27980 return Py_BuildValue((char *)"");
27982 static PyMethodDef SwigMethods
[] = {
27983 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
27984 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
27985 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
},
27986 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
},
27987 { (char *)"SystemSettings_GetScreenType", (PyCFunction
) _wrap_SystemSettings_GetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
27988 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
27989 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
},
27990 { (char *)"new_SystemOptions", (PyCFunction
) _wrap_new_SystemOptions
, METH_VARARGS
| METH_KEYWORDS
},
27991 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
},
27992 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
27993 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
},
27994 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
27995 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
},
27996 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
},
27997 { (char *)"NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
},
27998 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
},
27999 { (char *)"GetCurrentId", (PyCFunction
) _wrap_GetCurrentId
, METH_VARARGS
| METH_KEYWORDS
},
28000 { (char *)"Bell", (PyCFunction
) _wrap_Bell
, METH_VARARGS
| METH_KEYWORDS
},
28001 { (char *)"EndBusyCursor", (PyCFunction
) _wrap_EndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
28002 { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
},
28003 { (char *)"GetMousePosition", (PyCFunction
) _wrap_GetMousePosition
, METH_VARARGS
| METH_KEYWORDS
},
28004 { (char *)"IsBusy", (PyCFunction
) _wrap_IsBusy
, METH_VARARGS
| METH_KEYWORDS
},
28005 { (char *)"Now", (PyCFunction
) _wrap_Now
, METH_VARARGS
| METH_KEYWORDS
},
28006 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
},
28007 { (char *)"StartTimer", (PyCFunction
) _wrap_StartTimer
, METH_VARARGS
| METH_KEYWORDS
},
28008 { (char *)"GetOsVersion", (PyCFunction
) _wrap_GetOsVersion
, METH_VARARGS
| METH_KEYWORDS
},
28009 { (char *)"GetOsDescription", (PyCFunction
) _wrap_GetOsDescription
, METH_VARARGS
| METH_KEYWORDS
},
28010 { (char *)"GetFreeMemory", (PyCFunction
) _wrap_GetFreeMemory
, METH_VARARGS
| METH_KEYWORDS
},
28011 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
},
28012 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
},
28013 { (char *)"Usleep", (PyCFunction
) _wrap_Usleep
, METH_VARARGS
| METH_KEYWORDS
},
28014 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
},
28015 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
},
28016 { (char *)"GetEmailAddress", (PyCFunction
) _wrap_GetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
},
28017 { (char *)"GetHostName", (PyCFunction
) _wrap_GetHostName
, METH_VARARGS
| METH_KEYWORDS
},
28018 { (char *)"GetFullHostName", (PyCFunction
) _wrap_GetFullHostName
, METH_VARARGS
| METH_KEYWORDS
},
28019 { (char *)"GetUserId", (PyCFunction
) _wrap_GetUserId
, METH_VARARGS
| METH_KEYWORDS
},
28020 { (char *)"GetUserName", (PyCFunction
) _wrap_GetUserName
, METH_VARARGS
| METH_KEYWORDS
},
28021 { (char *)"GetHomeDir", (PyCFunction
) _wrap_GetHomeDir
, METH_VARARGS
| METH_KEYWORDS
},
28022 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
},
28023 { (char *)"GetProcessId", (PyCFunction
) _wrap_GetProcessId
, METH_VARARGS
| METH_KEYWORDS
},
28024 { (char *)"Trap", (PyCFunction
) _wrap_Trap
, METH_VARARGS
| METH_KEYWORDS
},
28025 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
},
28026 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
28027 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
28028 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
},
28029 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
},
28030 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
},
28031 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
},
28032 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
},
28033 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
},
28034 { (char *)"GetNumberFromUser", (PyCFunction
) _wrap_GetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
},
28035 { (char *)"ColourDisplay", (PyCFunction
) _wrap_ColourDisplay
, METH_VARARGS
| METH_KEYWORDS
},
28036 { (char *)"DisplayDepth", (PyCFunction
) _wrap_DisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
28037 { (char *)"GetDisplayDepth", (PyCFunction
) _wrap_GetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
28038 { (char *)"DisplaySize", (PyCFunction
) _wrap_DisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
28039 { (char *)"GetDisplaySize", (PyCFunction
) _wrap_GetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
28040 { (char *)"DisplaySizeMM", (PyCFunction
) _wrap_DisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
28041 { (char *)"GetDisplaySizeMM", (PyCFunction
) _wrap_GetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
28042 { (char *)"ClientDisplayRect", (PyCFunction
) _wrap_ClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
28043 { (char *)"GetClientDisplayRect", (PyCFunction
) _wrap_GetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
28044 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
28045 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
28046 { (char *)"GetActiveWindow", (PyCFunction
) _wrap_GetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
},
28047 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
28048 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
28049 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
},
28050 { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS
| METH_KEYWORDS
},
28051 { (char *)"WakeUpMainThread", (PyCFunction
) _wrap_WakeUpMainThread
, METH_VARARGS
| METH_KEYWORDS
},
28052 { (char *)"MutexGuiEnter", (PyCFunction
) _wrap_MutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
},
28053 { (char *)"MutexGuiLeave", (PyCFunction
) _wrap_MutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
},
28054 { (char *)"new_MutexGuiLocker", (PyCFunction
) _wrap_new_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
28055 { (char *)"delete_MutexGuiLocker", (PyCFunction
) _wrap_delete_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
28056 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
},
28057 { (char *)"Thread_IsMain", (PyCFunction
) _wrap_Thread_IsMain
, METH_VARARGS
| METH_KEYWORDS
},
28058 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
},
28059 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
},
28060 { (char *)"ToolTip_GetTip", (PyCFunction
) _wrap_ToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
28061 { (char *)"ToolTip_GetWindow", (PyCFunction
) _wrap_ToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
28062 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
},
28063 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
},
28064 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
},
28065 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
},
28066 { (char *)"delete_Caret", (PyCFunction
) _wrap_delete_Caret
, METH_VARARGS
| METH_KEYWORDS
},
28067 { (char *)"Caret_IsOk", (PyCFunction
) _wrap_Caret_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28068 { (char *)"Caret_IsVisible", (PyCFunction
) _wrap_Caret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
28069 { (char *)"Caret_GetPosition", (PyCFunction
) _wrap_Caret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28070 { (char *)"Caret_GetPositionTuple", (PyCFunction
) _wrap_Caret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
28071 { (char *)"Caret_GetSize", (PyCFunction
) _wrap_Caret_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
28072 { (char *)"Caret_GetSizeTuple", (PyCFunction
) _wrap_Caret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
28073 { (char *)"Caret_GetWindow", (PyCFunction
) _wrap_Caret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
28074 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
28075 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
},
28076 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
28077 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
28078 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
},
28079 { (char *)"Caret_Hide", (PyCFunction
) _wrap_Caret_Hide
, METH_VARARGS
| METH_KEYWORDS
},
28080 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
},
28081 { (char *)"Caret_GetBlinkTime", (PyCFunction
) _wrap_Caret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
28082 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
28083 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
28084 { (char *)"delete_BusyCursor", (PyCFunction
) _wrap_delete_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
28085 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
},
28086 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
28087 { (char *)"delete_WindowDisabler", (PyCFunction
) _wrap_delete_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
28088 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
},
28089 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
28090 { (char *)"delete_BusyInfo", (PyCFunction
) _wrap_delete_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
28091 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
},
28092 { (char *)"new_StopWatch", (PyCFunction
) _wrap_new_StopWatch
, METH_VARARGS
| METH_KEYWORDS
},
28093 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
},
28094 { (char *)"StopWatch_Pause", (PyCFunction
) _wrap_StopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
},
28095 { (char *)"StopWatch_Resume", (PyCFunction
) _wrap_StopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
},
28096 { (char *)"StopWatch_Time", (PyCFunction
) _wrap_StopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
},
28097 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
},
28098 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
},
28099 { (char *)"delete_FileHistory", (PyCFunction
) _wrap_delete_FileHistory
, METH_VARARGS
| METH_KEYWORDS
},
28100 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
},
28101 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
},
28102 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
) _wrap_FileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
},
28103 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
},
28104 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
},
28105 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
},
28106 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
},
28107 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
},
28108 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
},
28109 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
},
28110 { (char *)"FileHistory_GetCount", (PyCFunction
) _wrap_FileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
28111 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
},
28112 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
28113 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
) _wrap_new_PreSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
28114 { (char *)"delete_SingleInstanceChecker", (PyCFunction
) _wrap_delete_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
28115 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
},
28116 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
) _wrap_SingleInstanceChecker_IsAnotherRunning
, METH_VARARGS
| METH_KEYWORDS
},
28117 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
},
28118 { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
},
28119 { (char *)"delete_TipProvider", (PyCFunction
) _wrap_delete_TipProvider
, METH_VARARGS
| METH_KEYWORDS
},
28120 { (char *)"TipProvider_GetTip", (PyCFunction
) _wrap_TipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
28121 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
) _wrap_TipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
},
28122 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
},
28123 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
},
28124 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
28125 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28126 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
},
28127 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
},
28128 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
28129 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
},
28130 { (char *)"delete_Timer", (PyCFunction
) _wrap_delete_Timer
, METH_VARARGS
| METH_KEYWORDS
},
28131 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28132 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
},
28133 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
},
28134 { (char *)"Timer_Stop", (PyCFunction
) _wrap_Timer_Stop
, METH_VARARGS
| METH_KEYWORDS
},
28135 { (char *)"Timer_IsRunning", (PyCFunction
) _wrap_Timer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
},
28136 { (char *)"Timer_GetInterval", (PyCFunction
) _wrap_Timer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
28137 { (char *)"Timer_IsOneShot", (PyCFunction
) _wrap_Timer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
},
28138 { (char *)"Timer_GetId", (PyCFunction
) _wrap_Timer_GetId
, METH_VARARGS
| METH_KEYWORDS
},
28139 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
},
28140 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
},
28141 { (char *)"TimerEvent_GetInterval", (PyCFunction
) _wrap_TimerEvent_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
28142 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
},
28143 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
},
28144 { (char *)"delete_TimerRunner", (PyCFunction
) _wrap_delete_TimerRunner
, METH_VARARGS
| METH_KEYWORDS
},
28145 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
},
28146 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
},
28147 { (char *)"new_Log", (PyCFunction
) _wrap_new_Log
, METH_VARARGS
| METH_KEYWORDS
},
28148 { (char *)"Log_IsEnabled", (PyCFunction
) _wrap_Log_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
28149 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
},
28150 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
},
28151 { (char *)"Log_Flush", (PyCFunction
) _wrap_Log_Flush
, METH_VARARGS
| METH_KEYWORDS
},
28152 { (char *)"Log_FlushActive", (PyCFunction
) _wrap_Log_FlushActive
, METH_VARARGS
| METH_KEYWORDS
},
28153 { (char *)"Log_GetActiveTarget", (PyCFunction
) _wrap_Log_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
28154 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
28155 { (char *)"Log_Suspend", (PyCFunction
) _wrap_Log_Suspend
, METH_VARARGS
| METH_KEYWORDS
},
28156 { (char *)"Log_Resume", (PyCFunction
) _wrap_Log_Resume
, METH_VARARGS
| METH_KEYWORDS
},
28157 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
28158 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
},
28159 { (char *)"Log_DontCreateOnDemand", (PyCFunction
) _wrap_Log_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
28160 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28161 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28162 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28163 { (char *)"Log_ClearTraceMasks", (PyCFunction
) _wrap_Log_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
28164 { (char *)"Log_GetTraceMasks", (PyCFunction
) _wrap_Log_GetTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
28165 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
28166 { (char *)"Log_GetVerbose", (PyCFunction
) _wrap_Log_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
28167 { (char *)"Log_GetTraceMask", (PyCFunction
) _wrap_Log_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28168 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28169 { (char *)"Log_GetLogLevel", (PyCFunction
) _wrap_Log_GetLogLevel
, METH_VARARGS
| METH_KEYWORDS
},
28170 { (char *)"Log_GetTimestamp", (PyCFunction
) _wrap_Log_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
28171 { (char *)"Log_TimeStamp", (PyCFunction
) _wrap_Log_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
},
28172 { (char *)"Log_Destroy", (PyCFunction
) _wrap_Log_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
28173 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
},
28174 { (char *)"new_LogStderr", (PyCFunction
) _wrap_new_LogStderr
, METH_VARARGS
| METH_KEYWORDS
},
28175 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
},
28176 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
28177 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
},
28178 { (char *)"new_LogGui", (PyCFunction
) _wrap_new_LogGui
, METH_VARARGS
| METH_KEYWORDS
},
28179 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
},
28180 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
},
28181 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
28182 { (char *)"LogWindow_GetFrame", (PyCFunction
) _wrap_LogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
28183 { (char *)"LogWindow_GetOldLog", (PyCFunction
) _wrap_LogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
28184 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
) _wrap_LogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
28185 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
28186 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
},
28187 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
},
28188 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
},
28189 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
28190 { (char *)"LogChain_IsPassingMessages", (PyCFunction
) _wrap_LogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
28191 { (char *)"LogChain_GetOldLog", (PyCFunction
) _wrap_LogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
28192 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
},
28193 { (char *)"SysErrorCode", (PyCFunction
) _wrap_SysErrorCode
, METH_VARARGS
| METH_KEYWORDS
},
28194 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
},
28195 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
},
28196 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
},
28197 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
},
28198 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
},
28199 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
},
28200 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
},
28201 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
},
28202 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
},
28203 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
},
28204 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
},
28205 { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS
},
28206 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
},
28207 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
},
28208 { (char *)"new_LogNull", (PyCFunction
) _wrap_new_LogNull
, METH_VARARGS
| METH_KEYWORDS
},
28209 { (char *)"delete_LogNull", (PyCFunction
) _wrap_delete_LogNull
, METH_VARARGS
| METH_KEYWORDS
},
28210 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
},
28211 { (char *)"new_PyLog", (PyCFunction
) _wrap_new_PyLog
, METH_VARARGS
| METH_KEYWORDS
},
28212 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28213 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
},
28214 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
},
28215 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
},
28216 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
},
28217 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
},
28218 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28219 { (char *)"Process_base_OnTerminate", (PyCFunction
) _wrap_Process_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
},
28220 { (char *)"Process_Redirect", (PyCFunction
) _wrap_Process_Redirect
, METH_VARARGS
| METH_KEYWORDS
},
28221 { (char *)"Process_IsRedirected", (PyCFunction
) _wrap_Process_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
},
28222 { (char *)"Process_Detach", (PyCFunction
) _wrap_Process_Detach
, METH_VARARGS
| METH_KEYWORDS
},
28223 { (char *)"Process_GetInputStream", (PyCFunction
) _wrap_Process_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
},
28224 { (char *)"Process_GetErrorStream", (PyCFunction
) _wrap_Process_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
},
28225 { (char *)"Process_GetOutputStream", (PyCFunction
) _wrap_Process_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
28226 { (char *)"Process_CloseOutput", (PyCFunction
) _wrap_Process_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
},
28227 { (char *)"Process_IsInputOpened", (PyCFunction
) _wrap_Process_IsInputOpened
, METH_VARARGS
| METH_KEYWORDS
},
28228 { (char *)"Process_IsInputAvailable", (PyCFunction
) _wrap_Process_IsInputAvailable
, METH_VARARGS
| METH_KEYWORDS
},
28229 { (char *)"Process_IsErrorAvailable", (PyCFunction
) _wrap_Process_IsErrorAvailable
, METH_VARARGS
| METH_KEYWORDS
},
28230 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
},
28231 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
28232 { (char *)"ProcessEvent_GetPid", (PyCFunction
) _wrap_ProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
},
28233 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
) _wrap_ProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
},
28234 { (char *)"ProcessEvent_m_pid_set", (PyCFunction
) _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
},
28235 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
) _wrap_ProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
},
28236 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
},
28237 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
},
28238 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
},
28239 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
},
28240 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
},
28241 { (char *)"delete_Joystick", (PyCFunction
) _wrap_delete_Joystick
, METH_VARARGS
| METH_KEYWORDS
},
28242 { (char *)"Joystick_GetPosition", (PyCFunction
) _wrap_Joystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28243 { (char *)"Joystick_GetZPosition", (PyCFunction
) _wrap_Joystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
28244 { (char *)"Joystick_GetButtonState", (PyCFunction
) _wrap_Joystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
28245 { (char *)"Joystick_GetPOVPosition", (PyCFunction
) _wrap_Joystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
},
28246 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
) _wrap_Joystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
},
28247 { (char *)"Joystick_GetRudderPosition", (PyCFunction
) _wrap_Joystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
},
28248 { (char *)"Joystick_GetUPosition", (PyCFunction
) _wrap_Joystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
},
28249 { (char *)"Joystick_GetVPosition", (PyCFunction
) _wrap_Joystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
},
28250 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
) _wrap_Joystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
28251 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
28252 { (char *)"Joystick_IsOk", (PyCFunction
) _wrap_Joystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28253 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
) _wrap_Joystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
},
28254 { (char *)"Joystick_GetManufacturerId", (PyCFunction
) _wrap_Joystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
},
28255 { (char *)"Joystick_GetProductId", (PyCFunction
) _wrap_Joystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
},
28256 { (char *)"Joystick_GetProductName", (PyCFunction
) _wrap_Joystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
},
28257 { (char *)"Joystick_GetXMin", (PyCFunction
) _wrap_Joystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
},
28258 { (char *)"Joystick_GetYMin", (PyCFunction
) _wrap_Joystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
},
28259 { (char *)"Joystick_GetZMin", (PyCFunction
) _wrap_Joystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
},
28260 { (char *)"Joystick_GetXMax", (PyCFunction
) _wrap_Joystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
},
28261 { (char *)"Joystick_GetYMax", (PyCFunction
) _wrap_Joystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
},
28262 { (char *)"Joystick_GetZMax", (PyCFunction
) _wrap_Joystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
},
28263 { (char *)"Joystick_GetNumberButtons", (PyCFunction
) _wrap_Joystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
},
28264 { (char *)"Joystick_GetNumberAxes", (PyCFunction
) _wrap_Joystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
},
28265 { (char *)"Joystick_GetMaxButtons", (PyCFunction
) _wrap_Joystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
},
28266 { (char *)"Joystick_GetMaxAxes", (PyCFunction
) _wrap_Joystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
},
28267 { (char *)"Joystick_GetPollingMin", (PyCFunction
) _wrap_Joystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
},
28268 { (char *)"Joystick_GetPollingMax", (PyCFunction
) _wrap_Joystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
},
28269 { (char *)"Joystick_GetRudderMin", (PyCFunction
) _wrap_Joystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
},
28270 { (char *)"Joystick_GetRudderMax", (PyCFunction
) _wrap_Joystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
},
28271 { (char *)"Joystick_GetUMin", (PyCFunction
) _wrap_Joystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
},
28272 { (char *)"Joystick_GetUMax", (PyCFunction
) _wrap_Joystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
},
28273 { (char *)"Joystick_GetVMin", (PyCFunction
) _wrap_Joystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
},
28274 { (char *)"Joystick_GetVMax", (PyCFunction
) _wrap_Joystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
},
28275 { (char *)"Joystick_HasRudder", (PyCFunction
) _wrap_Joystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
},
28276 { (char *)"Joystick_HasZ", (PyCFunction
) _wrap_Joystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
},
28277 { (char *)"Joystick_HasU", (PyCFunction
) _wrap_Joystick_HasU
, METH_VARARGS
| METH_KEYWORDS
},
28278 { (char *)"Joystick_HasV", (PyCFunction
) _wrap_Joystick_HasV
, METH_VARARGS
| METH_KEYWORDS
},
28279 { (char *)"Joystick_HasPOV", (PyCFunction
) _wrap_Joystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
},
28280 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
) _wrap_Joystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
},
28281 { (char *)"Joystick_HasPOVCTS", (PyCFunction
) _wrap_Joystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
},
28282 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
},
28283 { (char *)"Joystick_ReleaseCapture", (PyCFunction
) _wrap_Joystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
},
28284 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
},
28285 { (char *)"JoystickEvent_m_pos_set", (PyCFunction
) _wrap_JoystickEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
},
28286 { (char *)"JoystickEvent_m_pos_get", (PyCFunction
) _wrap_JoystickEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
},
28287 { (char *)"JoystickEvent_m_zPosition_set", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_set
, METH_VARARGS
| METH_KEYWORDS
},
28288 { (char *)"JoystickEvent_m_zPosition_get", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_get
, METH_VARARGS
| METH_KEYWORDS
},
28289 { (char *)"JoystickEvent_m_buttonChange_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_set
, METH_VARARGS
| METH_KEYWORDS
},
28290 { (char *)"JoystickEvent_m_buttonChange_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_get
, METH_VARARGS
| METH_KEYWORDS
},
28291 { (char *)"JoystickEvent_m_buttonState_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_set
, METH_VARARGS
| METH_KEYWORDS
},
28292 { (char *)"JoystickEvent_m_buttonState_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_get
, METH_VARARGS
| METH_KEYWORDS
},
28293 { (char *)"JoystickEvent_m_joyStick_set", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_set
, METH_VARARGS
| METH_KEYWORDS
},
28294 { (char *)"JoystickEvent_m_joyStick_get", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_get
, METH_VARARGS
| METH_KEYWORDS
},
28295 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
},
28296 { (char *)"JoystickEvent_GetPosition", (PyCFunction
) _wrap_JoystickEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28297 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
) _wrap_JoystickEvent_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
28298 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
) _wrap_JoystickEvent_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
28299 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
) _wrap_JoystickEvent_GetButtonChange
, METH_VARARGS
| METH_KEYWORDS
},
28300 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
) _wrap_JoystickEvent_GetJoystick
, METH_VARARGS
| METH_KEYWORDS
},
28301 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
},
28302 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
28303 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
},
28304 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28305 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
28306 { (char *)"JoystickEvent_IsButton", (PyCFunction
) _wrap_JoystickEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
28307 { (char *)"JoystickEvent_IsMove", (PyCFunction
) _wrap_JoystickEvent_IsMove
, METH_VARARGS
| METH_KEYWORDS
},
28308 { (char *)"JoystickEvent_IsZMove", (PyCFunction
) _wrap_JoystickEvent_IsZMove
, METH_VARARGS
| METH_KEYWORDS
},
28309 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
},
28310 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
},
28311 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
},
28312 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
},
28313 { (char *)"new_Sound", (PyCFunction
) _wrap_new_Sound
, METH_VARARGS
| METH_KEYWORDS
},
28314 { (char *)"new_SoundFromData", (PyCFunction
) _wrap_new_SoundFromData
, METH_VARARGS
| METH_KEYWORDS
},
28315 { (char *)"delete_Sound", (PyCFunction
) _wrap_delete_Sound
, METH_VARARGS
| METH_KEYWORDS
},
28316 { (char *)"Sound_Create", (PyCFunction
) _wrap_Sound_Create
, METH_VARARGS
| METH_KEYWORDS
},
28317 { (char *)"Sound_CreateFromData", (PyCFunction
) _wrap_Sound_CreateFromData
, METH_VARARGS
| METH_KEYWORDS
},
28318 { (char *)"Sound_IsOk", (PyCFunction
) _wrap_Sound_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28319 { (char *)"Sound_Play", (PyCFunction
) _wrap_Sound_Play
, METH_VARARGS
| METH_KEYWORDS
},
28320 { (char *)"Sound_PlaySound", (PyCFunction
) _wrap_Sound_PlaySound
, METH_VARARGS
| METH_KEYWORDS
},
28321 { (char *)"Sound_Stop", (PyCFunction
) _wrap_Sound_Stop
, METH_VARARGS
| METH_KEYWORDS
},
28322 { (char *)"Sound_swigregister", Sound_swigregister
, METH_VARARGS
},
28323 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
28324 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
},
28325 { (char *)"new_NullFileTypeInfo", (PyCFunction
) _wrap_new_NullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
28326 { (char *)"FileTypeInfo_IsValid", (PyCFunction
) _wrap_FileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
28327 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
28328 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
28329 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
) _wrap_FileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
28330 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_FileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
28331 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_FileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
28332 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
28333 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
) _wrap_FileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
28334 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
) _wrap_FileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
28335 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_FileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
},
28336 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
) _wrap_FileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
},
28337 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_FileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
},
28338 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
},
28339 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
},
28340 { (char *)"delete_FileType", (PyCFunction
) _wrap_delete_FileType
, METH_VARARGS
| METH_KEYWORDS
},
28341 { (char *)"FileType_GetMimeType", (PyCFunction
) _wrap_FileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
28342 { (char *)"FileType_GetMimeTypes", (PyCFunction
) _wrap_FileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
28343 { (char *)"FileType_GetExtensions", (PyCFunction
) _wrap_FileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
28344 { (char *)"FileType_GetIcon", (PyCFunction
) _wrap_FileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
28345 { (char *)"FileType_GetIconInfo", (PyCFunction
) _wrap_FileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
},
28346 { (char *)"FileType_GetDescription", (PyCFunction
) _wrap_FileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
28347 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
28348 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
28349 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
},
28350 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
},
28351 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
},
28352 { (char *)"FileType_Unassociate", (PyCFunction
) _wrap_FileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
28353 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
},
28354 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
},
28355 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
},
28356 { (char *)"new_MimeTypesManager", (PyCFunction
) _wrap_new_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
28357 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
28358 { (char *)"MimeTypesManager_ClearData", (PyCFunction
) _wrap_MimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
},
28359 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
},
28360 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
},
28361 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
},
28362 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
28363 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_MimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
},
28364 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
},
28365 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
},
28366 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
28367 { (char *)"delete_MimeTypesManager", (PyCFunction
) _wrap_delete_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
28368 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
},
28369 { (char *)"new_ArtProvider", (PyCFunction
) _wrap_new_ArtProvider
, METH_VARARGS
| METH_KEYWORDS
},
28370 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28371 { (char *)"ArtProvider_PushProvider", (PyCFunction
) _wrap_ArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
},
28372 { (char *)"ArtProvider_PopProvider", (PyCFunction
) _wrap_ArtProvider_PopProvider
, METH_VARARGS
| METH_KEYWORDS
},
28373 { (char *)"ArtProvider_RemoveProvider", (PyCFunction
) _wrap_ArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
},
28374 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
28375 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
28376 { (char *)"ArtProvider_Destroy", (PyCFunction
) _wrap_ArtProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
28377 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
},
28378 { (char *)"delete_ConfigBase", (PyCFunction
) _wrap_delete_ConfigBase
, METH_VARARGS
| METH_KEYWORDS
},
28379 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
},
28380 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
},
28381 { (char *)"ConfigBase_Create", (PyCFunction
) _wrap_ConfigBase_Create
, METH_VARARGS
| METH_KEYWORDS
},
28382 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
) _wrap_ConfigBase_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
28383 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
28384 { (char *)"ConfigBase_GetPath", (PyCFunction
) _wrap_ConfigBase_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
28385 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
) _wrap_ConfigBase_GetFirstGroup
, METH_VARARGS
| METH_KEYWORDS
},
28386 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
},
28387 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
) _wrap_ConfigBase_GetFirstEntry
, METH_VARARGS
| METH_KEYWORDS
},
28388 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
},
28389 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
},
28390 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
},
28391 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
},
28392 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
},
28393 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
},
28394 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
},
28395 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
},
28396 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
},
28397 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
},
28398 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
},
28399 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
},
28400 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
},
28401 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
},
28402 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
},
28403 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
},
28404 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
},
28405 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
},
28406 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
},
28407 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
},
28408 { (char *)"ConfigBase_DeleteAll", (PyCFunction
) _wrap_ConfigBase_DeleteAll
, METH_VARARGS
| METH_KEYWORDS
},
28409 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28410 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
) _wrap_ConfigBase_IsExpandingEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28411 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
},
28412 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
) _wrap_ConfigBase_IsRecordingDefaults
, METH_VARARGS
| METH_KEYWORDS
},
28413 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28414 { (char *)"ConfigBase_GetAppName", (PyCFunction
) _wrap_ConfigBase_GetAppName
, METH_VARARGS
| METH_KEYWORDS
},
28415 { (char *)"ConfigBase_GetVendorName", (PyCFunction
) _wrap_ConfigBase_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
28416 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
},
28417 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
28418 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
28419 { (char *)"ConfigBase_GetStyle", (PyCFunction
) _wrap_ConfigBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
28420 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
},
28421 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
},
28422 { (char *)"delete_Config", (PyCFunction
) _wrap_delete_Config
, METH_VARARGS
| METH_KEYWORDS
},
28423 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
},
28424 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
},
28425 { (char *)"delete_FileConfig", (PyCFunction
) _wrap_delete_FileConfig
, METH_VARARGS
| METH_KEYWORDS
},
28426 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
},
28427 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
},
28428 { (char *)"delete_ConfigPathChanger", (PyCFunction
) _wrap_delete_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
},
28429 { (char *)"ConfigPathChanger_Name", (PyCFunction
) _wrap_ConfigPathChanger_Name
, METH_VARARGS
| METH_KEYWORDS
},
28430 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
},
28431 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28432 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
},
28433 { (char *)"DateTime_GetCountry", (PyCFunction
) _wrap_DateTime_GetCountry
, METH_VARARGS
| METH_KEYWORDS
},
28434 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
},
28435 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
},
28436 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
},
28437 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
},
28438 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
},
28439 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
},
28440 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
},
28441 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
},
28442 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
},
28443 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
},
28444 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
) _wrap_DateTime_GetAmPmStrings
, METH_VARARGS
| METH_KEYWORDS
},
28445 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
},
28446 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
},
28447 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
},
28448 { (char *)"DateTime_Now", (PyCFunction
) _wrap_DateTime_Now
, METH_VARARGS
| METH_KEYWORDS
},
28449 { (char *)"DateTime_UNow", (PyCFunction
) _wrap_DateTime_UNow
, METH_VARARGS
| METH_KEYWORDS
},
28450 { (char *)"DateTime_Today", (PyCFunction
) _wrap_DateTime_Today
, METH_VARARGS
| METH_KEYWORDS
},
28451 { (char *)"new_DateTime", (PyCFunction
) _wrap_new_DateTime
, METH_VARARGS
| METH_KEYWORDS
},
28452 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
},
28453 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
},
28454 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
},
28455 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
},
28456 { (char *)"delete_DateTime", (PyCFunction
) _wrap_delete_DateTime
, METH_VARARGS
| METH_KEYWORDS
},
28457 { (char *)"DateTime_SetToCurrent", (PyCFunction
) _wrap_DateTime_SetToCurrent
, METH_VARARGS
| METH_KEYWORDS
},
28458 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
},
28459 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
},
28460 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
},
28461 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
},
28462 { (char *)"DateTime_ResetTime", (PyCFunction
) _wrap_DateTime_ResetTime
, METH_VARARGS
| METH_KEYWORDS
},
28463 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
},
28464 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
},
28465 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
},
28466 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
},
28467 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
},
28468 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
},
28469 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
28470 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
28471 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
28472 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28473 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28474 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28475 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28476 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28477 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28478 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28479 { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
},
28480 { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
},
28481 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
28482 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
28483 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
},
28484 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
},
28485 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
28486 { (char *)"DateTime_GetJDN", (PyCFunction
) _wrap_DateTime_GetJDN
, METH_VARARGS
| METH_KEYWORDS
},
28487 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetModifiedJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
28488 { (char *)"DateTime_GetMJD", (PyCFunction
) _wrap_DateTime_GetMJD
, METH_VARARGS
| METH_KEYWORDS
},
28489 { (char *)"DateTime_GetRataDie", (PyCFunction
) _wrap_DateTime_GetRataDie
, METH_VARARGS
| METH_KEYWORDS
},
28490 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
},
28491 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
},
28492 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
},
28493 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
},
28494 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
},
28495 { (char *)"DateTime_IsValid", (PyCFunction
) _wrap_DateTime_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
28496 { (char *)"DateTime_GetTicks", (PyCFunction
) _wrap_DateTime_GetTicks
, METH_VARARGS
| METH_KEYWORDS
},
28497 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
},
28498 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
},
28499 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
},
28500 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28501 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
},
28502 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
},
28503 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
},
28504 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
28505 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
},
28506 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
},
28507 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
},
28508 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
},
28509 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
28510 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
},
28511 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
},
28512 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
},
28513 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
},
28514 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
},
28515 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
},
28516 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
},
28517 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
},
28518 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
},
28519 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
},
28520 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
},
28521 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
28522 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
},
28523 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
},
28524 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
},
28525 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
},
28526 { (char *)"DateTime___lt__", _wrap_DateTime___lt__
, METH_VARARGS
},
28527 { (char *)"DateTime___le__", _wrap_DateTime___le__
, METH_VARARGS
},
28528 { (char *)"DateTime___gt__", _wrap_DateTime___gt__
, METH_VARARGS
},
28529 { (char *)"DateTime___ge__", _wrap_DateTime___ge__
, METH_VARARGS
},
28530 { (char *)"DateTime___eq__", _wrap_DateTime___eq__
, METH_VARARGS
},
28531 { (char *)"DateTime___ne__", _wrap_DateTime___ne__
, METH_VARARGS
},
28532 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
},
28533 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
},
28534 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
},
28535 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
},
28536 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
},
28537 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
},
28538 { (char *)"DateTime_FormatDate", (PyCFunction
) _wrap_DateTime_FormatDate
, METH_VARARGS
| METH_KEYWORDS
},
28539 { (char *)"DateTime_FormatTime", (PyCFunction
) _wrap_DateTime_FormatTime
, METH_VARARGS
| METH_KEYWORDS
},
28540 { (char *)"DateTime_FormatISODate", (PyCFunction
) _wrap_DateTime_FormatISODate
, METH_VARARGS
| METH_KEYWORDS
},
28541 { (char *)"DateTime_FormatISOTime", (PyCFunction
) _wrap_DateTime_FormatISOTime
, METH_VARARGS
| METH_KEYWORDS
},
28542 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
},
28543 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
},
28544 { (char *)"TimeSpan_Second", (PyCFunction
) _wrap_TimeSpan_Second
, METH_VARARGS
| METH_KEYWORDS
},
28545 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
},
28546 { (char *)"TimeSpan_Minute", (PyCFunction
) _wrap_TimeSpan_Minute
, METH_VARARGS
| METH_KEYWORDS
},
28547 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
},
28548 { (char *)"TimeSpan_Hour", (PyCFunction
) _wrap_TimeSpan_Hour
, METH_VARARGS
| METH_KEYWORDS
},
28549 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
28550 { (char *)"TimeSpan_Day", (PyCFunction
) _wrap_TimeSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
28551 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
28552 { (char *)"TimeSpan_Week", (PyCFunction
) _wrap_TimeSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
28553 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
28554 { (char *)"delete_TimeSpan", (PyCFunction
) _wrap_delete_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
28555 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
28556 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
28557 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
28558 { (char *)"TimeSpan_Neg", (PyCFunction
) _wrap_TimeSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
28559 { (char *)"TimeSpan_Abs", (PyCFunction
) _wrap_TimeSpan_Abs
, METH_VARARGS
| METH_KEYWORDS
},
28560 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
28561 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
},
28562 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
},
28563 { (char *)"TimeSpan___neg__", (PyCFunction
) _wrap_TimeSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
28564 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
28565 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
28566 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
28567 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
28568 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
},
28569 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
},
28570 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
},
28571 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
},
28572 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
28573 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
28574 { (char *)"TimeSpan_IsNull", (PyCFunction
) _wrap_TimeSpan_IsNull
, METH_VARARGS
| METH_KEYWORDS
},
28575 { (char *)"TimeSpan_IsPositive", (PyCFunction
) _wrap_TimeSpan_IsPositive
, METH_VARARGS
| METH_KEYWORDS
},
28576 { (char *)"TimeSpan_IsNegative", (PyCFunction
) _wrap_TimeSpan_IsNegative
, METH_VARARGS
| METH_KEYWORDS
},
28577 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
28578 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
},
28579 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
},
28580 { (char *)"TimeSpan_GetWeeks", (PyCFunction
) _wrap_TimeSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
28581 { (char *)"TimeSpan_GetDays", (PyCFunction
) _wrap_TimeSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
28582 { (char *)"TimeSpan_GetHours", (PyCFunction
) _wrap_TimeSpan_GetHours
, METH_VARARGS
| METH_KEYWORDS
},
28583 { (char *)"TimeSpan_GetMinutes", (PyCFunction
) _wrap_TimeSpan_GetMinutes
, METH_VARARGS
| METH_KEYWORDS
},
28584 { (char *)"TimeSpan_GetSeconds", (PyCFunction
) _wrap_TimeSpan_GetSeconds
, METH_VARARGS
| METH_KEYWORDS
},
28585 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
) _wrap_TimeSpan_GetMilliseconds
, METH_VARARGS
| METH_KEYWORDS
},
28586 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
},
28587 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
},
28588 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
},
28589 { (char *)"delete_DateSpan", (PyCFunction
) _wrap_delete_DateSpan
, METH_VARARGS
| METH_KEYWORDS
},
28590 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
28591 { (char *)"DateSpan_Day", (PyCFunction
) _wrap_DateSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
28592 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
28593 { (char *)"DateSpan_Week", (PyCFunction
) _wrap_DateSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
28594 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
},
28595 { (char *)"DateSpan_Month", (PyCFunction
) _wrap_DateSpan_Month
, METH_VARARGS
| METH_KEYWORDS
},
28596 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
},
28597 { (char *)"DateSpan_Year", (PyCFunction
) _wrap_DateSpan_Year
, METH_VARARGS
| METH_KEYWORDS
},
28598 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
},
28599 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
},
28600 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
28601 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
},
28602 { (char *)"DateSpan_GetYears", (PyCFunction
) _wrap_DateSpan_GetYears
, METH_VARARGS
| METH_KEYWORDS
},
28603 { (char *)"DateSpan_GetMonths", (PyCFunction
) _wrap_DateSpan_GetMonths
, METH_VARARGS
| METH_KEYWORDS
},
28604 { (char *)"DateSpan_GetWeeks", (PyCFunction
) _wrap_DateSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
28605 { (char *)"DateSpan_GetDays", (PyCFunction
) _wrap_DateSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
28606 { (char *)"DateSpan_GetTotalDays", (PyCFunction
) _wrap_DateSpan_GetTotalDays
, METH_VARARGS
| METH_KEYWORDS
},
28607 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
28608 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
28609 { (char *)"DateSpan_Neg", (PyCFunction
) _wrap_DateSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
28610 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
28611 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
28612 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
},
28613 { (char *)"DateSpan___neg__", (PyCFunction
) _wrap_DateSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
28614 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
},
28615 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
28616 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
28617 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
28618 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
28619 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
28620 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
28621 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
},
28622 { (char *)"GetLocalTime", (PyCFunction
) _wrap_GetLocalTime
, METH_VARARGS
| METH_KEYWORDS
},
28623 { (char *)"GetUTCTime", (PyCFunction
) _wrap_GetUTCTime
, METH_VARARGS
| METH_KEYWORDS
},
28624 { (char *)"GetCurrentTime", (PyCFunction
) _wrap_GetCurrentTime
, METH_VARARGS
| METH_KEYWORDS
},
28625 { (char *)"GetLocalTimeMillis", (PyCFunction
) _wrap_GetLocalTimeMillis
, METH_VARARGS
| METH_KEYWORDS
},
28626 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
},
28627 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
},
28628 { (char *)"delete_DataFormat", (PyCFunction
) _wrap_delete_DataFormat
, METH_VARARGS
| METH_KEYWORDS
},
28629 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
},
28630 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
},
28631 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
},
28632 { (char *)"DataFormat_GetType", (PyCFunction
) _wrap_DataFormat_GetType
, METH_VARARGS
| METH_KEYWORDS
},
28633 { (char *)"DataFormat_GetId", (PyCFunction
) _wrap_DataFormat_GetId
, METH_VARARGS
| METH_KEYWORDS
},
28634 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
},
28635 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
},
28636 { (char *)"delete_DataObject", (PyCFunction
) _wrap_delete_DataObject
, METH_VARARGS
| METH_KEYWORDS
},
28637 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
},
28638 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
},
28639 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
},
28640 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
},
28641 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
},
28642 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
},
28643 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28644 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
},
28645 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
},
28646 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
) _wrap_DataObjectSimple_GetFormat
, METH_VARARGS
| METH_KEYWORDS
},
28647 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
},
28648 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
},
28649 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
},
28650 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28651 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
},
28652 { (char *)"new_DataObjectComposite", (PyCFunction
) _wrap_new_DataObjectComposite
, METH_VARARGS
| METH_KEYWORDS
},
28653 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
},
28654 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
},
28655 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28656 { (char *)"TextDataObject_GetTextLength", (PyCFunction
) _wrap_TextDataObject_GetTextLength
, METH_VARARGS
| METH_KEYWORDS
},
28657 { (char *)"TextDataObject_GetText", (PyCFunction
) _wrap_TextDataObject_GetText
, METH_VARARGS
| METH_KEYWORDS
},
28658 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
},
28659 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
},
28660 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28661 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28662 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
},
28663 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28664 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
) _wrap_BitmapDataObject_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
28665 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
28666 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
},
28667 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28668 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28669 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
},
28670 { (char *)"new_FileDataObject", (PyCFunction
) _wrap_new_FileDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28671 { (char *)"FileDataObject_GetFilenames", (PyCFunction
) _wrap_FileDataObject_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
},
28672 { (char *)"FileDataObject_AddFile", (PyCFunction
) _wrap_FileDataObject_AddFile
, METH_VARARGS
| METH_KEYWORDS
},
28673 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
},
28674 { (char *)"new_CustomDataObject", (PyCFunction
) _wrap_new_CustomDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28675 { (char *)"CustomDataObject_TakeData", (PyCFunction
) _wrap_CustomDataObject_TakeData
, METH_VARARGS
| METH_KEYWORDS
},
28676 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28677 { (char *)"CustomDataObject_GetSize", (PyCFunction
) _wrap_CustomDataObject_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
28678 { (char *)"CustomDataObject_GetData", (PyCFunction
) _wrap_CustomDataObject_GetData
, METH_VARARGS
| METH_KEYWORDS
},
28679 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
},
28680 { (char *)"new_URLDataObject", (PyCFunction
) _wrap_new_URLDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28681 { (char *)"URLDataObject_GetURL", (PyCFunction
) _wrap_URLDataObject_GetURL
, METH_VARARGS
| METH_KEYWORDS
},
28682 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
},
28683 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
},
28684 { (char *)"new_MetafileDataObject", (PyCFunction
) _wrap_new_MetafileDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28685 { (char *)"MetafileDataObject_SetMetafile", (PyCFunction
) _wrap_MetafileDataObject_SetMetafile
, METH_VARARGS
| METH_KEYWORDS
},
28686 { (char *)"MetafileDataObject_GetMetafile", (PyCFunction
) _wrap_MetafileDataObject_GetMetafile
, METH_VARARGS
| METH_KEYWORDS
},
28687 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
},
28688 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
},
28689 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
},
28690 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28691 { (char *)"delete_DropSource", (PyCFunction
) _wrap_delete_DropSource
, METH_VARARGS
| METH_KEYWORDS
},
28692 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28693 { (char *)"DropSource_GetDataObject", (PyCFunction
) _wrap_DropSource_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28694 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
28695 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
},
28696 { (char *)"DropSource_base_GiveFeedback", (PyCFunction
) _wrap_DropSource_base_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
},
28697 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
},
28698 { (char *)"new_DropTarget", (PyCFunction
) _wrap_new_DropTarget
, METH_VARARGS
| METH_KEYWORDS
},
28699 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28700 { (char *)"delete_DropTarget", (PyCFunction
) _wrap_delete_DropTarget
, METH_VARARGS
| METH_KEYWORDS
},
28701 { (char *)"DropTarget_GetDataObject", (PyCFunction
) _wrap_DropTarget_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28702 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28703 { (char *)"DropTarget_base_OnEnter", (PyCFunction
) _wrap_DropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
28704 { (char *)"DropTarget_base_OnDragOver", (PyCFunction
) _wrap_DropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
28705 { (char *)"DropTarget_base_OnLeave", (PyCFunction
) _wrap_DropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
28706 { (char *)"DropTarget_base_OnDrop", (PyCFunction
) _wrap_DropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
28707 { (char *)"DropTarget_GetData", (PyCFunction
) _wrap_DropTarget_GetData
, METH_VARARGS
| METH_KEYWORDS
},
28708 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
},
28709 { (char *)"new_TextDropTarget", (PyCFunction
) _wrap_new_TextDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
28710 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28711 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction
) _wrap_TextDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
28712 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
28713 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction
) _wrap_TextDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
28714 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction
) _wrap_TextDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
28715 { (char *)"TextDropTarget_base_OnData", (PyCFunction
) _wrap_TextDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
},
28716 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
},
28717 { (char *)"new_FileDropTarget", (PyCFunction
) _wrap_new_FileDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
28718 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28719 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction
) _wrap_FileDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
28720 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
28721 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction
) _wrap_FileDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
28722 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction
) _wrap_FileDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
28723 { (char *)"FileDropTarget_base_OnData", (PyCFunction
) _wrap_FileDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
},
28724 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
},
28725 { (char *)"new_Clipboard", (PyCFunction
) _wrap_new_Clipboard
, METH_VARARGS
| METH_KEYWORDS
},
28726 { (char *)"delete_Clipboard", (PyCFunction
) _wrap_delete_Clipboard
, METH_VARARGS
| METH_KEYWORDS
},
28727 { (char *)"Clipboard_Open", (PyCFunction
) _wrap_Clipboard_Open
, METH_VARARGS
| METH_KEYWORDS
},
28728 { (char *)"Clipboard_Close", (PyCFunction
) _wrap_Clipboard_Close
, METH_VARARGS
| METH_KEYWORDS
},
28729 { (char *)"Clipboard_IsOpened", (PyCFunction
) _wrap_Clipboard_IsOpened
, METH_VARARGS
| METH_KEYWORDS
},
28730 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
},
28731 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28732 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
},
28733 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
},
28734 { (char *)"Clipboard_Clear", (PyCFunction
) _wrap_Clipboard_Clear
, METH_VARARGS
| METH_KEYWORDS
},
28735 { (char *)"Clipboard_Flush", (PyCFunction
) _wrap_Clipboard_Flush
, METH_VARARGS
| METH_KEYWORDS
},
28736 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
},
28737 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
},
28738 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
},
28739 { (char *)"delete_ClipboardLocker", (PyCFunction
) _wrap_delete_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
},
28740 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
) _wrap_ClipboardLocker___nonzero__
, METH_VARARGS
| METH_KEYWORDS
},
28741 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
},
28742 { (char *)"new_VideoMode", (PyCFunction
) _wrap_new_VideoMode
, METH_VARARGS
| METH_KEYWORDS
},
28743 { (char *)"delete_VideoMode", (PyCFunction
) _wrap_delete_VideoMode
, METH_VARARGS
| METH_KEYWORDS
},
28744 { (char *)"VideoMode_Matches", (PyCFunction
) _wrap_VideoMode_Matches
, METH_VARARGS
| METH_KEYWORDS
},
28745 { (char *)"VideoMode_GetWidth", (PyCFunction
) _wrap_VideoMode_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
28746 { (char *)"VideoMode_GetHeight", (PyCFunction
) _wrap_VideoMode_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
28747 { (char *)"VideoMode_GetDepth", (PyCFunction
) _wrap_VideoMode_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
28748 { (char *)"VideoMode_IsOk", (PyCFunction
) _wrap_VideoMode_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28749 { (char *)"VideoMode___eq__", (PyCFunction
) _wrap_VideoMode___eq__
, METH_VARARGS
| METH_KEYWORDS
},
28750 { (char *)"VideoMode___ne__", (PyCFunction
) _wrap_VideoMode___ne__
, METH_VARARGS
| METH_KEYWORDS
},
28751 { (char *)"VideoMode_w_set", (PyCFunction
) _wrap_VideoMode_w_set
, METH_VARARGS
| METH_KEYWORDS
},
28752 { (char *)"VideoMode_w_get", (PyCFunction
) _wrap_VideoMode_w_get
, METH_VARARGS
| METH_KEYWORDS
},
28753 { (char *)"VideoMode_h_set", (PyCFunction
) _wrap_VideoMode_h_set
, METH_VARARGS
| METH_KEYWORDS
},
28754 { (char *)"VideoMode_h_get", (PyCFunction
) _wrap_VideoMode_h_get
, METH_VARARGS
| METH_KEYWORDS
},
28755 { (char *)"VideoMode_bpp_set", (PyCFunction
) _wrap_VideoMode_bpp_set
, METH_VARARGS
| METH_KEYWORDS
},
28756 { (char *)"VideoMode_bpp_get", (PyCFunction
) _wrap_VideoMode_bpp_get
, METH_VARARGS
| METH_KEYWORDS
},
28757 { (char *)"VideoMode_refresh_set", (PyCFunction
) _wrap_VideoMode_refresh_set
, METH_VARARGS
| METH_KEYWORDS
},
28758 { (char *)"VideoMode_refresh_get", (PyCFunction
) _wrap_VideoMode_refresh_get
, METH_VARARGS
| METH_KEYWORDS
},
28759 { (char *)"VideoMode_swigregister", VideoMode_swigregister
, METH_VARARGS
},
28760 { (char *)"new_Display", (PyCFunction
) _wrap_new_Display
, METH_VARARGS
| METH_KEYWORDS
},
28761 { (char *)"delete_Display", (PyCFunction
) _wrap_delete_Display
, METH_VARARGS
| METH_KEYWORDS
},
28762 { (char *)"Display_GetCount", (PyCFunction
) _wrap_Display_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
28763 { (char *)"Display_GetFromPoint", (PyCFunction
) _wrap_Display_GetFromPoint
, METH_VARARGS
| METH_KEYWORDS
},
28764 { (char *)"Display_GetFromWindow", (PyCFunction
) _wrap_Display_GetFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
28765 { (char *)"Display_IsOk", (PyCFunction
) _wrap_Display_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28766 { (char *)"Display_GetGeometry", (PyCFunction
) _wrap_Display_GetGeometry
, METH_VARARGS
| METH_KEYWORDS
},
28767 { (char *)"Display_GetName", (PyCFunction
) _wrap_Display_GetName
, METH_VARARGS
| METH_KEYWORDS
},
28768 { (char *)"Display_IsPrimary", (PyCFunction
) _wrap_Display_IsPrimary
, METH_VARARGS
| METH_KEYWORDS
},
28769 { (char *)"Display_GetModes", (PyCFunction
) _wrap_Display_GetModes
, METH_VARARGS
| METH_KEYWORDS
},
28770 { (char *)"Display_GetCurrentMode", (PyCFunction
) _wrap_Display_GetCurrentMode
, METH_VARARGS
| METH_KEYWORDS
},
28771 { (char *)"Display_ChangeMode", (PyCFunction
) _wrap_Display_ChangeMode
, METH_VARARGS
| METH_KEYWORDS
},
28772 { (char *)"Display_ResetMode", (PyCFunction
) _wrap_Display_ResetMode
, METH_VARARGS
| METH_KEYWORDS
},
28773 { (char *)"Display_swigregister", Display_swigregister
, METH_VARARGS
},
28778 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
28780 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
28781 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
28783 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
28784 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
28786 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
28787 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
28789 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
28790 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
28792 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
28793 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
28795 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
28796 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
28798 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
28799 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
28801 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
28802 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
28804 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
28805 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
28807 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
28808 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
28810 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
28811 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
28813 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
28814 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
28816 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
28817 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
28819 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
28820 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
28822 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
28823 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
28825 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
28826 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
28828 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
28829 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
28831 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
28832 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
28834 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
28835 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
28837 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
28838 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
28840 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
28841 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
28843 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
28844 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
28846 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
28847 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
28849 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
28850 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
28852 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
28853 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
28855 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
28856 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
28858 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
28859 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
28861 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
28862 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
28864 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
28865 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
28867 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
28868 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
28870 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
28871 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
28873 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
28874 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
28876 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
28877 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
28879 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
28880 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
28882 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
28883 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
28885 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
28886 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
28888 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
28889 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
28891 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
28892 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
28894 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
28895 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
28897 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
28898 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
28900 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
28901 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
28903 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
28904 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
28906 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
28907 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
28909 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
28910 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
28912 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
28913 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
28915 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
28916 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
28918 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
28919 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
28921 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
28922 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
28924 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
28925 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
28927 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
28928 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
28930 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
28931 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
28933 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
28934 return (void *)((wxDataObject
*) (wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
28936 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
28937 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
28939 static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x
) {
28940 return (void *)((wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
28942 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
28943 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
28945 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
28946 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
28948 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
28949 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
28951 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
28952 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
28954 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
28955 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
28957 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
28958 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
28960 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
28961 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
28963 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
28964 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
28966 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
28967 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
28969 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
28970 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
28972 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
28973 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
28975 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
28976 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
28978 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
28979 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
28981 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
28982 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
28984 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
28985 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
28987 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
28988 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
28990 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
28991 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
28993 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
28994 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
28996 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
28997 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
28999 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
29000 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
29002 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
29003 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
29005 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
29006 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
29008 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
29009 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
29011 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
29012 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
29014 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
29015 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
29017 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
29018 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
29020 static void *_p_wxSizerTo_p_wxObject(void *x
) {
29021 return (void *)((wxObject
*) ((wxSizer
*) x
));
29023 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
29024 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
29026 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
29027 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
29029 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
29030 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
29032 static void *_p_wxEventTo_p_wxObject(void *x
) {
29033 return (void *)((wxObject
*) ((wxEvent
*) x
));
29035 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
29036 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
29038 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
29039 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
29041 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
29042 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
29044 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
29045 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
29047 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
29048 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
29050 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
29051 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
29053 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
29054 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
29056 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
29057 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
29059 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
29060 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
29062 static void *_p_wxControlTo_p_wxObject(void *x
) {
29063 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
29065 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
29066 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
29068 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
29069 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
29071 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
29072 return (void *)((wxObject
*) ((wxFSFile
*) x
));
29074 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
29075 return (void *)((wxObject
*) ((wxClipboard
*) x
));
29077 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
29078 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
29080 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
29081 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
29083 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
29084 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
29086 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
29087 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
29089 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
29090 return (void *)((wxObject
*) ((wxToolTip
*) x
));
29092 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
29093 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
29095 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
29096 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
29098 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
29099 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
29101 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
29102 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
29104 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
29105 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
29107 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
29108 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
29110 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
29111 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
29113 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
29114 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
29116 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
29117 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
29119 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
29120 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
29122 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
29123 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
29125 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
29126 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
29128 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
29129 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
29131 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
29132 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
29134 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
29135 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
29137 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
29138 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
29140 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
29141 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
29143 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
29144 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
29146 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
29147 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
29149 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
29150 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
29152 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
29153 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
29155 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
29156 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
29158 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
29159 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
29161 static void *_p_wxImageTo_p_wxObject(void *x
) {
29162 return (void *)((wxObject
*) ((wxImage
*) x
));
29164 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
29165 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
29167 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
29168 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
29170 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
29171 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
29173 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
29174 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
29176 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
29177 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
29179 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
29180 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
29182 static void *_p_wxWindowTo_p_wxObject(void *x
) {
29183 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
29185 static void *_p_wxMenuTo_p_wxObject(void *x
) {
29186 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
29188 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
29189 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
29191 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
29192 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
29194 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
29195 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
29197 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
29198 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
29200 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
29201 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
29203 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
29204 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
29206 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
29207 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
29209 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
29210 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
29212 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
29213 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
29215 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
29216 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
29218 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
29219 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
29221 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
29222 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
29224 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
29225 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
29227 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
29228 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
29230 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
29231 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
29233 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
29234 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
29236 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
29237 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
29239 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
29240 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
29242 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
29243 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
29245 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
29246 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
29248 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
29249 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
29251 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
29252 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
29254 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
29255 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
29257 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
29258 return (void *)((wxLog
*) ((wxLogChain
*) x
));
29260 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
29261 return (void *)((wxLog
*) ((wxLogGui
*) x
));
29263 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
29264 return (void *)((wxLog
*) ((wxPyLog
*) x
));
29266 static void *_p_wxControlTo_p_wxWindow(void *x
) {
29267 return (void *)((wxWindow
*) ((wxControl
*) x
));
29269 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
29270 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
29272 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
29273 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
29275 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
29276 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
29278 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
29279 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
29281 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}};
29282 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}};
29283 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}};
29284 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}};
29285 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}};
29286 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}};
29287 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}};
29288 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}};
29289 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}};
29290 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}};
29291 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}};
29292 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}};
29293 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}};
29294 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}};
29295 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}};
29296 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}};
29297 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}};
29298 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}};
29299 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}};
29300 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}};
29301 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}};
29302 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}};
29303 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}};
29304 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}};
29305 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}};
29306 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}};
29307 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}};
29308 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}};
29309 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}};
29310 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}};
29311 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}};
29312 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}};
29313 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}};
29314 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}};
29315 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}};
29316 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}};
29317 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}};
29318 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}};
29319 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}};
29320 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}};
29321 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}};
29322 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}};
29323 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}};
29324 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}};
29325 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}};
29326 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}};
29327 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}};
29328 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}};
29329 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}};
29330 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}};
29331 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}};
29332 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}};
29333 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}};
29334 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}};
29335 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}};
29336 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}};
29337 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}};
29338 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}};
29339 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}};
29340 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}};
29341 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}};
29342 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}};
29343 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}};
29344 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}};
29345 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}};
29346 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}};
29347 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}};
29348 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}};
29349 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}};
29350 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}};
29351 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}};
29352 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}};
29353 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}};
29354 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}};
29355 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}};
29356 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}};
29357 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}};
29358 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}};
29359 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}};
29360 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}};
29361 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}};
29362 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}};
29363 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}};
29364 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}};
29365 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}};
29366 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}};
29368 static swig_type_info
*swig_types_initial
[] = {
29369 _swigt__p_wxLogChain
,
29370 _swigt__p_wxMutexGuiLocker
,
29371 _swigt__p_wxMetafile
,
29372 _swigt__p_wxFileHistory
,
29374 _swigt__p_wxDateTime__TimeZone
,
29377 _swigt__p_wxConfigBase
,
29378 _swigt__p_wxDisplay
,
29379 _swigt__p_wxFileType
,
29380 _swigt__p_wxLogGui
,
29382 _swigt__p_wxDataFormat
,
29383 _swigt__p_wxTimerEvent
,
29387 _swigt__p_wxClipboard
,
29388 _swigt__p_wxStopWatch
,
29390 _swigt__p_wxClipboardLocker
,
29392 _swigt__p_wxLogStderr
,
29393 _swigt__p_wxLogTextCtrl
,
29394 _swigt__p_wxTextCtrl
,
29395 _swigt__p_wxBusyCursor
,
29396 _swigt__p_wxPyBitmapDataObject
,
29397 _swigt__p_wxPyTextDataObject
,
29398 _swigt__p_wxBitmapDataObject
,
29399 _swigt__p_wxTextDataObject
,
29400 _swigt__p_wxDataObject
,
29401 _swigt__p_wxFileDataObject
,
29402 _swigt__p_wxCustomDataObject
,
29403 _swigt__p_wxURLDataObject
,
29404 _swigt__p_wxMetafileDataObject
,
29406 _swigt__p_wxTimerRunner
,
29407 _swigt__p_wxLogWindow
,
29408 _swigt__p_wxTimeSpan
,
29409 _swigt__p_wxArrayString
,
29410 _swigt__p_wxWindowDisabler
,
29411 _swigt__p_wxToolTip
,
29412 _swigt__p_wxDataObjectComposite
,
29413 _swigt__p_wxFileConfig
,
29414 _swigt__p_wxSystemSettings
,
29415 _swigt__p_wxVideoMode
,
29416 _swigt__p_wxPyDataObjectSimple
,
29417 _swigt__p_wxDataObjectSimple
,
29418 _swigt__p_wxEvtHandler
,
29421 _swigt__p_wxSingleInstanceChecker
,
29422 _swigt__p_wxFileTypeInfo
,
29425 _swigt__p_wxMimeTypesManager
,
29426 _swigt__p_wxPyArtProvider
,
29427 _swigt__p_wxPyTipProvider
,
29428 _swigt__p_wxTipProvider
,
29429 _swigt__p_wxJoystick
,
29430 _swigt__p_wxSystemOptions
,
29432 _swigt__p_wxJoystickEvent
,
29433 _swigt__p_wxCursor
,
29434 _swigt__p_wxObject
,
29435 _swigt__p_wxOutputStream
,
29436 _swigt__p_wxDateTime
,
29437 _swigt__p_wxPyDropSource
,
29438 _swigt__p_wxWindow
,
29439 _swigt__p_wxString
,
29440 _swigt__p_wxPyProcess
,
29441 _swigt__p_wxBitmap
,
29442 _swigt__p_wxConfig
,
29444 _swigt__p_wxBusyInfo
,
29445 _swigt__p_wxPyDropTarget
,
29446 _swigt__p_wxPyTextDropTarget
,
29447 _swigt__p_wxPyFileDropTarget
,
29448 _swigt__p_wxProcessEvent
,
29450 _swigt__p_wxLogNull
,
29451 _swigt__p_wxColour
,
29452 _swigt__p_wxConfigPathChanger
,
29453 _swigt__p_wxPyTimer
,
29454 _swigt__p_wxDateSpan
,
29459 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
29461 static swig_const_info swig_const_table
[] = {
29462 { SWIG_PY_POINTER
, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", &SWIGTYPE_p_char
},
29463 { SWIG_PY_POINTER
, (char*)"TRACE_Messages", 0, 0, (void *)"messages", &SWIGTYPE_p_char
},
29464 { SWIG_PY_POINTER
, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", &SWIGTYPE_p_char
},
29465 { SWIG_PY_POINTER
, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", &SWIGTYPE_p_char
},
29466 { SWIG_PY_POINTER
, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", &SWIGTYPE_p_char
},
29476 SWIGEXPORT(void) SWIG_init(void) {
29477 static PyObject
*SWIG_globals
= 0;
29478 static int typeinit
= 0;
29481 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
29482 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
29483 d
= PyModule_GetDict(m
);
29486 for (i
= 0; swig_types_initial
[i
]; i
++) {
29487 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
29491 SWIG_InstallConstants(d
,swig_const_table
);
29493 PyDict_SetItemString(d
,"SYS_OEM_FIXED_FONT", SWIG_FromInt((int)wxSYS_OEM_FIXED_FONT
));
29494 PyDict_SetItemString(d
,"SYS_ANSI_FIXED_FONT", SWIG_FromInt((int)wxSYS_ANSI_FIXED_FONT
));
29495 PyDict_SetItemString(d
,"SYS_ANSI_VAR_FONT", SWIG_FromInt((int)wxSYS_ANSI_VAR_FONT
));
29496 PyDict_SetItemString(d
,"SYS_SYSTEM_FONT", SWIG_FromInt((int)wxSYS_SYSTEM_FONT
));
29497 PyDict_SetItemString(d
,"SYS_DEVICE_DEFAULT_FONT", SWIG_FromInt((int)wxSYS_DEVICE_DEFAULT_FONT
));
29498 PyDict_SetItemString(d
,"SYS_DEFAULT_PALETTE", SWIG_FromInt((int)wxSYS_DEFAULT_PALETTE
));
29499 PyDict_SetItemString(d
,"SYS_SYSTEM_FIXED_FONT", SWIG_FromInt((int)wxSYS_SYSTEM_FIXED_FONT
));
29500 PyDict_SetItemString(d
,"SYS_DEFAULT_GUI_FONT", SWIG_FromInt((int)wxSYS_DEFAULT_GUI_FONT
));
29501 PyDict_SetItemString(d
,"SYS_ICONTITLE_FONT", SWIG_FromInt((int)wxSYS_ICONTITLE_FONT
));
29502 PyDict_SetItemString(d
,"SYS_COLOUR_SCROLLBAR", SWIG_FromInt((int)wxSYS_COLOUR_SCROLLBAR
));
29503 PyDict_SetItemString(d
,"SYS_COLOUR_BACKGROUND", SWIG_FromInt((int)wxSYS_COLOUR_BACKGROUND
));
29504 PyDict_SetItemString(d
,"SYS_COLOUR_DESKTOP", SWIG_FromInt((int)wxSYS_COLOUR_DESKTOP
));
29505 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_ACTIVECAPTION
));
29506 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVECAPTION
));
29507 PyDict_SetItemString(d
,"SYS_COLOUR_MENU", SWIG_FromInt((int)wxSYS_COLOUR_MENU
));
29508 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOW", SWIG_FromInt((int)wxSYS_COLOUR_WINDOW
));
29509 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWFRAME", SWIG_FromInt((int)wxSYS_COLOUR_WINDOWFRAME
));
29510 PyDict_SetItemString(d
,"SYS_COLOUR_MENUTEXT", SWIG_FromInt((int)wxSYS_COLOUR_MENUTEXT
));
29511 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWTEXT", SWIG_FromInt((int)wxSYS_COLOUR_WINDOWTEXT
));
29512 PyDict_SetItemString(d
,"SYS_COLOUR_CAPTIONTEXT", SWIG_FromInt((int)wxSYS_COLOUR_CAPTIONTEXT
));
29513 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVEBORDER", SWIG_FromInt((int)wxSYS_COLOUR_ACTIVEBORDER
));
29514 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVEBORDER", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVEBORDER
));
29515 PyDict_SetItemString(d
,"SYS_COLOUR_APPWORKSPACE", SWIG_FromInt((int)wxSYS_COLOUR_APPWORKSPACE
));
29516 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_HIGHLIGHT
));
29517 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_FromInt((int)wxSYS_COLOUR_HIGHLIGHTTEXT
));
29518 PyDict_SetItemString(d
,"SYS_COLOUR_BTNFACE", SWIG_FromInt((int)wxSYS_COLOUR_BTNFACE
));
29519 PyDict_SetItemString(d
,"SYS_COLOUR_3DFACE", SWIG_FromInt((int)wxSYS_COLOUR_3DFACE
));
29520 PyDict_SetItemString(d
,"SYS_COLOUR_BTNSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_BTNSHADOW
));
29521 PyDict_SetItemString(d
,"SYS_COLOUR_3DSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_3DSHADOW
));
29522 PyDict_SetItemString(d
,"SYS_COLOUR_GRAYTEXT", SWIG_FromInt((int)wxSYS_COLOUR_GRAYTEXT
));
29523 PyDict_SetItemString(d
,"SYS_COLOUR_BTNTEXT", SWIG_FromInt((int)wxSYS_COLOUR_BTNTEXT
));
29524 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVECAPTIONTEXT
));
29525 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_BTNHIGHLIGHT
));
29526 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_BTNHILIGHT
));
29527 PyDict_SetItemString(d
,"SYS_COLOUR_3DHIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DHIGHLIGHT
));
29528 PyDict_SetItemString(d
,"SYS_COLOUR_3DHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DHILIGHT
));
29529 PyDict_SetItemString(d
,"SYS_COLOUR_3DDKSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_3DDKSHADOW
));
29530 PyDict_SetItemString(d
,"SYS_COLOUR_3DLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DLIGHT
));
29531 PyDict_SetItemString(d
,"SYS_COLOUR_INFOTEXT", SWIG_FromInt((int)wxSYS_COLOUR_INFOTEXT
));
29532 PyDict_SetItemString(d
,"SYS_COLOUR_INFOBK", SWIG_FromInt((int)wxSYS_COLOUR_INFOBK
));
29533 PyDict_SetItemString(d
,"SYS_COLOUR_LISTBOX", SWIG_FromInt((int)wxSYS_COLOUR_LISTBOX
));
29534 PyDict_SetItemString(d
,"SYS_COLOUR_HOTLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_HOTLIGHT
));
29535 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_GRADIENTACTIVECAPTION
));
29536 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_GRADIENTINACTIVECAPTION
));
29537 PyDict_SetItemString(d
,"SYS_COLOUR_MENUHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_MENUHILIGHT
));
29538 PyDict_SetItemString(d
,"SYS_COLOUR_MENUBAR", SWIG_FromInt((int)wxSYS_COLOUR_MENUBAR
));
29539 PyDict_SetItemString(d
,"SYS_COLOUR_MAX", SWIG_FromInt((int)wxSYS_COLOUR_MAX
));
29540 PyDict_SetItemString(d
,"SYS_MOUSE_BUTTONS", SWIG_FromInt((int)wxSYS_MOUSE_BUTTONS
));
29541 PyDict_SetItemString(d
,"SYS_BORDER_X", SWIG_FromInt((int)wxSYS_BORDER_X
));
29542 PyDict_SetItemString(d
,"SYS_BORDER_Y", SWIG_FromInt((int)wxSYS_BORDER_Y
));
29543 PyDict_SetItemString(d
,"SYS_CURSOR_X", SWIG_FromInt((int)wxSYS_CURSOR_X
));
29544 PyDict_SetItemString(d
,"SYS_CURSOR_Y", SWIG_FromInt((int)wxSYS_CURSOR_Y
));
29545 PyDict_SetItemString(d
,"SYS_DCLICK_X", SWIG_FromInt((int)wxSYS_DCLICK_X
));
29546 PyDict_SetItemString(d
,"SYS_DCLICK_Y", SWIG_FromInt((int)wxSYS_DCLICK_Y
));
29547 PyDict_SetItemString(d
,"SYS_DRAG_X", SWIG_FromInt((int)wxSYS_DRAG_X
));
29548 PyDict_SetItemString(d
,"SYS_DRAG_Y", SWIG_FromInt((int)wxSYS_DRAG_Y
));
29549 PyDict_SetItemString(d
,"SYS_EDGE_X", SWIG_FromInt((int)wxSYS_EDGE_X
));
29550 PyDict_SetItemString(d
,"SYS_EDGE_Y", SWIG_FromInt((int)wxSYS_EDGE_Y
));
29551 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_X", SWIG_FromInt((int)wxSYS_HSCROLL_ARROW_X
));
29552 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_Y", SWIG_FromInt((int)wxSYS_HSCROLL_ARROW_Y
));
29553 PyDict_SetItemString(d
,"SYS_HTHUMB_X", SWIG_FromInt((int)wxSYS_HTHUMB_X
));
29554 PyDict_SetItemString(d
,"SYS_ICON_X", SWIG_FromInt((int)wxSYS_ICON_X
));
29555 PyDict_SetItemString(d
,"SYS_ICON_Y", SWIG_FromInt((int)wxSYS_ICON_Y
));
29556 PyDict_SetItemString(d
,"SYS_ICONSPACING_X", SWIG_FromInt((int)wxSYS_ICONSPACING_X
));
29557 PyDict_SetItemString(d
,"SYS_ICONSPACING_Y", SWIG_FromInt((int)wxSYS_ICONSPACING_Y
));
29558 PyDict_SetItemString(d
,"SYS_WINDOWMIN_X", SWIG_FromInt((int)wxSYS_WINDOWMIN_X
));
29559 PyDict_SetItemString(d
,"SYS_WINDOWMIN_Y", SWIG_FromInt((int)wxSYS_WINDOWMIN_Y
));
29560 PyDict_SetItemString(d
,"SYS_SCREEN_X", SWIG_FromInt((int)wxSYS_SCREEN_X
));
29561 PyDict_SetItemString(d
,"SYS_SCREEN_Y", SWIG_FromInt((int)wxSYS_SCREEN_Y
));
29562 PyDict_SetItemString(d
,"SYS_FRAMESIZE_X", SWIG_FromInt((int)wxSYS_FRAMESIZE_X
));
29563 PyDict_SetItemString(d
,"SYS_FRAMESIZE_Y", SWIG_FromInt((int)wxSYS_FRAMESIZE_Y
));
29564 PyDict_SetItemString(d
,"SYS_SMALLICON_X", SWIG_FromInt((int)wxSYS_SMALLICON_X
));
29565 PyDict_SetItemString(d
,"SYS_SMALLICON_Y", SWIG_FromInt((int)wxSYS_SMALLICON_Y
));
29566 PyDict_SetItemString(d
,"SYS_HSCROLL_Y", SWIG_FromInt((int)wxSYS_HSCROLL_Y
));
29567 PyDict_SetItemString(d
,"SYS_VSCROLL_X", SWIG_FromInt((int)wxSYS_VSCROLL_X
));
29568 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_X", SWIG_FromInt((int)wxSYS_VSCROLL_ARROW_X
));
29569 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_Y", SWIG_FromInt((int)wxSYS_VSCROLL_ARROW_Y
));
29570 PyDict_SetItemString(d
,"SYS_VTHUMB_Y", SWIG_FromInt((int)wxSYS_VTHUMB_Y
));
29571 PyDict_SetItemString(d
,"SYS_CAPTION_Y", SWIG_FromInt((int)wxSYS_CAPTION_Y
));
29572 PyDict_SetItemString(d
,"SYS_MENU_Y", SWIG_FromInt((int)wxSYS_MENU_Y
));
29573 PyDict_SetItemString(d
,"SYS_NETWORK_PRESENT", SWIG_FromInt((int)wxSYS_NETWORK_PRESENT
));
29574 PyDict_SetItemString(d
,"SYS_PENWINDOWS_PRESENT", SWIG_FromInt((int)wxSYS_PENWINDOWS_PRESENT
));
29575 PyDict_SetItemString(d
,"SYS_SHOW_SOUNDS", SWIG_FromInt((int)wxSYS_SHOW_SOUNDS
));
29576 PyDict_SetItemString(d
,"SYS_SWAP_BUTTONS", SWIG_FromInt((int)wxSYS_SWAP_BUTTONS
));
29577 PyDict_SetItemString(d
,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_FromInt((int)wxSYS_CAN_DRAW_FRAME_DECORATIONS
));
29578 PyDict_SetItemString(d
,"SYS_CAN_ICONIZE_FRAME", SWIG_FromInt((int)wxSYS_CAN_ICONIZE_FRAME
));
29579 PyDict_SetItemString(d
,"SYS_SCREEN_NONE", SWIG_FromInt((int)wxSYS_SCREEN_NONE
));
29580 PyDict_SetItemString(d
,"SYS_SCREEN_TINY", SWIG_FromInt((int)wxSYS_SCREEN_TINY
));
29581 PyDict_SetItemString(d
,"SYS_SCREEN_PDA", SWIG_FromInt((int)wxSYS_SCREEN_PDA
));
29582 PyDict_SetItemString(d
,"SYS_SCREEN_SMALL", SWIG_FromInt((int)wxSYS_SCREEN_SMALL
));
29583 PyDict_SetItemString(d
,"SYS_SCREEN_DESKTOP", SWIG_FromInt((int)wxSYS_SCREEN_DESKTOP
));
29584 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
29585 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
29586 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
29587 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
29588 PyDict_SetItemString(d
,"SHUTDOWN_POWEROFF", SWIG_FromInt((int)wxSHUTDOWN_POWEROFF
));
29589 PyDict_SetItemString(d
,"SHUTDOWN_REBOOT", SWIG_FromInt((int)wxSHUTDOWN_REBOOT
));
29590 PyDict_SetItemString(d
,"TIMER_CONTINUOUS", SWIG_FromInt((int)wxTIMER_CONTINUOUS
));
29591 PyDict_SetItemString(d
,"TIMER_ONE_SHOT", SWIG_FromInt((int)wxTIMER_ONE_SHOT
));
29592 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
29593 PyDict_SetItemString(d
,"LOG_FatalError", SWIG_FromInt((int)wxLOG_FatalError
));
29594 PyDict_SetItemString(d
,"LOG_Error", SWIG_FromInt((int)wxLOG_Error
));
29595 PyDict_SetItemString(d
,"LOG_Warning", SWIG_FromInt((int)wxLOG_Warning
));
29596 PyDict_SetItemString(d
,"LOG_Message", SWIG_FromInt((int)wxLOG_Message
));
29597 PyDict_SetItemString(d
,"LOG_Status", SWIG_FromInt((int)wxLOG_Status
));
29598 PyDict_SetItemString(d
,"LOG_Info", SWIG_FromInt((int)wxLOG_Info
));
29599 PyDict_SetItemString(d
,"LOG_Debug", SWIG_FromInt((int)wxLOG_Debug
));
29600 PyDict_SetItemString(d
,"LOG_Trace", SWIG_FromInt((int)wxLOG_Trace
));
29601 PyDict_SetItemString(d
,"LOG_Progress", SWIG_FromInt((int)wxLOG_Progress
));
29602 PyDict_SetItemString(d
,"LOG_User", SWIG_FromInt((int)wxLOG_User
));
29603 PyDict_SetItemString(d
,"LOG_Max", SWIG_FromInt((int)wxLOG_Max
));
29604 PyDict_SetItemString(d
,"TRACE_MemAlloc", SWIG_FromCharPtr("memalloc"));
29605 PyDict_SetItemString(d
,"TRACE_Messages", SWIG_FromCharPtr("messages"));
29606 PyDict_SetItemString(d
,"TRACE_ResAlloc", SWIG_FromCharPtr("resalloc"));
29607 PyDict_SetItemString(d
,"TRACE_RefCount", SWIG_FromCharPtr("refcount"));
29608 PyDict_SetItemString(d
,"TRACE_OleCalls", SWIG_FromCharPtr("ole"));
29609 PyDict_SetItemString(d
,"TraceMemAlloc", SWIG_FromInt((int)0x0001));
29610 PyDict_SetItemString(d
,"TraceMessages", SWIG_FromInt((int)0x0002));
29611 PyDict_SetItemString(d
,"TraceResAlloc", SWIG_FromInt((int)0x0004));
29612 PyDict_SetItemString(d
,"TraceRefCount", SWIG_FromInt((int)0x0008));
29613 PyDict_SetItemString(d
,"TraceOleCalls", SWIG_FromInt((int)0x0100));
29614 PyDict_SetItemString(d
,"PROCESS_DEFAULT", SWIG_FromInt((int)wxPROCESS_DEFAULT
));
29615 PyDict_SetItemString(d
,"PROCESS_REDIRECT", SWIG_FromInt((int)wxPROCESS_REDIRECT
));
29616 PyDict_SetItemString(d
,"KILL_OK", SWIG_FromInt((int)wxKILL_OK
));
29617 PyDict_SetItemString(d
,"KILL_BAD_SIGNAL", SWIG_FromInt((int)wxKILL_BAD_SIGNAL
));
29618 PyDict_SetItemString(d
,"KILL_ACCESS_DENIED", SWIG_FromInt((int)wxKILL_ACCESS_DENIED
));
29619 PyDict_SetItemString(d
,"KILL_NO_PROCESS", SWIG_FromInt((int)wxKILL_NO_PROCESS
));
29620 PyDict_SetItemString(d
,"KILL_ERROR", SWIG_FromInt((int)wxKILL_ERROR
));
29621 PyDict_SetItemString(d
,"SIGNONE", SWIG_FromInt((int)wxSIGNONE
));
29622 PyDict_SetItemString(d
,"SIGHUP", SWIG_FromInt((int)wxSIGHUP
));
29623 PyDict_SetItemString(d
,"SIGINT", SWIG_FromInt((int)wxSIGINT
));
29624 PyDict_SetItemString(d
,"SIGQUIT", SWIG_FromInt((int)wxSIGQUIT
));
29625 PyDict_SetItemString(d
,"SIGILL", SWIG_FromInt((int)wxSIGILL
));
29626 PyDict_SetItemString(d
,"SIGTRAP", SWIG_FromInt((int)wxSIGTRAP
));
29627 PyDict_SetItemString(d
,"SIGABRT", SWIG_FromInt((int)wxSIGABRT
));
29628 PyDict_SetItemString(d
,"SIGIOT", SWIG_FromInt((int)wxSIGIOT
));
29629 PyDict_SetItemString(d
,"SIGEMT", SWIG_FromInt((int)wxSIGEMT
));
29630 PyDict_SetItemString(d
,"SIGFPE", SWIG_FromInt((int)wxSIGFPE
));
29631 PyDict_SetItemString(d
,"SIGKILL", SWIG_FromInt((int)wxSIGKILL
));
29632 PyDict_SetItemString(d
,"SIGBUS", SWIG_FromInt((int)wxSIGBUS
));
29633 PyDict_SetItemString(d
,"SIGSEGV", SWIG_FromInt((int)wxSIGSEGV
));
29634 PyDict_SetItemString(d
,"SIGSYS", SWIG_FromInt((int)wxSIGSYS
));
29635 PyDict_SetItemString(d
,"SIGPIPE", SWIG_FromInt((int)wxSIGPIPE
));
29636 PyDict_SetItemString(d
,"SIGALRM", SWIG_FromInt((int)wxSIGALRM
));
29637 PyDict_SetItemString(d
,"SIGTERM", SWIG_FromInt((int)wxSIGTERM
));
29638 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
29639 PyDict_SetItemString(d
,"EXEC_ASYNC", SWIG_FromInt((int)wxEXEC_ASYNC
));
29640 PyDict_SetItemString(d
,"EXEC_SYNC", SWIG_FromInt((int)wxEXEC_SYNC
));
29641 PyDict_SetItemString(d
,"EXEC_NOHIDE", SWIG_FromInt((int)wxEXEC_NOHIDE
));
29642 PyDict_SetItemString(d
,"EXEC_MAKE_GROUP_LEADER", SWIG_FromInt((int)wxEXEC_MAKE_GROUP_LEADER
));
29644 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
29646 PyDict_SetItemString(d
,"JOYSTICK1", SWIG_FromInt((int)wxJOYSTICK1
));
29647 PyDict_SetItemString(d
,"JOYSTICK2", SWIG_FromInt((int)wxJOYSTICK2
));
29648 PyDict_SetItemString(d
,"JOY_BUTTON_ANY", SWIG_FromInt((int)wxJOY_BUTTON_ANY
));
29649 PyDict_SetItemString(d
,"JOY_BUTTON1", SWIG_FromInt((int)wxJOY_BUTTON1
));
29650 PyDict_SetItemString(d
,"JOY_BUTTON2", SWIG_FromInt((int)wxJOY_BUTTON2
));
29651 PyDict_SetItemString(d
,"JOY_BUTTON3", SWIG_FromInt((int)wxJOY_BUTTON3
));
29652 PyDict_SetItemString(d
,"JOY_BUTTON4", SWIG_FromInt((int)wxJOY_BUTTON4
));
29653 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
29654 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
29655 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
29656 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
29657 PyDict_SetItemString(d
,"SOUND_SYNC", SWIG_FromInt((int)wxSOUND_SYNC
));
29658 PyDict_SetItemString(d
,"SOUND_ASYNC", SWIG_FromInt((int)wxSOUND_ASYNC
));
29659 PyDict_SetItemString(d
,"SOUND_LOOP", SWIG_FromInt((int)wxSOUND_LOOP
));
29660 PyDict_SetItemString(d
,"MAILCAP_STANDARD", SWIG_FromInt((int)wxMAILCAP_STANDARD
));
29661 PyDict_SetItemString(d
,"MAILCAP_NETSCAPE", SWIG_FromInt((int)wxMAILCAP_NETSCAPE
));
29662 PyDict_SetItemString(d
,"MAILCAP_KDE", SWIG_FromInt((int)wxMAILCAP_KDE
));
29663 PyDict_SetItemString(d
,"MAILCAP_GNOME", SWIG_FromInt((int)wxMAILCAP_GNOME
));
29664 PyDict_SetItemString(d
,"MAILCAP_ALL", SWIG_FromInt((int)wxMAILCAP_ALL
));
29665 SWIG_addvarlink(SWIG_globals
,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get
, _wrap_TheMimeTypesManager_set
);
29666 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get
, _wrap_ART_TOOLBAR_set
);
29667 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MENU",_wrap_ART_MENU_get
, _wrap_ART_MENU_set
);
29668 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get
, _wrap_ART_FRAME_ICON_set
);
29669 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get
, _wrap_ART_CMN_DIALOG_set
);
29670 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get
, _wrap_ART_HELP_BROWSER_set
);
29671 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get
, _wrap_ART_MESSAGE_BOX_set
);
29672 SWIG_addvarlink(SWIG_globals
,(char*)"ART_OTHER",_wrap_ART_OTHER_get
, _wrap_ART_OTHER_set
);
29673 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get
, _wrap_ART_ADD_BOOKMARK_set
);
29674 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get
, _wrap_ART_DEL_BOOKMARK_set
);
29675 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get
, _wrap_ART_HELP_SIDE_PANEL_set
);
29676 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get
, _wrap_ART_HELP_SETTINGS_set
);
29677 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get
, _wrap_ART_HELP_BOOK_set
);
29678 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get
, _wrap_ART_HELP_FOLDER_set
);
29679 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get
, _wrap_ART_HELP_PAGE_set
);
29680 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get
, _wrap_ART_GO_BACK_set
);
29681 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get
, _wrap_ART_GO_FORWARD_set
);
29682 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get
, _wrap_ART_GO_UP_set
);
29683 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get
, _wrap_ART_GO_DOWN_set
);
29684 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get
, _wrap_ART_GO_TO_PARENT_set
);
29685 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get
, _wrap_ART_GO_HOME_set
);
29686 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get
, _wrap_ART_FILE_OPEN_set
);
29687 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PRINT",_wrap_ART_PRINT_get
, _wrap_ART_PRINT_set
);
29688 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP",_wrap_ART_HELP_get
, _wrap_ART_HELP_set
);
29689 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TIP",_wrap_ART_TIP_get
, _wrap_ART_TIP_set
);
29690 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get
, _wrap_ART_REPORT_VIEW_set
);
29691 SWIG_addvarlink(SWIG_globals
,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get
, _wrap_ART_LIST_VIEW_set
);
29692 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get
, _wrap_ART_NEW_DIR_set
);
29693 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get
, _wrap_ART_FOLDER_set
);
29694 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get
, _wrap_ART_GO_DIR_UP_set
);
29695 SWIG_addvarlink(SWIG_globals
,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get
, _wrap_ART_EXECUTABLE_FILE_set
);
29696 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get
, _wrap_ART_NORMAL_FILE_set
);
29697 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get
, _wrap_ART_TICK_MARK_set
);
29698 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get
, _wrap_ART_CROSS_MARK_set
);
29699 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ERROR",_wrap_ART_ERROR_get
, _wrap_ART_ERROR_set
);
29700 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get
, _wrap_ART_QUESTION_set
);
29701 SWIG_addvarlink(SWIG_globals
,(char*)"ART_WARNING",_wrap_ART_WARNING_get
, _wrap_ART_WARNING_set
);
29702 SWIG_addvarlink(SWIG_globals
,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get
, _wrap_ART_INFORMATION_set
);
29703 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get
, _wrap_ART_MISSING_IMAGE_set
);
29705 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
29707 PyDict_SetItemString(d
,"CONFIG_USE_LOCAL_FILE", SWIG_FromInt((int)wxCONFIG_USE_LOCAL_FILE
));
29708 PyDict_SetItemString(d
,"CONFIG_USE_GLOBAL_FILE", SWIG_FromInt((int)wxCONFIG_USE_GLOBAL_FILE
));
29709 PyDict_SetItemString(d
,"CONFIG_USE_RELATIVE_PATH", SWIG_FromInt((int)wxCONFIG_USE_RELATIVE_PATH
));
29710 PyDict_SetItemString(d
,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_FromInt((int)wxCONFIG_USE_NO_ESCAPE_CHARACTERS
));
29711 PyDict_SetItemString(d
,"ConfigBase_Type_Unknown", SWIG_FromInt((int)wxConfigBase::Type_Unknown
));
29712 PyDict_SetItemString(d
,"ConfigBase_Type_String", SWIG_FromInt((int)wxConfigBase::Type_String
));
29713 PyDict_SetItemString(d
,"ConfigBase_Type_Boolean", SWIG_FromInt((int)wxConfigBase::Type_Boolean
));
29714 PyDict_SetItemString(d
,"ConfigBase_Type_Integer", SWIG_FromInt((int)wxConfigBase::Type_Integer
));
29715 PyDict_SetItemString(d
,"ConfigBase_Type_Float", SWIG_FromInt((int)wxConfigBase::Type_Float
));
29716 SWIG_addvarlink(SWIG_globals
,(char*)"DateFormatStr",_wrap_DateFormatStr_get
, _wrap_DateFormatStr_set
);
29717 SWIG_addvarlink(SWIG_globals
,(char*)"TimeSpanFormatStr",_wrap_TimeSpanFormatStr_get
, _wrap_TimeSpanFormatStr_set
);
29718 PyDict_SetItemString(d
,"DateTime_Local", SWIG_FromInt((int)wxDateTime::Local
));
29719 PyDict_SetItemString(d
,"DateTime_GMT_12", SWIG_FromInt((int)wxDateTime::GMT_12
));
29720 PyDict_SetItemString(d
,"DateTime_GMT_11", SWIG_FromInt((int)wxDateTime::GMT_11
));
29721 PyDict_SetItemString(d
,"DateTime_GMT_10", SWIG_FromInt((int)wxDateTime::GMT_10
));
29722 PyDict_SetItemString(d
,"DateTime_GMT_9", SWIG_FromInt((int)wxDateTime::GMT_9
));
29723 PyDict_SetItemString(d
,"DateTime_GMT_8", SWIG_FromInt((int)wxDateTime::GMT_8
));
29724 PyDict_SetItemString(d
,"DateTime_GMT_7", SWIG_FromInt((int)wxDateTime::GMT_7
));
29725 PyDict_SetItemString(d
,"DateTime_GMT_6", SWIG_FromInt((int)wxDateTime::GMT_6
));
29726 PyDict_SetItemString(d
,"DateTime_GMT_5", SWIG_FromInt((int)wxDateTime::GMT_5
));
29727 PyDict_SetItemString(d
,"DateTime_GMT_4", SWIG_FromInt((int)wxDateTime::GMT_4
));
29728 PyDict_SetItemString(d
,"DateTime_GMT_3", SWIG_FromInt((int)wxDateTime::GMT_3
));
29729 PyDict_SetItemString(d
,"DateTime_GMT_2", SWIG_FromInt((int)wxDateTime::GMT_2
));
29730 PyDict_SetItemString(d
,"DateTime_GMT_1", SWIG_FromInt((int)wxDateTime::GMT_1
));
29731 PyDict_SetItemString(d
,"DateTime_GMT0", SWIG_FromInt((int)wxDateTime::GMT0
));
29732 PyDict_SetItemString(d
,"DateTime_GMT1", SWIG_FromInt((int)wxDateTime::GMT1
));
29733 PyDict_SetItemString(d
,"DateTime_GMT2", SWIG_FromInt((int)wxDateTime::GMT2
));
29734 PyDict_SetItemString(d
,"DateTime_GMT3", SWIG_FromInt((int)wxDateTime::GMT3
));
29735 PyDict_SetItemString(d
,"DateTime_GMT4", SWIG_FromInt((int)wxDateTime::GMT4
));
29736 PyDict_SetItemString(d
,"DateTime_GMT5", SWIG_FromInt((int)wxDateTime::GMT5
));
29737 PyDict_SetItemString(d
,"DateTime_GMT6", SWIG_FromInt((int)wxDateTime::GMT6
));
29738 PyDict_SetItemString(d
,"DateTime_GMT7", SWIG_FromInt((int)wxDateTime::GMT7
));
29739 PyDict_SetItemString(d
,"DateTime_GMT8", SWIG_FromInt((int)wxDateTime::GMT8
));
29740 PyDict_SetItemString(d
,"DateTime_GMT9", SWIG_FromInt((int)wxDateTime::GMT9
));
29741 PyDict_SetItemString(d
,"DateTime_GMT10", SWIG_FromInt((int)wxDateTime::GMT10
));
29742 PyDict_SetItemString(d
,"DateTime_GMT11", SWIG_FromInt((int)wxDateTime::GMT11
));
29743 PyDict_SetItemString(d
,"DateTime_GMT12", SWIG_FromInt((int)wxDateTime::GMT12
));
29744 PyDict_SetItemString(d
,"DateTime_WET", SWIG_FromInt((int)wxDateTime::WET
));
29745 PyDict_SetItemString(d
,"DateTime_WEST", SWIG_FromInt((int)wxDateTime::WEST
));
29746 PyDict_SetItemString(d
,"DateTime_CET", SWIG_FromInt((int)wxDateTime::CET
));
29747 PyDict_SetItemString(d
,"DateTime_CEST", SWIG_FromInt((int)wxDateTime::CEST
));
29748 PyDict_SetItemString(d
,"DateTime_EET", SWIG_FromInt((int)wxDateTime::EET
));
29749 PyDict_SetItemString(d
,"DateTime_EEST", SWIG_FromInt((int)wxDateTime::EEST
));
29750 PyDict_SetItemString(d
,"DateTime_MSK", SWIG_FromInt((int)wxDateTime::MSK
));
29751 PyDict_SetItemString(d
,"DateTime_MSD", SWIG_FromInt((int)wxDateTime::MSD
));
29752 PyDict_SetItemString(d
,"DateTime_AST", SWIG_FromInt((int)wxDateTime::AST
));
29753 PyDict_SetItemString(d
,"DateTime_ADT", SWIG_FromInt((int)wxDateTime::ADT
));
29754 PyDict_SetItemString(d
,"DateTime_EST", SWIG_FromInt((int)wxDateTime::EST
));
29755 PyDict_SetItemString(d
,"DateTime_EDT", SWIG_FromInt((int)wxDateTime::EDT
));
29756 PyDict_SetItemString(d
,"DateTime_CST", SWIG_FromInt((int)wxDateTime::CST
));
29757 PyDict_SetItemString(d
,"DateTime_CDT", SWIG_FromInt((int)wxDateTime::CDT
));
29758 PyDict_SetItemString(d
,"DateTime_MST", SWIG_FromInt((int)wxDateTime::MST
));
29759 PyDict_SetItemString(d
,"DateTime_MDT", SWIG_FromInt((int)wxDateTime::MDT
));
29760 PyDict_SetItemString(d
,"DateTime_PST", SWIG_FromInt((int)wxDateTime::PST
));
29761 PyDict_SetItemString(d
,"DateTime_PDT", SWIG_FromInt((int)wxDateTime::PDT
));
29762 PyDict_SetItemString(d
,"DateTime_HST", SWIG_FromInt((int)wxDateTime::HST
));
29763 PyDict_SetItemString(d
,"DateTime_AKST", SWIG_FromInt((int)wxDateTime::AKST
));
29764 PyDict_SetItemString(d
,"DateTime_AKDT", SWIG_FromInt((int)wxDateTime::AKDT
));
29765 PyDict_SetItemString(d
,"DateTime_A_WST", SWIG_FromInt((int)wxDateTime::A_WST
));
29766 PyDict_SetItemString(d
,"DateTime_A_CST", SWIG_FromInt((int)wxDateTime::A_CST
));
29767 PyDict_SetItemString(d
,"DateTime_A_EST", SWIG_FromInt((int)wxDateTime::A_EST
));
29768 PyDict_SetItemString(d
,"DateTime_A_ESST", SWIG_FromInt((int)wxDateTime::A_ESST
));
29769 PyDict_SetItemString(d
,"DateTime_UTC", SWIG_FromInt((int)wxDateTime::UTC
));
29770 PyDict_SetItemString(d
,"DateTime_Gregorian", SWIG_FromInt((int)wxDateTime::Gregorian
));
29771 PyDict_SetItemString(d
,"DateTime_Julian", SWIG_FromInt((int)wxDateTime::Julian
));
29772 PyDict_SetItemString(d
,"DateTime_Gr_Unknown", SWIG_FromInt((int)wxDateTime::Gr_Unknown
));
29773 PyDict_SetItemString(d
,"DateTime_Gr_Standard", SWIG_FromInt((int)wxDateTime::Gr_Standard
));
29774 PyDict_SetItemString(d
,"DateTime_Gr_Alaska", SWIG_FromInt((int)wxDateTime::Gr_Alaska
));
29775 PyDict_SetItemString(d
,"DateTime_Gr_Albania", SWIG_FromInt((int)wxDateTime::Gr_Albania
));
29776 PyDict_SetItemString(d
,"DateTime_Gr_Austria", SWIG_FromInt((int)wxDateTime::Gr_Austria
));
29777 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Brixen", SWIG_FromInt((int)wxDateTime::Gr_Austria_Brixen
));
29778 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Salzburg", SWIG_FromInt((int)wxDateTime::Gr_Austria_Salzburg
));
29779 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Tyrol", SWIG_FromInt((int)wxDateTime::Gr_Austria_Tyrol
));
29780 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Carinthia", SWIG_FromInt((int)wxDateTime::Gr_Austria_Carinthia
));
29781 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Styria", SWIG_FromInt((int)wxDateTime::Gr_Austria_Styria
));
29782 PyDict_SetItemString(d
,"DateTime_Gr_Belgium", SWIG_FromInt((int)wxDateTime::Gr_Belgium
));
29783 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria
));
29784 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_1", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_1
));
29785 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_2", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_2
));
29786 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_3", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_3
));
29787 PyDict_SetItemString(d
,"DateTime_Gr_Canada", SWIG_FromInt((int)wxDateTime::Gr_Canada
));
29788 PyDict_SetItemString(d
,"DateTime_Gr_China", SWIG_FromInt((int)wxDateTime::Gr_China
));
29789 PyDict_SetItemString(d
,"DateTime_Gr_China_1", SWIG_FromInt((int)wxDateTime::Gr_China_1
));
29790 PyDict_SetItemString(d
,"DateTime_Gr_China_2", SWIG_FromInt((int)wxDateTime::Gr_China_2
));
29791 PyDict_SetItemString(d
,"DateTime_Gr_Czechoslovakia", SWIG_FromInt((int)wxDateTime::Gr_Czechoslovakia
));
29792 PyDict_SetItemString(d
,"DateTime_Gr_Denmark", SWIG_FromInt((int)wxDateTime::Gr_Denmark
));
29793 PyDict_SetItemString(d
,"DateTime_Gr_Egypt", SWIG_FromInt((int)wxDateTime::Gr_Egypt
));
29794 PyDict_SetItemString(d
,"DateTime_Gr_Estonia", SWIG_FromInt((int)wxDateTime::Gr_Estonia
));
29795 PyDict_SetItemString(d
,"DateTime_Gr_Finland", SWIG_FromInt((int)wxDateTime::Gr_Finland
));
29796 PyDict_SetItemString(d
,"DateTime_Gr_France", SWIG_FromInt((int)wxDateTime::Gr_France
));
29797 PyDict_SetItemString(d
,"DateTime_Gr_France_Alsace", SWIG_FromInt((int)wxDateTime::Gr_France_Alsace
));
29798 PyDict_SetItemString(d
,"DateTime_Gr_France_Lorraine", SWIG_FromInt((int)wxDateTime::Gr_France_Lorraine
));
29799 PyDict_SetItemString(d
,"DateTime_Gr_France_Strasbourg", SWIG_FromInt((int)wxDateTime::Gr_France_Strasbourg
));
29800 PyDict_SetItemString(d
,"DateTime_Gr_Germany", SWIG_FromInt((int)wxDateTime::Gr_Germany
));
29801 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Catholic", SWIG_FromInt((int)wxDateTime::Gr_Germany_Catholic
));
29802 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Prussia", SWIG_FromInt((int)wxDateTime::Gr_Germany_Prussia
));
29803 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Protestant", SWIG_FromInt((int)wxDateTime::Gr_Germany_Protestant
));
29804 PyDict_SetItemString(d
,"DateTime_Gr_GreatBritain", SWIG_FromInt((int)wxDateTime::Gr_GreatBritain
));
29805 PyDict_SetItemString(d
,"DateTime_Gr_Greece", SWIG_FromInt((int)wxDateTime::Gr_Greece
));
29806 PyDict_SetItemString(d
,"DateTime_Gr_Hungary", SWIG_FromInt((int)wxDateTime::Gr_Hungary
));
29807 PyDict_SetItemString(d
,"DateTime_Gr_Ireland", SWIG_FromInt((int)wxDateTime::Gr_Ireland
));
29808 PyDict_SetItemString(d
,"DateTime_Gr_Italy", SWIG_FromInt((int)wxDateTime::Gr_Italy
));
29809 PyDict_SetItemString(d
,"DateTime_Gr_Japan", SWIG_FromInt((int)wxDateTime::Gr_Japan
));
29810 PyDict_SetItemString(d
,"DateTime_Gr_Japan_1", SWIG_FromInt((int)wxDateTime::Gr_Japan_1
));
29811 PyDict_SetItemString(d
,"DateTime_Gr_Japan_2", SWIG_FromInt((int)wxDateTime::Gr_Japan_2
));
29812 PyDict_SetItemString(d
,"DateTime_Gr_Japan_3", SWIG_FromInt((int)wxDateTime::Gr_Japan_3
));
29813 PyDict_SetItemString(d
,"DateTime_Gr_Latvia", SWIG_FromInt((int)wxDateTime::Gr_Latvia
));
29814 PyDict_SetItemString(d
,"DateTime_Gr_Lithuania", SWIG_FromInt((int)wxDateTime::Gr_Lithuania
));
29815 PyDict_SetItemString(d
,"DateTime_Gr_Luxemburg", SWIG_FromInt((int)wxDateTime::Gr_Luxemburg
));
29816 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands", SWIG_FromInt((int)wxDateTime::Gr_Netherlands
));
29817 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Groningen", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Groningen
));
29818 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Gelderland", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Gelderland
));
29819 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Utrecht", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Utrecht
));
29820 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Friesland", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Friesland
));
29821 PyDict_SetItemString(d
,"DateTime_Gr_Norway", SWIG_FromInt((int)wxDateTime::Gr_Norway
));
29822 PyDict_SetItemString(d
,"DateTime_Gr_Poland", SWIG_FromInt((int)wxDateTime::Gr_Poland
));
29823 PyDict_SetItemString(d
,"DateTime_Gr_Portugal", SWIG_FromInt((int)wxDateTime::Gr_Portugal
));
29824 PyDict_SetItemString(d
,"DateTime_Gr_Romania", SWIG_FromInt((int)wxDateTime::Gr_Romania
));
29825 PyDict_SetItemString(d
,"DateTime_Gr_Russia", SWIG_FromInt((int)wxDateTime::Gr_Russia
));
29826 PyDict_SetItemString(d
,"DateTime_Gr_Scotland", SWIG_FromInt((int)wxDateTime::Gr_Scotland
));
29827 PyDict_SetItemString(d
,"DateTime_Gr_Spain", SWIG_FromInt((int)wxDateTime::Gr_Spain
));
29828 PyDict_SetItemString(d
,"DateTime_Gr_Sweden", SWIG_FromInt((int)wxDateTime::Gr_Sweden
));
29829 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland", SWIG_FromInt((int)wxDateTime::Gr_Switzerland
));
29830 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Catholic", SWIG_FromInt((int)wxDateTime::Gr_Switzerland_Catholic
));
29831 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Protestant", SWIG_FromInt((int)wxDateTime::Gr_Switzerland_Protestant
));
29832 PyDict_SetItemString(d
,"DateTime_Gr_Turkey", SWIG_FromInt((int)wxDateTime::Gr_Turkey
));
29833 PyDict_SetItemString(d
,"DateTime_Gr_USA", SWIG_FromInt((int)wxDateTime::Gr_USA
));
29834 PyDict_SetItemString(d
,"DateTime_Gr_Wales", SWIG_FromInt((int)wxDateTime::Gr_Wales
));
29835 PyDict_SetItemString(d
,"DateTime_Gr_Yugoslavia", SWIG_FromInt((int)wxDateTime::Gr_Yugoslavia
));
29836 PyDict_SetItemString(d
,"DateTime_Country_Unknown", SWIG_FromInt((int)wxDateTime::Country_Unknown
));
29837 PyDict_SetItemString(d
,"DateTime_Country_Default", SWIG_FromInt((int)wxDateTime::Country_Default
));
29838 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_Start", SWIG_FromInt((int)wxDateTime::Country_WesternEurope_Start
));
29839 PyDict_SetItemString(d
,"DateTime_Country_EEC", SWIG_FromInt((int)wxDateTime::Country_EEC
));
29840 PyDict_SetItemString(d
,"DateTime_France", SWIG_FromInt((int)wxDateTime::France
));
29841 PyDict_SetItemString(d
,"DateTime_Germany", SWIG_FromInt((int)wxDateTime::Germany
));
29842 PyDict_SetItemString(d
,"DateTime_UK", SWIG_FromInt((int)wxDateTime::UK
));
29843 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_End", SWIG_FromInt((int)wxDateTime::Country_WesternEurope_End
));
29844 PyDict_SetItemString(d
,"DateTime_Russia", SWIG_FromInt((int)wxDateTime::Russia
));
29845 PyDict_SetItemString(d
,"DateTime_USA", SWIG_FromInt((int)wxDateTime::USA
));
29846 PyDict_SetItemString(d
,"DateTime_Jan", SWIG_FromInt((int)wxDateTime::Jan
));
29847 PyDict_SetItemString(d
,"DateTime_Feb", SWIG_FromInt((int)wxDateTime::Feb
));
29848 PyDict_SetItemString(d
,"DateTime_Mar", SWIG_FromInt((int)wxDateTime::Mar
));
29849 PyDict_SetItemString(d
,"DateTime_Apr", SWIG_FromInt((int)wxDateTime::Apr
));
29850 PyDict_SetItemString(d
,"DateTime_May", SWIG_FromInt((int)wxDateTime::May
));
29851 PyDict_SetItemString(d
,"DateTime_Jun", SWIG_FromInt((int)wxDateTime::Jun
));
29852 PyDict_SetItemString(d
,"DateTime_Jul", SWIG_FromInt((int)wxDateTime::Jul
));
29853 PyDict_SetItemString(d
,"DateTime_Aug", SWIG_FromInt((int)wxDateTime::Aug
));
29854 PyDict_SetItemString(d
,"DateTime_Sep", SWIG_FromInt((int)wxDateTime::Sep
));
29855 PyDict_SetItemString(d
,"DateTime_Oct", SWIG_FromInt((int)wxDateTime::Oct
));
29856 PyDict_SetItemString(d
,"DateTime_Nov", SWIG_FromInt((int)wxDateTime::Nov
));
29857 PyDict_SetItemString(d
,"DateTime_Dec", SWIG_FromInt((int)wxDateTime::Dec
));
29858 PyDict_SetItemString(d
,"DateTime_Inv_Month", SWIG_FromInt((int)wxDateTime::Inv_Month
));
29859 PyDict_SetItemString(d
,"DateTime_Sun", SWIG_FromInt((int)wxDateTime::Sun
));
29860 PyDict_SetItemString(d
,"DateTime_Mon", SWIG_FromInt((int)wxDateTime::Mon
));
29861 PyDict_SetItemString(d
,"DateTime_Tue", SWIG_FromInt((int)wxDateTime::Tue
));
29862 PyDict_SetItemString(d
,"DateTime_Wed", SWIG_FromInt((int)wxDateTime::Wed
));
29863 PyDict_SetItemString(d
,"DateTime_Thu", SWIG_FromInt((int)wxDateTime::Thu
));
29864 PyDict_SetItemString(d
,"DateTime_Fri", SWIG_FromInt((int)wxDateTime::Fri
));
29865 PyDict_SetItemString(d
,"DateTime_Sat", SWIG_FromInt((int)wxDateTime::Sat
));
29866 PyDict_SetItemString(d
,"DateTime_Inv_WeekDay", SWIG_FromInt((int)wxDateTime::Inv_WeekDay
));
29867 PyDict_SetItemString(d
,"DateTime_Inv_Year", SWIG_FromInt((int)wxDateTime::Inv_Year
));
29868 PyDict_SetItemString(d
,"DateTime_Name_Full", SWIG_FromInt((int)wxDateTime::Name_Full
));
29869 PyDict_SetItemString(d
,"DateTime_Name_Abbr", SWIG_FromInt((int)wxDateTime::Name_Abbr
));
29870 PyDict_SetItemString(d
,"DateTime_Default_First", SWIG_FromInt((int)wxDateTime::Default_First
));
29871 PyDict_SetItemString(d
,"DateTime_Monday_First", SWIG_FromInt((int)wxDateTime::Monday_First
));
29872 PyDict_SetItemString(d
,"DateTime_Sunday_First", SWIG_FromInt((int)wxDateTime::Sunday_First
));
29873 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultDateTime",_wrap_DefaultDateTime_get
, _wrap_DefaultDateTime_set
);
29874 PyDict_SetItemString(d
,"DF_INVALID", SWIG_FromInt((int)wxDF_INVALID
));
29875 PyDict_SetItemString(d
,"DF_TEXT", SWIG_FromInt((int)wxDF_TEXT
));
29876 PyDict_SetItemString(d
,"DF_BITMAP", SWIG_FromInt((int)wxDF_BITMAP
));
29877 PyDict_SetItemString(d
,"DF_METAFILE", SWIG_FromInt((int)wxDF_METAFILE
));
29878 PyDict_SetItemString(d
,"DF_SYLK", SWIG_FromInt((int)wxDF_SYLK
));
29879 PyDict_SetItemString(d
,"DF_DIF", SWIG_FromInt((int)wxDF_DIF
));
29880 PyDict_SetItemString(d
,"DF_TIFF", SWIG_FromInt((int)wxDF_TIFF
));
29881 PyDict_SetItemString(d
,"DF_OEMTEXT", SWIG_FromInt((int)wxDF_OEMTEXT
));
29882 PyDict_SetItemString(d
,"DF_DIB", SWIG_FromInt((int)wxDF_DIB
));
29883 PyDict_SetItemString(d
,"DF_PALETTE", SWIG_FromInt((int)wxDF_PALETTE
));
29884 PyDict_SetItemString(d
,"DF_PENDATA", SWIG_FromInt((int)wxDF_PENDATA
));
29885 PyDict_SetItemString(d
,"DF_RIFF", SWIG_FromInt((int)wxDF_RIFF
));
29886 PyDict_SetItemString(d
,"DF_WAVE", SWIG_FromInt((int)wxDF_WAVE
));
29887 PyDict_SetItemString(d
,"DF_UNICODETEXT", SWIG_FromInt((int)wxDF_UNICODETEXT
));
29888 PyDict_SetItemString(d
,"DF_ENHMETAFILE", SWIG_FromInt((int)wxDF_ENHMETAFILE
));
29889 PyDict_SetItemString(d
,"DF_FILENAME", SWIG_FromInt((int)wxDF_FILENAME
));
29890 PyDict_SetItemString(d
,"DF_LOCALE", SWIG_FromInt((int)wxDF_LOCALE
));
29891 PyDict_SetItemString(d
,"DF_PRIVATE", SWIG_FromInt((int)wxDF_PRIVATE
));
29892 PyDict_SetItemString(d
,"DF_HTML", SWIG_FromInt((int)wxDF_HTML
));
29893 PyDict_SetItemString(d
,"DF_MAX", SWIG_FromInt((int)wxDF_MAX
));
29894 SWIG_addvarlink(SWIG_globals
,(char*)"FormatInvalid",_wrap_FormatInvalid_get
, _wrap_FormatInvalid_set
);
29895 PyDict_SetItemString(d
,"DataObject_Get", SWIG_FromInt((int)wxDataObject::Get
));
29896 PyDict_SetItemString(d
,"DataObject_Set", SWIG_FromInt((int)wxDataObject::Set
));
29897 PyDict_SetItemString(d
,"DataObject_Both", SWIG_FromInt((int)wxDataObject::Both
));
29898 PyDict_SetItemString(d
,"Drag_CopyOnly", SWIG_FromInt((int)wxDrag_CopyOnly
));
29899 PyDict_SetItemString(d
,"Drag_AllowMove", SWIG_FromInt((int)wxDrag_AllowMove
));
29900 PyDict_SetItemString(d
,"Drag_DefaultMove", SWIG_FromInt((int)wxDrag_DefaultMove
));
29901 PyDict_SetItemString(d
,"DragError", SWIG_FromInt((int)wxDragError
));
29902 PyDict_SetItemString(d
,"DragNone", SWIG_FromInt((int)wxDragNone
));
29903 PyDict_SetItemString(d
,"DragCopy", SWIG_FromInt((int)wxDragCopy
));
29904 PyDict_SetItemString(d
,"DragMove", SWIG_FromInt((int)wxDragMove
));
29905 PyDict_SetItemString(d
,"DragLink", SWIG_FromInt((int)wxDragLink
));
29906 PyDict_SetItemString(d
,"DragCancel", SWIG_FromInt((int)wxDragCancel
));
29908 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
29909 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
29910 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
29911 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
29913 SWIG_addvarlink(SWIG_globals
,(char*)"TheClipboard",_wrap_TheClipboard_get
, _wrap_TheClipboard_set
);
29914 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultVideoMode",_wrap_DefaultVideoMode_get
, _wrap_DefaultVideoMode_set
);