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
);
911 void Sound_Stop(){ wxPyRaiseNotImplemented(); }
913 #include <wx/mimetype.h>
915 PyObject
*wxFileType_GetMimeType(wxFileType
*self
){
917 if (self
->GetMimeType(&str
))
918 return wx2PyString(str
);
922 PyObject
*wxFileType_GetMimeTypes(wxFileType
*self
){
924 if (self
->GetMimeTypes(arr
))
925 return wxArrayString2PyList_helper(arr
);
929 PyObject
*wxFileType_GetExtensions(wxFileType
*self
){
931 if (self
->GetExtensions(arr
))
932 return wxArrayString2PyList_helper(arr
);
936 wxIcon
*wxFileType_GetIcon(wxFileType
*self
){
938 if (self
->GetIcon(&loc
))
939 return new wxIcon(loc
);
943 PyObject
*wxFileType_GetIconInfo(wxFileType
*self
){
945 if (self
->GetIcon(&loc
)) {
946 wxString iconFile
= loc
.GetFileName();
951 // Make a tuple and put the values in it
952 bool blocked
= wxPyBeginBlockThreads();
953 PyObject
* tuple
= PyTuple_New(3);
954 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(loc
),
955 wxT("wxIcon"), True
));
956 PyTuple_SetItem(tuple
, 1, wx2PyString(iconFile
));
957 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
958 wxPyEndBlockThreads(blocked
);
964 PyObject
*wxFileType_GetDescription(wxFileType
*self
){
966 if (self
->GetDescription(&str
))
967 return wx2PyString(str
);
971 PyObject
*wxFileType_GetOpenCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
973 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
974 return wx2PyString(str
);
978 PyObject
*wxFileType_GetPrintCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
980 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
981 return wx2PyString(str
);
985 PyObject
*wxFileType_GetAllCommands(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
987 wxArrayString commands
;
988 if (self
->GetAllCommands(&verbs
, &commands
,
989 wxFileType::MessageParameters(filename
, mimetype
))) {
990 bool blocked
= wxPyBeginBlockThreads();
991 PyObject
* tuple
= PyTuple_New(2);
992 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
993 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
994 wxPyEndBlockThreads(blocked
);
1000 wxString
FileType_ExpandCommand(wxString
const &command
,wxString
const &filename
,wxString
const &mimetype
){
1001 return wxFileType::ExpandCommand(command
,
1002 wxFileType::MessageParameters(filename
, mimetype
));
1004 PyObject
*wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
){
1006 self
->EnumAllFileTypes(arr
);
1007 return wxArrayString2PyList_helper(arr
);
1010 #include <wx/artprov.h>
1012 static const wxString
wxPyART_TOOLBAR(wxART_TOOLBAR
);
1013 static const wxString
wxPyART_MENU(wxART_MENU
);
1014 static const wxString
wxPyART_FRAME_ICON(wxART_FRAME_ICON
);
1015 static const wxString
wxPyART_CMN_DIALOG(wxART_CMN_DIALOG
);
1016 static const wxString
wxPyART_HELP_BROWSER(wxART_HELP_BROWSER
);
1017 static const wxString
wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX
);
1018 static const wxString
wxPyART_OTHER(wxART_OTHER
);
1019 static const wxString
wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK
);
1020 static const wxString
wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK
);
1021 static const wxString
wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL
);
1022 static const wxString
wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS
);
1023 static const wxString
wxPyART_HELP_BOOK(wxART_HELP_BOOK
);
1024 static const wxString
wxPyART_HELP_FOLDER(wxART_HELP_FOLDER
);
1025 static const wxString
wxPyART_HELP_PAGE(wxART_HELP_PAGE
);
1026 static const wxString
wxPyART_GO_BACK(wxART_GO_BACK
);
1027 static const wxString
wxPyART_GO_FORWARD(wxART_GO_FORWARD
);
1028 static const wxString
wxPyART_GO_UP(wxART_GO_UP
);
1029 static const wxString
wxPyART_GO_DOWN(wxART_GO_DOWN
);
1030 static const wxString
wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT
);
1031 static const wxString
wxPyART_GO_HOME(wxART_GO_HOME
);
1032 static const wxString
wxPyART_FILE_OPEN(wxART_FILE_OPEN
);
1033 static const wxString
wxPyART_PRINT(wxART_PRINT
);
1034 static const wxString
wxPyART_HELP(wxART_HELP
);
1035 static const wxString
wxPyART_TIP(wxART_TIP
);
1036 static const wxString
wxPyART_REPORT_VIEW(wxART_REPORT_VIEW
);
1037 static const wxString
wxPyART_LIST_VIEW(wxART_LIST_VIEW
);
1038 static const wxString
wxPyART_NEW_DIR(wxART_NEW_DIR
);
1039 static const wxString
wxPyART_FOLDER(wxART_FOLDER
);
1040 static const wxString
wxPyART_GO_DIR_UP(wxART_GO_DIR_UP
);
1041 static const wxString
wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE
);
1042 static const wxString
wxPyART_NORMAL_FILE(wxART_NORMAL_FILE
);
1043 static const wxString
wxPyART_TICK_MARK(wxART_TICK_MARK
);
1044 static const wxString
wxPyART_CROSS_MARK(wxART_CROSS_MARK
);
1045 static const wxString
wxPyART_ERROR(wxART_ERROR
);
1046 static const wxString
wxPyART_QUESTION(wxART_QUESTION
);
1047 static const wxString
wxPyART_WARNING(wxART_WARNING
);
1048 static const wxString
wxPyART_INFORMATION(wxART_INFORMATION
);
1049 static const wxString
wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE
);
1050 // Python aware wxArtProvider
1051 class wxPyArtProvider
: public wxArtProvider
{
1054 virtual wxBitmap
CreateBitmap(const wxArtID
& id
,
1055 const wxArtClient
& client
,
1056 const wxSize
& size
) {
1057 wxBitmap rval
= wxNullBitmap
;
1058 bool blocked
= wxPyBeginBlockThreads();
1059 if ((wxPyCBH_findCallback(m_myInst
, "CreateBitmap"))) {
1060 PyObject
* so
= wxPyConstructObject((void*)&size
, wxT("wxSize"), 0);
1064 s1
= wx2PyString(id
);
1065 s2
= wx2PyString(client
);
1066 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOO)", s1
, s2
, so
));
1071 if (wxPyConvertSwigPtr(ro
, (void**)&ptr
, wxT("wxBitmap")))
1076 wxPyEndBlockThreads(blocked
);
1083 void wxPyArtProvider_Destroy(wxPyArtProvider
*self
){ delete self
; }
1087 static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) {
1088 PyObject
* ret
= PyTuple_New(3);
1090 PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
));
1091 PyTuple_SET_ITEM(ret
, 1, wx2PyString(str
));
1092 PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
));
1097 PyObject
*wxConfigBase_GetFirstGroup(wxConfigBase
*self
){
1102 cont
= self
->GetFirstGroup(value
, index
);
1103 return __EnumerationHelper(cont
, value
, index
);
1105 PyObject
*wxConfigBase_GetNextGroup(wxConfigBase
*self
,long index
){
1109 cont
= self
->GetNextGroup(value
, index
);
1110 return __EnumerationHelper(cont
, value
, index
);
1112 PyObject
*wxConfigBase_GetFirstEntry(wxConfigBase
*self
){
1117 cont
= self
->GetFirstEntry(value
, index
);
1118 return __EnumerationHelper(cont
, value
, index
);
1120 PyObject
*wxConfigBase_GetNextEntry(wxConfigBase
*self
,long index
){
1124 cont
= self
->GetNextEntry(value
, index
);
1125 return __EnumerationHelper(cont
, value
, index
);
1127 long wxConfigBase_ReadInt(wxConfigBase
*self
,wxString
const &key
,long defaultVal
){
1129 self
->Read(key
, &rv
, defaultVal
);
1133 SWIGSTATICINLINE(double)
1134 SWIG_AsDouble(PyObject
*obj
)
1136 if (PyNumber_Check(obj
))
1137 return PyFloat_AsDouble(obj
);
1139 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
1140 obj
->ob_type
->tp_name
);
1141 PyErr_SetObject(PyExc_TypeError
, errmsg
);
1148 SWIGSTATICINLINE(int)
1149 SWIG_CheckDouble(PyObject
* obj
)
1152 if (PyErr_Occurred()) {
1160 double wxConfigBase_ReadFloat(wxConfigBase
*self
,wxString
const &key
,double defaultVal
){
1162 self
->Read(key
, &rv
, defaultVal
);
1165 bool wxConfigBase_ReadBool(wxConfigBase
*self
,wxString
const &key
,bool defaultVal
){
1167 self
->Read(key
, &rv
, defaultVal
);
1171 #include <wx/datetime.h>
1174 static const wxString
wxPyDateFormatStr(wxT("%c"));
1175 static const wxString
wxPyTimeSpanFormatStr(wxT("%H:%M:%S"));
1177 #define LOCAL_TZ wxDateTime::Local
1180 #if UINT_MAX < LONG_MAX
1181 #define SWIG_FromUnsignedInt SWIG_FromLong
1183 #define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
1186 wxDateTime
wxDateTime___add____SWIG_0(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
1187 wxDateTime
wxDateTime___add____SWIG_1(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
1188 wxTimeSpan
wxDateTime___sub____SWIG_0(wxDateTime
*self
,wxDateTime
const &other
){ return *self
- other
; }
1189 wxDateTime
wxDateTime___sub____SWIG_1(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
1190 wxDateTime
wxDateTime___sub____SWIG_2(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
- other
; }
1191 bool wxDateTime___lt__(wxDateTime
*self
,wxDateTime
const *other
){
1192 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
< other
;
1193 return (*self
< *other
);
1195 bool wxDateTime___le__(wxDateTime
*self
,wxDateTime
const *other
){
1196 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
<= other
;
1197 return (*self
<= *other
);
1199 bool wxDateTime___gt__(wxDateTime
*self
,wxDateTime
const *other
){
1200 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
> other
;
1201 return (*self
> *other
);
1203 bool wxDateTime___ge__(wxDateTime
*self
,wxDateTime
const *other
){
1204 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
>= other
;
1205 return (*self
>= *other
);
1207 bool wxDateTime___eq__(wxDateTime
*self
,wxDateTime
const *other
){
1208 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
== other
;
1209 return (*self
== *other
);
1211 bool wxDateTime___ne__(wxDateTime
*self
,wxDateTime
const *other
){
1212 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
!= other
;
1213 return (*self
!= *other
);
1215 int wxDateTime_ParseRfc822Date(wxDateTime
*self
,wxString
const &date
){
1217 const wxChar
* _date
= date
;
1218 rv
= self
->ParseRfc822Date(_date
);
1219 if (rv
== NULL
) return -1;
1222 int wxDateTime_ParseFormat(wxDateTime
*self
,wxString
const &date
,wxString
const &format
,wxDateTime
const &dateDef
){
1224 const wxChar
* _date
= date
;
1225 rv
= self
->ParseFormat(_date
, format
, dateDef
);
1226 if (rv
== NULL
) return -1;
1229 int wxDateTime_ParseDateTime(wxDateTime
*self
,wxString
const &datetime
){
1231 const wxChar
* _datetime
= datetime
;
1232 rv
= self
->ParseDateTime(_datetime
);
1233 if (rv
== NULL
) return -1;
1234 return rv
- _datetime
;
1236 int wxDateTime_ParseDate(wxDateTime
*self
,wxString
const &date
){
1238 const wxChar
* _date
= date
;
1239 rv
= self
->ParseDate(_date
);
1240 if (rv
== NULL
) return -1;
1243 int wxDateTime_ParseTime(wxDateTime
*self
,wxString
const &time
){
1245 const wxChar
* _time
= time
;
1246 rv
= self
->ParseTime(_time
);
1247 if (rv
== NULL
) return -1;
1250 wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
1251 wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
1252 wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
){ return *self
* n
; }
1253 wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
){ return n
* *self
; }
1254 bool wxTimeSpan___lt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
< *other
) : False
; }
1255 bool wxTimeSpan___le__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
<= *other
) : False
; }
1256 bool wxTimeSpan___gt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
> *other
) : True
; }
1257 bool wxTimeSpan___ge__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
>= *other
) : True
; }
1258 bool wxTimeSpan___eq__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
== *other
) : False
; }
1259 bool wxTimeSpan___ne__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
!= *other
) : True
; }
1260 wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
1261 wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
- other
; }
1262 wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
){ return *self
* n
; }
1263 wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
){ return n
* *self
; }
1264 bool wxDateSpan___eq__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
== *other
) : False
; }
1265 bool wxDateSpan___ne__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
!= *other
) : True
; }
1267 #include <wx/dataobj.h>
1269 // Create a new class for wxPython to use
1270 class wxPyDataObjectSimple
: public wxDataObjectSimple
{
1272 wxPyDataObjectSimple(const wxDataFormat
& format
= wxFormatInvalid
)
1273 : wxDataObjectSimple(format
) {}
1275 DEC_PYCALLBACK_SIZET__const(GetDataSize
);
1276 bool GetDataHere(void *buf
) const;
1277 bool SetData(size_t len
, const void *buf
) const;
1281 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple
, wxDataObjectSimple
, GetDataSize
);
1283 bool wxPyDataObjectSimple::GetDataHere(void *buf
) const {
1284 // We need to get the data for this object and write it to buf. I think
1285 // the best way to do this for wxPython is to have the Python method
1286 // return either a string or None and then act appropriately with the
1290 bool blocked
= wxPyBeginBlockThreads();
1291 if (wxPyCBH_findCallback(m_myInst
, "GetDataHere")) {
1293 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1295 rval
= (ro
!= Py_None
&& PyString_Check(ro
));
1297 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
));
1301 wxPyEndBlockThreads(blocked
);
1305 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) const{
1306 // For this one we simply need to make a string from buf and len
1307 // and send it to the Python method.
1309 bool blocked
= wxPyBeginBlockThreads();
1310 if (wxPyCBH_findCallback(m_myInst
, "SetData")) {
1311 PyObject
* data
= PyString_FromStringAndSize((char*)buf
, len
);
1312 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", data
));
1315 wxPyEndBlockThreads(blocked
);
1319 // Create a new class for wxPython to use
1320 class wxPyTextDataObject
: public wxTextDataObject
{
1322 wxPyTextDataObject(const wxString
& text
= wxPyEmptyString
)
1323 : wxTextDataObject(text
) {}
1325 DEC_PYCALLBACK_SIZET__const(GetTextLength
);
1326 DEC_PYCALLBACK_STRING__const(GetText
);
1327 DEC_PYCALLBACK__STRING(SetText
);
1331 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
);
1332 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject
, wxTextDataObject
, GetText
);
1333 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
);
1336 // Create a new class for wxPython to use
1337 class wxPyBitmapDataObject
: public wxBitmapDataObject
{
1339 wxPyBitmapDataObject(const wxBitmap
& bitmap
= wxNullBitmap
)
1340 : wxBitmapDataObject(bitmap
) {}
1342 wxBitmap
GetBitmap() const;
1343 void SetBitmap(const wxBitmap
& bitmap
);
1347 wxBitmap
wxPyBitmapDataObject::GetBitmap() const {
1348 wxBitmap
* rval
= &wxNullBitmap
;
1349 bool blocked
= wxPyBeginBlockThreads();
1350 if (wxPyCBH_findCallback(m_myInst
, "GetBitmap")) {
1353 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1355 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxBitmap")))
1360 wxPyEndBlockThreads(blocked
);
1364 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) {
1365 bool blocked
= wxPyBeginBlockThreads();
1366 if (wxPyCBH_findCallback(m_myInst
, "SetBitmap")) {
1367 PyObject
* bo
= wxPyConstructObject((void*)&bitmap
, wxT("wxBitmap"), False
);
1368 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", bo
));
1371 wxPyEndBlockThreads(blocked
);
1374 void wxCustomDataObject_TakeData(wxCustomDataObject
*self
,PyObject
*data
){
1375 if (PyString_Check(data
)) {
1376 // for Python we just call SetData here since we always need it to make a copy.
1377 self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1380 // raise a TypeError if not a string
1381 PyErr_SetString(PyExc_TypeError
, "String expected.");
1384 bool wxCustomDataObject_SetData(wxCustomDataObject
*self
,PyObject
*data
){
1385 if (PyString_Check(data
)) {
1386 return self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1389 // raise a TypeError if not a string
1390 PyErr_SetString(PyExc_TypeError
, "String expected.");
1394 PyObject
*wxCustomDataObject_GetData(wxCustomDataObject
*self
){
1395 return PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize());
1398 #include <wx/metafile.h>
1401 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
1404 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
1405 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
1406 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
1407 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
1408 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
1411 class wxPyTextDropTarget
: public wxTextDropTarget
{
1413 wxPyTextDropTarget() {}
1415 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
1417 DEC_PYCALLBACK__(OnLeave
);
1418 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1419 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1420 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
1421 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1426 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
1427 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
1428 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
1429 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
1430 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
1431 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
1435 class wxPyFileDropTarget
: public wxFileDropTarget
{
1437 wxPyFileDropTarget() {}
1439 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
1441 DEC_PYCALLBACK__(OnLeave
);
1442 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1443 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1444 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
1445 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1450 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
1451 const wxArrayString
& filenames
) {
1453 bool blocked
= wxPyBeginBlockThreads();
1454 if (wxPyCBH_findCallback(m_myInst
, "OnDropFiles")) {
1455 PyObject
* list
= wxArrayString2PyList_helper(filenames
);
1456 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",x
,y
,list
));
1459 wxPyEndBlockThreads(blocked
);
1465 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
1466 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
1467 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
1468 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
1469 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
1474 bool wxClipboardLocker___nonzero__(wxClipboardLocker
*self
){ return !!(*self
); }
1476 #include "wx/display.h"
1478 bool wxVideoMode___eq__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
== *other
) : False
; }
1479 bool wxVideoMode___ne__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
!= *other
) : True
; }
1480 int Display_GetFromWindow(wxWindow
*window
){ wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
1481 PyObject
*wxDisplay_GetModes(wxDisplay
*self
,wxVideoMode
const &mode
){
1482 PyObject
* pyList
= NULL
;
1483 wxArrayVideoModes arr
= self
->GetModes(mode
);
1484 bool blocked
= wxPyBeginBlockThreads();
1485 pyList
= PyList_New(0);
1486 for (int i
=0; i
< arr
.GetCount(); i
++) {
1487 wxVideoMode
* m
= new wxVideoMode(arr
.Item(i
));
1488 PyObject
* pyObj
= wxPyConstructObject(m
, wxT("wxVideoMode"), true);
1489 PyList_Append(pyList
, pyObj
);
1491 wxPyEndBlockThreads(blocked
);
1497 static PyObject
*_wrap_SystemSettings_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1498 PyObject
*resultobj
;
1501 PyObject
* obj0
= 0 ;
1503 (char *) "index", NULL
1506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetColour",kwnames
,&obj0
)) goto fail
;
1507 arg1
= (wxSystemColour
) SWIG_AsInt(obj0
);
1508 if (PyErr_Occurred()) SWIG_fail
;
1510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1511 result
= wxSystemSettings::GetColour((wxSystemColour
)arg1
);
1513 wxPyEndAllowThreads(__tstate
);
1514 if (PyErr_Occurred()) SWIG_fail
;
1517 wxColour
* resultptr
;
1518 resultptr
= new wxColour((wxColour
&) result
);
1519 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
1527 static PyObject
*_wrap_SystemSettings_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1528 PyObject
*resultobj
;
1531 PyObject
* obj0
= 0 ;
1533 (char *) "index", NULL
1536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetFont",kwnames
,&obj0
)) goto fail
;
1537 arg1
= (wxSystemFont
) SWIG_AsInt(obj0
);
1538 if (PyErr_Occurred()) SWIG_fail
;
1540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1541 result
= wxSystemSettings::GetFont((wxSystemFont
)arg1
);
1543 wxPyEndAllowThreads(__tstate
);
1544 if (PyErr_Occurred()) SWIG_fail
;
1548 resultptr
= new wxFont((wxFont
&) result
);
1549 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
1557 static PyObject
*_wrap_SystemSettings_GetMetric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1558 PyObject
*resultobj
;
1561 PyObject
* obj0
= 0 ;
1563 (char *) "index", NULL
1566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetMetric",kwnames
,&obj0
)) goto fail
;
1567 arg1
= (wxSystemMetric
) SWIG_AsInt(obj0
);
1568 if (PyErr_Occurred()) SWIG_fail
;
1570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1571 result
= (int)wxSystemSettings::GetMetric((wxSystemMetric
)arg1
);
1573 wxPyEndAllowThreads(__tstate
);
1574 if (PyErr_Occurred()) SWIG_fail
;
1576 resultobj
= SWIG_FromInt((int)result
);
1583 static PyObject
*_wrap_SystemSettings_HasFeature(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1584 PyObject
*resultobj
;
1587 PyObject
* obj0
= 0 ;
1589 (char *) "index", NULL
1592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_HasFeature",kwnames
,&obj0
)) goto fail
;
1593 arg1
= (wxSystemFeature
) SWIG_AsInt(obj0
);
1594 if (PyErr_Occurred()) SWIG_fail
;
1596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1597 result
= (bool)wxSystemSettings::HasFeature((wxSystemFeature
)arg1
);
1599 wxPyEndAllowThreads(__tstate
);
1600 if (PyErr_Occurred()) SWIG_fail
;
1603 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1611 static PyObject
*_wrap_SystemSettings_GetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1612 PyObject
*resultobj
;
1618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SystemSettings_GetScreenType",kwnames
)) goto fail
;
1620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1621 result
= (int)wxSystemSettings::GetScreenType();
1623 wxPyEndAllowThreads(__tstate
);
1624 if (PyErr_Occurred()) SWIG_fail
;
1626 resultobj
= SWIG_FromInt((int)result
);
1633 static PyObject
*_wrap_SystemSettings_SetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1634 PyObject
*resultobj
;
1636 PyObject
* obj0
= 0 ;
1638 (char *) "screen", NULL
1641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_SetScreenType",kwnames
,&obj0
)) goto fail
;
1642 arg1
= (wxSystemScreenType
) SWIG_AsInt(obj0
);
1643 if (PyErr_Occurred()) SWIG_fail
;
1645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1646 wxSystemSettings::SetScreenType((wxSystemScreenType
)arg1
);
1648 wxPyEndAllowThreads(__tstate
);
1649 if (PyErr_Occurred()) SWIG_fail
;
1651 Py_INCREF(Py_None
); resultobj
= Py_None
;
1658 static PyObject
* SystemSettings_swigregister(PyObject
*self
, PyObject
*args
) {
1660 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1661 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings
, obj
);
1663 return Py_BuildValue((char *)"");
1665 static PyObject
*_wrap_new_SystemOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1666 PyObject
*resultobj
;
1667 wxSystemOptions
*result
;
1672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SystemOptions",kwnames
)) goto fail
;
1674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1675 result
= (wxSystemOptions
*)new wxSystemOptions();
1677 wxPyEndAllowThreads(__tstate
);
1678 if (PyErr_Occurred()) SWIG_fail
;
1680 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSystemOptions
, 1);
1687 static PyObject
*_wrap_SystemOptions_SetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1688 PyObject
*resultobj
;
1689 wxString
*arg1
= 0 ;
1690 wxString
*arg2
= 0 ;
1691 bool temp1
= False
;
1692 bool temp2
= False
;
1693 PyObject
* obj0
= 0 ;
1694 PyObject
* obj1
= 0 ;
1696 (char *) "name",(char *) "value", NULL
1699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
1701 arg1
= wxString_in_helper(obj0
);
1702 if (arg1
== NULL
) SWIG_fail
;
1706 arg2
= wxString_in_helper(obj1
);
1707 if (arg2
== NULL
) SWIG_fail
;
1711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1712 wxSystemOptions::SetOption((wxString
const &)*arg1
,(wxString
const &)*arg2
);
1714 wxPyEndAllowThreads(__tstate
);
1715 if (PyErr_Occurred()) SWIG_fail
;
1717 Py_INCREF(Py_None
); resultobj
= Py_None
;
1740 static PyObject
*_wrap_SystemOptions_SetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1741 PyObject
*resultobj
;
1742 wxString
*arg1
= 0 ;
1744 bool temp1
= False
;
1745 PyObject
* obj0
= 0 ;
1746 PyObject
* obj1
= 0 ;
1748 (char *) "name",(char *) "value", NULL
1751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
1753 arg1
= wxString_in_helper(obj0
);
1754 if (arg1
== NULL
) SWIG_fail
;
1757 arg2
= (int) SWIG_AsInt(obj1
);
1758 if (PyErr_Occurred()) SWIG_fail
;
1760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1761 wxSystemOptions::SetOption((wxString
const &)*arg1
,arg2
);
1763 wxPyEndAllowThreads(__tstate
);
1764 if (PyErr_Occurred()) SWIG_fail
;
1766 Py_INCREF(Py_None
); resultobj
= Py_None
;
1781 static PyObject
*_wrap_SystemOptions_GetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1782 PyObject
*resultobj
;
1783 wxString
*arg1
= 0 ;
1785 bool temp1
= False
;
1786 PyObject
* obj0
= 0 ;
1788 (char *) "name", NULL
1791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) goto fail
;
1793 arg1
= wxString_in_helper(obj0
);
1794 if (arg1
== NULL
) SWIG_fail
;
1798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1799 result
= wxSystemOptions::GetOption((wxString
const &)*arg1
);
1801 wxPyEndAllowThreads(__tstate
);
1802 if (PyErr_Occurred()) SWIG_fail
;
1806 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1808 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1825 static PyObject
*_wrap_SystemOptions_GetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1826 PyObject
*resultobj
;
1827 wxString
*arg1
= 0 ;
1829 bool temp1
= False
;
1830 PyObject
* obj0
= 0 ;
1832 (char *) "name", NULL
1835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) goto fail
;
1837 arg1
= wxString_in_helper(obj0
);
1838 if (arg1
== NULL
) SWIG_fail
;
1842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1843 result
= (int)wxSystemOptions::GetOptionInt((wxString
const &)*arg1
);
1845 wxPyEndAllowThreads(__tstate
);
1846 if (PyErr_Occurred()) SWIG_fail
;
1848 resultobj
= SWIG_FromInt((int)result
);
1863 static PyObject
*_wrap_SystemOptions_HasOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1864 PyObject
*resultobj
;
1865 wxString
*arg1
= 0 ;
1867 bool temp1
= False
;
1868 PyObject
* obj0
= 0 ;
1870 (char *) "name", NULL
1873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) goto fail
;
1875 arg1
= wxString_in_helper(obj0
);
1876 if (arg1
== NULL
) SWIG_fail
;
1880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1881 result
= (bool)wxSystemOptions::HasOption((wxString
const &)*arg1
);
1883 wxPyEndAllowThreads(__tstate
);
1884 if (PyErr_Occurred()) SWIG_fail
;
1887 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1903 static PyObject
* SystemOptions_swigregister(PyObject
*self
, PyObject
*args
) {
1905 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1906 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions
, obj
);
1908 return Py_BuildValue((char *)"");
1910 static int _wrap_FileSelectorPromptStr_set(PyObject
*_val
) {
1911 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
1916 static PyObject
*_wrap_FileSelectorPromptStr_get() {
1921 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
1923 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
1930 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*_val
) {
1931 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
1936 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
1941 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
1943 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
1950 static int _wrap_DirSelectorPromptStr_set(PyObject
*_val
) {
1951 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
1956 static PyObject
*_wrap_DirSelectorPromptStr_get() {
1961 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
1963 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
1970 static PyObject
*_wrap_NewId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1971 PyObject
*resultobj
;
1977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewId",kwnames
)) goto fail
;
1979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1980 result
= (long)wxNewId();
1982 wxPyEndAllowThreads(__tstate
);
1983 if (PyErr_Occurred()) SWIG_fail
;
1985 resultobj
= SWIG_FromLong((long)result
);
1992 static PyObject
*_wrap_RegisterId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1993 PyObject
*resultobj
;
1995 PyObject
* obj0
= 0 ;
2000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegisterId",kwnames
,&obj0
)) goto fail
;
2001 arg1
= (long) SWIG_AsLong(obj0
);
2002 if (PyErr_Occurred()) SWIG_fail
;
2004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2007 wxPyEndAllowThreads(__tstate
);
2008 if (PyErr_Occurred()) SWIG_fail
;
2010 Py_INCREF(Py_None
); resultobj
= Py_None
;
2017 static PyObject
*_wrap_GetCurrentId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2018 PyObject
*resultobj
;
2024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentId",kwnames
)) goto fail
;
2026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2027 result
= (long)wxGetCurrentId();
2029 wxPyEndAllowThreads(__tstate
);
2030 if (PyErr_Occurred()) SWIG_fail
;
2032 resultobj
= SWIG_FromLong((long)result
);
2039 static PyObject
*_wrap_Bell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2040 PyObject
*resultobj
;
2045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Bell",kwnames
)) goto fail
;
2047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2050 wxPyEndAllowThreads(__tstate
);
2051 if (PyErr_Occurred()) SWIG_fail
;
2053 Py_INCREF(Py_None
); resultobj
= Py_None
;
2060 static PyObject
*_wrap_EndBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2061 PyObject
*resultobj
;
2066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EndBusyCursor",kwnames
)) goto fail
;
2068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2071 wxPyEndAllowThreads(__tstate
);
2072 if (PyErr_Occurred()) SWIG_fail
;
2074 Py_INCREF(Py_None
); resultobj
= Py_None
;
2081 static PyObject
*_wrap_GetElapsedTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2082 PyObject
*resultobj
;
2083 bool arg1
= (bool) True
;
2085 PyObject
* obj0
= 0 ;
2087 (char *) "resetTimer", NULL
2090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) goto fail
;
2092 arg1
= (bool) SWIG_AsBool(obj0
);
2093 if (PyErr_Occurred()) SWIG_fail
;
2096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2097 result
= (long)wxGetElapsedTime(arg1
);
2099 wxPyEndAllowThreads(__tstate
);
2100 if (PyErr_Occurred()) SWIG_fail
;
2102 resultobj
= SWIG_FromLong((long)result
);
2109 static PyObject
*_wrap_GetMousePosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2110 PyObject
*resultobj
;
2111 int *arg1
= (int *) 0 ;
2112 int *arg2
= (int *) 0 ;
2121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetMousePosition",kwnames
)) goto fail
;
2123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2124 wxGetMousePosition(arg1
,arg2
);
2126 wxPyEndAllowThreads(__tstate
);
2127 if (PyErr_Occurred()) SWIG_fail
;
2129 Py_INCREF(Py_None
); resultobj
= Py_None
;
2131 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
2132 resultobj
= t_output_helper(resultobj
,o
);
2135 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
2136 resultobj
= t_output_helper(resultobj
,o
);
2144 static PyObject
*_wrap_IsBusy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2145 PyObject
*resultobj
;
2151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IsBusy",kwnames
)) goto fail
;
2153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2154 result
= (bool)wxIsBusy();
2156 wxPyEndAllowThreads(__tstate
);
2157 if (PyErr_Occurred()) SWIG_fail
;
2160 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2168 static PyObject
*_wrap_Now(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2169 PyObject
*resultobj
;
2175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Now",kwnames
)) goto fail
;
2177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2180 wxPyEndAllowThreads(__tstate
);
2181 if (PyErr_Occurred()) SWIG_fail
;
2185 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2187 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2196 static PyObject
*_wrap_Shell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2197 PyObject
*resultobj
;
2198 wxString
const &arg1_defvalue
= wxPyEmptyString
;
2199 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2201 bool temp1
= False
;
2202 PyObject
* obj0
= 0 ;
2204 (char *) "command", NULL
2207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) goto fail
;
2210 arg1
= wxString_in_helper(obj0
);
2211 if (arg1
== NULL
) SWIG_fail
;
2216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2217 result
= (bool)wxShell((wxString
const &)*arg1
);
2219 wxPyEndAllowThreads(__tstate
);
2220 if (PyErr_Occurred()) SWIG_fail
;
2223 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2239 static PyObject
*_wrap_StartTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2240 PyObject
*resultobj
;
2245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StartTimer",kwnames
)) goto fail
;
2247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2250 wxPyEndAllowThreads(__tstate
);
2251 if (PyErr_Occurred()) SWIG_fail
;
2253 Py_INCREF(Py_None
); resultobj
= Py_None
;
2260 static PyObject
*_wrap_GetOsVersion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2261 PyObject
*resultobj
;
2262 int *arg1
= (int *) 0 ;
2263 int *arg2
= (int *) 0 ;
2273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsVersion",kwnames
)) goto fail
;
2275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2276 result
= (int)wxGetOsVersion(arg1
,arg2
);
2278 wxPyEndAllowThreads(__tstate
);
2279 if (PyErr_Occurred()) SWIG_fail
;
2281 resultobj
= SWIG_FromInt((int)result
);
2283 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
2284 resultobj
= t_output_helper(resultobj
,o
);
2287 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
2288 resultobj
= t_output_helper(resultobj
,o
);
2296 static PyObject
*_wrap_GetOsDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2297 PyObject
*resultobj
;
2303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsDescription",kwnames
)) goto fail
;
2305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2306 result
= wxGetOsDescription();
2308 wxPyEndAllowThreads(__tstate
);
2309 if (PyErr_Occurred()) SWIG_fail
;
2313 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2315 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2324 static PyObject
*_wrap_GetFreeMemory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2325 PyObject
*resultobj
;
2331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFreeMemory",kwnames
)) goto fail
;
2333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2334 result
= (long)wxGetFreeMemory();
2336 wxPyEndAllowThreads(__tstate
);
2337 if (PyErr_Occurred()) SWIG_fail
;
2339 resultobj
= SWIG_FromLong((long)result
);
2346 static PyObject
*_wrap_Shutdown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2347 PyObject
*resultobj
;
2350 PyObject
* obj0
= 0 ;
2352 (char *) "wFlags", NULL
2355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Shutdown",kwnames
,&obj0
)) goto fail
;
2356 arg1
= (wxShutdownFlags
) SWIG_AsInt(obj0
);
2357 if (PyErr_Occurred()) SWIG_fail
;
2359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2360 result
= (bool)wxShutdown((wxShutdownFlags
)arg1
);
2362 wxPyEndAllowThreads(__tstate
);
2363 if (PyErr_Occurred()) SWIG_fail
;
2366 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2374 static PyObject
*_wrap_Sleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2375 PyObject
*resultobj
;
2377 PyObject
* obj0
= 0 ;
2379 (char *) "secs", NULL
2382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sleep",kwnames
,&obj0
)) goto fail
;
2383 arg1
= (int) SWIG_AsInt(obj0
);
2384 if (PyErr_Occurred()) SWIG_fail
;
2386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2389 wxPyEndAllowThreads(__tstate
);
2390 if (PyErr_Occurred()) SWIG_fail
;
2392 Py_INCREF(Py_None
); resultobj
= Py_None
;
2399 static PyObject
*_wrap_Usleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2400 PyObject
*resultobj
;
2401 unsigned long arg1
;
2402 PyObject
* obj0
= 0 ;
2404 (char *) "milliseconds", NULL
2407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Usleep",kwnames
,&obj0
)) goto fail
;
2408 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
2409 if (PyErr_Occurred()) SWIG_fail
;
2411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2414 wxPyEndAllowThreads(__tstate
);
2415 if (PyErr_Occurred()) SWIG_fail
;
2417 Py_INCREF(Py_None
); resultobj
= Py_None
;
2424 static PyObject
*_wrap_EnableTopLevelWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2425 PyObject
*resultobj
;
2427 PyObject
* obj0
= 0 ;
2429 (char *) "enable", NULL
2432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) goto fail
;
2433 arg1
= (bool) SWIG_AsBool(obj0
);
2434 if (PyErr_Occurred()) SWIG_fail
;
2436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2437 wxEnableTopLevelWindows(arg1
);
2439 wxPyEndAllowThreads(__tstate
);
2440 if (PyErr_Occurred()) SWIG_fail
;
2442 Py_INCREF(Py_None
); resultobj
= Py_None
;
2449 static PyObject
*_wrap_StripMenuCodes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2450 PyObject
*resultobj
;
2451 wxString
*arg1
= 0 ;
2453 bool temp1
= False
;
2454 PyObject
* obj0
= 0 ;
2459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) goto fail
;
2461 arg1
= wxString_in_helper(obj0
);
2462 if (arg1
== NULL
) SWIG_fail
;
2466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2467 result
= wxStripMenuCodes((wxString
const &)*arg1
);
2469 wxPyEndAllowThreads(__tstate
);
2470 if (PyErr_Occurred()) SWIG_fail
;
2474 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2476 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2493 static PyObject
*_wrap_GetEmailAddress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2494 PyObject
*resultobj
;
2500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetEmailAddress",kwnames
)) goto fail
;
2502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2503 result
= wxGetEmailAddress();
2505 wxPyEndAllowThreads(__tstate
);
2506 if (PyErr_Occurred()) SWIG_fail
;
2510 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2512 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2521 static PyObject
*_wrap_GetHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2522 PyObject
*resultobj
;
2528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHostName",kwnames
)) goto fail
;
2530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2531 result
= wxGetHostName();
2533 wxPyEndAllowThreads(__tstate
);
2534 if (PyErr_Occurred()) SWIG_fail
;
2538 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2540 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2549 static PyObject
*_wrap_GetFullHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2550 PyObject
*resultobj
;
2556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFullHostName",kwnames
)) goto fail
;
2558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2559 result
= wxGetFullHostName();
2561 wxPyEndAllowThreads(__tstate
);
2562 if (PyErr_Occurred()) SWIG_fail
;
2566 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2568 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2577 static PyObject
*_wrap_GetUserId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2578 PyObject
*resultobj
;
2584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserId",kwnames
)) goto fail
;
2586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2587 result
= wxGetUserId();
2589 wxPyEndAllowThreads(__tstate
);
2590 if (PyErr_Occurred()) SWIG_fail
;
2594 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2596 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2605 static PyObject
*_wrap_GetUserName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2606 PyObject
*resultobj
;
2612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserName",kwnames
)) goto fail
;
2614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2615 result
= wxGetUserName();
2617 wxPyEndAllowThreads(__tstate
);
2618 if (PyErr_Occurred()) SWIG_fail
;
2622 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2624 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2633 static PyObject
*_wrap_GetHomeDir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2634 PyObject
*resultobj
;
2640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHomeDir",kwnames
)) goto fail
;
2642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2643 result
= wxGetHomeDir();
2645 wxPyEndAllowThreads(__tstate
);
2646 if (PyErr_Occurred()) SWIG_fail
;
2650 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2652 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2661 static PyObject
*_wrap_GetUserHome(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2662 PyObject
*resultobj
;
2663 wxString
const &arg1_defvalue
= wxPyEmptyString
;
2664 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2666 bool temp1
= False
;
2667 PyObject
* obj0
= 0 ;
2669 (char *) "user", NULL
2672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) goto fail
;
2675 arg1
= wxString_in_helper(obj0
);
2676 if (arg1
== NULL
) SWIG_fail
;
2681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2682 result
= wxGetUserHome((wxString
const &)*arg1
);
2684 wxPyEndAllowThreads(__tstate
);
2685 if (PyErr_Occurred()) SWIG_fail
;
2689 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2691 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2708 static PyObject
*_wrap_GetProcessId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2709 PyObject
*resultobj
;
2710 unsigned long result
;
2715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetProcessId",kwnames
)) goto fail
;
2717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2718 result
= (unsigned long)wxGetProcessId();
2720 wxPyEndAllowThreads(__tstate
);
2721 if (PyErr_Occurred()) SWIG_fail
;
2723 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
2730 static PyObject
*_wrap_Trap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2731 PyObject
*resultobj
;
2736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Trap",kwnames
)) goto fail
;
2738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2741 wxPyEndAllowThreads(__tstate
);
2742 if (PyErr_Occurred()) SWIG_fail
;
2744 Py_INCREF(Py_None
); resultobj
= Py_None
;
2751 static PyObject
*_wrap_FileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2752 PyObject
*resultobj
;
2753 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
2754 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2755 wxString
const &arg2_defvalue
= wxPyEmptyString
;
2756 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
2757 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2758 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2759 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2760 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2761 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
2762 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
2763 int arg6
= (int) 0 ;
2764 wxWindow
*arg7
= (wxWindow
*) NULL
;
2765 int arg8
= (int) -1 ;
2766 int arg9
= (int) -1 ;
2768 bool temp1
= False
;
2769 bool temp2
= False
;
2770 bool temp3
= False
;
2771 bool temp4
= False
;
2772 bool temp5
= False
;
2773 PyObject
* obj0
= 0 ;
2774 PyObject
* obj1
= 0 ;
2775 PyObject
* obj2
= 0 ;
2776 PyObject
* obj3
= 0 ;
2777 PyObject
* obj4
= 0 ;
2778 PyObject
* obj5
= 0 ;
2779 PyObject
* obj6
= 0 ;
2780 PyObject
* obj7
= 0 ;
2781 PyObject
* obj8
= 0 ;
2783 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
2786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOOOO:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2789 arg1
= wxString_in_helper(obj0
);
2790 if (arg1
== NULL
) SWIG_fail
;
2796 arg2
= wxString_in_helper(obj1
);
2797 if (arg2
== NULL
) SWIG_fail
;
2803 arg3
= wxString_in_helper(obj2
);
2804 if (arg3
== NULL
) SWIG_fail
;
2810 arg4
= wxString_in_helper(obj3
);
2811 if (arg4
== NULL
) SWIG_fail
;
2817 arg5
= wxString_in_helper(obj4
);
2818 if (arg5
== NULL
) SWIG_fail
;
2823 arg6
= (int) SWIG_AsInt(obj5
);
2824 if (PyErr_Occurred()) SWIG_fail
;
2827 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxWindow
,
2828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2831 arg8
= (int) SWIG_AsInt(obj7
);
2832 if (PyErr_Occurred()) SWIG_fail
;
2835 arg9
= (int) SWIG_AsInt(obj8
);
2836 if (PyErr_Occurred()) SWIG_fail
;
2839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2840 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
2842 wxPyEndAllowThreads(__tstate
);
2843 if (PyErr_Occurred()) SWIG_fail
;
2847 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2849 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2898 static PyObject
*_wrap_LoadFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2899 PyObject
*resultobj
;
2900 wxString
*arg1
= 0 ;
2901 wxString
*arg2
= 0 ;
2902 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2903 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2904 wxWindow
*arg4
= (wxWindow
*) NULL
;
2906 bool temp1
= False
;
2907 bool temp2
= False
;
2908 bool temp3
= False
;
2909 PyObject
* obj0
= 0 ;
2910 PyObject
* obj1
= 0 ;
2911 PyObject
* obj2
= 0 ;
2912 PyObject
* obj3
= 0 ;
2914 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
2917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2919 arg1
= wxString_in_helper(obj0
);
2920 if (arg1
== NULL
) SWIG_fail
;
2924 arg2
= wxString_in_helper(obj1
);
2925 if (arg2
== NULL
) SWIG_fail
;
2930 arg3
= wxString_in_helper(obj2
);
2931 if (arg3
== NULL
) SWIG_fail
;
2936 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
2937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2941 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
2943 wxPyEndAllowThreads(__tstate
);
2944 if (PyErr_Occurred()) SWIG_fail
;
2948 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2950 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2983 static PyObject
*_wrap_SaveFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2984 PyObject
*resultobj
;
2985 wxString
*arg1
= 0 ;
2986 wxString
*arg2
= 0 ;
2987 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2988 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2989 wxWindow
*arg4
= (wxWindow
*) NULL
;
2991 bool temp1
= False
;
2992 bool temp2
= False
;
2993 bool temp3
= False
;
2994 PyObject
* obj0
= 0 ;
2995 PyObject
* obj1
= 0 ;
2996 PyObject
* obj2
= 0 ;
2997 PyObject
* obj3
= 0 ;
2999 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
3002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3004 arg1
= wxString_in_helper(obj0
);
3005 if (arg1
== NULL
) SWIG_fail
;
3009 arg2
= wxString_in_helper(obj1
);
3010 if (arg2
== NULL
) SWIG_fail
;
3015 arg3
= wxString_in_helper(obj2
);
3016 if (arg3
== NULL
) SWIG_fail
;
3021 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3026 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3028 wxPyEndAllowThreads(__tstate
);
3029 if (PyErr_Occurred()) SWIG_fail
;
3033 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3035 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3068 static PyObject
*_wrap_DirSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3069 PyObject
*resultobj
;
3070 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
3071 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3072 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3073 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3074 long arg3
= (long) wxDD_DEFAULT_STYLE
;
3075 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3076 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3077 wxWindow
*arg5
= (wxWindow
*) NULL
;
3079 bool temp1
= False
;
3080 bool temp2
= False
;
3082 PyObject
* obj0
= 0 ;
3083 PyObject
* obj1
= 0 ;
3084 PyObject
* obj2
= 0 ;
3085 PyObject
* obj3
= 0 ;
3086 PyObject
* obj4
= 0 ;
3088 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
3091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:DirSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3094 arg1
= wxString_in_helper(obj0
);
3095 if (arg1
== NULL
) SWIG_fail
;
3101 arg2
= wxString_in_helper(obj1
);
3102 if (arg2
== NULL
) SWIG_fail
;
3107 arg3
= (long) SWIG_AsLong(obj2
);
3108 if (PyErr_Occurred()) SWIG_fail
;
3113 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3117 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3122 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
3124 wxPyEndAllowThreads(__tstate
);
3125 if (PyErr_Occurred()) SWIG_fail
;
3129 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3131 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3156 static PyObject
*_wrap_GetTextFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3157 PyObject
*resultobj
;
3158 wxString
*arg1
= 0 ;
3159 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3160 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3161 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3162 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3163 wxWindow
*arg4
= (wxWindow
*) NULL
;
3164 int arg5
= (int) -1 ;
3165 int arg6
= (int) -1 ;
3166 bool arg7
= (bool) True
;
3168 bool temp1
= False
;
3169 bool temp2
= False
;
3170 bool temp3
= False
;
3171 PyObject
* obj0
= 0 ;
3172 PyObject
* obj1
= 0 ;
3173 PyObject
* obj2
= 0 ;
3174 PyObject
* obj3
= 0 ;
3175 PyObject
* obj4
= 0 ;
3176 PyObject
* obj5
= 0 ;
3177 PyObject
* obj6
= 0 ;
3179 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
3182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3184 arg1
= wxString_in_helper(obj0
);
3185 if (arg1
== NULL
) SWIG_fail
;
3190 arg2
= wxString_in_helper(obj1
);
3191 if (arg2
== NULL
) SWIG_fail
;
3197 arg3
= wxString_in_helper(obj2
);
3198 if (arg3
== NULL
) SWIG_fail
;
3203 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3207 arg5
= (int) SWIG_AsInt(obj4
);
3208 if (PyErr_Occurred()) SWIG_fail
;
3211 arg6
= (int) SWIG_AsInt(obj5
);
3212 if (PyErr_Occurred()) SWIG_fail
;
3215 arg7
= (bool) SWIG_AsBool(obj6
);
3216 if (PyErr_Occurred()) SWIG_fail
;
3219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3220 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
3222 wxPyEndAllowThreads(__tstate
);
3223 if (PyErr_Occurred()) SWIG_fail
;
3227 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3229 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3262 static PyObject
*_wrap_GetPasswordFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3263 PyObject
*resultobj
;
3264 wxString
*arg1
= 0 ;
3265 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3266 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3267 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3268 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3269 wxWindow
*arg4
= (wxWindow
*) NULL
;
3271 bool temp1
= False
;
3272 bool temp2
= False
;
3273 bool temp3
= False
;
3274 PyObject
* obj0
= 0 ;
3275 PyObject
* obj1
= 0 ;
3276 PyObject
* obj2
= 0 ;
3277 PyObject
* obj3
= 0 ;
3279 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
3282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3284 arg1
= wxString_in_helper(obj0
);
3285 if (arg1
== NULL
) SWIG_fail
;
3290 arg2
= wxString_in_helper(obj1
);
3291 if (arg2
== NULL
) SWIG_fail
;
3297 arg3
= wxString_in_helper(obj2
);
3298 if (arg3
== NULL
) SWIG_fail
;
3303 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3308 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3310 wxPyEndAllowThreads(__tstate
);
3311 if (PyErr_Occurred()) SWIG_fail
;
3315 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3317 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3350 static PyObject
*_wrap_GetSingleChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3351 PyObject
*resultobj
;
3352 wxString
*arg1
= 0 ;
3353 wxString
*arg2
= 0 ;
3355 wxString
*arg4
= (wxString
*) 0 ;
3356 wxWindow
*arg5
= (wxWindow
*) NULL
;
3357 int arg6
= (int) -1 ;
3358 int arg7
= (int) -1 ;
3359 bool arg8
= (bool) True
;
3360 int arg9
= (int) 150 ;
3361 int arg10
= (int) 200 ;
3363 bool temp1
= False
;
3364 bool temp2
= False
;
3365 PyObject
* obj0
= 0 ;
3366 PyObject
* obj1
= 0 ;
3367 PyObject
* obj2
= 0 ;
3368 PyObject
* obj3
= 0 ;
3369 PyObject
* obj4
= 0 ;
3370 PyObject
* obj5
= 0 ;
3371 PyObject
* obj6
= 0 ;
3372 PyObject
* obj7
= 0 ;
3373 PyObject
* obj8
= 0 ;
3375 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3380 arg1
= wxString_in_helper(obj0
);
3381 if (arg1
== NULL
) SWIG_fail
;
3385 arg2
= wxString_in_helper(obj1
);
3386 if (arg2
== NULL
) SWIG_fail
;
3390 arg3
= PyList_Size(obj2
);
3391 arg4
= wxString_LIST_helper(obj2
);
3392 if (arg4
== NULL
) SWIG_fail
;
3395 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3399 arg6
= (int) SWIG_AsInt(obj4
);
3400 if (PyErr_Occurred()) SWIG_fail
;
3403 arg7
= (int) SWIG_AsInt(obj5
);
3404 if (PyErr_Occurred()) SWIG_fail
;
3407 arg8
= (bool) SWIG_AsBool(obj6
);
3408 if (PyErr_Occurred()) SWIG_fail
;
3411 arg9
= (int) SWIG_AsInt(obj7
);
3412 if (PyErr_Occurred()) SWIG_fail
;
3415 arg10
= (int) SWIG_AsInt(obj8
);
3416 if (PyErr_Occurred()) SWIG_fail
;
3419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3420 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
3422 wxPyEndAllowThreads(__tstate
);
3423 if (PyErr_Occurred()) SWIG_fail
;
3427 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3429 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3441 if (arg4
) delete [] arg4
;
3454 if (arg4
) delete [] arg4
;
3460 static PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3461 PyObject
*resultobj
;
3462 wxString
*arg1
= 0 ;
3463 wxString
*arg2
= 0 ;
3465 wxString
*arg4
= (wxString
*) 0 ;
3466 wxWindow
*arg5
= (wxWindow
*) NULL
;
3467 int arg6
= (int) -1 ;
3468 int arg7
= (int) -1 ;
3469 bool arg8
= (bool) True
;
3470 int arg9
= (int) 150 ;
3471 int arg10
= (int) 200 ;
3473 bool temp1
= False
;
3474 bool temp2
= False
;
3475 PyObject
* obj0
= 0 ;
3476 PyObject
* obj1
= 0 ;
3477 PyObject
* obj2
= 0 ;
3478 PyObject
* obj3
= 0 ;
3479 PyObject
* obj4
= 0 ;
3480 PyObject
* obj5
= 0 ;
3481 PyObject
* obj6
= 0 ;
3482 PyObject
* obj7
= 0 ;
3483 PyObject
* obj8
= 0 ;
3485 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3490 arg1
= wxString_in_helper(obj0
);
3491 if (arg1
== NULL
) SWIG_fail
;
3495 arg2
= wxString_in_helper(obj1
);
3496 if (arg2
== NULL
) SWIG_fail
;
3500 arg3
= PyList_Size(obj2
);
3501 arg4
= wxString_LIST_helper(obj2
);
3502 if (arg4
== NULL
) SWIG_fail
;
3505 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3509 arg6
= (int) SWIG_AsInt(obj4
);
3510 if (PyErr_Occurred()) SWIG_fail
;
3513 arg7
= (int) SWIG_AsInt(obj5
);
3514 if (PyErr_Occurred()) SWIG_fail
;
3517 arg8
= (bool) SWIG_AsBool(obj6
);
3518 if (PyErr_Occurred()) SWIG_fail
;
3521 arg9
= (int) SWIG_AsInt(obj7
);
3522 if (PyErr_Occurred()) SWIG_fail
;
3525 arg10
= (int) SWIG_AsInt(obj8
);
3526 if (PyErr_Occurred()) SWIG_fail
;
3529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3530 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
3532 wxPyEndAllowThreads(__tstate
);
3533 if (PyErr_Occurred()) SWIG_fail
;
3535 resultobj
= SWIG_FromInt((int)result
);
3545 if (arg4
) delete [] arg4
;
3558 if (arg4
) delete [] arg4
;
3564 static PyObject
*_wrap_MessageBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3565 PyObject
*resultobj
;
3566 wxString
*arg1
= 0 ;
3567 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3568 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3569 int arg3
= (int) wxOK
|wxCENTRE
;
3570 wxWindow
*arg4
= (wxWindow
*) NULL
;
3571 int arg5
= (int) -1 ;
3572 int arg6
= (int) -1 ;
3574 bool temp1
= False
;
3575 bool temp2
= False
;
3576 PyObject
* obj0
= 0 ;
3577 PyObject
* obj1
= 0 ;
3578 PyObject
* obj2
= 0 ;
3579 PyObject
* obj3
= 0 ;
3580 PyObject
* obj4
= 0 ;
3581 PyObject
* obj5
= 0 ;
3583 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
3586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:MessageBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
3588 arg1
= wxString_in_helper(obj0
);
3589 if (arg1
== NULL
) SWIG_fail
;
3594 arg2
= wxString_in_helper(obj1
);
3595 if (arg2
== NULL
) SWIG_fail
;
3600 arg3
= (int) SWIG_AsInt(obj2
);
3601 if (PyErr_Occurred()) SWIG_fail
;
3604 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3608 arg5
= (int) SWIG_AsInt(obj4
);
3609 if (PyErr_Occurred()) SWIG_fail
;
3612 arg6
= (int) SWIG_AsInt(obj5
);
3613 if (PyErr_Occurred()) SWIG_fail
;
3616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3617 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
3619 wxPyEndAllowThreads(__tstate
);
3620 if (PyErr_Occurred()) SWIG_fail
;
3622 resultobj
= SWIG_FromInt((int)result
);
3645 static PyObject
*_wrap_GetNumberFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3646 PyObject
*resultobj
;
3647 wxString
*arg1
= 0 ;
3648 wxString
*arg2
= 0 ;
3649 wxString
*arg3
= 0 ;
3651 long arg5
= (long) 0 ;
3652 long arg6
= (long) 100 ;
3653 wxWindow
*arg7
= (wxWindow
*) NULL
;
3654 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
3655 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
3657 bool temp1
= False
;
3658 bool temp2
= False
;
3659 bool temp3
= False
;
3661 PyObject
* obj0
= 0 ;
3662 PyObject
* obj1
= 0 ;
3663 PyObject
* obj2
= 0 ;
3664 PyObject
* obj3
= 0 ;
3665 PyObject
* obj4
= 0 ;
3666 PyObject
* obj5
= 0 ;
3667 PyObject
* obj6
= 0 ;
3668 PyObject
* obj7
= 0 ;
3670 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
3673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3675 arg1
= wxString_in_helper(obj0
);
3676 if (arg1
== NULL
) SWIG_fail
;
3680 arg2
= wxString_in_helper(obj1
);
3681 if (arg2
== NULL
) SWIG_fail
;
3685 arg3
= wxString_in_helper(obj2
);
3686 if (arg3
== NULL
) SWIG_fail
;
3689 arg4
= (long) SWIG_AsLong(obj3
);
3690 if (PyErr_Occurred()) SWIG_fail
;
3692 arg5
= (long) SWIG_AsLong(obj4
);
3693 if (PyErr_Occurred()) SWIG_fail
;
3696 arg6
= (long) SWIG_AsLong(obj5
);
3697 if (PyErr_Occurred()) SWIG_fail
;
3700 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxWindow
,
3701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3706 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
3710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3711 result
= (long)wxGetNumberFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
3713 wxPyEndAllowThreads(__tstate
);
3714 if (PyErr_Occurred()) SWIG_fail
;
3716 resultobj
= SWIG_FromLong((long)result
);
3747 static PyObject
*_wrap_ColourDisplay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3748 PyObject
*resultobj
;
3754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ColourDisplay",kwnames
)) goto fail
;
3756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3757 result
= (bool)wxColourDisplay();
3759 wxPyEndAllowThreads(__tstate
);
3760 if (PyErr_Occurred()) SWIG_fail
;
3763 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3771 static PyObject
*_wrap_DisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3772 PyObject
*resultobj
;
3778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplayDepth",kwnames
)) goto fail
;
3780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3781 result
= (int)wxDisplayDepth();
3783 wxPyEndAllowThreads(__tstate
);
3784 if (PyErr_Occurred()) SWIG_fail
;
3786 resultobj
= SWIG_FromInt((int)result
);
3793 static PyObject
*_wrap_GetDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3794 PyObject
*resultobj
;
3800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplayDepth",kwnames
)) goto fail
;
3802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3803 result
= (int)wxGetDisplayDepth();
3805 wxPyEndAllowThreads(__tstate
);
3806 if (PyErr_Occurred()) SWIG_fail
;
3808 resultobj
= SWIG_FromInt((int)result
);
3815 static PyObject
*_wrap_DisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3816 PyObject
*resultobj
;
3817 int *arg1
= (int *) 0 ;
3818 int *arg2
= (int *) 0 ;
3827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySize",kwnames
)) goto fail
;
3829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3830 wxDisplaySize(arg1
,arg2
);
3832 wxPyEndAllowThreads(__tstate
);
3833 if (PyErr_Occurred()) SWIG_fail
;
3835 Py_INCREF(Py_None
); resultobj
= Py_None
;
3837 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
3838 resultobj
= t_output_helper(resultobj
,o
);
3841 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3842 resultobj
= t_output_helper(resultobj
,o
);
3850 static PyObject
*_wrap_GetDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3851 PyObject
*resultobj
;
3857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySize",kwnames
)) goto fail
;
3859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3860 result
= wxGetDisplaySize();
3862 wxPyEndAllowThreads(__tstate
);
3863 if (PyErr_Occurred()) SWIG_fail
;
3867 resultptr
= new wxSize((wxSize
&) result
);
3868 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3876 static PyObject
*_wrap_DisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3877 PyObject
*resultobj
;
3878 int *arg1
= (int *) 0 ;
3879 int *arg2
= (int *) 0 ;
3888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySizeMM",kwnames
)) goto fail
;
3890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3891 wxDisplaySizeMM(arg1
,arg2
);
3893 wxPyEndAllowThreads(__tstate
);
3894 if (PyErr_Occurred()) SWIG_fail
;
3896 Py_INCREF(Py_None
); resultobj
= Py_None
;
3898 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
3899 resultobj
= t_output_helper(resultobj
,o
);
3902 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3903 resultobj
= t_output_helper(resultobj
,o
);
3911 static PyObject
*_wrap_GetDisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3912 PyObject
*resultobj
;
3918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySizeMM",kwnames
)) goto fail
;
3920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3921 result
= wxGetDisplaySizeMM();
3923 wxPyEndAllowThreads(__tstate
);
3924 if (PyErr_Occurred()) SWIG_fail
;
3928 resultptr
= new wxSize((wxSize
&) result
);
3929 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3937 static PyObject
*_wrap_ClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3938 PyObject
*resultobj
;
3939 int *arg1
= (int *) 0 ;
3940 int *arg2
= (int *) 0 ;
3941 int *arg3
= (int *) 0 ;
3942 int *arg4
= (int *) 0 ;
3955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ClientDisplayRect",kwnames
)) goto fail
;
3957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3958 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
3960 wxPyEndAllowThreads(__tstate
);
3961 if (PyErr_Occurred()) SWIG_fail
;
3963 Py_INCREF(Py_None
); resultobj
= Py_None
;
3965 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
3966 resultobj
= t_output_helper(resultobj
,o
);
3969 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3970 resultobj
= t_output_helper(resultobj
,o
);
3973 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
3974 resultobj
= t_output_helper(resultobj
,o
);
3977 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
3978 resultobj
= t_output_helper(resultobj
,o
);
3986 static PyObject
*_wrap_GetClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3987 PyObject
*resultobj
;
3993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetClientDisplayRect",kwnames
)) goto fail
;
3995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3996 result
= wxGetClientDisplayRect();
3998 wxPyEndAllowThreads(__tstate
);
3999 if (PyErr_Occurred()) SWIG_fail
;
4003 resultptr
= new wxRect((wxRect
&) result
);
4004 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
4012 static PyObject
*_wrap_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4013 PyObject
*resultobj
;
4014 wxCursor
*arg1
= 0 ;
4015 PyObject
* obj0
= 0 ;
4017 (char *) "cursor", NULL
4020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) goto fail
;
4021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4022 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4025 PyErr_SetString(PyExc_TypeError
,"null reference");
4029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4032 wxPyEndAllowThreads(__tstate
);
4033 if (PyErr_Occurred()) SWIG_fail
;
4035 Py_INCREF(Py_None
); resultobj
= Py_None
;
4042 static PyObject
*_wrap_BeginBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4043 PyObject
*resultobj
;
4044 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
4045 PyObject
* obj0
= 0 ;
4047 (char *) "cursor", NULL
4050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) goto fail
;
4052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4057 wxBeginBusyCursor(arg1
);
4059 wxPyEndAllowThreads(__tstate
);
4060 if (PyErr_Occurred()) SWIG_fail
;
4062 Py_INCREF(Py_None
); resultobj
= Py_None
;
4069 static PyObject
*_wrap_GetActiveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4070 PyObject
*resultobj
;
4076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetActiveWindow",kwnames
)) goto fail
;
4078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4079 result
= (wxWindow
*)wxGetActiveWindow();
4081 wxPyEndAllowThreads(__tstate
);
4082 if (PyErr_Occurred()) SWIG_fail
;
4085 resultobj
= wxPyMake_wxObject(result
);
4093 static PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4094 PyObject
*resultobj
;
4098 PyObject
* obj0
= 0 ;
4103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
4106 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4110 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
4112 wxPyEndAllowThreads(__tstate
);
4113 if (PyErr_Occurred()) SWIG_fail
;
4116 resultobj
= wxPyMake_wxObject(result
);
4124 static PyObject
*_wrap_FindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4125 PyObject
*resultobj
;
4129 PyObject
* obj0
= 0 ;
4134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
4137 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4141 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
4143 wxPyEndAllowThreads(__tstate
);
4144 if (PyErr_Occurred()) SWIG_fail
;
4147 resultobj
= wxPyMake_wxObject(result
);
4155 static PyObject
*_wrap_GetTopLevelParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4156 PyObject
*resultobj
;
4157 wxWindow
*arg1
= (wxWindow
*) 0 ;
4159 PyObject
* obj0
= 0 ;
4161 (char *) "win", NULL
4164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) goto fail
;
4165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4169 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
4171 wxPyEndAllowThreads(__tstate
);
4172 if (PyErr_Occurred()) SWIG_fail
;
4175 resultobj
= wxPyMake_wxObject(result
);
4183 static PyObject
*_wrap_GetKeyState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4184 PyObject
*resultobj
;
4187 PyObject
* obj0
= 0 ;
4189 (char *) "key", NULL
4192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetKeyState",kwnames
,&obj0
)) goto fail
;
4193 arg1
= (wxKeyCode
) SWIG_AsInt(obj0
);
4194 if (PyErr_Occurred()) SWIG_fail
;
4196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4197 result
= (bool)wxGetKeyState((wxKeyCode
)arg1
);
4199 wxPyEndAllowThreads(__tstate
);
4200 if (PyErr_Occurred()) SWIG_fail
;
4203 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4211 static PyObject
*_wrap_WakeUpMainThread(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4212 PyObject
*resultobj
;
4217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpMainThread",kwnames
)) goto fail
;
4219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4220 wxWakeUpMainThread();
4222 wxPyEndAllowThreads(__tstate
);
4223 if (PyErr_Occurred()) SWIG_fail
;
4225 Py_INCREF(Py_None
); resultobj
= Py_None
;
4232 static PyObject
*_wrap_MutexGuiEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4233 PyObject
*resultobj
;
4238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiEnter",kwnames
)) goto fail
;
4240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4243 wxPyEndAllowThreads(__tstate
);
4244 if (PyErr_Occurred()) SWIG_fail
;
4246 Py_INCREF(Py_None
); resultobj
= Py_None
;
4253 static PyObject
*_wrap_MutexGuiLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4254 PyObject
*resultobj
;
4259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiLeave",kwnames
)) goto fail
;
4261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4264 wxPyEndAllowThreads(__tstate
);
4265 if (PyErr_Occurred()) SWIG_fail
;
4267 Py_INCREF(Py_None
); resultobj
= Py_None
;
4274 static PyObject
*_wrap_new_MutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4275 PyObject
*resultobj
;
4276 wxMutexGuiLocker
*result
;
4281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MutexGuiLocker",kwnames
)) goto fail
;
4283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4284 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
4286 wxPyEndAllowThreads(__tstate
);
4287 if (PyErr_Occurred()) SWIG_fail
;
4289 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMutexGuiLocker
, 1);
4296 static PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4297 PyObject
*resultobj
;
4298 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
4299 PyObject
* obj0
= 0 ;
4301 (char *) "self", NULL
4304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MutexGuiLocker",kwnames
,&obj0
)) goto fail
;
4305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMutexGuiLocker
,
4306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4311 wxPyEndAllowThreads(__tstate
);
4312 if (PyErr_Occurred()) SWIG_fail
;
4314 Py_INCREF(Py_None
); resultobj
= Py_None
;
4321 static PyObject
* MutexGuiLocker_swigregister(PyObject
*self
, PyObject
*args
) {
4323 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4324 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker
, obj
);
4326 return Py_BuildValue((char *)"");
4328 static PyObject
*_wrap_Thread_IsMain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4329 PyObject
*resultobj
;
4335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Thread_IsMain",kwnames
)) goto fail
;
4337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4338 result
= (bool)wxThread_IsMain();
4340 wxPyEndAllowThreads(__tstate
);
4341 if (PyErr_Occurred()) SWIG_fail
;
4344 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4352 static PyObject
*_wrap_new_ToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4353 PyObject
*resultobj
;
4354 wxString
*arg1
= 0 ;
4356 bool temp1
= False
;
4357 PyObject
* obj0
= 0 ;
4359 (char *) "tip", NULL
4362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) goto fail
;
4364 arg1
= wxString_in_helper(obj0
);
4365 if (arg1
== NULL
) SWIG_fail
;
4369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4370 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
4372 wxPyEndAllowThreads(__tstate
);
4373 if (PyErr_Occurred()) SWIG_fail
;
4376 resultobj
= wxPyMake_wxObject(result
);
4392 static PyObject
*_wrap_ToolTip_SetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4393 PyObject
*resultobj
;
4394 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4395 wxString
*arg2
= 0 ;
4396 bool temp2
= False
;
4397 PyObject
* obj0
= 0 ;
4398 PyObject
* obj1
= 0 ;
4400 (char *) "self",(char *) "tip", NULL
4403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) goto fail
;
4404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4407 arg2
= wxString_in_helper(obj1
);
4408 if (arg2
== NULL
) SWIG_fail
;
4412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4413 (arg1
)->SetTip((wxString
const &)*arg2
);
4415 wxPyEndAllowThreads(__tstate
);
4416 if (PyErr_Occurred()) SWIG_fail
;
4418 Py_INCREF(Py_None
); resultobj
= Py_None
;
4433 static PyObject
*_wrap_ToolTip_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4434 PyObject
*resultobj
;
4435 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4437 PyObject
* obj0
= 0 ;
4439 (char *) "self", NULL
4442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetTip",kwnames
,&obj0
)) goto fail
;
4443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4447 result
= (arg1
)->GetTip();
4449 wxPyEndAllowThreads(__tstate
);
4450 if (PyErr_Occurred()) SWIG_fail
;
4454 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4456 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4465 static PyObject
*_wrap_ToolTip_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4466 PyObject
*resultobj
;
4467 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4469 PyObject
* obj0
= 0 ;
4471 (char *) "self", NULL
4474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetWindow",kwnames
,&obj0
)) goto fail
;
4475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4479 result
= (wxWindow
*)(arg1
)->GetWindow();
4481 wxPyEndAllowThreads(__tstate
);
4482 if (PyErr_Occurred()) SWIG_fail
;
4485 resultobj
= wxPyMake_wxObject(result
);
4493 static PyObject
*_wrap_ToolTip_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4494 PyObject
*resultobj
;
4496 PyObject
* obj0
= 0 ;
4498 (char *) "flag", NULL
4501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) goto fail
;
4502 arg1
= (bool) SWIG_AsBool(obj0
);
4503 if (PyErr_Occurred()) SWIG_fail
;
4505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4506 wxToolTip::Enable(arg1
);
4508 wxPyEndAllowThreads(__tstate
);
4509 if (PyErr_Occurred()) SWIG_fail
;
4511 Py_INCREF(Py_None
); resultobj
= Py_None
;
4518 static PyObject
*_wrap_ToolTip_SetDelay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4519 PyObject
*resultobj
;
4521 PyObject
* obj0
= 0 ;
4523 (char *) "milliseconds", NULL
4526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_SetDelay",kwnames
,&obj0
)) goto fail
;
4527 arg1
= (long) SWIG_AsLong(obj0
);
4528 if (PyErr_Occurred()) SWIG_fail
;
4530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4531 wxToolTip::SetDelay(arg1
);
4533 wxPyEndAllowThreads(__tstate
);
4534 if (PyErr_Occurred()) SWIG_fail
;
4536 Py_INCREF(Py_None
); resultobj
= Py_None
;
4543 static PyObject
* ToolTip_swigregister(PyObject
*self
, PyObject
*args
) {
4545 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4546 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip
, obj
);
4548 return Py_BuildValue((char *)"");
4550 static PyObject
*_wrap_new_Caret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4551 PyObject
*resultobj
;
4552 wxWindow
*arg1
= (wxWindow
*) 0 ;
4556 PyObject
* obj0
= 0 ;
4557 PyObject
* obj1
= 0 ;
4559 (char *) "window",(char *) "size", NULL
4562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) goto fail
;
4563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4567 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4571 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
4573 wxPyEndAllowThreads(__tstate
);
4574 if (PyErr_Occurred()) SWIG_fail
;
4576 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 1);
4583 static PyObject
*_wrap_delete_Caret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4584 PyObject
*resultobj
;
4585 wxCaret
*arg1
= (wxCaret
*) 0 ;
4586 PyObject
* obj0
= 0 ;
4588 (char *) "self", NULL
4591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Caret",kwnames
,&obj0
)) goto fail
;
4592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4598 wxPyEndAllowThreads(__tstate
);
4599 if (PyErr_Occurred()) SWIG_fail
;
4601 Py_INCREF(Py_None
); resultobj
= Py_None
;
4608 static PyObject
*_wrap_Caret_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4609 PyObject
*resultobj
;
4610 wxCaret
*arg1
= (wxCaret
*) 0 ;
4612 PyObject
* obj0
= 0 ;
4614 (char *) "self", NULL
4617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsOk",kwnames
,&obj0
)) goto fail
;
4618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4622 result
= (bool)(arg1
)->IsOk();
4624 wxPyEndAllowThreads(__tstate
);
4625 if (PyErr_Occurred()) SWIG_fail
;
4628 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4636 static PyObject
*_wrap_Caret_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4637 PyObject
*resultobj
;
4638 wxCaret
*arg1
= (wxCaret
*) 0 ;
4640 PyObject
* obj0
= 0 ;
4642 (char *) "self", NULL
4645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsVisible",kwnames
,&obj0
)) goto fail
;
4646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4650 result
= (bool)(arg1
)->IsVisible();
4652 wxPyEndAllowThreads(__tstate
);
4653 if (PyErr_Occurred()) SWIG_fail
;
4656 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4664 static PyObject
*_wrap_Caret_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4665 PyObject
*resultobj
;
4666 wxCaret
*arg1
= (wxCaret
*) 0 ;
4668 PyObject
* obj0
= 0 ;
4670 (char *) "self", NULL
4673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPosition",kwnames
,&obj0
)) goto fail
;
4674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4678 result
= (arg1
)->GetPosition();
4680 wxPyEndAllowThreads(__tstate
);
4681 if (PyErr_Occurred()) SWIG_fail
;
4684 wxPoint
* resultptr
;
4685 resultptr
= new wxPoint((wxPoint
&) result
);
4686 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4694 static PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4695 PyObject
*resultobj
;
4696 wxCaret
*arg1
= (wxCaret
*) 0 ;
4697 int *arg2
= (int *) 0 ;
4698 int *arg3
= (int *) 0 ;
4701 PyObject
* obj0
= 0 ;
4703 (char *) "self", NULL
4708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
4709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4713 (arg1
)->GetPosition(arg2
,arg3
);
4715 wxPyEndAllowThreads(__tstate
);
4716 if (PyErr_Occurred()) SWIG_fail
;
4718 Py_INCREF(Py_None
); resultobj
= Py_None
;
4720 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4721 resultobj
= t_output_helper(resultobj
,o
);
4724 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4725 resultobj
= t_output_helper(resultobj
,o
);
4733 static PyObject
*_wrap_Caret_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4734 PyObject
*resultobj
;
4735 wxCaret
*arg1
= (wxCaret
*) 0 ;
4737 PyObject
* obj0
= 0 ;
4739 (char *) "self", NULL
4742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSize",kwnames
,&obj0
)) goto fail
;
4743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4747 result
= (arg1
)->GetSize();
4749 wxPyEndAllowThreads(__tstate
);
4750 if (PyErr_Occurred()) SWIG_fail
;
4754 resultptr
= new wxSize((wxSize
&) result
);
4755 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
4763 static PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4764 PyObject
*resultobj
;
4765 wxCaret
*arg1
= (wxCaret
*) 0 ;
4766 int *arg2
= (int *) 0 ;
4767 int *arg3
= (int *) 0 ;
4770 PyObject
* obj0
= 0 ;
4772 (char *) "self", NULL
4777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
4778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4782 (arg1
)->GetSize(arg2
,arg3
);
4784 wxPyEndAllowThreads(__tstate
);
4785 if (PyErr_Occurred()) SWIG_fail
;
4787 Py_INCREF(Py_None
); resultobj
= Py_None
;
4789 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4790 resultobj
= t_output_helper(resultobj
,o
);
4793 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4794 resultobj
= t_output_helper(resultobj
,o
);
4802 static PyObject
*_wrap_Caret_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4803 PyObject
*resultobj
;
4804 wxCaret
*arg1
= (wxCaret
*) 0 ;
4806 PyObject
* obj0
= 0 ;
4808 (char *) "self", NULL
4811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetWindow",kwnames
,&obj0
)) goto fail
;
4812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4816 result
= (wxWindow
*)(arg1
)->GetWindow();
4818 wxPyEndAllowThreads(__tstate
);
4819 if (PyErr_Occurred()) SWIG_fail
;
4822 resultobj
= wxPyMake_wxObject(result
);
4830 static PyObject
*_wrap_Caret_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4831 PyObject
*resultobj
;
4832 wxCaret
*arg1
= (wxCaret
*) 0 ;
4835 PyObject
* obj0
= 0 ;
4836 PyObject
* obj1
= 0 ;
4837 PyObject
* obj2
= 0 ;
4839 (char *) "self",(char *) "x",(char *) "y", NULL
4842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4845 arg2
= (int) SWIG_AsInt(obj1
);
4846 if (PyErr_Occurred()) SWIG_fail
;
4847 arg3
= (int) SWIG_AsInt(obj2
);
4848 if (PyErr_Occurred()) SWIG_fail
;
4850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4851 (arg1
)->Move(arg2
,arg3
);
4853 wxPyEndAllowThreads(__tstate
);
4854 if (PyErr_Occurred()) SWIG_fail
;
4856 Py_INCREF(Py_None
); resultobj
= Py_None
;
4863 static PyObject
*_wrap_Caret_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4864 PyObject
*resultobj
;
4865 wxCaret
*arg1
= (wxCaret
*) 0 ;
4868 PyObject
* obj0
= 0 ;
4869 PyObject
* obj1
= 0 ;
4871 (char *) "self",(char *) "pt", NULL
4874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
4875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4879 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4883 (arg1
)->Move((wxPoint
const &)*arg2
);
4885 wxPyEndAllowThreads(__tstate
);
4886 if (PyErr_Occurred()) SWIG_fail
;
4888 Py_INCREF(Py_None
); resultobj
= Py_None
;
4895 static PyObject
*_wrap_Caret_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4896 PyObject
*resultobj
;
4897 wxCaret
*arg1
= (wxCaret
*) 0 ;
4900 PyObject
* obj0
= 0 ;
4901 PyObject
* obj1
= 0 ;
4902 PyObject
* obj2
= 0 ;
4904 (char *) "self",(char *) "width",(char *) "height", NULL
4907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4910 arg2
= (int) SWIG_AsInt(obj1
);
4911 if (PyErr_Occurred()) SWIG_fail
;
4912 arg3
= (int) SWIG_AsInt(obj2
);
4913 if (PyErr_Occurred()) SWIG_fail
;
4915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4916 (arg1
)->SetSize(arg2
,arg3
);
4918 wxPyEndAllowThreads(__tstate
);
4919 if (PyErr_Occurred()) SWIG_fail
;
4921 Py_INCREF(Py_None
); resultobj
= Py_None
;
4928 static PyObject
*_wrap_Caret_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4929 PyObject
*resultobj
;
4930 wxCaret
*arg1
= (wxCaret
*) 0 ;
4933 PyObject
* obj0
= 0 ;
4934 PyObject
* obj1
= 0 ;
4936 (char *) "self",(char *) "size", NULL
4939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
4940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4944 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4948 (arg1
)->SetSize((wxSize
const &)*arg2
);
4950 wxPyEndAllowThreads(__tstate
);
4951 if (PyErr_Occurred()) SWIG_fail
;
4953 Py_INCREF(Py_None
); resultobj
= Py_None
;
4960 static PyObject
*_wrap_Caret_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4961 PyObject
*resultobj
;
4962 wxCaret
*arg1
= (wxCaret
*) 0 ;
4963 int arg2
= (int) True
;
4964 PyObject
* obj0
= 0 ;
4965 PyObject
* obj1
= 0 ;
4967 (char *) "self",(char *) "show", NULL
4970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Caret_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
4971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4974 arg2
= (int) SWIG_AsInt(obj1
);
4975 if (PyErr_Occurred()) SWIG_fail
;
4978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4981 wxPyEndAllowThreads(__tstate
);
4982 if (PyErr_Occurred()) SWIG_fail
;
4984 Py_INCREF(Py_None
); resultobj
= Py_None
;
4991 static PyObject
*_wrap_Caret_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4992 PyObject
*resultobj
;
4993 wxCaret
*arg1
= (wxCaret
*) 0 ;
4994 PyObject
* obj0
= 0 ;
4996 (char *) "self", NULL
4999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Hide",kwnames
,&obj0
)) goto fail
;
5000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5006 wxPyEndAllowThreads(__tstate
);
5007 if (PyErr_Occurred()) SWIG_fail
;
5009 Py_INCREF(Py_None
); resultobj
= Py_None
;
5016 static PyObject
* Caret_swigregister(PyObject
*self
, PyObject
*args
) {
5018 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5019 SWIG_TypeClientData(SWIGTYPE_p_wxCaret
, obj
);
5021 return Py_BuildValue((char *)"");
5023 static PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5024 PyObject
*resultobj
;
5030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Caret_GetBlinkTime",kwnames
)) goto fail
;
5032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5033 result
= (int)wxCaret_GetBlinkTime();
5035 wxPyEndAllowThreads(__tstate
);
5036 if (PyErr_Occurred()) SWIG_fail
;
5038 resultobj
= SWIG_FromInt((int)result
);
5045 static PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5046 PyObject
*resultobj
;
5048 PyObject
* obj0
= 0 ;
5050 (char *) "milliseconds", NULL
5053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_SetBlinkTime",kwnames
,&obj0
)) goto fail
;
5054 arg1
= (int) SWIG_AsInt(obj0
);
5055 if (PyErr_Occurred()) SWIG_fail
;
5057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5058 wxCaret_SetBlinkTime(arg1
);
5060 wxPyEndAllowThreads(__tstate
);
5061 if (PyErr_Occurred()) SWIG_fail
;
5063 Py_INCREF(Py_None
); resultobj
= Py_None
;
5070 static PyObject
*_wrap_new_BusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5071 PyObject
*resultobj
;
5072 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
5073 wxBusyCursor
*result
;
5074 PyObject
* obj0
= 0 ;
5076 (char *) "cursor", NULL
5079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) goto fail
;
5081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5086 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
5088 wxPyEndAllowThreads(__tstate
);
5089 if (PyErr_Occurred()) SWIG_fail
;
5091 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyCursor
, 1);
5098 static PyObject
*_wrap_delete_BusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5099 PyObject
*resultobj
;
5100 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
5101 PyObject
* obj0
= 0 ;
5103 (char *) "self", NULL
5106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyCursor",kwnames
,&obj0
)) goto fail
;
5107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBusyCursor
,
5108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5113 wxPyEndAllowThreads(__tstate
);
5114 if (PyErr_Occurred()) SWIG_fail
;
5116 Py_INCREF(Py_None
); resultobj
= Py_None
;
5123 static PyObject
* BusyCursor_swigregister(PyObject
*self
, PyObject
*args
) {
5125 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5126 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor
, obj
);
5128 return Py_BuildValue((char *)"");
5130 static PyObject
*_wrap_new_WindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5131 PyObject
*resultobj
;
5132 wxWindow
*arg1
= (wxWindow
*) NULL
;
5133 wxWindowDisabler
*result
;
5134 PyObject
* obj0
= 0 ;
5136 (char *) "winToSkip", NULL
5139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) goto fail
;
5141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5146 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
5148 wxPyEndAllowThreads(__tstate
);
5149 if (PyErr_Occurred()) SWIG_fail
;
5151 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDisabler
, 1);
5158 static PyObject
*_wrap_delete_WindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5159 PyObject
*resultobj
;
5160 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
5161 PyObject
* obj0
= 0 ;
5163 (char *) "self", NULL
5166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_WindowDisabler",kwnames
,&obj0
)) goto fail
;
5167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowDisabler
,
5168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5173 wxPyEndAllowThreads(__tstate
);
5174 if (PyErr_Occurred()) SWIG_fail
;
5176 Py_INCREF(Py_None
); resultobj
= Py_None
;
5183 static PyObject
* WindowDisabler_swigregister(PyObject
*self
, PyObject
*args
) {
5185 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5186 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler
, obj
);
5188 return Py_BuildValue((char *)"");
5190 static PyObject
*_wrap_new_BusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5191 PyObject
*resultobj
;
5192 wxString
*arg1
= 0 ;
5194 bool temp1
= False
;
5195 PyObject
* obj0
= 0 ;
5197 (char *) "message", NULL
5200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) goto fail
;
5202 arg1
= wxString_in_helper(obj0
);
5203 if (arg1
== NULL
) SWIG_fail
;
5207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5208 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
);
5210 wxPyEndAllowThreads(__tstate
);
5211 if (PyErr_Occurred()) SWIG_fail
;
5213 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyInfo
, 1);
5228 static PyObject
*_wrap_delete_BusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5229 PyObject
*resultobj
;
5230 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
5231 PyObject
* obj0
= 0 ;
5233 (char *) "self", NULL
5236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyInfo",kwnames
,&obj0
)) goto fail
;
5237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBusyInfo
,
5238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5243 wxPyEndAllowThreads(__tstate
);
5244 if (PyErr_Occurred()) SWIG_fail
;
5246 Py_INCREF(Py_None
); resultobj
= Py_None
;
5253 static PyObject
* BusyInfo_swigregister(PyObject
*self
, PyObject
*args
) {
5255 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5256 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo
, obj
);
5258 return Py_BuildValue((char *)"");
5260 static PyObject
*_wrap_new_StopWatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5261 PyObject
*resultobj
;
5262 wxStopWatch
*result
;
5267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StopWatch",kwnames
)) goto fail
;
5269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5270 result
= (wxStopWatch
*)new wxStopWatch();
5272 wxPyEndAllowThreads(__tstate
);
5273 if (PyErr_Occurred()) SWIG_fail
;
5275 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStopWatch
, 1);
5282 static PyObject
*_wrap_StopWatch_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5283 PyObject
*resultobj
;
5284 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5285 long arg2
= (long) 0 ;
5286 PyObject
* obj0
= 0 ;
5287 PyObject
* obj1
= 0 ;
5289 (char *) "self",(char *) "t0", NULL
5292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StopWatch_Start",kwnames
,&obj0
,&obj1
)) goto fail
;
5293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5296 arg2
= (long) SWIG_AsLong(obj1
);
5297 if (PyErr_Occurred()) SWIG_fail
;
5300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5301 (arg1
)->Start(arg2
);
5303 wxPyEndAllowThreads(__tstate
);
5304 if (PyErr_Occurred()) SWIG_fail
;
5306 Py_INCREF(Py_None
); resultobj
= Py_None
;
5313 static PyObject
*_wrap_StopWatch_Pause(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5314 PyObject
*resultobj
;
5315 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5316 PyObject
* obj0
= 0 ;
5318 (char *) "self", NULL
5321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Pause",kwnames
,&obj0
)) goto fail
;
5322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5328 wxPyEndAllowThreads(__tstate
);
5329 if (PyErr_Occurred()) SWIG_fail
;
5331 Py_INCREF(Py_None
); resultobj
= Py_None
;
5338 static PyObject
*_wrap_StopWatch_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5339 PyObject
*resultobj
;
5340 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5341 PyObject
* obj0
= 0 ;
5343 (char *) "self", NULL
5346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Resume",kwnames
,&obj0
)) goto fail
;
5347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5353 wxPyEndAllowThreads(__tstate
);
5354 if (PyErr_Occurred()) SWIG_fail
;
5356 Py_INCREF(Py_None
); resultobj
= Py_None
;
5363 static PyObject
*_wrap_StopWatch_Time(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5364 PyObject
*resultobj
;
5365 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5367 PyObject
* obj0
= 0 ;
5369 (char *) "self", NULL
5372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Time",kwnames
,&obj0
)) goto fail
;
5373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5377 result
= (long)((wxStopWatch
const *)arg1
)->Time();
5379 wxPyEndAllowThreads(__tstate
);
5380 if (PyErr_Occurred()) SWIG_fail
;
5382 resultobj
= SWIG_FromLong((long)result
);
5389 static PyObject
* StopWatch_swigregister(PyObject
*self
, PyObject
*args
) {
5391 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5392 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch
, obj
);
5394 return Py_BuildValue((char *)"");
5396 static PyObject
*_wrap_new_FileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5397 PyObject
*resultobj
;
5398 int arg1
= (int) 9 ;
5399 wxFileHistory
*result
;
5400 PyObject
* obj0
= 0 ;
5402 (char *) "maxFiles", NULL
5405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FileHistory",kwnames
,&obj0
)) goto fail
;
5407 arg1
= (int) SWIG_AsInt(obj0
);
5408 if (PyErr_Occurred()) SWIG_fail
;
5411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5412 result
= (wxFileHistory
*)new wxFileHistory(arg1
);
5414 wxPyEndAllowThreads(__tstate
);
5415 if (PyErr_Occurred()) SWIG_fail
;
5417 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileHistory
, 1);
5424 static PyObject
*_wrap_delete_FileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5425 PyObject
*resultobj
;
5426 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5427 PyObject
* obj0
= 0 ;
5429 (char *) "self", NULL
5432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileHistory",kwnames
,&obj0
)) goto fail
;
5433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5439 wxPyEndAllowThreads(__tstate
);
5440 if (PyErr_Occurred()) SWIG_fail
;
5442 Py_INCREF(Py_None
); resultobj
= Py_None
;
5449 static PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5450 PyObject
*resultobj
;
5451 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5452 wxString
*arg2
= 0 ;
5453 bool temp2
= False
;
5454 PyObject
* obj0
= 0 ;
5455 PyObject
* obj1
= 0 ;
5457 (char *) "self",(char *) "file", NULL
5460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
5461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5464 arg2
= wxString_in_helper(obj1
);
5465 if (arg2
== NULL
) SWIG_fail
;
5469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5470 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
5472 wxPyEndAllowThreads(__tstate
);
5473 if (PyErr_Occurred()) SWIG_fail
;
5475 Py_INCREF(Py_None
); resultobj
= Py_None
;
5490 static PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5491 PyObject
*resultobj
;
5492 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5494 PyObject
* obj0
= 0 ;
5495 PyObject
* obj1
= 0 ;
5497 (char *) "self",(char *) "i", NULL
5500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
5501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5503 arg2
= (int) SWIG_AsInt(obj1
);
5504 if (PyErr_Occurred()) SWIG_fail
;
5506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5507 (arg1
)->RemoveFileFromHistory(arg2
);
5509 wxPyEndAllowThreads(__tstate
);
5510 if (PyErr_Occurred()) SWIG_fail
;
5512 Py_INCREF(Py_None
); resultobj
= Py_None
;
5519 static PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5520 PyObject
*resultobj
;
5521 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5523 PyObject
* obj0
= 0 ;
5525 (char *) "self", NULL
5528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetMaxFiles",kwnames
,&obj0
)) goto fail
;
5529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5533 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
5535 wxPyEndAllowThreads(__tstate
);
5536 if (PyErr_Occurred()) SWIG_fail
;
5538 resultobj
= SWIG_FromInt((int)result
);
5545 static PyObject
*_wrap_FileHistory_UseMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5546 PyObject
*resultobj
;
5547 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5548 wxMenu
*arg2
= (wxMenu
*) 0 ;
5549 PyObject
* obj0
= 0 ;
5550 PyObject
* obj1
= 0 ;
5552 (char *) "self",(char *) "menu", NULL
5555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5558 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
5559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5562 (arg1
)->UseMenu(arg2
);
5564 wxPyEndAllowThreads(__tstate
);
5565 if (PyErr_Occurred()) SWIG_fail
;
5567 Py_INCREF(Py_None
); resultobj
= Py_None
;
5574 static PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5575 PyObject
*resultobj
;
5576 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5577 wxMenu
*arg2
= (wxMenu
*) 0 ;
5578 PyObject
* obj0
= 0 ;
5579 PyObject
* obj1
= 0 ;
5581 (char *) "self",(char *) "menu", NULL
5584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5587 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
5588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5591 (arg1
)->RemoveMenu(arg2
);
5593 wxPyEndAllowThreads(__tstate
);
5594 if (PyErr_Occurred()) SWIG_fail
;
5596 Py_INCREF(Py_None
); resultobj
= Py_None
;
5603 static PyObject
*_wrap_FileHistory_Load(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5604 PyObject
*resultobj
;
5605 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5606 wxConfigBase
*arg2
= 0 ;
5607 PyObject
* obj0
= 0 ;
5608 PyObject
* obj1
= 0 ;
5610 (char *) "self",(char *) "config", NULL
5613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) goto fail
;
5614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5616 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
5617 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5620 PyErr_SetString(PyExc_TypeError
,"null reference");
5624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5625 (arg1
)->Load(*arg2
);
5627 wxPyEndAllowThreads(__tstate
);
5628 if (PyErr_Occurred()) SWIG_fail
;
5630 Py_INCREF(Py_None
); resultobj
= Py_None
;
5637 static PyObject
*_wrap_FileHistory_Save(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5638 PyObject
*resultobj
;
5639 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5640 wxConfigBase
*arg2
= 0 ;
5641 PyObject
* obj0
= 0 ;
5642 PyObject
* obj1
= 0 ;
5644 (char *) "self",(char *) "config", NULL
5647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) goto fail
;
5648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5650 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
5651 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5654 PyErr_SetString(PyExc_TypeError
,"null reference");
5658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5659 (arg1
)->Save(*arg2
);
5661 wxPyEndAllowThreads(__tstate
);
5662 if (PyErr_Occurred()) SWIG_fail
;
5664 Py_INCREF(Py_None
); resultobj
= Py_None
;
5671 static PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5672 PyObject
*resultobj
;
5673 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5674 PyObject
* obj0
= 0 ;
5676 (char *) "self", NULL
5679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_AddFilesToMenu",kwnames
,&obj0
)) goto fail
;
5680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5684 (arg1
)->AddFilesToMenu();
5686 wxPyEndAllowThreads(__tstate
);
5687 if (PyErr_Occurred()) SWIG_fail
;
5689 Py_INCREF(Py_None
); resultobj
= Py_None
;
5696 static PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5697 PyObject
*resultobj
;
5698 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5699 wxMenu
*arg2
= (wxMenu
*) 0 ;
5700 PyObject
* obj0
= 0 ;
5701 PyObject
* obj1
= 0 ;
5703 (char *) "self",(char *) "menu", NULL
5706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5709 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
5710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5713 (arg1
)->AddFilesToMenu(arg2
);
5715 wxPyEndAllowThreads(__tstate
);
5716 if (PyErr_Occurred()) SWIG_fail
;
5718 Py_INCREF(Py_None
); resultobj
= Py_None
;
5725 static PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5726 PyObject
*resultobj
;
5727 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5730 PyObject
* obj0
= 0 ;
5731 PyObject
* obj1
= 0 ;
5733 (char *) "self",(char *) "i", NULL
5736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_GetHistoryFile",kwnames
,&obj0
,&obj1
)) goto fail
;
5737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5739 arg2
= (int) SWIG_AsInt(obj1
);
5740 if (PyErr_Occurred()) SWIG_fail
;
5742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5743 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
5745 wxPyEndAllowThreads(__tstate
);
5746 if (PyErr_Occurred()) SWIG_fail
;
5750 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5752 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5761 static PyObject
*_wrap_FileHistory_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5762 PyObject
*resultobj
;
5763 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5765 PyObject
* obj0
= 0 ;
5767 (char *) "self", NULL
5770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetCount",kwnames
,&obj0
)) goto fail
;
5771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5775 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
5777 wxPyEndAllowThreads(__tstate
);
5778 if (PyErr_Occurred()) SWIG_fail
;
5780 resultobj
= SWIG_FromInt((int)result
);
5787 static PyObject
* FileHistory_swigregister(PyObject
*self
, PyObject
*args
) {
5789 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5790 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory
, obj
);
5792 return Py_BuildValue((char *)"");
5794 static PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5795 PyObject
*resultobj
;
5796 wxString
*arg1
= 0 ;
5797 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5798 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5799 wxSingleInstanceChecker
*result
;
5800 bool temp1
= False
;
5801 bool temp2
= False
;
5802 PyObject
* obj0
= 0 ;
5803 PyObject
* obj1
= 0 ;
5805 (char *) "name",(char *) "path", NULL
5808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) goto fail
;
5810 arg1
= wxString_in_helper(obj0
);
5811 if (arg1
== NULL
) SWIG_fail
;
5816 arg2
= wxString_in_helper(obj1
);
5817 if (arg2
== NULL
) SWIG_fail
;
5822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5823 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
5825 wxPyEndAllowThreads(__tstate
);
5826 if (PyErr_Occurred()) SWIG_fail
;
5828 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
5851 static PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5852 PyObject
*resultobj
;
5853 wxSingleInstanceChecker
*result
;
5858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSingleInstanceChecker",kwnames
)) goto fail
;
5860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5861 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
5863 wxPyEndAllowThreads(__tstate
);
5864 if (PyErr_Occurred()) SWIG_fail
;
5866 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
5873 static PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5874 PyObject
*resultobj
;
5875 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
5876 PyObject
* obj0
= 0 ;
5878 (char *) "self", NULL
5881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_SingleInstanceChecker",kwnames
,&obj0
)) goto fail
;
5882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
5883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5888 wxPyEndAllowThreads(__tstate
);
5889 if (PyErr_Occurred()) SWIG_fail
;
5891 Py_INCREF(Py_None
); resultobj
= Py_None
;
5898 static PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5899 PyObject
*resultobj
;
5900 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
5901 wxString
*arg2
= 0 ;
5902 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5903 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5905 bool temp2
= False
;
5906 bool temp3
= False
;
5907 PyObject
* obj0
= 0 ;
5908 PyObject
* obj1
= 0 ;
5909 PyObject
* obj2
= 0 ;
5911 (char *) "self",(char *) "name",(char *) "path", NULL
5914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
5916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5918 arg2
= wxString_in_helper(obj1
);
5919 if (arg2
== NULL
) SWIG_fail
;
5924 arg3
= wxString_in_helper(obj2
);
5925 if (arg3
== NULL
) SWIG_fail
;
5930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5931 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
5933 wxPyEndAllowThreads(__tstate
);
5934 if (PyErr_Occurred()) SWIG_fail
;
5937 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5961 static PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5962 PyObject
*resultobj
;
5963 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
5965 PyObject
* obj0
= 0 ;
5967 (char *) "self", NULL
5970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames
,&obj0
)) goto fail
;
5971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
5972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5975 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
5977 wxPyEndAllowThreads(__tstate
);
5978 if (PyErr_Occurred()) SWIG_fail
;
5981 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5989 static PyObject
* SingleInstanceChecker_swigregister(PyObject
*self
, PyObject
*args
) {
5991 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5992 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker
, obj
);
5994 return Py_BuildValue((char *)"");
5996 static PyObject
*_wrap_DrawWindowOnDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5997 PyObject
*resultobj
;
5998 wxWindow
*arg1
= (wxWindow
*) 0 ;
6001 PyObject
* obj0
= 0 ;
6002 PyObject
* obj1
= 0 ;
6003 PyObject
* obj2
= 0 ;
6005 (char *) "window",(char *) "dc",(char *) "method", NULL
6008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DrawWindowOnDC",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6011 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
6012 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6015 PyErr_SetString(PyExc_TypeError
,"null reference");
6018 arg3
= (int) SWIG_AsInt(obj2
);
6019 if (PyErr_Occurred()) SWIG_fail
;
6021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6022 wxDrawWindowOnDC(arg1
,(wxDC
const &)*arg2
,arg3
);
6024 wxPyEndAllowThreads(__tstate
);
6025 if (PyErr_Occurred()) SWIG_fail
;
6027 Py_INCREF(Py_None
); resultobj
= Py_None
;
6034 static PyObject
*_wrap_delete_TipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6035 PyObject
*resultobj
;
6036 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6037 PyObject
* obj0
= 0 ;
6039 (char *) "self", NULL
6042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TipProvider",kwnames
,&obj0
)) goto fail
;
6043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6049 wxPyEndAllowThreads(__tstate
);
6050 if (PyErr_Occurred()) SWIG_fail
;
6052 Py_INCREF(Py_None
); resultobj
= Py_None
;
6059 static PyObject
*_wrap_TipProvider_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6060 PyObject
*resultobj
;
6061 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6063 PyObject
* obj0
= 0 ;
6065 (char *) "self", NULL
6068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetTip",kwnames
,&obj0
)) goto fail
;
6069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6073 result
= (arg1
)->GetTip();
6075 wxPyEndAllowThreads(__tstate
);
6076 if (PyErr_Occurred()) SWIG_fail
;
6080 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6082 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6091 static PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6092 PyObject
*resultobj
;
6093 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6095 PyObject
* obj0
= 0 ;
6097 (char *) "self", NULL
6100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetCurrentTip",kwnames
,&obj0
)) goto fail
;
6101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6105 result
= (size_t)(arg1
)->GetCurrentTip();
6107 wxPyEndAllowThreads(__tstate
);
6108 if (PyErr_Occurred()) SWIG_fail
;
6110 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
6117 static PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6118 PyObject
*resultobj
;
6119 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6120 wxString
*arg2
= 0 ;
6122 bool temp2
= False
;
6123 PyObject
* obj0
= 0 ;
6124 PyObject
* obj1
= 0 ;
6126 (char *) "self",(char *) "tip", NULL
6129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) goto fail
;
6130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6133 arg2
= wxString_in_helper(obj1
);
6134 if (arg2
== NULL
) SWIG_fail
;
6138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6139 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
6141 wxPyEndAllowThreads(__tstate
);
6142 if (PyErr_Occurred()) SWIG_fail
;
6146 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6148 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6165 static PyObject
* TipProvider_swigregister(PyObject
*self
, PyObject
*args
) {
6167 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6168 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider
, obj
);
6170 return Py_BuildValue((char *)"");
6172 static PyObject
*_wrap_new_PyTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6173 PyObject
*resultobj
;
6175 wxPyTipProvider
*result
;
6176 PyObject
* obj0
= 0 ;
6178 (char *) "currentTip", NULL
6181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) goto fail
;
6182 arg1
= (size_t) SWIG_AsUnsignedLong(obj0
);
6183 if (PyErr_Occurred()) SWIG_fail
;
6185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6186 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
6188 wxPyEndAllowThreads(__tstate
);
6189 if (PyErr_Occurred()) SWIG_fail
;
6191 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTipProvider
, 1);
6198 static PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6199 PyObject
*resultobj
;
6200 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
6201 PyObject
*arg2
= (PyObject
*) 0 ;
6202 PyObject
*arg3
= (PyObject
*) 0 ;
6203 PyObject
* obj0
= 0 ;
6204 PyObject
* obj1
= 0 ;
6205 PyObject
* obj2
= 0 ;
6207 (char *) "self",(char *) "self",(char *) "_class", NULL
6210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTipProvider
,
6212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6217 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6219 wxPyEndAllowThreads(__tstate
);
6220 if (PyErr_Occurred()) SWIG_fail
;
6222 Py_INCREF(Py_None
); resultobj
= Py_None
;
6229 static PyObject
* PyTipProvider_swigregister(PyObject
*self
, PyObject
*args
) {
6231 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6232 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider
, obj
);
6234 return Py_BuildValue((char *)"");
6236 static PyObject
*_wrap_ShowTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6237 PyObject
*resultobj
;
6238 wxWindow
*arg1
= (wxWindow
*) 0 ;
6239 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
6240 bool arg3
= (bool) True
;
6242 PyObject
* obj0
= 0 ;
6243 PyObject
* obj1
= 0 ;
6244 PyObject
* obj2
= 0 ;
6246 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
6249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6252 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTipProvider
,
6253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6255 arg3
= (bool) SWIG_AsBool(obj2
);
6256 if (PyErr_Occurred()) SWIG_fail
;
6259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6260 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
6262 wxPyEndAllowThreads(__tstate
);
6263 if (PyErr_Occurred()) SWIG_fail
;
6266 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6274 static PyObject
*_wrap_CreateFileTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6275 PyObject
*resultobj
;
6276 wxString
*arg1
= 0 ;
6278 wxTipProvider
*result
;
6279 bool temp1
= False
;
6280 PyObject
* obj0
= 0 ;
6281 PyObject
* obj1
= 0 ;
6283 (char *) "filename",(char *) "currentTip", NULL
6286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) goto fail
;
6288 arg1
= wxString_in_helper(obj0
);
6289 if (arg1
== NULL
) SWIG_fail
;
6292 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
6293 if (PyErr_Occurred()) SWIG_fail
;
6295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6296 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
6298 wxPyEndAllowThreads(__tstate
);
6299 if (PyErr_Occurred()) SWIG_fail
;
6301 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipProvider
, 1);
6316 static PyObject
*_wrap_new_Timer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6317 PyObject
*resultobj
;
6318 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
6319 int arg2
= (int) -1 ;
6321 PyObject
* obj0
= 0 ;
6322 PyObject
* obj1
= 0 ;
6324 (char *) "owner",(char *) "id", NULL
6327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Timer",kwnames
,&obj0
,&obj1
)) goto fail
;
6329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
6330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6333 arg2
= (int) SWIG_AsInt(obj1
);
6334 if (PyErr_Occurred()) SWIG_fail
;
6337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6338 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
6340 wxPyEndAllowThreads(__tstate
);
6341 if (PyErr_Occurred()) SWIG_fail
;
6343 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTimer
, 1);
6350 static PyObject
*_wrap_delete_Timer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6351 PyObject
*resultobj
;
6352 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6353 PyObject
* obj0
= 0 ;
6355 (char *) "self", NULL
6358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Timer",kwnames
,&obj0
)) goto fail
;
6359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6365 wxPyEndAllowThreads(__tstate
);
6366 if (PyErr_Occurred()) SWIG_fail
;
6368 Py_INCREF(Py_None
); resultobj
= Py_None
;
6375 static PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6376 PyObject
*resultobj
;
6377 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6378 PyObject
*arg2
= (PyObject
*) 0 ;
6379 PyObject
*arg3
= (PyObject
*) 0 ;
6380 int arg4
= (int) 1 ;
6381 PyObject
* obj0
= 0 ;
6382 PyObject
* obj1
= 0 ;
6383 PyObject
* obj2
= 0 ;
6384 PyObject
* obj3
= 0 ;
6386 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
6389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6395 arg4
= (int) SWIG_AsInt(obj3
);
6396 if (PyErr_Occurred()) SWIG_fail
;
6399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6400 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
6402 wxPyEndAllowThreads(__tstate
);
6403 if (PyErr_Occurred()) SWIG_fail
;
6405 Py_INCREF(Py_None
); resultobj
= Py_None
;
6412 static PyObject
*_wrap_Timer_SetOwner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6413 PyObject
*resultobj
;
6414 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6415 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
6416 int arg3
= (int) -1 ;
6417 PyObject
* obj0
= 0 ;
6418 PyObject
* obj1
= 0 ;
6419 PyObject
* obj2
= 0 ;
6421 (char *) "self",(char *) "owner",(char *) "id", NULL
6424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6427 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
6428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6430 arg3
= (int) SWIG_AsInt(obj2
);
6431 if (PyErr_Occurred()) SWIG_fail
;
6434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6435 (arg1
)->SetOwner(arg2
,arg3
);
6437 wxPyEndAllowThreads(__tstate
);
6438 if (PyErr_Occurred()) SWIG_fail
;
6440 Py_INCREF(Py_None
); resultobj
= Py_None
;
6447 static PyObject
*_wrap_Timer_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6448 PyObject
*resultobj
;
6449 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6450 int arg2
= (int) -1 ;
6451 bool arg3
= (bool) False
;
6453 PyObject
* obj0
= 0 ;
6454 PyObject
* obj1
= 0 ;
6455 PyObject
* obj2
= 0 ;
6457 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
6460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Timer_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6464 arg2
= (int) SWIG_AsInt(obj1
);
6465 if (PyErr_Occurred()) SWIG_fail
;
6468 arg3
= (bool) SWIG_AsBool(obj2
);
6469 if (PyErr_Occurred()) SWIG_fail
;
6472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6473 result
= (bool)(arg1
)->Start(arg2
,arg3
);
6475 wxPyEndAllowThreads(__tstate
);
6476 if (PyErr_Occurred()) SWIG_fail
;
6479 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6487 static PyObject
*_wrap_Timer_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6488 PyObject
*resultobj
;
6489 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6490 PyObject
* obj0
= 0 ;
6492 (char *) "self", NULL
6495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_Stop",kwnames
,&obj0
)) goto fail
;
6496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6502 wxPyEndAllowThreads(__tstate
);
6503 if (PyErr_Occurred()) SWIG_fail
;
6505 Py_INCREF(Py_None
); resultobj
= Py_None
;
6512 static PyObject
*_wrap_Timer_IsRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6513 PyObject
*resultobj
;
6514 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6516 PyObject
* obj0
= 0 ;
6518 (char *) "self", NULL
6521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsRunning",kwnames
,&obj0
)) goto fail
;
6522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6526 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
6528 wxPyEndAllowThreads(__tstate
);
6529 if (PyErr_Occurred()) SWIG_fail
;
6532 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6540 static PyObject
*_wrap_Timer_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6541 PyObject
*resultobj
;
6542 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6544 PyObject
* obj0
= 0 ;
6546 (char *) "self", NULL
6549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetInterval",kwnames
,&obj0
)) goto fail
;
6550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6554 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
6556 wxPyEndAllowThreads(__tstate
);
6557 if (PyErr_Occurred()) SWIG_fail
;
6559 resultobj
= SWIG_FromInt((int)result
);
6566 static PyObject
*_wrap_Timer_IsOneShot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6567 PyObject
*resultobj
;
6568 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6570 PyObject
* obj0
= 0 ;
6572 (char *) "self", NULL
6575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsOneShot",kwnames
,&obj0
)) goto fail
;
6576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6580 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
6582 wxPyEndAllowThreads(__tstate
);
6583 if (PyErr_Occurred()) SWIG_fail
;
6586 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6594 static PyObject
*_wrap_Timer_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6595 PyObject
*resultobj
;
6596 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6598 PyObject
* obj0
= 0 ;
6600 (char *) "self", NULL
6603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetId",kwnames
,&obj0
)) goto fail
;
6604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6608 result
= (int)((wxPyTimer
const *)arg1
)->GetId();
6610 wxPyEndAllowThreads(__tstate
);
6611 if (PyErr_Occurred()) SWIG_fail
;
6613 resultobj
= SWIG_FromInt((int)result
);
6620 static PyObject
* Timer_swigregister(PyObject
*self
, PyObject
*args
) {
6622 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6623 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer
, obj
);
6625 return Py_BuildValue((char *)"");
6627 static PyObject
*_wrap_new_TimerEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6628 PyObject
*resultobj
;
6629 int arg1
= (int) 0 ;
6630 int arg2
= (int) 0 ;
6631 wxTimerEvent
*result
;
6632 PyObject
* obj0
= 0 ;
6633 PyObject
* obj1
= 0 ;
6635 (char *) "timerid",(char *) "interval", NULL
6638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TimerEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
6640 arg1
= (int) SWIG_AsInt(obj0
);
6641 if (PyErr_Occurred()) SWIG_fail
;
6644 arg2
= (int) SWIG_AsInt(obj1
);
6645 if (PyErr_Occurred()) SWIG_fail
;
6648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6649 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
6651 wxPyEndAllowThreads(__tstate
);
6652 if (PyErr_Occurred()) SWIG_fail
;
6654 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerEvent
, 1);
6661 static PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6662 PyObject
*resultobj
;
6663 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
6665 PyObject
* obj0
= 0 ;
6667 (char *) "self", NULL
6670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimerEvent_GetInterval",kwnames
,&obj0
)) goto fail
;
6671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerEvent
,
6672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6675 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
6677 wxPyEndAllowThreads(__tstate
);
6678 if (PyErr_Occurred()) SWIG_fail
;
6680 resultobj
= SWIG_FromInt((int)result
);
6687 static PyObject
* TimerEvent_swigregister(PyObject
*self
, PyObject
*args
) {
6689 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6690 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent
, obj
);
6692 return Py_BuildValue((char *)"");
6694 static PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*self
, PyObject
*args
) {
6695 PyObject
*resultobj
;
6697 wxTimerRunner
*result
;
6698 PyObject
* obj0
= 0 ;
6700 if(!PyArg_ParseTuple(args
,(char *)"O:new_TimerRunner",&obj0
)) goto fail
;
6701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimer
,
6702 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6705 PyErr_SetString(PyExc_TypeError
,"null reference");
6709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6710 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
6712 wxPyEndAllowThreads(__tstate
);
6713 if (PyErr_Occurred()) SWIG_fail
;
6715 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
6722 static PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*self
, PyObject
*args
) {
6723 PyObject
*resultobj
;
6726 bool arg3
= (bool) False
;
6727 wxTimerRunner
*result
;
6728 PyObject
* obj0
= 0 ;
6729 PyObject
* obj1
= 0 ;
6730 PyObject
* obj2
= 0 ;
6732 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_TimerRunner",&obj0
,&obj1
,&obj2
)) goto fail
;
6733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimer
,
6734 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6737 PyErr_SetString(PyExc_TypeError
,"null reference");
6740 arg2
= (int) SWIG_AsInt(obj1
);
6741 if (PyErr_Occurred()) SWIG_fail
;
6743 arg3
= (bool) SWIG_AsBool(obj2
);
6744 if (PyErr_Occurred()) SWIG_fail
;
6747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6748 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
6750 wxPyEndAllowThreads(__tstate
);
6751 if (PyErr_Occurred()) SWIG_fail
;
6753 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
6760 static PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
6765 argc
= PyObject_Length(args
);
6766 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
6767 argv
[ii
] = PyTuple_GetItem(args
,ii
);
6773 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
6781 return _wrap_new_TimerRunner__SWIG_0(self
,args
);
6784 if ((argc
>= 2) && (argc
<= 3)) {
6788 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
6796 _v
= SWIG_CheckInt(argv
[1]);
6799 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
6801 _v
= SWIG_CheckBool(argv
[2]);
6803 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
6809 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TimerRunner'");
6814 static PyObject
*_wrap_delete_TimerRunner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6815 PyObject
*resultobj
;
6816 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
6817 PyObject
* obj0
= 0 ;
6819 (char *) "self", NULL
6822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimerRunner",kwnames
,&obj0
)) goto fail
;
6823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerRunner
,
6824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6829 wxPyEndAllowThreads(__tstate
);
6830 if (PyErr_Occurred()) SWIG_fail
;
6832 Py_INCREF(Py_None
); resultobj
= Py_None
;
6839 static PyObject
*_wrap_TimerRunner_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6840 PyObject
*resultobj
;
6841 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
6843 bool arg3
= (bool) False
;
6844 PyObject
* obj0
= 0 ;
6845 PyObject
* obj1
= 0 ;
6846 PyObject
* obj2
= 0 ;
6848 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
6851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TimerRunner_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerRunner
,
6853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6854 arg2
= (int) SWIG_AsInt(obj1
);
6855 if (PyErr_Occurred()) SWIG_fail
;
6857 arg3
= (bool) SWIG_AsBool(obj2
);
6858 if (PyErr_Occurred()) SWIG_fail
;
6861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6862 (arg1
)->Start(arg2
,arg3
);
6864 wxPyEndAllowThreads(__tstate
);
6865 if (PyErr_Occurred()) SWIG_fail
;
6867 Py_INCREF(Py_None
); resultobj
= Py_None
;
6874 static PyObject
* TimerRunner_swigregister(PyObject
*self
, PyObject
*args
) {
6876 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6877 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner
, obj
);
6879 return Py_BuildValue((char *)"");
6881 static PyObject
*_wrap_new_Log(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6882 PyObject
*resultobj
;
6888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Log",kwnames
)) goto fail
;
6890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6891 result
= (wxLog
*)new wxLog();
6893 wxPyEndAllowThreads(__tstate
);
6894 if (PyErr_Occurred()) SWIG_fail
;
6896 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 1);
6903 static PyObject
*_wrap_Log_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6904 PyObject
*resultobj
;
6910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_IsEnabled",kwnames
)) goto fail
;
6912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6913 result
= (bool)wxLog::IsEnabled();
6915 wxPyEndAllowThreads(__tstate
);
6916 if (PyErr_Occurred()) SWIG_fail
;
6919 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6927 static PyObject
*_wrap_Log_EnableLogging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6928 PyObject
*resultobj
;
6929 bool arg1
= (bool) True
;
6931 PyObject
* obj0
= 0 ;
6933 (char *) "doIt", NULL
6936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) goto fail
;
6938 arg1
= (bool) SWIG_AsBool(obj0
);
6939 if (PyErr_Occurred()) SWIG_fail
;
6942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6943 result
= (bool)wxLog::EnableLogging(arg1
);
6945 wxPyEndAllowThreads(__tstate
);
6946 if (PyErr_Occurred()) SWIG_fail
;
6949 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6957 static PyObject
*_wrap_Log_OnLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6958 PyObject
*resultobj
;
6960 wxChar
*arg2
= (wxChar
*) 0 ;
6962 PyObject
* obj0
= 0 ;
6963 PyObject
* obj1
= 0 ;
6964 PyObject
* obj2
= 0 ;
6966 (char *) "level",(char *) "szString",(char *) "t", NULL
6969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6970 arg1
= (wxLogLevel
) SWIG_AsUnsignedLong(obj0
);
6971 if (PyErr_Occurred()) SWIG_fail
;
6972 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxChar
,
6973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6974 arg3
= (time_t) SWIG_AsUnsignedInt(obj2
);
6975 if (PyErr_Occurred()) SWIG_fail
;
6977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6978 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
6980 wxPyEndAllowThreads(__tstate
);
6981 if (PyErr_Occurred()) SWIG_fail
;
6983 Py_INCREF(Py_None
); resultobj
= Py_None
;
6990 static PyObject
*_wrap_Log_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6991 PyObject
*resultobj
;
6992 wxLog
*arg1
= (wxLog
*) 0 ;
6993 PyObject
* obj0
= 0 ;
6995 (char *) "self", NULL
6998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Flush",kwnames
,&obj0
)) goto fail
;
6999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7005 wxPyEndAllowThreads(__tstate
);
7006 if (PyErr_Occurred()) SWIG_fail
;
7008 Py_INCREF(Py_None
); resultobj
= Py_None
;
7015 static PyObject
*_wrap_Log_FlushActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7016 PyObject
*resultobj
;
7021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_FlushActive",kwnames
)) goto fail
;
7023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7024 wxLog::FlushActive();
7026 wxPyEndAllowThreads(__tstate
);
7027 if (PyErr_Occurred()) SWIG_fail
;
7029 Py_INCREF(Py_None
); resultobj
= Py_None
;
7036 static PyObject
*_wrap_Log_GetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7037 PyObject
*resultobj
;
7043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetActiveTarget",kwnames
)) goto fail
;
7045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7046 result
= (wxLog
*)wxLog::GetActiveTarget();
7048 wxPyEndAllowThreads(__tstate
);
7049 if (PyErr_Occurred()) SWIG_fail
;
7051 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7058 static PyObject
*_wrap_Log_SetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7059 PyObject
*resultobj
;
7060 wxLog
*arg1
= (wxLog
*) 0 ;
7062 PyObject
* obj0
= 0 ;
7064 (char *) "pLogger", NULL
7067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) goto fail
;
7068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7072 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
7074 wxPyEndAllowThreads(__tstate
);
7075 if (PyErr_Occurred()) SWIG_fail
;
7077 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7084 static PyObject
*_wrap_Log_Suspend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7085 PyObject
*resultobj
;
7090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Suspend",kwnames
)) goto fail
;
7092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7095 wxPyEndAllowThreads(__tstate
);
7096 if (PyErr_Occurred()) SWIG_fail
;
7098 Py_INCREF(Py_None
); resultobj
= Py_None
;
7105 static PyObject
*_wrap_Log_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7106 PyObject
*resultobj
;
7111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Resume",kwnames
)) goto fail
;
7113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7116 wxPyEndAllowThreads(__tstate
);
7117 if (PyErr_Occurred()) SWIG_fail
;
7119 Py_INCREF(Py_None
); resultobj
= Py_None
;
7126 static PyObject
*_wrap_Log_SetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7127 PyObject
*resultobj
;
7128 bool arg1
= (bool) True
;
7129 PyObject
* obj0
= 0 ;
7131 (char *) "bVerbose", NULL
7134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) goto fail
;
7136 arg1
= (bool) SWIG_AsBool(obj0
);
7137 if (PyErr_Occurred()) SWIG_fail
;
7140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7141 wxLog::SetVerbose(arg1
);
7143 wxPyEndAllowThreads(__tstate
);
7144 if (PyErr_Occurred()) SWIG_fail
;
7146 Py_INCREF(Py_None
); resultobj
= Py_None
;
7153 static PyObject
*_wrap_Log_SetLogLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7154 PyObject
*resultobj
;
7156 PyObject
* obj0
= 0 ;
7158 (char *) "logLevel", NULL
7161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) goto fail
;
7162 arg1
= (wxLogLevel
) SWIG_AsUnsignedLong(obj0
);
7163 if (PyErr_Occurred()) SWIG_fail
;
7165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7166 wxLog::SetLogLevel(arg1
);
7168 wxPyEndAllowThreads(__tstate
);
7169 if (PyErr_Occurred()) SWIG_fail
;
7171 Py_INCREF(Py_None
); resultobj
= Py_None
;
7178 static PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7179 PyObject
*resultobj
;
7184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_DontCreateOnDemand",kwnames
)) goto fail
;
7186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7187 wxLog::DontCreateOnDemand();
7189 wxPyEndAllowThreads(__tstate
);
7190 if (PyErr_Occurred()) SWIG_fail
;
7192 Py_INCREF(Py_None
); resultobj
= Py_None
;
7199 static PyObject
*_wrap_Log_SetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7200 PyObject
*resultobj
;
7202 PyObject
* obj0
= 0 ;
7204 (char *) "ulMask", NULL
7207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) goto fail
;
7208 arg1
= (wxTraceMask
) SWIG_AsUnsignedLong(obj0
);
7209 if (PyErr_Occurred()) SWIG_fail
;
7211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7212 wxLog::SetTraceMask(arg1
);
7214 wxPyEndAllowThreads(__tstate
);
7215 if (PyErr_Occurred()) SWIG_fail
;
7217 Py_INCREF(Py_None
); resultobj
= Py_None
;
7224 static PyObject
*_wrap_Log_AddTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7225 PyObject
*resultobj
;
7226 wxString
*arg1
= 0 ;
7227 bool temp1
= False
;
7228 PyObject
* obj0
= 0 ;
7230 (char *) "str", NULL
7233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) goto fail
;
7235 arg1
= wxString_in_helper(obj0
);
7236 if (arg1
== NULL
) SWIG_fail
;
7240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7241 wxLog::AddTraceMask((wxString
const &)*arg1
);
7243 wxPyEndAllowThreads(__tstate
);
7244 if (PyErr_Occurred()) SWIG_fail
;
7246 Py_INCREF(Py_None
); resultobj
= Py_None
;
7261 static PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7262 PyObject
*resultobj
;
7263 wxString
*arg1
= 0 ;
7264 bool temp1
= False
;
7265 PyObject
* obj0
= 0 ;
7267 (char *) "str", NULL
7270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) goto fail
;
7272 arg1
= wxString_in_helper(obj0
);
7273 if (arg1
== NULL
) SWIG_fail
;
7277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7278 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
7280 wxPyEndAllowThreads(__tstate
);
7281 if (PyErr_Occurred()) SWIG_fail
;
7283 Py_INCREF(Py_None
); resultobj
= Py_None
;
7298 static PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7299 PyObject
*resultobj
;
7304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_ClearTraceMasks",kwnames
)) goto fail
;
7306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7307 wxLog::ClearTraceMasks();
7309 wxPyEndAllowThreads(__tstate
);
7310 if (PyErr_Occurred()) SWIG_fail
;
7312 Py_INCREF(Py_None
); resultobj
= Py_None
;
7319 static PyObject
*_wrap_Log_GetTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7320 PyObject
*resultobj
;
7321 wxArrayString
*result
;
7326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMasks",kwnames
)) goto fail
;
7328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7330 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
7331 result
= (wxArrayString
*) &_result_ref
;
7334 wxPyEndAllowThreads(__tstate
);
7335 if (PyErr_Occurred()) SWIG_fail
;
7338 resultobj
= wxArrayString2PyList_helper(*result
);
7346 static PyObject
*_wrap_Log_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7347 PyObject
*resultobj
;
7348 wxChar
*arg1
= (wxChar
*) 0 ;
7349 PyObject
* obj0
= 0 ;
7354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) goto fail
;
7355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChar
,
7356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7359 wxLog::SetTimestamp((wxChar
const *)arg1
);
7361 wxPyEndAllowThreads(__tstate
);
7362 if (PyErr_Occurred()) SWIG_fail
;
7364 Py_INCREF(Py_None
); resultobj
= Py_None
;
7371 static PyObject
*_wrap_Log_GetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7372 PyObject
*resultobj
;
7378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetVerbose",kwnames
)) goto fail
;
7380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7381 result
= (bool)wxLog::GetVerbose();
7383 wxPyEndAllowThreads(__tstate
);
7384 if (PyErr_Occurred()) SWIG_fail
;
7387 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7395 static PyObject
*_wrap_Log_GetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7396 PyObject
*resultobj
;
7402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMask",kwnames
)) goto fail
;
7404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7405 result
= (wxTraceMask
)wxLog::GetTraceMask();
7407 wxPyEndAllowThreads(__tstate
);
7408 if (PyErr_Occurred()) SWIG_fail
;
7410 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
7417 static PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7418 PyObject
*resultobj
;
7419 wxChar
*arg1
= (wxChar
*) 0 ;
7421 PyObject
* obj0
= 0 ;
7423 (char *) "mask", NULL
7426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) goto fail
;
7427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChar
,
7428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7431 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
7433 wxPyEndAllowThreads(__tstate
);
7434 if (PyErr_Occurred()) SWIG_fail
;
7437 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7445 static PyObject
*_wrap_Log_GetLogLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7446 PyObject
*resultobj
;
7452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetLogLevel",kwnames
)) goto fail
;
7454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7455 result
= (wxLogLevel
)wxLog::GetLogLevel();
7457 wxPyEndAllowThreads(__tstate
);
7458 if (PyErr_Occurred()) SWIG_fail
;
7460 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
7467 static PyObject
*_wrap_Log_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7468 PyObject
*resultobj
;
7474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTimestamp",kwnames
)) goto fail
;
7476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7477 result
= (wxChar
*)wxLog::GetTimestamp();
7479 wxPyEndAllowThreads(__tstate
);
7480 if (PyErr_Occurred()) SWIG_fail
;
7482 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChar
, 0);
7489 static PyObject
*_wrap_Log_TimeStamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7490 PyObject
*resultobj
;
7496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_TimeStamp",kwnames
)) goto fail
;
7498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7499 result
= Log_TimeStamp();
7501 wxPyEndAllowThreads(__tstate
);
7502 if (PyErr_Occurred()) SWIG_fail
;
7506 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7508 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7517 static PyObject
*_wrap_Log_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7518 PyObject
*resultobj
;
7519 wxLog
*arg1
= (wxLog
*) 0 ;
7520 PyObject
* obj0
= 0 ;
7522 (char *) "self", NULL
7525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Destroy",kwnames
,&obj0
)) goto fail
;
7526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7530 wxLog_Destroy(arg1
);
7532 wxPyEndAllowThreads(__tstate
);
7533 if (PyErr_Occurred()) SWIG_fail
;
7535 Py_INCREF(Py_None
); resultobj
= Py_None
;
7542 static PyObject
* Log_swigregister(PyObject
*self
, PyObject
*args
) {
7544 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7545 SWIG_TypeClientData(SWIGTYPE_p_wxLog
, obj
);
7547 return Py_BuildValue((char *)"");
7549 static PyObject
*_wrap_new_LogStderr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7550 PyObject
*resultobj
;
7551 wxLogStderr
*result
;
7556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogStderr",kwnames
)) goto fail
;
7558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7559 result
= (wxLogStderr
*)new wxLogStderr();
7561 wxPyEndAllowThreads(__tstate
);
7562 if (PyErr_Occurred()) SWIG_fail
;
7564 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogStderr
, 1);
7571 static PyObject
* LogStderr_swigregister(PyObject
*self
, PyObject
*args
) {
7573 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7574 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr
, obj
);
7576 return Py_BuildValue((char *)"");
7578 static PyObject
*_wrap_new_LogTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7579 PyObject
*resultobj
;
7580 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7581 wxLogTextCtrl
*result
;
7582 PyObject
* obj0
= 0 ;
7584 (char *) "pTextCtrl", NULL
7587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) goto fail
;
7588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7592 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
7594 wxPyEndAllowThreads(__tstate
);
7595 if (PyErr_Occurred()) SWIG_fail
;
7597 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogTextCtrl
, 1);
7604 static PyObject
* LogTextCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
7606 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7607 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl
, obj
);
7609 return Py_BuildValue((char *)"");
7611 static PyObject
*_wrap_new_LogGui(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7612 PyObject
*resultobj
;
7618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogGui",kwnames
)) goto fail
;
7620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7621 result
= (wxLogGui
*)new wxLogGui();
7623 wxPyEndAllowThreads(__tstate
);
7624 if (PyErr_Occurred()) SWIG_fail
;
7626 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogGui
, 1);
7633 static PyObject
* LogGui_swigregister(PyObject
*self
, PyObject
*args
) {
7635 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7636 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui
, obj
);
7638 return Py_BuildValue((char *)"");
7640 static PyObject
*_wrap_new_LogWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7641 PyObject
*resultobj
;
7642 wxFrame
*arg1
= (wxFrame
*) 0 ;
7643 wxString
*arg2
= 0 ;
7644 bool arg3
= (bool) True
;
7645 bool arg4
= (bool) True
;
7646 wxLogWindow
*result
;
7647 bool temp2
= False
;
7648 PyObject
* obj0
= 0 ;
7649 PyObject
* obj1
= 0 ;
7650 PyObject
* obj2
= 0 ;
7651 PyObject
* obj3
= 0 ;
7653 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
7656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
7658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7660 arg2
= wxString_in_helper(obj1
);
7661 if (arg2
== NULL
) SWIG_fail
;
7665 arg3
= (bool) SWIG_AsBool(obj2
);
7666 if (PyErr_Occurred()) SWIG_fail
;
7669 arg4
= (bool) SWIG_AsBool(obj3
);
7670 if (PyErr_Occurred()) SWIG_fail
;
7673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7674 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
7676 wxPyEndAllowThreads(__tstate
);
7677 if (PyErr_Occurred()) SWIG_fail
;
7679 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogWindow
, 1);
7694 static PyObject
*_wrap_LogWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7695 PyObject
*resultobj
;
7696 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7697 bool arg2
= (bool) True
;
7698 PyObject
* obj0
= 0 ;
7699 PyObject
* obj1
= 0 ;
7701 (char *) "self",(char *) "bShow", NULL
7704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
7705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7708 arg2
= (bool) SWIG_AsBool(obj1
);
7709 if (PyErr_Occurred()) SWIG_fail
;
7712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7715 wxPyEndAllowThreads(__tstate
);
7716 if (PyErr_Occurred()) SWIG_fail
;
7718 Py_INCREF(Py_None
); resultobj
= Py_None
;
7725 static PyObject
*_wrap_LogWindow_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7726 PyObject
*resultobj
;
7727 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7729 PyObject
* obj0
= 0 ;
7731 (char *) "self", NULL
7734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetFrame",kwnames
,&obj0
)) goto fail
;
7735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7739 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
7741 wxPyEndAllowThreads(__tstate
);
7742 if (PyErr_Occurred()) SWIG_fail
;
7745 resultobj
= wxPyMake_wxObject(result
);
7753 static PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7754 PyObject
*resultobj
;
7755 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7757 PyObject
* obj0
= 0 ;
7759 (char *) "self", NULL
7762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetOldLog",kwnames
,&obj0
)) goto fail
;
7763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7767 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
7769 wxPyEndAllowThreads(__tstate
);
7770 if (PyErr_Occurred()) SWIG_fail
;
7772 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7779 static PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7780 PyObject
*resultobj
;
7781 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7783 PyObject
* obj0
= 0 ;
7785 (char *) "self", NULL
7788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
7789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7793 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
7795 wxPyEndAllowThreads(__tstate
);
7796 if (PyErr_Occurred()) SWIG_fail
;
7799 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7807 static PyObject
*_wrap_LogWindow_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7808 PyObject
*resultobj
;
7809 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7811 PyObject
* obj0
= 0 ;
7812 PyObject
* obj1
= 0 ;
7814 (char *) "self",(char *) "bDoPass", NULL
7817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
7818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7820 arg2
= (bool) SWIG_AsBool(obj1
);
7821 if (PyErr_Occurred()) SWIG_fail
;
7823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7824 (arg1
)->PassMessages(arg2
);
7826 wxPyEndAllowThreads(__tstate
);
7827 if (PyErr_Occurred()) SWIG_fail
;
7829 Py_INCREF(Py_None
); resultobj
= Py_None
;
7836 static PyObject
* LogWindow_swigregister(PyObject
*self
, PyObject
*args
) {
7838 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7839 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow
, obj
);
7841 return Py_BuildValue((char *)"");
7843 static PyObject
*_wrap_new_LogChain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7844 PyObject
*resultobj
;
7845 wxLog
*arg1
= (wxLog
*) 0 ;
7847 PyObject
* obj0
= 0 ;
7849 (char *) "logger", NULL
7852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) goto fail
;
7853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7857 result
= (wxLogChain
*)new wxLogChain(arg1
);
7859 wxPyEndAllowThreads(__tstate
);
7860 if (PyErr_Occurred()) SWIG_fail
;
7862 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogChain
, 1);
7869 static PyObject
*_wrap_LogChain_SetLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7870 PyObject
*resultobj
;
7871 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7872 wxLog
*arg2
= (wxLog
*) 0 ;
7873 PyObject
* obj0
= 0 ;
7874 PyObject
* obj1
= 0 ;
7876 (char *) "self",(char *) "logger", NULL
7879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) goto fail
;
7880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
7881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7882 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLog
,
7883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7886 (arg1
)->SetLog(arg2
);
7888 wxPyEndAllowThreads(__tstate
);
7889 if (PyErr_Occurred()) SWIG_fail
;
7891 Py_INCREF(Py_None
); resultobj
= Py_None
;
7898 static PyObject
*_wrap_LogChain_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7899 PyObject
*resultobj
;
7900 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7902 PyObject
* obj0
= 0 ;
7903 PyObject
* obj1
= 0 ;
7905 (char *) "self",(char *) "bDoPass", NULL
7908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
7909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
7910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7911 arg2
= (bool) SWIG_AsBool(obj1
);
7912 if (PyErr_Occurred()) SWIG_fail
;
7914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7915 (arg1
)->PassMessages(arg2
);
7917 wxPyEndAllowThreads(__tstate
);
7918 if (PyErr_Occurred()) SWIG_fail
;
7920 Py_INCREF(Py_None
); resultobj
= Py_None
;
7927 static PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7928 PyObject
*resultobj
;
7929 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7931 PyObject
* obj0
= 0 ;
7933 (char *) "self", NULL
7936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
7937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
7938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7941 result
= (bool)(arg1
)->IsPassingMessages();
7943 wxPyEndAllowThreads(__tstate
);
7944 if (PyErr_Occurred()) SWIG_fail
;
7947 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7955 static PyObject
*_wrap_LogChain_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7956 PyObject
*resultobj
;
7957 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7959 PyObject
* obj0
= 0 ;
7961 (char *) "self", NULL
7964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_GetOldLog",kwnames
,&obj0
)) goto fail
;
7965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
7966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7969 result
= (wxLog
*)(arg1
)->GetOldLog();
7971 wxPyEndAllowThreads(__tstate
);
7972 if (PyErr_Occurred()) SWIG_fail
;
7974 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7981 static PyObject
* LogChain_swigregister(PyObject
*self
, PyObject
*args
) {
7983 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7984 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain
, obj
);
7986 return Py_BuildValue((char *)"");
7988 static PyObject
*_wrap_SysErrorCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7989 PyObject
*resultobj
;
7990 unsigned long result
;
7995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SysErrorCode",kwnames
)) goto fail
;
7997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7998 result
= (unsigned long)wxSysErrorCode();
8000 wxPyEndAllowThreads(__tstate
);
8001 if (PyErr_Occurred()) SWIG_fail
;
8003 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
8010 static PyObject
*_wrap_SysErrorMsg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8011 PyObject
*resultobj
;
8012 unsigned long arg1
= (unsigned long) 0 ;
8014 PyObject
* obj0
= 0 ;
8016 (char *) "nErrCode", NULL
8019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) goto fail
;
8021 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
8022 if (PyErr_Occurred()) SWIG_fail
;
8025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8026 result
= wxSysErrorMsg(arg1
);
8028 wxPyEndAllowThreads(__tstate
);
8029 if (PyErr_Occurred()) SWIG_fail
;
8033 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8035 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8044 static PyObject
*_wrap_LogFatalError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8045 PyObject
*resultobj
;
8046 wxString
*arg1
= 0 ;
8047 bool temp1
= False
;
8048 PyObject
* obj0
= 0 ;
8050 (char *) "msg", NULL
8053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) goto fail
;
8055 arg1
= wxString_in_helper(obj0
);
8056 if (arg1
== NULL
) SWIG_fail
;
8060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8061 wxLogFatalError((wxString
const &)*arg1
);
8063 wxPyEndAllowThreads(__tstate
);
8064 if (PyErr_Occurred()) SWIG_fail
;
8066 Py_INCREF(Py_None
); resultobj
= Py_None
;
8081 static PyObject
*_wrap_LogError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8082 PyObject
*resultobj
;
8083 wxString
*arg1
= 0 ;
8084 bool temp1
= False
;
8085 PyObject
* obj0
= 0 ;
8087 (char *) "msg", NULL
8090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) goto fail
;
8092 arg1
= wxString_in_helper(obj0
);
8093 if (arg1
== NULL
) SWIG_fail
;
8097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8098 wxLogError((wxString
const &)*arg1
);
8100 wxPyEndAllowThreads(__tstate
);
8101 if (PyErr_Occurred()) SWIG_fail
;
8103 Py_INCREF(Py_None
); resultobj
= Py_None
;
8118 static PyObject
*_wrap_LogWarning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8119 PyObject
*resultobj
;
8120 wxString
*arg1
= 0 ;
8121 bool temp1
= False
;
8122 PyObject
* obj0
= 0 ;
8124 (char *) "msg", NULL
8127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) goto fail
;
8129 arg1
= wxString_in_helper(obj0
);
8130 if (arg1
== NULL
) SWIG_fail
;
8134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8135 wxLogWarning((wxString
const &)*arg1
);
8137 wxPyEndAllowThreads(__tstate
);
8138 if (PyErr_Occurred()) SWIG_fail
;
8140 Py_INCREF(Py_None
); resultobj
= Py_None
;
8155 static PyObject
*_wrap_LogMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8156 PyObject
*resultobj
;
8157 wxString
*arg1
= 0 ;
8158 bool temp1
= False
;
8159 PyObject
* obj0
= 0 ;
8161 (char *) "msg", NULL
8164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) goto fail
;
8166 arg1
= wxString_in_helper(obj0
);
8167 if (arg1
== NULL
) SWIG_fail
;
8171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8172 wxLogMessage((wxString
const &)*arg1
);
8174 wxPyEndAllowThreads(__tstate
);
8175 if (PyErr_Occurred()) SWIG_fail
;
8177 Py_INCREF(Py_None
); resultobj
= Py_None
;
8192 static PyObject
*_wrap_LogInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8193 PyObject
*resultobj
;
8194 wxString
*arg1
= 0 ;
8195 bool temp1
= False
;
8196 PyObject
* obj0
= 0 ;
8198 (char *) "msg", NULL
8201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) goto fail
;
8203 arg1
= wxString_in_helper(obj0
);
8204 if (arg1
== NULL
) SWIG_fail
;
8208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8209 wxLogInfo((wxString
const &)*arg1
);
8211 wxPyEndAllowThreads(__tstate
);
8212 if (PyErr_Occurred()) SWIG_fail
;
8214 Py_INCREF(Py_None
); resultobj
= Py_None
;
8229 static PyObject
*_wrap_LogDebug(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8230 PyObject
*resultobj
;
8231 wxString
*arg1
= 0 ;
8232 bool temp1
= False
;
8233 PyObject
* obj0
= 0 ;
8235 (char *) "msg", NULL
8238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) goto fail
;
8240 arg1
= wxString_in_helper(obj0
);
8241 if (arg1
== NULL
) SWIG_fail
;
8245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8246 wxLogDebug((wxString
const &)*arg1
);
8248 wxPyEndAllowThreads(__tstate
);
8249 if (PyErr_Occurred()) SWIG_fail
;
8251 Py_INCREF(Py_None
); resultobj
= Py_None
;
8266 static PyObject
*_wrap_LogVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8267 PyObject
*resultobj
;
8268 wxString
*arg1
= 0 ;
8269 bool temp1
= False
;
8270 PyObject
* obj0
= 0 ;
8272 (char *) "msg", NULL
8275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) goto fail
;
8277 arg1
= wxString_in_helper(obj0
);
8278 if (arg1
== NULL
) SWIG_fail
;
8282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8283 wxLogVerbose((wxString
const &)*arg1
);
8285 wxPyEndAllowThreads(__tstate
);
8286 if (PyErr_Occurred()) SWIG_fail
;
8288 Py_INCREF(Py_None
); resultobj
= Py_None
;
8303 static PyObject
*_wrap_LogStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8304 PyObject
*resultobj
;
8305 wxString
*arg1
= 0 ;
8306 bool temp1
= False
;
8307 PyObject
* obj0
= 0 ;
8309 (char *) "msg", NULL
8312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) goto fail
;
8314 arg1
= wxString_in_helper(obj0
);
8315 if (arg1
== NULL
) SWIG_fail
;
8319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8320 wxLogStatus((wxString
const &)*arg1
);
8322 wxPyEndAllowThreads(__tstate
);
8323 if (PyErr_Occurred()) SWIG_fail
;
8325 Py_INCREF(Py_None
); resultobj
= Py_None
;
8340 static PyObject
*_wrap_LogStatusFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8341 PyObject
*resultobj
;
8342 wxFrame
*arg1
= (wxFrame
*) 0 ;
8343 wxString
*arg2
= 0 ;
8344 bool temp2
= False
;
8345 PyObject
* obj0
= 0 ;
8346 PyObject
* obj1
= 0 ;
8348 (char *) "pFrame",(char *) "msg", NULL
8351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
8352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
8353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8355 arg2
= wxString_in_helper(obj1
);
8356 if (arg2
== NULL
) SWIG_fail
;
8360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8361 wxLogStatus(arg1
,(wxString
const &)*arg2
);
8363 wxPyEndAllowThreads(__tstate
);
8364 if (PyErr_Occurred()) SWIG_fail
;
8366 Py_INCREF(Py_None
); resultobj
= Py_None
;
8381 static PyObject
*_wrap_LogSysError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8382 PyObject
*resultobj
;
8383 wxString
*arg1
= 0 ;
8384 bool temp1
= False
;
8385 PyObject
* obj0
= 0 ;
8387 (char *) "msg", NULL
8390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) goto fail
;
8392 arg1
= wxString_in_helper(obj0
);
8393 if (arg1
== NULL
) SWIG_fail
;
8397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8398 wxLogSysError((wxString
const &)*arg1
);
8400 wxPyEndAllowThreads(__tstate
);
8401 if (PyErr_Occurred()) SWIG_fail
;
8403 Py_INCREF(Py_None
); resultobj
= Py_None
;
8418 static PyObject
*_wrap_LogTrace__SWIG_0(PyObject
*self
, PyObject
*args
) {
8419 PyObject
*resultobj
;
8420 unsigned long arg1
;
8421 wxString
*arg2
= 0 ;
8422 bool temp2
= False
;
8423 PyObject
* obj0
= 0 ;
8424 PyObject
* obj1
= 0 ;
8426 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
8427 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
8428 if (PyErr_Occurred()) SWIG_fail
;
8430 arg2
= wxString_in_helper(obj1
);
8431 if (arg2
== NULL
) SWIG_fail
;
8435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8436 wxLogTrace(arg1
,(wxString
const &)*arg2
);
8438 wxPyEndAllowThreads(__tstate
);
8439 if (PyErr_Occurred()) SWIG_fail
;
8441 Py_INCREF(Py_None
); resultobj
= Py_None
;
8456 static PyObject
*_wrap_LogTrace__SWIG_1(PyObject
*self
, PyObject
*args
) {
8457 PyObject
*resultobj
;
8458 wxString
*arg1
= 0 ;
8459 wxString
*arg2
= 0 ;
8460 bool temp1
= False
;
8461 bool temp2
= False
;
8462 PyObject
* obj0
= 0 ;
8463 PyObject
* obj1
= 0 ;
8465 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
8467 arg1
= wxString_in_helper(obj0
);
8468 if (arg1
== NULL
) SWIG_fail
;
8472 arg2
= wxString_in_helper(obj1
);
8473 if (arg2
== NULL
) SWIG_fail
;
8477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8478 wxLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
8480 wxPyEndAllowThreads(__tstate
);
8481 if (PyErr_Occurred()) SWIG_fail
;
8483 Py_INCREF(Py_None
); resultobj
= Py_None
;
8506 static PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
) {
8511 argc
= PyObject_Length(args
);
8512 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
8513 argv
[ii
] = PyTuple_GetItem(args
,ii
);
8518 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
8522 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
8525 return _wrap_LogTrace__SWIG_1(self
,args
);
8531 _v
= SWIG_CheckUnsignedLong(argv
[0]);
8534 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
8537 return _wrap_LogTrace__SWIG_0(self
,args
);
8542 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'LogTrace'");
8547 static PyObject
*_wrap_LogGeneric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8548 PyObject
*resultobj
;
8549 unsigned long arg1
;
8550 wxString
*arg2
= 0 ;
8551 bool temp2
= False
;
8552 PyObject
* obj0
= 0 ;
8553 PyObject
* obj1
= 0 ;
8555 (char *) "level",(char *) "msg", NULL
8558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) goto fail
;
8559 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
8560 if (PyErr_Occurred()) SWIG_fail
;
8562 arg2
= wxString_in_helper(obj1
);
8563 if (arg2
== NULL
) SWIG_fail
;
8567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8568 wxLogGeneric(arg1
,(wxString
const &)*arg2
);
8570 wxPyEndAllowThreads(__tstate
);
8571 if (PyErr_Occurred()) SWIG_fail
;
8573 Py_INCREF(Py_None
); resultobj
= Py_None
;
8588 static PyObject
*_wrap_SafeShowMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8589 PyObject
*resultobj
;
8590 wxString
*arg1
= 0 ;
8591 wxString
*arg2
= 0 ;
8592 bool temp1
= False
;
8593 bool temp2
= False
;
8594 PyObject
* obj0
= 0 ;
8595 PyObject
* obj1
= 0 ;
8597 (char *) "title",(char *) "text", NULL
8600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
8602 arg1
= wxString_in_helper(obj0
);
8603 if (arg1
== NULL
) SWIG_fail
;
8607 arg2
= wxString_in_helper(obj1
);
8608 if (arg2
== NULL
) SWIG_fail
;
8612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8613 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
8615 wxPyEndAllowThreads(__tstate
);
8616 if (PyErr_Occurred()) SWIG_fail
;
8618 Py_INCREF(Py_None
); resultobj
= Py_None
;
8641 static PyObject
*_wrap_new_LogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8642 PyObject
*resultobj
;
8648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogNull",kwnames
)) goto fail
;
8650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8651 result
= (wxLogNull
*)new wxLogNull();
8653 wxPyEndAllowThreads(__tstate
);
8654 if (PyErr_Occurred()) SWIG_fail
;
8656 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogNull
, 1);
8663 static PyObject
*_wrap_delete_LogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8664 PyObject
*resultobj
;
8665 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
8666 PyObject
* obj0
= 0 ;
8668 (char *) "self", NULL
8671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LogNull",kwnames
,&obj0
)) goto fail
;
8672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogNull
,
8673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8678 wxPyEndAllowThreads(__tstate
);
8679 if (PyErr_Occurred()) SWIG_fail
;
8681 Py_INCREF(Py_None
); resultobj
= Py_None
;
8688 static PyObject
* LogNull_swigregister(PyObject
*self
, PyObject
*args
) {
8690 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8691 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull
, obj
);
8693 return Py_BuildValue((char *)"");
8695 static PyObject
*_wrap_new_PyLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8696 PyObject
*resultobj
;
8702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyLog",kwnames
)) goto fail
;
8704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8705 result
= (wxPyLog
*)new wxPyLog();
8707 wxPyEndAllowThreads(__tstate
);
8708 if (PyErr_Occurred()) SWIG_fail
;
8710 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyLog
, 1);
8717 static PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8718 PyObject
*resultobj
;
8719 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
8720 PyObject
*arg2
= (PyObject
*) 0 ;
8721 PyObject
*arg3
= (PyObject
*) 0 ;
8722 PyObject
* obj0
= 0 ;
8723 PyObject
* obj1
= 0 ;
8724 PyObject
* obj2
= 0 ;
8726 (char *) "self",(char *) "self",(char *) "_class", NULL
8729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLog
,
8731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8736 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8738 wxPyEndAllowThreads(__tstate
);
8739 if (PyErr_Occurred()) SWIG_fail
;
8741 Py_INCREF(Py_None
); resultobj
= Py_None
;
8748 static PyObject
* PyLog_swigregister(PyObject
*self
, PyObject
*args
) {
8750 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8751 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog
, obj
);
8753 return Py_BuildValue((char *)"");
8755 static PyObject
*_wrap_Process_Kill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8756 PyObject
*resultobj
;
8758 int arg2
= (int) wxSIGTERM
;
8760 PyObject
* obj0
= 0 ;
8761 PyObject
* obj1
= 0 ;
8763 (char *) "pid",(char *) "sig", NULL
8766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Kill",kwnames
,&obj0
,&obj1
)) goto fail
;
8767 arg1
= (int) SWIG_AsInt(obj0
);
8768 if (PyErr_Occurred()) SWIG_fail
;
8770 arg2
= (wxSignal
) SWIG_AsInt(obj1
);
8771 if (PyErr_Occurred()) SWIG_fail
;
8774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8775 result
= (int)wxPyProcess::Kill(arg1
,(wxSignal
)arg2
);
8777 wxPyEndAllowThreads(__tstate
);
8778 if (PyErr_Occurred()) SWIG_fail
;
8780 resultobj
= SWIG_FromInt((int)result
);
8787 static PyObject
*_wrap_Process_Exists(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8788 PyObject
*resultobj
;
8791 PyObject
* obj0
= 0 ;
8793 (char *) "pid", NULL
8796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Exists",kwnames
,&obj0
)) goto fail
;
8797 arg1
= (int) SWIG_AsInt(obj0
);
8798 if (PyErr_Occurred()) SWIG_fail
;
8800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8801 result
= (bool)wxPyProcess::Exists(arg1
);
8803 wxPyEndAllowThreads(__tstate
);
8804 if (PyErr_Occurred()) SWIG_fail
;
8807 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8815 static PyObject
*_wrap_Process_Open(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8816 PyObject
*resultobj
;
8817 wxString
*arg1
= 0 ;
8818 int arg2
= (int) wxEXEC_ASYNC
;
8819 wxPyProcess
*result
;
8820 bool temp1
= False
;
8821 PyObject
* obj0
= 0 ;
8822 PyObject
* obj1
= 0 ;
8824 (char *) "cmd",(char *) "flags", NULL
8827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Open",kwnames
,&obj0
,&obj1
)) goto fail
;
8829 arg1
= wxString_in_helper(obj0
);
8830 if (arg1
== NULL
) SWIG_fail
;
8834 arg2
= (int) SWIG_AsInt(obj1
);
8835 if (PyErr_Occurred()) SWIG_fail
;
8838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8839 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
8841 wxPyEndAllowThreads(__tstate
);
8842 if (PyErr_Occurred()) SWIG_fail
;
8844 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 0);
8859 static PyObject
*_wrap_new_Process(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8860 PyObject
*resultobj
;
8861 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
8862 int arg2
= (int) -1 ;
8863 wxPyProcess
*result
;
8864 PyObject
* obj0
= 0 ;
8865 PyObject
* obj1
= 0 ;
8867 (char *) "parent",(char *) "id", NULL
8870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Process",kwnames
,&obj0
,&obj1
)) goto fail
;
8872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
8873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8876 arg2
= (int) SWIG_AsInt(obj1
);
8877 if (PyErr_Occurred()) SWIG_fail
;
8880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8881 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
8883 wxPyEndAllowThreads(__tstate
);
8884 if (PyErr_Occurred()) SWIG_fail
;
8886 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 1);
8893 static PyObject
*_wrap_Process__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8894 PyObject
*resultobj
;
8895 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8896 PyObject
*arg2
= (PyObject
*) 0 ;
8897 PyObject
*arg3
= (PyObject
*) 0 ;
8898 PyObject
* obj0
= 0 ;
8899 PyObject
* obj1
= 0 ;
8900 PyObject
* obj2
= 0 ;
8902 (char *) "self",(char *) "self",(char *) "_class", NULL
8905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
8907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8912 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8914 wxPyEndAllowThreads(__tstate
);
8915 if (PyErr_Occurred()) SWIG_fail
;
8917 Py_INCREF(Py_None
); resultobj
= Py_None
;
8924 static PyObject
*_wrap_Process_base_OnTerminate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8925 PyObject
*resultobj
;
8926 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8929 PyObject
* obj0
= 0 ;
8930 PyObject
* obj1
= 0 ;
8931 PyObject
* obj2
= 0 ;
8933 (char *) "self",(char *) "pid",(char *) "status", NULL
8936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process_base_OnTerminate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
8938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8939 arg2
= (int) SWIG_AsInt(obj1
);
8940 if (PyErr_Occurred()) SWIG_fail
;
8941 arg3
= (int) SWIG_AsInt(obj2
);
8942 if (PyErr_Occurred()) SWIG_fail
;
8944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8945 (arg1
)->base_OnTerminate(arg2
,arg3
);
8947 wxPyEndAllowThreads(__tstate
);
8948 if (PyErr_Occurred()) SWIG_fail
;
8950 Py_INCREF(Py_None
); resultobj
= Py_None
;
8957 static PyObject
*_wrap_Process_Redirect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8958 PyObject
*resultobj
;
8959 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8960 PyObject
* obj0
= 0 ;
8962 (char *) "self", NULL
8965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Redirect",kwnames
,&obj0
)) goto fail
;
8966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
8967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8972 wxPyEndAllowThreads(__tstate
);
8973 if (PyErr_Occurred()) SWIG_fail
;
8975 Py_INCREF(Py_None
); resultobj
= Py_None
;
8982 static PyObject
*_wrap_Process_IsRedirected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8983 PyObject
*resultobj
;
8984 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8986 PyObject
* obj0
= 0 ;
8988 (char *) "self", NULL
8991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsRedirected",kwnames
,&obj0
)) goto fail
;
8992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
8993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8996 result
= (bool)(arg1
)->IsRedirected();
8998 wxPyEndAllowThreads(__tstate
);
8999 if (PyErr_Occurred()) SWIG_fail
;
9002 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9010 static PyObject
*_wrap_Process_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9011 PyObject
*resultobj
;
9012 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9013 PyObject
* obj0
= 0 ;
9015 (char *) "self", NULL
9018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Detach",kwnames
,&obj0
)) goto fail
;
9019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9025 wxPyEndAllowThreads(__tstate
);
9026 if (PyErr_Occurred()) SWIG_fail
;
9028 Py_INCREF(Py_None
); resultobj
= Py_None
;
9035 static PyObject
*_wrap_Process_GetInputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9036 PyObject
*resultobj
;
9037 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9038 wxInputStream
*result
;
9039 PyObject
* obj0
= 0 ;
9041 (char *) "self", NULL
9044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetInputStream",kwnames
,&obj0
)) goto fail
;
9045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9049 result
= (wxInputStream
*)(arg1
)->GetInputStream();
9051 wxPyEndAllowThreads(__tstate
);
9052 if (PyErr_Occurred()) SWIG_fail
;
9055 wxPyInputStream
* _ptr
= NULL
;
9058 _ptr
= new wxPyInputStream(result
);
9060 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
9068 static PyObject
*_wrap_Process_GetErrorStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9069 PyObject
*resultobj
;
9070 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9071 wxInputStream
*result
;
9072 PyObject
* obj0
= 0 ;
9074 (char *) "self", NULL
9077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetErrorStream",kwnames
,&obj0
)) goto fail
;
9078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9082 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
9084 wxPyEndAllowThreads(__tstate
);
9085 if (PyErr_Occurred()) SWIG_fail
;
9088 wxPyInputStream
* _ptr
= NULL
;
9091 _ptr
= new wxPyInputStream(result
);
9093 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
9101 static PyObject
*_wrap_Process_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9102 PyObject
*resultobj
;
9103 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9104 wxOutputStream
*result
;
9105 PyObject
* obj0
= 0 ;
9107 (char *) "self", NULL
9110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetOutputStream",kwnames
,&obj0
)) goto fail
;
9111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9115 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
9117 wxPyEndAllowThreads(__tstate
);
9118 if (PyErr_Occurred()) SWIG_fail
;
9120 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
9127 static PyObject
*_wrap_Process_CloseOutput(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9128 PyObject
*resultobj
;
9129 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9130 PyObject
* obj0
= 0 ;
9132 (char *) "self", NULL
9135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_CloseOutput",kwnames
,&obj0
)) goto fail
;
9136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9140 (arg1
)->CloseOutput();
9142 wxPyEndAllowThreads(__tstate
);
9143 if (PyErr_Occurred()) SWIG_fail
;
9145 Py_INCREF(Py_None
); resultobj
= Py_None
;
9152 static PyObject
*_wrap_Process_IsInputOpened(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9153 PyObject
*resultobj
;
9154 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9156 PyObject
* obj0
= 0 ;
9158 (char *) "self", NULL
9161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputOpened",kwnames
,&obj0
)) goto fail
;
9162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9166 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
9168 wxPyEndAllowThreads(__tstate
);
9169 if (PyErr_Occurred()) SWIG_fail
;
9172 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9180 static PyObject
*_wrap_Process_IsInputAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9181 PyObject
*resultobj
;
9182 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9184 PyObject
* obj0
= 0 ;
9186 (char *) "self", NULL
9189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputAvailable",kwnames
,&obj0
)) goto fail
;
9190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9194 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
9196 wxPyEndAllowThreads(__tstate
);
9197 if (PyErr_Occurred()) SWIG_fail
;
9200 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9208 static PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9209 PyObject
*resultobj
;
9210 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9212 PyObject
* obj0
= 0 ;
9214 (char *) "self", NULL
9217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsErrorAvailable",kwnames
,&obj0
)) goto fail
;
9218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9222 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
9224 wxPyEndAllowThreads(__tstate
);
9225 if (PyErr_Occurred()) SWIG_fail
;
9228 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9236 static PyObject
* Process_swigregister(PyObject
*self
, PyObject
*args
) {
9238 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9239 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess
, obj
);
9241 return Py_BuildValue((char *)"");
9243 static PyObject
*_wrap_new_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9244 PyObject
*resultobj
;
9245 int arg1
= (int) 0 ;
9246 int arg2
= (int) 0 ;
9247 int arg3
= (int) 0 ;
9248 wxProcessEvent
*result
;
9249 PyObject
* obj0
= 0 ;
9250 PyObject
* obj1
= 0 ;
9251 PyObject
* obj2
= 0 ;
9253 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
9256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ProcessEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9258 arg1
= (int) SWIG_AsInt(obj0
);
9259 if (PyErr_Occurred()) SWIG_fail
;
9262 arg2
= (int) SWIG_AsInt(obj1
);
9263 if (PyErr_Occurred()) SWIG_fail
;
9266 arg3
= (int) SWIG_AsInt(obj2
);
9267 if (PyErr_Occurred()) SWIG_fail
;
9270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9271 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
9273 wxPyEndAllowThreads(__tstate
);
9274 if (PyErr_Occurred()) SWIG_fail
;
9276 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProcessEvent
, 1);
9283 static PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9284 PyObject
*resultobj
;
9285 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9287 PyObject
* obj0
= 0 ;
9289 (char *) "self", NULL
9292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetPid",kwnames
,&obj0
)) goto fail
;
9293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9297 result
= (int)(arg1
)->GetPid();
9299 wxPyEndAllowThreads(__tstate
);
9300 if (PyErr_Occurred()) SWIG_fail
;
9302 resultobj
= SWIG_FromInt((int)result
);
9309 static PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9310 PyObject
*resultobj
;
9311 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9313 PyObject
* obj0
= 0 ;
9315 (char *) "self", NULL
9318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetExitCode",kwnames
,&obj0
)) goto fail
;
9319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9323 result
= (int)(arg1
)->GetExitCode();
9325 wxPyEndAllowThreads(__tstate
);
9326 if (PyErr_Occurred()) SWIG_fail
;
9328 resultobj
= SWIG_FromInt((int)result
);
9335 static PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9336 PyObject
*resultobj
;
9337 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9339 PyObject
* obj0
= 0 ;
9340 PyObject
* obj1
= 0 ;
9342 (char *) "self",(char *) "m_pid", NULL
9345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_pid_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9348 arg2
= (int) SWIG_AsInt(obj1
);
9349 if (PyErr_Occurred()) SWIG_fail
;
9350 if (arg1
) (arg1
)->m_pid
= arg2
;
9352 Py_INCREF(Py_None
); resultobj
= Py_None
;
9359 static PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9360 PyObject
*resultobj
;
9361 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9363 PyObject
* obj0
= 0 ;
9365 (char *) "self", NULL
9368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_pid_get",kwnames
,&obj0
)) goto fail
;
9369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9371 result
= (int) ((arg1
)->m_pid
);
9373 resultobj
= SWIG_FromInt((int)result
);
9380 static PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9381 PyObject
*resultobj
;
9382 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9384 PyObject
* obj0
= 0 ;
9385 PyObject
* obj1
= 0 ;
9387 (char *) "self",(char *) "m_exitcode", NULL
9390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9393 arg2
= (int) SWIG_AsInt(obj1
);
9394 if (PyErr_Occurred()) SWIG_fail
;
9395 if (arg1
) (arg1
)->m_exitcode
= arg2
;
9397 Py_INCREF(Py_None
); resultobj
= Py_None
;
9404 static PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9405 PyObject
*resultobj
;
9406 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9408 PyObject
* obj0
= 0 ;
9410 (char *) "self", NULL
9413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_exitcode_get",kwnames
,&obj0
)) goto fail
;
9414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9416 result
= (int) ((arg1
)->m_exitcode
);
9418 resultobj
= SWIG_FromInt((int)result
);
9425 static PyObject
* ProcessEvent_swigregister(PyObject
*self
, PyObject
*args
) {
9427 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9428 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent
, obj
);
9430 return Py_BuildValue((char *)"");
9432 static PyObject
*_wrap_Execute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9433 PyObject
*resultobj
;
9434 wxString
*arg1
= 0 ;
9435 int arg2
= (int) wxEXEC_ASYNC
;
9436 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
9438 bool temp1
= False
;
9439 PyObject
* obj0
= 0 ;
9440 PyObject
* obj1
= 0 ;
9441 PyObject
* obj2
= 0 ;
9443 (char *) "command",(char *) "flags",(char *) "process", NULL
9446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Execute",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9448 arg1
= wxString_in_helper(obj0
);
9449 if (arg1
== NULL
) SWIG_fail
;
9453 arg2
= (int) SWIG_AsInt(obj1
);
9454 if (PyErr_Occurred()) SWIG_fail
;
9457 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyProcess
,
9458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9462 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
9464 wxPyEndAllowThreads(__tstate
);
9465 if (PyErr_Occurred()) SWIG_fail
;
9467 resultobj
= SWIG_FromLong((long)result
);
9482 static PyObject
*_wrap_new_Joystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9483 PyObject
*resultobj
;
9484 int arg1
= (int) wxJOYSTICK1
;
9486 PyObject
* obj0
= 0 ;
9488 (char *) "joystick", NULL
9491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Joystick",kwnames
,&obj0
)) goto fail
;
9493 arg1
= (int) SWIG_AsInt(obj0
);
9494 if (PyErr_Occurred()) SWIG_fail
;
9497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9498 result
= (wxJoystick
*)new wxJoystick(arg1
);
9500 wxPyEndAllowThreads(__tstate
);
9501 if (PyErr_Occurred()) SWIG_fail
;
9503 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystick
, 1);
9510 static PyObject
*_wrap_delete_Joystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9511 PyObject
*resultobj
;
9512 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9513 PyObject
* obj0
= 0 ;
9515 (char *) "self", NULL
9518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Joystick",kwnames
,&obj0
)) goto fail
;
9519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9525 wxPyEndAllowThreads(__tstate
);
9526 if (PyErr_Occurred()) SWIG_fail
;
9528 Py_INCREF(Py_None
); resultobj
= Py_None
;
9535 static PyObject
*_wrap_Joystick_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9536 PyObject
*resultobj
;
9537 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9539 PyObject
* obj0
= 0 ;
9541 (char *) "self", NULL
9544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPosition",kwnames
,&obj0
)) goto fail
;
9545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9549 result
= (arg1
)->GetPosition();
9551 wxPyEndAllowThreads(__tstate
);
9552 if (PyErr_Occurred()) SWIG_fail
;
9555 wxPoint
* resultptr
;
9556 resultptr
= new wxPoint((wxPoint
&) result
);
9557 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
9565 static PyObject
*_wrap_Joystick_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9566 PyObject
*resultobj
;
9567 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9569 PyObject
* obj0
= 0 ;
9571 (char *) "self", NULL
9574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZPosition",kwnames
,&obj0
)) goto fail
;
9575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9579 result
= (int)(arg1
)->GetZPosition();
9581 wxPyEndAllowThreads(__tstate
);
9582 if (PyErr_Occurred()) SWIG_fail
;
9584 resultobj
= SWIG_FromInt((int)result
);
9591 static PyObject
*_wrap_Joystick_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9592 PyObject
*resultobj
;
9593 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9595 PyObject
* obj0
= 0 ;
9597 (char *) "self", NULL
9600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetButtonState",kwnames
,&obj0
)) goto fail
;
9601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9605 result
= (int)(arg1
)->GetButtonState();
9607 wxPyEndAllowThreads(__tstate
);
9608 if (PyErr_Occurred()) SWIG_fail
;
9610 resultobj
= SWIG_FromInt((int)result
);
9617 static PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9618 PyObject
*resultobj
;
9619 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9621 PyObject
* obj0
= 0 ;
9623 (char *) "self", NULL
9626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVPosition",kwnames
,&obj0
)) goto fail
;
9627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9631 result
= (int)(arg1
)->GetPOVPosition();
9633 wxPyEndAllowThreads(__tstate
);
9634 if (PyErr_Occurred()) SWIG_fail
;
9636 resultobj
= SWIG_FromInt((int)result
);
9643 static PyObject
*_wrap_Joystick_GetPOVCTSPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9644 PyObject
*resultobj
;
9645 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9647 PyObject
* obj0
= 0 ;
9649 (char *) "self", NULL
9652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVCTSPosition",kwnames
,&obj0
)) goto fail
;
9653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9657 result
= (int)(arg1
)->GetPOVCTSPosition();
9659 wxPyEndAllowThreads(__tstate
);
9660 if (PyErr_Occurred()) SWIG_fail
;
9662 resultobj
= SWIG_FromInt((int)result
);
9669 static PyObject
*_wrap_Joystick_GetRudderPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9670 PyObject
*resultobj
;
9671 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9673 PyObject
* obj0
= 0 ;
9675 (char *) "self", NULL
9678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderPosition",kwnames
,&obj0
)) goto fail
;
9679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9683 result
= (int)(arg1
)->GetRudderPosition();
9685 wxPyEndAllowThreads(__tstate
);
9686 if (PyErr_Occurred()) SWIG_fail
;
9688 resultobj
= SWIG_FromInt((int)result
);
9695 static PyObject
*_wrap_Joystick_GetUPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9696 PyObject
*resultobj
;
9697 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9699 PyObject
* obj0
= 0 ;
9701 (char *) "self", NULL
9704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUPosition",kwnames
,&obj0
)) goto fail
;
9705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9709 result
= (int)(arg1
)->GetUPosition();
9711 wxPyEndAllowThreads(__tstate
);
9712 if (PyErr_Occurred()) SWIG_fail
;
9714 resultobj
= SWIG_FromInt((int)result
);
9721 static PyObject
*_wrap_Joystick_GetVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9722 PyObject
*resultobj
;
9723 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9725 PyObject
* obj0
= 0 ;
9727 (char *) "self", NULL
9730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVPosition",kwnames
,&obj0
)) goto fail
;
9731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9735 result
= (int)(arg1
)->GetVPosition();
9737 wxPyEndAllowThreads(__tstate
);
9738 if (PyErr_Occurred()) SWIG_fail
;
9740 resultobj
= SWIG_FromInt((int)result
);
9747 static PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9748 PyObject
*resultobj
;
9749 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9751 PyObject
* obj0
= 0 ;
9753 (char *) "self", NULL
9756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMovementThreshold",kwnames
,&obj0
)) goto fail
;
9757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9761 result
= (int)(arg1
)->GetMovementThreshold();
9763 wxPyEndAllowThreads(__tstate
);
9764 if (PyErr_Occurred()) SWIG_fail
;
9766 resultobj
= SWIG_FromInt((int)result
);
9773 static PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9774 PyObject
*resultobj
;
9775 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9777 PyObject
* obj0
= 0 ;
9778 PyObject
* obj1
= 0 ;
9780 (char *) "self",(char *) "threshold", NULL
9783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Joystick_SetMovementThreshold",kwnames
,&obj0
,&obj1
)) goto fail
;
9784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9786 arg2
= (int) SWIG_AsInt(obj1
);
9787 if (PyErr_Occurred()) SWIG_fail
;
9789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9790 (arg1
)->SetMovementThreshold(arg2
);
9792 wxPyEndAllowThreads(__tstate
);
9793 if (PyErr_Occurred()) SWIG_fail
;
9795 Py_INCREF(Py_None
); resultobj
= Py_None
;
9802 static PyObject
*_wrap_Joystick_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9803 PyObject
*resultobj
;
9804 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9806 PyObject
* obj0
= 0 ;
9808 (char *) "self", NULL
9811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_IsOk",kwnames
,&obj0
)) goto fail
;
9812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9816 result
= (bool)(arg1
)->IsOk();
9818 wxPyEndAllowThreads(__tstate
);
9819 if (PyErr_Occurred()) SWIG_fail
;
9822 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9830 static PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9831 PyObject
*resultobj
;
9832 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9834 PyObject
* obj0
= 0 ;
9836 (char *) "self", NULL
9839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberJoysticks",kwnames
,&obj0
)) goto fail
;
9840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9844 result
= (int)(arg1
)->GetNumberJoysticks();
9846 wxPyEndAllowThreads(__tstate
);
9847 if (PyErr_Occurred()) SWIG_fail
;
9849 resultobj
= SWIG_FromInt((int)result
);
9856 static PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9857 PyObject
*resultobj
;
9858 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9860 PyObject
* obj0
= 0 ;
9862 (char *) "self", NULL
9865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetManufacturerId",kwnames
,&obj0
)) goto fail
;
9866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9870 result
= (int)(arg1
)->GetManufacturerId();
9872 wxPyEndAllowThreads(__tstate
);
9873 if (PyErr_Occurred()) SWIG_fail
;
9875 resultobj
= SWIG_FromInt((int)result
);
9882 static PyObject
*_wrap_Joystick_GetProductId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9883 PyObject
*resultobj
;
9884 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9886 PyObject
* obj0
= 0 ;
9888 (char *) "self", NULL
9891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductId",kwnames
,&obj0
)) goto fail
;
9892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9896 result
= (int)(arg1
)->GetProductId();
9898 wxPyEndAllowThreads(__tstate
);
9899 if (PyErr_Occurred()) SWIG_fail
;
9901 resultobj
= SWIG_FromInt((int)result
);
9908 static PyObject
*_wrap_Joystick_GetProductName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9909 PyObject
*resultobj
;
9910 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9912 PyObject
* obj0
= 0 ;
9914 (char *) "self", NULL
9917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductName",kwnames
,&obj0
)) goto fail
;
9918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9922 result
= (arg1
)->GetProductName();
9924 wxPyEndAllowThreads(__tstate
);
9925 if (PyErr_Occurred()) SWIG_fail
;
9929 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9931 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9940 static PyObject
*_wrap_Joystick_GetXMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9941 PyObject
*resultobj
;
9942 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9944 PyObject
* obj0
= 0 ;
9946 (char *) "self", NULL
9949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMin",kwnames
,&obj0
)) goto fail
;
9950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9954 result
= (int)(arg1
)->GetXMin();
9956 wxPyEndAllowThreads(__tstate
);
9957 if (PyErr_Occurred()) SWIG_fail
;
9959 resultobj
= SWIG_FromInt((int)result
);
9966 static PyObject
*_wrap_Joystick_GetYMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9967 PyObject
*resultobj
;
9968 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9970 PyObject
* obj0
= 0 ;
9972 (char *) "self", NULL
9975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMin",kwnames
,&obj0
)) goto fail
;
9976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9980 result
= (int)(arg1
)->GetYMin();
9982 wxPyEndAllowThreads(__tstate
);
9983 if (PyErr_Occurred()) SWIG_fail
;
9985 resultobj
= SWIG_FromInt((int)result
);
9992 static PyObject
*_wrap_Joystick_GetZMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9993 PyObject
*resultobj
;
9994 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9996 PyObject
* obj0
= 0 ;
9998 (char *) "self", NULL
10001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMin",kwnames
,&obj0
)) goto fail
;
10002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10006 result
= (int)(arg1
)->GetZMin();
10008 wxPyEndAllowThreads(__tstate
);
10009 if (PyErr_Occurred()) SWIG_fail
;
10011 resultobj
= SWIG_FromInt((int)result
);
10018 static PyObject
*_wrap_Joystick_GetXMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10019 PyObject
*resultobj
;
10020 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10022 PyObject
* obj0
= 0 ;
10023 char *kwnames
[] = {
10024 (char *) "self", NULL
10027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMax",kwnames
,&obj0
)) goto fail
;
10028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10032 result
= (int)(arg1
)->GetXMax();
10034 wxPyEndAllowThreads(__tstate
);
10035 if (PyErr_Occurred()) SWIG_fail
;
10037 resultobj
= SWIG_FromInt((int)result
);
10044 static PyObject
*_wrap_Joystick_GetYMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10045 PyObject
*resultobj
;
10046 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10048 PyObject
* obj0
= 0 ;
10049 char *kwnames
[] = {
10050 (char *) "self", NULL
10053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMax",kwnames
,&obj0
)) goto fail
;
10054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10058 result
= (int)(arg1
)->GetYMax();
10060 wxPyEndAllowThreads(__tstate
);
10061 if (PyErr_Occurred()) SWIG_fail
;
10063 resultobj
= SWIG_FromInt((int)result
);
10070 static PyObject
*_wrap_Joystick_GetZMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10071 PyObject
*resultobj
;
10072 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10074 PyObject
* obj0
= 0 ;
10075 char *kwnames
[] = {
10076 (char *) "self", NULL
10079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMax",kwnames
,&obj0
)) goto fail
;
10080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10084 result
= (int)(arg1
)->GetZMax();
10086 wxPyEndAllowThreads(__tstate
);
10087 if (PyErr_Occurred()) SWIG_fail
;
10089 resultobj
= SWIG_FromInt((int)result
);
10096 static PyObject
*_wrap_Joystick_GetNumberButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10097 PyObject
*resultobj
;
10098 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10100 PyObject
* obj0
= 0 ;
10101 char *kwnames
[] = {
10102 (char *) "self", NULL
10105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberButtons",kwnames
,&obj0
)) goto fail
;
10106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10110 result
= (int)(arg1
)->GetNumberButtons();
10112 wxPyEndAllowThreads(__tstate
);
10113 if (PyErr_Occurred()) SWIG_fail
;
10115 resultobj
= SWIG_FromInt((int)result
);
10122 static PyObject
*_wrap_Joystick_GetNumberAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10123 PyObject
*resultobj
;
10124 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10126 PyObject
* obj0
= 0 ;
10127 char *kwnames
[] = {
10128 (char *) "self", NULL
10131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberAxes",kwnames
,&obj0
)) goto fail
;
10132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10136 result
= (int)(arg1
)->GetNumberAxes();
10138 wxPyEndAllowThreads(__tstate
);
10139 if (PyErr_Occurred()) SWIG_fail
;
10141 resultobj
= SWIG_FromInt((int)result
);
10148 static PyObject
*_wrap_Joystick_GetMaxButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10149 PyObject
*resultobj
;
10150 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10152 PyObject
* obj0
= 0 ;
10153 char *kwnames
[] = {
10154 (char *) "self", NULL
10157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxButtons",kwnames
,&obj0
)) goto fail
;
10158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10162 result
= (int)(arg1
)->GetMaxButtons();
10164 wxPyEndAllowThreads(__tstate
);
10165 if (PyErr_Occurred()) SWIG_fail
;
10167 resultobj
= SWIG_FromInt((int)result
);
10174 static PyObject
*_wrap_Joystick_GetMaxAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10175 PyObject
*resultobj
;
10176 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10178 PyObject
* obj0
= 0 ;
10179 char *kwnames
[] = {
10180 (char *) "self", NULL
10183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxAxes",kwnames
,&obj0
)) goto fail
;
10184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10188 result
= (int)(arg1
)->GetMaxAxes();
10190 wxPyEndAllowThreads(__tstate
);
10191 if (PyErr_Occurred()) SWIG_fail
;
10193 resultobj
= SWIG_FromInt((int)result
);
10200 static PyObject
*_wrap_Joystick_GetPollingMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10201 PyObject
*resultobj
;
10202 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10204 PyObject
* obj0
= 0 ;
10205 char *kwnames
[] = {
10206 (char *) "self", NULL
10209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMin",kwnames
,&obj0
)) goto fail
;
10210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10214 result
= (int)(arg1
)->GetPollingMin();
10216 wxPyEndAllowThreads(__tstate
);
10217 if (PyErr_Occurred()) SWIG_fail
;
10219 resultobj
= SWIG_FromInt((int)result
);
10226 static PyObject
*_wrap_Joystick_GetPollingMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10227 PyObject
*resultobj
;
10228 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10230 PyObject
* obj0
= 0 ;
10231 char *kwnames
[] = {
10232 (char *) "self", NULL
10235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMax",kwnames
,&obj0
)) goto fail
;
10236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10240 result
= (int)(arg1
)->GetPollingMax();
10242 wxPyEndAllowThreads(__tstate
);
10243 if (PyErr_Occurred()) SWIG_fail
;
10245 resultobj
= SWIG_FromInt((int)result
);
10252 static PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10253 PyObject
*resultobj
;
10254 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10256 PyObject
* obj0
= 0 ;
10257 char *kwnames
[] = {
10258 (char *) "self", NULL
10261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMin",kwnames
,&obj0
)) goto fail
;
10262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10266 result
= (int)(arg1
)->GetRudderMin();
10268 wxPyEndAllowThreads(__tstate
);
10269 if (PyErr_Occurred()) SWIG_fail
;
10271 resultobj
= SWIG_FromInt((int)result
);
10278 static PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10279 PyObject
*resultobj
;
10280 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10282 PyObject
* obj0
= 0 ;
10283 char *kwnames
[] = {
10284 (char *) "self", NULL
10287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMax",kwnames
,&obj0
)) goto fail
;
10288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10292 result
= (int)(arg1
)->GetRudderMax();
10294 wxPyEndAllowThreads(__tstate
);
10295 if (PyErr_Occurred()) SWIG_fail
;
10297 resultobj
= SWIG_FromInt((int)result
);
10304 static PyObject
*_wrap_Joystick_GetUMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10305 PyObject
*resultobj
;
10306 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10308 PyObject
* obj0
= 0 ;
10309 char *kwnames
[] = {
10310 (char *) "self", NULL
10313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMin",kwnames
,&obj0
)) goto fail
;
10314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10318 result
= (int)(arg1
)->GetUMin();
10320 wxPyEndAllowThreads(__tstate
);
10321 if (PyErr_Occurred()) SWIG_fail
;
10323 resultobj
= SWIG_FromInt((int)result
);
10330 static PyObject
*_wrap_Joystick_GetUMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10331 PyObject
*resultobj
;
10332 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10334 PyObject
* obj0
= 0 ;
10335 char *kwnames
[] = {
10336 (char *) "self", NULL
10339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMax",kwnames
,&obj0
)) goto fail
;
10340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10344 result
= (int)(arg1
)->GetUMax();
10346 wxPyEndAllowThreads(__tstate
);
10347 if (PyErr_Occurred()) SWIG_fail
;
10349 resultobj
= SWIG_FromInt((int)result
);
10356 static PyObject
*_wrap_Joystick_GetVMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10357 PyObject
*resultobj
;
10358 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10360 PyObject
* obj0
= 0 ;
10361 char *kwnames
[] = {
10362 (char *) "self", NULL
10365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMin",kwnames
,&obj0
)) goto fail
;
10366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10370 result
= (int)(arg1
)->GetVMin();
10372 wxPyEndAllowThreads(__tstate
);
10373 if (PyErr_Occurred()) SWIG_fail
;
10375 resultobj
= SWIG_FromInt((int)result
);
10382 static PyObject
*_wrap_Joystick_GetVMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10383 PyObject
*resultobj
;
10384 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10386 PyObject
* obj0
= 0 ;
10387 char *kwnames
[] = {
10388 (char *) "self", NULL
10391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMax",kwnames
,&obj0
)) goto fail
;
10392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10396 result
= (int)(arg1
)->GetVMax();
10398 wxPyEndAllowThreads(__tstate
);
10399 if (PyErr_Occurred()) SWIG_fail
;
10401 resultobj
= SWIG_FromInt((int)result
);
10408 static PyObject
*_wrap_Joystick_HasRudder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10409 PyObject
*resultobj
;
10410 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10412 PyObject
* obj0
= 0 ;
10413 char *kwnames
[] = {
10414 (char *) "self", NULL
10417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasRudder",kwnames
,&obj0
)) goto fail
;
10418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10422 result
= (bool)(arg1
)->HasRudder();
10424 wxPyEndAllowThreads(__tstate
);
10425 if (PyErr_Occurred()) SWIG_fail
;
10428 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10436 static PyObject
*_wrap_Joystick_HasZ(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10437 PyObject
*resultobj
;
10438 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10440 PyObject
* obj0
= 0 ;
10441 char *kwnames
[] = {
10442 (char *) "self", NULL
10445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasZ",kwnames
,&obj0
)) goto fail
;
10446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10450 result
= (bool)(arg1
)->HasZ();
10452 wxPyEndAllowThreads(__tstate
);
10453 if (PyErr_Occurred()) SWIG_fail
;
10456 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10464 static PyObject
*_wrap_Joystick_HasU(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10465 PyObject
*resultobj
;
10466 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10468 PyObject
* obj0
= 0 ;
10469 char *kwnames
[] = {
10470 (char *) "self", NULL
10473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasU",kwnames
,&obj0
)) goto fail
;
10474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10478 result
= (bool)(arg1
)->HasU();
10480 wxPyEndAllowThreads(__tstate
);
10481 if (PyErr_Occurred()) SWIG_fail
;
10484 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10492 static PyObject
*_wrap_Joystick_HasV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10493 PyObject
*resultobj
;
10494 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10496 PyObject
* obj0
= 0 ;
10497 char *kwnames
[] = {
10498 (char *) "self", NULL
10501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasV",kwnames
,&obj0
)) goto fail
;
10502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10506 result
= (bool)(arg1
)->HasV();
10508 wxPyEndAllowThreads(__tstate
);
10509 if (PyErr_Occurred()) SWIG_fail
;
10512 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10520 static PyObject
*_wrap_Joystick_HasPOV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10521 PyObject
*resultobj
;
10522 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10524 PyObject
* obj0
= 0 ;
10525 char *kwnames
[] = {
10526 (char *) "self", NULL
10529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV",kwnames
,&obj0
)) goto fail
;
10530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10534 result
= (bool)(arg1
)->HasPOV();
10536 wxPyEndAllowThreads(__tstate
);
10537 if (PyErr_Occurred()) SWIG_fail
;
10540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10548 static PyObject
*_wrap_Joystick_HasPOV4Dir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10549 PyObject
*resultobj
;
10550 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10552 PyObject
* obj0
= 0 ;
10553 char *kwnames
[] = {
10554 (char *) "self", NULL
10557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV4Dir",kwnames
,&obj0
)) goto fail
;
10558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10562 result
= (bool)(arg1
)->HasPOV4Dir();
10564 wxPyEndAllowThreads(__tstate
);
10565 if (PyErr_Occurred()) SWIG_fail
;
10568 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10576 static PyObject
*_wrap_Joystick_HasPOVCTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10577 PyObject
*resultobj
;
10578 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10580 PyObject
* obj0
= 0 ;
10581 char *kwnames
[] = {
10582 (char *) "self", NULL
10585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOVCTS",kwnames
,&obj0
)) goto fail
;
10586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10590 result
= (bool)(arg1
)->HasPOVCTS();
10592 wxPyEndAllowThreads(__tstate
);
10593 if (PyErr_Occurred()) SWIG_fail
;
10596 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10604 static PyObject
*_wrap_Joystick_SetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10605 PyObject
*resultobj
;
10606 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10607 wxWindow
*arg2
= (wxWindow
*) 0 ;
10608 int arg3
= (int) 0 ;
10610 PyObject
* obj0
= 0 ;
10611 PyObject
* obj1
= 0 ;
10612 PyObject
* obj2
= 0 ;
10613 char *kwnames
[] = {
10614 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
10617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10620 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10623 arg3
= (int) SWIG_AsInt(obj2
);
10624 if (PyErr_Occurred()) SWIG_fail
;
10627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10628 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
10630 wxPyEndAllowThreads(__tstate
);
10631 if (PyErr_Occurred()) SWIG_fail
;
10634 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10642 static PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10643 PyObject
*resultobj
;
10644 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10646 PyObject
* obj0
= 0 ;
10647 char *kwnames
[] = {
10648 (char *) "self", NULL
10651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_ReleaseCapture",kwnames
,&obj0
)) goto fail
;
10652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10656 result
= (bool)(arg1
)->ReleaseCapture();
10658 wxPyEndAllowThreads(__tstate
);
10659 if (PyErr_Occurred()) SWIG_fail
;
10662 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10670 static PyObject
* Joystick_swigregister(PyObject
*self
, PyObject
*args
) {
10672 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10673 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick
, obj
);
10675 return Py_BuildValue((char *)"");
10677 static PyObject
*_wrap_JoystickEvent_m_pos_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10678 PyObject
*resultobj
;
10679 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10680 wxPoint
*arg2
= (wxPoint
*) 0 ;
10681 PyObject
* obj0
= 0 ;
10682 PyObject
* obj1
= 0 ;
10683 char *kwnames
[] = {
10684 (char *) "self",(char *) "m_pos", NULL
10687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10690 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
10691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10692 if (arg1
) (arg1
)->m_pos
= *arg2
;
10694 Py_INCREF(Py_None
); resultobj
= Py_None
;
10701 static PyObject
*_wrap_JoystickEvent_m_pos_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10702 PyObject
*resultobj
;
10703 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10705 PyObject
* obj0
= 0 ;
10706 char *kwnames
[] = {
10707 (char *) "self", NULL
10710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
10711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10713 result
= (wxPoint
*)& ((arg1
)->m_pos
);
10715 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
10722 static PyObject
*_wrap_JoystickEvent_m_zPosition_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10723 PyObject
*resultobj
;
10724 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10726 PyObject
* obj0
= 0 ;
10727 PyObject
* obj1
= 0 ;
10728 char *kwnames
[] = {
10729 (char *) "self",(char *) "m_zPosition", NULL
10732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_zPosition_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10735 arg2
= (int) SWIG_AsInt(obj1
);
10736 if (PyErr_Occurred()) SWIG_fail
;
10737 if (arg1
) (arg1
)->m_zPosition
= arg2
;
10739 Py_INCREF(Py_None
); resultobj
= Py_None
;
10746 static PyObject
*_wrap_JoystickEvent_m_zPosition_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10747 PyObject
*resultobj
;
10748 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10750 PyObject
* obj0
= 0 ;
10751 char *kwnames
[] = {
10752 (char *) "self", NULL
10755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_zPosition_get",kwnames
,&obj0
)) goto fail
;
10756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10758 result
= (int) ((arg1
)->m_zPosition
);
10760 resultobj
= SWIG_FromInt((int)result
);
10767 static PyObject
*_wrap_JoystickEvent_m_buttonChange_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10768 PyObject
*resultobj
;
10769 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10771 PyObject
* obj0
= 0 ;
10772 PyObject
* obj1
= 0 ;
10773 char *kwnames
[] = {
10774 (char *) "self",(char *) "m_buttonChange", NULL
10777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonChange_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10780 arg2
= (int) SWIG_AsInt(obj1
);
10781 if (PyErr_Occurred()) SWIG_fail
;
10782 if (arg1
) (arg1
)->m_buttonChange
= arg2
;
10784 Py_INCREF(Py_None
); resultobj
= Py_None
;
10791 static PyObject
*_wrap_JoystickEvent_m_buttonChange_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10792 PyObject
*resultobj
;
10793 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10795 PyObject
* obj0
= 0 ;
10796 char *kwnames
[] = {
10797 (char *) "self", NULL
10800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonChange_get",kwnames
,&obj0
)) goto fail
;
10801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10803 result
= (int) ((arg1
)->m_buttonChange
);
10805 resultobj
= SWIG_FromInt((int)result
);
10812 static PyObject
*_wrap_JoystickEvent_m_buttonState_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10813 PyObject
*resultobj
;
10814 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10816 PyObject
* obj0
= 0 ;
10817 PyObject
* obj1
= 0 ;
10818 char *kwnames
[] = {
10819 (char *) "self",(char *) "m_buttonState", NULL
10822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonState_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10825 arg2
= (int) SWIG_AsInt(obj1
);
10826 if (PyErr_Occurred()) SWIG_fail
;
10827 if (arg1
) (arg1
)->m_buttonState
= arg2
;
10829 Py_INCREF(Py_None
); resultobj
= Py_None
;
10836 static PyObject
*_wrap_JoystickEvent_m_buttonState_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10837 PyObject
*resultobj
;
10838 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10840 PyObject
* obj0
= 0 ;
10841 char *kwnames
[] = {
10842 (char *) "self", NULL
10845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonState_get",kwnames
,&obj0
)) goto fail
;
10846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10848 result
= (int) ((arg1
)->m_buttonState
);
10850 resultobj
= SWIG_FromInt((int)result
);
10857 static PyObject
*_wrap_JoystickEvent_m_joyStick_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10858 PyObject
*resultobj
;
10859 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10861 PyObject
* obj0
= 0 ;
10862 PyObject
* obj1
= 0 ;
10863 char *kwnames
[] = {
10864 (char *) "self",(char *) "m_joyStick", NULL
10867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_joyStick_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10870 arg2
= (int) SWIG_AsInt(obj1
);
10871 if (PyErr_Occurred()) SWIG_fail
;
10872 if (arg1
) (arg1
)->m_joyStick
= arg2
;
10874 Py_INCREF(Py_None
); resultobj
= Py_None
;
10881 static PyObject
*_wrap_JoystickEvent_m_joyStick_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10882 PyObject
*resultobj
;
10883 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10885 PyObject
* obj0
= 0 ;
10886 char *kwnames
[] = {
10887 (char *) "self", NULL
10890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_joyStick_get",kwnames
,&obj0
)) goto fail
;
10891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10893 result
= (int) ((arg1
)->m_joyStick
);
10895 resultobj
= SWIG_FromInt((int)result
);
10902 static PyObject
*_wrap_new_JoystickEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10903 PyObject
*resultobj
;
10904 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
10905 int arg2
= (int) 0 ;
10906 int arg3
= (int) wxJOYSTICK1
;
10907 int arg4
= (int) 0 ;
10908 wxJoystickEvent
*result
;
10909 PyObject
* obj0
= 0 ;
10910 PyObject
* obj1
= 0 ;
10911 PyObject
* obj2
= 0 ;
10912 PyObject
* obj3
= 0 ;
10913 char *kwnames
[] = {
10914 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
10917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_JoystickEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10919 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
10920 if (PyErr_Occurred()) SWIG_fail
;
10923 arg2
= (int) SWIG_AsInt(obj1
);
10924 if (PyErr_Occurred()) SWIG_fail
;
10927 arg3
= (int) SWIG_AsInt(obj2
);
10928 if (PyErr_Occurred()) SWIG_fail
;
10931 arg4
= (int) SWIG_AsInt(obj3
);
10932 if (PyErr_Occurred()) SWIG_fail
;
10935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10936 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
10938 wxPyEndAllowThreads(__tstate
);
10939 if (PyErr_Occurred()) SWIG_fail
;
10941 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystickEvent
, 1);
10948 static PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10949 PyObject
*resultobj
;
10950 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10952 PyObject
* obj0
= 0 ;
10953 char *kwnames
[] = {
10954 (char *) "self", NULL
10957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
10958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10962 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
10964 wxPyEndAllowThreads(__tstate
);
10965 if (PyErr_Occurred()) SWIG_fail
;
10968 wxPoint
* resultptr
;
10969 resultptr
= new wxPoint((wxPoint
&) result
);
10970 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
10978 static PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10979 PyObject
*resultobj
;
10980 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10982 PyObject
* obj0
= 0 ;
10983 char *kwnames
[] = {
10984 (char *) "self", NULL
10987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetZPosition",kwnames
,&obj0
)) goto fail
;
10988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10992 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
10994 wxPyEndAllowThreads(__tstate
);
10995 if (PyErr_Occurred()) SWIG_fail
;
10997 resultobj
= SWIG_FromInt((int)result
);
11004 static PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11005 PyObject
*resultobj
;
11006 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11008 PyObject
* obj0
= 0 ;
11009 char *kwnames
[] = {
11010 (char *) "self", NULL
11013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonState",kwnames
,&obj0
)) goto fail
;
11014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11018 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
11020 wxPyEndAllowThreads(__tstate
);
11021 if (PyErr_Occurred()) SWIG_fail
;
11023 resultobj
= SWIG_FromInt((int)result
);
11030 static PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11031 PyObject
*resultobj
;
11032 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11034 PyObject
* obj0
= 0 ;
11035 char *kwnames
[] = {
11036 (char *) "self", NULL
11039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonChange",kwnames
,&obj0
)) goto fail
;
11040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11044 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
11046 wxPyEndAllowThreads(__tstate
);
11047 if (PyErr_Occurred()) SWIG_fail
;
11049 resultobj
= SWIG_FromInt((int)result
);
11056 static PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11057 PyObject
*resultobj
;
11058 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11060 PyObject
* obj0
= 0 ;
11061 char *kwnames
[] = {
11062 (char *) "self", NULL
11065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetJoystick",kwnames
,&obj0
)) goto fail
;
11066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11070 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
11072 wxPyEndAllowThreads(__tstate
);
11073 if (PyErr_Occurred()) SWIG_fail
;
11075 resultobj
= SWIG_FromInt((int)result
);
11082 static PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11083 PyObject
*resultobj
;
11084 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11086 PyObject
* obj0
= 0 ;
11087 PyObject
* obj1
= 0 ;
11088 char *kwnames
[] = {
11089 (char *) "self",(char *) "stick", NULL
11092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetJoystick",kwnames
,&obj0
,&obj1
)) goto fail
;
11093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11095 arg2
= (int) SWIG_AsInt(obj1
);
11096 if (PyErr_Occurred()) SWIG_fail
;
11098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11099 (arg1
)->SetJoystick(arg2
);
11101 wxPyEndAllowThreads(__tstate
);
11102 if (PyErr_Occurred()) SWIG_fail
;
11104 Py_INCREF(Py_None
); resultobj
= Py_None
;
11111 static PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11112 PyObject
*resultobj
;
11113 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11115 PyObject
* obj0
= 0 ;
11116 PyObject
* obj1
= 0 ;
11117 char *kwnames
[] = {
11118 (char *) "self",(char *) "state", NULL
11121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonState",kwnames
,&obj0
,&obj1
)) goto fail
;
11122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11124 arg2
= (int) SWIG_AsInt(obj1
);
11125 if (PyErr_Occurred()) SWIG_fail
;
11127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11128 (arg1
)->SetButtonState(arg2
);
11130 wxPyEndAllowThreads(__tstate
);
11131 if (PyErr_Occurred()) SWIG_fail
;
11133 Py_INCREF(Py_None
); resultobj
= Py_None
;
11140 static PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11141 PyObject
*resultobj
;
11142 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11144 PyObject
* obj0
= 0 ;
11145 PyObject
* obj1
= 0 ;
11146 char *kwnames
[] = {
11147 (char *) "self",(char *) "change", NULL
11150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&obj1
)) goto fail
;
11151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11153 arg2
= (int) SWIG_AsInt(obj1
);
11154 if (PyErr_Occurred()) SWIG_fail
;
11156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11157 (arg1
)->SetButtonChange(arg2
);
11159 wxPyEndAllowThreads(__tstate
);
11160 if (PyErr_Occurred()) SWIG_fail
;
11162 Py_INCREF(Py_None
); resultobj
= Py_None
;
11169 static PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11170 PyObject
*resultobj
;
11171 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11172 wxPoint
*arg2
= 0 ;
11174 PyObject
* obj0
= 0 ;
11175 PyObject
* obj1
= 0 ;
11176 char *kwnames
[] = {
11177 (char *) "self",(char *) "pos", NULL
11180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11185 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11189 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
11191 wxPyEndAllowThreads(__tstate
);
11192 if (PyErr_Occurred()) SWIG_fail
;
11194 Py_INCREF(Py_None
); resultobj
= Py_None
;
11201 static PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11202 PyObject
*resultobj
;
11203 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11205 PyObject
* obj0
= 0 ;
11206 PyObject
* obj1
= 0 ;
11207 char *kwnames
[] = {
11208 (char *) "self",(char *) "zPos", NULL
11211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetZPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11214 arg2
= (int) SWIG_AsInt(obj1
);
11215 if (PyErr_Occurred()) SWIG_fail
;
11217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11218 (arg1
)->SetZPosition(arg2
);
11220 wxPyEndAllowThreads(__tstate
);
11221 if (PyErr_Occurred()) SWIG_fail
;
11223 Py_INCREF(Py_None
); resultobj
= Py_None
;
11230 static PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11231 PyObject
*resultobj
;
11232 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11234 PyObject
* obj0
= 0 ;
11235 char *kwnames
[] = {
11236 (char *) "self", NULL
11239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsButton",kwnames
,&obj0
)) goto fail
;
11240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11244 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
11246 wxPyEndAllowThreads(__tstate
);
11247 if (PyErr_Occurred()) SWIG_fail
;
11250 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11258 static PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11259 PyObject
*resultobj
;
11260 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11262 PyObject
* obj0
= 0 ;
11263 char *kwnames
[] = {
11264 (char *) "self", NULL
11267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsMove",kwnames
,&obj0
)) goto fail
;
11268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11272 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
11274 wxPyEndAllowThreads(__tstate
);
11275 if (PyErr_Occurred()) SWIG_fail
;
11278 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11286 static PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11287 PyObject
*resultobj
;
11288 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11290 PyObject
* obj0
= 0 ;
11291 char *kwnames
[] = {
11292 (char *) "self", NULL
11295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsZMove",kwnames
,&obj0
)) goto fail
;
11296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11300 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
11302 wxPyEndAllowThreads(__tstate
);
11303 if (PyErr_Occurred()) SWIG_fail
;
11306 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11314 static PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11315 PyObject
*resultobj
;
11316 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11317 int arg2
= (int) wxJOY_BUTTON_ANY
;
11319 PyObject
* obj0
= 0 ;
11320 PyObject
* obj1
= 0 ;
11321 char *kwnames
[] = {
11322 (char *) "self",(char *) "but", NULL
11325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
11326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11329 arg2
= (int) SWIG_AsInt(obj1
);
11330 if (PyErr_Occurred()) SWIG_fail
;
11333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11334 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
11336 wxPyEndAllowThreads(__tstate
);
11337 if (PyErr_Occurred()) SWIG_fail
;
11340 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11348 static PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11349 PyObject
*resultobj
;
11350 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11351 int arg2
= (int) wxJOY_BUTTON_ANY
;
11353 PyObject
* obj0
= 0 ;
11354 PyObject
* obj1
= 0 ;
11355 char *kwnames
[] = {
11356 (char *) "self",(char *) "but", NULL
11359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
11360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11363 arg2
= (int) SWIG_AsInt(obj1
);
11364 if (PyErr_Occurred()) SWIG_fail
;
11367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11368 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
11370 wxPyEndAllowThreads(__tstate
);
11371 if (PyErr_Occurred()) SWIG_fail
;
11374 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11382 static PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11383 PyObject
*resultobj
;
11384 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11385 int arg2
= (int) wxJOY_BUTTON_ANY
;
11387 PyObject
* obj0
= 0 ;
11388 PyObject
* obj1
= 0 ;
11389 char *kwnames
[] = {
11390 (char *) "self",(char *) "but", NULL
11393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
11394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11397 arg2
= (int) SWIG_AsInt(obj1
);
11398 if (PyErr_Occurred()) SWIG_fail
;
11401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11402 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
11404 wxPyEndAllowThreads(__tstate
);
11405 if (PyErr_Occurred()) SWIG_fail
;
11408 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11416 static PyObject
* JoystickEvent_swigregister(PyObject
*self
, PyObject
*args
) {
11418 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11419 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent
, obj
);
11421 return Py_BuildValue((char *)"");
11423 static PyObject
*_wrap_new_Sound(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11424 PyObject
*resultobj
;
11425 wxString
const &arg1_defvalue
= wxPyEmptyString
;
11426 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
11428 bool temp1
= False
;
11429 PyObject
* obj0
= 0 ;
11430 char *kwnames
[] = {
11431 (char *) "fileName", NULL
11434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Sound",kwnames
,&obj0
)) goto fail
;
11437 arg1
= wxString_in_helper(obj0
);
11438 if (arg1
== NULL
) SWIG_fail
;
11443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11444 result
= (wxSound
*)new_wxSound((wxString
const &)*arg1
);
11446 wxPyEndAllowThreads(__tstate
);
11447 if (PyErr_Occurred()) SWIG_fail
;
11449 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
11464 static PyObject
*_wrap_new_SoundFromData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11465 PyObject
*resultobj
;
11466 PyObject
*arg1
= (PyObject
*) 0 ;
11468 PyObject
* obj0
= 0 ;
11469 char *kwnames
[] = {
11470 (char *) "data", NULL
11473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_SoundFromData",kwnames
,&obj0
)) goto fail
;
11476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11477 result
= (wxSound
*)new_wxSound(arg1
);
11479 wxPyEndAllowThreads(__tstate
);
11480 if (PyErr_Occurred()) SWIG_fail
;
11482 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
11489 static PyObject
*_wrap_delete_Sound(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11490 PyObject
*resultobj
;
11491 wxSound
*arg1
= (wxSound
*) 0 ;
11492 PyObject
* obj0
= 0 ;
11493 char *kwnames
[] = {
11494 (char *) "self", NULL
11497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Sound",kwnames
,&obj0
)) goto fail
;
11498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11504 wxPyEndAllowThreads(__tstate
);
11505 if (PyErr_Occurred()) SWIG_fail
;
11507 Py_INCREF(Py_None
); resultobj
= Py_None
;
11514 static PyObject
*_wrap_Sound_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11515 PyObject
*resultobj
;
11516 wxSound
*arg1
= (wxSound
*) 0 ;
11517 wxString
*arg2
= 0 ;
11519 bool temp2
= False
;
11520 PyObject
* obj0
= 0 ;
11521 PyObject
* obj1
= 0 ;
11522 char *kwnames
[] = {
11523 (char *) "self",(char *) "fileName", NULL
11526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_Create",kwnames
,&obj0
,&obj1
)) goto fail
;
11527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11530 arg2
= wxString_in_helper(obj1
);
11531 if (arg2
== NULL
) SWIG_fail
;
11535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11536 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
);
11538 wxPyEndAllowThreads(__tstate
);
11539 if (PyErr_Occurred()) SWIG_fail
;
11542 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11558 static PyObject
*_wrap_Sound_CreateFromData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11559 PyObject
*resultobj
;
11560 wxSound
*arg1
= (wxSound
*) 0 ;
11561 PyObject
*arg2
= (PyObject
*) 0 ;
11563 PyObject
* obj0
= 0 ;
11564 PyObject
* obj1
= 0 ;
11565 char *kwnames
[] = {
11566 (char *) "self",(char *) "data", NULL
11569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_CreateFromData",kwnames
,&obj0
,&obj1
)) goto fail
;
11570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11575 result
= (bool)wxSound_CreateFromData(arg1
,arg2
);
11577 wxPyEndAllowThreads(__tstate
);
11578 if (PyErr_Occurred()) SWIG_fail
;
11581 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11589 static PyObject
*_wrap_Sound_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11590 PyObject
*resultobj
;
11591 wxSound
*arg1
= (wxSound
*) 0 ;
11593 PyObject
* obj0
= 0 ;
11594 char *kwnames
[] = {
11595 (char *) "self", NULL
11598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sound_IsOk",kwnames
,&obj0
)) goto fail
;
11599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11603 result
= (bool)(arg1
)->IsOk();
11605 wxPyEndAllowThreads(__tstate
);
11606 if (PyErr_Occurred()) SWIG_fail
;
11609 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11617 static PyObject
*_wrap_Sound_Play(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11618 PyObject
*resultobj
;
11619 wxSound
*arg1
= (wxSound
*) 0 ;
11620 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
11622 PyObject
* obj0
= 0 ;
11623 PyObject
* obj1
= 0 ;
11624 char *kwnames
[] = {
11625 (char *) "self",(char *) "flags", NULL
11628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_Play",kwnames
,&obj0
,&obj1
)) goto fail
;
11629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11632 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
11633 if (PyErr_Occurred()) SWIG_fail
;
11636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11637 result
= (bool)((wxSound
const *)arg1
)->Play(arg2
);
11639 wxPyEndAllowThreads(__tstate
);
11640 if (PyErr_Occurred()) SWIG_fail
;
11643 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11651 static PyObject
*_wrap_Sound_PlaySound(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11652 PyObject
*resultobj
;
11653 wxString
*arg1
= 0 ;
11654 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
11656 bool temp1
= False
;
11657 PyObject
* obj0
= 0 ;
11658 PyObject
* obj1
= 0 ;
11659 char *kwnames
[] = {
11660 (char *) "filename",(char *) "flags", NULL
11663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_PlaySound",kwnames
,&obj0
,&obj1
)) goto fail
;
11665 arg1
= wxString_in_helper(obj0
);
11666 if (arg1
== NULL
) SWIG_fail
;
11670 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
11671 if (PyErr_Occurred()) SWIG_fail
;
11674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11675 result
= (bool)wxSound::Play((wxString
const &)*arg1
,arg2
);
11677 wxPyEndAllowThreads(__tstate
);
11678 if (PyErr_Occurred()) SWIG_fail
;
11681 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11697 static PyObject
*_wrap_Sound_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11698 PyObject
*resultobj
;
11699 char *kwnames
[] = {
11703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Sound_Stop",kwnames
)) goto fail
;
11705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11708 wxPyEndAllowThreads(__tstate
);
11709 if (PyErr_Occurred()) SWIG_fail
;
11711 Py_INCREF(Py_None
); resultobj
= Py_None
;
11718 static PyObject
* Sound_swigregister(PyObject
*self
, PyObject
*args
) {
11720 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11721 SWIG_TypeClientData(SWIGTYPE_p_wxSound
, obj
);
11723 return Py_BuildValue((char *)"");
11725 static PyObject
*_wrap_new_FileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11726 PyObject
*resultobj
;
11727 wxString
*arg1
= 0 ;
11728 wxString
*arg2
= 0 ;
11729 wxString
*arg3
= 0 ;
11730 wxString
*arg4
= 0 ;
11731 wxFileTypeInfo
*result
;
11732 bool temp1
= False
;
11733 bool temp2
= False
;
11734 bool temp3
= False
;
11735 bool temp4
= False
;
11736 PyObject
* obj0
= 0 ;
11737 PyObject
* obj1
= 0 ;
11738 PyObject
* obj2
= 0 ;
11739 PyObject
* obj3
= 0 ;
11740 char *kwnames
[] = {
11741 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
11744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11746 arg1
= wxString_in_helper(obj0
);
11747 if (arg1
== NULL
) SWIG_fail
;
11751 arg2
= wxString_in_helper(obj1
);
11752 if (arg2
== NULL
) SWIG_fail
;
11756 arg3
= wxString_in_helper(obj2
);
11757 if (arg3
== NULL
) SWIG_fail
;
11761 arg4
= wxString_in_helper(obj3
);
11762 if (arg4
== NULL
) SWIG_fail
;
11766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11767 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
11769 wxPyEndAllowThreads(__tstate
);
11770 if (PyErr_Occurred()) SWIG_fail
;
11772 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
11811 static PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11812 PyObject
*resultobj
;
11813 wxArrayString
*arg1
= 0 ;
11814 wxFileTypeInfo
*result
;
11815 bool temp1
= False
;
11816 PyObject
* obj0
= 0 ;
11817 char *kwnames
[] = {
11818 (char *) "sArray", NULL
11821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) goto fail
;
11823 if (! PySequence_Check(obj0
)) {
11824 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11827 arg1
= new wxArrayString
;
11829 int i
, len
=PySequence_Length(obj0
);
11830 for (i
=0; i
<len
; i
++) {
11831 PyObject
* item
= PySequence_GetItem(obj0
, i
);
11833 PyObject
* str
= PyObject_Unicode(item
);
11835 PyObject
* str
= PyObject_Str(item
);
11837 if (PyErr_Occurred()) SWIG_fail
;
11838 arg1
->Add(Py2wxString(str
));
11844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11845 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
11847 wxPyEndAllowThreads(__tstate
);
11848 if (PyErr_Occurred()) SWIG_fail
;
11850 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
11852 if (temp1
) delete arg1
;
11857 if (temp1
) delete arg1
;
11863 static PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11864 PyObject
*resultobj
;
11865 wxFileTypeInfo
*result
;
11866 char *kwnames
[] = {
11870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NullFileTypeInfo",kwnames
)) goto fail
;
11872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11873 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
11875 wxPyEndAllowThreads(__tstate
);
11876 if (PyErr_Occurred()) SWIG_fail
;
11878 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
11885 static PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11886 PyObject
*resultobj
;
11887 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11889 PyObject
* obj0
= 0 ;
11890 char *kwnames
[] = {
11891 (char *) "self", NULL
11894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_IsValid",kwnames
,&obj0
)) goto fail
;
11895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
11896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11899 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
11901 wxPyEndAllowThreads(__tstate
);
11902 if (PyErr_Occurred()) SWIG_fail
;
11905 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11913 static PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11914 PyObject
*resultobj
;
11915 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11916 wxString
*arg2
= 0 ;
11917 int arg3
= (int) 0 ;
11918 bool temp2
= False
;
11919 PyObject
* obj0
= 0 ;
11920 PyObject
* obj1
= 0 ;
11921 PyObject
* obj2
= 0 ;
11922 char *kwnames
[] = {
11923 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
11926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
11928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11930 arg2
= wxString_in_helper(obj1
);
11931 if (arg2
== NULL
) SWIG_fail
;
11935 arg3
= (int) SWIG_AsInt(obj2
);
11936 if (PyErr_Occurred()) SWIG_fail
;
11939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11940 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
11942 wxPyEndAllowThreads(__tstate
);
11943 if (PyErr_Occurred()) SWIG_fail
;
11945 Py_INCREF(Py_None
); resultobj
= Py_None
;
11960 static PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11961 PyObject
*resultobj
;
11962 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11963 wxString
*arg2
= 0 ;
11964 bool temp2
= False
;
11965 PyObject
* obj0
= 0 ;
11966 PyObject
* obj1
= 0 ;
11967 char *kwnames
[] = {
11968 (char *) "self",(char *) "shortDesc", NULL
11971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
11972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
11973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11975 arg2
= wxString_in_helper(obj1
);
11976 if (arg2
== NULL
) SWIG_fail
;
11980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11981 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
11983 wxPyEndAllowThreads(__tstate
);
11984 if (PyErr_Occurred()) SWIG_fail
;
11986 Py_INCREF(Py_None
); resultobj
= Py_None
;
12001 static PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12002 PyObject
*resultobj
;
12003 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12005 PyObject
* obj0
= 0 ;
12006 char *kwnames
[] = {
12007 (char *) "self", NULL
12010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetMimeType",kwnames
,&obj0
)) goto fail
;
12011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12016 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
12017 result
= (wxString
*) &_result_ref
;
12020 wxPyEndAllowThreads(__tstate
);
12021 if (PyErr_Occurred()) SWIG_fail
;
12025 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12027 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12036 static PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12037 PyObject
*resultobj
;
12038 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12040 PyObject
* obj0
= 0 ;
12041 char *kwnames
[] = {
12042 (char *) "self", NULL
12045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames
,&obj0
)) goto fail
;
12046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12051 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
12052 result
= (wxString
*) &_result_ref
;
12055 wxPyEndAllowThreads(__tstate
);
12056 if (PyErr_Occurred()) SWIG_fail
;
12060 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12062 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12071 static PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12072 PyObject
*resultobj
;
12073 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12075 PyObject
* obj0
= 0 ;
12076 char *kwnames
[] = {
12077 (char *) "self", NULL
12080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames
,&obj0
)) goto fail
;
12081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12086 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
12087 result
= (wxString
*) &_result_ref
;
12090 wxPyEndAllowThreads(__tstate
);
12091 if (PyErr_Occurred()) SWIG_fail
;
12095 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12097 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12106 static PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12107 PyObject
*resultobj
;
12108 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12110 PyObject
* obj0
= 0 ;
12111 char *kwnames
[] = {
12112 (char *) "self", NULL
12115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetShortDesc",kwnames
,&obj0
)) goto fail
;
12116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12121 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
12122 result
= (wxString
*) &_result_ref
;
12125 wxPyEndAllowThreads(__tstate
);
12126 if (PyErr_Occurred()) SWIG_fail
;
12130 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12132 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12141 static PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12142 PyObject
*resultobj
;
12143 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12145 PyObject
* obj0
= 0 ;
12146 char *kwnames
[] = {
12147 (char *) "self", NULL
12150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetDescription",kwnames
,&obj0
)) goto fail
;
12151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12156 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
12157 result
= (wxString
*) &_result_ref
;
12160 wxPyEndAllowThreads(__tstate
);
12161 if (PyErr_Occurred()) SWIG_fail
;
12165 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12167 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12176 static PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12177 PyObject
*resultobj
;
12178 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12179 wxArrayString
*result
;
12180 PyObject
* obj0
= 0 ;
12181 char *kwnames
[] = {
12182 (char *) "self", NULL
12185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensions",kwnames
,&obj0
)) goto fail
;
12186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12191 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
12192 result
= (wxArrayString
*) &_result_ref
;
12195 wxPyEndAllowThreads(__tstate
);
12196 if (PyErr_Occurred()) SWIG_fail
;
12199 resultobj
= wxArrayString2PyList_helper(*result
);
12207 static PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12208 PyObject
*resultobj
;
12209 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12211 PyObject
* obj0
= 0 ;
12212 char *kwnames
[] = {
12213 (char *) "self", NULL
12216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames
,&obj0
)) goto fail
;
12217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12221 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
12223 wxPyEndAllowThreads(__tstate
);
12224 if (PyErr_Occurred()) SWIG_fail
;
12226 resultobj
= SWIG_FromInt((int)result
);
12233 static PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12234 PyObject
*resultobj
;
12235 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12237 PyObject
* obj0
= 0 ;
12238 char *kwnames
[] = {
12239 (char *) "self", NULL
12242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconFile",kwnames
,&obj0
)) goto fail
;
12243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12248 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
12249 result
= (wxString
*) &_result_ref
;
12252 wxPyEndAllowThreads(__tstate
);
12253 if (PyErr_Occurred()) SWIG_fail
;
12257 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12259 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12268 static PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12269 PyObject
*resultobj
;
12270 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12272 PyObject
* obj0
= 0 ;
12273 char *kwnames
[] = {
12274 (char *) "self", NULL
12277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconIndex",kwnames
,&obj0
)) goto fail
;
12278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12282 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
12284 wxPyEndAllowThreads(__tstate
);
12285 if (PyErr_Occurred()) SWIG_fail
;
12287 resultobj
= SWIG_FromInt((int)result
);
12294 static PyObject
* FileTypeInfo_swigregister(PyObject
*self
, PyObject
*args
) {
12296 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12297 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo
, obj
);
12299 return Py_BuildValue((char *)"");
12301 static PyObject
*_wrap_new_FileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12302 PyObject
*resultobj
;
12303 wxFileTypeInfo
*arg1
= 0 ;
12304 wxFileType
*result
;
12305 PyObject
* obj0
= 0 ;
12306 char *kwnames
[] = {
12307 (char *) "ftInfo", NULL
12310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) goto fail
;
12311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12312 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12314 if (arg1
== NULL
) {
12315 PyErr_SetString(PyExc_TypeError
,"null reference");
12319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12320 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
12322 wxPyEndAllowThreads(__tstate
);
12323 if (PyErr_Occurred()) SWIG_fail
;
12325 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
12332 static PyObject
*_wrap_delete_FileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12333 PyObject
*resultobj
;
12334 wxFileType
*arg1
= (wxFileType
*) 0 ;
12335 PyObject
* obj0
= 0 ;
12336 char *kwnames
[] = {
12337 (char *) "self", NULL
12340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileType",kwnames
,&obj0
)) goto fail
;
12341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12347 wxPyEndAllowThreads(__tstate
);
12348 if (PyErr_Occurred()) SWIG_fail
;
12350 Py_INCREF(Py_None
); resultobj
= Py_None
;
12357 static PyObject
*_wrap_FileType_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12358 PyObject
*resultobj
;
12359 wxFileType
*arg1
= (wxFileType
*) 0 ;
12361 PyObject
* obj0
= 0 ;
12362 char *kwnames
[] = {
12363 (char *) "self", NULL
12366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeType",kwnames
,&obj0
)) goto fail
;
12367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12371 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
12373 wxPyEndAllowThreads(__tstate
);
12374 if (PyErr_Occurred()) SWIG_fail
;
12376 resultobj
= result
;
12383 static PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12384 PyObject
*resultobj
;
12385 wxFileType
*arg1
= (wxFileType
*) 0 ;
12387 PyObject
* obj0
= 0 ;
12388 char *kwnames
[] = {
12389 (char *) "self", NULL
12392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeTypes",kwnames
,&obj0
)) goto fail
;
12393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12397 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
12399 wxPyEndAllowThreads(__tstate
);
12400 if (PyErr_Occurred()) SWIG_fail
;
12402 resultobj
= result
;
12409 static PyObject
*_wrap_FileType_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12410 PyObject
*resultobj
;
12411 wxFileType
*arg1
= (wxFileType
*) 0 ;
12413 PyObject
* obj0
= 0 ;
12414 char *kwnames
[] = {
12415 (char *) "self", NULL
12418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetExtensions",kwnames
,&obj0
)) goto fail
;
12419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12423 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
12425 wxPyEndAllowThreads(__tstate
);
12426 if (PyErr_Occurred()) SWIG_fail
;
12428 resultobj
= result
;
12435 static PyObject
*_wrap_FileType_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12436 PyObject
*resultobj
;
12437 wxFileType
*arg1
= (wxFileType
*) 0 ;
12439 PyObject
* obj0
= 0 ;
12440 char *kwnames
[] = {
12441 (char *) "self", NULL
12444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIcon",kwnames
,&obj0
)) goto fail
;
12445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12449 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
12451 wxPyEndAllowThreads(__tstate
);
12452 if (PyErr_Occurred()) SWIG_fail
;
12454 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
12461 static PyObject
*_wrap_FileType_GetIconInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12462 PyObject
*resultobj
;
12463 wxFileType
*arg1
= (wxFileType
*) 0 ;
12465 PyObject
* obj0
= 0 ;
12466 char *kwnames
[] = {
12467 (char *) "self", NULL
12470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIconInfo",kwnames
,&obj0
)) goto fail
;
12471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12475 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
12477 wxPyEndAllowThreads(__tstate
);
12478 if (PyErr_Occurred()) SWIG_fail
;
12480 resultobj
= result
;
12487 static PyObject
*_wrap_FileType_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12488 PyObject
*resultobj
;
12489 wxFileType
*arg1
= (wxFileType
*) 0 ;
12491 PyObject
* obj0
= 0 ;
12492 char *kwnames
[] = {
12493 (char *) "self", NULL
12496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetDescription",kwnames
,&obj0
)) goto fail
;
12497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12501 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
12503 wxPyEndAllowThreads(__tstate
);
12504 if (PyErr_Occurred()) SWIG_fail
;
12506 resultobj
= result
;
12513 static PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12514 PyObject
*resultobj
;
12515 wxFileType
*arg1
= (wxFileType
*) 0 ;
12516 wxString
*arg2
= 0 ;
12517 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12518 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12520 bool temp2
= False
;
12521 bool temp3
= False
;
12522 PyObject
* obj0
= 0 ;
12523 PyObject
* obj1
= 0 ;
12524 PyObject
* obj2
= 0 ;
12525 char *kwnames
[] = {
12526 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12533 arg2
= wxString_in_helper(obj1
);
12534 if (arg2
== NULL
) SWIG_fail
;
12539 arg3
= wxString_in_helper(obj2
);
12540 if (arg3
== NULL
) SWIG_fail
;
12545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12546 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12548 wxPyEndAllowThreads(__tstate
);
12549 if (PyErr_Occurred()) SWIG_fail
;
12551 resultobj
= result
;
12574 static PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12575 PyObject
*resultobj
;
12576 wxFileType
*arg1
= (wxFileType
*) 0 ;
12577 wxString
*arg2
= 0 ;
12578 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12579 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12581 bool temp2
= False
;
12582 bool temp3
= False
;
12583 PyObject
* obj0
= 0 ;
12584 PyObject
* obj1
= 0 ;
12585 PyObject
* obj2
= 0 ;
12586 char *kwnames
[] = {
12587 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12594 arg2
= wxString_in_helper(obj1
);
12595 if (arg2
== NULL
) SWIG_fail
;
12600 arg3
= wxString_in_helper(obj2
);
12601 if (arg3
== NULL
) SWIG_fail
;
12606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12607 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12609 wxPyEndAllowThreads(__tstate
);
12610 if (PyErr_Occurred()) SWIG_fail
;
12612 resultobj
= result
;
12635 static PyObject
*_wrap_FileType_GetAllCommands(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12636 PyObject
*resultobj
;
12637 wxFileType
*arg1
= (wxFileType
*) 0 ;
12638 wxString
*arg2
= 0 ;
12639 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12640 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12642 bool temp2
= False
;
12643 bool temp3
= False
;
12644 PyObject
* obj0
= 0 ;
12645 PyObject
* obj1
= 0 ;
12646 PyObject
* obj2
= 0 ;
12647 char *kwnames
[] = {
12648 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12655 arg2
= wxString_in_helper(obj1
);
12656 if (arg2
== NULL
) SWIG_fail
;
12661 arg3
= wxString_in_helper(obj2
);
12662 if (arg3
== NULL
) SWIG_fail
;
12667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12668 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12670 wxPyEndAllowThreads(__tstate
);
12671 if (PyErr_Occurred()) SWIG_fail
;
12673 resultobj
= result
;
12696 static PyObject
*_wrap_FileType_SetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12697 PyObject
*resultobj
;
12698 wxFileType
*arg1
= (wxFileType
*) 0 ;
12699 wxString
*arg2
= 0 ;
12700 wxString
*arg3
= 0 ;
12701 bool arg4
= (bool) True
;
12703 bool temp2
= False
;
12704 bool temp3
= False
;
12705 PyObject
* obj0
= 0 ;
12706 PyObject
* obj1
= 0 ;
12707 PyObject
* obj2
= 0 ;
12708 PyObject
* obj3
= 0 ;
12709 char *kwnames
[] = {
12710 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
12713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12717 arg2
= wxString_in_helper(obj1
);
12718 if (arg2
== NULL
) SWIG_fail
;
12722 arg3
= wxString_in_helper(obj2
);
12723 if (arg3
== NULL
) SWIG_fail
;
12727 arg4
= (bool) SWIG_AsBool(obj3
);
12728 if (PyErr_Occurred()) SWIG_fail
;
12731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12732 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
12734 wxPyEndAllowThreads(__tstate
);
12735 if (PyErr_Occurred()) SWIG_fail
;
12738 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12762 static PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12763 PyObject
*resultobj
;
12764 wxFileType
*arg1
= (wxFileType
*) 0 ;
12765 wxString
const &arg2_defvalue
= wxPyEmptyString
;
12766 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12767 int arg3
= (int) 0 ;
12769 bool temp2
= False
;
12770 PyObject
* obj0
= 0 ;
12771 PyObject
* obj1
= 0 ;
12772 PyObject
* obj2
= 0 ;
12773 char *kwnames
[] = {
12774 (char *) "self",(char *) "cmd",(char *) "index", NULL
12777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12782 arg2
= wxString_in_helper(obj1
);
12783 if (arg2
== NULL
) SWIG_fail
;
12788 arg3
= (int) SWIG_AsInt(obj2
);
12789 if (PyErr_Occurred()) SWIG_fail
;
12792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12793 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
12795 wxPyEndAllowThreads(__tstate
);
12796 if (PyErr_Occurred()) SWIG_fail
;
12799 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12815 static PyObject
*_wrap_FileType_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12816 PyObject
*resultobj
;
12817 wxFileType
*arg1
= (wxFileType
*) 0 ;
12819 PyObject
* obj0
= 0 ;
12820 char *kwnames
[] = {
12821 (char *) "self", NULL
12824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_Unassociate",kwnames
,&obj0
)) goto fail
;
12825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12829 result
= (bool)(arg1
)->Unassociate();
12831 wxPyEndAllowThreads(__tstate
);
12832 if (PyErr_Occurred()) SWIG_fail
;
12835 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12843 static PyObject
*_wrap_FileType_ExpandCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12844 PyObject
*resultobj
;
12845 wxString
*arg1
= 0 ;
12846 wxString
*arg2
= 0 ;
12847 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12848 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12850 bool temp1
= False
;
12851 bool temp2
= False
;
12852 bool temp3
= False
;
12853 PyObject
* obj0
= 0 ;
12854 PyObject
* obj1
= 0 ;
12855 PyObject
* obj2
= 0 ;
12856 char *kwnames
[] = {
12857 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
12860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12862 arg1
= wxString_in_helper(obj0
);
12863 if (arg1
== NULL
) SWIG_fail
;
12867 arg2
= wxString_in_helper(obj1
);
12868 if (arg2
== NULL
) SWIG_fail
;
12873 arg3
= wxString_in_helper(obj2
);
12874 if (arg3
== NULL
) SWIG_fail
;
12879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12880 result
= FileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12882 wxPyEndAllowThreads(__tstate
);
12883 if (PyErr_Occurred()) SWIG_fail
;
12887 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12889 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12922 static PyObject
* FileType_swigregister(PyObject
*self
, PyObject
*args
) {
12924 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12925 SWIG_TypeClientData(SWIGTYPE_p_wxFileType
, obj
);
12927 return Py_BuildValue((char *)"");
12929 static int _wrap_TheMimeTypesManager_set(PyObject
*_val
) {
12930 PyErr_SetString(PyExc_TypeError
,"Variable TheMimeTypesManager is read-only.");
12935 static PyObject
*_wrap_TheMimeTypesManager_get() {
12938 pyobj
= SWIG_NewPointerObj((void *)(wxTheMimeTypesManager
), SWIGTYPE_p_wxMimeTypesManager
, 0);
12943 static PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12944 PyObject
*resultobj
;
12945 wxString
*arg1
= 0 ;
12946 wxString
*arg2
= 0 ;
12948 bool temp1
= False
;
12949 bool temp2
= False
;
12950 PyObject
* obj0
= 0 ;
12951 PyObject
* obj1
= 0 ;
12952 char *kwnames
[] = {
12953 (char *) "mimeType",(char *) "wildcard", NULL
12956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) goto fail
;
12958 arg1
= wxString_in_helper(obj0
);
12959 if (arg1
== NULL
) SWIG_fail
;
12963 arg2
= wxString_in_helper(obj1
);
12964 if (arg2
== NULL
) SWIG_fail
;
12968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12969 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
12971 wxPyEndAllowThreads(__tstate
);
12972 if (PyErr_Occurred()) SWIG_fail
;
12975 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12999 static PyObject
*_wrap_new_MimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13000 PyObject
*resultobj
;
13001 wxMimeTypesManager
*result
;
13002 char *kwnames
[] = {
13006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MimeTypesManager",kwnames
)) goto fail
;
13008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13009 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
13011 wxPyEndAllowThreads(__tstate
);
13012 if (PyErr_Occurred()) SWIG_fail
;
13014 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMimeTypesManager
, 1);
13021 static PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13022 PyObject
*resultobj
;
13023 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13024 int arg2
= (int) wxMAILCAP_ALL
;
13025 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13026 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13027 bool temp3
= False
;
13028 PyObject
* obj0
= 0 ;
13029 PyObject
* obj1
= 0 ;
13030 PyObject
* obj2
= 0 ;
13031 char *kwnames
[] = {
13032 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
13035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MimeTypesManager_Initialize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13039 arg2
= (int) SWIG_AsInt(obj1
);
13040 if (PyErr_Occurred()) SWIG_fail
;
13044 arg3
= wxString_in_helper(obj2
);
13045 if (arg3
== NULL
) SWIG_fail
;
13050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13051 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
13053 wxPyEndAllowThreads(__tstate
);
13054 if (PyErr_Occurred()) SWIG_fail
;
13056 Py_INCREF(Py_None
); resultobj
= Py_None
;
13071 static PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13072 PyObject
*resultobj
;
13073 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13074 PyObject
* obj0
= 0 ;
13075 char *kwnames
[] = {
13076 (char *) "self", NULL
13079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_ClearData",kwnames
,&obj0
)) goto fail
;
13080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13084 (arg1
)->ClearData();
13086 wxPyEndAllowThreads(__tstate
);
13087 if (PyErr_Occurred()) SWIG_fail
;
13089 Py_INCREF(Py_None
); resultobj
= Py_None
;
13096 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13097 PyObject
*resultobj
;
13098 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13099 wxString
*arg2
= 0 ;
13100 wxFileType
*result
;
13101 bool temp2
= False
;
13102 PyObject
* obj0
= 0 ;
13103 PyObject
* obj1
= 0 ;
13104 char *kwnames
[] = {
13105 (char *) "self",(char *) "ext", NULL
13108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
13109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13112 arg2
= wxString_in_helper(obj1
);
13113 if (arg2
== NULL
) SWIG_fail
;
13117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13118 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
13120 wxPyEndAllowThreads(__tstate
);
13121 if (PyErr_Occurred()) SWIG_fail
;
13123 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13138 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13139 PyObject
*resultobj
;
13140 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13141 wxString
*arg2
= 0 ;
13142 wxFileType
*result
;
13143 bool temp2
= False
;
13144 PyObject
* obj0
= 0 ;
13145 PyObject
* obj1
= 0 ;
13146 char *kwnames
[] = {
13147 (char *) "self",(char *) "mimeType", NULL
13150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
13151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13154 arg2
= wxString_in_helper(obj1
);
13155 if (arg2
== NULL
) SWIG_fail
;
13159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13160 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
13162 wxPyEndAllowThreads(__tstate
);
13163 if (PyErr_Occurred()) SWIG_fail
;
13165 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13180 static PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13181 PyObject
*resultobj
;
13182 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13183 wxString
*arg2
= 0 ;
13184 bool arg3
= (bool) False
;
13186 bool temp2
= False
;
13187 PyObject
* obj0
= 0 ;
13188 PyObject
* obj1
= 0 ;
13189 PyObject
* obj2
= 0 ;
13190 char *kwnames
[] = {
13191 (char *) "self",(char *) "filename",(char *) "fallback", NULL
13194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13198 arg2
= wxString_in_helper(obj1
);
13199 if (arg2
== NULL
) SWIG_fail
;
13203 arg3
= (bool) SWIG_AsBool(obj2
);
13204 if (PyErr_Occurred()) SWIG_fail
;
13207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13208 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
13210 wxPyEndAllowThreads(__tstate
);
13211 if (PyErr_Occurred()) SWIG_fail
;
13214 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13230 static PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13231 PyObject
*resultobj
;
13232 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13233 wxString
*arg2
= 0 ;
13235 bool temp2
= False
;
13236 PyObject
* obj0
= 0 ;
13237 PyObject
* obj1
= 0 ;
13238 char *kwnames
[] = {
13239 (char *) "self",(char *) "filename", NULL
13242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) goto fail
;
13243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13246 arg2
= wxString_in_helper(obj1
);
13247 if (arg2
== NULL
) SWIG_fail
;
13251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13252 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
13254 wxPyEndAllowThreads(__tstate
);
13255 if (PyErr_Occurred()) SWIG_fail
;
13258 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13274 static PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13275 PyObject
*resultobj
;
13276 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13278 PyObject
* obj0
= 0 ;
13279 char *kwnames
[] = {
13280 (char *) "self", NULL
13283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames
,&obj0
)) goto fail
;
13284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13288 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
13290 wxPyEndAllowThreads(__tstate
);
13291 if (PyErr_Occurred()) SWIG_fail
;
13293 resultobj
= result
;
13300 static PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13301 PyObject
*resultobj
;
13302 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13303 wxFileTypeInfo
*arg2
= 0 ;
13304 PyObject
* obj0
= 0 ;
13305 PyObject
* obj1
= 0 ;
13306 char *kwnames
[] = {
13307 (char *) "self",(char *) "ft", NULL
13310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) goto fail
;
13311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13313 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileTypeInfo
,
13314 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13316 if (arg2
== NULL
) {
13317 PyErr_SetString(PyExc_TypeError
,"null reference");
13321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13322 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
13324 wxPyEndAllowThreads(__tstate
);
13325 if (PyErr_Occurred()) SWIG_fail
;
13327 Py_INCREF(Py_None
); resultobj
= Py_None
;
13334 static PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13335 PyObject
*resultobj
;
13336 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13337 wxFileTypeInfo
*arg2
= 0 ;
13338 wxFileType
*result
;
13339 PyObject
* obj0
= 0 ;
13340 PyObject
* obj1
= 0 ;
13341 char *kwnames
[] = {
13342 (char *) "self",(char *) "ftInfo", NULL
13345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) goto fail
;
13346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13348 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileTypeInfo
,
13349 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13351 if (arg2
== NULL
) {
13352 PyErr_SetString(PyExc_TypeError
,"null reference");
13356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13357 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
13359 wxPyEndAllowThreads(__tstate
);
13360 if (PyErr_Occurred()) SWIG_fail
;
13362 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13369 static PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13370 PyObject
*resultobj
;
13371 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13372 wxFileType
*arg2
= (wxFileType
*) 0 ;
13374 PyObject
* obj0
= 0 ;
13375 PyObject
* obj1
= 0 ;
13376 char *kwnames
[] = {
13377 (char *) "self",(char *) "ft", NULL
13380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) goto fail
;
13381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13383 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileType
,
13384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13387 result
= (bool)(arg1
)->Unassociate(arg2
);
13389 wxPyEndAllowThreads(__tstate
);
13390 if (PyErr_Occurred()) SWIG_fail
;
13393 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13401 static PyObject
*_wrap_delete_MimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13402 PyObject
*resultobj
;
13403 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13404 PyObject
* obj0
= 0 ;
13405 char *kwnames
[] = {
13406 (char *) "self", NULL
13409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MimeTypesManager",kwnames
,&obj0
)) goto fail
;
13410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13416 wxPyEndAllowThreads(__tstate
);
13417 if (PyErr_Occurred()) SWIG_fail
;
13419 Py_INCREF(Py_None
); resultobj
= Py_None
;
13426 static PyObject
* MimeTypesManager_swigregister(PyObject
*self
, PyObject
*args
) {
13428 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13429 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager
, obj
);
13431 return Py_BuildValue((char *)"");
13433 static int _wrap_ART_TOOLBAR_set(PyObject
*_val
) {
13434 PyErr_SetString(PyExc_TypeError
,"Variable ART_TOOLBAR is read-only.");
13439 static PyObject
*_wrap_ART_TOOLBAR_get() {
13444 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
13446 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
13453 static int _wrap_ART_MENU_set(PyObject
*_val
) {
13454 PyErr_SetString(PyExc_TypeError
,"Variable ART_MENU is read-only.");
13459 static PyObject
*_wrap_ART_MENU_get() {
13464 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
13466 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
13473 static int _wrap_ART_FRAME_ICON_set(PyObject
*_val
) {
13474 PyErr_SetString(PyExc_TypeError
,"Variable ART_FRAME_ICON is read-only.");
13479 static PyObject
*_wrap_ART_FRAME_ICON_get() {
13484 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
13486 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
13493 static int _wrap_ART_CMN_DIALOG_set(PyObject
*_val
) {
13494 PyErr_SetString(PyExc_TypeError
,"Variable ART_CMN_DIALOG is read-only.");
13499 static PyObject
*_wrap_ART_CMN_DIALOG_get() {
13504 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
13506 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
13513 static int _wrap_ART_HELP_BROWSER_set(PyObject
*_val
) {
13514 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BROWSER is read-only.");
13519 static PyObject
*_wrap_ART_HELP_BROWSER_get() {
13524 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
13526 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
13533 static int _wrap_ART_MESSAGE_BOX_set(PyObject
*_val
) {
13534 PyErr_SetString(PyExc_TypeError
,"Variable ART_MESSAGE_BOX is read-only.");
13539 static PyObject
*_wrap_ART_MESSAGE_BOX_get() {
13544 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
13546 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
13553 static int _wrap_ART_OTHER_set(PyObject
*_val
) {
13554 PyErr_SetString(PyExc_TypeError
,"Variable ART_OTHER is read-only.");
13559 static PyObject
*_wrap_ART_OTHER_get() {
13564 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
13566 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
13573 static int _wrap_ART_ADD_BOOKMARK_set(PyObject
*_val
) {
13574 PyErr_SetString(PyExc_TypeError
,"Variable ART_ADD_BOOKMARK is read-only.");
13579 static PyObject
*_wrap_ART_ADD_BOOKMARK_get() {
13584 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
13586 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
13593 static int _wrap_ART_DEL_BOOKMARK_set(PyObject
*_val
) {
13594 PyErr_SetString(PyExc_TypeError
,"Variable ART_DEL_BOOKMARK is read-only.");
13599 static PyObject
*_wrap_ART_DEL_BOOKMARK_get() {
13604 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
13606 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
13613 static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject
*_val
) {
13614 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
13619 static PyObject
*_wrap_ART_HELP_SIDE_PANEL_get() {
13624 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
13626 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
13633 static int _wrap_ART_HELP_SETTINGS_set(PyObject
*_val
) {
13634 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SETTINGS is read-only.");
13639 static PyObject
*_wrap_ART_HELP_SETTINGS_get() {
13644 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
13646 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
13653 static int _wrap_ART_HELP_BOOK_set(PyObject
*_val
) {
13654 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BOOK is read-only.");
13659 static PyObject
*_wrap_ART_HELP_BOOK_get() {
13664 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
13666 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
13673 static int _wrap_ART_HELP_FOLDER_set(PyObject
*_val
) {
13674 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_FOLDER is read-only.");
13679 static PyObject
*_wrap_ART_HELP_FOLDER_get() {
13684 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
13686 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
13693 static int _wrap_ART_HELP_PAGE_set(PyObject
*_val
) {
13694 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_PAGE is read-only.");
13699 static PyObject
*_wrap_ART_HELP_PAGE_get() {
13704 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
13706 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
13713 static int _wrap_ART_GO_BACK_set(PyObject
*_val
) {
13714 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_BACK is read-only.");
13719 static PyObject
*_wrap_ART_GO_BACK_get() {
13724 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
13726 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
13733 static int _wrap_ART_GO_FORWARD_set(PyObject
*_val
) {
13734 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_FORWARD is read-only.");
13739 static PyObject
*_wrap_ART_GO_FORWARD_get() {
13744 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
13746 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
13753 static int _wrap_ART_GO_UP_set(PyObject
*_val
) {
13754 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_UP is read-only.");
13759 static PyObject
*_wrap_ART_GO_UP_get() {
13764 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
13766 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
13773 static int _wrap_ART_GO_DOWN_set(PyObject
*_val
) {
13774 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DOWN is read-only.");
13779 static PyObject
*_wrap_ART_GO_DOWN_get() {
13784 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
13786 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
13793 static int _wrap_ART_GO_TO_PARENT_set(PyObject
*_val
) {
13794 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_TO_PARENT is read-only.");
13799 static PyObject
*_wrap_ART_GO_TO_PARENT_get() {
13804 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
13806 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
13813 static int _wrap_ART_GO_HOME_set(PyObject
*_val
) {
13814 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_HOME is read-only.");
13819 static PyObject
*_wrap_ART_GO_HOME_get() {
13824 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
13826 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
13833 static int _wrap_ART_FILE_OPEN_set(PyObject
*_val
) {
13834 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_OPEN is read-only.");
13839 static PyObject
*_wrap_ART_FILE_OPEN_get() {
13844 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
13846 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
13853 static int _wrap_ART_PRINT_set(PyObject
*_val
) {
13854 PyErr_SetString(PyExc_TypeError
,"Variable ART_PRINT is read-only.");
13859 static PyObject
*_wrap_ART_PRINT_get() {
13864 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
13866 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
13873 static int _wrap_ART_HELP_set(PyObject
*_val
) {
13874 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP is read-only.");
13879 static PyObject
*_wrap_ART_HELP_get() {
13884 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
13886 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
13893 static int _wrap_ART_TIP_set(PyObject
*_val
) {
13894 PyErr_SetString(PyExc_TypeError
,"Variable ART_TIP is read-only.");
13899 static PyObject
*_wrap_ART_TIP_get() {
13904 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
13906 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
13913 static int _wrap_ART_REPORT_VIEW_set(PyObject
*_val
) {
13914 PyErr_SetString(PyExc_TypeError
,"Variable ART_REPORT_VIEW is read-only.");
13919 static PyObject
*_wrap_ART_REPORT_VIEW_get() {
13924 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
13926 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
13933 static int _wrap_ART_LIST_VIEW_set(PyObject
*_val
) {
13934 PyErr_SetString(PyExc_TypeError
,"Variable ART_LIST_VIEW is read-only.");
13939 static PyObject
*_wrap_ART_LIST_VIEW_get() {
13944 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
13946 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
13953 static int _wrap_ART_NEW_DIR_set(PyObject
*_val
) {
13954 PyErr_SetString(PyExc_TypeError
,"Variable ART_NEW_DIR is read-only.");
13959 static PyObject
*_wrap_ART_NEW_DIR_get() {
13964 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
13966 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
13973 static int _wrap_ART_FOLDER_set(PyObject
*_val
) {
13974 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER is read-only.");
13979 static PyObject
*_wrap_ART_FOLDER_get() {
13984 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
13986 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
13993 static int _wrap_ART_GO_DIR_UP_set(PyObject
*_val
) {
13994 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DIR_UP is read-only.");
13999 static PyObject
*_wrap_ART_GO_DIR_UP_get() {
14004 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
14006 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
14013 static int _wrap_ART_EXECUTABLE_FILE_set(PyObject
*_val
) {
14014 PyErr_SetString(PyExc_TypeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
14019 static PyObject
*_wrap_ART_EXECUTABLE_FILE_get() {
14024 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
14026 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
14033 static int _wrap_ART_NORMAL_FILE_set(PyObject
*_val
) {
14034 PyErr_SetString(PyExc_TypeError
,"Variable ART_NORMAL_FILE is read-only.");
14039 static PyObject
*_wrap_ART_NORMAL_FILE_get() {
14044 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
14046 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
14053 static int _wrap_ART_TICK_MARK_set(PyObject
*_val
) {
14054 PyErr_SetString(PyExc_TypeError
,"Variable ART_TICK_MARK is read-only.");
14059 static PyObject
*_wrap_ART_TICK_MARK_get() {
14064 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
14066 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
14073 static int _wrap_ART_CROSS_MARK_set(PyObject
*_val
) {
14074 PyErr_SetString(PyExc_TypeError
,"Variable ART_CROSS_MARK is read-only.");
14079 static PyObject
*_wrap_ART_CROSS_MARK_get() {
14084 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
14086 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
14093 static int _wrap_ART_ERROR_set(PyObject
*_val
) {
14094 PyErr_SetString(PyExc_TypeError
,"Variable ART_ERROR is read-only.");
14099 static PyObject
*_wrap_ART_ERROR_get() {
14104 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
14106 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
14113 static int _wrap_ART_QUESTION_set(PyObject
*_val
) {
14114 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUESTION is read-only.");
14119 static PyObject
*_wrap_ART_QUESTION_get() {
14124 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
14126 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
14133 static int _wrap_ART_WARNING_set(PyObject
*_val
) {
14134 PyErr_SetString(PyExc_TypeError
,"Variable ART_WARNING is read-only.");
14139 static PyObject
*_wrap_ART_WARNING_get() {
14144 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
14146 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
14153 static int _wrap_ART_INFORMATION_set(PyObject
*_val
) {
14154 PyErr_SetString(PyExc_TypeError
,"Variable ART_INFORMATION is read-only.");
14159 static PyObject
*_wrap_ART_INFORMATION_get() {
14164 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
14166 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
14173 static int _wrap_ART_MISSING_IMAGE_set(PyObject
*_val
) {
14174 PyErr_SetString(PyExc_TypeError
,"Variable ART_MISSING_IMAGE is read-only.");
14179 static PyObject
*_wrap_ART_MISSING_IMAGE_get() {
14184 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
14186 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
14193 static PyObject
*_wrap_new_ArtProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14194 PyObject
*resultobj
;
14195 wxPyArtProvider
*result
;
14196 char *kwnames
[] = {
14200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ArtProvider",kwnames
)) goto fail
;
14202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14203 result
= (wxPyArtProvider
*)new wxPyArtProvider();
14205 wxPyEndAllowThreads(__tstate
);
14206 if (PyErr_Occurred()) SWIG_fail
;
14208 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyArtProvider
, 1);
14215 static PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14216 PyObject
*resultobj
;
14217 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14218 PyObject
*arg2
= (PyObject
*) 0 ;
14219 PyObject
*arg3
= (PyObject
*) 0 ;
14220 PyObject
* obj0
= 0 ;
14221 PyObject
* obj1
= 0 ;
14222 PyObject
* obj2
= 0 ;
14223 char *kwnames
[] = {
14224 (char *) "self",(char *) "self",(char *) "_class", NULL
14227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14234 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14236 wxPyEndAllowThreads(__tstate
);
14237 if (PyErr_Occurred()) SWIG_fail
;
14239 Py_INCREF(Py_None
); resultobj
= Py_None
;
14246 static PyObject
*_wrap_ArtProvider_PushProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14247 PyObject
*resultobj
;
14248 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14249 PyObject
* obj0
= 0 ;
14250 char *kwnames
[] = {
14251 (char *) "provider", NULL
14254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_PushProvider",kwnames
,&obj0
)) goto fail
;
14255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14259 wxPyArtProvider::PushProvider(arg1
);
14261 wxPyEndAllowThreads(__tstate
);
14262 if (PyErr_Occurred()) SWIG_fail
;
14264 Py_INCREF(Py_None
); resultobj
= Py_None
;
14271 static PyObject
*_wrap_ArtProvider_PopProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14272 PyObject
*resultobj
;
14274 char *kwnames
[] = {
14278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ArtProvider_PopProvider",kwnames
)) goto fail
;
14280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14281 result
= (bool)wxPyArtProvider::PopProvider();
14283 wxPyEndAllowThreads(__tstate
);
14284 if (PyErr_Occurred()) SWIG_fail
;
14287 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14295 static PyObject
*_wrap_ArtProvider_RemoveProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14296 PyObject
*resultobj
;
14297 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14299 PyObject
* obj0
= 0 ;
14300 char *kwnames
[] = {
14301 (char *) "provider", NULL
14304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",kwnames
,&obj0
)) goto fail
;
14305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14309 result
= (bool)wxPyArtProvider::RemoveProvider(arg1
);
14311 wxPyEndAllowThreads(__tstate
);
14312 if (PyErr_Occurred()) SWIG_fail
;
14315 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14323 static PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14324 PyObject
*resultobj
;
14325 wxString
*arg1
= 0 ;
14326 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
14327 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14328 wxSize
const &arg3_defvalue
= wxDefaultSize
;
14329 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
14331 bool temp1
= False
;
14332 bool temp2
= False
;
14334 PyObject
* obj0
= 0 ;
14335 PyObject
* obj1
= 0 ;
14336 PyObject
* obj2
= 0 ;
14337 char *kwnames
[] = {
14338 (char *) "id",(char *) "client",(char *) "size", NULL
14341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14343 arg1
= wxString_in_helper(obj0
);
14344 if (arg1
== NULL
) SWIG_fail
;
14349 arg2
= wxString_in_helper(obj1
);
14350 if (arg2
== NULL
) SWIG_fail
;
14357 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14362 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
14364 wxPyEndAllowThreads(__tstate
);
14365 if (PyErr_Occurred()) SWIG_fail
;
14368 wxBitmap
* resultptr
;
14369 resultptr
= new wxBitmap((wxBitmap
&) result
);
14370 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
14394 static PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14395 PyObject
*resultobj
;
14396 wxString
*arg1
= 0 ;
14397 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
14398 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14399 wxSize
const &arg3_defvalue
= wxDefaultSize
;
14400 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
14402 bool temp1
= False
;
14403 bool temp2
= False
;
14405 PyObject
* obj0
= 0 ;
14406 PyObject
* obj1
= 0 ;
14407 PyObject
* obj2
= 0 ;
14408 char *kwnames
[] = {
14409 (char *) "id",(char *) "client",(char *) "size", NULL
14412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14414 arg1
= wxString_in_helper(obj0
);
14415 if (arg1
== NULL
) SWIG_fail
;
14420 arg2
= wxString_in_helper(obj1
);
14421 if (arg2
== NULL
) SWIG_fail
;
14428 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14433 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
14435 wxPyEndAllowThreads(__tstate
);
14436 if (PyErr_Occurred()) SWIG_fail
;
14439 wxIcon
* resultptr
;
14440 resultptr
= new wxIcon((wxIcon
&) result
);
14441 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
14465 static PyObject
*_wrap_ArtProvider_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14466 PyObject
*resultobj
;
14467 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14468 PyObject
* obj0
= 0 ;
14469 char *kwnames
[] = {
14470 (char *) "self", NULL
14473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Destroy",kwnames
,&obj0
)) goto fail
;
14474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14478 wxPyArtProvider_Destroy(arg1
);
14480 wxPyEndAllowThreads(__tstate
);
14481 if (PyErr_Occurred()) SWIG_fail
;
14483 Py_INCREF(Py_None
); resultobj
= Py_None
;
14490 static PyObject
* ArtProvider_swigregister(PyObject
*self
, PyObject
*args
) {
14492 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14493 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider
, obj
);
14495 return Py_BuildValue((char *)"");
14497 static PyObject
*_wrap_delete_ConfigBase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14498 PyObject
*resultobj
;
14499 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14500 PyObject
* obj0
= 0 ;
14501 char *kwnames
[] = {
14502 (char *) "self", NULL
14505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigBase",kwnames
,&obj0
)) goto fail
;
14506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14512 wxPyEndAllowThreads(__tstate
);
14513 if (PyErr_Occurred()) SWIG_fail
;
14515 Py_INCREF(Py_None
); resultobj
= Py_None
;
14522 static PyObject
*_wrap_ConfigBase_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14523 PyObject
*resultobj
;
14524 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14525 wxConfigBase
*result
;
14526 PyObject
* obj0
= 0 ;
14527 char *kwnames
[] = {
14528 (char *) "config", NULL
14531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) goto fail
;
14532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14536 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
14538 wxPyEndAllowThreads(__tstate
);
14539 if (PyErr_Occurred()) SWIG_fail
;
14541 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
14548 static PyObject
*_wrap_ConfigBase_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14549 PyObject
*resultobj
;
14550 bool arg1
= (bool) True
;
14551 wxConfigBase
*result
;
14552 PyObject
* obj0
= 0 ;
14553 char *kwnames
[] = {
14554 (char *) "createOnDemand", NULL
14557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) goto fail
;
14559 arg1
= (bool) SWIG_AsBool(obj0
);
14560 if (PyErr_Occurred()) SWIG_fail
;
14563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14564 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
14566 wxPyEndAllowThreads(__tstate
);
14567 if (PyErr_Occurred()) SWIG_fail
;
14569 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
14576 static PyObject
*_wrap_ConfigBase_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14577 PyObject
*resultobj
;
14578 wxConfigBase
*result
;
14579 char *kwnames
[] = {
14583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_Create",kwnames
)) goto fail
;
14585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14586 result
= (wxConfigBase
*)wxConfigBase::Create();
14588 wxPyEndAllowThreads(__tstate
);
14589 if (PyErr_Occurred()) SWIG_fail
;
14591 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
14598 static PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14599 PyObject
*resultobj
;
14600 char *kwnames
[] = {
14604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_DontCreateOnDemand",kwnames
)) goto fail
;
14606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14607 wxConfigBase::DontCreateOnDemand();
14609 wxPyEndAllowThreads(__tstate
);
14610 if (PyErr_Occurred()) SWIG_fail
;
14612 Py_INCREF(Py_None
); resultobj
= Py_None
;
14619 static PyObject
*_wrap_ConfigBase_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14620 PyObject
*resultobj
;
14621 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14622 wxString
*arg2
= 0 ;
14623 bool temp2
= False
;
14624 PyObject
* obj0
= 0 ;
14625 PyObject
* obj1
= 0 ;
14626 char *kwnames
[] = {
14627 (char *) "self",(char *) "path", NULL
14630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
14631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14634 arg2
= wxString_in_helper(obj1
);
14635 if (arg2
== NULL
) SWIG_fail
;
14639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14640 (arg1
)->SetPath((wxString
const &)*arg2
);
14642 wxPyEndAllowThreads(__tstate
);
14643 if (PyErr_Occurred()) SWIG_fail
;
14645 Py_INCREF(Py_None
); resultobj
= Py_None
;
14660 static PyObject
*_wrap_ConfigBase_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14661 PyObject
*resultobj
;
14662 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14664 PyObject
* obj0
= 0 ;
14665 char *kwnames
[] = {
14666 (char *) "self", NULL
14669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetPath",kwnames
,&obj0
)) goto fail
;
14670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14675 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
14676 result
= (wxString
*) &_result_ref
;
14679 wxPyEndAllowThreads(__tstate
);
14680 if (PyErr_Occurred()) SWIG_fail
;
14684 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14686 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14695 static PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14696 PyObject
*resultobj
;
14697 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14699 PyObject
* obj0
= 0 ;
14700 char *kwnames
[] = {
14701 (char *) "self", NULL
14704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstGroup",kwnames
,&obj0
)) goto fail
;
14705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14709 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
14711 wxPyEndAllowThreads(__tstate
);
14712 if (PyErr_Occurred()) SWIG_fail
;
14714 resultobj
= result
;
14721 static PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14722 PyObject
*resultobj
;
14723 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14726 PyObject
* obj0
= 0 ;
14727 PyObject
* obj1
= 0 ;
14728 char *kwnames
[] = {
14729 (char *) "self",(char *) "index", NULL
14732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
14733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14735 arg2
= (long) SWIG_AsLong(obj1
);
14736 if (PyErr_Occurred()) SWIG_fail
;
14738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14739 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
14741 wxPyEndAllowThreads(__tstate
);
14742 if (PyErr_Occurred()) SWIG_fail
;
14744 resultobj
= result
;
14751 static PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14752 PyObject
*resultobj
;
14753 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14755 PyObject
* obj0
= 0 ;
14756 char *kwnames
[] = {
14757 (char *) "self", NULL
14760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstEntry",kwnames
,&obj0
)) goto fail
;
14761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14765 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
14767 wxPyEndAllowThreads(__tstate
);
14768 if (PyErr_Occurred()) SWIG_fail
;
14770 resultobj
= result
;
14777 static PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14778 PyObject
*resultobj
;
14779 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14782 PyObject
* obj0
= 0 ;
14783 PyObject
* obj1
= 0 ;
14784 char *kwnames
[] = {
14785 (char *) "self",(char *) "index", NULL
14788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
14789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14791 arg2
= (long) SWIG_AsLong(obj1
);
14792 if (PyErr_Occurred()) SWIG_fail
;
14794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14795 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
14797 wxPyEndAllowThreads(__tstate
);
14798 if (PyErr_Occurred()) SWIG_fail
;
14800 resultobj
= result
;
14807 static PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14808 PyObject
*resultobj
;
14809 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14810 bool arg2
= (bool) False
;
14812 PyObject
* obj0
= 0 ;
14813 PyObject
* obj1
= 0 ;
14814 char *kwnames
[] = {
14815 (char *) "self",(char *) "recursive", NULL
14818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) goto fail
;
14819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14822 arg2
= (bool) SWIG_AsBool(obj1
);
14823 if (PyErr_Occurred()) SWIG_fail
;
14826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14827 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
14829 wxPyEndAllowThreads(__tstate
);
14830 if (PyErr_Occurred()) SWIG_fail
;
14832 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
14839 static PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14840 PyObject
*resultobj
;
14841 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14842 bool arg2
= (bool) False
;
14844 PyObject
* obj0
= 0 ;
14845 PyObject
* obj1
= 0 ;
14846 char *kwnames
[] = {
14847 (char *) "self",(char *) "recursive", NULL
14850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) goto fail
;
14851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14854 arg2
= (bool) SWIG_AsBool(obj1
);
14855 if (PyErr_Occurred()) SWIG_fail
;
14858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14859 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
14861 wxPyEndAllowThreads(__tstate
);
14862 if (PyErr_Occurred()) SWIG_fail
;
14864 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
14871 static PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14872 PyObject
*resultobj
;
14873 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14874 wxString
*arg2
= 0 ;
14876 bool temp2
= False
;
14877 PyObject
* obj0
= 0 ;
14878 PyObject
* obj1
= 0 ;
14879 char *kwnames
[] = {
14880 (char *) "self",(char *) "name", NULL
14883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
14884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14887 arg2
= wxString_in_helper(obj1
);
14888 if (arg2
== NULL
) SWIG_fail
;
14892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14893 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
14895 wxPyEndAllowThreads(__tstate
);
14896 if (PyErr_Occurred()) SWIG_fail
;
14899 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14915 static PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14916 PyObject
*resultobj
;
14917 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14918 wxString
*arg2
= 0 ;
14920 bool temp2
= False
;
14921 PyObject
* obj0
= 0 ;
14922 PyObject
* obj1
= 0 ;
14923 char *kwnames
[] = {
14924 (char *) "self",(char *) "name", NULL
14927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
14928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14931 arg2
= wxString_in_helper(obj1
);
14932 if (arg2
== NULL
) SWIG_fail
;
14936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14937 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
14939 wxPyEndAllowThreads(__tstate
);
14940 if (PyErr_Occurred()) SWIG_fail
;
14943 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14959 static PyObject
*_wrap_ConfigBase_Exists(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14960 PyObject
*resultobj
;
14961 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14962 wxString
*arg2
= 0 ;
14964 bool temp2
= False
;
14965 PyObject
* obj0
= 0 ;
14966 PyObject
* obj1
= 0 ;
14967 char *kwnames
[] = {
14968 (char *) "self",(char *) "name", NULL
14971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) goto fail
;
14972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14975 arg2
= wxString_in_helper(obj1
);
14976 if (arg2
== NULL
) SWIG_fail
;
14980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14981 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
14983 wxPyEndAllowThreads(__tstate
);
14984 if (PyErr_Occurred()) SWIG_fail
;
14987 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15003 static PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15004 PyObject
*resultobj
;
15005 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15006 wxString
*arg2
= 0 ;
15008 bool temp2
= False
;
15009 PyObject
* obj0
= 0 ;
15010 PyObject
* obj1
= 0 ;
15011 char *kwnames
[] = {
15012 (char *) "self",(char *) "name", NULL
15015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) goto fail
;
15016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15019 arg2
= wxString_in_helper(obj1
);
15020 if (arg2
== NULL
) SWIG_fail
;
15024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15025 result
= (int)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
15027 wxPyEndAllowThreads(__tstate
);
15028 if (PyErr_Occurred()) SWIG_fail
;
15030 resultobj
= SWIG_FromInt((int)result
);
15045 static PyObject
*_wrap_ConfigBase_Read(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15046 PyObject
*resultobj
;
15047 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15048 wxString
*arg2
= 0 ;
15049 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15050 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15052 bool temp2
= False
;
15053 bool temp3
= False
;
15054 PyObject
* obj0
= 0 ;
15055 PyObject
* obj1
= 0 ;
15056 PyObject
* obj2
= 0 ;
15057 char *kwnames
[] = {
15058 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15065 arg2
= wxString_in_helper(obj1
);
15066 if (arg2
== NULL
) SWIG_fail
;
15071 arg3
= wxString_in_helper(obj2
);
15072 if (arg3
== NULL
) SWIG_fail
;
15077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15078 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15080 wxPyEndAllowThreads(__tstate
);
15081 if (PyErr_Occurred()) SWIG_fail
;
15085 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15087 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15112 static PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15113 PyObject
*resultobj
;
15114 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15115 wxString
*arg2
= 0 ;
15116 long arg3
= (long) 0 ;
15118 bool temp2
= False
;
15119 PyObject
* obj0
= 0 ;
15120 PyObject
* obj1
= 0 ;
15121 PyObject
* obj2
= 0 ;
15122 char *kwnames
[] = {
15123 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15130 arg2
= wxString_in_helper(obj1
);
15131 if (arg2
== NULL
) SWIG_fail
;
15135 arg3
= (long) SWIG_AsLong(obj2
);
15136 if (PyErr_Occurred()) SWIG_fail
;
15139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15140 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
15142 wxPyEndAllowThreads(__tstate
);
15143 if (PyErr_Occurred()) SWIG_fail
;
15145 resultobj
= SWIG_FromLong((long)result
);
15160 static PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15161 PyObject
*resultobj
;
15162 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15163 wxString
*arg2
= 0 ;
15164 double arg3
= (double) 0.0 ;
15166 bool temp2
= False
;
15167 PyObject
* obj0
= 0 ;
15168 PyObject
* obj1
= 0 ;
15169 PyObject
* obj2
= 0 ;
15170 char *kwnames
[] = {
15171 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15178 arg2
= wxString_in_helper(obj1
);
15179 if (arg2
== NULL
) SWIG_fail
;
15183 arg3
= (double) SWIG_AsDouble(obj2
);
15184 if (PyErr_Occurred()) SWIG_fail
;
15187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15188 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
15190 wxPyEndAllowThreads(__tstate
);
15191 if (PyErr_Occurred()) SWIG_fail
;
15193 resultobj
= SWIG_FromDouble((double)result
);
15208 static PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15209 PyObject
*resultobj
;
15210 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15211 wxString
*arg2
= 0 ;
15212 bool arg3
= (bool) False
;
15214 bool temp2
= False
;
15215 PyObject
* obj0
= 0 ;
15216 PyObject
* obj1
= 0 ;
15217 PyObject
* obj2
= 0 ;
15218 char *kwnames
[] = {
15219 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15226 arg2
= wxString_in_helper(obj1
);
15227 if (arg2
== NULL
) SWIG_fail
;
15231 arg3
= (bool) SWIG_AsBool(obj2
);
15232 if (PyErr_Occurred()) SWIG_fail
;
15235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15236 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
15238 wxPyEndAllowThreads(__tstate
);
15239 if (PyErr_Occurred()) SWIG_fail
;
15242 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15258 static PyObject
*_wrap_ConfigBase_Write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15259 PyObject
*resultobj
;
15260 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15261 wxString
*arg2
= 0 ;
15262 wxString
*arg3
= 0 ;
15264 bool temp2
= False
;
15265 bool temp3
= False
;
15266 PyObject
* obj0
= 0 ;
15267 PyObject
* obj1
= 0 ;
15268 PyObject
* obj2
= 0 ;
15269 char *kwnames
[] = {
15270 (char *) "self",(char *) "key",(char *) "value", NULL
15273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15277 arg2
= wxString_in_helper(obj1
);
15278 if (arg2
== NULL
) SWIG_fail
;
15282 arg3
= wxString_in_helper(obj2
);
15283 if (arg3
== NULL
) SWIG_fail
;
15287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15288 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15290 wxPyEndAllowThreads(__tstate
);
15291 if (PyErr_Occurred()) SWIG_fail
;
15294 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15318 static PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15319 PyObject
*resultobj
;
15320 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15321 wxString
*arg2
= 0 ;
15324 bool temp2
= False
;
15325 PyObject
* obj0
= 0 ;
15326 PyObject
* obj1
= 0 ;
15327 PyObject
* obj2
= 0 ;
15328 char *kwnames
[] = {
15329 (char *) "self",(char *) "key",(char *) "value", NULL
15332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15336 arg2
= wxString_in_helper(obj1
);
15337 if (arg2
== NULL
) SWIG_fail
;
15340 arg3
= (long) SWIG_AsLong(obj2
);
15341 if (PyErr_Occurred()) SWIG_fail
;
15343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15344 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15346 wxPyEndAllowThreads(__tstate
);
15347 if (PyErr_Occurred()) SWIG_fail
;
15350 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15366 static PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15367 PyObject
*resultobj
;
15368 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15369 wxString
*arg2
= 0 ;
15372 bool temp2
= False
;
15373 PyObject
* obj0
= 0 ;
15374 PyObject
* obj1
= 0 ;
15375 PyObject
* obj2
= 0 ;
15376 char *kwnames
[] = {
15377 (char *) "self",(char *) "key",(char *) "value", NULL
15380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15384 arg2
= wxString_in_helper(obj1
);
15385 if (arg2
== NULL
) SWIG_fail
;
15388 arg3
= (double) SWIG_AsDouble(obj2
);
15389 if (PyErr_Occurred()) SWIG_fail
;
15391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15392 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15394 wxPyEndAllowThreads(__tstate
);
15395 if (PyErr_Occurred()) SWIG_fail
;
15398 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15414 static PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15415 PyObject
*resultobj
;
15416 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15417 wxString
*arg2
= 0 ;
15420 bool temp2
= False
;
15421 PyObject
* obj0
= 0 ;
15422 PyObject
* obj1
= 0 ;
15423 PyObject
* obj2
= 0 ;
15424 char *kwnames
[] = {
15425 (char *) "self",(char *) "key",(char *) "value", NULL
15428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15432 arg2
= wxString_in_helper(obj1
);
15433 if (arg2
== NULL
) SWIG_fail
;
15436 arg3
= (bool) SWIG_AsBool(obj2
);
15437 if (PyErr_Occurred()) SWIG_fail
;
15439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15440 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15442 wxPyEndAllowThreads(__tstate
);
15443 if (PyErr_Occurred()) SWIG_fail
;
15446 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15462 static PyObject
*_wrap_ConfigBase_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15463 PyObject
*resultobj
;
15464 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15465 bool arg2
= (bool) False
;
15467 PyObject
* obj0
= 0 ;
15468 PyObject
* obj1
= 0 ;
15469 char *kwnames
[] = {
15470 (char *) "self",(char *) "currentOnly", NULL
15473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) goto fail
;
15474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15477 arg2
= (bool) SWIG_AsBool(obj1
);
15478 if (PyErr_Occurred()) SWIG_fail
;
15481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15482 result
= (bool)(arg1
)->Flush(arg2
);
15484 wxPyEndAllowThreads(__tstate
);
15485 if (PyErr_Occurred()) SWIG_fail
;
15488 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15496 static PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15497 PyObject
*resultobj
;
15498 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15499 wxString
*arg2
= 0 ;
15500 wxString
*arg3
= 0 ;
15502 bool temp2
= False
;
15503 bool temp3
= False
;
15504 PyObject
* obj0
= 0 ;
15505 PyObject
* obj1
= 0 ;
15506 PyObject
* obj2
= 0 ;
15507 char *kwnames
[] = {
15508 (char *) "self",(char *) "oldName",(char *) "newName", NULL
15511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15515 arg2
= wxString_in_helper(obj1
);
15516 if (arg2
== NULL
) SWIG_fail
;
15520 arg3
= wxString_in_helper(obj2
);
15521 if (arg3
== NULL
) SWIG_fail
;
15525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15526 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15528 wxPyEndAllowThreads(__tstate
);
15529 if (PyErr_Occurred()) SWIG_fail
;
15532 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15556 static PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15557 PyObject
*resultobj
;
15558 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15559 wxString
*arg2
= 0 ;
15560 wxString
*arg3
= 0 ;
15562 bool temp2
= False
;
15563 bool temp3
= False
;
15564 PyObject
* obj0
= 0 ;
15565 PyObject
* obj1
= 0 ;
15566 PyObject
* obj2
= 0 ;
15567 char *kwnames
[] = {
15568 (char *) "self",(char *) "oldName",(char *) "newName", NULL
15571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15575 arg2
= wxString_in_helper(obj1
);
15576 if (arg2
== NULL
) SWIG_fail
;
15580 arg3
= wxString_in_helper(obj2
);
15581 if (arg3
== NULL
) SWIG_fail
;
15585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15586 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15588 wxPyEndAllowThreads(__tstate
);
15589 if (PyErr_Occurred()) SWIG_fail
;
15592 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15616 static PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15617 PyObject
*resultobj
;
15618 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15619 wxString
*arg2
= 0 ;
15620 bool arg3
= (bool) True
;
15622 bool temp2
= False
;
15623 PyObject
* obj0
= 0 ;
15624 PyObject
* obj1
= 0 ;
15625 PyObject
* obj2
= 0 ;
15626 char *kwnames
[] = {
15627 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
15630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15634 arg2
= wxString_in_helper(obj1
);
15635 if (arg2
== NULL
) SWIG_fail
;
15639 arg3
= (bool) SWIG_AsBool(obj2
);
15640 if (PyErr_Occurred()) SWIG_fail
;
15643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15644 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
15646 wxPyEndAllowThreads(__tstate
);
15647 if (PyErr_Occurred()) SWIG_fail
;
15650 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15666 static PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15667 PyObject
*resultobj
;
15668 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15669 wxString
*arg2
= 0 ;
15671 bool temp2
= False
;
15672 PyObject
* obj0
= 0 ;
15673 PyObject
* obj1
= 0 ;
15674 char *kwnames
[] = {
15675 (char *) "self",(char *) "key", NULL
15678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
15679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15682 arg2
= wxString_in_helper(obj1
);
15683 if (arg2
== NULL
) SWIG_fail
;
15687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15688 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
15690 wxPyEndAllowThreads(__tstate
);
15691 if (PyErr_Occurred()) SWIG_fail
;
15694 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15710 static PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15711 PyObject
*resultobj
;
15712 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15714 PyObject
* obj0
= 0 ;
15715 char *kwnames
[] = {
15716 (char *) "self", NULL
15719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_DeleteAll",kwnames
,&obj0
)) goto fail
;
15720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15724 result
= (bool)(arg1
)->DeleteAll();
15726 wxPyEndAllowThreads(__tstate
);
15727 if (PyErr_Occurred()) SWIG_fail
;
15730 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15738 static PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15739 PyObject
*resultobj
;
15740 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15741 bool arg2
= (bool) True
;
15742 PyObject
* obj0
= 0 ;
15743 PyObject
* obj1
= 0 ;
15744 char *kwnames
[] = {
15745 (char *) "self",(char *) "doIt", NULL
15748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
15749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15752 arg2
= (bool) SWIG_AsBool(obj1
);
15753 if (PyErr_Occurred()) SWIG_fail
;
15756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15757 (arg1
)->SetExpandEnvVars(arg2
);
15759 wxPyEndAllowThreads(__tstate
);
15760 if (PyErr_Occurred()) SWIG_fail
;
15762 Py_INCREF(Py_None
); resultobj
= Py_None
;
15769 static PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15770 PyObject
*resultobj
;
15771 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15773 PyObject
* obj0
= 0 ;
15774 char *kwnames
[] = {
15775 (char *) "self", NULL
15778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames
,&obj0
)) goto fail
;
15779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15783 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
15785 wxPyEndAllowThreads(__tstate
);
15786 if (PyErr_Occurred()) SWIG_fail
;
15789 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15797 static PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15798 PyObject
*resultobj
;
15799 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15800 bool arg2
= (bool) True
;
15801 PyObject
* obj0
= 0 ;
15802 PyObject
* obj1
= 0 ;
15803 char *kwnames
[] = {
15804 (char *) "self",(char *) "doIt", NULL
15807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
15808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15811 arg2
= (bool) SWIG_AsBool(obj1
);
15812 if (PyErr_Occurred()) SWIG_fail
;
15815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15816 (arg1
)->SetRecordDefaults(arg2
);
15818 wxPyEndAllowThreads(__tstate
);
15819 if (PyErr_Occurred()) SWIG_fail
;
15821 Py_INCREF(Py_None
); resultobj
= Py_None
;
15828 static PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15829 PyObject
*resultobj
;
15830 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15832 PyObject
* obj0
= 0 ;
15833 char *kwnames
[] = {
15834 (char *) "self", NULL
15837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames
,&obj0
)) goto fail
;
15838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15842 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
15844 wxPyEndAllowThreads(__tstate
);
15845 if (PyErr_Occurred()) SWIG_fail
;
15848 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15856 static PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15857 PyObject
*resultobj
;
15858 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15859 wxString
*arg2
= 0 ;
15861 bool temp2
= False
;
15862 PyObject
* obj0
= 0 ;
15863 PyObject
* obj1
= 0 ;
15864 char *kwnames
[] = {
15865 (char *) "self",(char *) "str", NULL
15868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
15869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15872 arg2
= wxString_in_helper(obj1
);
15873 if (arg2
== NULL
) SWIG_fail
;
15877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15878 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
15880 wxPyEndAllowThreads(__tstate
);
15881 if (PyErr_Occurred()) SWIG_fail
;
15885 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15887 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15904 static PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15905 PyObject
*resultobj
;
15906 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15908 PyObject
* obj0
= 0 ;
15909 char *kwnames
[] = {
15910 (char *) "self", NULL
15913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetAppName",kwnames
,&obj0
)) goto fail
;
15914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15918 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
15920 wxPyEndAllowThreads(__tstate
);
15921 if (PyErr_Occurred()) SWIG_fail
;
15925 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15927 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15936 static PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15937 PyObject
*resultobj
;
15938 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15940 PyObject
* obj0
= 0 ;
15941 char *kwnames
[] = {
15942 (char *) "self", NULL
15945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetVendorName",kwnames
,&obj0
)) goto fail
;
15946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15950 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
15952 wxPyEndAllowThreads(__tstate
);
15953 if (PyErr_Occurred()) SWIG_fail
;
15957 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15959 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15968 static PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15969 PyObject
*resultobj
;
15970 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15971 wxString
*arg2
= 0 ;
15972 bool temp2
= False
;
15973 PyObject
* obj0
= 0 ;
15974 PyObject
* obj1
= 0 ;
15975 char *kwnames
[] = {
15976 (char *) "self",(char *) "appName", NULL
15979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
15980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15983 arg2
= wxString_in_helper(obj1
);
15984 if (arg2
== NULL
) SWIG_fail
;
15988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15989 (arg1
)->SetAppName((wxString
const &)*arg2
);
15991 wxPyEndAllowThreads(__tstate
);
15992 if (PyErr_Occurred()) SWIG_fail
;
15994 Py_INCREF(Py_None
); resultobj
= Py_None
;
16009 static PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16010 PyObject
*resultobj
;
16011 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16012 wxString
*arg2
= 0 ;
16013 bool temp2
= False
;
16014 PyObject
* obj0
= 0 ;
16015 PyObject
* obj1
= 0 ;
16016 char *kwnames
[] = {
16017 (char *) "self",(char *) "vendorName", NULL
16020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
16021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16024 arg2
= wxString_in_helper(obj1
);
16025 if (arg2
== NULL
) SWIG_fail
;
16029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16030 (arg1
)->SetVendorName((wxString
const &)*arg2
);
16032 wxPyEndAllowThreads(__tstate
);
16033 if (PyErr_Occurred()) SWIG_fail
;
16035 Py_INCREF(Py_None
); resultobj
= Py_None
;
16050 static PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16051 PyObject
*resultobj
;
16052 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16054 PyObject
* obj0
= 0 ;
16055 PyObject
* obj1
= 0 ;
16056 char *kwnames
[] = {
16057 (char *) "self",(char *) "style", NULL
16060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
16061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16063 arg2
= (long) SWIG_AsLong(obj1
);
16064 if (PyErr_Occurred()) SWIG_fail
;
16066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16067 (arg1
)->SetStyle(arg2
);
16069 wxPyEndAllowThreads(__tstate
);
16070 if (PyErr_Occurred()) SWIG_fail
;
16072 Py_INCREF(Py_None
); resultobj
= Py_None
;
16079 static PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16080 PyObject
*resultobj
;
16081 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16083 PyObject
* obj0
= 0 ;
16084 char *kwnames
[] = {
16085 (char *) "self", NULL
16088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetStyle",kwnames
,&obj0
)) goto fail
;
16089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16093 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
16095 wxPyEndAllowThreads(__tstate
);
16096 if (PyErr_Occurred()) SWIG_fail
;
16098 resultobj
= SWIG_FromLong((long)result
);
16105 static PyObject
* ConfigBase_swigregister(PyObject
*self
, PyObject
*args
) {
16107 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16108 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase
, obj
);
16110 return Py_BuildValue((char *)"");
16112 static PyObject
*_wrap_new_Config(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16113 PyObject
*resultobj
;
16114 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16115 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16116 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16117 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16118 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16119 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16120 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16121 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16122 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
16124 bool temp1
= False
;
16125 bool temp2
= False
;
16126 bool temp3
= False
;
16127 bool temp4
= False
;
16128 PyObject
* obj0
= 0 ;
16129 PyObject
* obj1
= 0 ;
16130 PyObject
* obj2
= 0 ;
16131 PyObject
* obj3
= 0 ;
16132 PyObject
* obj4
= 0 ;
16133 char *kwnames
[] = {
16134 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16140 arg1
= wxString_in_helper(obj0
);
16141 if (arg1
== NULL
) SWIG_fail
;
16147 arg2
= wxString_in_helper(obj1
);
16148 if (arg2
== NULL
) SWIG_fail
;
16154 arg3
= wxString_in_helper(obj2
);
16155 if (arg3
== NULL
) SWIG_fail
;
16161 arg4
= wxString_in_helper(obj3
);
16162 if (arg4
== NULL
) SWIG_fail
;
16167 arg5
= (long) SWIG_AsLong(obj4
);
16168 if (PyErr_Occurred()) SWIG_fail
;
16171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16172 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
16174 wxPyEndAllowThreads(__tstate
);
16175 if (PyErr_Occurred()) SWIG_fail
;
16177 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfig
, 1);
16216 static PyObject
*_wrap_delete_Config(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16217 PyObject
*resultobj
;
16218 wxConfig
*arg1
= (wxConfig
*) 0 ;
16219 PyObject
* obj0
= 0 ;
16220 char *kwnames
[] = {
16221 (char *) "self", NULL
16224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Config",kwnames
,&obj0
)) goto fail
;
16225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfig
,
16226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16231 wxPyEndAllowThreads(__tstate
);
16232 if (PyErr_Occurred()) SWIG_fail
;
16234 Py_INCREF(Py_None
); resultobj
= Py_None
;
16241 static PyObject
* Config_swigregister(PyObject
*self
, PyObject
*args
) {
16243 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16244 SWIG_TypeClientData(SWIGTYPE_p_wxConfig
, obj
);
16246 return Py_BuildValue((char *)"");
16248 static PyObject
*_wrap_new_FileConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16249 PyObject
*resultobj
;
16250 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16251 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16252 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16253 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16254 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16255 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16256 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16257 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16258 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
16259 wxFileConfig
*result
;
16260 bool temp1
= False
;
16261 bool temp2
= False
;
16262 bool temp3
= False
;
16263 bool temp4
= False
;
16264 PyObject
* obj0
= 0 ;
16265 PyObject
* obj1
= 0 ;
16266 PyObject
* obj2
= 0 ;
16267 PyObject
* obj3
= 0 ;
16268 PyObject
* obj4
= 0 ;
16269 char *kwnames
[] = {
16270 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16276 arg1
= wxString_in_helper(obj0
);
16277 if (arg1
== NULL
) SWIG_fail
;
16283 arg2
= wxString_in_helper(obj1
);
16284 if (arg2
== NULL
) SWIG_fail
;
16290 arg3
= wxString_in_helper(obj2
);
16291 if (arg3
== NULL
) SWIG_fail
;
16297 arg4
= wxString_in_helper(obj3
);
16298 if (arg4
== NULL
) SWIG_fail
;
16303 arg5
= (long) SWIG_AsLong(obj4
);
16304 if (PyErr_Occurred()) SWIG_fail
;
16307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16308 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
16310 wxPyEndAllowThreads(__tstate
);
16311 if (PyErr_Occurred()) SWIG_fail
;
16313 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileConfig
, 1);
16352 static PyObject
*_wrap_delete_FileConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16353 PyObject
*resultobj
;
16354 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
16355 PyObject
* obj0
= 0 ;
16356 char *kwnames
[] = {
16357 (char *) "self", NULL
16360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileConfig",kwnames
,&obj0
)) goto fail
;
16361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileConfig
,
16362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16367 wxPyEndAllowThreads(__tstate
);
16368 if (PyErr_Occurred()) SWIG_fail
;
16370 Py_INCREF(Py_None
); resultobj
= Py_None
;
16377 static PyObject
* FileConfig_swigregister(PyObject
*self
, PyObject
*args
) {
16379 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16380 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig
, obj
);
16382 return Py_BuildValue((char *)"");
16384 static PyObject
*_wrap_new_ConfigPathChanger(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16385 PyObject
*resultobj
;
16386 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16387 wxString
*arg2
= 0 ;
16388 wxConfigPathChanger
*result
;
16389 bool temp2
= False
;
16390 PyObject
* obj0
= 0 ;
16391 PyObject
* obj1
= 0 ;
16392 char *kwnames
[] = {
16393 (char *) "config",(char *) "entry", NULL
16396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) goto fail
;
16397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16400 arg2
= wxString_in_helper(obj1
);
16401 if (arg2
== NULL
) SWIG_fail
;
16405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16406 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
16408 wxPyEndAllowThreads(__tstate
);
16409 if (PyErr_Occurred()) SWIG_fail
;
16411 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigPathChanger
, 1);
16426 static PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16427 PyObject
*resultobj
;
16428 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
16429 PyObject
* obj0
= 0 ;
16430 char *kwnames
[] = {
16431 (char *) "self", NULL
16434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigPathChanger",kwnames
,&obj0
)) goto fail
;
16435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigPathChanger
,
16436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16441 wxPyEndAllowThreads(__tstate
);
16442 if (PyErr_Occurred()) SWIG_fail
;
16444 Py_INCREF(Py_None
); resultobj
= Py_None
;
16451 static PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16452 PyObject
*resultobj
;
16453 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
16455 PyObject
* obj0
= 0 ;
16456 char *kwnames
[] = {
16457 (char *) "self", NULL
16460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigPathChanger_Name",kwnames
,&obj0
)) goto fail
;
16461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigPathChanger
,
16462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16466 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
16467 result
= (wxString
*) &_result_ref
;
16470 wxPyEndAllowThreads(__tstate
);
16471 if (PyErr_Occurred()) SWIG_fail
;
16475 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16477 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16486 static PyObject
* ConfigPathChanger_swigregister(PyObject
*self
, PyObject
*args
) {
16488 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16489 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger
, obj
);
16491 return Py_BuildValue((char *)"");
16493 static PyObject
*_wrap_ExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16494 PyObject
*resultobj
;
16495 wxString
*arg1
= 0 ;
16497 bool temp1
= False
;
16498 PyObject
* obj0
= 0 ;
16499 char *kwnames
[] = {
16500 (char *) "sz", NULL
16503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) goto fail
;
16505 arg1
= wxString_in_helper(obj0
);
16506 if (arg1
== NULL
) SWIG_fail
;
16510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16511 result
= wxExpandEnvVars((wxString
const &)*arg1
);
16513 wxPyEndAllowThreads(__tstate
);
16514 if (PyErr_Occurred()) SWIG_fail
;
16518 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16520 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16537 static int _wrap_DateFormatStr_set(PyObject
*_val
) {
16538 PyErr_SetString(PyExc_TypeError
,"Variable DateFormatStr is read-only.");
16543 static PyObject
*_wrap_DateFormatStr_get() {
16548 pyobj
= PyUnicode_FromWideChar((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
16550 pyobj
= PyString_FromStringAndSize((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
16557 static int _wrap_TimeSpanFormatStr_set(PyObject
*_val
) {
16558 PyErr_SetString(PyExc_TypeError
,"Variable TimeSpanFormatStr is read-only.");
16563 static PyObject
*_wrap_TimeSpanFormatStr_get() {
16568 pyobj
= PyUnicode_FromWideChar((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
16570 pyobj
= PyString_FromStringAndSize((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
16577 static PyObject
*_wrap_DateTime_SetCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16578 PyObject
*resultobj
;
16580 PyObject
* obj0
= 0 ;
16581 char *kwnames
[] = {
16582 (char *) "country", NULL
16585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) goto fail
;
16586 arg1
= (wxDateTime::Country
) SWIG_AsInt(obj0
);
16587 if (PyErr_Occurred()) SWIG_fail
;
16589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16590 wxDateTime::SetCountry((wxDateTime::Country
)arg1
);
16592 wxPyEndAllowThreads(__tstate
);
16593 if (PyErr_Occurred()) SWIG_fail
;
16595 Py_INCREF(Py_None
); resultobj
= Py_None
;
16602 static PyObject
*_wrap_DateTime_GetCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16603 PyObject
*resultobj
;
16605 char *kwnames
[] = {
16609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetCountry",kwnames
)) goto fail
;
16611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16612 result
= (int)wxDateTime::GetCountry();
16614 wxPyEndAllowThreads(__tstate
);
16615 if (PyErr_Occurred()) SWIG_fail
;
16617 resultobj
= SWIG_FromInt((int)result
);
16624 static PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16625 PyObject
*resultobj
;
16626 int arg1
= (int) wxDateTime::Country_Default
;
16628 PyObject
* obj0
= 0 ;
16629 char *kwnames
[] = {
16630 (char *) "country", NULL
16633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) goto fail
;
16635 arg1
= (wxDateTime::Country
) SWIG_AsInt(obj0
);
16636 if (PyErr_Occurred()) SWIG_fail
;
16639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16640 result
= (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country
)arg1
);
16642 wxPyEndAllowThreads(__tstate
);
16643 if (PyErr_Occurred()) SWIG_fail
;
16646 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16654 static PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16655 PyObject
*resultobj
;
16656 int arg1
= (int) wxDateTime::Gregorian
;
16658 PyObject
* obj0
= 0 ;
16659 char *kwnames
[] = {
16660 (char *) "cal", NULL
16663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) goto fail
;
16665 arg1
= (wxDateTime::Calendar
) SWIG_AsInt(obj0
);
16666 if (PyErr_Occurred()) SWIG_fail
;
16669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16670 result
= (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar
)arg1
);
16672 wxPyEndAllowThreads(__tstate
);
16673 if (PyErr_Occurred()) SWIG_fail
;
16675 resultobj
= SWIG_FromInt((int)result
);
16682 static PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16683 PyObject
*resultobj
;
16686 PyObject
* obj0
= 0 ;
16687 char *kwnames
[] = {
16688 (char *) "year", NULL
16691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) goto fail
;
16692 arg1
= (int) SWIG_AsInt(obj0
);
16693 if (PyErr_Occurred()) SWIG_fail
;
16695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16696 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
16698 wxPyEndAllowThreads(__tstate
);
16699 if (PyErr_Occurred()) SWIG_fail
;
16701 resultobj
= SWIG_FromInt((int)result
);
16708 static PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16709 PyObject
*resultobj
;
16710 int arg1
= (int) wxDateTime::Gregorian
;
16712 PyObject
* obj0
= 0 ;
16713 char *kwnames
[] = {
16714 (char *) "cal", NULL
16717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",kwnames
,&obj0
)) goto fail
;
16719 arg1
= (wxDateTime::Calendar
) SWIG_AsInt(obj0
);
16720 if (PyErr_Occurred()) SWIG_fail
;
16723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16724 result
= (int)wxDateTime::GetCurrentMonth((wxDateTime::Calendar
)arg1
);
16726 wxPyEndAllowThreads(__tstate
);
16727 if (PyErr_Occurred()) SWIG_fail
;
16729 resultobj
= SWIG_FromInt((int)result
);
16736 static PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16737 PyObject
*resultobj
;
16738 int arg1
= (int) wxDateTime::Inv_Year
;
16739 int arg2
= (int) wxDateTime::Gregorian
;
16741 PyObject
* obj0
= 0 ;
16742 PyObject
* obj1
= 0 ;
16743 char *kwnames
[] = {
16744 (char *) "year",(char *) "cal", NULL
16747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) goto fail
;
16749 arg1
= (int) SWIG_AsInt(obj0
);
16750 if (PyErr_Occurred()) SWIG_fail
;
16753 arg2
= (wxDateTime::Calendar
) SWIG_AsInt(obj1
);
16754 if (PyErr_Occurred()) SWIG_fail
;
16757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16758 result
= (bool)wxDateTime::IsLeapYear(arg1
,(wxDateTime::Calendar
)arg2
);
16760 wxPyEndAllowThreads(__tstate
);
16761 if (PyErr_Occurred()) SWIG_fail
;
16764 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16772 static PyObject
*_wrap_DateTime_GetCentury(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16773 PyObject
*resultobj
;
16774 int arg1
= (int) wxDateTime::Inv_Year
;
16776 PyObject
* obj0
= 0 ;
16777 char *kwnames
[] = {
16778 (char *) "year", NULL
16781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) goto fail
;
16783 arg1
= (int) SWIG_AsInt(obj0
);
16784 if (PyErr_Occurred()) SWIG_fail
;
16787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16788 result
= (int)wxDateTime::GetCentury(arg1
);
16790 wxPyEndAllowThreads(__tstate
);
16791 if (PyErr_Occurred()) SWIG_fail
;
16793 resultobj
= SWIG_FromInt((int)result
);
16800 static PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16801 PyObject
*resultobj
;
16803 int arg2
= (int) wxDateTime::Gregorian
;
16805 PyObject
* obj0
= 0 ;
16806 PyObject
* obj1
= 0 ;
16807 char *kwnames
[] = {
16808 (char *) "year",(char *) "cal", NULL
16811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) goto fail
;
16812 arg1
= (int) SWIG_AsInt(obj0
);
16813 if (PyErr_Occurred()) SWIG_fail
;
16815 arg2
= (wxDateTime::Calendar
) SWIG_AsInt(obj1
);
16816 if (PyErr_Occurred()) SWIG_fail
;
16819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16820 result
= (int)wxDateTime::GetNumberOfDays(arg1
,(wxDateTime::Calendar
)arg2
);
16822 wxPyEndAllowThreads(__tstate
);
16823 if (PyErr_Occurred()) SWIG_fail
;
16825 resultobj
= SWIG_FromInt((int)result
);
16832 static PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16833 PyObject
*resultobj
;
16835 int arg2
= (int) wxDateTime::Inv_Year
;
16836 int arg3
= (int) wxDateTime::Gregorian
;
16838 PyObject
* obj0
= 0 ;
16839 PyObject
* obj1
= 0 ;
16840 PyObject
* obj2
= 0 ;
16841 char *kwnames
[] = {
16842 (char *) "month",(char *) "year",(char *) "cal", NULL
16845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16846 arg1
= (wxDateTime::Month
) SWIG_AsInt(obj0
);
16847 if (PyErr_Occurred()) SWIG_fail
;
16849 arg2
= (int) SWIG_AsInt(obj1
);
16850 if (PyErr_Occurred()) SWIG_fail
;
16853 arg3
= (wxDateTime::Calendar
) SWIG_AsInt(obj2
);
16854 if (PyErr_Occurred()) SWIG_fail
;
16857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16858 result
= (int)wxDateTime::GetNumberOfDays((wxDateTime::Month
)arg1
,arg2
,(wxDateTime::Calendar
)arg3
);
16860 wxPyEndAllowThreads(__tstate
);
16861 if (PyErr_Occurred()) SWIG_fail
;
16863 resultobj
= SWIG_FromInt((int)result
);
16870 static PyObject
*_wrap_DateTime_GetMonthName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16871 PyObject
*resultobj
;
16873 int arg2
= (int) wxDateTime::Name_Full
;
16875 PyObject
* obj0
= 0 ;
16876 PyObject
* obj1
= 0 ;
16877 char *kwnames
[] = {
16878 (char *) "month",(char *) "flags", NULL
16881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) goto fail
;
16882 arg1
= (wxDateTime::Month
) SWIG_AsInt(obj0
);
16883 if (PyErr_Occurred()) SWIG_fail
;
16885 arg2
= (wxDateTime::NameFlags
) SWIG_AsInt(obj1
);
16886 if (PyErr_Occurred()) SWIG_fail
;
16889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16890 result
= wxDateTime::GetMonthName((wxDateTime::Month
)arg1
,(wxDateTime::NameFlags
)arg2
);
16892 wxPyEndAllowThreads(__tstate
);
16893 if (PyErr_Occurred()) SWIG_fail
;
16897 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16899 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16908 static PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16909 PyObject
*resultobj
;
16911 int arg2
= (int) wxDateTime::Name_Full
;
16913 PyObject
* obj0
= 0 ;
16914 PyObject
* obj1
= 0 ;
16915 char *kwnames
[] = {
16916 (char *) "weekday",(char *) "flags", NULL
16919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) goto fail
;
16920 arg1
= (wxDateTime::WeekDay
) SWIG_AsInt(obj0
);
16921 if (PyErr_Occurred()) SWIG_fail
;
16923 arg2
= (wxDateTime::NameFlags
) SWIG_AsInt(obj1
);
16924 if (PyErr_Occurred()) SWIG_fail
;
16927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16928 result
= wxDateTime::GetWeekDayName((wxDateTime::WeekDay
)arg1
,(wxDateTime::NameFlags
)arg2
);
16930 wxPyEndAllowThreads(__tstate
);
16931 if (PyErr_Occurred()) SWIG_fail
;
16935 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16937 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16946 static PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16947 PyObject
*resultobj
;
16948 wxString
*arg1
= (wxString
*) 0 ;
16949 wxString
*arg2
= (wxString
*) 0 ;
16950 bool temp1
= False
;
16951 bool temp2
= False
;
16952 PyObject
* obj0
= 0 ;
16953 PyObject
* obj1
= 0 ;
16954 char *kwnames
[] = {
16955 (char *) "OUTPUT",(char *) "OUTPUT", NULL
16958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetAmPmStrings",kwnames
,&obj0
,&obj1
)) goto fail
;
16960 arg1
= wxString_in_helper(obj0
);
16961 if (arg1
== NULL
) SWIG_fail
;
16965 arg2
= wxString_in_helper(obj1
);
16966 if (arg2
== NULL
) SWIG_fail
;
16970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16971 wxDateTime::GetAmPmStrings(arg1
,arg2
);
16973 wxPyEndAllowThreads(__tstate
);
16974 if (PyErr_Occurred()) SWIG_fail
;
16976 Py_INCREF(Py_None
); resultobj
= Py_None
;
16999 static PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17000 PyObject
*resultobj
;
17001 int arg1
= (int) wxDateTime::Inv_Year
;
17002 int arg2
= (int) wxDateTime::Country_Default
;
17004 PyObject
* obj0
= 0 ;
17005 PyObject
* obj1
= 0 ;
17006 char *kwnames
[] = {
17007 (char *) "year",(char *) "country", NULL
17010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) goto fail
;
17012 arg1
= (int) SWIG_AsInt(obj0
);
17013 if (PyErr_Occurred()) SWIG_fail
;
17016 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
17017 if (PyErr_Occurred()) SWIG_fail
;
17020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17021 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,(wxDateTime::Country
)arg2
);
17023 wxPyEndAllowThreads(__tstate
);
17024 if (PyErr_Occurred()) SWIG_fail
;
17027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17035 static PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17036 PyObject
*resultobj
;
17037 int arg1
= (int) wxDateTime::Inv_Year
;
17038 int arg2
= (int) wxDateTime::Country_Default
;
17040 PyObject
* obj0
= 0 ;
17041 PyObject
* obj1
= 0 ;
17042 char *kwnames
[] = {
17043 (char *) "year",(char *) "country", NULL
17046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetBeginDST",kwnames
,&obj0
,&obj1
)) goto fail
;
17048 arg1
= (int) SWIG_AsInt(obj0
);
17049 if (PyErr_Occurred()) SWIG_fail
;
17052 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
17053 if (PyErr_Occurred()) SWIG_fail
;
17056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17057 result
= wxDateTime::GetBeginDST(arg1
,(wxDateTime::Country
)arg2
);
17059 wxPyEndAllowThreads(__tstate
);
17060 if (PyErr_Occurred()) SWIG_fail
;
17063 wxDateTime
* resultptr
;
17064 resultptr
= new wxDateTime((wxDateTime
&) result
);
17065 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17073 static PyObject
*_wrap_DateTime_GetEndDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17074 PyObject
*resultobj
;
17075 int arg1
= (int) wxDateTime::Inv_Year
;
17076 int arg2
= (int) wxDateTime::Country_Default
;
17078 PyObject
* obj0
= 0 ;
17079 PyObject
* obj1
= 0 ;
17080 char *kwnames
[] = {
17081 (char *) "year",(char *) "country", NULL
17084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) goto fail
;
17086 arg1
= (int) SWIG_AsInt(obj0
);
17087 if (PyErr_Occurred()) SWIG_fail
;
17090 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
17091 if (PyErr_Occurred()) SWIG_fail
;
17094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17095 result
= wxDateTime::GetEndDST(arg1
,(wxDateTime::Country
)arg2
);
17097 wxPyEndAllowThreads(__tstate
);
17098 if (PyErr_Occurred()) SWIG_fail
;
17101 wxDateTime
* resultptr
;
17102 resultptr
= new wxDateTime((wxDateTime
&) result
);
17103 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17111 static PyObject
*_wrap_DateTime_Now(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17112 PyObject
*resultobj
;
17114 char *kwnames
[] = {
17118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Now",kwnames
)) goto fail
;
17120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17121 result
= wxDateTime::Now();
17123 wxPyEndAllowThreads(__tstate
);
17124 if (PyErr_Occurred()) SWIG_fail
;
17127 wxDateTime
* resultptr
;
17128 resultptr
= new wxDateTime((wxDateTime
&) result
);
17129 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17137 static PyObject
*_wrap_DateTime_UNow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17138 PyObject
*resultobj
;
17140 char *kwnames
[] = {
17144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_UNow",kwnames
)) goto fail
;
17146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17147 result
= wxDateTime::UNow();
17149 wxPyEndAllowThreads(__tstate
);
17150 if (PyErr_Occurred()) SWIG_fail
;
17153 wxDateTime
* resultptr
;
17154 resultptr
= new wxDateTime((wxDateTime
&) result
);
17155 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17163 static PyObject
*_wrap_DateTime_Today(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17164 PyObject
*resultobj
;
17166 char *kwnames
[] = {
17170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Today",kwnames
)) goto fail
;
17172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17173 result
= wxDateTime::Today();
17175 wxPyEndAllowThreads(__tstate
);
17176 if (PyErr_Occurred()) SWIG_fail
;
17179 wxDateTime
* resultptr
;
17180 resultptr
= new wxDateTime((wxDateTime
&) result
);
17181 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17189 static PyObject
*_wrap_new_DateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17190 PyObject
*resultobj
;
17191 wxDateTime
*result
;
17192 char *kwnames
[] = {
17196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DateTime",kwnames
)) goto fail
;
17198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17199 result
= (wxDateTime
*)new wxDateTime();
17201 wxPyEndAllowThreads(__tstate
);
17202 if (PyErr_Occurred()) SWIG_fail
;
17204 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17211 static PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17212 PyObject
*resultobj
;
17214 wxDateTime
*result
;
17215 PyObject
* obj0
= 0 ;
17216 char *kwnames
[] = {
17217 (char *) "timet", NULL
17220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) goto fail
;
17221 arg1
= (time_t) SWIG_AsUnsignedInt(obj0
);
17222 if (PyErr_Occurred()) SWIG_fail
;
17224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17225 result
= (wxDateTime
*)new wxDateTime(arg1
);
17227 wxPyEndAllowThreads(__tstate
);
17228 if (PyErr_Occurred()) SWIG_fail
;
17230 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17237 static PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17238 PyObject
*resultobj
;
17240 wxDateTime
*result
;
17241 PyObject
* obj0
= 0 ;
17242 char *kwnames
[] = {
17243 (char *) "jdn", NULL
17246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) goto fail
;
17247 arg1
= (double) SWIG_AsDouble(obj0
);
17248 if (PyErr_Occurred()) SWIG_fail
;
17250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17251 result
= (wxDateTime
*)new wxDateTime(arg1
);
17253 wxPyEndAllowThreads(__tstate
);
17254 if (PyErr_Occurred()) SWIG_fail
;
17256 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17263 static PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17264 PyObject
*resultobj
;
17266 int arg2
= (int) 0 ;
17267 int arg3
= (int) 0 ;
17268 int arg4
= (int) 0 ;
17269 wxDateTime
*result
;
17270 PyObject
* obj0
= 0 ;
17271 PyObject
* obj1
= 0 ;
17272 PyObject
* obj2
= 0 ;
17273 PyObject
* obj3
= 0 ;
17274 char *kwnames
[] = {
17275 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17279 arg1
= (int) SWIG_AsInt(obj0
);
17280 if (PyErr_Occurred()) SWIG_fail
;
17282 arg2
= (int) SWIG_AsInt(obj1
);
17283 if (PyErr_Occurred()) SWIG_fail
;
17286 arg3
= (int) SWIG_AsInt(obj2
);
17287 if (PyErr_Occurred()) SWIG_fail
;
17290 arg4
= (int) SWIG_AsInt(obj3
);
17291 if (PyErr_Occurred()) SWIG_fail
;
17294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17295 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
17297 wxPyEndAllowThreads(__tstate
);
17298 if (PyErr_Occurred()) SWIG_fail
;
17300 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17307 static PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17308 PyObject
*resultobj
;
17310 int arg2
= (int) wxDateTime::Inv_Month
;
17311 int arg3
= (int) wxDateTime::Inv_Year
;
17312 int arg4
= (int) 0 ;
17313 int arg5
= (int) 0 ;
17314 int arg6
= (int) 0 ;
17315 int arg7
= (int) 0 ;
17316 wxDateTime
*result
;
17317 PyObject
* obj0
= 0 ;
17318 PyObject
* obj1
= 0 ;
17319 PyObject
* obj2
= 0 ;
17320 PyObject
* obj3
= 0 ;
17321 PyObject
* obj4
= 0 ;
17322 PyObject
* obj5
= 0 ;
17323 PyObject
* obj6
= 0 ;
17324 char *kwnames
[] = {
17325 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17329 arg1
= (int) SWIG_AsInt(obj0
);
17330 if (PyErr_Occurred()) SWIG_fail
;
17332 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
17333 if (PyErr_Occurred()) SWIG_fail
;
17336 arg3
= (int) SWIG_AsInt(obj2
);
17337 if (PyErr_Occurred()) SWIG_fail
;
17340 arg4
= (int) SWIG_AsInt(obj3
);
17341 if (PyErr_Occurred()) SWIG_fail
;
17344 arg5
= (int) SWIG_AsInt(obj4
);
17345 if (PyErr_Occurred()) SWIG_fail
;
17348 arg6
= (int) SWIG_AsInt(obj5
);
17349 if (PyErr_Occurred()) SWIG_fail
;
17352 arg7
= (int) SWIG_AsInt(obj6
);
17353 if (PyErr_Occurred()) SWIG_fail
;
17356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17357 result
= (wxDateTime
*)new wxDateTime(arg1
,(wxDateTime::Month
)arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
17359 wxPyEndAllowThreads(__tstate
);
17360 if (PyErr_Occurred()) SWIG_fail
;
17362 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17369 static PyObject
*_wrap_delete_DateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17370 PyObject
*resultobj
;
17371 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17372 PyObject
* obj0
= 0 ;
17373 char *kwnames
[] = {
17374 (char *) "self", NULL
17377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateTime",kwnames
,&obj0
)) goto fail
;
17378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17384 wxPyEndAllowThreads(__tstate
);
17385 if (PyErr_Occurred()) SWIG_fail
;
17387 Py_INCREF(Py_None
); resultobj
= Py_None
;
17394 static PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17395 PyObject
*resultobj
;
17396 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17397 wxDateTime
*result
;
17398 PyObject
* obj0
= 0 ;
17399 char *kwnames
[] = {
17400 (char *) "self", NULL
17403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetToCurrent",kwnames
,&obj0
)) goto fail
;
17404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17409 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
17410 result
= (wxDateTime
*) &_result_ref
;
17413 wxPyEndAllowThreads(__tstate
);
17414 if (PyErr_Occurred()) SWIG_fail
;
17416 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17423 static PyObject
*_wrap_DateTime_SetTimeT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17424 PyObject
*resultobj
;
17425 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17427 wxDateTime
*result
;
17428 PyObject
* obj0
= 0 ;
17429 PyObject
* obj1
= 0 ;
17430 char *kwnames
[] = {
17431 (char *) "self",(char *) "timet", NULL
17434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) goto fail
;
17435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17437 arg2
= (time_t) SWIG_AsUnsignedInt(obj1
);
17438 if (PyErr_Occurred()) SWIG_fail
;
17440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17442 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
17443 result
= (wxDateTime
*) &_result_ref
;
17446 wxPyEndAllowThreads(__tstate
);
17447 if (PyErr_Occurred()) SWIG_fail
;
17449 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17456 static PyObject
*_wrap_DateTime_SetJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17457 PyObject
*resultobj
;
17458 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17460 wxDateTime
*result
;
17461 PyObject
* obj0
= 0 ;
17462 PyObject
* obj1
= 0 ;
17463 char *kwnames
[] = {
17464 (char *) "self",(char *) "jdn", NULL
17467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) goto fail
;
17468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17470 arg2
= (double) SWIG_AsDouble(obj1
);
17471 if (PyErr_Occurred()) SWIG_fail
;
17473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17475 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
17476 result
= (wxDateTime
*) &_result_ref
;
17479 wxPyEndAllowThreads(__tstate
);
17480 if (PyErr_Occurred()) SWIG_fail
;
17482 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17489 static PyObject
*_wrap_DateTime_SetHMS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17490 PyObject
*resultobj
;
17491 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17493 int arg3
= (int) 0 ;
17494 int arg4
= (int) 0 ;
17495 int arg5
= (int) 0 ;
17496 wxDateTime
*result
;
17497 PyObject
* obj0
= 0 ;
17498 PyObject
* obj1
= 0 ;
17499 PyObject
* obj2
= 0 ;
17500 PyObject
* obj3
= 0 ;
17501 PyObject
* obj4
= 0 ;
17502 char *kwnames
[] = {
17503 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17509 arg2
= (int) SWIG_AsInt(obj1
);
17510 if (PyErr_Occurred()) SWIG_fail
;
17512 arg3
= (int) SWIG_AsInt(obj2
);
17513 if (PyErr_Occurred()) SWIG_fail
;
17516 arg4
= (int) SWIG_AsInt(obj3
);
17517 if (PyErr_Occurred()) SWIG_fail
;
17520 arg5
= (int) SWIG_AsInt(obj4
);
17521 if (PyErr_Occurred()) SWIG_fail
;
17524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17526 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
17527 result
= (wxDateTime
*) &_result_ref
;
17530 wxPyEndAllowThreads(__tstate
);
17531 if (PyErr_Occurred()) SWIG_fail
;
17533 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17540 static PyObject
*_wrap_DateTime_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17541 PyObject
*resultobj
;
17542 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17544 int arg3
= (int) wxDateTime::Inv_Month
;
17545 int arg4
= (int) wxDateTime::Inv_Year
;
17546 int arg5
= (int) 0 ;
17547 int arg6
= (int) 0 ;
17548 int arg7
= (int) 0 ;
17549 int arg8
= (int) 0 ;
17550 wxDateTime
*result
;
17551 PyObject
* obj0
= 0 ;
17552 PyObject
* obj1
= 0 ;
17553 PyObject
* obj2
= 0 ;
17554 PyObject
* obj3
= 0 ;
17555 PyObject
* obj4
= 0 ;
17556 PyObject
* obj5
= 0 ;
17557 PyObject
* obj6
= 0 ;
17558 PyObject
* obj7
= 0 ;
17559 char *kwnames
[] = {
17560 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
17564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17566 arg2
= (int) SWIG_AsInt(obj1
);
17567 if (PyErr_Occurred()) SWIG_fail
;
17569 arg3
= (wxDateTime::Month
) SWIG_AsInt(obj2
);
17570 if (PyErr_Occurred()) SWIG_fail
;
17573 arg4
= (int) SWIG_AsInt(obj3
);
17574 if (PyErr_Occurred()) SWIG_fail
;
17577 arg5
= (int) SWIG_AsInt(obj4
);
17578 if (PyErr_Occurred()) SWIG_fail
;
17581 arg6
= (int) SWIG_AsInt(obj5
);
17582 if (PyErr_Occurred()) SWIG_fail
;
17585 arg7
= (int) SWIG_AsInt(obj6
);
17586 if (PyErr_Occurred()) SWIG_fail
;
17589 arg8
= (int) SWIG_AsInt(obj7
);
17590 if (PyErr_Occurred()) SWIG_fail
;
17593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17595 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,(wxDateTime::Month
)arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
17596 result
= (wxDateTime
*) &_result_ref
;
17599 wxPyEndAllowThreads(__tstate
);
17600 if (PyErr_Occurred()) SWIG_fail
;
17602 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17609 static PyObject
*_wrap_DateTime_ResetTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17610 PyObject
*resultobj
;
17611 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17612 wxDateTime
*result
;
17613 PyObject
* obj0
= 0 ;
17614 char *kwnames
[] = {
17615 (char *) "self", NULL
17618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ResetTime",kwnames
,&obj0
)) goto fail
;
17619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17624 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
17625 result
= (wxDateTime
*) &_result_ref
;
17628 wxPyEndAllowThreads(__tstate
);
17629 if (PyErr_Occurred()) SWIG_fail
;
17631 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17638 static PyObject
*_wrap_DateTime_SetYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17639 PyObject
*resultobj
;
17640 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17642 wxDateTime
*result
;
17643 PyObject
* obj0
= 0 ;
17644 PyObject
* obj1
= 0 ;
17645 char *kwnames
[] = {
17646 (char *) "self",(char *) "year", NULL
17649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
17650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17652 arg2
= (int) SWIG_AsInt(obj1
);
17653 if (PyErr_Occurred()) SWIG_fail
;
17655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17657 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
17658 result
= (wxDateTime
*) &_result_ref
;
17661 wxPyEndAllowThreads(__tstate
);
17662 if (PyErr_Occurred()) SWIG_fail
;
17664 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17671 static PyObject
*_wrap_DateTime_SetMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17672 PyObject
*resultobj
;
17673 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17675 wxDateTime
*result
;
17676 PyObject
* obj0
= 0 ;
17677 PyObject
* obj1
= 0 ;
17678 char *kwnames
[] = {
17679 (char *) "self",(char *) "month", NULL
17682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
17683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17685 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
17686 if (PyErr_Occurred()) SWIG_fail
;
17688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17690 wxDateTime
&_result_ref
= (arg1
)->SetMonth((wxDateTime::Month
)arg2
);
17691 result
= (wxDateTime
*) &_result_ref
;
17694 wxPyEndAllowThreads(__tstate
);
17695 if (PyErr_Occurred()) SWIG_fail
;
17697 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17704 static PyObject
*_wrap_DateTime_SetDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17705 PyObject
*resultobj
;
17706 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17708 wxDateTime
*result
;
17709 PyObject
* obj0
= 0 ;
17710 PyObject
* obj1
= 0 ;
17711 char *kwnames
[] = {
17712 (char *) "self",(char *) "day", NULL
17715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
17716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17718 arg2
= (int) SWIG_AsInt(obj1
);
17719 if (PyErr_Occurred()) SWIG_fail
;
17721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17723 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
17724 result
= (wxDateTime
*) &_result_ref
;
17727 wxPyEndAllowThreads(__tstate
);
17728 if (PyErr_Occurred()) SWIG_fail
;
17730 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17737 static PyObject
*_wrap_DateTime_SetHour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17738 PyObject
*resultobj
;
17739 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17741 wxDateTime
*result
;
17742 PyObject
* obj0
= 0 ;
17743 PyObject
* obj1
= 0 ;
17744 char *kwnames
[] = {
17745 (char *) "self",(char *) "hour", NULL
17748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
17749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17751 arg2
= (int) SWIG_AsInt(obj1
);
17752 if (PyErr_Occurred()) SWIG_fail
;
17754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17756 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
17757 result
= (wxDateTime
*) &_result_ref
;
17760 wxPyEndAllowThreads(__tstate
);
17761 if (PyErr_Occurred()) SWIG_fail
;
17763 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17770 static PyObject
*_wrap_DateTime_SetMinute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17771 PyObject
*resultobj
;
17772 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17774 wxDateTime
*result
;
17775 PyObject
* obj0
= 0 ;
17776 PyObject
* obj1
= 0 ;
17777 char *kwnames
[] = {
17778 (char *) "self",(char *) "minute", NULL
17781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
17782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17784 arg2
= (int) SWIG_AsInt(obj1
);
17785 if (PyErr_Occurred()) SWIG_fail
;
17787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17789 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
17790 result
= (wxDateTime
*) &_result_ref
;
17793 wxPyEndAllowThreads(__tstate
);
17794 if (PyErr_Occurred()) SWIG_fail
;
17796 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17803 static PyObject
*_wrap_DateTime_SetSecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17804 PyObject
*resultobj
;
17805 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17807 wxDateTime
*result
;
17808 PyObject
* obj0
= 0 ;
17809 PyObject
* obj1
= 0 ;
17810 char *kwnames
[] = {
17811 (char *) "self",(char *) "second", NULL
17814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
17815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17817 arg2
= (int) SWIG_AsInt(obj1
);
17818 if (PyErr_Occurred()) SWIG_fail
;
17820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17822 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
17823 result
= (wxDateTime
*) &_result_ref
;
17826 wxPyEndAllowThreads(__tstate
);
17827 if (PyErr_Occurred()) SWIG_fail
;
17829 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17836 static PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17837 PyObject
*resultobj
;
17838 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17840 wxDateTime
*result
;
17841 PyObject
* obj0
= 0 ;
17842 PyObject
* obj1
= 0 ;
17843 char *kwnames
[] = {
17844 (char *) "self",(char *) "millisecond", NULL
17847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
17848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17850 arg2
= (int) SWIG_AsInt(obj1
);
17851 if (PyErr_Occurred()) SWIG_fail
;
17853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17855 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
17856 result
= (wxDateTime
*) &_result_ref
;
17859 wxPyEndAllowThreads(__tstate
);
17860 if (PyErr_Occurred()) SWIG_fail
;
17862 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17869 static PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17870 PyObject
*resultobj
;
17871 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17873 int arg3
= (int) wxDateTime::Monday_First
;
17874 wxDateTime
*result
;
17875 PyObject
* obj0
= 0 ;
17876 PyObject
* obj1
= 0 ;
17877 PyObject
* obj2
= 0 ;
17878 char *kwnames
[] = {
17879 (char *) "self",(char *) "weekday",(char *) "flags", NULL
17882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17885 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
17886 if (PyErr_Occurred()) SWIG_fail
;
17888 arg3
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj2
);
17889 if (PyErr_Occurred()) SWIG_fail
;
17892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17894 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
17895 result
= (wxDateTime
*) &_result_ref
;
17898 wxPyEndAllowThreads(__tstate
);
17899 if (PyErr_Occurred()) SWIG_fail
;
17901 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17908 static PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17909 PyObject
*resultobj
;
17910 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17912 int arg3
= (int) wxDateTime::Monday_First
;
17914 PyObject
* obj0
= 0 ;
17915 PyObject
* obj1
= 0 ;
17916 PyObject
* obj2
= 0 ;
17917 char *kwnames
[] = {
17918 (char *) "self",(char *) "weekday",(char *) "flags", NULL
17921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17924 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
17925 if (PyErr_Occurred()) SWIG_fail
;
17927 arg3
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj2
);
17928 if (PyErr_Occurred()) SWIG_fail
;
17931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17932 result
= (arg1
)->GetWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
17934 wxPyEndAllowThreads(__tstate
);
17935 if (PyErr_Occurred()) SWIG_fail
;
17938 wxDateTime
* resultptr
;
17939 resultptr
= new wxDateTime((wxDateTime
&) result
);
17940 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17948 static PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17949 PyObject
*resultobj
;
17950 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17952 wxDateTime
*result
;
17953 PyObject
* obj0
= 0 ;
17954 PyObject
* obj1
= 0 ;
17955 char *kwnames
[] = {
17956 (char *) "self",(char *) "weekday", NULL
17959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
17960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17962 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
17963 if (PyErr_Occurred()) SWIG_fail
;
17965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17967 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay((wxDateTime::WeekDay
)arg2
);
17968 result
= (wxDateTime
*) &_result_ref
;
17971 wxPyEndAllowThreads(__tstate
);
17972 if (PyErr_Occurred()) SWIG_fail
;
17974 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17981 static PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17982 PyObject
*resultobj
;
17983 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17986 PyObject
* obj0
= 0 ;
17987 PyObject
* obj1
= 0 ;
17988 char *kwnames
[] = {
17989 (char *) "self",(char *) "weekday", NULL
17992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
17993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17995 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
17996 if (PyErr_Occurred()) SWIG_fail
;
17998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17999 result
= (arg1
)->GetNextWeekDay((wxDateTime::WeekDay
)arg2
);
18001 wxPyEndAllowThreads(__tstate
);
18002 if (PyErr_Occurred()) SWIG_fail
;
18005 wxDateTime
* resultptr
;
18006 resultptr
= new wxDateTime((wxDateTime
&) result
);
18007 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18015 static PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18016 PyObject
*resultobj
;
18017 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18019 wxDateTime
*result
;
18020 PyObject
* obj0
= 0 ;
18021 PyObject
* obj1
= 0 ;
18022 char *kwnames
[] = {
18023 (char *) "self",(char *) "weekday", NULL
18026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18029 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18030 if (PyErr_Occurred()) SWIG_fail
;
18032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18034 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay((wxDateTime::WeekDay
)arg2
);
18035 result
= (wxDateTime
*) &_result_ref
;
18038 wxPyEndAllowThreads(__tstate
);
18039 if (PyErr_Occurred()) SWIG_fail
;
18041 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18048 static PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18049 PyObject
*resultobj
;
18050 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18053 PyObject
* obj0
= 0 ;
18054 PyObject
* obj1
= 0 ;
18055 char *kwnames
[] = {
18056 (char *) "self",(char *) "weekday", NULL
18059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18062 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18063 if (PyErr_Occurred()) SWIG_fail
;
18065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18066 result
= (arg1
)->GetPrevWeekDay((wxDateTime::WeekDay
)arg2
);
18068 wxPyEndAllowThreads(__tstate
);
18069 if (PyErr_Occurred()) SWIG_fail
;
18072 wxDateTime
* resultptr
;
18073 resultptr
= new wxDateTime((wxDateTime
&) result
);
18074 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18082 static PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18083 PyObject
*resultobj
;
18084 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18086 int arg3
= (int) 1 ;
18087 int arg4
= (int) wxDateTime::Inv_Month
;
18088 int arg5
= (int) wxDateTime::Inv_Year
;
18090 PyObject
* obj0
= 0 ;
18091 PyObject
* obj1
= 0 ;
18092 PyObject
* obj2
= 0 ;
18093 PyObject
* obj3
= 0 ;
18094 PyObject
* obj4
= 0 ;
18095 char *kwnames
[] = {
18096 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
18099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18102 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18103 if (PyErr_Occurred()) SWIG_fail
;
18105 arg3
= (int) SWIG_AsInt(obj2
);
18106 if (PyErr_Occurred()) SWIG_fail
;
18109 arg4
= (wxDateTime::Month
) SWIG_AsInt(obj3
);
18110 if (PyErr_Occurred()) SWIG_fail
;
18113 arg5
= (int) SWIG_AsInt(obj4
);
18114 if (PyErr_Occurred()) SWIG_fail
;
18117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18118 result
= (bool)(arg1
)->SetToWeekDay((wxDateTime::WeekDay
)arg2
,arg3
,(wxDateTime::Month
)arg4
,arg5
);
18120 wxPyEndAllowThreads(__tstate
);
18121 if (PyErr_Occurred()) SWIG_fail
;
18124 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18132 static PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18133 PyObject
*resultobj
;
18134 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18136 int arg3
= (int) wxDateTime::Inv_Month
;
18137 int arg4
= (int) wxDateTime::Inv_Year
;
18139 PyObject
* obj0
= 0 ;
18140 PyObject
* obj1
= 0 ;
18141 PyObject
* obj2
= 0 ;
18142 PyObject
* obj3
= 0 ;
18143 char *kwnames
[] = {
18144 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18150 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18151 if (PyErr_Occurred()) SWIG_fail
;
18153 arg3
= (wxDateTime::Month
) SWIG_AsInt(obj2
);
18154 if (PyErr_Occurred()) SWIG_fail
;
18157 arg4
= (int) SWIG_AsInt(obj3
);
18158 if (PyErr_Occurred()) SWIG_fail
;
18161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18162 result
= (bool)(arg1
)->SetToLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
18164 wxPyEndAllowThreads(__tstate
);
18165 if (PyErr_Occurred()) SWIG_fail
;
18168 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18176 static PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18177 PyObject
*resultobj
;
18178 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18180 int arg3
= (int) wxDateTime::Inv_Month
;
18181 int arg4
= (int) wxDateTime::Inv_Year
;
18183 PyObject
* obj0
= 0 ;
18184 PyObject
* obj1
= 0 ;
18185 PyObject
* obj2
= 0 ;
18186 PyObject
* obj3
= 0 ;
18187 char *kwnames
[] = {
18188 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18194 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18195 if (PyErr_Occurred()) SWIG_fail
;
18197 arg3
= (wxDateTime::Month
) SWIG_AsInt(obj2
);
18198 if (PyErr_Occurred()) SWIG_fail
;
18201 arg4
= (int) SWIG_AsInt(obj3
);
18202 if (PyErr_Occurred()) SWIG_fail
;
18205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18206 result
= (arg1
)->GetLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
18208 wxPyEndAllowThreads(__tstate
);
18209 if (PyErr_Occurred()) SWIG_fail
;
18212 wxDateTime
* resultptr
;
18213 resultptr
= new wxDateTime((wxDateTime
&) result
);
18214 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18222 static PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18223 PyObject
*resultobj
;
18224 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18226 int arg3
= (int) wxDateTime::Mon
;
18227 int arg4
= (int) wxDateTime::Monday_First
;
18229 PyObject
* obj0
= 0 ;
18230 PyObject
* obj1
= 0 ;
18231 PyObject
* obj2
= 0 ;
18232 PyObject
* obj3
= 0 ;
18233 char *kwnames
[] = {
18234 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18240 arg2
= (int) SWIG_AsInt(obj1
);
18241 if (PyErr_Occurred()) SWIG_fail
;
18243 arg3
= (wxDateTime::WeekDay
) SWIG_AsInt(obj2
);
18244 if (PyErr_Occurred()) SWIG_fail
;
18247 arg4
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj3
);
18248 if (PyErr_Occurred()) SWIG_fail
;
18251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18252 result
= (bool)(arg1
)->SetToTheWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
18254 wxPyEndAllowThreads(__tstate
);
18255 if (PyErr_Occurred()) SWIG_fail
;
18258 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18266 static PyObject
*_wrap_DateTime_GetWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18267 PyObject
*resultobj
;
18268 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18270 int arg3
= (int) wxDateTime::Mon
;
18271 int arg4
= (int) wxDateTime::Monday_First
;
18273 PyObject
* obj0
= 0 ;
18274 PyObject
* obj1
= 0 ;
18275 PyObject
* obj2
= 0 ;
18276 PyObject
* obj3
= 0 ;
18277 char *kwnames
[] = {
18278 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18284 arg2
= (int) SWIG_AsInt(obj1
);
18285 if (PyErr_Occurred()) SWIG_fail
;
18287 arg3
= (wxDateTime::WeekDay
) SWIG_AsInt(obj2
);
18288 if (PyErr_Occurred()) SWIG_fail
;
18291 arg4
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj3
);
18292 if (PyErr_Occurred()) SWIG_fail
;
18295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18296 result
= (arg1
)->GetWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
18298 wxPyEndAllowThreads(__tstate
);
18299 if (PyErr_Occurred()) SWIG_fail
;
18302 wxDateTime
* resultptr
;
18303 resultptr
= new wxDateTime((wxDateTime
&) result
);
18304 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18312 static PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18313 PyObject
*resultobj
;
18314 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18315 int arg2
= (int) wxDateTime::Inv_Month
;
18316 int arg3
= (int) wxDateTime::Inv_Year
;
18317 wxDateTime
*result
;
18318 PyObject
* obj0
= 0 ;
18319 PyObject
* obj1
= 0 ;
18320 PyObject
* obj2
= 0 ;
18321 char *kwnames
[] = {
18322 (char *) "self",(char *) "month",(char *) "year", NULL
18325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18329 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
18330 if (PyErr_Occurred()) SWIG_fail
;
18333 arg3
= (int) SWIG_AsInt(obj2
);
18334 if (PyErr_Occurred()) SWIG_fail
;
18337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18339 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
18340 result
= (wxDateTime
*) &_result_ref
;
18343 wxPyEndAllowThreads(__tstate
);
18344 if (PyErr_Occurred()) SWIG_fail
;
18346 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18353 static PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18354 PyObject
*resultobj
;
18355 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18356 int arg2
= (int) wxDateTime::Inv_Month
;
18357 int arg3
= (int) wxDateTime::Inv_Year
;
18359 PyObject
* obj0
= 0 ;
18360 PyObject
* obj1
= 0 ;
18361 PyObject
* obj2
= 0 ;
18362 char *kwnames
[] = {
18363 (char *) "self",(char *) "month",(char *) "year", NULL
18366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18370 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
18371 if (PyErr_Occurred()) SWIG_fail
;
18374 arg3
= (int) SWIG_AsInt(obj2
);
18375 if (PyErr_Occurred()) SWIG_fail
;
18378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18379 result
= (arg1
)->GetLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
18381 wxPyEndAllowThreads(__tstate
);
18382 if (PyErr_Occurred()) SWIG_fail
;
18385 wxDateTime
* resultptr
;
18386 resultptr
= new wxDateTime((wxDateTime
&) result
);
18387 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18395 static PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18396 PyObject
*resultobj
;
18397 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18399 wxDateTime
*result
;
18400 PyObject
* obj0
= 0 ;
18401 PyObject
* obj1
= 0 ;
18402 char *kwnames
[] = {
18403 (char *) "self",(char *) "yday", NULL
18406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18409 arg2
= (int) SWIG_AsInt(obj1
);
18410 if (PyErr_Occurred()) SWIG_fail
;
18412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18414 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
18415 result
= (wxDateTime
*) &_result_ref
;
18418 wxPyEndAllowThreads(__tstate
);
18419 if (PyErr_Occurred()) SWIG_fail
;
18421 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18428 static PyObject
*_wrap_DateTime_GetYearDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18429 PyObject
*resultobj
;
18430 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18433 PyObject
* obj0
= 0 ;
18434 PyObject
* obj1
= 0 ;
18435 char *kwnames
[] = {
18436 (char *) "self",(char *) "yday", NULL
18439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18442 arg2
= (int) SWIG_AsInt(obj1
);
18443 if (PyErr_Occurred()) SWIG_fail
;
18445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18446 result
= (arg1
)->GetYearDay(arg2
);
18448 wxPyEndAllowThreads(__tstate
);
18449 if (PyErr_Occurred()) SWIG_fail
;
18452 wxDateTime
* resultptr
;
18453 resultptr
= new wxDateTime((wxDateTime
&) result
);
18454 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18462 static PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18463 PyObject
*resultobj
;
18464 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18466 PyObject
* obj0
= 0 ;
18467 char *kwnames
[] = {
18468 (char *) "self", NULL
18471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJulianDayNumber",kwnames
,&obj0
)) goto fail
;
18472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18476 result
= (double)(arg1
)->GetJulianDayNumber();
18478 wxPyEndAllowThreads(__tstate
);
18479 if (PyErr_Occurred()) SWIG_fail
;
18481 resultobj
= SWIG_FromDouble((double)result
);
18488 static PyObject
*_wrap_DateTime_GetJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18489 PyObject
*resultobj
;
18490 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18492 PyObject
* obj0
= 0 ;
18493 char *kwnames
[] = {
18494 (char *) "self", NULL
18497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJDN",kwnames
,&obj0
)) goto fail
;
18498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18502 result
= (double)(arg1
)->GetJDN();
18504 wxPyEndAllowThreads(__tstate
);
18505 if (PyErr_Occurred()) SWIG_fail
;
18507 resultobj
= SWIG_FromDouble((double)result
);
18514 static PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18515 PyObject
*resultobj
;
18516 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18518 PyObject
* obj0
= 0 ;
18519 char *kwnames
[] = {
18520 (char *) "self", NULL
18523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames
,&obj0
)) goto fail
;
18524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18528 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
18530 wxPyEndAllowThreads(__tstate
);
18531 if (PyErr_Occurred()) SWIG_fail
;
18533 resultobj
= SWIG_FromDouble((double)result
);
18540 static PyObject
*_wrap_DateTime_GetMJD(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18541 PyObject
*resultobj
;
18542 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18544 PyObject
* obj0
= 0 ;
18545 char *kwnames
[] = {
18546 (char *) "self", NULL
18549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetMJD",kwnames
,&obj0
)) goto fail
;
18550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18554 result
= (double)(arg1
)->GetMJD();
18556 wxPyEndAllowThreads(__tstate
);
18557 if (PyErr_Occurred()) SWIG_fail
;
18559 resultobj
= SWIG_FromDouble((double)result
);
18566 static PyObject
*_wrap_DateTime_GetRataDie(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18567 PyObject
*resultobj
;
18568 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18570 PyObject
* obj0
= 0 ;
18571 char *kwnames
[] = {
18572 (char *) "self", NULL
18575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetRataDie",kwnames
,&obj0
)) goto fail
;
18576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18580 result
= (double)(arg1
)->GetRataDie();
18582 wxPyEndAllowThreads(__tstate
);
18583 if (PyErr_Occurred()) SWIG_fail
;
18585 resultobj
= SWIG_FromDouble((double)result
);
18592 static PyObject
*_wrap_DateTime_ToTimezone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18593 PyObject
*resultobj
;
18594 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18595 wxDateTime::TimeZone
*arg2
= 0 ;
18596 bool arg3
= (bool) False
;
18598 bool temp2
= False
;
18599 PyObject
* obj0
= 0 ;
18600 PyObject
* obj1
= 0 ;
18601 PyObject
* obj2
= 0 ;
18602 char *kwnames
[] = {
18603 (char *) "self",(char *) "tz",(char *) "noDST", NULL
18606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18610 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18614 arg3
= (bool) SWIG_AsBool(obj2
);
18615 if (PyErr_Occurred()) SWIG_fail
;
18618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18619 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
18621 wxPyEndAllowThreads(__tstate
);
18622 if (PyErr_Occurred()) SWIG_fail
;
18625 wxDateTime
* resultptr
;
18626 resultptr
= new wxDateTime((wxDateTime
&) result
);
18627 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18630 if (temp2
) delete arg2
;
18635 if (temp2
) delete arg2
;
18641 static PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18642 PyObject
*resultobj
;
18643 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18644 wxDateTime::TimeZone
*arg2
= 0 ;
18645 bool arg3
= (bool) False
;
18646 wxDateTime
*result
;
18647 bool temp2
= False
;
18648 PyObject
* obj0
= 0 ;
18649 PyObject
* obj1
= 0 ;
18650 PyObject
* obj2
= 0 ;
18651 char *kwnames
[] = {
18652 (char *) "self",(char *) "tz",(char *) "noDST", NULL
18655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18659 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18663 arg3
= (bool) SWIG_AsBool(obj2
);
18664 if (PyErr_Occurred()) SWIG_fail
;
18667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18669 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
18670 result
= (wxDateTime
*) &_result_ref
;
18673 wxPyEndAllowThreads(__tstate
);
18674 if (PyErr_Occurred()) SWIG_fail
;
18676 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18678 if (temp2
) delete arg2
;
18683 if (temp2
) delete arg2
;
18689 static PyObject
*_wrap_DateTime_ToGMT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18690 PyObject
*resultobj
;
18691 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18692 bool arg2
= (bool) False
;
18694 PyObject
* obj0
= 0 ;
18695 PyObject
* obj1
= 0 ;
18696 char *kwnames
[] = {
18697 (char *) "self",(char *) "noDST", NULL
18700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
18701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18704 arg2
= (bool) SWIG_AsBool(obj1
);
18705 if (PyErr_Occurred()) SWIG_fail
;
18708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18709 result
= (arg1
)->ToGMT(arg2
);
18711 wxPyEndAllowThreads(__tstate
);
18712 if (PyErr_Occurred()) SWIG_fail
;
18715 wxDateTime
* resultptr
;
18716 resultptr
= new wxDateTime((wxDateTime
&) result
);
18717 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18725 static PyObject
*_wrap_DateTime_MakeGMT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18726 PyObject
*resultobj
;
18727 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18728 bool arg2
= (bool) False
;
18729 wxDateTime
*result
;
18730 PyObject
* obj0
= 0 ;
18731 PyObject
* obj1
= 0 ;
18732 char *kwnames
[] = {
18733 (char *) "self",(char *) "noDST", NULL
18736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
18737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18740 arg2
= (bool) SWIG_AsBool(obj1
);
18741 if (PyErr_Occurred()) SWIG_fail
;
18744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18746 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
18747 result
= (wxDateTime
*) &_result_ref
;
18750 wxPyEndAllowThreads(__tstate
);
18751 if (PyErr_Occurred()) SWIG_fail
;
18753 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18760 static PyObject
*_wrap_DateTime_IsDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18761 PyObject
*resultobj
;
18762 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18763 int arg2
= (int) wxDateTime::Country_Default
;
18765 PyObject
* obj0
= 0 ;
18766 PyObject
* obj1
= 0 ;
18767 char *kwnames
[] = {
18768 (char *) "self",(char *) "country", NULL
18771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) goto fail
;
18772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18775 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
18776 if (PyErr_Occurred()) SWIG_fail
;
18779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18780 result
= (int)(arg1
)->IsDST((wxDateTime::Country
)arg2
);
18782 wxPyEndAllowThreads(__tstate
);
18783 if (PyErr_Occurred()) SWIG_fail
;
18785 resultobj
= SWIG_FromInt((int)result
);
18792 static PyObject
*_wrap_DateTime_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18793 PyObject
*resultobj
;
18794 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18796 PyObject
* obj0
= 0 ;
18797 char *kwnames
[] = {
18798 (char *) "self", NULL
18801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_IsValid",kwnames
,&obj0
)) goto fail
;
18802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18806 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
18808 wxPyEndAllowThreads(__tstate
);
18809 if (PyErr_Occurred()) SWIG_fail
;
18812 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18820 static PyObject
*_wrap_DateTime_GetTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18821 PyObject
*resultobj
;
18822 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18824 PyObject
* obj0
= 0 ;
18825 char *kwnames
[] = {
18826 (char *) "self", NULL
18829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetTicks",kwnames
,&obj0
)) goto fail
;
18830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18834 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
18836 wxPyEndAllowThreads(__tstate
);
18837 if (PyErr_Occurred()) SWIG_fail
;
18839 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
18846 static PyObject
*_wrap_DateTime_GetYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18847 PyObject
*resultobj
;
18848 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18849 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
18850 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
18852 bool temp2
= False
;
18853 PyObject
* obj0
= 0 ;
18854 PyObject
* obj1
= 0 ;
18855 char *kwnames
[] = {
18856 (char *) "self",(char *) "tz", NULL
18859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
18860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18864 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18870 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
18872 wxPyEndAllowThreads(__tstate
);
18873 if (PyErr_Occurred()) SWIG_fail
;
18875 resultobj
= SWIG_FromInt((int)result
);
18877 if (temp2
) delete arg2
;
18882 if (temp2
) delete arg2
;
18888 static PyObject
*_wrap_DateTime_GetMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18889 PyObject
*resultobj
;
18890 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18891 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
18892 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
18894 bool temp2
= False
;
18895 PyObject
* obj0
= 0 ;
18896 PyObject
* obj1
= 0 ;
18897 char *kwnames
[] = {
18898 (char *) "self",(char *) "tz", NULL
18901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
18902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18906 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18912 result
= (int)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
18914 wxPyEndAllowThreads(__tstate
);
18915 if (PyErr_Occurred()) SWIG_fail
;
18917 resultobj
= SWIG_FromInt((int)result
);
18919 if (temp2
) delete arg2
;
18924 if (temp2
) delete arg2
;
18930 static PyObject
*_wrap_DateTime_GetDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18931 PyObject
*resultobj
;
18932 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18933 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
18934 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
18936 bool temp2
= False
;
18937 PyObject
* obj0
= 0 ;
18938 PyObject
* obj1
= 0 ;
18939 char *kwnames
[] = {
18940 (char *) "self",(char *) "tz", NULL
18943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18948 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18954 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
18956 wxPyEndAllowThreads(__tstate
);
18957 if (PyErr_Occurred()) SWIG_fail
;
18959 resultobj
= SWIG_FromInt((int)result
);
18961 if (temp2
) delete arg2
;
18966 if (temp2
) delete arg2
;
18972 static PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18973 PyObject
*resultobj
;
18974 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18975 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
18976 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
18978 bool temp2
= False
;
18979 PyObject
* obj0
= 0 ;
18980 PyObject
* obj1
= 0 ;
18981 char *kwnames
[] = {
18982 (char *) "self",(char *) "tz", NULL
18985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18990 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18996 result
= (int)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
18998 wxPyEndAllowThreads(__tstate
);
18999 if (PyErr_Occurred()) SWIG_fail
;
19001 resultobj
= SWIG_FromInt((int)result
);
19003 if (temp2
) delete arg2
;
19008 if (temp2
) delete arg2
;
19014 static PyObject
*_wrap_DateTime_GetHour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19015 PyObject
*resultobj
;
19016 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19017 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19018 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19020 bool temp2
= False
;
19021 PyObject
* obj0
= 0 ;
19022 PyObject
* obj1
= 0 ;
19023 char *kwnames
[] = {
19024 (char *) "self",(char *) "tz", NULL
19027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
19028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19032 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19038 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
19040 wxPyEndAllowThreads(__tstate
);
19041 if (PyErr_Occurred()) SWIG_fail
;
19043 resultobj
= SWIG_FromInt((int)result
);
19045 if (temp2
) delete arg2
;
19050 if (temp2
) delete arg2
;
19056 static PyObject
*_wrap_DateTime_GetMinute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19057 PyObject
*resultobj
;
19058 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19059 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19060 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19062 bool temp2
= False
;
19063 PyObject
* obj0
= 0 ;
19064 PyObject
* obj1
= 0 ;
19065 char *kwnames
[] = {
19066 (char *) "self",(char *) "tz", NULL
19069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
19070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19074 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19080 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
19082 wxPyEndAllowThreads(__tstate
);
19083 if (PyErr_Occurred()) SWIG_fail
;
19085 resultobj
= SWIG_FromInt((int)result
);
19087 if (temp2
) delete arg2
;
19092 if (temp2
) delete arg2
;
19098 static PyObject
*_wrap_DateTime_GetSecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19099 PyObject
*resultobj
;
19100 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19101 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19102 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19104 bool temp2
= False
;
19105 PyObject
* obj0
= 0 ;
19106 PyObject
* obj1
= 0 ;
19107 char *kwnames
[] = {
19108 (char *) "self",(char *) "tz", NULL
19111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
19112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19116 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19122 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
19124 wxPyEndAllowThreads(__tstate
);
19125 if (PyErr_Occurred()) SWIG_fail
;
19127 resultobj
= SWIG_FromInt((int)result
);
19129 if (temp2
) delete arg2
;
19134 if (temp2
) delete arg2
;
19140 static PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19141 PyObject
*resultobj
;
19142 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19143 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19144 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19146 bool temp2
= False
;
19147 PyObject
* obj0
= 0 ;
19148 PyObject
* obj1
= 0 ;
19149 char *kwnames
[] = {
19150 (char *) "self",(char *) "tz", NULL
19153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
19154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19158 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19164 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
19166 wxPyEndAllowThreads(__tstate
);
19167 if (PyErr_Occurred()) SWIG_fail
;
19169 resultobj
= SWIG_FromInt((int)result
);
19171 if (temp2
) delete arg2
;
19176 if (temp2
) delete arg2
;
19182 static PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19183 PyObject
*resultobj
;
19184 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19185 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19186 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19188 bool temp2
= False
;
19189 PyObject
* obj0
= 0 ;
19190 PyObject
* obj1
= 0 ;
19191 char *kwnames
[] = {
19192 (char *) "self",(char *) "tz", NULL
19195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19200 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19206 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
19208 wxPyEndAllowThreads(__tstate
);
19209 if (PyErr_Occurred()) SWIG_fail
;
19211 resultobj
= SWIG_FromInt((int)result
);
19213 if (temp2
) delete arg2
;
19218 if (temp2
) delete arg2
;
19224 static PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19225 PyObject
*resultobj
;
19226 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19227 int arg2
= (int) wxDateTime::Monday_First
;
19228 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
19229 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
19231 bool temp3
= False
;
19232 PyObject
* obj0
= 0 ;
19233 PyObject
* obj1
= 0 ;
19234 PyObject
* obj2
= 0 ;
19235 char *kwnames
[] = {
19236 (char *) "self",(char *) "flags",(char *) "tz", NULL
19239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19243 arg2
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj1
);
19244 if (PyErr_Occurred()) SWIG_fail
;
19248 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
19253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19254 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
19256 wxPyEndAllowThreads(__tstate
);
19257 if (PyErr_Occurred()) SWIG_fail
;
19259 resultobj
= SWIG_FromInt((int)result
);
19261 if (temp3
) delete arg3
;
19266 if (temp3
) delete arg3
;
19272 static PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19273 PyObject
*resultobj
;
19274 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19275 int arg2
= (int) wxDateTime::Monday_First
;
19276 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
19277 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
19279 bool temp3
= False
;
19280 PyObject
* obj0
= 0 ;
19281 PyObject
* obj1
= 0 ;
19282 PyObject
* obj2
= 0 ;
19283 char *kwnames
[] = {
19284 (char *) "self",(char *) "flags",(char *) "tz", NULL
19287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19291 arg2
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj1
);
19292 if (PyErr_Occurred()) SWIG_fail
;
19296 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
19301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19302 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
19304 wxPyEndAllowThreads(__tstate
);
19305 if (PyErr_Occurred()) SWIG_fail
;
19307 resultobj
= SWIG_FromInt((int)result
);
19309 if (temp3
) delete arg3
;
19314 if (temp3
) delete arg3
;
19320 static PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19321 PyObject
*resultobj
;
19322 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19323 int arg2
= (int) wxDateTime::Country_Default
;
19325 PyObject
* obj0
= 0 ;
19326 PyObject
* obj1
= 0 ;
19327 char *kwnames
[] = {
19328 (char *) "self",(char *) "country", NULL
19331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19335 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
19336 if (PyErr_Occurred()) SWIG_fail
;
19339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19340 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay((wxDateTime::Country
)arg2
);
19342 wxPyEndAllowThreads(__tstate
);
19343 if (PyErr_Occurred()) SWIG_fail
;
19346 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19354 static PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19355 PyObject
*resultobj
;
19356 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19357 wxDateTime
*arg2
= 0 ;
19359 PyObject
* obj0
= 0 ;
19360 PyObject
* obj1
= 0 ;
19361 char *kwnames
[] = {
19362 (char *) "self",(char *) "datetime", NULL
19365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
19366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19368 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19369 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19371 if (arg2
== NULL
) {
19372 PyErr_SetString(PyExc_TypeError
,"null reference");
19376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19377 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
19379 wxPyEndAllowThreads(__tstate
);
19380 if (PyErr_Occurred()) SWIG_fail
;
19383 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19391 static PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19392 PyObject
*resultobj
;
19393 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19394 wxDateTime
*arg2
= 0 ;
19396 PyObject
* obj0
= 0 ;
19397 PyObject
* obj1
= 0 ;
19398 char *kwnames
[] = {
19399 (char *) "self",(char *) "datetime", NULL
19402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) goto fail
;
19403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19405 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19406 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19408 if (arg2
== NULL
) {
19409 PyErr_SetString(PyExc_TypeError
,"null reference");
19413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19414 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
19416 wxPyEndAllowThreads(__tstate
);
19417 if (PyErr_Occurred()) SWIG_fail
;
19420 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19428 static PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19429 PyObject
*resultobj
;
19430 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19431 wxDateTime
*arg2
= 0 ;
19433 PyObject
* obj0
= 0 ;
19434 PyObject
* obj1
= 0 ;
19435 char *kwnames
[] = {
19436 (char *) "self",(char *) "datetime", NULL
19439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
19440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19442 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19443 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19445 if (arg2
== NULL
) {
19446 PyErr_SetString(PyExc_TypeError
,"null reference");
19450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19451 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
19453 wxPyEndAllowThreads(__tstate
);
19454 if (PyErr_Occurred()) SWIG_fail
;
19457 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19465 static PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19466 PyObject
*resultobj
;
19467 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19468 wxDateTime
*arg2
= 0 ;
19469 wxDateTime
*arg3
= 0 ;
19471 PyObject
* obj0
= 0 ;
19472 PyObject
* obj1
= 0 ;
19473 PyObject
* obj2
= 0 ;
19474 char *kwnames
[] = {
19475 (char *) "self",(char *) "t1",(char *) "t2", NULL
19478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19481 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19482 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19484 if (arg2
== NULL
) {
19485 PyErr_SetString(PyExc_TypeError
,"null reference");
19488 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
,
19489 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19491 if (arg3
== NULL
) {
19492 PyErr_SetString(PyExc_TypeError
,"null reference");
19496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19497 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
19499 wxPyEndAllowThreads(__tstate
);
19500 if (PyErr_Occurred()) SWIG_fail
;
19503 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19511 static PyObject
*_wrap_DateTime_IsBetween(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19512 PyObject
*resultobj
;
19513 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19514 wxDateTime
*arg2
= 0 ;
19515 wxDateTime
*arg3
= 0 ;
19517 PyObject
* obj0
= 0 ;
19518 PyObject
* obj1
= 0 ;
19519 PyObject
* obj2
= 0 ;
19520 char *kwnames
[] = {
19521 (char *) "self",(char *) "t1",(char *) "t2", NULL
19524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19527 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19528 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19530 if (arg2
== NULL
) {
19531 PyErr_SetString(PyExc_TypeError
,"null reference");
19534 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
,
19535 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19537 if (arg3
== NULL
) {
19538 PyErr_SetString(PyExc_TypeError
,"null reference");
19542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19543 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
19545 wxPyEndAllowThreads(__tstate
);
19546 if (PyErr_Occurred()) SWIG_fail
;
19549 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19557 static PyObject
*_wrap_DateTime_IsSameDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19558 PyObject
*resultobj
;
19559 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19560 wxDateTime
*arg2
= 0 ;
19562 PyObject
* obj0
= 0 ;
19563 PyObject
* obj1
= 0 ;
19564 char *kwnames
[] = {
19565 (char *) "self",(char *) "dt", NULL
19568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) goto fail
;
19569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19571 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19572 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19574 if (arg2
== NULL
) {
19575 PyErr_SetString(PyExc_TypeError
,"null reference");
19579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19580 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
19582 wxPyEndAllowThreads(__tstate
);
19583 if (PyErr_Occurred()) SWIG_fail
;
19586 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19594 static PyObject
*_wrap_DateTime_IsSameTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19595 PyObject
*resultobj
;
19596 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19597 wxDateTime
*arg2
= 0 ;
19599 PyObject
* obj0
= 0 ;
19600 PyObject
* obj1
= 0 ;
19601 char *kwnames
[] = {
19602 (char *) "self",(char *) "dt", NULL
19605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) goto fail
;
19606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19608 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19609 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19611 if (arg2
== NULL
) {
19612 PyErr_SetString(PyExc_TypeError
,"null reference");
19616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19617 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
19619 wxPyEndAllowThreads(__tstate
);
19620 if (PyErr_Occurred()) SWIG_fail
;
19623 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19631 static PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19632 PyObject
*resultobj
;
19633 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19634 wxDateTime
*arg2
= 0 ;
19635 wxTimeSpan
*arg3
= 0 ;
19637 PyObject
* obj0
= 0 ;
19638 PyObject
* obj1
= 0 ;
19639 PyObject
* obj2
= 0 ;
19640 char *kwnames
[] = {
19641 (char *) "self",(char *) "dt",(char *) "ts", NULL
19644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19647 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19648 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19650 if (arg2
== NULL
) {
19651 PyErr_SetString(PyExc_TypeError
,"null reference");
19654 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTimeSpan
,
19655 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19657 if (arg3
== NULL
) {
19658 PyErr_SetString(PyExc_TypeError
,"null reference");
19662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19663 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
19665 wxPyEndAllowThreads(__tstate
);
19666 if (PyErr_Occurred()) SWIG_fail
;
19669 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19677 static PyObject
*_wrap_DateTime_AddTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19678 PyObject
*resultobj
;
19679 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19680 wxTimeSpan
*arg2
= 0 ;
19681 wxDateTime
*result
;
19682 PyObject
* obj0
= 0 ;
19683 PyObject
* obj1
= 0 ;
19684 char *kwnames
[] = {
19685 (char *) "self",(char *) "diff", NULL
19688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) goto fail
;
19689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19691 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
19692 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19694 if (arg2
== NULL
) {
19695 PyErr_SetString(PyExc_TypeError
,"null reference");
19699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19701 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
19702 result
= (wxDateTime
*) &_result_ref
;
19705 wxPyEndAllowThreads(__tstate
);
19706 if (PyErr_Occurred()) SWIG_fail
;
19708 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19715 static PyObject
*_wrap_DateTime_AddDS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19716 PyObject
*resultobj
;
19717 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19718 wxDateSpan
*arg2
= 0 ;
19719 wxDateTime
*result
;
19720 PyObject
* obj0
= 0 ;
19721 PyObject
* obj1
= 0 ;
19722 char *kwnames
[] = {
19723 (char *) "self",(char *) "diff", NULL
19726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) goto fail
;
19727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19729 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
19730 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19732 if (arg2
== NULL
) {
19733 PyErr_SetString(PyExc_TypeError
,"null reference");
19737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19739 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
19740 result
= (wxDateTime
*) &_result_ref
;
19743 wxPyEndAllowThreads(__tstate
);
19744 if (PyErr_Occurred()) SWIG_fail
;
19746 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19753 static PyObject
*_wrap_DateTime_SubtractTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19754 PyObject
*resultobj
;
19755 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19756 wxTimeSpan
*arg2
= 0 ;
19757 wxDateTime
*result
;
19758 PyObject
* obj0
= 0 ;
19759 PyObject
* obj1
= 0 ;
19760 char *kwnames
[] = {
19761 (char *) "self",(char *) "diff", NULL
19764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) goto fail
;
19765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19767 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
19768 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19770 if (arg2
== NULL
) {
19771 PyErr_SetString(PyExc_TypeError
,"null reference");
19775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19777 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
19778 result
= (wxDateTime
*) &_result_ref
;
19781 wxPyEndAllowThreads(__tstate
);
19782 if (PyErr_Occurred()) SWIG_fail
;
19784 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19791 static PyObject
*_wrap_DateTime_SubtractDS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19792 PyObject
*resultobj
;
19793 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19794 wxDateSpan
*arg2
= 0 ;
19795 wxDateTime
*result
;
19796 PyObject
* obj0
= 0 ;
19797 PyObject
* obj1
= 0 ;
19798 char *kwnames
[] = {
19799 (char *) "self",(char *) "diff", NULL
19802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) goto fail
;
19803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19805 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
19806 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19808 if (arg2
== NULL
) {
19809 PyErr_SetString(PyExc_TypeError
,"null reference");
19813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19815 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
19816 result
= (wxDateTime
*) &_result_ref
;
19819 wxPyEndAllowThreads(__tstate
);
19820 if (PyErr_Occurred()) SWIG_fail
;
19822 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19829 static PyObject
*_wrap_DateTime_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19830 PyObject
*resultobj
;
19831 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19832 wxDateTime
*arg2
= 0 ;
19834 PyObject
* obj0
= 0 ;
19835 PyObject
* obj1
= 0 ;
19836 char *kwnames
[] = {
19837 (char *) "self",(char *) "dt", NULL
19840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
19841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19843 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19844 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19846 if (arg2
== NULL
) {
19847 PyErr_SetString(PyExc_TypeError
,"null reference");
19851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19852 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
19854 wxPyEndAllowThreads(__tstate
);
19855 if (PyErr_Occurred()) SWIG_fail
;
19858 wxTimeSpan
* resultptr
;
19859 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19860 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
19868 static PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*self
, PyObject
*args
) {
19869 PyObject
*resultobj
;
19870 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19871 wxTimeSpan
*arg2
= 0 ;
19872 wxDateTime
*result
;
19873 PyObject
* obj0
= 0 ;
19874 PyObject
* obj1
= 0 ;
19876 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
19877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19879 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
19880 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19882 if (arg2
== NULL
) {
19883 PyErr_SetString(PyExc_TypeError
,"null reference");
19887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19889 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
19890 result
= (wxDateTime
*) &_result_ref
;
19893 wxPyEndAllowThreads(__tstate
);
19894 if (PyErr_Occurred()) SWIG_fail
;
19896 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19903 static PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*self
, PyObject
*args
) {
19904 PyObject
*resultobj
;
19905 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19906 wxDateSpan
*arg2
= 0 ;
19907 wxDateTime
*result
;
19908 PyObject
* obj0
= 0 ;
19909 PyObject
* obj1
= 0 ;
19911 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
19912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19914 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
19915 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19917 if (arg2
== NULL
) {
19918 PyErr_SetString(PyExc_TypeError
,"null reference");
19922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19924 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
19925 result
= (wxDateTime
*) &_result_ref
;
19928 wxPyEndAllowThreads(__tstate
);
19929 if (PyErr_Occurred()) SWIG_fail
;
19931 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19938 static PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
19943 argc
= PyObject_Length(args
);
19944 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
19945 argv
[ii
] = PyTuple_GetItem(args
,ii
);
19951 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
19961 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
19969 return _wrap_DateTime___iadd____SWIG_0(self
,args
);
19977 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
19987 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
19995 return _wrap_DateTime___iadd____SWIG_1(self
,args
);
20000 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___iadd__'");
20005 static PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*self
, PyObject
*args
) {
20006 PyObject
*resultobj
;
20007 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20008 wxTimeSpan
*arg2
= 0 ;
20009 wxDateTime
*result
;
20010 PyObject
* obj0
= 0 ;
20011 PyObject
* obj1
= 0 ;
20013 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
20014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20016 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20017 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20019 if (arg2
== NULL
) {
20020 PyErr_SetString(PyExc_TypeError
,"null reference");
20024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20026 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
20027 result
= (wxDateTime
*) &_result_ref
;
20030 wxPyEndAllowThreads(__tstate
);
20031 if (PyErr_Occurred()) SWIG_fail
;
20033 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20040 static PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*self
, PyObject
*args
) {
20041 PyObject
*resultobj
;
20042 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20043 wxDateSpan
*arg2
= 0 ;
20044 wxDateTime
*result
;
20045 PyObject
* obj0
= 0 ;
20046 PyObject
* obj1
= 0 ;
20048 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
20049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20051 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20052 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20054 if (arg2
== NULL
) {
20055 PyErr_SetString(PyExc_TypeError
,"null reference");
20059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20061 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
20062 result
= (wxDateTime
*) &_result_ref
;
20065 wxPyEndAllowThreads(__tstate
);
20066 if (PyErr_Occurred()) SWIG_fail
;
20068 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20075 static PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
20080 argc
= PyObject_Length(args
);
20081 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20082 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20088 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20098 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20106 return _wrap_DateTime___isub____SWIG_0(self
,args
);
20114 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20124 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20132 return _wrap_DateTime___isub____SWIG_1(self
,args
);
20137 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___isub__'");
20142 static PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*self
, PyObject
*args
) {
20143 PyObject
*resultobj
;
20144 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20145 wxTimeSpan
*arg2
= 0 ;
20147 PyObject
* obj0
= 0 ;
20148 PyObject
* obj1
= 0 ;
20150 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
20151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20153 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20154 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20156 if (arg2
== NULL
) {
20157 PyErr_SetString(PyExc_TypeError
,"null reference");
20161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20162 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
20164 wxPyEndAllowThreads(__tstate
);
20165 if (PyErr_Occurred()) SWIG_fail
;
20168 wxDateTime
* resultptr
;
20169 resultptr
= new wxDateTime((wxDateTime
&) result
);
20170 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20178 static PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*self
, PyObject
*args
) {
20179 PyObject
*resultobj
;
20180 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20181 wxDateSpan
*arg2
= 0 ;
20183 PyObject
* obj0
= 0 ;
20184 PyObject
* obj1
= 0 ;
20186 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
20187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20189 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20190 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20192 if (arg2
== NULL
) {
20193 PyErr_SetString(PyExc_TypeError
,"null reference");
20197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20198 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
20200 wxPyEndAllowThreads(__tstate
);
20201 if (PyErr_Occurred()) SWIG_fail
;
20204 wxDateTime
* resultptr
;
20205 resultptr
= new wxDateTime((wxDateTime
&) result
);
20206 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20214 static PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
20219 argc
= PyObject_Length(args
);
20220 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20221 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20227 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20237 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20245 return _wrap_DateTime___add____SWIG_0(self
,args
);
20253 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20263 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20271 return _wrap_DateTime___add____SWIG_1(self
,args
);
20276 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___add__'");
20281 static PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*self
, PyObject
*args
) {
20282 PyObject
*resultobj
;
20283 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20284 wxDateTime
*arg2
= 0 ;
20286 PyObject
* obj0
= 0 ;
20287 PyObject
* obj1
= 0 ;
20289 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20292 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20293 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20295 if (arg2
== NULL
) {
20296 PyErr_SetString(PyExc_TypeError
,"null reference");
20300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20301 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
20303 wxPyEndAllowThreads(__tstate
);
20304 if (PyErr_Occurred()) SWIG_fail
;
20307 wxTimeSpan
* resultptr
;
20308 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
20309 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
20317 static PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*self
, PyObject
*args
) {
20318 PyObject
*resultobj
;
20319 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20320 wxTimeSpan
*arg2
= 0 ;
20322 PyObject
* obj0
= 0 ;
20323 PyObject
* obj1
= 0 ;
20325 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20328 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20329 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20331 if (arg2
== NULL
) {
20332 PyErr_SetString(PyExc_TypeError
,"null reference");
20336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20337 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
20339 wxPyEndAllowThreads(__tstate
);
20340 if (PyErr_Occurred()) SWIG_fail
;
20343 wxDateTime
* resultptr
;
20344 resultptr
= new wxDateTime((wxDateTime
&) result
);
20345 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20353 static PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*self
, PyObject
*args
) {
20354 PyObject
*resultobj
;
20355 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20356 wxDateSpan
*arg2
= 0 ;
20358 PyObject
* obj0
= 0 ;
20359 PyObject
* obj1
= 0 ;
20361 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20364 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20365 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20367 if (arg2
== NULL
) {
20368 PyErr_SetString(PyExc_TypeError
,"null reference");
20372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20373 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
20375 wxPyEndAllowThreads(__tstate
);
20376 if (PyErr_Occurred()) SWIG_fail
;
20379 wxDateTime
* resultptr
;
20380 resultptr
= new wxDateTime((wxDateTime
&) result
);
20381 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20389 static PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
20394 argc
= PyObject_Length(args
);
20395 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20396 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20402 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20412 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20420 return _wrap_DateTime___sub____SWIG_0(self
,args
);
20428 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20438 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20446 return _wrap_DateTime___sub____SWIG_1(self
,args
);
20454 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20464 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20472 return _wrap_DateTime___sub____SWIG_2(self
,args
);
20477 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___sub__'");
20482 static PyObject
*_wrap_DateTime___lt__(PyObject
*self
, PyObject
*args
) {
20483 PyObject
*resultobj
;
20484 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20485 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20487 PyObject
* obj0
= 0 ;
20488 PyObject
* obj1
= 0 ;
20490 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___lt__",&obj0
,&obj1
)) goto fail
;
20491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20493 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20497 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const *)arg2
);
20499 wxPyEndAllowThreads(__tstate
);
20500 if (PyErr_Occurred()) SWIG_fail
;
20503 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20511 static PyObject
*_wrap_DateTime___le__(PyObject
*self
, PyObject
*args
) {
20512 PyObject
*resultobj
;
20513 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20514 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20516 PyObject
* obj0
= 0 ;
20517 PyObject
* obj1
= 0 ;
20519 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___le__",&obj0
,&obj1
)) goto fail
;
20520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20522 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20526 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const *)arg2
);
20528 wxPyEndAllowThreads(__tstate
);
20529 if (PyErr_Occurred()) SWIG_fail
;
20532 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20540 static PyObject
*_wrap_DateTime___gt__(PyObject
*self
, PyObject
*args
) {
20541 PyObject
*resultobj
;
20542 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20543 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20545 PyObject
* obj0
= 0 ;
20546 PyObject
* obj1
= 0 ;
20548 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___gt__",&obj0
,&obj1
)) goto fail
;
20549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20551 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20555 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const *)arg2
);
20557 wxPyEndAllowThreads(__tstate
);
20558 if (PyErr_Occurred()) SWIG_fail
;
20561 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20569 static PyObject
*_wrap_DateTime___ge__(PyObject
*self
, PyObject
*args
) {
20570 PyObject
*resultobj
;
20571 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20572 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20574 PyObject
* obj0
= 0 ;
20575 PyObject
* obj1
= 0 ;
20577 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ge__",&obj0
,&obj1
)) goto fail
;
20578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20580 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20584 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const *)arg2
);
20586 wxPyEndAllowThreads(__tstate
);
20587 if (PyErr_Occurred()) SWIG_fail
;
20590 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20598 static PyObject
*_wrap_DateTime___eq__(PyObject
*self
, PyObject
*args
) {
20599 PyObject
*resultobj
;
20600 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20601 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20603 PyObject
* obj0
= 0 ;
20604 PyObject
* obj1
= 0 ;
20606 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___eq__",&obj0
,&obj1
)) goto fail
;
20607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20609 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20613 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const *)arg2
);
20615 wxPyEndAllowThreads(__tstate
);
20616 if (PyErr_Occurred()) SWIG_fail
;
20619 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20627 static PyObject
*_wrap_DateTime___ne__(PyObject
*self
, PyObject
*args
) {
20628 PyObject
*resultobj
;
20629 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20630 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20632 PyObject
* obj0
= 0 ;
20633 PyObject
* obj1
= 0 ;
20635 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ne__",&obj0
,&obj1
)) goto fail
;
20636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20638 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20642 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const *)arg2
);
20644 wxPyEndAllowThreads(__tstate
);
20645 if (PyErr_Occurred()) SWIG_fail
;
20648 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20656 static PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20657 PyObject
*resultobj
;
20658 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20659 wxString
*arg2
= 0 ;
20661 bool temp2
= False
;
20662 PyObject
* obj0
= 0 ;
20663 PyObject
* obj1
= 0 ;
20664 char *kwnames
[] = {
20665 (char *) "self",(char *) "date", NULL
20668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) goto fail
;
20669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20672 arg2
= wxString_in_helper(obj1
);
20673 if (arg2
== NULL
) SWIG_fail
;
20677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20678 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
20680 wxPyEndAllowThreads(__tstate
);
20681 if (PyErr_Occurred()) SWIG_fail
;
20683 resultobj
= SWIG_FromInt((int)result
);
20698 static PyObject
*_wrap_DateTime_ParseFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20699 PyObject
*resultobj
;
20700 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20701 wxString
*arg2
= 0 ;
20702 wxString
const &arg3_defvalue
= wxPyDateFormatStr
;
20703 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20704 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
20705 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
20707 bool temp2
= False
;
20708 bool temp3
= False
;
20709 PyObject
* obj0
= 0 ;
20710 PyObject
* obj1
= 0 ;
20711 PyObject
* obj2
= 0 ;
20712 PyObject
* obj3
= 0 ;
20713 char *kwnames
[] = {
20714 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
20717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20721 arg2
= wxString_in_helper(obj1
);
20722 if (arg2
== NULL
) SWIG_fail
;
20727 arg3
= wxString_in_helper(obj2
);
20728 if (arg3
== NULL
) SWIG_fail
;
20733 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDateTime
,
20734 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20736 if (arg4
== NULL
) {
20737 PyErr_SetString(PyExc_TypeError
,"null reference");
20742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20743 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
20745 wxPyEndAllowThreads(__tstate
);
20746 if (PyErr_Occurred()) SWIG_fail
;
20748 resultobj
= SWIG_FromInt((int)result
);
20771 static PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20772 PyObject
*resultobj
;
20773 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20774 wxString
*arg2
= 0 ;
20776 bool temp2
= False
;
20777 PyObject
* obj0
= 0 ;
20778 PyObject
* obj1
= 0 ;
20779 char *kwnames
[] = {
20780 (char *) "self",(char *) "datetime", NULL
20783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) goto fail
;
20784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20787 arg2
= wxString_in_helper(obj1
);
20788 if (arg2
== NULL
) SWIG_fail
;
20792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20793 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
20795 wxPyEndAllowThreads(__tstate
);
20796 if (PyErr_Occurred()) SWIG_fail
;
20798 resultobj
= SWIG_FromInt((int)result
);
20813 static PyObject
*_wrap_DateTime_ParseDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20814 PyObject
*resultobj
;
20815 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20816 wxString
*arg2
= 0 ;
20818 bool temp2
= False
;
20819 PyObject
* obj0
= 0 ;
20820 PyObject
* obj1
= 0 ;
20821 char *kwnames
[] = {
20822 (char *) "self",(char *) "date", NULL
20825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) goto fail
;
20826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20829 arg2
= wxString_in_helper(obj1
);
20830 if (arg2
== NULL
) SWIG_fail
;
20834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20835 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
20837 wxPyEndAllowThreads(__tstate
);
20838 if (PyErr_Occurred()) SWIG_fail
;
20840 resultobj
= SWIG_FromInt((int)result
);
20855 static PyObject
*_wrap_DateTime_ParseTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20856 PyObject
*resultobj
;
20857 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20858 wxString
*arg2
= 0 ;
20860 bool temp2
= False
;
20861 PyObject
* obj0
= 0 ;
20862 PyObject
* obj1
= 0 ;
20863 char *kwnames
[] = {
20864 (char *) "self",(char *) "time", NULL
20867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) goto fail
;
20868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20871 arg2
= wxString_in_helper(obj1
);
20872 if (arg2
== NULL
) SWIG_fail
;
20876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20877 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
20879 wxPyEndAllowThreads(__tstate
);
20880 if (PyErr_Occurred()) SWIG_fail
;
20882 resultobj
= SWIG_FromInt((int)result
);
20897 static PyObject
*_wrap_DateTime_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20898 PyObject
*resultobj
;
20899 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20900 wxString
const &arg2_defvalue
= wxPyDateFormatStr
;
20901 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
20902 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
20903 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
20905 bool temp2
= False
;
20906 bool temp3
= False
;
20907 PyObject
* obj0
= 0 ;
20908 PyObject
* obj1
= 0 ;
20909 PyObject
* obj2
= 0 ;
20910 char *kwnames
[] = {
20911 (char *) "self",(char *) "format",(char *) "tz", NULL
20914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20919 arg2
= wxString_in_helper(obj1
);
20920 if (arg2
== NULL
) SWIG_fail
;
20926 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
20931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20932 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
20934 wxPyEndAllowThreads(__tstate
);
20935 if (PyErr_Occurred()) SWIG_fail
;
20939 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20941 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20949 if (temp3
) delete arg3
;
20958 if (temp3
) delete arg3
;
20964 static PyObject
*_wrap_DateTime_FormatDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20965 PyObject
*resultobj
;
20966 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20968 PyObject
* obj0
= 0 ;
20969 char *kwnames
[] = {
20970 (char *) "self", NULL
20973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatDate",kwnames
,&obj0
)) goto fail
;
20974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20978 result
= ((wxDateTime
const *)arg1
)->FormatDate();
20980 wxPyEndAllowThreads(__tstate
);
20981 if (PyErr_Occurred()) SWIG_fail
;
20985 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20987 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20996 static PyObject
*_wrap_DateTime_FormatTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20997 PyObject
*resultobj
;
20998 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21000 PyObject
* obj0
= 0 ;
21001 char *kwnames
[] = {
21002 (char *) "self", NULL
21005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatTime",kwnames
,&obj0
)) goto fail
;
21006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21010 result
= ((wxDateTime
const *)arg1
)->FormatTime();
21012 wxPyEndAllowThreads(__tstate
);
21013 if (PyErr_Occurred()) SWIG_fail
;
21017 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21019 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21028 static PyObject
*_wrap_DateTime_FormatISODate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21029 PyObject
*resultobj
;
21030 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21032 PyObject
* obj0
= 0 ;
21033 char *kwnames
[] = {
21034 (char *) "self", NULL
21037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISODate",kwnames
,&obj0
)) goto fail
;
21038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21042 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
21044 wxPyEndAllowThreads(__tstate
);
21045 if (PyErr_Occurred()) SWIG_fail
;
21049 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21051 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21060 static PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21061 PyObject
*resultobj
;
21062 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21064 PyObject
* obj0
= 0 ;
21065 char *kwnames
[] = {
21066 (char *) "self", NULL
21069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISOTime",kwnames
,&obj0
)) goto fail
;
21070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21074 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
21076 wxPyEndAllowThreads(__tstate
);
21077 if (PyErr_Occurred()) SWIG_fail
;
21081 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21083 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21092 static PyObject
* DateTime_swigregister(PyObject
*self
, PyObject
*args
) {
21094 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21095 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime
, obj
);
21097 return Py_BuildValue((char *)"");
21099 static PyObject
*_wrap_TimeSpan_Seconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21100 PyObject
*resultobj
;
21103 PyObject
* obj0
= 0 ;
21104 char *kwnames
[] = {
21105 (char *) "sec", NULL
21108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",kwnames
,&obj0
)) goto fail
;
21109 arg1
= (long) SWIG_AsLong(obj0
);
21110 if (PyErr_Occurred()) SWIG_fail
;
21112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21113 result
= wxTimeSpan::Seconds(arg1
);
21115 wxPyEndAllowThreads(__tstate
);
21116 if (PyErr_Occurred()) SWIG_fail
;
21119 wxTimeSpan
* resultptr
;
21120 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21121 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21129 static PyObject
*_wrap_TimeSpan_Second(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21130 PyObject
*resultobj
;
21132 char *kwnames
[] = {
21136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Second",kwnames
)) goto fail
;
21138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21139 result
= wxTimeSpan::Second();
21141 wxPyEndAllowThreads(__tstate
);
21142 if (PyErr_Occurred()) SWIG_fail
;
21145 wxTimeSpan
* resultptr
;
21146 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21147 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21155 static PyObject
*_wrap_TimeSpan_Minutes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21156 PyObject
*resultobj
;
21159 PyObject
* obj0
= 0 ;
21160 char *kwnames
[] = {
21161 (char *) "min", NULL
21164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",kwnames
,&obj0
)) goto fail
;
21165 arg1
= (long) SWIG_AsLong(obj0
);
21166 if (PyErr_Occurred()) SWIG_fail
;
21168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21169 result
= wxTimeSpan::Minutes(arg1
);
21171 wxPyEndAllowThreads(__tstate
);
21172 if (PyErr_Occurred()) SWIG_fail
;
21175 wxTimeSpan
* resultptr
;
21176 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21177 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21185 static PyObject
*_wrap_TimeSpan_Minute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21186 PyObject
*resultobj
;
21188 char *kwnames
[] = {
21192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Minute",kwnames
)) goto fail
;
21194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21195 result
= wxTimeSpan::Minute();
21197 wxPyEndAllowThreads(__tstate
);
21198 if (PyErr_Occurred()) SWIG_fail
;
21201 wxTimeSpan
* resultptr
;
21202 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21203 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21211 static PyObject
*_wrap_TimeSpan_Hours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21212 PyObject
*resultobj
;
21215 PyObject
* obj0
= 0 ;
21216 char *kwnames
[] = {
21217 (char *) "hours", NULL
21220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",kwnames
,&obj0
)) goto fail
;
21221 arg1
= (long) SWIG_AsLong(obj0
);
21222 if (PyErr_Occurred()) SWIG_fail
;
21224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21225 result
= wxTimeSpan::Hours(arg1
);
21227 wxPyEndAllowThreads(__tstate
);
21228 if (PyErr_Occurred()) SWIG_fail
;
21231 wxTimeSpan
* resultptr
;
21232 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21233 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21241 static PyObject
*_wrap_TimeSpan_Hour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21242 PyObject
*resultobj
;
21244 char *kwnames
[] = {
21248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Hour",kwnames
)) goto fail
;
21250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21251 result
= wxTimeSpan::Hour();
21253 wxPyEndAllowThreads(__tstate
);
21254 if (PyErr_Occurred()) SWIG_fail
;
21257 wxTimeSpan
* resultptr
;
21258 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21259 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21267 static PyObject
*_wrap_TimeSpan_Days(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21268 PyObject
*resultobj
;
21271 PyObject
* obj0
= 0 ;
21272 char *kwnames
[] = {
21273 (char *) "days", NULL
21276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Days",kwnames
,&obj0
)) goto fail
;
21277 arg1
= (long) SWIG_AsLong(obj0
);
21278 if (PyErr_Occurred()) SWIG_fail
;
21280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21281 result
= wxTimeSpan::Days(arg1
);
21283 wxPyEndAllowThreads(__tstate
);
21284 if (PyErr_Occurred()) SWIG_fail
;
21287 wxTimeSpan
* resultptr
;
21288 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21289 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21297 static PyObject
*_wrap_TimeSpan_Day(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21298 PyObject
*resultobj
;
21300 char *kwnames
[] = {
21304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Day",kwnames
)) goto fail
;
21306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21307 result
= wxTimeSpan::Day();
21309 wxPyEndAllowThreads(__tstate
);
21310 if (PyErr_Occurred()) SWIG_fail
;
21313 wxTimeSpan
* resultptr
;
21314 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21315 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21323 static PyObject
*_wrap_TimeSpan_Weeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21324 PyObject
*resultobj
;
21327 PyObject
* obj0
= 0 ;
21328 char *kwnames
[] = {
21329 (char *) "days", NULL
21332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) goto fail
;
21333 arg1
= (long) SWIG_AsLong(obj0
);
21334 if (PyErr_Occurred()) SWIG_fail
;
21336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21337 result
= wxTimeSpan::Weeks(arg1
);
21339 wxPyEndAllowThreads(__tstate
);
21340 if (PyErr_Occurred()) SWIG_fail
;
21343 wxTimeSpan
* resultptr
;
21344 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21345 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21353 static PyObject
*_wrap_TimeSpan_Week(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21354 PyObject
*resultobj
;
21356 char *kwnames
[] = {
21360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Week",kwnames
)) goto fail
;
21362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21363 result
= wxTimeSpan::Week();
21365 wxPyEndAllowThreads(__tstate
);
21366 if (PyErr_Occurred()) SWIG_fail
;
21369 wxTimeSpan
* resultptr
;
21370 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21371 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21379 static PyObject
*_wrap_new_TimeSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21380 PyObject
*resultobj
;
21381 long arg1
= (long) 0 ;
21382 long arg2
= (long) 0 ;
21383 long arg3
= (long) 0 ;
21384 long arg4
= (long) 0 ;
21385 wxTimeSpan
*result
;
21386 PyObject
* obj0
= 0 ;
21387 PyObject
* obj1
= 0 ;
21388 PyObject
* obj2
= 0 ;
21389 PyObject
* obj3
= 0 ;
21390 char *kwnames
[] = {
21391 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
21394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21396 arg1
= (long) SWIG_AsLong(obj0
);
21397 if (PyErr_Occurred()) SWIG_fail
;
21400 arg2
= (long) SWIG_AsLong(obj1
);
21401 if (PyErr_Occurred()) SWIG_fail
;
21404 arg3
= (long) SWIG_AsLong(obj2
);
21405 if (PyErr_Occurred()) SWIG_fail
;
21408 arg4
= (long) SWIG_AsLong(obj3
);
21409 if (PyErr_Occurred()) SWIG_fail
;
21412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21413 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
21415 wxPyEndAllowThreads(__tstate
);
21416 if (PyErr_Occurred()) SWIG_fail
;
21418 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
21425 static PyObject
*_wrap_delete_TimeSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21426 PyObject
*resultobj
;
21427 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21428 PyObject
* obj0
= 0 ;
21429 char *kwnames
[] = {
21430 (char *) "self", NULL
21433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimeSpan",kwnames
,&obj0
)) goto fail
;
21434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21440 wxPyEndAllowThreads(__tstate
);
21441 if (PyErr_Occurred()) SWIG_fail
;
21443 Py_INCREF(Py_None
); resultobj
= Py_None
;
21450 static PyObject
*_wrap_TimeSpan_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21451 PyObject
*resultobj
;
21452 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21453 wxTimeSpan
*arg2
= 0 ;
21454 wxTimeSpan
*result
;
21455 PyObject
* obj0
= 0 ;
21456 PyObject
* obj1
= 0 ;
21457 char *kwnames
[] = {
21458 (char *) "self",(char *) "diff", NULL
21461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
21462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21464 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21465 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21467 if (arg2
== NULL
) {
21468 PyErr_SetString(PyExc_TypeError
,"null reference");
21472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21474 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
21475 result
= (wxTimeSpan
*) &_result_ref
;
21478 wxPyEndAllowThreads(__tstate
);
21479 if (PyErr_Occurred()) SWIG_fail
;
21481 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21488 static PyObject
*_wrap_TimeSpan_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21489 PyObject
*resultobj
;
21490 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21491 wxTimeSpan
*arg2
= 0 ;
21492 wxTimeSpan
*result
;
21493 PyObject
* obj0
= 0 ;
21494 PyObject
* obj1
= 0 ;
21495 char *kwnames
[] = {
21496 (char *) "self",(char *) "diff", NULL
21499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
21500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21502 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21503 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21505 if (arg2
== NULL
) {
21506 PyErr_SetString(PyExc_TypeError
,"null reference");
21510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21512 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
21513 result
= (wxTimeSpan
*) &_result_ref
;
21516 wxPyEndAllowThreads(__tstate
);
21517 if (PyErr_Occurred()) SWIG_fail
;
21519 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21526 static PyObject
*_wrap_TimeSpan_Multiply(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21527 PyObject
*resultobj
;
21528 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21530 wxTimeSpan
*result
;
21531 PyObject
* obj0
= 0 ;
21532 PyObject
* obj1
= 0 ;
21533 char *kwnames
[] = {
21534 (char *) "self",(char *) "n", NULL
21537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
21538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21540 arg2
= (int) SWIG_AsInt(obj1
);
21541 if (PyErr_Occurred()) SWIG_fail
;
21543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21545 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
21546 result
= (wxTimeSpan
*) &_result_ref
;
21549 wxPyEndAllowThreads(__tstate
);
21550 if (PyErr_Occurred()) SWIG_fail
;
21552 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21559 static PyObject
*_wrap_TimeSpan_Neg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21560 PyObject
*resultobj
;
21561 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21562 wxTimeSpan
*result
;
21563 PyObject
* obj0
= 0 ;
21564 char *kwnames
[] = {
21565 (char *) "self", NULL
21568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Neg",kwnames
,&obj0
)) goto fail
;
21569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21574 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
21575 result
= (wxTimeSpan
*) &_result_ref
;
21578 wxPyEndAllowThreads(__tstate
);
21579 if (PyErr_Occurred()) SWIG_fail
;
21581 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21588 static PyObject
*_wrap_TimeSpan_Abs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21589 PyObject
*resultobj
;
21590 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21592 PyObject
* obj0
= 0 ;
21593 char *kwnames
[] = {
21594 (char *) "self", NULL
21597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Abs",kwnames
,&obj0
)) goto fail
;
21598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21602 result
= ((wxTimeSpan
const *)arg1
)->Abs();
21604 wxPyEndAllowThreads(__tstate
);
21605 if (PyErr_Occurred()) SWIG_fail
;
21608 wxTimeSpan
* resultptr
;
21609 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21610 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21618 static PyObject
*_wrap_TimeSpan___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21619 PyObject
*resultobj
;
21620 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21621 wxTimeSpan
*arg2
= 0 ;
21622 wxTimeSpan
*result
;
21623 PyObject
* obj0
= 0 ;
21624 PyObject
* obj1
= 0 ;
21625 char *kwnames
[] = {
21626 (char *) "self",(char *) "diff", NULL
21629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
21630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21632 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21633 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21635 if (arg2
== NULL
) {
21636 PyErr_SetString(PyExc_TypeError
,"null reference");
21640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21642 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
21643 result
= (wxTimeSpan
*) &_result_ref
;
21646 wxPyEndAllowThreads(__tstate
);
21647 if (PyErr_Occurred()) SWIG_fail
;
21649 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21656 static PyObject
*_wrap_TimeSpan___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21657 PyObject
*resultobj
;
21658 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21659 wxTimeSpan
*arg2
= 0 ;
21660 wxTimeSpan
*result
;
21661 PyObject
* obj0
= 0 ;
21662 PyObject
* obj1
= 0 ;
21663 char *kwnames
[] = {
21664 (char *) "self",(char *) "diff", NULL
21667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
21668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21670 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21671 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21673 if (arg2
== NULL
) {
21674 PyErr_SetString(PyExc_TypeError
,"null reference");
21678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21680 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
21681 result
= (wxTimeSpan
*) &_result_ref
;
21684 wxPyEndAllowThreads(__tstate
);
21685 if (PyErr_Occurred()) SWIG_fail
;
21687 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21694 static PyObject
*_wrap_TimeSpan___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21695 PyObject
*resultobj
;
21696 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21698 wxTimeSpan
*result
;
21699 PyObject
* obj0
= 0 ;
21700 PyObject
* obj1
= 0 ;
21701 char *kwnames
[] = {
21702 (char *) "self",(char *) "n", NULL
21705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
21706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21708 arg2
= (int) SWIG_AsInt(obj1
);
21709 if (PyErr_Occurred()) SWIG_fail
;
21711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21713 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
21714 result
= (wxTimeSpan
*) &_result_ref
;
21717 wxPyEndAllowThreads(__tstate
);
21718 if (PyErr_Occurred()) SWIG_fail
;
21720 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21727 static PyObject
*_wrap_TimeSpan___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21728 PyObject
*resultobj
;
21729 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21730 wxTimeSpan
*result
;
21731 PyObject
* obj0
= 0 ;
21732 char *kwnames
[] = {
21733 (char *) "self", NULL
21736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan___neg__",kwnames
,&obj0
)) goto fail
;
21737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21742 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
21743 result
= (wxTimeSpan
*) &_result_ref
;
21746 wxPyEndAllowThreads(__tstate
);
21747 if (PyErr_Occurred()) SWIG_fail
;
21749 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21756 static PyObject
*_wrap_TimeSpan___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21757 PyObject
*resultobj
;
21758 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21759 wxTimeSpan
*arg2
= 0 ;
21761 PyObject
* obj0
= 0 ;
21762 PyObject
* obj1
= 0 ;
21763 char *kwnames
[] = {
21764 (char *) "self",(char *) "other", NULL
21767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
21768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21770 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21771 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21773 if (arg2
== NULL
) {
21774 PyErr_SetString(PyExc_TypeError
,"null reference");
21778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21779 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
21781 wxPyEndAllowThreads(__tstate
);
21782 if (PyErr_Occurred()) SWIG_fail
;
21785 wxTimeSpan
* resultptr
;
21786 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21787 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21795 static PyObject
*_wrap_TimeSpan___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21796 PyObject
*resultobj
;
21797 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21798 wxTimeSpan
*arg2
= 0 ;
21800 PyObject
* obj0
= 0 ;
21801 PyObject
* obj1
= 0 ;
21802 char *kwnames
[] = {
21803 (char *) "self",(char *) "other", NULL
21806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
21807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21809 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21810 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21812 if (arg2
== NULL
) {
21813 PyErr_SetString(PyExc_TypeError
,"null reference");
21817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21818 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
21820 wxPyEndAllowThreads(__tstate
);
21821 if (PyErr_Occurred()) SWIG_fail
;
21824 wxTimeSpan
* resultptr
;
21825 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21826 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21834 static PyObject
*_wrap_TimeSpan___mul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21835 PyObject
*resultobj
;
21836 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21839 PyObject
* obj0
= 0 ;
21840 PyObject
* obj1
= 0 ;
21841 char *kwnames
[] = {
21842 (char *) "self",(char *) "n", NULL
21845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
21846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21848 arg2
= (int) SWIG_AsInt(obj1
);
21849 if (PyErr_Occurred()) SWIG_fail
;
21851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21852 result
= wxTimeSpan___mul__(arg1
,arg2
);
21854 wxPyEndAllowThreads(__tstate
);
21855 if (PyErr_Occurred()) SWIG_fail
;
21858 wxTimeSpan
* resultptr
;
21859 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21860 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21868 static PyObject
*_wrap_TimeSpan___rmul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21869 PyObject
*resultobj
;
21870 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21873 PyObject
* obj0
= 0 ;
21874 PyObject
* obj1
= 0 ;
21875 char *kwnames
[] = {
21876 (char *) "self",(char *) "n", NULL
21879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
21880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21882 arg2
= (int) SWIG_AsInt(obj1
);
21883 if (PyErr_Occurred()) SWIG_fail
;
21885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21886 result
= wxTimeSpan___rmul__(arg1
,arg2
);
21888 wxPyEndAllowThreads(__tstate
);
21889 if (PyErr_Occurred()) SWIG_fail
;
21892 wxTimeSpan
* resultptr
;
21893 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21894 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21902 static PyObject
*_wrap_TimeSpan___lt__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21903 PyObject
*resultobj
;
21904 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21905 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
21907 PyObject
* obj0
= 0 ;
21908 PyObject
* obj1
= 0 ;
21909 char *kwnames
[] = {
21910 (char *) "self",(char *) "other", NULL
21913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
21914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21916 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21920 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const *)arg2
);
21922 wxPyEndAllowThreads(__tstate
);
21923 if (PyErr_Occurred()) SWIG_fail
;
21926 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21934 static PyObject
*_wrap_TimeSpan___le__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21935 PyObject
*resultobj
;
21936 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21937 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
21939 PyObject
* obj0
= 0 ;
21940 PyObject
* obj1
= 0 ;
21941 char *kwnames
[] = {
21942 (char *) "self",(char *) "other", NULL
21945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
21946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21948 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21952 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const *)arg2
);
21954 wxPyEndAllowThreads(__tstate
);
21955 if (PyErr_Occurred()) SWIG_fail
;
21958 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21966 static PyObject
*_wrap_TimeSpan___gt__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21967 PyObject
*resultobj
;
21968 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21969 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
21971 PyObject
* obj0
= 0 ;
21972 PyObject
* obj1
= 0 ;
21973 char *kwnames
[] = {
21974 (char *) "self",(char *) "other", NULL
21977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
21978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21980 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21984 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const *)arg2
);
21986 wxPyEndAllowThreads(__tstate
);
21987 if (PyErr_Occurred()) SWIG_fail
;
21990 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21998 static PyObject
*_wrap_TimeSpan___ge__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21999 PyObject
*resultobj
;
22000 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22001 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22003 PyObject
* obj0
= 0 ;
22004 PyObject
* obj1
= 0 ;
22005 char *kwnames
[] = {
22006 (char *) "self",(char *) "other", NULL
22009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
22010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22012 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22016 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const *)arg2
);
22018 wxPyEndAllowThreads(__tstate
);
22019 if (PyErr_Occurred()) SWIG_fail
;
22022 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22030 static PyObject
*_wrap_TimeSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22031 PyObject
*resultobj
;
22032 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22033 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22035 PyObject
* obj0
= 0 ;
22036 PyObject
* obj1
= 0 ;
22037 char *kwnames
[] = {
22038 (char *) "self",(char *) "other", NULL
22041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
22042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22044 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22048 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const *)arg2
);
22050 wxPyEndAllowThreads(__tstate
);
22051 if (PyErr_Occurred()) SWIG_fail
;
22054 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22062 static PyObject
*_wrap_TimeSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22063 PyObject
*resultobj
;
22064 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22065 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22067 PyObject
* obj0
= 0 ;
22068 PyObject
* obj1
= 0 ;
22069 char *kwnames
[] = {
22070 (char *) "self",(char *) "other", NULL
22073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
22074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22076 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22080 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const *)arg2
);
22082 wxPyEndAllowThreads(__tstate
);
22083 if (PyErr_Occurred()) SWIG_fail
;
22086 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22094 static PyObject
*_wrap_TimeSpan_IsNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22095 PyObject
*resultobj
;
22096 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22098 PyObject
* obj0
= 0 ;
22099 char *kwnames
[] = {
22100 (char *) "self", NULL
22103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNull",kwnames
,&obj0
)) goto fail
;
22104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22108 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
22110 wxPyEndAllowThreads(__tstate
);
22111 if (PyErr_Occurred()) SWIG_fail
;
22114 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22122 static PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22123 PyObject
*resultobj
;
22124 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22126 PyObject
* obj0
= 0 ;
22127 char *kwnames
[] = {
22128 (char *) "self", NULL
22131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsPositive",kwnames
,&obj0
)) goto fail
;
22132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22136 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
22138 wxPyEndAllowThreads(__tstate
);
22139 if (PyErr_Occurred()) SWIG_fail
;
22142 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22150 static PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22151 PyObject
*resultobj
;
22152 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22154 PyObject
* obj0
= 0 ;
22155 char *kwnames
[] = {
22156 (char *) "self", NULL
22159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNegative",kwnames
,&obj0
)) goto fail
;
22160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22164 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
22166 wxPyEndAllowThreads(__tstate
);
22167 if (PyErr_Occurred()) SWIG_fail
;
22170 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22178 static PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22179 PyObject
*resultobj
;
22180 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22181 wxTimeSpan
*arg2
= 0 ;
22183 PyObject
* obj0
= 0 ;
22184 PyObject
* obj1
= 0 ;
22185 char *kwnames
[] = {
22186 (char *) "self",(char *) "ts", NULL
22189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
22190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22192 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22193 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22195 if (arg2
== NULL
) {
22196 PyErr_SetString(PyExc_TypeError
,"null reference");
22200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22201 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
22203 wxPyEndAllowThreads(__tstate
);
22204 if (PyErr_Occurred()) SWIG_fail
;
22207 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22215 static PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22216 PyObject
*resultobj
;
22217 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22218 wxTimeSpan
*arg2
= 0 ;
22220 PyObject
* obj0
= 0 ;
22221 PyObject
* obj1
= 0 ;
22222 char *kwnames
[] = {
22223 (char *) "self",(char *) "ts", NULL
22226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22229 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22230 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22232 if (arg2
== NULL
) {
22233 PyErr_SetString(PyExc_TypeError
,"null reference");
22237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22238 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
22240 wxPyEndAllowThreads(__tstate
);
22241 if (PyErr_Occurred()) SWIG_fail
;
22244 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22252 static PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22253 PyObject
*resultobj
;
22254 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22255 wxTimeSpan
*arg2
= 0 ;
22257 PyObject
* obj0
= 0 ;
22258 PyObject
* obj1
= 0 ;
22259 char *kwnames
[] = {
22260 (char *) "self",(char *) "t", NULL
22263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22266 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22267 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22269 if (arg2
== NULL
) {
22270 PyErr_SetString(PyExc_TypeError
,"null reference");
22274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22275 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
22277 wxPyEndAllowThreads(__tstate
);
22278 if (PyErr_Occurred()) SWIG_fail
;
22281 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22289 static PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22290 PyObject
*resultobj
;
22291 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22293 PyObject
* obj0
= 0 ;
22294 char *kwnames
[] = {
22295 (char *) "self", NULL
22298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
22299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22303 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
22305 wxPyEndAllowThreads(__tstate
);
22306 if (PyErr_Occurred()) SWIG_fail
;
22308 resultobj
= SWIG_FromInt((int)result
);
22315 static PyObject
*_wrap_TimeSpan_GetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22316 PyObject
*resultobj
;
22317 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22319 PyObject
* obj0
= 0 ;
22320 char *kwnames
[] = {
22321 (char *) "self", NULL
22324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetDays",kwnames
,&obj0
)) goto fail
;
22325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22329 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
22331 wxPyEndAllowThreads(__tstate
);
22332 if (PyErr_Occurred()) SWIG_fail
;
22334 resultobj
= SWIG_FromInt((int)result
);
22341 static PyObject
*_wrap_TimeSpan_GetHours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22342 PyObject
*resultobj
;
22343 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22345 PyObject
* obj0
= 0 ;
22346 char *kwnames
[] = {
22347 (char *) "self", NULL
22350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetHours",kwnames
,&obj0
)) goto fail
;
22351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22355 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
22357 wxPyEndAllowThreads(__tstate
);
22358 if (PyErr_Occurred()) SWIG_fail
;
22360 resultobj
= SWIG_FromInt((int)result
);
22367 static PyObject
*_wrap_TimeSpan_GetMinutes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22368 PyObject
*resultobj
;
22369 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22371 PyObject
* obj0
= 0 ;
22372 char *kwnames
[] = {
22373 (char *) "self", NULL
22376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMinutes",kwnames
,&obj0
)) goto fail
;
22377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22381 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
22383 wxPyEndAllowThreads(__tstate
);
22384 if (PyErr_Occurred()) SWIG_fail
;
22386 resultobj
= SWIG_FromInt((int)result
);
22393 static PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22394 PyObject
*resultobj
;
22395 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22397 PyObject
* obj0
= 0 ;
22398 char *kwnames
[] = {
22399 (char *) "self", NULL
22402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetSeconds",kwnames
,&obj0
)) goto fail
;
22403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22407 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
22409 wxPyEndAllowThreads(__tstate
);
22410 if (PyErr_Occurred()) SWIG_fail
;
22413 PyObject
*hi
, *lo
, *shifter
, *shifted
;
22414 hi
= PyLong_FromLong( (&result
)->GetHi() );
22415 lo
= PyLong_FromLong( (&result
)->GetLo() );
22416 shifter
= PyLong_FromLong(32);
22417 shifted
= PyNumber_Lshift(hi
, shifter
);
22418 resultobj
= PyNumber_Or(shifted
, lo
);
22421 Py_DECREF(shifter
);
22422 Py_DECREF(shifted
);
22430 static PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22431 PyObject
*resultobj
;
22432 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22434 PyObject
* obj0
= 0 ;
22435 char *kwnames
[] = {
22436 (char *) "self", NULL
22439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMilliseconds",kwnames
,&obj0
)) goto fail
;
22440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22444 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
22446 wxPyEndAllowThreads(__tstate
);
22447 if (PyErr_Occurred()) SWIG_fail
;
22450 PyObject
*hi
, *lo
, *shifter
, *shifted
;
22451 hi
= PyLong_FromLong( (&result
)->GetHi() );
22452 lo
= PyLong_FromLong( (&result
)->GetLo() );
22453 shifter
= PyLong_FromLong(32);
22454 shifted
= PyNumber_Lshift(hi
, shifter
);
22455 resultobj
= PyNumber_Or(shifted
, lo
);
22458 Py_DECREF(shifter
);
22459 Py_DECREF(shifted
);
22467 static PyObject
*_wrap_TimeSpan_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22468 PyObject
*resultobj
;
22469 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22470 wxString
const &arg2_defvalue
= wxPyTimeSpanFormatStr
;
22471 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
22473 bool temp2
= False
;
22474 PyObject
* obj0
= 0 ;
22475 PyObject
* obj1
= 0 ;
22476 char *kwnames
[] = {
22477 (char *) "self",(char *) "format", NULL
22480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) goto fail
;
22481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22485 arg2
= wxString_in_helper(obj1
);
22486 if (arg2
== NULL
) SWIG_fail
;
22491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22492 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
22494 wxPyEndAllowThreads(__tstate
);
22495 if (PyErr_Occurred()) SWIG_fail
;
22499 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22501 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22518 static PyObject
* TimeSpan_swigregister(PyObject
*self
, PyObject
*args
) {
22520 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22521 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan
, obj
);
22523 return Py_BuildValue((char *)"");
22525 static PyObject
*_wrap_new_DateSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22526 PyObject
*resultobj
;
22527 int arg1
= (int) 0 ;
22528 int arg2
= (int) 0 ;
22529 int arg3
= (int) 0 ;
22530 int arg4
= (int) 0 ;
22531 wxDateSpan
*result
;
22532 PyObject
* obj0
= 0 ;
22533 PyObject
* obj1
= 0 ;
22534 PyObject
* obj2
= 0 ;
22535 PyObject
* obj3
= 0 ;
22536 char *kwnames
[] = {
22537 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
22540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22542 arg1
= (int) SWIG_AsInt(obj0
);
22543 if (PyErr_Occurred()) SWIG_fail
;
22546 arg2
= (int) SWIG_AsInt(obj1
);
22547 if (PyErr_Occurred()) SWIG_fail
;
22550 arg3
= (int) SWIG_AsInt(obj2
);
22551 if (PyErr_Occurred()) SWIG_fail
;
22554 arg4
= (int) SWIG_AsInt(obj3
);
22555 if (PyErr_Occurred()) SWIG_fail
;
22558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22559 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
22561 wxPyEndAllowThreads(__tstate
);
22562 if (PyErr_Occurred()) SWIG_fail
;
22564 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
22571 static PyObject
*_wrap_delete_DateSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22572 PyObject
*resultobj
;
22573 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22574 PyObject
* obj0
= 0 ;
22575 char *kwnames
[] = {
22576 (char *) "self", NULL
22579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateSpan",kwnames
,&obj0
)) goto fail
;
22580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22586 wxPyEndAllowThreads(__tstate
);
22587 if (PyErr_Occurred()) SWIG_fail
;
22589 Py_INCREF(Py_None
); resultobj
= Py_None
;
22596 static PyObject
*_wrap_DateSpan_Days(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22597 PyObject
*resultobj
;
22600 PyObject
* obj0
= 0 ;
22601 char *kwnames
[] = {
22602 (char *) "days", NULL
22605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",kwnames
,&obj0
)) goto fail
;
22606 arg1
= (int) SWIG_AsInt(obj0
);
22607 if (PyErr_Occurred()) SWIG_fail
;
22609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22610 result
= wxDateSpan::Days(arg1
);
22612 wxPyEndAllowThreads(__tstate
);
22613 if (PyErr_Occurred()) SWIG_fail
;
22616 wxDateSpan
* resultptr
;
22617 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22618 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22626 static PyObject
*_wrap_DateSpan_Day(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22627 PyObject
*resultobj
;
22629 char *kwnames
[] = {
22633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Day",kwnames
)) goto fail
;
22635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22636 result
= wxDateSpan::Day();
22638 wxPyEndAllowThreads(__tstate
);
22639 if (PyErr_Occurred()) SWIG_fail
;
22642 wxDateSpan
* resultptr
;
22643 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22644 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22652 static PyObject
*_wrap_DateSpan_Weeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22653 PyObject
*resultobj
;
22656 PyObject
* obj0
= 0 ;
22657 char *kwnames
[] = {
22658 (char *) "weeks", NULL
22661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",kwnames
,&obj0
)) goto fail
;
22662 arg1
= (int) SWIG_AsInt(obj0
);
22663 if (PyErr_Occurred()) SWIG_fail
;
22665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22666 result
= wxDateSpan::Weeks(arg1
);
22668 wxPyEndAllowThreads(__tstate
);
22669 if (PyErr_Occurred()) SWIG_fail
;
22672 wxDateSpan
* resultptr
;
22673 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22674 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22682 static PyObject
*_wrap_DateSpan_Week(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22683 PyObject
*resultobj
;
22685 char *kwnames
[] = {
22689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Week",kwnames
)) goto fail
;
22691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22692 result
= wxDateSpan::Week();
22694 wxPyEndAllowThreads(__tstate
);
22695 if (PyErr_Occurred()) SWIG_fail
;
22698 wxDateSpan
* resultptr
;
22699 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22700 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22708 static PyObject
*_wrap_DateSpan_Months(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22709 PyObject
*resultobj
;
22712 PyObject
* obj0
= 0 ;
22713 char *kwnames
[] = {
22714 (char *) "mon", NULL
22717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",kwnames
,&obj0
)) goto fail
;
22718 arg1
= (int) SWIG_AsInt(obj0
);
22719 if (PyErr_Occurred()) SWIG_fail
;
22721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22722 result
= wxDateSpan::Months(arg1
);
22724 wxPyEndAllowThreads(__tstate
);
22725 if (PyErr_Occurred()) SWIG_fail
;
22728 wxDateSpan
* resultptr
;
22729 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22730 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22738 static PyObject
*_wrap_DateSpan_Month(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22739 PyObject
*resultobj
;
22741 char *kwnames
[] = {
22745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Month",kwnames
)) goto fail
;
22747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22748 result
= wxDateSpan::Month();
22750 wxPyEndAllowThreads(__tstate
);
22751 if (PyErr_Occurred()) SWIG_fail
;
22754 wxDateSpan
* resultptr
;
22755 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22756 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22764 static PyObject
*_wrap_DateSpan_Years(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22765 PyObject
*resultobj
;
22768 PyObject
* obj0
= 0 ;
22769 char *kwnames
[] = {
22770 (char *) "years", NULL
22773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) goto fail
;
22774 arg1
= (int) SWIG_AsInt(obj0
);
22775 if (PyErr_Occurred()) SWIG_fail
;
22777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22778 result
= wxDateSpan::Years(arg1
);
22780 wxPyEndAllowThreads(__tstate
);
22781 if (PyErr_Occurred()) SWIG_fail
;
22784 wxDateSpan
* resultptr
;
22785 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22786 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22794 static PyObject
*_wrap_DateSpan_Year(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22795 PyObject
*resultobj
;
22797 char *kwnames
[] = {
22801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Year",kwnames
)) goto fail
;
22803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22804 result
= wxDateSpan::Year();
22806 wxPyEndAllowThreads(__tstate
);
22807 if (PyErr_Occurred()) SWIG_fail
;
22810 wxDateSpan
* resultptr
;
22811 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22812 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22820 static PyObject
*_wrap_DateSpan_SetYears(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22821 PyObject
*resultobj
;
22822 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22824 wxDateSpan
*result
;
22825 PyObject
* obj0
= 0 ;
22826 PyObject
* obj1
= 0 ;
22827 char *kwnames
[] = {
22828 (char *) "self",(char *) "n", NULL
22831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetYears",kwnames
,&obj0
,&obj1
)) goto fail
;
22832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22834 arg2
= (int) SWIG_AsInt(obj1
);
22835 if (PyErr_Occurred()) SWIG_fail
;
22837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22839 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
22840 result
= (wxDateSpan
*) &_result_ref
;
22843 wxPyEndAllowThreads(__tstate
);
22844 if (PyErr_Occurred()) SWIG_fail
;
22846 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
22853 static PyObject
*_wrap_DateSpan_SetMonths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22854 PyObject
*resultobj
;
22855 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22857 wxDateSpan
*result
;
22858 PyObject
* obj0
= 0 ;
22859 PyObject
* obj1
= 0 ;
22860 char *kwnames
[] = {
22861 (char *) "self",(char *) "n", NULL
22864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetMonths",kwnames
,&obj0
,&obj1
)) goto fail
;
22865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22867 arg2
= (int) SWIG_AsInt(obj1
);
22868 if (PyErr_Occurred()) SWIG_fail
;
22870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22872 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
22873 result
= (wxDateSpan
*) &_result_ref
;
22876 wxPyEndAllowThreads(__tstate
);
22877 if (PyErr_Occurred()) SWIG_fail
;
22879 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
22886 static PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22887 PyObject
*resultobj
;
22888 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22890 wxDateSpan
*result
;
22891 PyObject
* obj0
= 0 ;
22892 PyObject
* obj1
= 0 ;
22893 char *kwnames
[] = {
22894 (char *) "self",(char *) "n", NULL
22897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) goto fail
;
22898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22900 arg2
= (int) SWIG_AsInt(obj1
);
22901 if (PyErr_Occurred()) SWIG_fail
;
22903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22905 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
22906 result
= (wxDateSpan
*) &_result_ref
;
22909 wxPyEndAllowThreads(__tstate
);
22910 if (PyErr_Occurred()) SWIG_fail
;
22912 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
22919 static PyObject
*_wrap_DateSpan_SetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22920 PyObject
*resultobj
;
22921 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22923 wxDateSpan
*result
;
22924 PyObject
* obj0
= 0 ;
22925 PyObject
* obj1
= 0 ;
22926 char *kwnames
[] = {
22927 (char *) "self",(char *) "n", NULL
22930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) goto fail
;
22931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22933 arg2
= (int) SWIG_AsInt(obj1
);
22934 if (PyErr_Occurred()) SWIG_fail
;
22936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22938 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
22939 result
= (wxDateSpan
*) &_result_ref
;
22942 wxPyEndAllowThreads(__tstate
);
22943 if (PyErr_Occurred()) SWIG_fail
;
22945 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
22952 static PyObject
*_wrap_DateSpan_GetYears(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22953 PyObject
*resultobj
;
22954 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22956 PyObject
* obj0
= 0 ;
22957 char *kwnames
[] = {
22958 (char *) "self", NULL
22961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetYears",kwnames
,&obj0
)) goto fail
;
22962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22966 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
22968 wxPyEndAllowThreads(__tstate
);
22969 if (PyErr_Occurred()) SWIG_fail
;
22971 resultobj
= SWIG_FromInt((int)result
);
22978 static PyObject
*_wrap_DateSpan_GetMonths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22979 PyObject
*resultobj
;
22980 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22982 PyObject
* obj0
= 0 ;
22983 char *kwnames
[] = {
22984 (char *) "self", NULL
22987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetMonths",kwnames
,&obj0
)) goto fail
;
22988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22992 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
22994 wxPyEndAllowThreads(__tstate
);
22995 if (PyErr_Occurred()) SWIG_fail
;
22997 resultobj
= SWIG_FromInt((int)result
);
23004 static PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23005 PyObject
*resultobj
;
23006 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23008 PyObject
* obj0
= 0 ;
23009 char *kwnames
[] = {
23010 (char *) "self", NULL
23013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
23014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23018 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
23020 wxPyEndAllowThreads(__tstate
);
23021 if (PyErr_Occurred()) SWIG_fail
;
23023 resultobj
= SWIG_FromInt((int)result
);
23030 static PyObject
*_wrap_DateSpan_GetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23031 PyObject
*resultobj
;
23032 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23034 PyObject
* obj0
= 0 ;
23035 char *kwnames
[] = {
23036 (char *) "self", NULL
23039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetDays",kwnames
,&obj0
)) goto fail
;
23040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23044 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
23046 wxPyEndAllowThreads(__tstate
);
23047 if (PyErr_Occurred()) SWIG_fail
;
23049 resultobj
= SWIG_FromInt((int)result
);
23056 static PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23057 PyObject
*resultobj
;
23058 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23060 PyObject
* obj0
= 0 ;
23061 char *kwnames
[] = {
23062 (char *) "self", NULL
23065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetTotalDays",kwnames
,&obj0
)) goto fail
;
23066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23070 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
23072 wxPyEndAllowThreads(__tstate
);
23073 if (PyErr_Occurred()) SWIG_fail
;
23075 resultobj
= SWIG_FromInt((int)result
);
23082 static PyObject
*_wrap_DateSpan_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23083 PyObject
*resultobj
;
23084 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23085 wxDateSpan
*arg2
= 0 ;
23086 wxDateSpan
*result
;
23087 PyObject
* obj0
= 0 ;
23088 PyObject
* obj1
= 0 ;
23089 char *kwnames
[] = {
23090 (char *) "self",(char *) "other", NULL
23093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
23094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23096 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23097 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23099 if (arg2
== NULL
) {
23100 PyErr_SetString(PyExc_TypeError
,"null reference");
23104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23106 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
23107 result
= (wxDateSpan
*) &_result_ref
;
23110 wxPyEndAllowThreads(__tstate
);
23111 if (PyErr_Occurred()) SWIG_fail
;
23113 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23120 static PyObject
*_wrap_DateSpan_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23121 PyObject
*resultobj
;
23122 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23123 wxDateSpan
*arg2
= 0 ;
23124 wxDateSpan
*result
;
23125 PyObject
* obj0
= 0 ;
23126 PyObject
* obj1
= 0 ;
23127 char *kwnames
[] = {
23128 (char *) "self",(char *) "other", NULL
23131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
23132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23134 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23135 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23137 if (arg2
== NULL
) {
23138 PyErr_SetString(PyExc_TypeError
,"null reference");
23142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23144 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
23145 result
= (wxDateSpan
*) &_result_ref
;
23148 wxPyEndAllowThreads(__tstate
);
23149 if (PyErr_Occurred()) SWIG_fail
;
23151 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23158 static PyObject
*_wrap_DateSpan_Neg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23159 PyObject
*resultobj
;
23160 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23161 wxDateSpan
*result
;
23162 PyObject
* obj0
= 0 ;
23163 char *kwnames
[] = {
23164 (char *) "self", NULL
23167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Neg",kwnames
,&obj0
)) goto fail
;
23168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23173 wxDateSpan
&_result_ref
= (arg1
)->Neg();
23174 result
= (wxDateSpan
*) &_result_ref
;
23177 wxPyEndAllowThreads(__tstate
);
23178 if (PyErr_Occurred()) SWIG_fail
;
23180 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23187 static PyObject
*_wrap_DateSpan_Multiply(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23188 PyObject
*resultobj
;
23189 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23191 wxDateSpan
*result
;
23192 PyObject
* obj0
= 0 ;
23193 PyObject
* obj1
= 0 ;
23194 char *kwnames
[] = {
23195 (char *) "self",(char *) "factor", NULL
23198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
23199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23201 arg2
= (int) SWIG_AsInt(obj1
);
23202 if (PyErr_Occurred()) SWIG_fail
;
23204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23206 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
23207 result
= (wxDateSpan
*) &_result_ref
;
23210 wxPyEndAllowThreads(__tstate
);
23211 if (PyErr_Occurred()) SWIG_fail
;
23213 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23220 static PyObject
*_wrap_DateSpan___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23221 PyObject
*resultobj
;
23222 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23223 wxDateSpan
*arg2
= 0 ;
23224 wxDateSpan
*result
;
23225 PyObject
* obj0
= 0 ;
23226 PyObject
* obj1
= 0 ;
23227 char *kwnames
[] = {
23228 (char *) "self",(char *) "other", NULL
23231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
23232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23234 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23235 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23237 if (arg2
== NULL
) {
23238 PyErr_SetString(PyExc_TypeError
,"null reference");
23242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23244 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
23245 result
= (wxDateSpan
*) &_result_ref
;
23248 wxPyEndAllowThreads(__tstate
);
23249 if (PyErr_Occurred()) SWIG_fail
;
23251 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23258 static PyObject
*_wrap_DateSpan___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23259 PyObject
*resultobj
;
23260 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23261 wxDateSpan
*arg2
= 0 ;
23262 wxDateSpan
*result
;
23263 PyObject
* obj0
= 0 ;
23264 PyObject
* obj1
= 0 ;
23265 char *kwnames
[] = {
23266 (char *) "self",(char *) "other", NULL
23269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
23270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23272 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23273 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23275 if (arg2
== NULL
) {
23276 PyErr_SetString(PyExc_TypeError
,"null reference");
23280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23282 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
23283 result
= (wxDateSpan
*) &_result_ref
;
23286 wxPyEndAllowThreads(__tstate
);
23287 if (PyErr_Occurred()) SWIG_fail
;
23289 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23296 static PyObject
*_wrap_DateSpan___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23297 PyObject
*resultobj
;
23298 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23299 wxDateSpan
*result
;
23300 PyObject
* obj0
= 0 ;
23301 char *kwnames
[] = {
23302 (char *) "self", NULL
23305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan___neg__",kwnames
,&obj0
)) goto fail
;
23306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23311 wxDateSpan
&_result_ref
= (arg1
)->operator -();
23312 result
= (wxDateSpan
*) &_result_ref
;
23315 wxPyEndAllowThreads(__tstate
);
23316 if (PyErr_Occurred()) SWIG_fail
;
23318 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23325 static PyObject
*_wrap_DateSpan___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23326 PyObject
*resultobj
;
23327 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23329 wxDateSpan
*result
;
23330 PyObject
* obj0
= 0 ;
23331 PyObject
* obj1
= 0 ;
23332 char *kwnames
[] = {
23333 (char *) "self",(char *) "factor", NULL
23336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23339 arg2
= (int) SWIG_AsInt(obj1
);
23340 if (PyErr_Occurred()) SWIG_fail
;
23342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23344 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
23345 result
= (wxDateSpan
*) &_result_ref
;
23348 wxPyEndAllowThreads(__tstate
);
23349 if (PyErr_Occurred()) SWIG_fail
;
23351 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23358 static PyObject
*_wrap_DateSpan___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23359 PyObject
*resultobj
;
23360 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23361 wxDateSpan
*arg2
= 0 ;
23363 PyObject
* obj0
= 0 ;
23364 PyObject
* obj1
= 0 ;
23365 char *kwnames
[] = {
23366 (char *) "self",(char *) "other", NULL
23369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
23370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23372 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23373 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23375 if (arg2
== NULL
) {
23376 PyErr_SetString(PyExc_TypeError
,"null reference");
23380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23381 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
23383 wxPyEndAllowThreads(__tstate
);
23384 if (PyErr_Occurred()) SWIG_fail
;
23387 wxDateSpan
* resultptr
;
23388 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23389 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23397 static PyObject
*_wrap_DateSpan___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23398 PyObject
*resultobj
;
23399 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23400 wxDateSpan
*arg2
= 0 ;
23402 PyObject
* obj0
= 0 ;
23403 PyObject
* obj1
= 0 ;
23404 char *kwnames
[] = {
23405 (char *) "self",(char *) "other", NULL
23408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
23409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23411 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23412 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23414 if (arg2
== NULL
) {
23415 PyErr_SetString(PyExc_TypeError
,"null reference");
23419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23420 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
23422 wxPyEndAllowThreads(__tstate
);
23423 if (PyErr_Occurred()) SWIG_fail
;
23426 wxDateSpan
* resultptr
;
23427 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23428 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23436 static PyObject
*_wrap_DateSpan___mul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23437 PyObject
*resultobj
;
23438 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23441 PyObject
* obj0
= 0 ;
23442 PyObject
* obj1
= 0 ;
23443 char *kwnames
[] = {
23444 (char *) "self",(char *) "n", NULL
23447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23450 arg2
= (int) SWIG_AsInt(obj1
);
23451 if (PyErr_Occurred()) SWIG_fail
;
23453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23454 result
= wxDateSpan___mul__(arg1
,arg2
);
23456 wxPyEndAllowThreads(__tstate
);
23457 if (PyErr_Occurred()) SWIG_fail
;
23460 wxDateSpan
* resultptr
;
23461 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23462 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23470 static PyObject
*_wrap_DateSpan___rmul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23471 PyObject
*resultobj
;
23472 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23475 PyObject
* obj0
= 0 ;
23476 PyObject
* obj1
= 0 ;
23477 char *kwnames
[] = {
23478 (char *) "self",(char *) "n", NULL
23481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23484 arg2
= (int) SWIG_AsInt(obj1
);
23485 if (PyErr_Occurred()) SWIG_fail
;
23487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23488 result
= wxDateSpan___rmul__(arg1
,arg2
);
23490 wxPyEndAllowThreads(__tstate
);
23491 if (PyErr_Occurred()) SWIG_fail
;
23494 wxDateSpan
* resultptr
;
23495 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23496 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23504 static PyObject
*_wrap_DateSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23505 PyObject
*resultobj
;
23506 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23507 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
23509 PyObject
* obj0
= 0 ;
23510 PyObject
* obj1
= 0 ;
23511 char *kwnames
[] = {
23512 (char *) "self",(char *) "other", NULL
23515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
23516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23518 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23522 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const *)arg2
);
23524 wxPyEndAllowThreads(__tstate
);
23525 if (PyErr_Occurred()) SWIG_fail
;
23528 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23536 static PyObject
*_wrap_DateSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23537 PyObject
*resultobj
;
23538 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23539 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
23541 PyObject
* obj0
= 0 ;
23542 PyObject
* obj1
= 0 ;
23543 char *kwnames
[] = {
23544 (char *) "self",(char *) "other", NULL
23547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
23548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23550 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23554 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const *)arg2
);
23556 wxPyEndAllowThreads(__tstate
);
23557 if (PyErr_Occurred()) SWIG_fail
;
23560 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23568 static PyObject
* DateSpan_swigregister(PyObject
*self
, PyObject
*args
) {
23570 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23571 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan
, obj
);
23573 return Py_BuildValue((char *)"");
23575 static PyObject
*_wrap_GetLocalTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23576 PyObject
*resultobj
;
23578 char *kwnames
[] = {
23582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTime",kwnames
)) goto fail
;
23584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23585 result
= (long)wxGetLocalTime();
23587 wxPyEndAllowThreads(__tstate
);
23588 if (PyErr_Occurred()) SWIG_fail
;
23590 resultobj
= SWIG_FromLong((long)result
);
23597 static PyObject
*_wrap_GetUTCTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23598 PyObject
*resultobj
;
23600 char *kwnames
[] = {
23604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUTCTime",kwnames
)) goto fail
;
23606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23607 result
= (long)wxGetUTCTime();
23609 wxPyEndAllowThreads(__tstate
);
23610 if (PyErr_Occurred()) SWIG_fail
;
23612 resultobj
= SWIG_FromLong((long)result
);
23619 static PyObject
*_wrap_GetCurrentTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23620 PyObject
*resultobj
;
23622 char *kwnames
[] = {
23626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentTime",kwnames
)) goto fail
;
23628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23629 result
= (long)wxGetCurrentTime();
23631 wxPyEndAllowThreads(__tstate
);
23632 if (PyErr_Occurred()) SWIG_fail
;
23634 resultobj
= SWIG_FromLong((long)result
);
23641 static PyObject
*_wrap_GetLocalTimeMillis(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23642 PyObject
*resultobj
;
23644 char *kwnames
[] = {
23648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTimeMillis",kwnames
)) goto fail
;
23650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23651 result
= wxGetLocalTimeMillis();
23653 wxPyEndAllowThreads(__tstate
);
23654 if (PyErr_Occurred()) SWIG_fail
;
23657 PyObject
*hi
, *lo
, *shifter
, *shifted
;
23658 hi
= PyLong_FromLong( (&result
)->GetHi() );
23659 lo
= PyLong_FromLong( (&result
)->GetLo() );
23660 shifter
= PyLong_FromLong(32);
23661 shifted
= PyNumber_Lshift(hi
, shifter
);
23662 resultobj
= PyNumber_Or(shifted
, lo
);
23665 Py_DECREF(shifter
);
23666 Py_DECREF(shifted
);
23674 static int _wrap_DefaultDateTime_set(PyObject
*_val
) {
23675 PyErr_SetString(PyExc_TypeError
,"Variable DefaultDateTime is read-only.");
23680 static PyObject
*_wrap_DefaultDateTime_get() {
23683 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultDateTime
), SWIGTYPE_p_wxDateTime
, 0);
23688 static PyObject
*_wrap_new_DataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23689 PyObject
*resultobj
;
23691 wxDataFormat
*result
;
23692 PyObject
* obj0
= 0 ;
23693 char *kwnames
[] = {
23694 (char *) "type", NULL
23697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) goto fail
;
23698 arg1
= (wxDataFormatId
) SWIG_AsInt(obj0
);
23699 if (PyErr_Occurred()) SWIG_fail
;
23701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23702 result
= (wxDataFormat
*)new wxDataFormat((wxDataFormatId
)arg1
);
23704 wxPyEndAllowThreads(__tstate
);
23705 if (PyErr_Occurred()) SWIG_fail
;
23707 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
23714 static PyObject
*_wrap_new_CustomDataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23715 PyObject
*resultobj
;
23716 wxString
*arg1
= 0 ;
23717 wxDataFormat
*result
;
23718 bool temp1
= False
;
23719 PyObject
* obj0
= 0 ;
23720 char *kwnames
[] = {
23721 (char *) "format", NULL
23724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) goto fail
;
23726 arg1
= wxString_in_helper(obj0
);
23727 if (arg1
== NULL
) SWIG_fail
;
23731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23732 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
23734 wxPyEndAllowThreads(__tstate
);
23735 if (PyErr_Occurred()) SWIG_fail
;
23737 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
23752 static PyObject
*_wrap_delete_DataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23753 PyObject
*resultobj
;
23754 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23755 PyObject
* obj0
= 0 ;
23756 char *kwnames
[] = {
23757 (char *) "self", NULL
23760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataFormat",kwnames
,&obj0
)) goto fail
;
23761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23767 wxPyEndAllowThreads(__tstate
);
23768 if (PyErr_Occurred()) SWIG_fail
;
23770 Py_INCREF(Py_None
); resultobj
= Py_None
;
23777 static PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*self
, PyObject
*args
) {
23778 PyObject
*resultobj
;
23779 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23782 PyObject
* obj0
= 0 ;
23783 PyObject
* obj1
= 0 ;
23785 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
23786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23788 arg2
= (wxDataFormatId
) SWIG_AsInt(obj1
);
23789 if (PyErr_Occurred()) SWIG_fail
;
23791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23792 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormatId
)arg2
);
23794 wxPyEndAllowThreads(__tstate
);
23795 if (PyErr_Occurred()) SWIG_fail
;
23798 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23806 static PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*self
, PyObject
*args
) {
23807 PyObject
*resultobj
;
23808 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23811 PyObject
* obj0
= 0 ;
23812 PyObject
* obj1
= 0 ;
23814 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
23815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23817 arg2
= (wxDataFormatId
) SWIG_AsInt(obj1
);
23818 if (PyErr_Occurred()) SWIG_fail
;
23820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23821 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormatId
)arg2
);
23823 wxPyEndAllowThreads(__tstate
);
23824 if (PyErr_Occurred()) SWIG_fail
;
23827 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23835 static PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*self
, PyObject
*args
) {
23836 PyObject
*resultobj
;
23837 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23838 wxDataFormat
*arg2
= 0 ;
23840 PyObject
* obj0
= 0 ;
23841 PyObject
* obj1
= 0 ;
23843 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
23844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23846 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
23847 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23849 if (arg2
== NULL
) {
23850 PyErr_SetString(PyExc_TypeError
,"null reference");
23854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23855 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
23857 wxPyEndAllowThreads(__tstate
);
23858 if (PyErr_Occurred()) SWIG_fail
;
23861 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23869 static PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
23874 argc
= PyObject_Length(args
);
23875 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
23876 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23882 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
23892 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
23900 return _wrap_DataFormat___eq____SWIG_1(self
,args
);
23908 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
23916 _v
= SWIG_CheckInt(argv
[1]);
23918 return _wrap_DataFormat___eq____SWIG_0(self
,args
);
23923 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___eq__'");
23928 static PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*self
, PyObject
*args
) {
23929 PyObject
*resultobj
;
23930 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23931 wxDataFormat
*arg2
= 0 ;
23933 PyObject
* obj0
= 0 ;
23934 PyObject
* obj1
= 0 ;
23936 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
23937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23939 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
23940 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23942 if (arg2
== NULL
) {
23943 PyErr_SetString(PyExc_TypeError
,"null reference");
23947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23948 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
23950 wxPyEndAllowThreads(__tstate
);
23951 if (PyErr_Occurred()) SWIG_fail
;
23954 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23962 static PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
23967 argc
= PyObject_Length(args
);
23968 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
23969 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23975 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
23985 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
23993 return _wrap_DataFormat___ne____SWIG_1(self
,args
);
24001 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24009 _v
= SWIG_CheckInt(argv
[1]);
24011 return _wrap_DataFormat___ne____SWIG_0(self
,args
);
24016 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___ne__'");
24021 static PyObject
*_wrap_DataFormat_SetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24022 PyObject
*resultobj
;
24023 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24025 PyObject
* obj0
= 0 ;
24026 PyObject
* obj1
= 0 ;
24027 char *kwnames
[] = {
24028 (char *) "self",(char *) "format", NULL
24031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
24032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24034 arg2
= (wxDataFormatId
) SWIG_AsInt(obj1
);
24035 if (PyErr_Occurred()) SWIG_fail
;
24037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24038 (arg1
)->SetType((wxDataFormatId
)arg2
);
24040 wxPyEndAllowThreads(__tstate
);
24041 if (PyErr_Occurred()) SWIG_fail
;
24043 Py_INCREF(Py_None
); resultobj
= Py_None
;
24050 static PyObject
*_wrap_DataFormat_GetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24051 PyObject
*resultobj
;
24052 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24054 PyObject
* obj0
= 0 ;
24055 char *kwnames
[] = {
24056 (char *) "self", NULL
24059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetType",kwnames
,&obj0
)) goto fail
;
24060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24064 result
= (int)((wxDataFormat
const *)arg1
)->GetType();
24066 wxPyEndAllowThreads(__tstate
);
24067 if (PyErr_Occurred()) SWIG_fail
;
24069 resultobj
= SWIG_FromInt((int)result
);
24076 static PyObject
*_wrap_DataFormat_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24077 PyObject
*resultobj
;
24078 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24080 PyObject
* obj0
= 0 ;
24081 char *kwnames
[] = {
24082 (char *) "self", NULL
24085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetId",kwnames
,&obj0
)) goto fail
;
24086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24090 result
= ((wxDataFormat
const *)arg1
)->GetId();
24092 wxPyEndAllowThreads(__tstate
);
24093 if (PyErr_Occurred()) SWIG_fail
;
24097 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24099 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24108 static PyObject
*_wrap_DataFormat_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24109 PyObject
*resultobj
;
24110 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24111 wxString
*arg2
= 0 ;
24112 bool temp2
= False
;
24113 PyObject
* obj0
= 0 ;
24114 PyObject
* obj1
= 0 ;
24115 char *kwnames
[] = {
24116 (char *) "self",(char *) "format", NULL
24119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
24120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24123 arg2
= wxString_in_helper(obj1
);
24124 if (arg2
== NULL
) SWIG_fail
;
24128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24129 (arg1
)->SetId((wxString
const &)*arg2
);
24131 wxPyEndAllowThreads(__tstate
);
24132 if (PyErr_Occurred()) SWIG_fail
;
24134 Py_INCREF(Py_None
); resultobj
= Py_None
;
24149 static PyObject
* DataFormat_swigregister(PyObject
*self
, PyObject
*args
) {
24151 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24152 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat
, obj
);
24154 return Py_BuildValue((char *)"");
24156 static int _wrap_FormatInvalid_set(PyObject
*_val
) {
24157 PyErr_SetString(PyExc_TypeError
,"Variable FormatInvalid is read-only.");
24162 static PyObject
*_wrap_FormatInvalid_get() {
24165 pyobj
= SWIG_NewPointerObj((void *)(&wxFormatInvalid
), SWIGTYPE_p_wxDataFormat
, 0);
24170 static PyObject
*_wrap_delete_DataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24171 PyObject
*resultobj
;
24172 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24173 PyObject
* obj0
= 0 ;
24174 char *kwnames
[] = {
24175 (char *) "self", NULL
24178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataObject",kwnames
,&obj0
)) goto fail
;
24179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24185 wxPyEndAllowThreads(__tstate
);
24186 if (PyErr_Occurred()) SWIG_fail
;
24188 Py_INCREF(Py_None
); resultobj
= Py_None
;
24195 static PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24196 PyObject
*resultobj
;
24197 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24198 int arg2
= (int) wxDataObject::Get
;
24199 SwigValueWrapper
< wxDataFormat
> result
;
24200 PyObject
* obj0
= 0 ;
24201 PyObject
* obj1
= 0 ;
24202 char *kwnames
[] = {
24203 (char *) "self",(char *) "dir", NULL
24206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
24207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24210 arg2
= (wxDataObject::Direction
) SWIG_AsInt(obj1
);
24211 if (PyErr_Occurred()) SWIG_fail
;
24214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24215 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat((wxDataObject::Direction
)arg2
);
24217 wxPyEndAllowThreads(__tstate
);
24218 if (PyErr_Occurred()) SWIG_fail
;
24221 wxDataFormat
* resultptr
;
24222 resultptr
= new wxDataFormat((wxDataFormat
&) result
);
24223 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDataFormat
, 1);
24231 static PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24232 PyObject
*resultobj
;
24233 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24234 int arg2
= (int) wxDataObject::Get
;
24236 PyObject
* obj0
= 0 ;
24237 PyObject
* obj1
= 0 ;
24238 char *kwnames
[] = {
24239 (char *) "self",(char *) "dir", NULL
24242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) goto fail
;
24243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24246 arg2
= (wxDataObject::Direction
) SWIG_AsInt(obj1
);
24247 if (PyErr_Occurred()) SWIG_fail
;
24250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24251 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount((wxDataObject::Direction
)arg2
);
24253 wxPyEndAllowThreads(__tstate
);
24254 if (PyErr_Occurred()) SWIG_fail
;
24256 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24263 static PyObject
*_wrap_DataObject_IsSupported(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24264 PyObject
*resultobj
;
24265 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24266 wxDataFormat
*arg2
= 0 ;
24267 int arg3
= (int) wxDataObject::Get
;
24269 PyObject
* obj0
= 0 ;
24270 PyObject
* obj1
= 0 ;
24271 PyObject
* obj2
= 0 ;
24272 char *kwnames
[] = {
24273 (char *) "self",(char *) "format",(char *) "dir", NULL
24276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24279 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24280 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24282 if (arg2
== NULL
) {
24283 PyErr_SetString(PyExc_TypeError
,"null reference");
24287 arg3
= (wxDataObject::Direction
) SWIG_AsInt(obj2
);
24288 if (PyErr_Occurred()) SWIG_fail
;
24291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24292 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,(wxDataObject::Direction
)arg3
);
24294 wxPyEndAllowThreads(__tstate
);
24295 if (PyErr_Occurred()) SWIG_fail
;
24298 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24306 static PyObject
*_wrap_DataObject_GetDataSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24307 PyObject
*resultobj
;
24308 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24309 wxDataFormat
*arg2
= 0 ;
24311 PyObject
* obj0
= 0 ;
24312 PyObject
* obj1
= 0 ;
24313 char *kwnames
[] = {
24314 (char *) "self",(char *) "format", NULL
24317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) goto fail
;
24318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24320 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24321 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24323 if (arg2
== NULL
) {
24324 PyErr_SetString(PyExc_TypeError
,"null reference");
24328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24329 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
24331 wxPyEndAllowThreads(__tstate
);
24332 if (PyErr_Occurred()) SWIG_fail
;
24334 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24341 static PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24342 PyObject
*resultobj
;
24343 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24344 wxDataFormat
*arg2
= (wxDataFormat
*) 0 ;
24345 int arg3
= (int) wxDataObject::Get
;
24346 PyObject
* obj0
= 0 ;
24347 PyObject
* obj1
= 0 ;
24348 PyObject
* obj2
= 0 ;
24349 char *kwnames
[] = {
24350 (char *) "self",(char *) "formats",(char *) "dir", NULL
24353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24356 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24359 arg3
= (wxDataObject::Direction
) SWIG_AsInt(obj2
);
24360 if (PyErr_Occurred()) SWIG_fail
;
24363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24364 ((wxDataObject
const *)arg1
)->GetAllFormats(arg2
,(wxDataObject::Direction
)arg3
);
24366 wxPyEndAllowThreads(__tstate
);
24367 if (PyErr_Occurred()) SWIG_fail
;
24369 Py_INCREF(Py_None
); resultobj
= Py_None
;
24376 static PyObject
*_wrap_DataObject_GetDataHere(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24377 PyObject
*resultobj
;
24378 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24379 wxDataFormat
*arg2
= 0 ;
24380 void *arg3
= (void *) 0 ;
24382 PyObject
* obj0
= 0 ;
24383 PyObject
* obj1
= 0 ;
24384 PyObject
* obj2
= 0 ;
24385 char *kwnames
[] = {
24386 (char *) "self",(char *) "format",(char *) "buf", NULL
24389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24392 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24393 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24395 if (arg2
== NULL
) {
24396 PyErr_SetString(PyExc_TypeError
,"null reference");
24399 if ((SWIG_ConvertPtr(obj2
,&arg3
,0,SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24402 result
= (bool)((wxDataObject
const *)arg1
)->GetDataHere((wxDataFormat
const &)*arg2
,arg3
);
24404 wxPyEndAllowThreads(__tstate
);
24405 if (PyErr_Occurred()) SWIG_fail
;
24408 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24416 static PyObject
*_wrap_DataObject_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24417 PyObject
*resultobj
;
24418 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24419 wxDataFormat
*arg2
= 0 ;
24421 void *arg4
= (void *) 0 ;
24423 PyObject
* obj0
= 0 ;
24424 PyObject
* obj1
= 0 ;
24425 PyObject
* obj2
= 0 ;
24426 PyObject
* obj3
= 0 ;
24427 char *kwnames
[] = {
24428 (char *) "self",(char *) "format",(char *) "len",(char *) "buf", NULL
24431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24434 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24435 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24437 if (arg2
== NULL
) {
24438 PyErr_SetString(PyExc_TypeError
,"null reference");
24441 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
24442 if (PyErr_Occurred()) SWIG_fail
;
24443 if ((SWIG_ConvertPtr(obj3
,&arg4
,0,SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24446 result
= (bool)(arg1
)->SetData((wxDataFormat
const &)*arg2
,arg3
,(void const *)arg4
);
24448 wxPyEndAllowThreads(__tstate
);
24449 if (PyErr_Occurred()) SWIG_fail
;
24452 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24460 static PyObject
* DataObject_swigregister(PyObject
*self
, PyObject
*args
) {
24462 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24463 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject
, obj
);
24465 return Py_BuildValue((char *)"");
24467 static PyObject
*_wrap_new_DataObjectSimple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24468 PyObject
*resultobj
;
24469 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
24470 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
24471 wxDataObjectSimple
*result
;
24472 PyObject
* obj0
= 0 ;
24473 char *kwnames
[] = {
24474 (char *) "format", NULL
24477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) goto fail
;
24479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24480 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24482 if (arg1
== NULL
) {
24483 PyErr_SetString(PyExc_TypeError
,"null reference");
24488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24489 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
24491 wxPyEndAllowThreads(__tstate
);
24492 if (PyErr_Occurred()) SWIG_fail
;
24494 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectSimple
, 1);
24501 static PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24502 PyObject
*resultobj
;
24503 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24504 wxDataFormat
*result
;
24505 PyObject
* obj0
= 0 ;
24506 char *kwnames
[] = {
24507 (char *) "self", NULL
24510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetFormat",kwnames
,&obj0
)) goto fail
;
24511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24516 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
24517 result
= (wxDataFormat
*) &_result_ref
;
24520 wxPyEndAllowThreads(__tstate
);
24521 if (PyErr_Occurred()) SWIG_fail
;
24523 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 0);
24530 static PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24531 PyObject
*resultobj
;
24532 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24533 wxDataFormat
*arg2
= 0 ;
24534 PyObject
* obj0
= 0 ;
24535 PyObject
* obj1
= 0 ;
24536 char *kwnames
[] = {
24537 (char *) "self",(char *) "format", NULL
24540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
24541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24543 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24544 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24546 if (arg2
== NULL
) {
24547 PyErr_SetString(PyExc_TypeError
,"null reference");
24551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24552 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
24554 wxPyEndAllowThreads(__tstate
);
24555 if (PyErr_Occurred()) SWIG_fail
;
24557 Py_INCREF(Py_None
); resultobj
= Py_None
;
24564 static PyObject
* DataObjectSimple_swigregister(PyObject
*self
, PyObject
*args
) {
24566 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24567 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple
, obj
);
24569 return Py_BuildValue((char *)"");
24571 static PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24572 PyObject
*resultobj
;
24573 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
24574 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
24575 wxPyDataObjectSimple
*result
;
24576 PyObject
* obj0
= 0 ;
24577 char *kwnames
[] = {
24578 (char *) "format", NULL
24581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) goto fail
;
24583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24584 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24586 if (arg1
== NULL
) {
24587 PyErr_SetString(PyExc_TypeError
,"null reference");
24592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24593 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
24595 wxPyEndAllowThreads(__tstate
);
24596 if (PyErr_Occurred()) SWIG_fail
;
24598 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDataObjectSimple
, 1);
24605 static PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24606 PyObject
*resultobj
;
24607 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
24608 PyObject
*arg2
= (PyObject
*) 0 ;
24609 PyObject
*arg3
= (PyObject
*) 0 ;
24610 PyObject
* obj0
= 0 ;
24611 PyObject
* obj1
= 0 ;
24612 PyObject
* obj2
= 0 ;
24613 char *kwnames
[] = {
24614 (char *) "self",(char *) "self",(char *) "_class", NULL
24617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDataObjectSimple
,
24619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24624 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24626 wxPyEndAllowThreads(__tstate
);
24627 if (PyErr_Occurred()) SWIG_fail
;
24629 Py_INCREF(Py_None
); resultobj
= Py_None
;
24636 static PyObject
* PyDataObjectSimple_swigregister(PyObject
*self
, PyObject
*args
) {
24638 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24639 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple
, obj
);
24641 return Py_BuildValue((char *)"");
24643 static PyObject
*_wrap_new_DataObjectComposite(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24644 PyObject
*resultobj
;
24645 wxDataObjectComposite
*result
;
24646 char *kwnames
[] = {
24650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DataObjectComposite",kwnames
)) goto fail
;
24652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24653 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
24655 wxPyEndAllowThreads(__tstate
);
24656 if (PyErr_Occurred()) SWIG_fail
;
24658 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectComposite
, 1);
24665 static PyObject
*_wrap_DataObjectComposite_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24666 PyObject
*resultobj
;
24667 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
24668 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
24669 int arg3
= (int) False
;
24670 PyObject
* obj0
= 0 ;
24671 PyObject
* obj1
= 0 ;
24672 PyObject
* obj2
= 0 ;
24673 char *kwnames
[] = {
24674 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
24677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectComposite
,
24679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24680 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObjectSimple
,
24681 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24683 arg3
= (int) SWIG_AsInt(obj2
);
24684 if (PyErr_Occurred()) SWIG_fail
;
24687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24688 (arg1
)->Add(arg2
,arg3
);
24690 wxPyEndAllowThreads(__tstate
);
24691 if (PyErr_Occurred()) SWIG_fail
;
24693 Py_INCREF(Py_None
); resultobj
= Py_None
;
24700 static PyObject
* DataObjectComposite_swigregister(PyObject
*self
, PyObject
*args
) {
24702 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24703 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite
, obj
);
24705 return Py_BuildValue((char *)"");
24707 static PyObject
*_wrap_new_TextDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24708 PyObject
*resultobj
;
24709 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24710 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24711 wxTextDataObject
*result
;
24712 bool temp1
= False
;
24713 PyObject
* obj0
= 0 ;
24714 char *kwnames
[] = {
24715 (char *) "text", NULL
24718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) goto fail
;
24721 arg1
= wxString_in_helper(obj0
);
24722 if (arg1
== NULL
) SWIG_fail
;
24727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24728 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
24730 wxPyEndAllowThreads(__tstate
);
24731 if (PyErr_Occurred()) SWIG_fail
;
24733 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextDataObject
, 1);
24748 static PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24749 PyObject
*resultobj
;
24750 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
24752 PyObject
* obj0
= 0 ;
24753 char *kwnames
[] = {
24754 (char *) "self", NULL
24757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetTextLength",kwnames
,&obj0
)) goto fail
;
24758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
24759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24762 result
= (size_t)(arg1
)->GetTextLength();
24764 wxPyEndAllowThreads(__tstate
);
24765 if (PyErr_Occurred()) SWIG_fail
;
24767 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24774 static PyObject
*_wrap_TextDataObject_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24775 PyObject
*resultobj
;
24776 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
24778 PyObject
* obj0
= 0 ;
24779 char *kwnames
[] = {
24780 (char *) "self", NULL
24783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetText",kwnames
,&obj0
)) goto fail
;
24784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
24785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24788 result
= (arg1
)->GetText();
24790 wxPyEndAllowThreads(__tstate
);
24791 if (PyErr_Occurred()) SWIG_fail
;
24795 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24797 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24806 static PyObject
*_wrap_TextDataObject_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24807 PyObject
*resultobj
;
24808 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
24809 wxString
*arg2
= 0 ;
24810 bool temp2
= False
;
24811 PyObject
* obj0
= 0 ;
24812 PyObject
* obj1
= 0 ;
24813 char *kwnames
[] = {
24814 (char *) "self",(char *) "text", NULL
24817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
24818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
24819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24821 arg2
= wxString_in_helper(obj1
);
24822 if (arg2
== NULL
) SWIG_fail
;
24826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24827 (arg1
)->SetText((wxString
const &)*arg2
);
24829 wxPyEndAllowThreads(__tstate
);
24830 if (PyErr_Occurred()) SWIG_fail
;
24832 Py_INCREF(Py_None
); resultobj
= Py_None
;
24847 static PyObject
* TextDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
24849 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24850 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject
, obj
);
24852 return Py_BuildValue((char *)"");
24854 static PyObject
*_wrap_new_PyTextDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24855 PyObject
*resultobj
;
24856 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24857 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24858 wxPyTextDataObject
*result
;
24859 bool temp1
= False
;
24860 PyObject
* obj0
= 0 ;
24861 char *kwnames
[] = {
24862 (char *) "text", NULL
24865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) goto fail
;
24868 arg1
= wxString_in_helper(obj0
);
24869 if (arg1
== NULL
) SWIG_fail
;
24874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24875 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
24877 wxPyEndAllowThreads(__tstate
);
24878 if (PyErr_Occurred()) SWIG_fail
;
24880 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDataObject
, 1);
24895 static PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24896 PyObject
*resultobj
;
24897 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
24898 PyObject
*arg2
= (PyObject
*) 0 ;
24899 PyObject
*arg3
= (PyObject
*) 0 ;
24900 PyObject
* obj0
= 0 ;
24901 PyObject
* obj1
= 0 ;
24902 PyObject
* obj2
= 0 ;
24903 char *kwnames
[] = {
24904 (char *) "self",(char *) "self",(char *) "_class", NULL
24907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDataObject
,
24909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24914 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24916 wxPyEndAllowThreads(__tstate
);
24917 if (PyErr_Occurred()) SWIG_fail
;
24919 Py_INCREF(Py_None
); resultobj
= Py_None
;
24926 static PyObject
* PyTextDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
24928 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24929 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject
, obj
);
24931 return Py_BuildValue((char *)"");
24933 static PyObject
*_wrap_new_BitmapDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24934 PyObject
*resultobj
;
24935 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
24936 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
24937 wxBitmapDataObject
*result
;
24938 PyObject
* obj0
= 0 ;
24939 char *kwnames
[] = {
24940 (char *) "bitmap", NULL
24943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) goto fail
;
24945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
24946 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24948 if (arg1
== NULL
) {
24949 PyErr_SetString(PyExc_TypeError
,"null reference");
24954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24955 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
24957 wxPyEndAllowThreads(__tstate
);
24958 if (PyErr_Occurred()) SWIG_fail
;
24960 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapDataObject
, 1);
24967 static PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24968 PyObject
*resultobj
;
24969 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
24971 PyObject
* obj0
= 0 ;
24972 char *kwnames
[] = {
24973 (char *) "self", NULL
24976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapDataObject_GetBitmap",kwnames
,&obj0
)) goto fail
;
24977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapDataObject
,
24978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24981 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
24983 wxPyEndAllowThreads(__tstate
);
24984 if (PyErr_Occurred()) SWIG_fail
;
24987 wxBitmap
* resultptr
;
24988 resultptr
= new wxBitmap((wxBitmap
&) result
);
24989 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
24997 static PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24998 PyObject
*resultobj
;
24999 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
25000 wxBitmap
*arg2
= 0 ;
25001 PyObject
* obj0
= 0 ;
25002 PyObject
* obj1
= 0 ;
25003 char *kwnames
[] = {
25004 (char *) "self",(char *) "bitmap", NULL
25007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
25008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapDataObject
,
25009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25010 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
25011 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25013 if (arg2
== NULL
) {
25014 PyErr_SetString(PyExc_TypeError
,"null reference");
25018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25019 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
25021 wxPyEndAllowThreads(__tstate
);
25022 if (PyErr_Occurred()) SWIG_fail
;
25024 Py_INCREF(Py_None
); resultobj
= Py_None
;
25031 static PyObject
* BitmapDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25033 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25034 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject
, obj
);
25036 return Py_BuildValue((char *)"");
25038 static PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25039 PyObject
*resultobj
;
25040 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
25041 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
25042 wxPyBitmapDataObject
*result
;
25043 PyObject
* obj0
= 0 ;
25044 char *kwnames
[] = {
25045 (char *) "bitmap", NULL
25048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) goto fail
;
25050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
25051 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25053 if (arg1
== NULL
) {
25054 PyErr_SetString(PyExc_TypeError
,"null reference");
25059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25060 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
25062 wxPyEndAllowThreads(__tstate
);
25063 if (PyErr_Occurred()) SWIG_fail
;
25065 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyBitmapDataObject
, 1);
25072 static PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25073 PyObject
*resultobj
;
25074 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
25075 PyObject
*arg2
= (PyObject
*) 0 ;
25076 PyObject
*arg3
= (PyObject
*) 0 ;
25077 PyObject
* obj0
= 0 ;
25078 PyObject
* obj1
= 0 ;
25079 PyObject
* obj2
= 0 ;
25080 char *kwnames
[] = {
25081 (char *) "self",(char *) "self",(char *) "_class", NULL
25084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapDataObject
,
25086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25091 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25093 wxPyEndAllowThreads(__tstate
);
25094 if (PyErr_Occurred()) SWIG_fail
;
25096 Py_INCREF(Py_None
); resultobj
= Py_None
;
25103 static PyObject
* PyBitmapDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25105 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25106 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject
, obj
);
25108 return Py_BuildValue((char *)"");
25110 static PyObject
*_wrap_new_FileDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25111 PyObject
*resultobj
;
25112 wxFileDataObject
*result
;
25113 char *kwnames
[] = {
25117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDataObject",kwnames
)) goto fail
;
25119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25120 result
= (wxFileDataObject
*)new wxFileDataObject();
25122 wxPyEndAllowThreads(__tstate
);
25123 if (PyErr_Occurred()) SWIG_fail
;
25125 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDataObject
, 1);
25132 static PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25133 PyObject
*resultobj
;
25134 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
25135 wxArrayString
*result
;
25136 PyObject
* obj0
= 0 ;
25137 char *kwnames
[] = {
25138 (char *) "self", NULL
25141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDataObject_GetFilenames",kwnames
,&obj0
)) goto fail
;
25142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDataObject
,
25143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25147 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
25148 result
= (wxArrayString
*) &_result_ref
;
25151 wxPyEndAllowThreads(__tstate
);
25152 if (PyErr_Occurred()) SWIG_fail
;
25155 resultobj
= wxArrayString2PyList_helper(*result
);
25163 static PyObject
*_wrap_FileDataObject_AddFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25164 PyObject
*resultobj
;
25165 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
25166 wxString
*arg2
= 0 ;
25167 bool temp2
= False
;
25168 PyObject
* obj0
= 0 ;
25169 PyObject
* obj1
= 0 ;
25170 char *kwnames
[] = {
25171 (char *) "self",(char *) "filename", NULL
25174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDataObject_AddFile",kwnames
,&obj0
,&obj1
)) goto fail
;
25175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDataObject
,
25176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25178 arg2
= wxString_in_helper(obj1
);
25179 if (arg2
== NULL
) SWIG_fail
;
25183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25184 (arg1
)->AddFile((wxString
const &)*arg2
);
25186 wxPyEndAllowThreads(__tstate
);
25187 if (PyErr_Occurred()) SWIG_fail
;
25189 Py_INCREF(Py_None
); resultobj
= Py_None
;
25204 static PyObject
* FileDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25206 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25207 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject
, obj
);
25209 return Py_BuildValue((char *)"");
25211 static PyObject
*_wrap_new_CustomDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25212 PyObject
*resultobj
;
25213 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
25214 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
25215 wxCustomDataObject
*result
;
25216 PyObject
* obj0
= 0 ;
25217 char *kwnames
[] = {
25218 (char *) "format", NULL
25221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CustomDataObject",kwnames
,&obj0
)) goto fail
;
25223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
25224 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25226 if (arg1
== NULL
) {
25227 PyErr_SetString(PyExc_TypeError
,"null reference");
25232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25233 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
25235 wxPyEndAllowThreads(__tstate
);
25236 if (PyErr_Occurred()) SWIG_fail
;
25238 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
25245 static PyObject
*_wrap_CustomDataObject_TakeData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25246 PyObject
*resultobj
;
25247 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25248 PyObject
*arg2
= (PyObject
*) 0 ;
25249 PyObject
* obj0
= 0 ;
25250 PyObject
* obj1
= 0 ;
25251 char *kwnames
[] = {
25252 (char *) "self",(char *) "data", NULL
25255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_TakeData",kwnames
,&obj0
,&obj1
)) goto fail
;
25256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25261 wxCustomDataObject_TakeData(arg1
,arg2
);
25263 wxPyEndAllowThreads(__tstate
);
25264 if (PyErr_Occurred()) SWIG_fail
;
25266 Py_INCREF(Py_None
); resultobj
= Py_None
;
25273 static PyObject
*_wrap_CustomDataObject_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25274 PyObject
*resultobj
;
25275 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25276 PyObject
*arg2
= (PyObject
*) 0 ;
25278 PyObject
* obj0
= 0 ;
25279 PyObject
* obj1
= 0 ;
25280 char *kwnames
[] = {
25281 (char *) "self",(char *) "data", NULL
25284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
25285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25290 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
25292 wxPyEndAllowThreads(__tstate
);
25293 if (PyErr_Occurred()) SWIG_fail
;
25296 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25304 static PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25305 PyObject
*resultobj
;
25306 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25308 PyObject
* obj0
= 0 ;
25309 char *kwnames
[] = {
25310 (char *) "self", NULL
25313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetSize",kwnames
,&obj0
)) goto fail
;
25314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25318 result
= (size_t)(arg1
)->GetSize();
25320 wxPyEndAllowThreads(__tstate
);
25321 if (PyErr_Occurred()) SWIG_fail
;
25323 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
25330 static PyObject
*_wrap_CustomDataObject_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25331 PyObject
*resultobj
;
25332 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25334 PyObject
* obj0
= 0 ;
25335 char *kwnames
[] = {
25336 (char *) "self", NULL
25339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetData",kwnames
,&obj0
)) goto fail
;
25340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25344 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
25346 wxPyEndAllowThreads(__tstate
);
25347 if (PyErr_Occurred()) SWIG_fail
;
25349 resultobj
= result
;
25356 static PyObject
* CustomDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25358 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25359 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject
, obj
);
25361 return Py_BuildValue((char *)"");
25363 static PyObject
*_wrap_new_URLDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25364 PyObject
*resultobj
;
25365 wxURLDataObject
*result
;
25366 char *kwnames
[] = {
25370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_URLDataObject",kwnames
)) goto fail
;
25372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25373 result
= (wxURLDataObject
*)new wxURLDataObject();
25375 wxPyEndAllowThreads(__tstate
);
25376 if (PyErr_Occurred()) SWIG_fail
;
25378 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxURLDataObject
, 1);
25385 static PyObject
*_wrap_URLDataObject_GetURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25386 PyObject
*resultobj
;
25387 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
25389 PyObject
* obj0
= 0 ;
25390 char *kwnames
[] = {
25391 (char *) "self", NULL
25394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:URLDataObject_GetURL",kwnames
,&obj0
)) goto fail
;
25395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxURLDataObject
,
25396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25399 result
= (arg1
)->GetURL();
25401 wxPyEndAllowThreads(__tstate
);
25402 if (PyErr_Occurred()) SWIG_fail
;
25406 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25408 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25417 static PyObject
*_wrap_URLDataObject_SetURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25418 PyObject
*resultobj
;
25419 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
25420 wxString
*arg2
= 0 ;
25421 bool temp2
= False
;
25422 PyObject
* obj0
= 0 ;
25423 PyObject
* obj1
= 0 ;
25424 char *kwnames
[] = {
25425 (char *) "self",(char *) "url", NULL
25428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) goto fail
;
25429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxURLDataObject
,
25430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25432 arg2
= wxString_in_helper(obj1
);
25433 if (arg2
== NULL
) SWIG_fail
;
25437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25438 (arg1
)->SetURL((wxString
const &)*arg2
);
25440 wxPyEndAllowThreads(__tstate
);
25441 if (PyErr_Occurred()) SWIG_fail
;
25443 Py_INCREF(Py_None
); resultobj
= Py_None
;
25458 static PyObject
* URLDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25460 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25461 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject
, obj
);
25463 return Py_BuildValue((char *)"");
25465 static PyObject
*_wrap_new_MetafileDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25466 PyObject
*resultobj
;
25467 wxMetafileDataObject
*result
;
25468 char *kwnames
[] = {
25472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MetafileDataObject",kwnames
)) goto fail
;
25474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25475 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
25477 wxPyEndAllowThreads(__tstate
);
25478 if (PyErr_Occurred()) SWIG_fail
;
25480 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetafileDataObject
, 1);
25487 static PyObject
*_wrap_MetafileDataObject_SetMetafile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25488 PyObject
*resultobj
;
25489 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
25490 wxMetafile
*arg2
= 0 ;
25491 PyObject
* obj0
= 0 ;
25492 PyObject
* obj1
= 0 ;
25493 char *kwnames
[] = {
25494 (char *) "self",(char *) "metafile", NULL
25497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MetafileDataObject_SetMetafile",kwnames
,&obj0
,&obj1
)) goto fail
;
25498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetafileDataObject
,
25499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25500 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMetafile
,
25501 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25503 if (arg2
== NULL
) {
25504 PyErr_SetString(PyExc_TypeError
,"null reference");
25508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25509 (arg1
)->SetMetafile((wxMetafile
const &)*arg2
);
25511 wxPyEndAllowThreads(__tstate
);
25512 if (PyErr_Occurred()) SWIG_fail
;
25514 Py_INCREF(Py_None
); resultobj
= Py_None
;
25521 static PyObject
*_wrap_MetafileDataObject_GetMetafile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25522 PyObject
*resultobj
;
25523 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
25525 PyObject
* obj0
= 0 ;
25526 char *kwnames
[] = {
25527 (char *) "self", NULL
25530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetafileDataObject_GetMetafile",kwnames
,&obj0
)) goto fail
;
25531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetafileDataObject
,
25532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25535 result
= ((wxMetafileDataObject
const *)arg1
)->GetMetafile();
25537 wxPyEndAllowThreads(__tstate
);
25538 if (PyErr_Occurred()) SWIG_fail
;
25541 wxMetafile
* resultptr
;
25542 resultptr
= new wxMetafile((wxMetafile
&) result
);
25543 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxMetafile
, 1);
25551 static PyObject
* MetafileDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25553 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25554 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject
, obj
);
25556 return Py_BuildValue((char *)"");
25558 static PyObject
*_wrap_IsDragResultOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25559 PyObject
*resultobj
;
25562 PyObject
* obj0
= 0 ;
25563 char *kwnames
[] = {
25564 (char *) "res", NULL
25567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) goto fail
;
25568 arg1
= (wxDragResult
) SWIG_AsInt(obj0
);
25569 if (PyErr_Occurred()) SWIG_fail
;
25571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25572 result
= (bool)wxIsDragResultOk((wxDragResult
)arg1
);
25574 wxPyEndAllowThreads(__tstate
);
25575 if (PyErr_Occurred()) SWIG_fail
;
25578 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25586 static PyObject
*_wrap_new_DropSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25587 PyObject
*resultobj
;
25588 wxWindow
*arg1
= (wxWindow
*) 0 ;
25589 wxCursor
const &arg2_defvalue
= wxNullCursor
;
25590 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
25591 wxCursor
const &arg3_defvalue
= wxNullCursor
;
25592 wxCursor
*arg3
= (wxCursor
*) &arg3_defvalue
;
25593 wxCursor
const &arg4_defvalue
= wxNullCursor
;
25594 wxCursor
*arg4
= (wxCursor
*) &arg4_defvalue
;
25595 wxPyDropSource
*result
;
25596 PyObject
* obj0
= 0 ;
25597 PyObject
* obj1
= 0 ;
25598 PyObject
* obj2
= 0 ;
25599 PyObject
* obj3
= 0 ;
25600 char *kwnames
[] = {
25601 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
25604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25608 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
25609 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25611 if (arg2
== NULL
) {
25612 PyErr_SetString(PyExc_TypeError
,"null reference");
25617 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxCursor
,
25618 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25620 if (arg3
== NULL
) {
25621 PyErr_SetString(PyExc_TypeError
,"null reference");
25626 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxCursor
,
25627 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25629 if (arg4
== NULL
) {
25630 PyErr_SetString(PyExc_TypeError
,"null reference");
25635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25636 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxCursor
const &)*arg2
,(wxCursor
const &)*arg3
,(wxCursor
const &)*arg4
);
25638 wxPyEndAllowThreads(__tstate
);
25639 if (PyErr_Occurred()) SWIG_fail
;
25641 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropSource
, 1);
25648 static PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25649 PyObject
*resultobj
;
25650 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25651 PyObject
*arg2
= (PyObject
*) 0 ;
25652 PyObject
*arg3
= (PyObject
*) 0 ;
25654 PyObject
* obj0
= 0 ;
25655 PyObject
* obj1
= 0 ;
25656 PyObject
* obj2
= 0 ;
25657 PyObject
* obj3
= 0 ;
25658 char *kwnames
[] = {
25659 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
25662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25667 arg4
= (int) SWIG_AsInt(obj3
);
25668 if (PyErr_Occurred()) SWIG_fail
;
25670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25671 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
25673 wxPyEndAllowThreads(__tstate
);
25674 if (PyErr_Occurred()) SWIG_fail
;
25676 Py_INCREF(Py_None
); resultobj
= Py_None
;
25683 static PyObject
*_wrap_delete_DropSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25684 PyObject
*resultobj
;
25685 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25686 PyObject
* obj0
= 0 ;
25687 char *kwnames
[] = {
25688 (char *) "self", NULL
25691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropSource",kwnames
,&obj0
)) goto fail
;
25692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25698 wxPyEndAllowThreads(__tstate
);
25699 if (PyErr_Occurred()) SWIG_fail
;
25701 Py_INCREF(Py_None
); resultobj
= Py_None
;
25708 static PyObject
*_wrap_DropSource_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25709 PyObject
*resultobj
;
25710 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25711 wxDataObject
*arg2
= 0 ;
25712 PyObject
* obj0
= 0 ;
25713 PyObject
* obj1
= 0 ;
25714 char *kwnames
[] = {
25715 (char *) "self",(char *) "data", NULL
25718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
25719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25721 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
25722 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25724 if (arg2
== NULL
) {
25725 PyErr_SetString(PyExc_TypeError
,"null reference");
25729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25730 (arg1
)->SetData(*arg2
);
25732 wxPyEndAllowThreads(__tstate
);
25733 if (PyErr_Occurred()) SWIG_fail
;
25735 Py_INCREF(Py_None
); resultobj
= Py_None
;
25742 static PyObject
*_wrap_DropSource_GetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25743 PyObject
*resultobj
;
25744 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25745 wxDataObject
*result
;
25746 PyObject
* obj0
= 0 ;
25747 char *kwnames
[] = {
25748 (char *) "self", NULL
25751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropSource_GetDataObject",kwnames
,&obj0
)) goto fail
;
25752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25756 result
= (wxDataObject
*)(arg1
)->GetDataObject();
25758 wxPyEndAllowThreads(__tstate
);
25759 if (PyErr_Occurred()) SWIG_fail
;
25761 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
25768 static PyObject
*_wrap_DropSource_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25769 PyObject
*resultobj
;
25770 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25772 wxCursor
*arg3
= 0 ;
25773 PyObject
* obj0
= 0 ;
25774 PyObject
* obj1
= 0 ;
25775 PyObject
* obj2
= 0 ;
25776 char *kwnames
[] = {
25777 (char *) "self",(char *) "res",(char *) "cursor", NULL
25780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25783 arg2
= (wxDragResult
) SWIG_AsInt(obj1
);
25784 if (PyErr_Occurred()) SWIG_fail
;
25785 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxCursor
,
25786 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25788 if (arg3
== NULL
) {
25789 PyErr_SetString(PyExc_TypeError
,"null reference");
25793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25794 (arg1
)->SetCursor((wxDragResult
)arg2
,(wxCursor
const &)*arg3
);
25796 wxPyEndAllowThreads(__tstate
);
25797 if (PyErr_Occurred()) SWIG_fail
;
25799 Py_INCREF(Py_None
); resultobj
= Py_None
;
25806 static PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25807 PyObject
*resultobj
;
25808 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25809 int arg2
= (int) wxDrag_CopyOnly
;
25811 PyObject
* obj0
= 0 ;
25812 PyObject
* obj1
= 0 ;
25813 char *kwnames
[] = {
25814 (char *) "self",(char *) "flags", NULL
25817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) goto fail
;
25818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25821 arg2
= (int) SWIG_AsInt(obj1
);
25822 if (PyErr_Occurred()) SWIG_fail
;
25825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25826 result
= (int)(arg1
)->DoDragDrop(arg2
);
25828 wxPyEndAllowThreads(__tstate
);
25829 if (PyErr_Occurred()) SWIG_fail
;
25831 resultobj
= SWIG_FromInt((int)result
);
25838 static PyObject
*_wrap_DropSource_base_GiveFeedback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25839 PyObject
*resultobj
;
25840 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25843 PyObject
* obj0
= 0 ;
25844 PyObject
* obj1
= 0 ;
25845 char *kwnames
[] = {
25846 (char *) "self",(char *) "effect", NULL
25849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_base_GiveFeedback",kwnames
,&obj0
,&obj1
)) goto fail
;
25850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25852 arg2
= (wxDragResult
) SWIG_AsInt(obj1
);
25853 if (PyErr_Occurred()) SWIG_fail
;
25855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25856 result
= (bool)(arg1
)->base_GiveFeedback((wxDragResult
)arg2
);
25858 wxPyEndAllowThreads(__tstate
);
25859 if (PyErr_Occurred()) SWIG_fail
;
25862 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25870 static PyObject
* DropSource_swigregister(PyObject
*self
, PyObject
*args
) {
25872 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25873 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource
, obj
);
25875 return Py_BuildValue((char *)"");
25877 static PyObject
*_wrap_new_DropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25878 PyObject
*resultobj
;
25879 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
25880 wxPyDropTarget
*result
;
25881 PyObject
* obj0
= 0 ;
25882 char *kwnames
[] = {
25883 (char *) "dataObject", NULL
25886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DropTarget",kwnames
,&obj0
)) goto fail
;
25888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
25889 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25893 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
25895 wxPyEndAllowThreads(__tstate
);
25896 if (PyErr_Occurred()) SWIG_fail
;
25898 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 1);
25905 static PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25906 PyObject
*resultobj
;
25907 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25908 PyObject
*arg2
= (PyObject
*) 0 ;
25909 PyObject
*arg3
= (PyObject
*) 0 ;
25910 PyObject
* obj0
= 0 ;
25911 PyObject
* obj1
= 0 ;
25912 PyObject
* obj2
= 0 ;
25913 char *kwnames
[] = {
25914 (char *) "self",(char *) "self",(char *) "_class", NULL
25917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
25919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25924 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25926 wxPyEndAllowThreads(__tstate
);
25927 if (PyErr_Occurred()) SWIG_fail
;
25929 Py_INCREF(Py_None
); resultobj
= Py_None
;
25936 static PyObject
*_wrap_delete_DropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25937 PyObject
*resultobj
;
25938 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25939 PyObject
* obj0
= 0 ;
25940 char *kwnames
[] = {
25941 (char *) "self", NULL
25944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropTarget",kwnames
,&obj0
)) goto fail
;
25945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
25946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25951 wxPyEndAllowThreads(__tstate
);
25952 if (PyErr_Occurred()) SWIG_fail
;
25954 Py_INCREF(Py_None
); resultobj
= Py_None
;
25961 static PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25962 PyObject
*resultobj
;
25963 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25964 wxDataObject
*result
;
25965 PyObject
* obj0
= 0 ;
25966 char *kwnames
[] = {
25967 (char *) "self", NULL
25970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDataObject",kwnames
,&obj0
)) goto fail
;
25971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
25972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25975 result
= (wxDataObject
*)(arg1
)->GetDataObject();
25977 wxPyEndAllowThreads(__tstate
);
25978 if (PyErr_Occurred()) SWIG_fail
;
25980 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
25987 static PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25988 PyObject
*resultobj
;
25989 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25990 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
25991 PyObject
* obj0
= 0 ;
25992 PyObject
* obj1
= 0 ;
25993 char *kwnames
[] = {
25994 (char *) "self",(char *) "dataObject", NULL
25997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) goto fail
;
25998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
25999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26000 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26001 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26004 (arg1
)->SetDataObject(arg2
);
26006 wxPyEndAllowThreads(__tstate
);
26007 if (PyErr_Occurred()) SWIG_fail
;
26009 Py_INCREF(Py_None
); resultobj
= Py_None
;
26016 static PyObject
*_wrap_DropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26017 PyObject
*resultobj
;
26018 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26023 PyObject
* obj0
= 0 ;
26024 PyObject
* obj1
= 0 ;
26025 PyObject
* obj2
= 0 ;
26026 PyObject
* obj3
= 0 ;
26027 char *kwnames
[] = {
26028 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26034 arg2
= (int) SWIG_AsInt(obj1
);
26035 if (PyErr_Occurred()) SWIG_fail
;
26036 arg3
= (int) SWIG_AsInt(obj2
);
26037 if (PyErr_Occurred()) SWIG_fail
;
26038 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26039 if (PyErr_Occurred()) SWIG_fail
;
26041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26042 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26044 wxPyEndAllowThreads(__tstate
);
26045 if (PyErr_Occurred()) SWIG_fail
;
26047 resultobj
= SWIG_FromInt((int)result
);
26054 static PyObject
*_wrap_DropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26055 PyObject
*resultobj
;
26056 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26061 PyObject
* obj0
= 0 ;
26062 PyObject
* obj1
= 0 ;
26063 PyObject
* obj2
= 0 ;
26064 PyObject
* obj3
= 0 ;
26065 char *kwnames
[] = {
26066 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26072 arg2
= (int) SWIG_AsInt(obj1
);
26073 if (PyErr_Occurred()) SWIG_fail
;
26074 arg3
= (int) SWIG_AsInt(obj2
);
26075 if (PyErr_Occurred()) SWIG_fail
;
26076 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26077 if (PyErr_Occurred()) SWIG_fail
;
26079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26080 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26082 wxPyEndAllowThreads(__tstate
);
26083 if (PyErr_Occurred()) SWIG_fail
;
26085 resultobj
= SWIG_FromInt((int)result
);
26092 static PyObject
*_wrap_DropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26093 PyObject
*resultobj
;
26094 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26095 PyObject
* obj0
= 0 ;
26096 char *kwnames
[] = {
26097 (char *) "self", NULL
26100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26105 (arg1
)->base_OnLeave();
26107 wxPyEndAllowThreads(__tstate
);
26108 if (PyErr_Occurred()) SWIG_fail
;
26110 Py_INCREF(Py_None
); resultobj
= Py_None
;
26117 static PyObject
*_wrap_DropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26118 PyObject
*resultobj
;
26119 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26123 PyObject
* obj0
= 0 ;
26124 PyObject
* obj1
= 0 ;
26125 PyObject
* obj2
= 0 ;
26126 char *kwnames
[] = {
26127 (char *) "self",(char *) "x",(char *) "y", NULL
26130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26133 arg2
= (int) SWIG_AsInt(obj1
);
26134 if (PyErr_Occurred()) SWIG_fail
;
26135 arg3
= (int) SWIG_AsInt(obj2
);
26136 if (PyErr_Occurred()) SWIG_fail
;
26138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26139 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26141 wxPyEndAllowThreads(__tstate
);
26142 if (PyErr_Occurred()) SWIG_fail
;
26145 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26153 static PyObject
*_wrap_DropTarget_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26154 PyObject
*resultobj
;
26155 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26157 PyObject
* obj0
= 0 ;
26158 char *kwnames
[] = {
26159 (char *) "self", NULL
26162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetData",kwnames
,&obj0
)) goto fail
;
26163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26167 result
= (bool)(arg1
)->GetData();
26169 wxPyEndAllowThreads(__tstate
);
26170 if (PyErr_Occurred()) SWIG_fail
;
26173 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26181 static PyObject
* DropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
26183 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26184 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget
, obj
);
26186 return Py_BuildValue((char *)"");
26188 static PyObject
*_wrap_new_TextDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26189 PyObject
*resultobj
;
26190 wxPyTextDropTarget
*result
;
26191 char *kwnames
[] = {
26195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TextDropTarget",kwnames
)) goto fail
;
26197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26198 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
26200 wxPyEndAllowThreads(__tstate
);
26201 if (PyErr_Occurred()) SWIG_fail
;
26203 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDropTarget
, 1);
26210 static PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26211 PyObject
*resultobj
;
26212 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26213 PyObject
*arg2
= (PyObject
*) 0 ;
26214 PyObject
*arg3
= (PyObject
*) 0 ;
26215 PyObject
* obj0
= 0 ;
26216 PyObject
* obj1
= 0 ;
26217 PyObject
* obj2
= 0 ;
26218 char *kwnames
[] = {
26219 (char *) "self",(char *) "self",(char *) "_class", NULL
26222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26229 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26231 wxPyEndAllowThreads(__tstate
);
26232 if (PyErr_Occurred()) SWIG_fail
;
26234 Py_INCREF(Py_None
); resultobj
= Py_None
;
26241 static PyObject
*_wrap_TextDropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26242 PyObject
*resultobj
;
26243 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26248 PyObject
* obj0
= 0 ;
26249 PyObject
* obj1
= 0 ;
26250 PyObject
* obj2
= 0 ;
26251 PyObject
* obj3
= 0 ;
26252 char *kwnames
[] = {
26253 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26259 arg2
= (int) SWIG_AsInt(obj1
);
26260 if (PyErr_Occurred()) SWIG_fail
;
26261 arg3
= (int) SWIG_AsInt(obj2
);
26262 if (PyErr_Occurred()) SWIG_fail
;
26263 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26264 if (PyErr_Occurred()) SWIG_fail
;
26266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26267 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26269 wxPyEndAllowThreads(__tstate
);
26270 if (PyErr_Occurred()) SWIG_fail
;
26272 resultobj
= SWIG_FromInt((int)result
);
26279 static PyObject
*_wrap_TextDropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26280 PyObject
*resultobj
;
26281 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26286 PyObject
* obj0
= 0 ;
26287 PyObject
* obj1
= 0 ;
26288 PyObject
* obj2
= 0 ;
26289 PyObject
* obj3
= 0 ;
26290 char *kwnames
[] = {
26291 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26297 arg2
= (int) SWIG_AsInt(obj1
);
26298 if (PyErr_Occurred()) SWIG_fail
;
26299 arg3
= (int) SWIG_AsInt(obj2
);
26300 if (PyErr_Occurred()) SWIG_fail
;
26301 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26302 if (PyErr_Occurred()) SWIG_fail
;
26304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26305 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26307 wxPyEndAllowThreads(__tstate
);
26308 if (PyErr_Occurred()) SWIG_fail
;
26310 resultobj
= SWIG_FromInt((int)result
);
26317 static PyObject
*_wrap_TextDropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26318 PyObject
*resultobj
;
26319 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26320 PyObject
* obj0
= 0 ;
26321 char *kwnames
[] = {
26322 (char *) "self", NULL
26325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26330 (arg1
)->base_OnLeave();
26332 wxPyEndAllowThreads(__tstate
);
26333 if (PyErr_Occurred()) SWIG_fail
;
26335 Py_INCREF(Py_None
); resultobj
= Py_None
;
26342 static PyObject
*_wrap_TextDropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26343 PyObject
*resultobj
;
26344 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26348 PyObject
* obj0
= 0 ;
26349 PyObject
* obj1
= 0 ;
26350 PyObject
* obj2
= 0 ;
26351 char *kwnames
[] = {
26352 (char *) "self",(char *) "x",(char *) "y", NULL
26355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26358 arg2
= (int) SWIG_AsInt(obj1
);
26359 if (PyErr_Occurred()) SWIG_fail
;
26360 arg3
= (int) SWIG_AsInt(obj2
);
26361 if (PyErr_Occurred()) SWIG_fail
;
26363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26364 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26366 wxPyEndAllowThreads(__tstate
);
26367 if (PyErr_Occurred()) SWIG_fail
;
26370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26378 static PyObject
*_wrap_TextDropTarget_base_OnData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26379 PyObject
*resultobj
;
26380 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26385 PyObject
* obj0
= 0 ;
26386 PyObject
* obj1
= 0 ;
26387 PyObject
* obj2
= 0 ;
26388 PyObject
* obj3
= 0 ;
26389 char *kwnames
[] = {
26390 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26396 arg2
= (int) SWIG_AsInt(obj1
);
26397 if (PyErr_Occurred()) SWIG_fail
;
26398 arg3
= (int) SWIG_AsInt(obj2
);
26399 if (PyErr_Occurred()) SWIG_fail
;
26400 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26401 if (PyErr_Occurred()) SWIG_fail
;
26403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26404 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
26406 wxPyEndAllowThreads(__tstate
);
26407 if (PyErr_Occurred()) SWIG_fail
;
26409 resultobj
= SWIG_FromInt((int)result
);
26416 static PyObject
* TextDropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
26418 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26419 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget
, obj
);
26421 return Py_BuildValue((char *)"");
26423 static PyObject
*_wrap_new_FileDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26424 PyObject
*resultobj
;
26425 wxPyFileDropTarget
*result
;
26426 char *kwnames
[] = {
26430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDropTarget",kwnames
)) goto fail
;
26432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26433 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
26435 wxPyEndAllowThreads(__tstate
);
26436 if (PyErr_Occurred()) SWIG_fail
;
26438 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileDropTarget
, 1);
26445 static PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26446 PyObject
*resultobj
;
26447 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26448 PyObject
*arg2
= (PyObject
*) 0 ;
26449 PyObject
*arg3
= (PyObject
*) 0 ;
26450 PyObject
* obj0
= 0 ;
26451 PyObject
* obj1
= 0 ;
26452 PyObject
* obj2
= 0 ;
26453 char *kwnames
[] = {
26454 (char *) "self",(char *) "self",(char *) "_class", NULL
26457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26464 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26466 wxPyEndAllowThreads(__tstate
);
26467 if (PyErr_Occurred()) SWIG_fail
;
26469 Py_INCREF(Py_None
); resultobj
= Py_None
;
26476 static PyObject
*_wrap_FileDropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26477 PyObject
*resultobj
;
26478 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26483 PyObject
* obj0
= 0 ;
26484 PyObject
* obj1
= 0 ;
26485 PyObject
* obj2
= 0 ;
26486 PyObject
* obj3
= 0 ;
26487 char *kwnames
[] = {
26488 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26494 arg2
= (int) SWIG_AsInt(obj1
);
26495 if (PyErr_Occurred()) SWIG_fail
;
26496 arg3
= (int) SWIG_AsInt(obj2
);
26497 if (PyErr_Occurred()) SWIG_fail
;
26498 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26499 if (PyErr_Occurred()) SWIG_fail
;
26501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26502 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26504 wxPyEndAllowThreads(__tstate
);
26505 if (PyErr_Occurred()) SWIG_fail
;
26507 resultobj
= SWIG_FromInt((int)result
);
26514 static PyObject
*_wrap_FileDropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26515 PyObject
*resultobj
;
26516 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26521 PyObject
* obj0
= 0 ;
26522 PyObject
* obj1
= 0 ;
26523 PyObject
* obj2
= 0 ;
26524 PyObject
* obj3
= 0 ;
26525 char *kwnames
[] = {
26526 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26532 arg2
= (int) SWIG_AsInt(obj1
);
26533 if (PyErr_Occurred()) SWIG_fail
;
26534 arg3
= (int) SWIG_AsInt(obj2
);
26535 if (PyErr_Occurred()) SWIG_fail
;
26536 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26537 if (PyErr_Occurred()) SWIG_fail
;
26539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26540 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26542 wxPyEndAllowThreads(__tstate
);
26543 if (PyErr_Occurred()) SWIG_fail
;
26545 resultobj
= SWIG_FromInt((int)result
);
26552 static PyObject
*_wrap_FileDropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26553 PyObject
*resultobj
;
26554 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26555 PyObject
* obj0
= 0 ;
26556 char *kwnames
[] = {
26557 (char *) "self", NULL
26560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26565 (arg1
)->base_OnLeave();
26567 wxPyEndAllowThreads(__tstate
);
26568 if (PyErr_Occurred()) SWIG_fail
;
26570 Py_INCREF(Py_None
); resultobj
= Py_None
;
26577 static PyObject
*_wrap_FileDropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26578 PyObject
*resultobj
;
26579 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26583 PyObject
* obj0
= 0 ;
26584 PyObject
* obj1
= 0 ;
26585 PyObject
* obj2
= 0 ;
26586 char *kwnames
[] = {
26587 (char *) "self",(char *) "x",(char *) "y", NULL
26590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26593 arg2
= (int) SWIG_AsInt(obj1
);
26594 if (PyErr_Occurred()) SWIG_fail
;
26595 arg3
= (int) SWIG_AsInt(obj2
);
26596 if (PyErr_Occurred()) SWIG_fail
;
26598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26599 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26601 wxPyEndAllowThreads(__tstate
);
26602 if (PyErr_Occurred()) SWIG_fail
;
26605 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26613 static PyObject
*_wrap_FileDropTarget_base_OnData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26614 PyObject
*resultobj
;
26615 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26620 PyObject
* obj0
= 0 ;
26621 PyObject
* obj1
= 0 ;
26622 PyObject
* obj2
= 0 ;
26623 PyObject
* obj3
= 0 ;
26624 char *kwnames
[] = {
26625 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26631 arg2
= (int) SWIG_AsInt(obj1
);
26632 if (PyErr_Occurred()) SWIG_fail
;
26633 arg3
= (int) SWIG_AsInt(obj2
);
26634 if (PyErr_Occurred()) SWIG_fail
;
26635 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26636 if (PyErr_Occurred()) SWIG_fail
;
26638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26639 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
26641 wxPyEndAllowThreads(__tstate
);
26642 if (PyErr_Occurred()) SWIG_fail
;
26644 resultobj
= SWIG_FromInt((int)result
);
26651 static PyObject
* FileDropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
26653 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26654 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget
, obj
);
26656 return Py_BuildValue((char *)"");
26658 static PyObject
*_wrap_new_Clipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26659 PyObject
*resultobj
;
26660 wxClipboard
*result
;
26661 char *kwnames
[] = {
26665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Clipboard",kwnames
)) goto fail
;
26667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26668 result
= (wxClipboard
*)new wxClipboard();
26670 wxPyEndAllowThreads(__tstate
);
26671 if (PyErr_Occurred()) SWIG_fail
;
26673 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 1);
26680 static PyObject
*_wrap_delete_Clipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26681 PyObject
*resultobj
;
26682 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26683 PyObject
* obj0
= 0 ;
26684 char *kwnames
[] = {
26685 (char *) "self", NULL
26688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Clipboard",kwnames
,&obj0
)) goto fail
;
26689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26695 wxPyEndAllowThreads(__tstate
);
26696 if (PyErr_Occurred()) SWIG_fail
;
26698 Py_INCREF(Py_None
); resultobj
= Py_None
;
26705 static PyObject
*_wrap_Clipboard_Open(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26706 PyObject
*resultobj
;
26707 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26709 PyObject
* obj0
= 0 ;
26710 char *kwnames
[] = {
26711 (char *) "self", NULL
26714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Open",kwnames
,&obj0
)) goto fail
;
26715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26719 result
= (bool)(arg1
)->Open();
26721 wxPyEndAllowThreads(__tstate
);
26722 if (PyErr_Occurred()) SWIG_fail
;
26725 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26733 static PyObject
*_wrap_Clipboard_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26734 PyObject
*resultobj
;
26735 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26736 PyObject
* obj0
= 0 ;
26737 char *kwnames
[] = {
26738 (char *) "self", NULL
26741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Close",kwnames
,&obj0
)) goto fail
;
26742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26748 wxPyEndAllowThreads(__tstate
);
26749 if (PyErr_Occurred()) SWIG_fail
;
26751 Py_INCREF(Py_None
); resultobj
= Py_None
;
26758 static PyObject
*_wrap_Clipboard_IsOpened(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26759 PyObject
*resultobj
;
26760 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26762 PyObject
* obj0
= 0 ;
26763 char *kwnames
[] = {
26764 (char *) "self", NULL
26767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_IsOpened",kwnames
,&obj0
)) goto fail
;
26768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26772 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
26774 wxPyEndAllowThreads(__tstate
);
26775 if (PyErr_Occurred()) SWIG_fail
;
26778 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26786 static PyObject
*_wrap_Clipboard_AddData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26787 PyObject
*resultobj
;
26788 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26789 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
26791 PyObject
* obj0
= 0 ;
26792 PyObject
* obj1
= 0 ;
26793 char *kwnames
[] = {
26794 (char *) "self",(char *) "data", NULL
26797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) goto fail
;
26798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26800 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26801 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26804 result
= (bool)(arg1
)->AddData(arg2
);
26806 wxPyEndAllowThreads(__tstate
);
26807 if (PyErr_Occurred()) SWIG_fail
;
26810 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26818 static PyObject
*_wrap_Clipboard_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26819 PyObject
*resultobj
;
26820 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26821 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
26823 PyObject
* obj0
= 0 ;
26824 PyObject
* obj1
= 0 ;
26825 char *kwnames
[] = {
26826 (char *) "self",(char *) "data", NULL
26829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
26830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26832 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26833 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26836 result
= (bool)(arg1
)->SetData(arg2
);
26838 wxPyEndAllowThreads(__tstate
);
26839 if (PyErr_Occurred()) SWIG_fail
;
26842 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26850 static PyObject
*_wrap_Clipboard_IsSupported(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26851 PyObject
*resultobj
;
26852 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26853 wxDataFormat
*arg2
= 0 ;
26855 PyObject
* obj0
= 0 ;
26856 PyObject
* obj1
= 0 ;
26857 char *kwnames
[] = {
26858 (char *) "self",(char *) "format", NULL
26861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) goto fail
;
26862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26864 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
26865 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26867 if (arg2
== NULL
) {
26868 PyErr_SetString(PyExc_TypeError
,"null reference");
26872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26873 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
26875 wxPyEndAllowThreads(__tstate
);
26876 if (PyErr_Occurred()) SWIG_fail
;
26879 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26887 static PyObject
*_wrap_Clipboard_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26888 PyObject
*resultobj
;
26889 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26890 wxDataObject
*arg2
= 0 ;
26892 PyObject
* obj0
= 0 ;
26893 PyObject
* obj1
= 0 ;
26894 char *kwnames
[] = {
26895 (char *) "self",(char *) "data", NULL
26898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) goto fail
;
26899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26901 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26902 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26904 if (arg2
== NULL
) {
26905 PyErr_SetString(PyExc_TypeError
,"null reference");
26909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26910 result
= (bool)(arg1
)->GetData(*arg2
);
26912 wxPyEndAllowThreads(__tstate
);
26913 if (PyErr_Occurred()) SWIG_fail
;
26916 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26924 static PyObject
*_wrap_Clipboard_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26925 PyObject
*resultobj
;
26926 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26927 PyObject
* obj0
= 0 ;
26928 char *kwnames
[] = {
26929 (char *) "self", NULL
26932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Clear",kwnames
,&obj0
)) goto fail
;
26933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26939 wxPyEndAllowThreads(__tstate
);
26940 if (PyErr_Occurred()) SWIG_fail
;
26942 Py_INCREF(Py_None
); resultobj
= Py_None
;
26949 static PyObject
*_wrap_Clipboard_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26950 PyObject
*resultobj
;
26951 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26953 PyObject
* obj0
= 0 ;
26954 char *kwnames
[] = {
26955 (char *) "self", NULL
26958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Flush",kwnames
,&obj0
)) goto fail
;
26959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26963 result
= (bool)(arg1
)->Flush();
26965 wxPyEndAllowThreads(__tstate
);
26966 if (PyErr_Occurred()) SWIG_fail
;
26969 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26977 static PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26978 PyObject
*resultobj
;
26979 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26980 bool arg2
= (bool) True
;
26981 PyObject
* obj0
= 0 ;
26982 PyObject
* obj1
= 0 ;
26983 char *kwnames
[] = {
26984 (char *) "self",(char *) "primary", NULL
26987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) goto fail
;
26988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26991 arg2
= (bool) SWIG_AsBool(obj1
);
26992 if (PyErr_Occurred()) SWIG_fail
;
26995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26996 (arg1
)->UsePrimarySelection(arg2
);
26998 wxPyEndAllowThreads(__tstate
);
26999 if (PyErr_Occurred()) SWIG_fail
;
27001 Py_INCREF(Py_None
); resultobj
= Py_None
;
27008 static PyObject
* Clipboard_swigregister(PyObject
*self
, PyObject
*args
) {
27010 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27011 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard
, obj
);
27013 return Py_BuildValue((char *)"");
27015 static int _wrap_TheClipboard_set(PyObject
*_val
) {
27016 PyErr_SetString(PyExc_TypeError
,"Variable TheClipboard is read-only.");
27021 static PyObject
*_wrap_TheClipboard_get() {
27024 pyobj
= SWIG_NewPointerObj((void *)(wxTheClipboard
), SWIGTYPE_p_wxClipboard
, 0);
27029 static PyObject
*_wrap_new_ClipboardLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27030 PyObject
*resultobj
;
27031 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
27032 wxClipboardLocker
*result
;
27033 PyObject
* obj0
= 0 ;
27034 char *kwnames
[] = {
27035 (char *) "clipboard", NULL
27038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
27040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27045 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
27047 wxPyEndAllowThreads(__tstate
);
27048 if (PyErr_Occurred()) SWIG_fail
;
27050 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboardLocker
, 1);
27057 static PyObject
*_wrap_delete_ClipboardLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27058 PyObject
*resultobj
;
27059 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
27060 PyObject
* obj0
= 0 ;
27061 char *kwnames
[] = {
27062 (char *) "self", NULL
27065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
27066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboardLocker
,
27067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27072 wxPyEndAllowThreads(__tstate
);
27073 if (PyErr_Occurred()) SWIG_fail
;
27075 Py_INCREF(Py_None
); resultobj
= Py_None
;
27082 static PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27083 PyObject
*resultobj
;
27084 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
27086 PyObject
* obj0
= 0 ;
27087 char *kwnames
[] = {
27088 (char *) "self", NULL
27091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ClipboardLocker___nonzero__",kwnames
,&obj0
)) goto fail
;
27092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboardLocker
,
27093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27096 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
27098 wxPyEndAllowThreads(__tstate
);
27099 if (PyErr_Occurred()) SWIG_fail
;
27102 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27110 static PyObject
* ClipboardLocker_swigregister(PyObject
*self
, PyObject
*args
) {
27112 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27113 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker
, obj
);
27115 return Py_BuildValue((char *)"");
27117 static PyObject
*_wrap_new_VideoMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27118 PyObject
*resultobj
;
27119 int arg1
= (int) 0 ;
27120 int arg2
= (int) 0 ;
27121 int arg3
= (int) 0 ;
27122 int arg4
= (int) 0 ;
27123 wxVideoMode
*result
;
27124 PyObject
* obj0
= 0 ;
27125 PyObject
* obj1
= 0 ;
27126 PyObject
* obj2
= 0 ;
27127 PyObject
* obj3
= 0 ;
27128 char *kwnames
[] = {
27129 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
27132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_VideoMode",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27134 arg1
= (int) SWIG_AsInt(obj0
);
27135 if (PyErr_Occurred()) SWIG_fail
;
27138 arg2
= (int) SWIG_AsInt(obj1
);
27139 if (PyErr_Occurred()) SWIG_fail
;
27142 arg3
= (int) SWIG_AsInt(obj2
);
27143 if (PyErr_Occurred()) SWIG_fail
;
27146 arg4
= (int) SWIG_AsInt(obj3
);
27147 if (PyErr_Occurred()) SWIG_fail
;
27150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27151 result
= (wxVideoMode
*)new wxVideoMode(arg1
,arg2
,arg3
,arg4
);
27153 wxPyEndAllowThreads(__tstate
);
27154 if (PyErr_Occurred()) SWIG_fail
;
27156 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVideoMode
, 1);
27163 static PyObject
*_wrap_delete_VideoMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27164 PyObject
*resultobj
;
27165 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27166 PyObject
* obj0
= 0 ;
27167 char *kwnames
[] = {
27168 (char *) "self", NULL
27171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VideoMode",kwnames
,&obj0
)) goto fail
;
27172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27178 wxPyEndAllowThreads(__tstate
);
27179 if (PyErr_Occurred()) SWIG_fail
;
27181 Py_INCREF(Py_None
); resultobj
= Py_None
;
27188 static PyObject
*_wrap_VideoMode_Matches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27189 PyObject
*resultobj
;
27190 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27191 wxVideoMode
*arg2
= 0 ;
27193 PyObject
* obj0
= 0 ;
27194 PyObject
* obj1
= 0 ;
27195 char *kwnames
[] = {
27196 (char *) "self",(char *) "other", NULL
27199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_Matches",kwnames
,&obj0
,&obj1
)) goto fail
;
27200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27202 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27203 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27205 if (arg2
== NULL
) {
27206 PyErr_SetString(PyExc_TypeError
,"null reference");
27210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27211 result
= (bool)((wxVideoMode
const *)arg1
)->Matches((wxVideoMode
const &)*arg2
);
27213 wxPyEndAllowThreads(__tstate
);
27214 if (PyErr_Occurred()) SWIG_fail
;
27217 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27225 static PyObject
*_wrap_VideoMode_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27226 PyObject
*resultobj
;
27227 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27229 PyObject
* obj0
= 0 ;
27230 char *kwnames
[] = {
27231 (char *) "self", NULL
27234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetWidth",kwnames
,&obj0
)) goto fail
;
27235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27239 result
= (int)((wxVideoMode
const *)arg1
)->GetWidth();
27241 wxPyEndAllowThreads(__tstate
);
27242 if (PyErr_Occurred()) SWIG_fail
;
27244 resultobj
= SWIG_FromInt((int)result
);
27251 static PyObject
*_wrap_VideoMode_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27252 PyObject
*resultobj
;
27253 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27255 PyObject
* obj0
= 0 ;
27256 char *kwnames
[] = {
27257 (char *) "self", NULL
27260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetHeight",kwnames
,&obj0
)) goto fail
;
27261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27265 result
= (int)((wxVideoMode
const *)arg1
)->GetHeight();
27267 wxPyEndAllowThreads(__tstate
);
27268 if (PyErr_Occurred()) SWIG_fail
;
27270 resultobj
= SWIG_FromInt((int)result
);
27277 static PyObject
*_wrap_VideoMode_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27278 PyObject
*resultobj
;
27279 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27281 PyObject
* obj0
= 0 ;
27282 char *kwnames
[] = {
27283 (char *) "self", NULL
27286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetDepth",kwnames
,&obj0
)) goto fail
;
27287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27291 result
= (int)((wxVideoMode
const *)arg1
)->GetDepth();
27293 wxPyEndAllowThreads(__tstate
);
27294 if (PyErr_Occurred()) SWIG_fail
;
27296 resultobj
= SWIG_FromInt((int)result
);
27303 static PyObject
*_wrap_VideoMode_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27304 PyObject
*resultobj
;
27305 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27307 PyObject
* obj0
= 0 ;
27308 char *kwnames
[] = {
27309 (char *) "self", NULL
27312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_IsOk",kwnames
,&obj0
)) goto fail
;
27313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27317 result
= (bool)((wxVideoMode
const *)arg1
)->IsOk();
27319 wxPyEndAllowThreads(__tstate
);
27320 if (PyErr_Occurred()) SWIG_fail
;
27323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27331 static PyObject
*_wrap_VideoMode___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27332 PyObject
*resultobj
;
27333 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27334 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
27336 PyObject
* obj0
= 0 ;
27337 PyObject
* obj1
= 0 ;
27338 char *kwnames
[] = {
27339 (char *) "self",(char *) "other", NULL
27342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
27343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27345 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27349 result
= (bool)wxVideoMode___eq__(arg1
,(wxVideoMode
const *)arg2
);
27351 wxPyEndAllowThreads(__tstate
);
27352 if (PyErr_Occurred()) SWIG_fail
;
27355 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27363 static PyObject
*_wrap_VideoMode___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27364 PyObject
*resultobj
;
27365 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27366 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
27368 PyObject
* obj0
= 0 ;
27369 PyObject
* obj1
= 0 ;
27370 char *kwnames
[] = {
27371 (char *) "self",(char *) "other", NULL
27374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
27375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27377 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27381 result
= (bool)wxVideoMode___ne__(arg1
,(wxVideoMode
const *)arg2
);
27383 wxPyEndAllowThreads(__tstate
);
27384 if (PyErr_Occurred()) SWIG_fail
;
27387 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27395 static PyObject
*_wrap_VideoMode_w_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27396 PyObject
*resultobj
;
27397 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27399 PyObject
* obj0
= 0 ;
27400 PyObject
* obj1
= 0 ;
27401 char *kwnames
[] = {
27402 (char *) "self",(char *) "w", NULL
27405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_w_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27408 arg2
= (int) SWIG_AsInt(obj1
);
27409 if (PyErr_Occurred()) SWIG_fail
;
27410 if (arg1
) (arg1
)->w
= arg2
;
27412 Py_INCREF(Py_None
); resultobj
= Py_None
;
27419 static PyObject
*_wrap_VideoMode_w_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27420 PyObject
*resultobj
;
27421 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27423 PyObject
* obj0
= 0 ;
27424 char *kwnames
[] = {
27425 (char *) "self", NULL
27428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_w_get",kwnames
,&obj0
)) goto fail
;
27429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27431 result
= (int) ((arg1
)->w
);
27433 resultobj
= SWIG_FromInt((int)result
);
27440 static PyObject
*_wrap_VideoMode_h_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27441 PyObject
*resultobj
;
27442 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27444 PyObject
* obj0
= 0 ;
27445 PyObject
* obj1
= 0 ;
27446 char *kwnames
[] = {
27447 (char *) "self",(char *) "h", NULL
27450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_h_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27453 arg2
= (int) SWIG_AsInt(obj1
);
27454 if (PyErr_Occurred()) SWIG_fail
;
27455 if (arg1
) (arg1
)->h
= arg2
;
27457 Py_INCREF(Py_None
); resultobj
= Py_None
;
27464 static PyObject
*_wrap_VideoMode_h_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27465 PyObject
*resultobj
;
27466 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27468 PyObject
* obj0
= 0 ;
27469 char *kwnames
[] = {
27470 (char *) "self", NULL
27473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_h_get",kwnames
,&obj0
)) goto fail
;
27474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27476 result
= (int) ((arg1
)->h
);
27478 resultobj
= SWIG_FromInt((int)result
);
27485 static PyObject
*_wrap_VideoMode_bpp_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27486 PyObject
*resultobj
;
27487 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27489 PyObject
* obj0
= 0 ;
27490 PyObject
* obj1
= 0 ;
27491 char *kwnames
[] = {
27492 (char *) "self",(char *) "bpp", NULL
27495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_bpp_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27498 arg2
= (int) SWIG_AsInt(obj1
);
27499 if (PyErr_Occurred()) SWIG_fail
;
27500 if (arg1
) (arg1
)->bpp
= arg2
;
27502 Py_INCREF(Py_None
); resultobj
= Py_None
;
27509 static PyObject
*_wrap_VideoMode_bpp_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27510 PyObject
*resultobj
;
27511 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27513 PyObject
* obj0
= 0 ;
27514 char *kwnames
[] = {
27515 (char *) "self", NULL
27518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_bpp_get",kwnames
,&obj0
)) goto fail
;
27519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27521 result
= (int) ((arg1
)->bpp
);
27523 resultobj
= SWIG_FromInt((int)result
);
27530 static PyObject
*_wrap_VideoMode_refresh_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27531 PyObject
*resultobj
;
27532 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27534 PyObject
* obj0
= 0 ;
27535 PyObject
* obj1
= 0 ;
27536 char *kwnames
[] = {
27537 (char *) "self",(char *) "refresh", NULL
27540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_refresh_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27543 arg2
= (int) SWIG_AsInt(obj1
);
27544 if (PyErr_Occurred()) SWIG_fail
;
27545 if (arg1
) (arg1
)->refresh
= arg2
;
27547 Py_INCREF(Py_None
); resultobj
= Py_None
;
27554 static PyObject
*_wrap_VideoMode_refresh_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27555 PyObject
*resultobj
;
27556 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27558 PyObject
* obj0
= 0 ;
27559 char *kwnames
[] = {
27560 (char *) "self", NULL
27563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_refresh_get",kwnames
,&obj0
)) goto fail
;
27564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27566 result
= (int) ((arg1
)->refresh
);
27568 resultobj
= SWIG_FromInt((int)result
);
27575 static PyObject
* VideoMode_swigregister(PyObject
*self
, PyObject
*args
) {
27577 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27578 SWIG_TypeClientData(SWIGTYPE_p_wxVideoMode
, obj
);
27580 return Py_BuildValue((char *)"");
27582 static int _wrap_DefaultVideoMode_set(PyObject
*_val
) {
27583 PyErr_SetString(PyExc_TypeError
,"Variable DefaultVideoMode is read-only.");
27588 static PyObject
*_wrap_DefaultVideoMode_get() {
27591 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultVideoMode
), SWIGTYPE_p_wxVideoMode
, 0);
27596 static PyObject
*_wrap_new_Display(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27597 PyObject
*resultobj
;
27598 size_t arg1
= (size_t) 0 ;
27600 PyObject
* obj0
= 0 ;
27601 char *kwnames
[] = {
27602 (char *) "index", NULL
27605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Display",kwnames
,&obj0
)) goto fail
;
27607 arg1
= (size_t) SWIG_AsUnsignedLong(obj0
);
27608 if (PyErr_Occurred()) SWIG_fail
;
27611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27612 result
= (wxDisplay
*)new wxDisplay(arg1
);
27614 wxPyEndAllowThreads(__tstate
);
27615 if (PyErr_Occurred()) SWIG_fail
;
27617 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplay
, 1);
27624 static PyObject
*_wrap_delete_Display(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27625 PyObject
*resultobj
;
27626 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27627 PyObject
* obj0
= 0 ;
27628 char *kwnames
[] = {
27629 (char *) "self", NULL
27632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Display",kwnames
,&obj0
)) goto fail
;
27633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27639 wxPyEndAllowThreads(__tstate
);
27640 if (PyErr_Occurred()) SWIG_fail
;
27642 Py_INCREF(Py_None
); resultobj
= Py_None
;
27649 static PyObject
*_wrap_Display_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27650 PyObject
*resultobj
;
27652 char *kwnames
[] = {
27656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Display_GetCount",kwnames
)) goto fail
;
27658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27659 result
= (size_t)wxDisplay::GetCount();
27661 wxPyEndAllowThreads(__tstate
);
27662 if (PyErr_Occurred()) SWIG_fail
;
27664 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
27671 static PyObject
*_wrap_Display_GetFromPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27672 PyObject
*resultobj
;
27673 wxPoint
*arg1
= 0 ;
27676 PyObject
* obj0
= 0 ;
27677 char *kwnames
[] = {
27678 (char *) "pt", NULL
27681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromPoint",kwnames
,&obj0
)) goto fail
;
27684 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
27687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27688 result
= (int)wxDisplay::GetFromPoint((wxPoint
const &)*arg1
);
27690 wxPyEndAllowThreads(__tstate
);
27691 if (PyErr_Occurred()) SWIG_fail
;
27693 resultobj
= SWIG_FromInt((int)result
);
27700 static PyObject
*_wrap_Display_GetFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27701 PyObject
*resultobj
;
27702 wxWindow
*arg1
= (wxWindow
*) 0 ;
27704 PyObject
* obj0
= 0 ;
27705 char *kwnames
[] = {
27706 (char *) "window", NULL
27709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromWindow",kwnames
,&obj0
)) goto fail
;
27710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27714 result
= (int)Display_GetFromWindow(arg1
);
27716 wxPyEndAllowThreads(__tstate
);
27717 if (PyErr_Occurred()) SWIG_fail
;
27719 resultobj
= SWIG_FromInt((int)result
);
27726 static PyObject
*_wrap_Display_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27727 PyObject
*resultobj
;
27728 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27730 PyObject
* obj0
= 0 ;
27731 char *kwnames
[] = {
27732 (char *) "self", NULL
27735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsOk",kwnames
,&obj0
)) goto fail
;
27736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27740 result
= (bool)((wxDisplay
const *)arg1
)->IsOk();
27742 wxPyEndAllowThreads(__tstate
);
27743 if (PyErr_Occurred()) SWIG_fail
;
27746 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27754 static PyObject
*_wrap_Display_GetGeometry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27755 PyObject
*resultobj
;
27756 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27758 PyObject
* obj0
= 0 ;
27759 char *kwnames
[] = {
27760 (char *) "self", NULL
27763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetGeometry",kwnames
,&obj0
)) goto fail
;
27764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27768 result
= ((wxDisplay
const *)arg1
)->GetGeometry();
27770 wxPyEndAllowThreads(__tstate
);
27771 if (PyErr_Occurred()) SWIG_fail
;
27774 wxRect
* resultptr
;
27775 resultptr
= new wxRect((wxRect
&) result
);
27776 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
27784 static PyObject
*_wrap_Display_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27785 PyObject
*resultobj
;
27786 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27788 PyObject
* obj0
= 0 ;
27789 char *kwnames
[] = {
27790 (char *) "self", NULL
27793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetName",kwnames
,&obj0
)) goto fail
;
27794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27798 result
= ((wxDisplay
const *)arg1
)->GetName();
27800 wxPyEndAllowThreads(__tstate
);
27801 if (PyErr_Occurred()) SWIG_fail
;
27805 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27807 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27816 static PyObject
*_wrap_Display_IsPrimary(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27817 PyObject
*resultobj
;
27818 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27820 PyObject
* obj0
= 0 ;
27821 char *kwnames
[] = {
27822 (char *) "self", NULL
27825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsPrimary",kwnames
,&obj0
)) goto fail
;
27826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27830 result
= (bool)((wxDisplay
const *)arg1
)->IsPrimary();
27832 wxPyEndAllowThreads(__tstate
);
27833 if (PyErr_Occurred()) SWIG_fail
;
27836 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27844 static PyObject
*_wrap_Display_GetModes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27845 PyObject
*resultobj
;
27846 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27847 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
27848 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
27850 PyObject
* obj0
= 0 ;
27851 PyObject
* obj1
= 0 ;
27852 char *kwnames
[] = {
27853 (char *) "self",(char *) "mode", NULL
27856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_GetModes",kwnames
,&obj0
,&obj1
)) goto fail
;
27857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27860 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27861 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27863 if (arg2
== NULL
) {
27864 PyErr_SetString(PyExc_TypeError
,"null reference");
27869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27870 result
= (PyObject
*)wxDisplay_GetModes(arg1
,(wxVideoMode
const &)*arg2
);
27872 wxPyEndAllowThreads(__tstate
);
27873 if (PyErr_Occurred()) SWIG_fail
;
27875 resultobj
= result
;
27882 static PyObject
*_wrap_Display_GetCurrentMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27883 PyObject
*resultobj
;
27884 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27885 wxVideoMode result
;
27886 PyObject
* obj0
= 0 ;
27887 char *kwnames
[] = {
27888 (char *) "self", NULL
27891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetCurrentMode",kwnames
,&obj0
)) goto fail
;
27892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27896 result
= ((wxDisplay
const *)arg1
)->GetCurrentMode();
27898 wxPyEndAllowThreads(__tstate
);
27899 if (PyErr_Occurred()) SWIG_fail
;
27902 wxVideoMode
* resultptr
;
27903 resultptr
= new wxVideoMode((wxVideoMode
&) result
);
27904 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVideoMode
, 1);
27912 static PyObject
*_wrap_Display_ChangeMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27913 PyObject
*resultobj
;
27914 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27915 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
27916 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
27918 PyObject
* obj0
= 0 ;
27919 PyObject
* obj1
= 0 ;
27920 char *kwnames
[] = {
27921 (char *) "self",(char *) "mode", NULL
27924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_ChangeMode",kwnames
,&obj0
,&obj1
)) goto fail
;
27925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27928 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27929 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27931 if (arg2
== NULL
) {
27932 PyErr_SetString(PyExc_TypeError
,"null reference");
27937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27938 result
= (bool)(arg1
)->ChangeMode((wxVideoMode
const &)*arg2
);
27940 wxPyEndAllowThreads(__tstate
);
27941 if (PyErr_Occurred()) SWIG_fail
;
27944 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27952 static PyObject
*_wrap_Display_ResetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27953 PyObject
*resultobj
;
27954 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27955 PyObject
* obj0
= 0 ;
27956 char *kwnames
[] = {
27957 (char *) "self", NULL
27960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_ResetMode",kwnames
,&obj0
)) goto fail
;
27961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27965 (arg1
)->ResetMode();
27967 wxPyEndAllowThreads(__tstate
);
27968 if (PyErr_Occurred()) SWIG_fail
;
27970 Py_INCREF(Py_None
); resultobj
= Py_None
;
27977 static PyObject
* Display_swigregister(PyObject
*self
, PyObject
*args
) {
27979 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27980 SWIG_TypeClientData(SWIGTYPE_p_wxDisplay
, obj
);
27982 return Py_BuildValue((char *)"");
27984 static PyMethodDef SwigMethods
[] = {
27985 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
27986 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
27987 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
},
27988 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
},
27989 { (char *)"SystemSettings_GetScreenType", (PyCFunction
) _wrap_SystemSettings_GetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
27990 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
27991 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
},
27992 { (char *)"new_SystemOptions", (PyCFunction
) _wrap_new_SystemOptions
, METH_VARARGS
| METH_KEYWORDS
},
27993 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
},
27994 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
27995 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
},
27996 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
27997 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
},
27998 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
},
27999 { (char *)"NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
},
28000 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
},
28001 { (char *)"GetCurrentId", (PyCFunction
) _wrap_GetCurrentId
, METH_VARARGS
| METH_KEYWORDS
},
28002 { (char *)"Bell", (PyCFunction
) _wrap_Bell
, METH_VARARGS
| METH_KEYWORDS
},
28003 { (char *)"EndBusyCursor", (PyCFunction
) _wrap_EndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
28004 { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
},
28005 { (char *)"GetMousePosition", (PyCFunction
) _wrap_GetMousePosition
, METH_VARARGS
| METH_KEYWORDS
},
28006 { (char *)"IsBusy", (PyCFunction
) _wrap_IsBusy
, METH_VARARGS
| METH_KEYWORDS
},
28007 { (char *)"Now", (PyCFunction
) _wrap_Now
, METH_VARARGS
| METH_KEYWORDS
},
28008 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
},
28009 { (char *)"StartTimer", (PyCFunction
) _wrap_StartTimer
, METH_VARARGS
| METH_KEYWORDS
},
28010 { (char *)"GetOsVersion", (PyCFunction
) _wrap_GetOsVersion
, METH_VARARGS
| METH_KEYWORDS
},
28011 { (char *)"GetOsDescription", (PyCFunction
) _wrap_GetOsDescription
, METH_VARARGS
| METH_KEYWORDS
},
28012 { (char *)"GetFreeMemory", (PyCFunction
) _wrap_GetFreeMemory
, METH_VARARGS
| METH_KEYWORDS
},
28013 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
},
28014 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
},
28015 { (char *)"Usleep", (PyCFunction
) _wrap_Usleep
, METH_VARARGS
| METH_KEYWORDS
},
28016 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
},
28017 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
},
28018 { (char *)"GetEmailAddress", (PyCFunction
) _wrap_GetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
},
28019 { (char *)"GetHostName", (PyCFunction
) _wrap_GetHostName
, METH_VARARGS
| METH_KEYWORDS
},
28020 { (char *)"GetFullHostName", (PyCFunction
) _wrap_GetFullHostName
, METH_VARARGS
| METH_KEYWORDS
},
28021 { (char *)"GetUserId", (PyCFunction
) _wrap_GetUserId
, METH_VARARGS
| METH_KEYWORDS
},
28022 { (char *)"GetUserName", (PyCFunction
) _wrap_GetUserName
, METH_VARARGS
| METH_KEYWORDS
},
28023 { (char *)"GetHomeDir", (PyCFunction
) _wrap_GetHomeDir
, METH_VARARGS
| METH_KEYWORDS
},
28024 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
},
28025 { (char *)"GetProcessId", (PyCFunction
) _wrap_GetProcessId
, METH_VARARGS
| METH_KEYWORDS
},
28026 { (char *)"Trap", (PyCFunction
) _wrap_Trap
, METH_VARARGS
| METH_KEYWORDS
},
28027 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
},
28028 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
28029 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
28030 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
},
28031 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
},
28032 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
},
28033 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
},
28034 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
},
28035 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
},
28036 { (char *)"GetNumberFromUser", (PyCFunction
) _wrap_GetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
},
28037 { (char *)"ColourDisplay", (PyCFunction
) _wrap_ColourDisplay
, METH_VARARGS
| METH_KEYWORDS
},
28038 { (char *)"DisplayDepth", (PyCFunction
) _wrap_DisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
28039 { (char *)"GetDisplayDepth", (PyCFunction
) _wrap_GetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
28040 { (char *)"DisplaySize", (PyCFunction
) _wrap_DisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
28041 { (char *)"GetDisplaySize", (PyCFunction
) _wrap_GetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
28042 { (char *)"DisplaySizeMM", (PyCFunction
) _wrap_DisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
28043 { (char *)"GetDisplaySizeMM", (PyCFunction
) _wrap_GetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
28044 { (char *)"ClientDisplayRect", (PyCFunction
) _wrap_ClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
28045 { (char *)"GetClientDisplayRect", (PyCFunction
) _wrap_GetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
28046 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
28047 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
28048 { (char *)"GetActiveWindow", (PyCFunction
) _wrap_GetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
},
28049 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
28050 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
28051 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
},
28052 { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS
| METH_KEYWORDS
},
28053 { (char *)"WakeUpMainThread", (PyCFunction
) _wrap_WakeUpMainThread
, METH_VARARGS
| METH_KEYWORDS
},
28054 { (char *)"MutexGuiEnter", (PyCFunction
) _wrap_MutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
},
28055 { (char *)"MutexGuiLeave", (PyCFunction
) _wrap_MutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
},
28056 { (char *)"new_MutexGuiLocker", (PyCFunction
) _wrap_new_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
28057 { (char *)"delete_MutexGuiLocker", (PyCFunction
) _wrap_delete_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
28058 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
},
28059 { (char *)"Thread_IsMain", (PyCFunction
) _wrap_Thread_IsMain
, METH_VARARGS
| METH_KEYWORDS
},
28060 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
},
28061 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
},
28062 { (char *)"ToolTip_GetTip", (PyCFunction
) _wrap_ToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
28063 { (char *)"ToolTip_GetWindow", (PyCFunction
) _wrap_ToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
28064 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
},
28065 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
},
28066 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
},
28067 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
},
28068 { (char *)"delete_Caret", (PyCFunction
) _wrap_delete_Caret
, METH_VARARGS
| METH_KEYWORDS
},
28069 { (char *)"Caret_IsOk", (PyCFunction
) _wrap_Caret_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28070 { (char *)"Caret_IsVisible", (PyCFunction
) _wrap_Caret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
28071 { (char *)"Caret_GetPosition", (PyCFunction
) _wrap_Caret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28072 { (char *)"Caret_GetPositionTuple", (PyCFunction
) _wrap_Caret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
28073 { (char *)"Caret_GetSize", (PyCFunction
) _wrap_Caret_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
28074 { (char *)"Caret_GetSizeTuple", (PyCFunction
) _wrap_Caret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
28075 { (char *)"Caret_GetWindow", (PyCFunction
) _wrap_Caret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
28076 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
28077 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
},
28078 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
28079 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
28080 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
},
28081 { (char *)"Caret_Hide", (PyCFunction
) _wrap_Caret_Hide
, METH_VARARGS
| METH_KEYWORDS
},
28082 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
},
28083 { (char *)"Caret_GetBlinkTime", (PyCFunction
) _wrap_Caret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
28084 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
28085 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
28086 { (char *)"delete_BusyCursor", (PyCFunction
) _wrap_delete_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
28087 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
},
28088 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
28089 { (char *)"delete_WindowDisabler", (PyCFunction
) _wrap_delete_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
28090 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
},
28091 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
28092 { (char *)"delete_BusyInfo", (PyCFunction
) _wrap_delete_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
28093 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
},
28094 { (char *)"new_StopWatch", (PyCFunction
) _wrap_new_StopWatch
, METH_VARARGS
| METH_KEYWORDS
},
28095 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
},
28096 { (char *)"StopWatch_Pause", (PyCFunction
) _wrap_StopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
},
28097 { (char *)"StopWatch_Resume", (PyCFunction
) _wrap_StopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
},
28098 { (char *)"StopWatch_Time", (PyCFunction
) _wrap_StopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
},
28099 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
},
28100 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
},
28101 { (char *)"delete_FileHistory", (PyCFunction
) _wrap_delete_FileHistory
, METH_VARARGS
| METH_KEYWORDS
},
28102 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
},
28103 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
},
28104 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
) _wrap_FileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
},
28105 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
},
28106 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
},
28107 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
},
28108 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
},
28109 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
},
28110 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
},
28111 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
},
28112 { (char *)"FileHistory_GetCount", (PyCFunction
) _wrap_FileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
28113 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
},
28114 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
28115 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
) _wrap_new_PreSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
28116 { (char *)"delete_SingleInstanceChecker", (PyCFunction
) _wrap_delete_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
28117 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
},
28118 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
) _wrap_SingleInstanceChecker_IsAnotherRunning
, METH_VARARGS
| METH_KEYWORDS
},
28119 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
},
28120 { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
},
28121 { (char *)"delete_TipProvider", (PyCFunction
) _wrap_delete_TipProvider
, METH_VARARGS
| METH_KEYWORDS
},
28122 { (char *)"TipProvider_GetTip", (PyCFunction
) _wrap_TipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
28123 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
) _wrap_TipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
},
28124 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
},
28125 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
},
28126 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
28127 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28128 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
},
28129 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
},
28130 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
28131 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
},
28132 { (char *)"delete_Timer", (PyCFunction
) _wrap_delete_Timer
, METH_VARARGS
| METH_KEYWORDS
},
28133 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28134 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
},
28135 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
},
28136 { (char *)"Timer_Stop", (PyCFunction
) _wrap_Timer_Stop
, METH_VARARGS
| METH_KEYWORDS
},
28137 { (char *)"Timer_IsRunning", (PyCFunction
) _wrap_Timer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
},
28138 { (char *)"Timer_GetInterval", (PyCFunction
) _wrap_Timer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
28139 { (char *)"Timer_IsOneShot", (PyCFunction
) _wrap_Timer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
},
28140 { (char *)"Timer_GetId", (PyCFunction
) _wrap_Timer_GetId
, METH_VARARGS
| METH_KEYWORDS
},
28141 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
},
28142 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
},
28143 { (char *)"TimerEvent_GetInterval", (PyCFunction
) _wrap_TimerEvent_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
28144 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
},
28145 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
},
28146 { (char *)"delete_TimerRunner", (PyCFunction
) _wrap_delete_TimerRunner
, METH_VARARGS
| METH_KEYWORDS
},
28147 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
},
28148 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
},
28149 { (char *)"new_Log", (PyCFunction
) _wrap_new_Log
, METH_VARARGS
| METH_KEYWORDS
},
28150 { (char *)"Log_IsEnabled", (PyCFunction
) _wrap_Log_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
28151 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
},
28152 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
},
28153 { (char *)"Log_Flush", (PyCFunction
) _wrap_Log_Flush
, METH_VARARGS
| METH_KEYWORDS
},
28154 { (char *)"Log_FlushActive", (PyCFunction
) _wrap_Log_FlushActive
, METH_VARARGS
| METH_KEYWORDS
},
28155 { (char *)"Log_GetActiveTarget", (PyCFunction
) _wrap_Log_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
28156 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
28157 { (char *)"Log_Suspend", (PyCFunction
) _wrap_Log_Suspend
, METH_VARARGS
| METH_KEYWORDS
},
28158 { (char *)"Log_Resume", (PyCFunction
) _wrap_Log_Resume
, METH_VARARGS
| METH_KEYWORDS
},
28159 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
28160 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
},
28161 { (char *)"Log_DontCreateOnDemand", (PyCFunction
) _wrap_Log_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
28162 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28163 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28164 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28165 { (char *)"Log_ClearTraceMasks", (PyCFunction
) _wrap_Log_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
28166 { (char *)"Log_GetTraceMasks", (PyCFunction
) _wrap_Log_GetTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
28167 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
28168 { (char *)"Log_GetVerbose", (PyCFunction
) _wrap_Log_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
28169 { (char *)"Log_GetTraceMask", (PyCFunction
) _wrap_Log_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28170 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28171 { (char *)"Log_GetLogLevel", (PyCFunction
) _wrap_Log_GetLogLevel
, METH_VARARGS
| METH_KEYWORDS
},
28172 { (char *)"Log_GetTimestamp", (PyCFunction
) _wrap_Log_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
28173 { (char *)"Log_TimeStamp", (PyCFunction
) _wrap_Log_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
},
28174 { (char *)"Log_Destroy", (PyCFunction
) _wrap_Log_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
28175 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
},
28176 { (char *)"new_LogStderr", (PyCFunction
) _wrap_new_LogStderr
, METH_VARARGS
| METH_KEYWORDS
},
28177 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
},
28178 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
28179 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
},
28180 { (char *)"new_LogGui", (PyCFunction
) _wrap_new_LogGui
, METH_VARARGS
| METH_KEYWORDS
},
28181 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
},
28182 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
},
28183 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
28184 { (char *)"LogWindow_GetFrame", (PyCFunction
) _wrap_LogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
28185 { (char *)"LogWindow_GetOldLog", (PyCFunction
) _wrap_LogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
28186 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
) _wrap_LogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
28187 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
28188 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
},
28189 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
},
28190 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
},
28191 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
28192 { (char *)"LogChain_IsPassingMessages", (PyCFunction
) _wrap_LogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
28193 { (char *)"LogChain_GetOldLog", (PyCFunction
) _wrap_LogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
28194 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
},
28195 { (char *)"SysErrorCode", (PyCFunction
) _wrap_SysErrorCode
, METH_VARARGS
| METH_KEYWORDS
},
28196 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
},
28197 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
},
28198 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
},
28199 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
},
28200 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
},
28201 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
},
28202 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
},
28203 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
},
28204 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
},
28205 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
},
28206 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
},
28207 { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS
},
28208 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
},
28209 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
},
28210 { (char *)"new_LogNull", (PyCFunction
) _wrap_new_LogNull
, METH_VARARGS
| METH_KEYWORDS
},
28211 { (char *)"delete_LogNull", (PyCFunction
) _wrap_delete_LogNull
, METH_VARARGS
| METH_KEYWORDS
},
28212 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
},
28213 { (char *)"new_PyLog", (PyCFunction
) _wrap_new_PyLog
, METH_VARARGS
| METH_KEYWORDS
},
28214 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28215 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
},
28216 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
},
28217 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
},
28218 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
},
28219 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
},
28220 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28221 { (char *)"Process_base_OnTerminate", (PyCFunction
) _wrap_Process_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
},
28222 { (char *)"Process_Redirect", (PyCFunction
) _wrap_Process_Redirect
, METH_VARARGS
| METH_KEYWORDS
},
28223 { (char *)"Process_IsRedirected", (PyCFunction
) _wrap_Process_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
},
28224 { (char *)"Process_Detach", (PyCFunction
) _wrap_Process_Detach
, METH_VARARGS
| METH_KEYWORDS
},
28225 { (char *)"Process_GetInputStream", (PyCFunction
) _wrap_Process_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
},
28226 { (char *)"Process_GetErrorStream", (PyCFunction
) _wrap_Process_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
},
28227 { (char *)"Process_GetOutputStream", (PyCFunction
) _wrap_Process_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
28228 { (char *)"Process_CloseOutput", (PyCFunction
) _wrap_Process_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
},
28229 { (char *)"Process_IsInputOpened", (PyCFunction
) _wrap_Process_IsInputOpened
, METH_VARARGS
| METH_KEYWORDS
},
28230 { (char *)"Process_IsInputAvailable", (PyCFunction
) _wrap_Process_IsInputAvailable
, METH_VARARGS
| METH_KEYWORDS
},
28231 { (char *)"Process_IsErrorAvailable", (PyCFunction
) _wrap_Process_IsErrorAvailable
, METH_VARARGS
| METH_KEYWORDS
},
28232 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
},
28233 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
28234 { (char *)"ProcessEvent_GetPid", (PyCFunction
) _wrap_ProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
},
28235 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
) _wrap_ProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
},
28236 { (char *)"ProcessEvent_m_pid_set", (PyCFunction
) _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
},
28237 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
) _wrap_ProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
},
28238 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
},
28239 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
},
28240 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
},
28241 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
},
28242 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
},
28243 { (char *)"delete_Joystick", (PyCFunction
) _wrap_delete_Joystick
, METH_VARARGS
| METH_KEYWORDS
},
28244 { (char *)"Joystick_GetPosition", (PyCFunction
) _wrap_Joystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28245 { (char *)"Joystick_GetZPosition", (PyCFunction
) _wrap_Joystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
28246 { (char *)"Joystick_GetButtonState", (PyCFunction
) _wrap_Joystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
28247 { (char *)"Joystick_GetPOVPosition", (PyCFunction
) _wrap_Joystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
},
28248 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
) _wrap_Joystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
},
28249 { (char *)"Joystick_GetRudderPosition", (PyCFunction
) _wrap_Joystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
},
28250 { (char *)"Joystick_GetUPosition", (PyCFunction
) _wrap_Joystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
},
28251 { (char *)"Joystick_GetVPosition", (PyCFunction
) _wrap_Joystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
},
28252 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
) _wrap_Joystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
28253 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
28254 { (char *)"Joystick_IsOk", (PyCFunction
) _wrap_Joystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28255 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
) _wrap_Joystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
},
28256 { (char *)"Joystick_GetManufacturerId", (PyCFunction
) _wrap_Joystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
},
28257 { (char *)"Joystick_GetProductId", (PyCFunction
) _wrap_Joystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
},
28258 { (char *)"Joystick_GetProductName", (PyCFunction
) _wrap_Joystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
},
28259 { (char *)"Joystick_GetXMin", (PyCFunction
) _wrap_Joystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
},
28260 { (char *)"Joystick_GetYMin", (PyCFunction
) _wrap_Joystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
},
28261 { (char *)"Joystick_GetZMin", (PyCFunction
) _wrap_Joystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
},
28262 { (char *)"Joystick_GetXMax", (PyCFunction
) _wrap_Joystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
},
28263 { (char *)"Joystick_GetYMax", (PyCFunction
) _wrap_Joystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
},
28264 { (char *)"Joystick_GetZMax", (PyCFunction
) _wrap_Joystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
},
28265 { (char *)"Joystick_GetNumberButtons", (PyCFunction
) _wrap_Joystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
},
28266 { (char *)"Joystick_GetNumberAxes", (PyCFunction
) _wrap_Joystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
},
28267 { (char *)"Joystick_GetMaxButtons", (PyCFunction
) _wrap_Joystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
},
28268 { (char *)"Joystick_GetMaxAxes", (PyCFunction
) _wrap_Joystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
},
28269 { (char *)"Joystick_GetPollingMin", (PyCFunction
) _wrap_Joystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
},
28270 { (char *)"Joystick_GetPollingMax", (PyCFunction
) _wrap_Joystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
},
28271 { (char *)"Joystick_GetRudderMin", (PyCFunction
) _wrap_Joystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
},
28272 { (char *)"Joystick_GetRudderMax", (PyCFunction
) _wrap_Joystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
},
28273 { (char *)"Joystick_GetUMin", (PyCFunction
) _wrap_Joystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
},
28274 { (char *)"Joystick_GetUMax", (PyCFunction
) _wrap_Joystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
},
28275 { (char *)"Joystick_GetVMin", (PyCFunction
) _wrap_Joystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
},
28276 { (char *)"Joystick_GetVMax", (PyCFunction
) _wrap_Joystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
},
28277 { (char *)"Joystick_HasRudder", (PyCFunction
) _wrap_Joystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
},
28278 { (char *)"Joystick_HasZ", (PyCFunction
) _wrap_Joystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
},
28279 { (char *)"Joystick_HasU", (PyCFunction
) _wrap_Joystick_HasU
, METH_VARARGS
| METH_KEYWORDS
},
28280 { (char *)"Joystick_HasV", (PyCFunction
) _wrap_Joystick_HasV
, METH_VARARGS
| METH_KEYWORDS
},
28281 { (char *)"Joystick_HasPOV", (PyCFunction
) _wrap_Joystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
},
28282 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
) _wrap_Joystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
},
28283 { (char *)"Joystick_HasPOVCTS", (PyCFunction
) _wrap_Joystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
},
28284 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
},
28285 { (char *)"Joystick_ReleaseCapture", (PyCFunction
) _wrap_Joystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
},
28286 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
},
28287 { (char *)"JoystickEvent_m_pos_set", (PyCFunction
) _wrap_JoystickEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
},
28288 { (char *)"JoystickEvent_m_pos_get", (PyCFunction
) _wrap_JoystickEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
},
28289 { (char *)"JoystickEvent_m_zPosition_set", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_set
, METH_VARARGS
| METH_KEYWORDS
},
28290 { (char *)"JoystickEvent_m_zPosition_get", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_get
, METH_VARARGS
| METH_KEYWORDS
},
28291 { (char *)"JoystickEvent_m_buttonChange_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_set
, METH_VARARGS
| METH_KEYWORDS
},
28292 { (char *)"JoystickEvent_m_buttonChange_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_get
, METH_VARARGS
| METH_KEYWORDS
},
28293 { (char *)"JoystickEvent_m_buttonState_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_set
, METH_VARARGS
| METH_KEYWORDS
},
28294 { (char *)"JoystickEvent_m_buttonState_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_get
, METH_VARARGS
| METH_KEYWORDS
},
28295 { (char *)"JoystickEvent_m_joyStick_set", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_set
, METH_VARARGS
| METH_KEYWORDS
},
28296 { (char *)"JoystickEvent_m_joyStick_get", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_get
, METH_VARARGS
| METH_KEYWORDS
},
28297 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
},
28298 { (char *)"JoystickEvent_GetPosition", (PyCFunction
) _wrap_JoystickEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28299 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
) _wrap_JoystickEvent_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
28300 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
) _wrap_JoystickEvent_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
28301 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
) _wrap_JoystickEvent_GetButtonChange
, METH_VARARGS
| METH_KEYWORDS
},
28302 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
) _wrap_JoystickEvent_GetJoystick
, METH_VARARGS
| METH_KEYWORDS
},
28303 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
},
28304 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
28305 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
},
28306 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28307 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
28308 { (char *)"JoystickEvent_IsButton", (PyCFunction
) _wrap_JoystickEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
28309 { (char *)"JoystickEvent_IsMove", (PyCFunction
) _wrap_JoystickEvent_IsMove
, METH_VARARGS
| METH_KEYWORDS
},
28310 { (char *)"JoystickEvent_IsZMove", (PyCFunction
) _wrap_JoystickEvent_IsZMove
, METH_VARARGS
| METH_KEYWORDS
},
28311 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
},
28312 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
},
28313 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
},
28314 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
},
28315 { (char *)"new_Sound", (PyCFunction
) _wrap_new_Sound
, METH_VARARGS
| METH_KEYWORDS
},
28316 { (char *)"new_SoundFromData", (PyCFunction
) _wrap_new_SoundFromData
, METH_VARARGS
| METH_KEYWORDS
},
28317 { (char *)"delete_Sound", (PyCFunction
) _wrap_delete_Sound
, METH_VARARGS
| METH_KEYWORDS
},
28318 { (char *)"Sound_Create", (PyCFunction
) _wrap_Sound_Create
, METH_VARARGS
| METH_KEYWORDS
},
28319 { (char *)"Sound_CreateFromData", (PyCFunction
) _wrap_Sound_CreateFromData
, METH_VARARGS
| METH_KEYWORDS
},
28320 { (char *)"Sound_IsOk", (PyCFunction
) _wrap_Sound_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28321 { (char *)"Sound_Play", (PyCFunction
) _wrap_Sound_Play
, METH_VARARGS
| METH_KEYWORDS
},
28322 { (char *)"Sound_PlaySound", (PyCFunction
) _wrap_Sound_PlaySound
, METH_VARARGS
| METH_KEYWORDS
},
28323 { (char *)"Sound_Stop", (PyCFunction
) _wrap_Sound_Stop
, METH_VARARGS
| METH_KEYWORDS
},
28324 { (char *)"Sound_swigregister", Sound_swigregister
, METH_VARARGS
},
28325 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
28326 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
},
28327 { (char *)"new_NullFileTypeInfo", (PyCFunction
) _wrap_new_NullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
28328 { (char *)"FileTypeInfo_IsValid", (PyCFunction
) _wrap_FileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
28329 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
28330 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
28331 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
) _wrap_FileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
28332 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_FileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
28333 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_FileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
28334 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
28335 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
) _wrap_FileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
28336 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
) _wrap_FileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
28337 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_FileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
},
28338 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
) _wrap_FileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
},
28339 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_FileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
},
28340 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
},
28341 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
},
28342 { (char *)"delete_FileType", (PyCFunction
) _wrap_delete_FileType
, METH_VARARGS
| METH_KEYWORDS
},
28343 { (char *)"FileType_GetMimeType", (PyCFunction
) _wrap_FileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
28344 { (char *)"FileType_GetMimeTypes", (PyCFunction
) _wrap_FileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
28345 { (char *)"FileType_GetExtensions", (PyCFunction
) _wrap_FileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
28346 { (char *)"FileType_GetIcon", (PyCFunction
) _wrap_FileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
28347 { (char *)"FileType_GetIconInfo", (PyCFunction
) _wrap_FileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
},
28348 { (char *)"FileType_GetDescription", (PyCFunction
) _wrap_FileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
28349 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
28350 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
28351 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
},
28352 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
},
28353 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
},
28354 { (char *)"FileType_Unassociate", (PyCFunction
) _wrap_FileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
28355 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
},
28356 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
},
28357 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
},
28358 { (char *)"new_MimeTypesManager", (PyCFunction
) _wrap_new_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
28359 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
28360 { (char *)"MimeTypesManager_ClearData", (PyCFunction
) _wrap_MimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
},
28361 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
},
28362 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
},
28363 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
},
28364 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
28365 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_MimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
},
28366 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
},
28367 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
},
28368 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
28369 { (char *)"delete_MimeTypesManager", (PyCFunction
) _wrap_delete_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
28370 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
},
28371 { (char *)"new_ArtProvider", (PyCFunction
) _wrap_new_ArtProvider
, METH_VARARGS
| METH_KEYWORDS
},
28372 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28373 { (char *)"ArtProvider_PushProvider", (PyCFunction
) _wrap_ArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
},
28374 { (char *)"ArtProvider_PopProvider", (PyCFunction
) _wrap_ArtProvider_PopProvider
, METH_VARARGS
| METH_KEYWORDS
},
28375 { (char *)"ArtProvider_RemoveProvider", (PyCFunction
) _wrap_ArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
},
28376 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
28377 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
28378 { (char *)"ArtProvider_Destroy", (PyCFunction
) _wrap_ArtProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
28379 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
},
28380 { (char *)"delete_ConfigBase", (PyCFunction
) _wrap_delete_ConfigBase
, METH_VARARGS
| METH_KEYWORDS
},
28381 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
},
28382 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
},
28383 { (char *)"ConfigBase_Create", (PyCFunction
) _wrap_ConfigBase_Create
, METH_VARARGS
| METH_KEYWORDS
},
28384 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
) _wrap_ConfigBase_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
28385 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
28386 { (char *)"ConfigBase_GetPath", (PyCFunction
) _wrap_ConfigBase_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
28387 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
) _wrap_ConfigBase_GetFirstGroup
, METH_VARARGS
| METH_KEYWORDS
},
28388 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
},
28389 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
) _wrap_ConfigBase_GetFirstEntry
, METH_VARARGS
| METH_KEYWORDS
},
28390 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
},
28391 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
},
28392 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
},
28393 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
},
28394 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
},
28395 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
},
28396 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
},
28397 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
},
28398 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
},
28399 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
},
28400 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
},
28401 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
},
28402 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
},
28403 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
},
28404 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
},
28405 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
},
28406 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
},
28407 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
},
28408 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
},
28409 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
},
28410 { (char *)"ConfigBase_DeleteAll", (PyCFunction
) _wrap_ConfigBase_DeleteAll
, METH_VARARGS
| METH_KEYWORDS
},
28411 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28412 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
) _wrap_ConfigBase_IsExpandingEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28413 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
},
28414 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
) _wrap_ConfigBase_IsRecordingDefaults
, METH_VARARGS
| METH_KEYWORDS
},
28415 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28416 { (char *)"ConfigBase_GetAppName", (PyCFunction
) _wrap_ConfigBase_GetAppName
, METH_VARARGS
| METH_KEYWORDS
},
28417 { (char *)"ConfigBase_GetVendorName", (PyCFunction
) _wrap_ConfigBase_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
28418 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
},
28419 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
28420 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
28421 { (char *)"ConfigBase_GetStyle", (PyCFunction
) _wrap_ConfigBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
28422 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
},
28423 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
},
28424 { (char *)"delete_Config", (PyCFunction
) _wrap_delete_Config
, METH_VARARGS
| METH_KEYWORDS
},
28425 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
},
28426 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
},
28427 { (char *)"delete_FileConfig", (PyCFunction
) _wrap_delete_FileConfig
, METH_VARARGS
| METH_KEYWORDS
},
28428 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
},
28429 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
},
28430 { (char *)"delete_ConfigPathChanger", (PyCFunction
) _wrap_delete_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
},
28431 { (char *)"ConfigPathChanger_Name", (PyCFunction
) _wrap_ConfigPathChanger_Name
, METH_VARARGS
| METH_KEYWORDS
},
28432 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
},
28433 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28434 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
},
28435 { (char *)"DateTime_GetCountry", (PyCFunction
) _wrap_DateTime_GetCountry
, METH_VARARGS
| METH_KEYWORDS
},
28436 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
},
28437 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
},
28438 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
},
28439 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
},
28440 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
},
28441 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
},
28442 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
},
28443 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
},
28444 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
},
28445 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
},
28446 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
) _wrap_DateTime_GetAmPmStrings
, METH_VARARGS
| METH_KEYWORDS
},
28447 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
},
28448 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
},
28449 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
},
28450 { (char *)"DateTime_Now", (PyCFunction
) _wrap_DateTime_Now
, METH_VARARGS
| METH_KEYWORDS
},
28451 { (char *)"DateTime_UNow", (PyCFunction
) _wrap_DateTime_UNow
, METH_VARARGS
| METH_KEYWORDS
},
28452 { (char *)"DateTime_Today", (PyCFunction
) _wrap_DateTime_Today
, METH_VARARGS
| METH_KEYWORDS
},
28453 { (char *)"new_DateTime", (PyCFunction
) _wrap_new_DateTime
, METH_VARARGS
| METH_KEYWORDS
},
28454 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
},
28455 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
},
28456 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
},
28457 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
},
28458 { (char *)"delete_DateTime", (PyCFunction
) _wrap_delete_DateTime
, METH_VARARGS
| METH_KEYWORDS
},
28459 { (char *)"DateTime_SetToCurrent", (PyCFunction
) _wrap_DateTime_SetToCurrent
, METH_VARARGS
| METH_KEYWORDS
},
28460 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
},
28461 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
},
28462 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
},
28463 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
},
28464 { (char *)"DateTime_ResetTime", (PyCFunction
) _wrap_DateTime_ResetTime
, METH_VARARGS
| METH_KEYWORDS
},
28465 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
},
28466 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
},
28467 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
},
28468 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
},
28469 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
},
28470 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
},
28471 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
28472 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
28473 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
28474 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28475 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28476 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28477 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28478 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28479 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28480 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28481 { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
},
28482 { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
},
28483 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
28484 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
28485 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
},
28486 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
},
28487 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
28488 { (char *)"DateTime_GetJDN", (PyCFunction
) _wrap_DateTime_GetJDN
, METH_VARARGS
| METH_KEYWORDS
},
28489 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetModifiedJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
28490 { (char *)"DateTime_GetMJD", (PyCFunction
) _wrap_DateTime_GetMJD
, METH_VARARGS
| METH_KEYWORDS
},
28491 { (char *)"DateTime_GetRataDie", (PyCFunction
) _wrap_DateTime_GetRataDie
, METH_VARARGS
| METH_KEYWORDS
},
28492 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
},
28493 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
},
28494 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
},
28495 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
},
28496 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
},
28497 { (char *)"DateTime_IsValid", (PyCFunction
) _wrap_DateTime_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
28498 { (char *)"DateTime_GetTicks", (PyCFunction
) _wrap_DateTime_GetTicks
, METH_VARARGS
| METH_KEYWORDS
},
28499 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
},
28500 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
},
28501 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
},
28502 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28503 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
},
28504 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
},
28505 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
},
28506 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
28507 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
},
28508 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
},
28509 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
},
28510 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
},
28511 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
28512 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
},
28513 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
},
28514 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
},
28515 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
},
28516 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
},
28517 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
},
28518 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
},
28519 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
},
28520 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
},
28521 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
},
28522 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
},
28523 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
28524 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
},
28525 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
},
28526 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
},
28527 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
},
28528 { (char *)"DateTime___lt__", _wrap_DateTime___lt__
, METH_VARARGS
},
28529 { (char *)"DateTime___le__", _wrap_DateTime___le__
, METH_VARARGS
},
28530 { (char *)"DateTime___gt__", _wrap_DateTime___gt__
, METH_VARARGS
},
28531 { (char *)"DateTime___ge__", _wrap_DateTime___ge__
, METH_VARARGS
},
28532 { (char *)"DateTime___eq__", _wrap_DateTime___eq__
, METH_VARARGS
},
28533 { (char *)"DateTime___ne__", _wrap_DateTime___ne__
, METH_VARARGS
},
28534 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
},
28535 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
},
28536 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
},
28537 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
},
28538 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
},
28539 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
},
28540 { (char *)"DateTime_FormatDate", (PyCFunction
) _wrap_DateTime_FormatDate
, METH_VARARGS
| METH_KEYWORDS
},
28541 { (char *)"DateTime_FormatTime", (PyCFunction
) _wrap_DateTime_FormatTime
, METH_VARARGS
| METH_KEYWORDS
},
28542 { (char *)"DateTime_FormatISODate", (PyCFunction
) _wrap_DateTime_FormatISODate
, METH_VARARGS
| METH_KEYWORDS
},
28543 { (char *)"DateTime_FormatISOTime", (PyCFunction
) _wrap_DateTime_FormatISOTime
, METH_VARARGS
| METH_KEYWORDS
},
28544 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
},
28545 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
},
28546 { (char *)"TimeSpan_Second", (PyCFunction
) _wrap_TimeSpan_Second
, METH_VARARGS
| METH_KEYWORDS
},
28547 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
},
28548 { (char *)"TimeSpan_Minute", (PyCFunction
) _wrap_TimeSpan_Minute
, METH_VARARGS
| METH_KEYWORDS
},
28549 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
},
28550 { (char *)"TimeSpan_Hour", (PyCFunction
) _wrap_TimeSpan_Hour
, METH_VARARGS
| METH_KEYWORDS
},
28551 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
28552 { (char *)"TimeSpan_Day", (PyCFunction
) _wrap_TimeSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
28553 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
28554 { (char *)"TimeSpan_Week", (PyCFunction
) _wrap_TimeSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
28555 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
28556 { (char *)"delete_TimeSpan", (PyCFunction
) _wrap_delete_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
28557 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
28558 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
28559 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
28560 { (char *)"TimeSpan_Neg", (PyCFunction
) _wrap_TimeSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
28561 { (char *)"TimeSpan_Abs", (PyCFunction
) _wrap_TimeSpan_Abs
, METH_VARARGS
| METH_KEYWORDS
},
28562 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
28563 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
},
28564 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
},
28565 { (char *)"TimeSpan___neg__", (PyCFunction
) _wrap_TimeSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
28566 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
28567 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
28568 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
28569 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
28570 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
},
28571 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
},
28572 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
},
28573 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
},
28574 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
28575 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
28576 { (char *)"TimeSpan_IsNull", (PyCFunction
) _wrap_TimeSpan_IsNull
, METH_VARARGS
| METH_KEYWORDS
},
28577 { (char *)"TimeSpan_IsPositive", (PyCFunction
) _wrap_TimeSpan_IsPositive
, METH_VARARGS
| METH_KEYWORDS
},
28578 { (char *)"TimeSpan_IsNegative", (PyCFunction
) _wrap_TimeSpan_IsNegative
, METH_VARARGS
| METH_KEYWORDS
},
28579 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
28580 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
},
28581 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
},
28582 { (char *)"TimeSpan_GetWeeks", (PyCFunction
) _wrap_TimeSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
28583 { (char *)"TimeSpan_GetDays", (PyCFunction
) _wrap_TimeSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
28584 { (char *)"TimeSpan_GetHours", (PyCFunction
) _wrap_TimeSpan_GetHours
, METH_VARARGS
| METH_KEYWORDS
},
28585 { (char *)"TimeSpan_GetMinutes", (PyCFunction
) _wrap_TimeSpan_GetMinutes
, METH_VARARGS
| METH_KEYWORDS
},
28586 { (char *)"TimeSpan_GetSeconds", (PyCFunction
) _wrap_TimeSpan_GetSeconds
, METH_VARARGS
| METH_KEYWORDS
},
28587 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
) _wrap_TimeSpan_GetMilliseconds
, METH_VARARGS
| METH_KEYWORDS
},
28588 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
},
28589 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
},
28590 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
},
28591 { (char *)"delete_DateSpan", (PyCFunction
) _wrap_delete_DateSpan
, METH_VARARGS
| METH_KEYWORDS
},
28592 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
28593 { (char *)"DateSpan_Day", (PyCFunction
) _wrap_DateSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
28594 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
28595 { (char *)"DateSpan_Week", (PyCFunction
) _wrap_DateSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
28596 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
},
28597 { (char *)"DateSpan_Month", (PyCFunction
) _wrap_DateSpan_Month
, METH_VARARGS
| METH_KEYWORDS
},
28598 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
},
28599 { (char *)"DateSpan_Year", (PyCFunction
) _wrap_DateSpan_Year
, METH_VARARGS
| METH_KEYWORDS
},
28600 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
},
28601 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
},
28602 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
28603 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
},
28604 { (char *)"DateSpan_GetYears", (PyCFunction
) _wrap_DateSpan_GetYears
, METH_VARARGS
| METH_KEYWORDS
},
28605 { (char *)"DateSpan_GetMonths", (PyCFunction
) _wrap_DateSpan_GetMonths
, METH_VARARGS
| METH_KEYWORDS
},
28606 { (char *)"DateSpan_GetWeeks", (PyCFunction
) _wrap_DateSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
28607 { (char *)"DateSpan_GetDays", (PyCFunction
) _wrap_DateSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
28608 { (char *)"DateSpan_GetTotalDays", (PyCFunction
) _wrap_DateSpan_GetTotalDays
, METH_VARARGS
| METH_KEYWORDS
},
28609 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
28610 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
28611 { (char *)"DateSpan_Neg", (PyCFunction
) _wrap_DateSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
28612 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
28613 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
28614 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
},
28615 { (char *)"DateSpan___neg__", (PyCFunction
) _wrap_DateSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
28616 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
},
28617 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
28618 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
28619 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
28620 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
28621 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
28622 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
28623 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
},
28624 { (char *)"GetLocalTime", (PyCFunction
) _wrap_GetLocalTime
, METH_VARARGS
| METH_KEYWORDS
},
28625 { (char *)"GetUTCTime", (PyCFunction
) _wrap_GetUTCTime
, METH_VARARGS
| METH_KEYWORDS
},
28626 { (char *)"GetCurrentTime", (PyCFunction
) _wrap_GetCurrentTime
, METH_VARARGS
| METH_KEYWORDS
},
28627 { (char *)"GetLocalTimeMillis", (PyCFunction
) _wrap_GetLocalTimeMillis
, METH_VARARGS
| METH_KEYWORDS
},
28628 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
},
28629 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
},
28630 { (char *)"delete_DataFormat", (PyCFunction
) _wrap_delete_DataFormat
, METH_VARARGS
| METH_KEYWORDS
},
28631 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
},
28632 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
},
28633 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
},
28634 { (char *)"DataFormat_GetType", (PyCFunction
) _wrap_DataFormat_GetType
, METH_VARARGS
| METH_KEYWORDS
},
28635 { (char *)"DataFormat_GetId", (PyCFunction
) _wrap_DataFormat_GetId
, METH_VARARGS
| METH_KEYWORDS
},
28636 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
},
28637 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
},
28638 { (char *)"delete_DataObject", (PyCFunction
) _wrap_delete_DataObject
, METH_VARARGS
| METH_KEYWORDS
},
28639 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
},
28640 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
},
28641 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
},
28642 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
},
28643 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
},
28644 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
},
28645 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28646 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
},
28647 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
},
28648 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
) _wrap_DataObjectSimple_GetFormat
, METH_VARARGS
| METH_KEYWORDS
},
28649 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
},
28650 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
},
28651 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
},
28652 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28653 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
},
28654 { (char *)"new_DataObjectComposite", (PyCFunction
) _wrap_new_DataObjectComposite
, METH_VARARGS
| METH_KEYWORDS
},
28655 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
},
28656 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
},
28657 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28658 { (char *)"TextDataObject_GetTextLength", (PyCFunction
) _wrap_TextDataObject_GetTextLength
, METH_VARARGS
| METH_KEYWORDS
},
28659 { (char *)"TextDataObject_GetText", (PyCFunction
) _wrap_TextDataObject_GetText
, METH_VARARGS
| METH_KEYWORDS
},
28660 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
},
28661 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
},
28662 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28663 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28664 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
},
28665 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28666 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
) _wrap_BitmapDataObject_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
28667 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
28668 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
},
28669 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28670 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28671 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
},
28672 { (char *)"new_FileDataObject", (PyCFunction
) _wrap_new_FileDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28673 { (char *)"FileDataObject_GetFilenames", (PyCFunction
) _wrap_FileDataObject_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
},
28674 { (char *)"FileDataObject_AddFile", (PyCFunction
) _wrap_FileDataObject_AddFile
, METH_VARARGS
| METH_KEYWORDS
},
28675 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
},
28676 { (char *)"new_CustomDataObject", (PyCFunction
) _wrap_new_CustomDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28677 { (char *)"CustomDataObject_TakeData", (PyCFunction
) _wrap_CustomDataObject_TakeData
, METH_VARARGS
| METH_KEYWORDS
},
28678 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28679 { (char *)"CustomDataObject_GetSize", (PyCFunction
) _wrap_CustomDataObject_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
28680 { (char *)"CustomDataObject_GetData", (PyCFunction
) _wrap_CustomDataObject_GetData
, METH_VARARGS
| METH_KEYWORDS
},
28681 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
},
28682 { (char *)"new_URLDataObject", (PyCFunction
) _wrap_new_URLDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28683 { (char *)"URLDataObject_GetURL", (PyCFunction
) _wrap_URLDataObject_GetURL
, METH_VARARGS
| METH_KEYWORDS
},
28684 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
},
28685 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
},
28686 { (char *)"new_MetafileDataObject", (PyCFunction
) _wrap_new_MetafileDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28687 { (char *)"MetafileDataObject_SetMetafile", (PyCFunction
) _wrap_MetafileDataObject_SetMetafile
, METH_VARARGS
| METH_KEYWORDS
},
28688 { (char *)"MetafileDataObject_GetMetafile", (PyCFunction
) _wrap_MetafileDataObject_GetMetafile
, METH_VARARGS
| METH_KEYWORDS
},
28689 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
},
28690 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
},
28691 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
},
28692 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28693 { (char *)"delete_DropSource", (PyCFunction
) _wrap_delete_DropSource
, METH_VARARGS
| METH_KEYWORDS
},
28694 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28695 { (char *)"DropSource_GetDataObject", (PyCFunction
) _wrap_DropSource_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28696 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
28697 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
},
28698 { (char *)"DropSource_base_GiveFeedback", (PyCFunction
) _wrap_DropSource_base_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
},
28699 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
},
28700 { (char *)"new_DropTarget", (PyCFunction
) _wrap_new_DropTarget
, METH_VARARGS
| METH_KEYWORDS
},
28701 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28702 { (char *)"delete_DropTarget", (PyCFunction
) _wrap_delete_DropTarget
, METH_VARARGS
| METH_KEYWORDS
},
28703 { (char *)"DropTarget_GetDataObject", (PyCFunction
) _wrap_DropTarget_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28704 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28705 { (char *)"DropTarget_base_OnEnter", (PyCFunction
) _wrap_DropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
28706 { (char *)"DropTarget_base_OnDragOver", (PyCFunction
) _wrap_DropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
28707 { (char *)"DropTarget_base_OnLeave", (PyCFunction
) _wrap_DropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
28708 { (char *)"DropTarget_base_OnDrop", (PyCFunction
) _wrap_DropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
28709 { (char *)"DropTarget_GetData", (PyCFunction
) _wrap_DropTarget_GetData
, METH_VARARGS
| METH_KEYWORDS
},
28710 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
},
28711 { (char *)"new_TextDropTarget", (PyCFunction
) _wrap_new_TextDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
28712 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28713 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction
) _wrap_TextDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
28714 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
28715 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction
) _wrap_TextDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
28716 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction
) _wrap_TextDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
28717 { (char *)"TextDropTarget_base_OnData", (PyCFunction
) _wrap_TextDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
},
28718 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
},
28719 { (char *)"new_FileDropTarget", (PyCFunction
) _wrap_new_FileDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
28720 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28721 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction
) _wrap_FileDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
28722 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
28723 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction
) _wrap_FileDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
28724 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction
) _wrap_FileDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
28725 { (char *)"FileDropTarget_base_OnData", (PyCFunction
) _wrap_FileDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
},
28726 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
},
28727 { (char *)"new_Clipboard", (PyCFunction
) _wrap_new_Clipboard
, METH_VARARGS
| METH_KEYWORDS
},
28728 { (char *)"delete_Clipboard", (PyCFunction
) _wrap_delete_Clipboard
, METH_VARARGS
| METH_KEYWORDS
},
28729 { (char *)"Clipboard_Open", (PyCFunction
) _wrap_Clipboard_Open
, METH_VARARGS
| METH_KEYWORDS
},
28730 { (char *)"Clipboard_Close", (PyCFunction
) _wrap_Clipboard_Close
, METH_VARARGS
| METH_KEYWORDS
},
28731 { (char *)"Clipboard_IsOpened", (PyCFunction
) _wrap_Clipboard_IsOpened
, METH_VARARGS
| METH_KEYWORDS
},
28732 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
},
28733 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28734 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
},
28735 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
},
28736 { (char *)"Clipboard_Clear", (PyCFunction
) _wrap_Clipboard_Clear
, METH_VARARGS
| METH_KEYWORDS
},
28737 { (char *)"Clipboard_Flush", (PyCFunction
) _wrap_Clipboard_Flush
, METH_VARARGS
| METH_KEYWORDS
},
28738 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
},
28739 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
},
28740 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
},
28741 { (char *)"delete_ClipboardLocker", (PyCFunction
) _wrap_delete_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
},
28742 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
) _wrap_ClipboardLocker___nonzero__
, METH_VARARGS
| METH_KEYWORDS
},
28743 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
},
28744 { (char *)"new_VideoMode", (PyCFunction
) _wrap_new_VideoMode
, METH_VARARGS
| METH_KEYWORDS
},
28745 { (char *)"delete_VideoMode", (PyCFunction
) _wrap_delete_VideoMode
, METH_VARARGS
| METH_KEYWORDS
},
28746 { (char *)"VideoMode_Matches", (PyCFunction
) _wrap_VideoMode_Matches
, METH_VARARGS
| METH_KEYWORDS
},
28747 { (char *)"VideoMode_GetWidth", (PyCFunction
) _wrap_VideoMode_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
28748 { (char *)"VideoMode_GetHeight", (PyCFunction
) _wrap_VideoMode_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
28749 { (char *)"VideoMode_GetDepth", (PyCFunction
) _wrap_VideoMode_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
28750 { (char *)"VideoMode_IsOk", (PyCFunction
) _wrap_VideoMode_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28751 { (char *)"VideoMode___eq__", (PyCFunction
) _wrap_VideoMode___eq__
, METH_VARARGS
| METH_KEYWORDS
},
28752 { (char *)"VideoMode___ne__", (PyCFunction
) _wrap_VideoMode___ne__
, METH_VARARGS
| METH_KEYWORDS
},
28753 { (char *)"VideoMode_w_set", (PyCFunction
) _wrap_VideoMode_w_set
, METH_VARARGS
| METH_KEYWORDS
},
28754 { (char *)"VideoMode_w_get", (PyCFunction
) _wrap_VideoMode_w_get
, METH_VARARGS
| METH_KEYWORDS
},
28755 { (char *)"VideoMode_h_set", (PyCFunction
) _wrap_VideoMode_h_set
, METH_VARARGS
| METH_KEYWORDS
},
28756 { (char *)"VideoMode_h_get", (PyCFunction
) _wrap_VideoMode_h_get
, METH_VARARGS
| METH_KEYWORDS
},
28757 { (char *)"VideoMode_bpp_set", (PyCFunction
) _wrap_VideoMode_bpp_set
, METH_VARARGS
| METH_KEYWORDS
},
28758 { (char *)"VideoMode_bpp_get", (PyCFunction
) _wrap_VideoMode_bpp_get
, METH_VARARGS
| METH_KEYWORDS
},
28759 { (char *)"VideoMode_refresh_set", (PyCFunction
) _wrap_VideoMode_refresh_set
, METH_VARARGS
| METH_KEYWORDS
},
28760 { (char *)"VideoMode_refresh_get", (PyCFunction
) _wrap_VideoMode_refresh_get
, METH_VARARGS
| METH_KEYWORDS
},
28761 { (char *)"VideoMode_swigregister", VideoMode_swigregister
, METH_VARARGS
},
28762 { (char *)"new_Display", (PyCFunction
) _wrap_new_Display
, METH_VARARGS
| METH_KEYWORDS
},
28763 { (char *)"delete_Display", (PyCFunction
) _wrap_delete_Display
, METH_VARARGS
| METH_KEYWORDS
},
28764 { (char *)"Display_GetCount", (PyCFunction
) _wrap_Display_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
28765 { (char *)"Display_GetFromPoint", (PyCFunction
) _wrap_Display_GetFromPoint
, METH_VARARGS
| METH_KEYWORDS
},
28766 { (char *)"Display_GetFromWindow", (PyCFunction
) _wrap_Display_GetFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
28767 { (char *)"Display_IsOk", (PyCFunction
) _wrap_Display_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28768 { (char *)"Display_GetGeometry", (PyCFunction
) _wrap_Display_GetGeometry
, METH_VARARGS
| METH_KEYWORDS
},
28769 { (char *)"Display_GetName", (PyCFunction
) _wrap_Display_GetName
, METH_VARARGS
| METH_KEYWORDS
},
28770 { (char *)"Display_IsPrimary", (PyCFunction
) _wrap_Display_IsPrimary
, METH_VARARGS
| METH_KEYWORDS
},
28771 { (char *)"Display_GetModes", (PyCFunction
) _wrap_Display_GetModes
, METH_VARARGS
| METH_KEYWORDS
},
28772 { (char *)"Display_GetCurrentMode", (PyCFunction
) _wrap_Display_GetCurrentMode
, METH_VARARGS
| METH_KEYWORDS
},
28773 { (char *)"Display_ChangeMode", (PyCFunction
) _wrap_Display_ChangeMode
, METH_VARARGS
| METH_KEYWORDS
},
28774 { (char *)"Display_ResetMode", (PyCFunction
) _wrap_Display_ResetMode
, METH_VARARGS
| METH_KEYWORDS
},
28775 { (char *)"Display_swigregister", Display_swigregister
, METH_VARARGS
},
28780 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
28782 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
28783 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
28785 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
28786 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
28788 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
28789 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
28791 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
28792 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
28794 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
28795 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
28797 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
28798 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
28800 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
28801 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
28803 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
28804 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
28806 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
28807 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
28809 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
28810 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
28812 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
28813 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
28815 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
28816 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
28818 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
28819 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
28821 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
28822 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
28824 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
28825 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
28827 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
28828 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
28830 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
28831 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
28833 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
28834 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
28836 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
28837 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
28839 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
28840 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
28842 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
28843 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
28845 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
28846 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
28848 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
28849 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
28851 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
28852 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
28854 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
28855 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
28857 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
28858 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
28860 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
28861 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
28863 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
28864 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
28866 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
28867 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
28869 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
28870 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
28872 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
28873 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
28875 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
28876 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
28878 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
28879 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
28881 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
28882 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
28884 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
28885 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
28887 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
28888 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
28890 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
28891 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
28893 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
28894 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
28896 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
28897 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
28899 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
28900 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
28902 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
28903 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
28905 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
28906 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
28908 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
28909 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
28911 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
28912 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
28914 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
28915 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
28917 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
28918 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
28920 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
28921 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
28923 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
28924 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
28926 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
28927 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
28929 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
28930 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
28932 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
28933 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
28935 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
28936 return (void *)((wxDataObject
*) (wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
28938 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
28939 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
28941 static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x
) {
28942 return (void *)((wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
28944 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
28945 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
28947 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
28948 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
28950 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
28951 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
28953 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
28954 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
28956 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
28957 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
28959 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
28960 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
28962 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
28963 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
28965 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
28966 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
28968 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
28969 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
28971 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
28972 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
28974 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
28975 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
28977 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
28978 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
28980 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
28981 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
28983 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
28984 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
28986 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
28987 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
28989 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
28990 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
28992 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
28993 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
28995 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
28996 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
28998 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
28999 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
29001 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
29002 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
29004 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
29005 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
29007 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
29008 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
29010 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
29011 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
29013 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
29014 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
29016 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
29017 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
29019 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
29020 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
29022 static void *_p_wxSizerTo_p_wxObject(void *x
) {
29023 return (void *)((wxObject
*) ((wxSizer
*) x
));
29025 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
29026 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
29028 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
29029 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
29031 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
29032 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
29034 static void *_p_wxEventTo_p_wxObject(void *x
) {
29035 return (void *)((wxObject
*) ((wxEvent
*) x
));
29037 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
29038 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
29040 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
29041 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
29043 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
29044 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
29046 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
29047 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
29049 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
29050 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
29052 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
29053 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
29055 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
29056 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
29058 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
29059 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
29061 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
29062 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
29064 static void *_p_wxControlTo_p_wxObject(void *x
) {
29065 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
29067 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
29068 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
29070 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
29071 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
29073 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
29074 return (void *)((wxObject
*) ((wxFSFile
*) x
));
29076 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
29077 return (void *)((wxObject
*) ((wxClipboard
*) x
));
29079 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
29080 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
29082 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
29083 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
29085 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
29086 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
29088 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
29089 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
29091 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
29092 return (void *)((wxObject
*) ((wxToolTip
*) x
));
29094 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
29095 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
29097 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
29098 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
29100 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
29101 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
29103 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
29104 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
29106 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
29107 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
29109 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
29110 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
29112 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
29113 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
29115 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
29116 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
29118 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
29119 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
29121 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
29122 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
29124 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
29125 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
29127 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
29128 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
29130 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
29131 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
29133 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
29134 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
29136 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
29137 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
29139 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
29140 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
29142 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
29143 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
29145 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
29146 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
29148 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
29149 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
29151 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
29152 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
29154 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
29155 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
29157 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
29158 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
29160 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
29161 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
29163 static void *_p_wxImageTo_p_wxObject(void *x
) {
29164 return (void *)((wxObject
*) ((wxImage
*) x
));
29166 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
29167 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
29169 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
29170 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
29172 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
29173 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
29175 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
29176 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
29178 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
29179 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
29181 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
29182 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
29184 static void *_p_wxWindowTo_p_wxObject(void *x
) {
29185 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
29187 static void *_p_wxMenuTo_p_wxObject(void *x
) {
29188 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
29190 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
29191 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
29193 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
29194 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
29196 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
29197 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
29199 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
29200 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
29202 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
29203 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
29205 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
29206 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
29208 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
29209 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
29211 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
29212 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
29214 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
29215 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
29217 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
29218 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
29220 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
29221 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
29223 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
29224 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
29226 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
29227 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
29229 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
29230 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
29232 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
29233 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
29235 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
29236 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
29238 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
29239 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
29241 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
29242 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
29244 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
29245 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
29247 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
29248 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
29250 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
29251 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
29253 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
29254 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
29256 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
29257 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
29259 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
29260 return (void *)((wxLog
*) ((wxLogChain
*) x
));
29262 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
29263 return (void *)((wxLog
*) ((wxLogGui
*) x
));
29265 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
29266 return (void *)((wxLog
*) ((wxPyLog
*) x
));
29268 static void *_p_wxControlTo_p_wxWindow(void *x
) {
29269 return (void *)((wxWindow
*) ((wxControl
*) x
));
29271 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
29272 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
29274 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
29275 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
29277 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
29278 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
29280 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
29281 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
29283 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}};
29284 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}};
29285 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}};
29286 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}};
29287 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}};
29288 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}};
29289 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}};
29290 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}};
29291 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}};
29292 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}};
29293 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}};
29294 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}};
29295 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}};
29296 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}};
29297 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}};
29298 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}};
29299 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}};
29300 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}};
29301 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}};
29302 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}};
29303 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}};
29304 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}};
29305 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}};
29306 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}};
29307 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}};
29308 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}};
29309 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}};
29310 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}};
29311 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}};
29312 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}};
29313 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}};
29314 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}};
29315 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}};
29316 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}};
29317 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}};
29318 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}};
29319 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}};
29320 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}};
29321 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}};
29322 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}};
29323 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}};
29324 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}};
29325 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}};
29326 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}};
29327 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}};
29328 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}};
29329 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}};
29330 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}};
29331 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}};
29332 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}};
29333 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}};
29334 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}};
29335 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}};
29336 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}};
29337 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}};
29338 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}};
29339 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}};
29340 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}};
29341 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}};
29342 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}};
29343 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}};
29344 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}};
29345 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}};
29346 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}};
29347 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}};
29348 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}};
29349 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}};
29350 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}};
29351 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}};
29352 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}};
29353 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}};
29354 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}};
29355 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}};
29356 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}};
29357 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}};
29358 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}};
29359 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}};
29360 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}};
29361 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}};
29362 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}};
29363 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}};
29364 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}};
29365 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}};
29366 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}};
29367 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}};
29368 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}};
29370 static swig_type_info
*swig_types_initial
[] = {
29371 _swigt__p_wxLogChain
,
29372 _swigt__p_wxMutexGuiLocker
,
29373 _swigt__p_wxMetafile
,
29374 _swigt__p_wxFileHistory
,
29376 _swigt__p_wxDateTime__TimeZone
,
29379 _swigt__p_wxConfigBase
,
29380 _swigt__p_wxDisplay
,
29381 _swigt__p_wxFileType
,
29382 _swigt__p_wxLogGui
,
29384 _swigt__p_wxDataFormat
,
29385 _swigt__p_wxTimerEvent
,
29389 _swigt__p_wxClipboard
,
29390 _swigt__p_wxStopWatch
,
29392 _swigt__p_wxClipboardLocker
,
29394 _swigt__p_wxLogStderr
,
29395 _swigt__p_wxLogTextCtrl
,
29396 _swigt__p_wxTextCtrl
,
29397 _swigt__p_wxBusyCursor
,
29398 _swigt__p_wxPyBitmapDataObject
,
29399 _swigt__p_wxPyTextDataObject
,
29400 _swigt__p_wxBitmapDataObject
,
29401 _swigt__p_wxTextDataObject
,
29402 _swigt__p_wxDataObject
,
29403 _swigt__p_wxFileDataObject
,
29404 _swigt__p_wxCustomDataObject
,
29405 _swigt__p_wxURLDataObject
,
29406 _swigt__p_wxMetafileDataObject
,
29408 _swigt__p_wxTimerRunner
,
29409 _swigt__p_wxLogWindow
,
29410 _swigt__p_wxTimeSpan
,
29411 _swigt__p_wxArrayString
,
29412 _swigt__p_wxWindowDisabler
,
29413 _swigt__p_wxToolTip
,
29414 _swigt__p_wxDataObjectComposite
,
29415 _swigt__p_wxFileConfig
,
29416 _swigt__p_wxSystemSettings
,
29417 _swigt__p_wxVideoMode
,
29418 _swigt__p_wxPyDataObjectSimple
,
29419 _swigt__p_wxDataObjectSimple
,
29420 _swigt__p_wxEvtHandler
,
29423 _swigt__p_wxSingleInstanceChecker
,
29424 _swigt__p_wxFileTypeInfo
,
29427 _swigt__p_wxMimeTypesManager
,
29428 _swigt__p_wxPyArtProvider
,
29429 _swigt__p_wxPyTipProvider
,
29430 _swigt__p_wxTipProvider
,
29431 _swigt__p_wxJoystick
,
29432 _swigt__p_wxSystemOptions
,
29434 _swigt__p_wxJoystickEvent
,
29435 _swigt__p_wxCursor
,
29436 _swigt__p_wxObject
,
29437 _swigt__p_wxOutputStream
,
29438 _swigt__p_wxDateTime
,
29439 _swigt__p_wxPyDropSource
,
29440 _swigt__p_wxWindow
,
29441 _swigt__p_wxString
,
29442 _swigt__p_wxPyProcess
,
29443 _swigt__p_wxBitmap
,
29444 _swigt__p_wxConfig
,
29446 _swigt__p_wxBusyInfo
,
29447 _swigt__p_wxPyDropTarget
,
29448 _swigt__p_wxPyTextDropTarget
,
29449 _swigt__p_wxPyFileDropTarget
,
29450 _swigt__p_wxProcessEvent
,
29452 _swigt__p_wxLogNull
,
29453 _swigt__p_wxColour
,
29454 _swigt__p_wxConfigPathChanger
,
29455 _swigt__p_wxPyTimer
,
29456 _swigt__p_wxDateSpan
,
29461 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
29463 static swig_const_info swig_const_table
[] = {
29464 { SWIG_PY_POINTER
, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", &SWIGTYPE_p_char
},
29465 { SWIG_PY_POINTER
, (char*)"TRACE_Messages", 0, 0, (void *)"messages", &SWIGTYPE_p_char
},
29466 { SWIG_PY_POINTER
, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", &SWIGTYPE_p_char
},
29467 { SWIG_PY_POINTER
, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", &SWIGTYPE_p_char
},
29468 { SWIG_PY_POINTER
, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", &SWIGTYPE_p_char
},
29478 SWIGEXPORT(void) SWIG_init(void) {
29479 static PyObject
*SWIG_globals
= 0;
29480 static int typeinit
= 0;
29483 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
29484 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
29485 d
= PyModule_GetDict(m
);
29488 for (i
= 0; swig_types_initial
[i
]; i
++) {
29489 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
29493 SWIG_InstallConstants(d
,swig_const_table
);
29495 PyDict_SetItemString(d
,"SYS_OEM_FIXED_FONT", SWIG_FromInt((int)wxSYS_OEM_FIXED_FONT
));
29496 PyDict_SetItemString(d
,"SYS_ANSI_FIXED_FONT", SWIG_FromInt((int)wxSYS_ANSI_FIXED_FONT
));
29497 PyDict_SetItemString(d
,"SYS_ANSI_VAR_FONT", SWIG_FromInt((int)wxSYS_ANSI_VAR_FONT
));
29498 PyDict_SetItemString(d
,"SYS_SYSTEM_FONT", SWIG_FromInt((int)wxSYS_SYSTEM_FONT
));
29499 PyDict_SetItemString(d
,"SYS_DEVICE_DEFAULT_FONT", SWIG_FromInt((int)wxSYS_DEVICE_DEFAULT_FONT
));
29500 PyDict_SetItemString(d
,"SYS_DEFAULT_PALETTE", SWIG_FromInt((int)wxSYS_DEFAULT_PALETTE
));
29501 PyDict_SetItemString(d
,"SYS_SYSTEM_FIXED_FONT", SWIG_FromInt((int)wxSYS_SYSTEM_FIXED_FONT
));
29502 PyDict_SetItemString(d
,"SYS_DEFAULT_GUI_FONT", SWIG_FromInt((int)wxSYS_DEFAULT_GUI_FONT
));
29503 PyDict_SetItemString(d
,"SYS_ICONTITLE_FONT", SWIG_FromInt((int)wxSYS_ICONTITLE_FONT
));
29504 PyDict_SetItemString(d
,"SYS_COLOUR_SCROLLBAR", SWIG_FromInt((int)wxSYS_COLOUR_SCROLLBAR
));
29505 PyDict_SetItemString(d
,"SYS_COLOUR_BACKGROUND", SWIG_FromInt((int)wxSYS_COLOUR_BACKGROUND
));
29506 PyDict_SetItemString(d
,"SYS_COLOUR_DESKTOP", SWIG_FromInt((int)wxSYS_COLOUR_DESKTOP
));
29507 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_ACTIVECAPTION
));
29508 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVECAPTION
));
29509 PyDict_SetItemString(d
,"SYS_COLOUR_MENU", SWIG_FromInt((int)wxSYS_COLOUR_MENU
));
29510 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOW", SWIG_FromInt((int)wxSYS_COLOUR_WINDOW
));
29511 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWFRAME", SWIG_FromInt((int)wxSYS_COLOUR_WINDOWFRAME
));
29512 PyDict_SetItemString(d
,"SYS_COLOUR_MENUTEXT", SWIG_FromInt((int)wxSYS_COLOUR_MENUTEXT
));
29513 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWTEXT", SWIG_FromInt((int)wxSYS_COLOUR_WINDOWTEXT
));
29514 PyDict_SetItemString(d
,"SYS_COLOUR_CAPTIONTEXT", SWIG_FromInt((int)wxSYS_COLOUR_CAPTIONTEXT
));
29515 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVEBORDER", SWIG_FromInt((int)wxSYS_COLOUR_ACTIVEBORDER
));
29516 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVEBORDER", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVEBORDER
));
29517 PyDict_SetItemString(d
,"SYS_COLOUR_APPWORKSPACE", SWIG_FromInt((int)wxSYS_COLOUR_APPWORKSPACE
));
29518 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_HIGHLIGHT
));
29519 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_FromInt((int)wxSYS_COLOUR_HIGHLIGHTTEXT
));
29520 PyDict_SetItemString(d
,"SYS_COLOUR_BTNFACE", SWIG_FromInt((int)wxSYS_COLOUR_BTNFACE
));
29521 PyDict_SetItemString(d
,"SYS_COLOUR_3DFACE", SWIG_FromInt((int)wxSYS_COLOUR_3DFACE
));
29522 PyDict_SetItemString(d
,"SYS_COLOUR_BTNSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_BTNSHADOW
));
29523 PyDict_SetItemString(d
,"SYS_COLOUR_3DSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_3DSHADOW
));
29524 PyDict_SetItemString(d
,"SYS_COLOUR_GRAYTEXT", SWIG_FromInt((int)wxSYS_COLOUR_GRAYTEXT
));
29525 PyDict_SetItemString(d
,"SYS_COLOUR_BTNTEXT", SWIG_FromInt((int)wxSYS_COLOUR_BTNTEXT
));
29526 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVECAPTIONTEXT
));
29527 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_BTNHIGHLIGHT
));
29528 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_BTNHILIGHT
));
29529 PyDict_SetItemString(d
,"SYS_COLOUR_3DHIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DHIGHLIGHT
));
29530 PyDict_SetItemString(d
,"SYS_COLOUR_3DHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DHILIGHT
));
29531 PyDict_SetItemString(d
,"SYS_COLOUR_3DDKSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_3DDKSHADOW
));
29532 PyDict_SetItemString(d
,"SYS_COLOUR_3DLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DLIGHT
));
29533 PyDict_SetItemString(d
,"SYS_COLOUR_INFOTEXT", SWIG_FromInt((int)wxSYS_COLOUR_INFOTEXT
));
29534 PyDict_SetItemString(d
,"SYS_COLOUR_INFOBK", SWIG_FromInt((int)wxSYS_COLOUR_INFOBK
));
29535 PyDict_SetItemString(d
,"SYS_COLOUR_LISTBOX", SWIG_FromInt((int)wxSYS_COLOUR_LISTBOX
));
29536 PyDict_SetItemString(d
,"SYS_COLOUR_HOTLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_HOTLIGHT
));
29537 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_GRADIENTACTIVECAPTION
));
29538 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_GRADIENTINACTIVECAPTION
));
29539 PyDict_SetItemString(d
,"SYS_COLOUR_MENUHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_MENUHILIGHT
));
29540 PyDict_SetItemString(d
,"SYS_COLOUR_MENUBAR", SWIG_FromInt((int)wxSYS_COLOUR_MENUBAR
));
29541 PyDict_SetItemString(d
,"SYS_COLOUR_MAX", SWIG_FromInt((int)wxSYS_COLOUR_MAX
));
29542 PyDict_SetItemString(d
,"SYS_MOUSE_BUTTONS", SWIG_FromInt((int)wxSYS_MOUSE_BUTTONS
));
29543 PyDict_SetItemString(d
,"SYS_BORDER_X", SWIG_FromInt((int)wxSYS_BORDER_X
));
29544 PyDict_SetItemString(d
,"SYS_BORDER_Y", SWIG_FromInt((int)wxSYS_BORDER_Y
));
29545 PyDict_SetItemString(d
,"SYS_CURSOR_X", SWIG_FromInt((int)wxSYS_CURSOR_X
));
29546 PyDict_SetItemString(d
,"SYS_CURSOR_Y", SWIG_FromInt((int)wxSYS_CURSOR_Y
));
29547 PyDict_SetItemString(d
,"SYS_DCLICK_X", SWIG_FromInt((int)wxSYS_DCLICK_X
));
29548 PyDict_SetItemString(d
,"SYS_DCLICK_Y", SWIG_FromInt((int)wxSYS_DCLICK_Y
));
29549 PyDict_SetItemString(d
,"SYS_DRAG_X", SWIG_FromInt((int)wxSYS_DRAG_X
));
29550 PyDict_SetItemString(d
,"SYS_DRAG_Y", SWIG_FromInt((int)wxSYS_DRAG_Y
));
29551 PyDict_SetItemString(d
,"SYS_EDGE_X", SWIG_FromInt((int)wxSYS_EDGE_X
));
29552 PyDict_SetItemString(d
,"SYS_EDGE_Y", SWIG_FromInt((int)wxSYS_EDGE_Y
));
29553 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_X", SWIG_FromInt((int)wxSYS_HSCROLL_ARROW_X
));
29554 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_Y", SWIG_FromInt((int)wxSYS_HSCROLL_ARROW_Y
));
29555 PyDict_SetItemString(d
,"SYS_HTHUMB_X", SWIG_FromInt((int)wxSYS_HTHUMB_X
));
29556 PyDict_SetItemString(d
,"SYS_ICON_X", SWIG_FromInt((int)wxSYS_ICON_X
));
29557 PyDict_SetItemString(d
,"SYS_ICON_Y", SWIG_FromInt((int)wxSYS_ICON_Y
));
29558 PyDict_SetItemString(d
,"SYS_ICONSPACING_X", SWIG_FromInt((int)wxSYS_ICONSPACING_X
));
29559 PyDict_SetItemString(d
,"SYS_ICONSPACING_Y", SWIG_FromInt((int)wxSYS_ICONSPACING_Y
));
29560 PyDict_SetItemString(d
,"SYS_WINDOWMIN_X", SWIG_FromInt((int)wxSYS_WINDOWMIN_X
));
29561 PyDict_SetItemString(d
,"SYS_WINDOWMIN_Y", SWIG_FromInt((int)wxSYS_WINDOWMIN_Y
));
29562 PyDict_SetItemString(d
,"SYS_SCREEN_X", SWIG_FromInt((int)wxSYS_SCREEN_X
));
29563 PyDict_SetItemString(d
,"SYS_SCREEN_Y", SWIG_FromInt((int)wxSYS_SCREEN_Y
));
29564 PyDict_SetItemString(d
,"SYS_FRAMESIZE_X", SWIG_FromInt((int)wxSYS_FRAMESIZE_X
));
29565 PyDict_SetItemString(d
,"SYS_FRAMESIZE_Y", SWIG_FromInt((int)wxSYS_FRAMESIZE_Y
));
29566 PyDict_SetItemString(d
,"SYS_SMALLICON_X", SWIG_FromInt((int)wxSYS_SMALLICON_X
));
29567 PyDict_SetItemString(d
,"SYS_SMALLICON_Y", SWIG_FromInt((int)wxSYS_SMALLICON_Y
));
29568 PyDict_SetItemString(d
,"SYS_HSCROLL_Y", SWIG_FromInt((int)wxSYS_HSCROLL_Y
));
29569 PyDict_SetItemString(d
,"SYS_VSCROLL_X", SWIG_FromInt((int)wxSYS_VSCROLL_X
));
29570 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_X", SWIG_FromInt((int)wxSYS_VSCROLL_ARROW_X
));
29571 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_Y", SWIG_FromInt((int)wxSYS_VSCROLL_ARROW_Y
));
29572 PyDict_SetItemString(d
,"SYS_VTHUMB_Y", SWIG_FromInt((int)wxSYS_VTHUMB_Y
));
29573 PyDict_SetItemString(d
,"SYS_CAPTION_Y", SWIG_FromInt((int)wxSYS_CAPTION_Y
));
29574 PyDict_SetItemString(d
,"SYS_MENU_Y", SWIG_FromInt((int)wxSYS_MENU_Y
));
29575 PyDict_SetItemString(d
,"SYS_NETWORK_PRESENT", SWIG_FromInt((int)wxSYS_NETWORK_PRESENT
));
29576 PyDict_SetItemString(d
,"SYS_PENWINDOWS_PRESENT", SWIG_FromInt((int)wxSYS_PENWINDOWS_PRESENT
));
29577 PyDict_SetItemString(d
,"SYS_SHOW_SOUNDS", SWIG_FromInt((int)wxSYS_SHOW_SOUNDS
));
29578 PyDict_SetItemString(d
,"SYS_SWAP_BUTTONS", SWIG_FromInt((int)wxSYS_SWAP_BUTTONS
));
29579 PyDict_SetItemString(d
,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_FromInt((int)wxSYS_CAN_DRAW_FRAME_DECORATIONS
));
29580 PyDict_SetItemString(d
,"SYS_CAN_ICONIZE_FRAME", SWIG_FromInt((int)wxSYS_CAN_ICONIZE_FRAME
));
29581 PyDict_SetItemString(d
,"SYS_SCREEN_NONE", SWIG_FromInt((int)wxSYS_SCREEN_NONE
));
29582 PyDict_SetItemString(d
,"SYS_SCREEN_TINY", SWIG_FromInt((int)wxSYS_SCREEN_TINY
));
29583 PyDict_SetItemString(d
,"SYS_SCREEN_PDA", SWIG_FromInt((int)wxSYS_SCREEN_PDA
));
29584 PyDict_SetItemString(d
,"SYS_SCREEN_SMALL", SWIG_FromInt((int)wxSYS_SCREEN_SMALL
));
29585 PyDict_SetItemString(d
,"SYS_SCREEN_DESKTOP", SWIG_FromInt((int)wxSYS_SCREEN_DESKTOP
));
29586 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
29587 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
29588 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
29589 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
29590 PyDict_SetItemString(d
,"SHUTDOWN_POWEROFF", SWIG_FromInt((int)wxSHUTDOWN_POWEROFF
));
29591 PyDict_SetItemString(d
,"SHUTDOWN_REBOOT", SWIG_FromInt((int)wxSHUTDOWN_REBOOT
));
29592 PyDict_SetItemString(d
,"TIMER_CONTINUOUS", SWIG_FromInt((int)wxTIMER_CONTINUOUS
));
29593 PyDict_SetItemString(d
,"TIMER_ONE_SHOT", SWIG_FromInt((int)wxTIMER_ONE_SHOT
));
29594 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
29595 PyDict_SetItemString(d
,"LOG_FatalError", SWIG_FromInt((int)wxLOG_FatalError
));
29596 PyDict_SetItemString(d
,"LOG_Error", SWIG_FromInt((int)wxLOG_Error
));
29597 PyDict_SetItemString(d
,"LOG_Warning", SWIG_FromInt((int)wxLOG_Warning
));
29598 PyDict_SetItemString(d
,"LOG_Message", SWIG_FromInt((int)wxLOG_Message
));
29599 PyDict_SetItemString(d
,"LOG_Status", SWIG_FromInt((int)wxLOG_Status
));
29600 PyDict_SetItemString(d
,"LOG_Info", SWIG_FromInt((int)wxLOG_Info
));
29601 PyDict_SetItemString(d
,"LOG_Debug", SWIG_FromInt((int)wxLOG_Debug
));
29602 PyDict_SetItemString(d
,"LOG_Trace", SWIG_FromInt((int)wxLOG_Trace
));
29603 PyDict_SetItemString(d
,"LOG_Progress", SWIG_FromInt((int)wxLOG_Progress
));
29604 PyDict_SetItemString(d
,"LOG_User", SWIG_FromInt((int)wxLOG_User
));
29605 PyDict_SetItemString(d
,"LOG_Max", SWIG_FromInt((int)wxLOG_Max
));
29606 PyDict_SetItemString(d
,"TRACE_MemAlloc", SWIG_FromCharPtr("memalloc"));
29607 PyDict_SetItemString(d
,"TRACE_Messages", SWIG_FromCharPtr("messages"));
29608 PyDict_SetItemString(d
,"TRACE_ResAlloc", SWIG_FromCharPtr("resalloc"));
29609 PyDict_SetItemString(d
,"TRACE_RefCount", SWIG_FromCharPtr("refcount"));
29610 PyDict_SetItemString(d
,"TRACE_OleCalls", SWIG_FromCharPtr("ole"));
29611 PyDict_SetItemString(d
,"TraceMemAlloc", SWIG_FromInt((int)0x0001));
29612 PyDict_SetItemString(d
,"TraceMessages", SWIG_FromInt((int)0x0002));
29613 PyDict_SetItemString(d
,"TraceResAlloc", SWIG_FromInt((int)0x0004));
29614 PyDict_SetItemString(d
,"TraceRefCount", SWIG_FromInt((int)0x0008));
29615 PyDict_SetItemString(d
,"TraceOleCalls", SWIG_FromInt((int)0x0100));
29616 PyDict_SetItemString(d
,"PROCESS_DEFAULT", SWIG_FromInt((int)wxPROCESS_DEFAULT
));
29617 PyDict_SetItemString(d
,"PROCESS_REDIRECT", SWIG_FromInt((int)wxPROCESS_REDIRECT
));
29618 PyDict_SetItemString(d
,"KILL_OK", SWIG_FromInt((int)wxKILL_OK
));
29619 PyDict_SetItemString(d
,"KILL_BAD_SIGNAL", SWIG_FromInt((int)wxKILL_BAD_SIGNAL
));
29620 PyDict_SetItemString(d
,"KILL_ACCESS_DENIED", SWIG_FromInt((int)wxKILL_ACCESS_DENIED
));
29621 PyDict_SetItemString(d
,"KILL_NO_PROCESS", SWIG_FromInt((int)wxKILL_NO_PROCESS
));
29622 PyDict_SetItemString(d
,"KILL_ERROR", SWIG_FromInt((int)wxKILL_ERROR
));
29623 PyDict_SetItemString(d
,"SIGNONE", SWIG_FromInt((int)wxSIGNONE
));
29624 PyDict_SetItemString(d
,"SIGHUP", SWIG_FromInt((int)wxSIGHUP
));
29625 PyDict_SetItemString(d
,"SIGINT", SWIG_FromInt((int)wxSIGINT
));
29626 PyDict_SetItemString(d
,"SIGQUIT", SWIG_FromInt((int)wxSIGQUIT
));
29627 PyDict_SetItemString(d
,"SIGILL", SWIG_FromInt((int)wxSIGILL
));
29628 PyDict_SetItemString(d
,"SIGTRAP", SWIG_FromInt((int)wxSIGTRAP
));
29629 PyDict_SetItemString(d
,"SIGABRT", SWIG_FromInt((int)wxSIGABRT
));
29630 PyDict_SetItemString(d
,"SIGIOT", SWIG_FromInt((int)wxSIGIOT
));
29631 PyDict_SetItemString(d
,"SIGEMT", SWIG_FromInt((int)wxSIGEMT
));
29632 PyDict_SetItemString(d
,"SIGFPE", SWIG_FromInt((int)wxSIGFPE
));
29633 PyDict_SetItemString(d
,"SIGKILL", SWIG_FromInt((int)wxSIGKILL
));
29634 PyDict_SetItemString(d
,"SIGBUS", SWIG_FromInt((int)wxSIGBUS
));
29635 PyDict_SetItemString(d
,"SIGSEGV", SWIG_FromInt((int)wxSIGSEGV
));
29636 PyDict_SetItemString(d
,"SIGSYS", SWIG_FromInt((int)wxSIGSYS
));
29637 PyDict_SetItemString(d
,"SIGPIPE", SWIG_FromInt((int)wxSIGPIPE
));
29638 PyDict_SetItemString(d
,"SIGALRM", SWIG_FromInt((int)wxSIGALRM
));
29639 PyDict_SetItemString(d
,"SIGTERM", SWIG_FromInt((int)wxSIGTERM
));
29640 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
29641 PyDict_SetItemString(d
,"EXEC_ASYNC", SWIG_FromInt((int)wxEXEC_ASYNC
));
29642 PyDict_SetItemString(d
,"EXEC_SYNC", SWIG_FromInt((int)wxEXEC_SYNC
));
29643 PyDict_SetItemString(d
,"EXEC_NOHIDE", SWIG_FromInt((int)wxEXEC_NOHIDE
));
29644 PyDict_SetItemString(d
,"EXEC_MAKE_GROUP_LEADER", SWIG_FromInt((int)wxEXEC_MAKE_GROUP_LEADER
));
29646 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
29648 PyDict_SetItemString(d
,"JOYSTICK1", SWIG_FromInt((int)wxJOYSTICK1
));
29649 PyDict_SetItemString(d
,"JOYSTICK2", SWIG_FromInt((int)wxJOYSTICK2
));
29650 PyDict_SetItemString(d
,"JOY_BUTTON_ANY", SWIG_FromInt((int)wxJOY_BUTTON_ANY
));
29651 PyDict_SetItemString(d
,"JOY_BUTTON1", SWIG_FromInt((int)wxJOY_BUTTON1
));
29652 PyDict_SetItemString(d
,"JOY_BUTTON2", SWIG_FromInt((int)wxJOY_BUTTON2
));
29653 PyDict_SetItemString(d
,"JOY_BUTTON3", SWIG_FromInt((int)wxJOY_BUTTON3
));
29654 PyDict_SetItemString(d
,"JOY_BUTTON4", SWIG_FromInt((int)wxJOY_BUTTON4
));
29655 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
29656 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
29657 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
29658 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
29659 PyDict_SetItemString(d
,"SOUND_SYNC", SWIG_FromInt((int)wxSOUND_SYNC
));
29660 PyDict_SetItemString(d
,"SOUND_ASYNC", SWIG_FromInt((int)wxSOUND_ASYNC
));
29661 PyDict_SetItemString(d
,"SOUND_LOOP", SWIG_FromInt((int)wxSOUND_LOOP
));
29662 PyDict_SetItemString(d
,"MAILCAP_STANDARD", SWIG_FromInt((int)wxMAILCAP_STANDARD
));
29663 PyDict_SetItemString(d
,"MAILCAP_NETSCAPE", SWIG_FromInt((int)wxMAILCAP_NETSCAPE
));
29664 PyDict_SetItemString(d
,"MAILCAP_KDE", SWIG_FromInt((int)wxMAILCAP_KDE
));
29665 PyDict_SetItemString(d
,"MAILCAP_GNOME", SWIG_FromInt((int)wxMAILCAP_GNOME
));
29666 PyDict_SetItemString(d
,"MAILCAP_ALL", SWIG_FromInt((int)wxMAILCAP_ALL
));
29667 SWIG_addvarlink(SWIG_globals
,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get
, _wrap_TheMimeTypesManager_set
);
29668 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get
, _wrap_ART_TOOLBAR_set
);
29669 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MENU",_wrap_ART_MENU_get
, _wrap_ART_MENU_set
);
29670 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get
, _wrap_ART_FRAME_ICON_set
);
29671 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get
, _wrap_ART_CMN_DIALOG_set
);
29672 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get
, _wrap_ART_HELP_BROWSER_set
);
29673 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get
, _wrap_ART_MESSAGE_BOX_set
);
29674 SWIG_addvarlink(SWIG_globals
,(char*)"ART_OTHER",_wrap_ART_OTHER_get
, _wrap_ART_OTHER_set
);
29675 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get
, _wrap_ART_ADD_BOOKMARK_set
);
29676 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get
, _wrap_ART_DEL_BOOKMARK_set
);
29677 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get
, _wrap_ART_HELP_SIDE_PANEL_set
);
29678 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get
, _wrap_ART_HELP_SETTINGS_set
);
29679 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get
, _wrap_ART_HELP_BOOK_set
);
29680 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get
, _wrap_ART_HELP_FOLDER_set
);
29681 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get
, _wrap_ART_HELP_PAGE_set
);
29682 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get
, _wrap_ART_GO_BACK_set
);
29683 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get
, _wrap_ART_GO_FORWARD_set
);
29684 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get
, _wrap_ART_GO_UP_set
);
29685 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get
, _wrap_ART_GO_DOWN_set
);
29686 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get
, _wrap_ART_GO_TO_PARENT_set
);
29687 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get
, _wrap_ART_GO_HOME_set
);
29688 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get
, _wrap_ART_FILE_OPEN_set
);
29689 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PRINT",_wrap_ART_PRINT_get
, _wrap_ART_PRINT_set
);
29690 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP",_wrap_ART_HELP_get
, _wrap_ART_HELP_set
);
29691 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TIP",_wrap_ART_TIP_get
, _wrap_ART_TIP_set
);
29692 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get
, _wrap_ART_REPORT_VIEW_set
);
29693 SWIG_addvarlink(SWIG_globals
,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get
, _wrap_ART_LIST_VIEW_set
);
29694 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get
, _wrap_ART_NEW_DIR_set
);
29695 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get
, _wrap_ART_FOLDER_set
);
29696 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get
, _wrap_ART_GO_DIR_UP_set
);
29697 SWIG_addvarlink(SWIG_globals
,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get
, _wrap_ART_EXECUTABLE_FILE_set
);
29698 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get
, _wrap_ART_NORMAL_FILE_set
);
29699 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get
, _wrap_ART_TICK_MARK_set
);
29700 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get
, _wrap_ART_CROSS_MARK_set
);
29701 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ERROR",_wrap_ART_ERROR_get
, _wrap_ART_ERROR_set
);
29702 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get
, _wrap_ART_QUESTION_set
);
29703 SWIG_addvarlink(SWIG_globals
,(char*)"ART_WARNING",_wrap_ART_WARNING_get
, _wrap_ART_WARNING_set
);
29704 SWIG_addvarlink(SWIG_globals
,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get
, _wrap_ART_INFORMATION_set
);
29705 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get
, _wrap_ART_MISSING_IMAGE_set
);
29707 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
29709 PyDict_SetItemString(d
,"CONFIG_USE_LOCAL_FILE", SWIG_FromInt((int)wxCONFIG_USE_LOCAL_FILE
));
29710 PyDict_SetItemString(d
,"CONFIG_USE_GLOBAL_FILE", SWIG_FromInt((int)wxCONFIG_USE_GLOBAL_FILE
));
29711 PyDict_SetItemString(d
,"CONFIG_USE_RELATIVE_PATH", SWIG_FromInt((int)wxCONFIG_USE_RELATIVE_PATH
));
29712 PyDict_SetItemString(d
,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_FromInt((int)wxCONFIG_USE_NO_ESCAPE_CHARACTERS
));
29713 PyDict_SetItemString(d
,"ConfigBase_Type_Unknown", SWIG_FromInt((int)wxConfigBase::Type_Unknown
));
29714 PyDict_SetItemString(d
,"ConfigBase_Type_String", SWIG_FromInt((int)wxConfigBase::Type_String
));
29715 PyDict_SetItemString(d
,"ConfigBase_Type_Boolean", SWIG_FromInt((int)wxConfigBase::Type_Boolean
));
29716 PyDict_SetItemString(d
,"ConfigBase_Type_Integer", SWIG_FromInt((int)wxConfigBase::Type_Integer
));
29717 PyDict_SetItemString(d
,"ConfigBase_Type_Float", SWIG_FromInt((int)wxConfigBase::Type_Float
));
29718 SWIG_addvarlink(SWIG_globals
,(char*)"DateFormatStr",_wrap_DateFormatStr_get
, _wrap_DateFormatStr_set
);
29719 SWIG_addvarlink(SWIG_globals
,(char*)"TimeSpanFormatStr",_wrap_TimeSpanFormatStr_get
, _wrap_TimeSpanFormatStr_set
);
29720 PyDict_SetItemString(d
,"DateTime_Local", SWIG_FromInt((int)wxDateTime::Local
));
29721 PyDict_SetItemString(d
,"DateTime_GMT_12", SWIG_FromInt((int)wxDateTime::GMT_12
));
29722 PyDict_SetItemString(d
,"DateTime_GMT_11", SWIG_FromInt((int)wxDateTime::GMT_11
));
29723 PyDict_SetItemString(d
,"DateTime_GMT_10", SWIG_FromInt((int)wxDateTime::GMT_10
));
29724 PyDict_SetItemString(d
,"DateTime_GMT_9", SWIG_FromInt((int)wxDateTime::GMT_9
));
29725 PyDict_SetItemString(d
,"DateTime_GMT_8", SWIG_FromInt((int)wxDateTime::GMT_8
));
29726 PyDict_SetItemString(d
,"DateTime_GMT_7", SWIG_FromInt((int)wxDateTime::GMT_7
));
29727 PyDict_SetItemString(d
,"DateTime_GMT_6", SWIG_FromInt((int)wxDateTime::GMT_6
));
29728 PyDict_SetItemString(d
,"DateTime_GMT_5", SWIG_FromInt((int)wxDateTime::GMT_5
));
29729 PyDict_SetItemString(d
,"DateTime_GMT_4", SWIG_FromInt((int)wxDateTime::GMT_4
));
29730 PyDict_SetItemString(d
,"DateTime_GMT_3", SWIG_FromInt((int)wxDateTime::GMT_3
));
29731 PyDict_SetItemString(d
,"DateTime_GMT_2", SWIG_FromInt((int)wxDateTime::GMT_2
));
29732 PyDict_SetItemString(d
,"DateTime_GMT_1", SWIG_FromInt((int)wxDateTime::GMT_1
));
29733 PyDict_SetItemString(d
,"DateTime_GMT0", SWIG_FromInt((int)wxDateTime::GMT0
));
29734 PyDict_SetItemString(d
,"DateTime_GMT1", SWIG_FromInt((int)wxDateTime::GMT1
));
29735 PyDict_SetItemString(d
,"DateTime_GMT2", SWIG_FromInt((int)wxDateTime::GMT2
));
29736 PyDict_SetItemString(d
,"DateTime_GMT3", SWIG_FromInt((int)wxDateTime::GMT3
));
29737 PyDict_SetItemString(d
,"DateTime_GMT4", SWIG_FromInt((int)wxDateTime::GMT4
));
29738 PyDict_SetItemString(d
,"DateTime_GMT5", SWIG_FromInt((int)wxDateTime::GMT5
));
29739 PyDict_SetItemString(d
,"DateTime_GMT6", SWIG_FromInt((int)wxDateTime::GMT6
));
29740 PyDict_SetItemString(d
,"DateTime_GMT7", SWIG_FromInt((int)wxDateTime::GMT7
));
29741 PyDict_SetItemString(d
,"DateTime_GMT8", SWIG_FromInt((int)wxDateTime::GMT8
));
29742 PyDict_SetItemString(d
,"DateTime_GMT9", SWIG_FromInt((int)wxDateTime::GMT9
));
29743 PyDict_SetItemString(d
,"DateTime_GMT10", SWIG_FromInt((int)wxDateTime::GMT10
));
29744 PyDict_SetItemString(d
,"DateTime_GMT11", SWIG_FromInt((int)wxDateTime::GMT11
));
29745 PyDict_SetItemString(d
,"DateTime_GMT12", SWIG_FromInt((int)wxDateTime::GMT12
));
29746 PyDict_SetItemString(d
,"DateTime_WET", SWIG_FromInt((int)wxDateTime::WET
));
29747 PyDict_SetItemString(d
,"DateTime_WEST", SWIG_FromInt((int)wxDateTime::WEST
));
29748 PyDict_SetItemString(d
,"DateTime_CET", SWIG_FromInt((int)wxDateTime::CET
));
29749 PyDict_SetItemString(d
,"DateTime_CEST", SWIG_FromInt((int)wxDateTime::CEST
));
29750 PyDict_SetItemString(d
,"DateTime_EET", SWIG_FromInt((int)wxDateTime::EET
));
29751 PyDict_SetItemString(d
,"DateTime_EEST", SWIG_FromInt((int)wxDateTime::EEST
));
29752 PyDict_SetItemString(d
,"DateTime_MSK", SWIG_FromInt((int)wxDateTime::MSK
));
29753 PyDict_SetItemString(d
,"DateTime_MSD", SWIG_FromInt((int)wxDateTime::MSD
));
29754 PyDict_SetItemString(d
,"DateTime_AST", SWIG_FromInt((int)wxDateTime::AST
));
29755 PyDict_SetItemString(d
,"DateTime_ADT", SWIG_FromInt((int)wxDateTime::ADT
));
29756 PyDict_SetItemString(d
,"DateTime_EST", SWIG_FromInt((int)wxDateTime::EST
));
29757 PyDict_SetItemString(d
,"DateTime_EDT", SWIG_FromInt((int)wxDateTime::EDT
));
29758 PyDict_SetItemString(d
,"DateTime_CST", SWIG_FromInt((int)wxDateTime::CST
));
29759 PyDict_SetItemString(d
,"DateTime_CDT", SWIG_FromInt((int)wxDateTime::CDT
));
29760 PyDict_SetItemString(d
,"DateTime_MST", SWIG_FromInt((int)wxDateTime::MST
));
29761 PyDict_SetItemString(d
,"DateTime_MDT", SWIG_FromInt((int)wxDateTime::MDT
));
29762 PyDict_SetItemString(d
,"DateTime_PST", SWIG_FromInt((int)wxDateTime::PST
));
29763 PyDict_SetItemString(d
,"DateTime_PDT", SWIG_FromInt((int)wxDateTime::PDT
));
29764 PyDict_SetItemString(d
,"DateTime_HST", SWIG_FromInt((int)wxDateTime::HST
));
29765 PyDict_SetItemString(d
,"DateTime_AKST", SWIG_FromInt((int)wxDateTime::AKST
));
29766 PyDict_SetItemString(d
,"DateTime_AKDT", SWIG_FromInt((int)wxDateTime::AKDT
));
29767 PyDict_SetItemString(d
,"DateTime_A_WST", SWIG_FromInt((int)wxDateTime::A_WST
));
29768 PyDict_SetItemString(d
,"DateTime_A_CST", SWIG_FromInt((int)wxDateTime::A_CST
));
29769 PyDict_SetItemString(d
,"DateTime_A_EST", SWIG_FromInt((int)wxDateTime::A_EST
));
29770 PyDict_SetItemString(d
,"DateTime_A_ESST", SWIG_FromInt((int)wxDateTime::A_ESST
));
29771 PyDict_SetItemString(d
,"DateTime_UTC", SWIG_FromInt((int)wxDateTime::UTC
));
29772 PyDict_SetItemString(d
,"DateTime_Gregorian", SWIG_FromInt((int)wxDateTime::Gregorian
));
29773 PyDict_SetItemString(d
,"DateTime_Julian", SWIG_FromInt((int)wxDateTime::Julian
));
29774 PyDict_SetItemString(d
,"DateTime_Gr_Unknown", SWIG_FromInt((int)wxDateTime::Gr_Unknown
));
29775 PyDict_SetItemString(d
,"DateTime_Gr_Standard", SWIG_FromInt((int)wxDateTime::Gr_Standard
));
29776 PyDict_SetItemString(d
,"DateTime_Gr_Alaska", SWIG_FromInt((int)wxDateTime::Gr_Alaska
));
29777 PyDict_SetItemString(d
,"DateTime_Gr_Albania", SWIG_FromInt((int)wxDateTime::Gr_Albania
));
29778 PyDict_SetItemString(d
,"DateTime_Gr_Austria", SWIG_FromInt((int)wxDateTime::Gr_Austria
));
29779 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Brixen", SWIG_FromInt((int)wxDateTime::Gr_Austria_Brixen
));
29780 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Salzburg", SWIG_FromInt((int)wxDateTime::Gr_Austria_Salzburg
));
29781 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Tyrol", SWIG_FromInt((int)wxDateTime::Gr_Austria_Tyrol
));
29782 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Carinthia", SWIG_FromInt((int)wxDateTime::Gr_Austria_Carinthia
));
29783 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Styria", SWIG_FromInt((int)wxDateTime::Gr_Austria_Styria
));
29784 PyDict_SetItemString(d
,"DateTime_Gr_Belgium", SWIG_FromInt((int)wxDateTime::Gr_Belgium
));
29785 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria
));
29786 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_1", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_1
));
29787 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_2", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_2
));
29788 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_3", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_3
));
29789 PyDict_SetItemString(d
,"DateTime_Gr_Canada", SWIG_FromInt((int)wxDateTime::Gr_Canada
));
29790 PyDict_SetItemString(d
,"DateTime_Gr_China", SWIG_FromInt((int)wxDateTime::Gr_China
));
29791 PyDict_SetItemString(d
,"DateTime_Gr_China_1", SWIG_FromInt((int)wxDateTime::Gr_China_1
));
29792 PyDict_SetItemString(d
,"DateTime_Gr_China_2", SWIG_FromInt((int)wxDateTime::Gr_China_2
));
29793 PyDict_SetItemString(d
,"DateTime_Gr_Czechoslovakia", SWIG_FromInt((int)wxDateTime::Gr_Czechoslovakia
));
29794 PyDict_SetItemString(d
,"DateTime_Gr_Denmark", SWIG_FromInt((int)wxDateTime::Gr_Denmark
));
29795 PyDict_SetItemString(d
,"DateTime_Gr_Egypt", SWIG_FromInt((int)wxDateTime::Gr_Egypt
));
29796 PyDict_SetItemString(d
,"DateTime_Gr_Estonia", SWIG_FromInt((int)wxDateTime::Gr_Estonia
));
29797 PyDict_SetItemString(d
,"DateTime_Gr_Finland", SWIG_FromInt((int)wxDateTime::Gr_Finland
));
29798 PyDict_SetItemString(d
,"DateTime_Gr_France", SWIG_FromInt((int)wxDateTime::Gr_France
));
29799 PyDict_SetItemString(d
,"DateTime_Gr_France_Alsace", SWIG_FromInt((int)wxDateTime::Gr_France_Alsace
));
29800 PyDict_SetItemString(d
,"DateTime_Gr_France_Lorraine", SWIG_FromInt((int)wxDateTime::Gr_France_Lorraine
));
29801 PyDict_SetItemString(d
,"DateTime_Gr_France_Strasbourg", SWIG_FromInt((int)wxDateTime::Gr_France_Strasbourg
));
29802 PyDict_SetItemString(d
,"DateTime_Gr_Germany", SWIG_FromInt((int)wxDateTime::Gr_Germany
));
29803 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Catholic", SWIG_FromInt((int)wxDateTime::Gr_Germany_Catholic
));
29804 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Prussia", SWIG_FromInt((int)wxDateTime::Gr_Germany_Prussia
));
29805 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Protestant", SWIG_FromInt((int)wxDateTime::Gr_Germany_Protestant
));
29806 PyDict_SetItemString(d
,"DateTime_Gr_GreatBritain", SWIG_FromInt((int)wxDateTime::Gr_GreatBritain
));
29807 PyDict_SetItemString(d
,"DateTime_Gr_Greece", SWIG_FromInt((int)wxDateTime::Gr_Greece
));
29808 PyDict_SetItemString(d
,"DateTime_Gr_Hungary", SWIG_FromInt((int)wxDateTime::Gr_Hungary
));
29809 PyDict_SetItemString(d
,"DateTime_Gr_Ireland", SWIG_FromInt((int)wxDateTime::Gr_Ireland
));
29810 PyDict_SetItemString(d
,"DateTime_Gr_Italy", SWIG_FromInt((int)wxDateTime::Gr_Italy
));
29811 PyDict_SetItemString(d
,"DateTime_Gr_Japan", SWIG_FromInt((int)wxDateTime::Gr_Japan
));
29812 PyDict_SetItemString(d
,"DateTime_Gr_Japan_1", SWIG_FromInt((int)wxDateTime::Gr_Japan_1
));
29813 PyDict_SetItemString(d
,"DateTime_Gr_Japan_2", SWIG_FromInt((int)wxDateTime::Gr_Japan_2
));
29814 PyDict_SetItemString(d
,"DateTime_Gr_Japan_3", SWIG_FromInt((int)wxDateTime::Gr_Japan_3
));
29815 PyDict_SetItemString(d
,"DateTime_Gr_Latvia", SWIG_FromInt((int)wxDateTime::Gr_Latvia
));
29816 PyDict_SetItemString(d
,"DateTime_Gr_Lithuania", SWIG_FromInt((int)wxDateTime::Gr_Lithuania
));
29817 PyDict_SetItemString(d
,"DateTime_Gr_Luxemburg", SWIG_FromInt((int)wxDateTime::Gr_Luxemburg
));
29818 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands", SWIG_FromInt((int)wxDateTime::Gr_Netherlands
));
29819 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Groningen", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Groningen
));
29820 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Gelderland", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Gelderland
));
29821 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Utrecht", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Utrecht
));
29822 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Friesland", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Friesland
));
29823 PyDict_SetItemString(d
,"DateTime_Gr_Norway", SWIG_FromInt((int)wxDateTime::Gr_Norway
));
29824 PyDict_SetItemString(d
,"DateTime_Gr_Poland", SWIG_FromInt((int)wxDateTime::Gr_Poland
));
29825 PyDict_SetItemString(d
,"DateTime_Gr_Portugal", SWIG_FromInt((int)wxDateTime::Gr_Portugal
));
29826 PyDict_SetItemString(d
,"DateTime_Gr_Romania", SWIG_FromInt((int)wxDateTime::Gr_Romania
));
29827 PyDict_SetItemString(d
,"DateTime_Gr_Russia", SWIG_FromInt((int)wxDateTime::Gr_Russia
));
29828 PyDict_SetItemString(d
,"DateTime_Gr_Scotland", SWIG_FromInt((int)wxDateTime::Gr_Scotland
));
29829 PyDict_SetItemString(d
,"DateTime_Gr_Spain", SWIG_FromInt((int)wxDateTime::Gr_Spain
));
29830 PyDict_SetItemString(d
,"DateTime_Gr_Sweden", SWIG_FromInt((int)wxDateTime::Gr_Sweden
));
29831 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland", SWIG_FromInt((int)wxDateTime::Gr_Switzerland
));
29832 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Catholic", SWIG_FromInt((int)wxDateTime::Gr_Switzerland_Catholic
));
29833 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Protestant", SWIG_FromInt((int)wxDateTime::Gr_Switzerland_Protestant
));
29834 PyDict_SetItemString(d
,"DateTime_Gr_Turkey", SWIG_FromInt((int)wxDateTime::Gr_Turkey
));
29835 PyDict_SetItemString(d
,"DateTime_Gr_USA", SWIG_FromInt((int)wxDateTime::Gr_USA
));
29836 PyDict_SetItemString(d
,"DateTime_Gr_Wales", SWIG_FromInt((int)wxDateTime::Gr_Wales
));
29837 PyDict_SetItemString(d
,"DateTime_Gr_Yugoslavia", SWIG_FromInt((int)wxDateTime::Gr_Yugoslavia
));
29838 PyDict_SetItemString(d
,"DateTime_Country_Unknown", SWIG_FromInt((int)wxDateTime::Country_Unknown
));
29839 PyDict_SetItemString(d
,"DateTime_Country_Default", SWIG_FromInt((int)wxDateTime::Country_Default
));
29840 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_Start", SWIG_FromInt((int)wxDateTime::Country_WesternEurope_Start
));
29841 PyDict_SetItemString(d
,"DateTime_Country_EEC", SWIG_FromInt((int)wxDateTime::Country_EEC
));
29842 PyDict_SetItemString(d
,"DateTime_France", SWIG_FromInt((int)wxDateTime::France
));
29843 PyDict_SetItemString(d
,"DateTime_Germany", SWIG_FromInt((int)wxDateTime::Germany
));
29844 PyDict_SetItemString(d
,"DateTime_UK", SWIG_FromInt((int)wxDateTime::UK
));
29845 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_End", SWIG_FromInt((int)wxDateTime::Country_WesternEurope_End
));
29846 PyDict_SetItemString(d
,"DateTime_Russia", SWIG_FromInt((int)wxDateTime::Russia
));
29847 PyDict_SetItemString(d
,"DateTime_USA", SWIG_FromInt((int)wxDateTime::USA
));
29848 PyDict_SetItemString(d
,"DateTime_Jan", SWIG_FromInt((int)wxDateTime::Jan
));
29849 PyDict_SetItemString(d
,"DateTime_Feb", SWIG_FromInt((int)wxDateTime::Feb
));
29850 PyDict_SetItemString(d
,"DateTime_Mar", SWIG_FromInt((int)wxDateTime::Mar
));
29851 PyDict_SetItemString(d
,"DateTime_Apr", SWIG_FromInt((int)wxDateTime::Apr
));
29852 PyDict_SetItemString(d
,"DateTime_May", SWIG_FromInt((int)wxDateTime::May
));
29853 PyDict_SetItemString(d
,"DateTime_Jun", SWIG_FromInt((int)wxDateTime::Jun
));
29854 PyDict_SetItemString(d
,"DateTime_Jul", SWIG_FromInt((int)wxDateTime::Jul
));
29855 PyDict_SetItemString(d
,"DateTime_Aug", SWIG_FromInt((int)wxDateTime::Aug
));
29856 PyDict_SetItemString(d
,"DateTime_Sep", SWIG_FromInt((int)wxDateTime::Sep
));
29857 PyDict_SetItemString(d
,"DateTime_Oct", SWIG_FromInt((int)wxDateTime::Oct
));
29858 PyDict_SetItemString(d
,"DateTime_Nov", SWIG_FromInt((int)wxDateTime::Nov
));
29859 PyDict_SetItemString(d
,"DateTime_Dec", SWIG_FromInt((int)wxDateTime::Dec
));
29860 PyDict_SetItemString(d
,"DateTime_Inv_Month", SWIG_FromInt((int)wxDateTime::Inv_Month
));
29861 PyDict_SetItemString(d
,"DateTime_Sun", SWIG_FromInt((int)wxDateTime::Sun
));
29862 PyDict_SetItemString(d
,"DateTime_Mon", SWIG_FromInt((int)wxDateTime::Mon
));
29863 PyDict_SetItemString(d
,"DateTime_Tue", SWIG_FromInt((int)wxDateTime::Tue
));
29864 PyDict_SetItemString(d
,"DateTime_Wed", SWIG_FromInt((int)wxDateTime::Wed
));
29865 PyDict_SetItemString(d
,"DateTime_Thu", SWIG_FromInt((int)wxDateTime::Thu
));
29866 PyDict_SetItemString(d
,"DateTime_Fri", SWIG_FromInt((int)wxDateTime::Fri
));
29867 PyDict_SetItemString(d
,"DateTime_Sat", SWIG_FromInt((int)wxDateTime::Sat
));
29868 PyDict_SetItemString(d
,"DateTime_Inv_WeekDay", SWIG_FromInt((int)wxDateTime::Inv_WeekDay
));
29869 PyDict_SetItemString(d
,"DateTime_Inv_Year", SWIG_FromInt((int)wxDateTime::Inv_Year
));
29870 PyDict_SetItemString(d
,"DateTime_Name_Full", SWIG_FromInt((int)wxDateTime::Name_Full
));
29871 PyDict_SetItemString(d
,"DateTime_Name_Abbr", SWIG_FromInt((int)wxDateTime::Name_Abbr
));
29872 PyDict_SetItemString(d
,"DateTime_Default_First", SWIG_FromInt((int)wxDateTime::Default_First
));
29873 PyDict_SetItemString(d
,"DateTime_Monday_First", SWIG_FromInt((int)wxDateTime::Monday_First
));
29874 PyDict_SetItemString(d
,"DateTime_Sunday_First", SWIG_FromInt((int)wxDateTime::Sunday_First
));
29875 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultDateTime",_wrap_DefaultDateTime_get
, _wrap_DefaultDateTime_set
);
29876 PyDict_SetItemString(d
,"DF_INVALID", SWIG_FromInt((int)wxDF_INVALID
));
29877 PyDict_SetItemString(d
,"DF_TEXT", SWIG_FromInt((int)wxDF_TEXT
));
29878 PyDict_SetItemString(d
,"DF_BITMAP", SWIG_FromInt((int)wxDF_BITMAP
));
29879 PyDict_SetItemString(d
,"DF_METAFILE", SWIG_FromInt((int)wxDF_METAFILE
));
29880 PyDict_SetItemString(d
,"DF_SYLK", SWIG_FromInt((int)wxDF_SYLK
));
29881 PyDict_SetItemString(d
,"DF_DIF", SWIG_FromInt((int)wxDF_DIF
));
29882 PyDict_SetItemString(d
,"DF_TIFF", SWIG_FromInt((int)wxDF_TIFF
));
29883 PyDict_SetItemString(d
,"DF_OEMTEXT", SWIG_FromInt((int)wxDF_OEMTEXT
));
29884 PyDict_SetItemString(d
,"DF_DIB", SWIG_FromInt((int)wxDF_DIB
));
29885 PyDict_SetItemString(d
,"DF_PALETTE", SWIG_FromInt((int)wxDF_PALETTE
));
29886 PyDict_SetItemString(d
,"DF_PENDATA", SWIG_FromInt((int)wxDF_PENDATA
));
29887 PyDict_SetItemString(d
,"DF_RIFF", SWIG_FromInt((int)wxDF_RIFF
));
29888 PyDict_SetItemString(d
,"DF_WAVE", SWIG_FromInt((int)wxDF_WAVE
));
29889 PyDict_SetItemString(d
,"DF_UNICODETEXT", SWIG_FromInt((int)wxDF_UNICODETEXT
));
29890 PyDict_SetItemString(d
,"DF_ENHMETAFILE", SWIG_FromInt((int)wxDF_ENHMETAFILE
));
29891 PyDict_SetItemString(d
,"DF_FILENAME", SWIG_FromInt((int)wxDF_FILENAME
));
29892 PyDict_SetItemString(d
,"DF_LOCALE", SWIG_FromInt((int)wxDF_LOCALE
));
29893 PyDict_SetItemString(d
,"DF_PRIVATE", SWIG_FromInt((int)wxDF_PRIVATE
));
29894 PyDict_SetItemString(d
,"DF_HTML", SWIG_FromInt((int)wxDF_HTML
));
29895 PyDict_SetItemString(d
,"DF_MAX", SWIG_FromInt((int)wxDF_MAX
));
29896 SWIG_addvarlink(SWIG_globals
,(char*)"FormatInvalid",_wrap_FormatInvalid_get
, _wrap_FormatInvalid_set
);
29897 PyDict_SetItemString(d
,"DataObject_Get", SWIG_FromInt((int)wxDataObject::Get
));
29898 PyDict_SetItemString(d
,"DataObject_Set", SWIG_FromInt((int)wxDataObject::Set
));
29899 PyDict_SetItemString(d
,"DataObject_Both", SWIG_FromInt((int)wxDataObject::Both
));
29900 PyDict_SetItemString(d
,"Drag_CopyOnly", SWIG_FromInt((int)wxDrag_CopyOnly
));
29901 PyDict_SetItemString(d
,"Drag_AllowMove", SWIG_FromInt((int)wxDrag_AllowMove
));
29902 PyDict_SetItemString(d
,"Drag_DefaultMove", SWIG_FromInt((int)wxDrag_DefaultMove
));
29903 PyDict_SetItemString(d
,"DragError", SWIG_FromInt((int)wxDragError
));
29904 PyDict_SetItemString(d
,"DragNone", SWIG_FromInt((int)wxDragNone
));
29905 PyDict_SetItemString(d
,"DragCopy", SWIG_FromInt((int)wxDragCopy
));
29906 PyDict_SetItemString(d
,"DragMove", SWIG_FromInt((int)wxDragMove
));
29907 PyDict_SetItemString(d
,"DragLink", SWIG_FromInt((int)wxDragLink
));
29908 PyDict_SetItemString(d
,"DragCancel", SWIG_FromInt((int)wxDragCancel
));
29910 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
29911 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
29912 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
29913 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
29915 SWIG_addvarlink(SWIG_globals
,(char*)"TheClipboard",_wrap_TheClipboard_get
, _wrap_TheClipboard_set
);
29916 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultVideoMode",_wrap_DefaultVideoMode_get
, _wrap_DefaultVideoMode_set
);