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_wxFileType swig_types[9]
219 #define SWIGTYPE_p_wxLogGui swig_types[10]
220 #define SWIGTYPE_p_wxFont swig_types[11]
221 #define SWIGTYPE_p_wxDataFormat swig_types[12]
222 #define SWIGTYPE_p_wxTimerEvent swig_types[13]
223 #define SWIGTYPE_p_wxCaret swig_types[14]
224 #define SWIGTYPE_p_int swig_types[15]
225 #define SWIGTYPE_p_wxSize swig_types[16]
226 #define SWIGTYPE_p_wxClipboard swig_types[17]
227 #define SWIGTYPE_p_wxStopWatch swig_types[18]
228 #define SWIGTYPE_p_wxDC swig_types[19]
229 #define SWIGTYPE_p_wxClipboardLocker swig_types[20]
230 #define SWIGTYPE_p_wxIcon swig_types[21]
231 #define SWIGTYPE_p_wxLogStderr swig_types[22]
232 #define SWIGTYPE_p_wxLogTextCtrl swig_types[23]
233 #define SWIGTYPE_p_wxTextCtrl swig_types[24]
234 #define SWIGTYPE_p_wxBusyCursor swig_types[25]
235 #define SWIGTYPE_p_wxPyTextDataObject swig_types[26]
236 #define SWIGTYPE_p_wxBitmapDataObject swig_types[27]
237 #define SWIGTYPE_p_wxTextDataObject swig_types[28]
238 #define SWIGTYPE_p_wxDataObject swig_types[29]
239 #define SWIGTYPE_p_wxPyBitmapDataObject swig_types[30]
240 #define SWIGTYPE_p_wxFileDataObject swig_types[31]
241 #define SWIGTYPE_p_wxCustomDataObject swig_types[32]
242 #define SWIGTYPE_p_wxURLDataObject swig_types[33]
243 #define SWIGTYPE_p_wxMetafileDataObject swig_types[34]
244 #define SWIGTYPE_p_wxSound swig_types[35]
245 #define SWIGTYPE_p_wxTimerRunner swig_types[36]
246 #define SWIGTYPE_p_wxLogWindow swig_types[37]
247 #define SWIGTYPE_p_wxTimeSpan swig_types[38]
248 #define SWIGTYPE_p_wxArrayString swig_types[39]
249 #define SWIGTYPE_p_wxWindowDisabler swig_types[40]
250 #define SWIGTYPE_p_wxToolTip swig_types[41]
251 #define SWIGTYPE_p_wxDataObjectComposite swig_types[42]
252 #define SWIGTYPE_p_wxFileConfig swig_types[43]
253 #define SWIGTYPE_p_wxSystemSettings swig_types[44]
254 #define SWIGTYPE_p_wxPyDataObjectSimple swig_types[45]
255 #define SWIGTYPE_p_wxDataObjectSimple swig_types[46]
256 #define SWIGTYPE_p_wxEvtHandler swig_types[47]
257 #define SWIGTYPE_p_wxRect swig_types[48]
258 #define SWIGTYPE_p_char swig_types[49]
259 #define SWIGTYPE_p_wxSingleInstanceChecker swig_types[50]
260 #define SWIGTYPE_p_wxFileTypeInfo swig_types[51]
261 #define SWIGTYPE_p_wxFrame swig_types[52]
262 #define SWIGTYPE_p_wxTimer swig_types[53]
263 #define SWIGTYPE_p_wxMimeTypesManager swig_types[54]
264 #define SWIGTYPE_p_wxPyArtProvider swig_types[55]
265 #define SWIGTYPE_p_wxPyTipProvider swig_types[56]
266 #define SWIGTYPE_p_wxTipProvider swig_types[57]
267 #define SWIGTYPE_p_wxJoystick swig_types[58]
268 #define SWIGTYPE_p_wxSystemOptions swig_types[59]
269 #define SWIGTYPE_p_wxPoint swig_types[60]
270 #define SWIGTYPE_p_wxJoystickEvent swig_types[61]
271 #define SWIGTYPE_p_wxCursor swig_types[62]
272 #define SWIGTYPE_p_wxObject swig_types[63]
273 #define SWIGTYPE_p_wxOutputStream swig_types[64]
274 #define SWIGTYPE_p_wxDateTime swig_types[65]
275 #define SWIGTYPE_p_wxPyDropSource swig_types[66]
276 #define SWIGTYPE_p_wxWindow swig_types[67]
277 #define SWIGTYPE_p_wxString swig_types[68]
278 #define SWIGTYPE_p_wxPyProcess swig_types[69]
279 #define SWIGTYPE_p_wxBitmap swig_types[70]
280 #define SWIGTYPE_p_wxConfig swig_types[71]
281 #define SWIGTYPE_p_wxChar swig_types[72]
282 #define SWIGTYPE_p_wxBusyInfo swig_types[73]
283 #define SWIGTYPE_p_wxPyDropTarget swig_types[74]
284 #define SWIGTYPE_p_wxPyTextDropTarget swig_types[75]
285 #define SWIGTYPE_p_wxPyFileDropTarget swig_types[76]
286 #define SWIGTYPE_p_wxProcessEvent swig_types[77]
287 #define SWIGTYPE_p_wxPyLog swig_types[78]
288 #define SWIGTYPE_p_wxLogNull swig_types[79]
289 #define SWIGTYPE_p_wxColour swig_types[80]
290 #define SWIGTYPE_p_wxByte swig_types[81]
291 #define SWIGTYPE_p_wxConfigPathChanger swig_types[82]
292 #define SWIGTYPE_p_wxPyTimer swig_types[83]
293 #define SWIGTYPE_p_wxDateSpan swig_types[84]
294 static swig_type_info
*swig_types
[86];
296 /* -------- TYPES TABLE (END) -------- */
299 /*-----------------------------------------------
301 ------------------------------------------------*/
302 #define SWIG_init init_misc
304 #define SWIG_name "_misc"
306 /* Auxiliar swig macros */
309 #define SWIGSTATICINLINE(a) static inline a
310 #define SWIGSTATIC(a) static a
311 #define swig_new_array(type, size) (new type[(size)])
312 #define swig_delete_array(cptr) delete[] cptr
313 #define swig_const_cast(type,a) const_cast<type>(a)
314 #define swig_static_cast(type,a) static_cast<type>(a)
315 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
317 #ifdef HAVE_NUMERIC_CAST
318 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
320 #define swig_numeric_cast(type,a) static_cast<type>(a)
325 #define SWIGSTATICINLINE(a) static a
326 #define SWIGSTATIC(a) static a
327 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
328 #define swig_delete_array(cptr) free((char*)cptr)
329 #define swig_const_cast(type,a) (type)(a)
330 #define swig_static_cast(type,a) (type)(a)
331 #define swig_reinterpret_cast(type,a) (type)(a)
332 #define swig_numeric_cast(type,a) (type)(a)
334 #endif /* __cplusplus */
337 #define SWIG_FromSignedChar PyInt_FromLong
338 #define SWIG_FromUnsignedChar PyInt_FromLong
339 #define SWIG_FromShort PyInt_FromLong
340 #define SWIG_FromUnsignedShort PyInt_FromLong
341 #define SWIG_FromInt PyInt_FromLong
342 #define SWIG_FromLong PyInt_FromLong
343 #define SWIG_FromFloat PyFloat_FromDouble
344 #define SWIG_FromDouble PyFloat_FromDouble
345 #define SWIG_FromFloat PyFloat_FromDouble
346 #define SWIG_FromDouble PyFloat_FromDouble
349 #include "wx/wxPython/wxPython.h"
350 #include "wx/wxPython/pyclasses.h"
351 #include "wx/wxPython/pyistream.h"
354 static const wxString
wxPyEmptyString(wxEmptyString
);
361 SWIGSTATICINLINE(long)
362 SWIG_CheckLongInRange(long value
, const char* type
,
363 long min_value
, long max_value
)
365 if (!PyErr_Occurred()) {
366 if (value
< min_value
) {
368 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
369 value
, type
, min_value
);
371 PyErr_SetObject(PyExc_OverflowError
, err
);
373 } else if (value
> max_value
) {
375 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
376 value
, type
, max_value
);
377 PyErr_SetObject(PyExc_OverflowError
, err
);
385 SWIGSTATICINLINE(long)
386 SWIG_AsLong(PyObject
* obj
)
388 return PyInt_Check(obj
) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
);
392 #if INT_MAX != LONG_MAX
393 SWIGSTATICINLINE(int)
394 SWIG_AsInt(PyObject
*obj
)
396 return swig_numeric_cast(int,
397 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
398 "int", INT_MIN
, INT_MAX
));
401 #define SWIG_AsInt SWIG_AsLong
405 SWIGSTATICINLINE(int)
406 SWIG_CheckInt(PyObject
* obj
)
409 if (PyErr_Occurred()) {
417 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
418 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
419 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
421 SWIGSTATICINLINE(int)
422 SWIG_CheckLong(PyObject
* obj
)
425 if (PyErr_Occurred()) {
434 SWIGSTATICINLINE(bool)
435 SWIG_AsBool(PyObject
*obj
)
437 return PyObject_IsTrue(obj
) ? true : false;
441 SWIGSTATICINLINE(int)
442 SWIG_CheckBool(PyObject
* obj
)
445 if (PyErr_Occurred()) {
454 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
460 } else if (target
== Py_None
) {
464 if (!PyTuple_Check(target
)) {
466 target
= PyTuple_New(1);
467 PyTuple_SetItem(target
, 0, o2
);
470 PyTuple_SetItem(o3
, 0, o
);
473 target
= PySequence_Concat(o2
, o3
);
481 SWIGSTATICINLINE(unsigned long)
482 SWIG_AsUnsignedLong(PyObject
* obj
)
484 if (PyLong_Check(obj
)) {
485 return PyLong_AsUnsignedLong(obj
);
487 long i
= PyInt_AsLong(obj
);
488 if ( !PyErr_Occurred() && (i
< 0)) {
489 PyErr_SetString(PyExc_TypeError
, "negative value for unsigned type");
496 SWIGSTATICINLINE(int)
497 SWIG_CheckUnsignedLong(PyObject
* obj
)
499 SWIG_AsUnsignedLong(obj
);
500 if (PyErr_Occurred()) {
509 SWIGSTATICINLINE(PyObject
* )
510 SWIG_FromUnsignedLong(unsigned long value
)
512 return (value
> LONG_MAX
) ?
513 PyLong_FromUnsignedLong(value
)
514 : PyInt_FromLong(swig_numeric_cast(long,value
));
518 bool wxThread_IsMain() {
519 #ifdef WXP_WITH_THREAD
520 return wxThread::IsMain();
527 int wxCaret_GetBlinkTime() {
528 return wxCaret::GetBlinkTime();
531 void wxCaret_SetBlinkTime(int milliseconds
) {
532 wxCaret::SetBlinkTime(milliseconds
);
536 #include <wx/snglinst.h>
540 #include <wx/msw/private.h>
541 #include <wx/dynload.h>
546 void wxDrawWindowOnDC(wxWindow
* window
, const wxDC
& dc
, int method
)
553 // This one only partially works. Appears to be an undocumented
554 // "standard" convention that not all widgets adhear to. For
555 // example, for some widgets backgrounds or non-client areas may
557 ::SendMessage(GetHwndOf(window
), WM_PAINT
, (long)GetHdcOf(dc
), 0);
561 // This one works much better, except for on XP. On Win2k nearly
562 // all widgets and their children are captured correctly[**]. On
563 // XP with Themes activated most native widgets draw only
564 // partially, if at all. Without themes it works just like on
567 // ** For example the radio buttons in a wxRadioBox are not its
568 // children by default, but you can capture it via the panel
569 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
570 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
571 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
572 PRF_ERASEBKGND
| PRF_OWNED
);
576 // This one is only defined in the latest SDK and is only
577 // available on XP. MSDN says it is similar to sending WM_PRINT
578 // so I expect that it will work similar to the above. Since it
579 // is avaialble only on XP, it can't be compiled like this and
580 // will have to be loaded dynamically.
581 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
586 // Use PrintWindow if available, or fallback to WM_PRINT
587 // otherwise. Unfortunately using PrintWindow is even worse than
588 // WM_PRINT. For most native widgets nothing is drawn to the dc
589 // at all, with or without Themes.
590 typedef BOOL (WINAPI
*PrintWindow_t
)(HWND
, HDC
, UINT
);
591 static bool s_triedToLoad
= False
;
592 static PrintWindow_t pfnPrintWindow
= NULL
;
593 if ( !s_triedToLoad
)
596 s_triedToLoad
= True
;
597 wxDynamicLibrary
dllUser32(_T("user32.dll"));
598 if ( dllUser32
.IsLoaded() )
600 wxLogNull nolog
; // Don't report errors here
601 pfnPrintWindow
= (PrintWindow_t
)dllUser32
.GetSymbol(_T("PrintWindow"));
606 printf("Using PrintWindow\n");
607 pfnPrintWindow(GetHwndOf(window
), GetHdcOf(dc
), 0);
611 printf("Using WM_PRINT\n");
612 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
613 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
| PRF_ERASEBKGND
| PRF_OWNED
);
621 #include <wx/tipdlg.h>
624 class wxPyTipProvider
: public wxTipProvider
{
626 wxPyTipProvider(size_t currentTip
)
627 : wxTipProvider(currentTip
) {}
629 DEC_PYCALLBACK_STRING__pure(GetTip
);
630 DEC_PYCALLBACK_STRING_STRING(PreprocessTip
);
634 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
635 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider
, wxTipProvider
, PreprocessTip
);
638 IMP_PYCALLBACK__(wxPyTimer
, wxTimer
, Notify
);
641 SWIGSTATICINLINE(PyObject
*)
642 SWIG_FromCharPtr(const char* cptr
)
644 size_t size
= cptr
? strlen(cptr
) : 0;
646 if (size
> INT_MAX
) {
647 return SWIG_NewPointerObj(swig_const_cast(char*,cptr
),
648 SWIG_TypeQuery("char *"), 0);
650 return PyString_FromStringAndSize(cptr
, swig_numeric_cast(int,size
));
659 SWIGSTATICINLINE(unsigned long)
660 SWIG_CheckUnsignedLongInRange(unsigned long value
, const char* type
,
661 unsigned long max_value
)
663 if (!PyErr_Occurred()) {
664 if (value
> max_value
) {
666 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
667 value
, type
, max_value
);
668 PyErr_SetObject(PyExc_OverflowError
, err
);
676 #if UINT_MAX != ULONG_MAX
677 SWIGSTATICINLINE(unsigned int)
678 SWIG_AsUnsignedInt(PyObject
*obj
)
680 return swig_numeric_cast(unsigned int,
681 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj
),
682 "unsigned int", UINT_MAX
));
685 #define SWIG_AsUnsignedInt SWIG_AsUnsignedLong
689 SWIGSTATICINLINE(int)
690 SWIG_CheckUnsignedInt(PyObject
* obj
)
692 SWIG_AsUnsignedInt(obj
);
693 if (PyErr_Occurred()) {
701 wxString
Log_TimeStamp(){
703 wxLog::TimeStamp(&msg
);
706 void wxLog_Destroy(wxLog
*self
){ delete self
; }
708 // A wxLog class that can be derived from in wxPython
709 class wxPyLog
: public wxLog
{
711 wxPyLog() : wxLog() {}
713 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
715 wxPyBeginBlockThreads();
716 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog"))) {
717 PyObject
* s
= wx2PyString(szString
);
718 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iOi)", level
, s
, t
));
721 wxPyEndBlockThreads();
723 wxLog::DoLog(level
, szString
, t
);
726 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
728 wxPyBeginBlockThreads();
729 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString"))) {
730 PyObject
* s
= wx2PyString(szString
);
731 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(Oi)", s
, t
));
734 wxPyEndBlockThreads();
736 wxLog::DoLogString(szString
, t
);
745 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
748 #include <wx/joystick.h>
751 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
752 // A C++ stub class for wxJoystick for platforms that don't have it.
753 class wxJoystick
: public wxObject
{
755 wxJoystick(int joystick
= wxJOYSTICK1
) {
756 wxPyBeginBlockThreads();
757 PyErr_SetString(PyExc_NotImplementedError
,
758 "wxJoystick is not available on this platform.");
759 wxPyEndBlockThreads();
761 wxPoint
GetPosition() { return wxPoint(-1,-1); }
762 int GetZPosition() { return -1; }
763 int GetButtonState() { return -1; }
764 int GetPOVPosition() { return -1; }
765 int GetPOVCTSPosition() { return -1; }
766 int GetRudderPosition() { return -1; }
767 int GetUPosition() { return -1; }
768 int GetVPosition() { return -1; }
769 int GetMovementThreshold() { return -1; }
770 void SetMovementThreshold(int threshold
) {}
772 bool IsOk(void) { return False
; }
773 int GetNumberJoysticks() { return -1; }
774 int GetManufacturerId() { return -1; }
775 int GetProductId() { return -1; }
776 wxString
GetProductName() { return ""; }
777 int GetXMin() { return -1; }
778 int GetYMin() { return -1; }
779 int GetZMin() { return -1; }
780 int GetXMax() { return -1; }
781 int GetYMax() { return -1; }
782 int GetZMax() { return -1; }
783 int GetNumberButtons() { return -1; }
784 int GetNumberAxes() { return -1; }
785 int GetMaxButtons() { return -1; }
786 int GetMaxAxes() { return -1; }
787 int GetPollingMin() { return -1; }
788 int GetPollingMax() { return -1; }
789 int GetRudderMin() { return -1; }
790 int GetRudderMax() { return -1; }
791 int GetUMin() { return -1; }
792 int GetUMax() { return -1; }
793 int GetVMin() { return -1; }
794 int GetVMax() { return -1; }
796 bool HasRudder() { return False
; }
797 bool HasZ() { return False
; }
798 bool HasU() { return False
; }
799 bool HasV() { return False
; }
800 bool HasPOV() { return False
; }
801 bool HasPOV4Dir() { return False
; }
802 bool HasPOVCTS() { return False
; }
804 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return False
; }
805 bool ReleaseCapture() { return False
; }
810 #include <wx/sound.h>
814 // A C++ stub class for wxWave for platforms that don't have it.
815 class wxSound
: public wxObject
819 wxPyBeginBlockThreads();
820 PyErr_SetString(PyExc_NotImplementedError
,
821 "wxSound is not available on this platform.");
822 wxPyEndBlockThreads();
824 wxSound(const wxString
&, bool) {
825 wxPyBeginBlockThreads();
826 PyErr_SetString(PyExc_NotImplementedError
,
827 "wxSound is not available on this platform.");
828 wxPyEndBlockThreads();
830 wxSound(int, const wxByte
*) {
831 wxPyBeginBlockThreads();
832 PyErr_SetString(PyExc_NotImplementedError
,
833 "wxSound is not available on this platform.");
834 wxPyEndBlockThreads();
839 bool Create(const wxString
&, bool) { return false; }
840 bool Create(int, const wxByte
*) { return false; };
841 bool IsOk() { return false; };
842 bool Play(unsigned) const { return false; }
843 static bool Play(const wxString
&, unsigned) { return false; }
844 static void Stop() {}
850 #include <wx/mimetype.h>
852 PyObject
*wxFileType_GetMimeType(wxFileType
*self
){
854 if (self
->GetMimeType(&str
))
855 return wx2PyString(str
);
859 PyObject
*wxFileType_GetMimeTypes(wxFileType
*self
){
861 if (self
->GetMimeTypes(arr
))
862 return wxArrayString2PyList_helper(arr
);
866 PyObject
*wxFileType_GetExtensions(wxFileType
*self
){
868 if (self
->GetExtensions(arr
))
869 return wxArrayString2PyList_helper(arr
);
873 wxIcon
*wxFileType_GetIcon(wxFileType
*self
){
875 if (self
->GetIcon(&loc
))
876 return new wxIcon(loc
);
880 PyObject
*wxFileType_GetIconInfo(wxFileType
*self
){
882 if (self
->GetIcon(&loc
)) {
883 wxString iconFile
= loc
.GetFileName();
886 iconIndex
= loc
.GetIndex();
888 // Make a tuple and put the values in it
889 wxPyBeginBlockThreads();
890 PyObject
* tuple
= PyTuple_New(3);
891 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(loc
),
892 wxT("wxIcon"), True
));
893 PyTuple_SetItem(tuple
, 1, wx2PyString(iconFile
));
894 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
895 wxPyEndBlockThreads();
901 PyObject
*wxFileType_GetDescription(wxFileType
*self
){
903 if (self
->GetDescription(&str
))
904 return wx2PyString(str
);
908 PyObject
*wxFileType_GetOpenCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
910 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
911 return wx2PyString(str
);
915 PyObject
*wxFileType_GetPrintCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
917 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
918 return wx2PyString(str
);
922 PyObject
*wxFileType_GetAllCommands(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
924 wxArrayString commands
;
925 if (self
->GetAllCommands(&verbs
, &commands
,
926 wxFileType::MessageParameters(filename
, mimetype
))) {
927 wxPyBeginBlockThreads();
928 PyObject
* tuple
= PyTuple_New(2);
929 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
930 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
931 wxPyEndBlockThreads();
937 wxString
FileType_ExpandCommand(wxString
const &command
,wxString
const &filename
,wxString
const &mimetype
){
938 return wxFileType::ExpandCommand(command
,
939 wxFileType::MessageParameters(filename
, mimetype
));
941 PyObject
*wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
){
943 self
->EnumAllFileTypes(arr
);
944 return wxArrayString2PyList_helper(arr
);
947 #include <wx/artprov.h>
949 static const wxString
wxPyART_TOOLBAR(wxART_TOOLBAR
);
950 static const wxString
wxPyART_MENU(wxART_MENU
);
951 static const wxString
wxPyART_FRAME_ICON(wxART_FRAME_ICON
);
952 static const wxString
wxPyART_CMN_DIALOG(wxART_CMN_DIALOG
);
953 static const wxString
wxPyART_HELP_BROWSER(wxART_HELP_BROWSER
);
954 static const wxString
wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX
);
955 static const wxString
wxPyART_OTHER(wxART_OTHER
);
956 static const wxString
wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK
);
957 static const wxString
wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK
);
958 static const wxString
wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL
);
959 static const wxString
wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS
);
960 static const wxString
wxPyART_HELP_BOOK(wxART_HELP_BOOK
);
961 static const wxString
wxPyART_HELP_FOLDER(wxART_HELP_FOLDER
);
962 static const wxString
wxPyART_HELP_PAGE(wxART_HELP_PAGE
);
963 static const wxString
wxPyART_GO_BACK(wxART_GO_BACK
);
964 static const wxString
wxPyART_GO_FORWARD(wxART_GO_FORWARD
);
965 static const wxString
wxPyART_GO_UP(wxART_GO_UP
);
966 static const wxString
wxPyART_GO_DOWN(wxART_GO_DOWN
);
967 static const wxString
wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT
);
968 static const wxString
wxPyART_GO_HOME(wxART_GO_HOME
);
969 static const wxString
wxPyART_FILE_OPEN(wxART_FILE_OPEN
);
970 static const wxString
wxPyART_PRINT(wxART_PRINT
);
971 static const wxString
wxPyART_HELP(wxART_HELP
);
972 static const wxString
wxPyART_TIP(wxART_TIP
);
973 static const wxString
wxPyART_REPORT_VIEW(wxART_REPORT_VIEW
);
974 static const wxString
wxPyART_LIST_VIEW(wxART_LIST_VIEW
);
975 static const wxString
wxPyART_NEW_DIR(wxART_NEW_DIR
);
976 static const wxString
wxPyART_FOLDER(wxART_FOLDER
);
977 static const wxString
wxPyART_GO_DIR_UP(wxART_GO_DIR_UP
);
978 static const wxString
wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE
);
979 static const wxString
wxPyART_NORMAL_FILE(wxART_NORMAL_FILE
);
980 static const wxString
wxPyART_TICK_MARK(wxART_TICK_MARK
);
981 static const wxString
wxPyART_CROSS_MARK(wxART_CROSS_MARK
);
982 static const wxString
wxPyART_ERROR(wxART_ERROR
);
983 static const wxString
wxPyART_QUESTION(wxART_QUESTION
);
984 static const wxString
wxPyART_WARNING(wxART_WARNING
);
985 static const wxString
wxPyART_INFORMATION(wxART_INFORMATION
);
986 static const wxString
wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE
);
987 // Python aware wxArtProvider
988 class wxPyArtProvider
: public wxArtProvider
{
991 virtual wxBitmap
CreateBitmap(const wxArtID
& id
,
992 const wxArtClient
& client
,
993 const wxSize
& size
) {
994 wxBitmap rval
= wxNullBitmap
;
995 wxPyBeginBlockThreads();
996 if ((wxPyCBH_findCallback(m_myInst
, "CreateBitmap"))) {
997 PyObject
* so
= wxPyConstructObject((void*)&size
, wxT("wxSize"), 0);
1001 s1
= wx2PyString(id
);
1002 s2
= wx2PyString(client
);
1003 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOO)", s1
, s2
, so
));
1008 if (wxPyConvertSwigPtr(ro
, (void**)&ptr
, wxT("wxBitmap")))
1013 wxPyEndBlockThreads();
1020 void wxPyArtProvider_Destroy(wxPyArtProvider
*self
){ delete self
; }
1024 static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) {
1025 PyObject
* ret
= PyTuple_New(3);
1027 PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
));
1028 PyTuple_SET_ITEM(ret
, 1, wx2PyString(str
));
1029 PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
));
1034 PyObject
*wxConfigBase_GetFirstGroup(wxConfigBase
*self
){
1039 cont
= self
->GetFirstGroup(value
, index
);
1040 return __EnumerationHelper(cont
, value
, index
);
1042 PyObject
*wxConfigBase_GetNextGroup(wxConfigBase
*self
,long index
){
1046 cont
= self
->GetNextGroup(value
, index
);
1047 return __EnumerationHelper(cont
, value
, index
);
1049 PyObject
*wxConfigBase_GetFirstEntry(wxConfigBase
*self
){
1054 cont
= self
->GetFirstEntry(value
, index
);
1055 return __EnumerationHelper(cont
, value
, index
);
1057 PyObject
*wxConfigBase_GetNextEntry(wxConfigBase
*self
,long index
){
1061 cont
= self
->GetNextEntry(value
, index
);
1062 return __EnumerationHelper(cont
, value
, index
);
1064 long wxConfigBase_ReadInt(wxConfigBase
*self
,wxString
const &key
,long defaultVal
){
1066 self
->Read(key
, &rv
, defaultVal
);
1070 SWIGSTATICINLINE(double)
1071 SWIG_AsDouble(PyObject
*obj
)
1073 double val
= (PyFloat_Check(obj
)) ? PyFloat_AsDouble(obj
) :
1075 ((PyInt_Check(obj
)) ? PyInt_AsLong(obj
) : PyLong_AsLongLong(obj
));
1077 ((PyInt_Check(obj
)) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
));
1079 if (PyErr_Occurred()) {
1081 PyErr_SetString(PyExc_TypeError
, "a double is expected");
1087 SWIGSTATICINLINE(int)
1088 SWIG_CheckDouble(PyObject
* obj
)
1091 if (PyErr_Occurred()) {
1099 double wxConfigBase_ReadFloat(wxConfigBase
*self
,wxString
const &key
,double defaultVal
){
1101 self
->Read(key
, &rv
, defaultVal
);
1104 bool wxConfigBase_ReadBool(wxConfigBase
*self
,wxString
const &key
,bool defaultVal
){
1106 self
->Read(key
, &rv
, defaultVal
);
1110 #include <wx/datetime.h>
1113 static const wxString
wxPyDateFormatStr(wxT("%c"));
1114 static const wxString
wxPyTimeSpanFormatStr(wxT("%H:%M:%S"));
1116 #define LOCAL_TZ wxDateTime::Local
1119 #if UINT_MAX < LONG_MAX
1120 #define SWIG_FromUnsignedInt SWIG_FromLong
1122 #define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
1125 wxDateTime
wxDateTime___add____SWIG_0(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
1126 wxDateTime
wxDateTime___add____SWIG_1(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
1127 wxTimeSpan
wxDateTime___sub____SWIG_0(wxDateTime
*self
,wxDateTime
const &other
){ return *self
- other
; }
1128 wxDateTime
wxDateTime___sub____SWIG_1(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
1129 wxDateTime
wxDateTime___sub____SWIG_2(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
- other
; }
1130 bool wxDateTime___lt__(wxDateTime
*self
,wxDateTime
const *other
){ return other
? (*self
< *other
) : False
; }
1131 bool wxDateTime___le__(wxDateTime
*self
,wxDateTime
const *other
){ return other
? (*self
<= *other
) : False
; }
1132 bool wxDateTime___gt__(wxDateTime
*self
,wxDateTime
const *other
){ return other
? (*self
> *other
) : True
; }
1133 bool wxDateTime___ge__(wxDateTime
*self
,wxDateTime
const *other
){ return other
? (*self
>= *other
) : True
; }
1134 bool wxDateTime___eq__(wxDateTime
*self
,wxDateTime
const *other
){ return other
? (*self
== *other
) : False
; }
1135 bool wxDateTime___ne__(wxDateTime
*self
,wxDateTime
const *other
){ return other
? (*self
!= *other
) : True
; }
1136 int wxDateTime_ParseRfc822Date(wxDateTime
*self
,wxString
const &date
){
1138 const wxChar
* _date
= date
;
1139 rv
= self
->ParseRfc822Date(_date
);
1140 if (rv
== NULL
) return -1;
1143 int wxDateTime_ParseFormat(wxDateTime
*self
,wxString
const &date
,wxString
const &format
,wxDateTime
const &dateDef
){
1145 const wxChar
* _date
= date
;
1146 rv
= self
->ParseFormat(_date
, format
, dateDef
);
1147 if (rv
== NULL
) return -1;
1150 int wxDateTime_ParseDateTime(wxDateTime
*self
,wxString
const &datetime
){
1152 const wxChar
* _datetime
= datetime
;
1153 rv
= self
->ParseDateTime(_datetime
);
1154 if (rv
== NULL
) return -1;
1155 return rv
- _datetime
;
1157 int wxDateTime_ParseDate(wxDateTime
*self
,wxString
const &date
){
1159 const wxChar
* _date
= date
;
1160 rv
= self
->ParseDate(_date
);
1161 if (rv
== NULL
) return -1;
1164 int wxDateTime_ParseTime(wxDateTime
*self
,wxString
const &time
){
1166 const wxChar
* _time
= time
;
1167 rv
= self
->ParseTime(_time
);
1168 if (rv
== NULL
) return -1;
1171 wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
1172 wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
1173 wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
){ return *self
* n
; }
1174 wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
){ return n
* *self
; }
1175 bool wxTimeSpan___lt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
< *other
) : False
; }
1176 bool wxTimeSpan___le__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
<= *other
) : False
; }
1177 bool wxTimeSpan___gt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
> *other
) : True
; }
1178 bool wxTimeSpan___ge__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
>= *other
) : True
; }
1179 bool wxTimeSpan___eq__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
== *other
) : False
; }
1180 bool wxTimeSpan___ne__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
!= *other
) : True
; }
1181 wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
1182 wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
- other
; }
1183 wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
){ return *self
* n
; }
1184 wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
){ return n
* *self
; }
1185 bool wxDateSpan___eq__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
== *other
) : False
; }
1186 bool wxDateSpan___ne__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
!= *other
) : True
; }
1188 #include <wx/dataobj.h>
1190 // Create a new class for wxPython to use
1191 class wxPyDataObjectSimple
: public wxDataObjectSimple
{
1193 wxPyDataObjectSimple(const wxDataFormat
& format
= wxFormatInvalid
)
1194 : wxDataObjectSimple(format
) {}
1196 DEC_PYCALLBACK_SIZET__const(GetDataSize
);
1197 bool GetDataHere(void *buf
) const;
1198 bool SetData(size_t len
, const void *buf
) const;
1202 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple
, wxDataObjectSimple
, GetDataSize
);
1204 bool wxPyDataObjectSimple::GetDataHere(void *buf
) const {
1205 // We need to get the data for this object and write it to buf. I think
1206 // the best way to do this for wxPython is to have the Python method
1207 // return either a string or None and then act appropriately with the
1211 wxPyBeginBlockThreads();
1212 if (wxPyCBH_findCallback(m_myInst
, "GetDataHere")) {
1214 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1216 rval
= (ro
!= Py_None
&& PyString_Check(ro
));
1218 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
));
1222 wxPyEndBlockThreads();
1226 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) const{
1227 // For this one we simply need to make a string from buf and len
1228 // and send it to the Python method.
1230 wxPyBeginBlockThreads();
1231 if (wxPyCBH_findCallback(m_myInst
, "SetData")) {
1232 PyObject
* data
= PyString_FromStringAndSize((char*)buf
, len
);
1233 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", data
));
1236 wxPyEndBlockThreads();
1240 // Create a new class for wxPython to use
1241 class wxPyTextDataObject
: public wxTextDataObject
{
1243 wxPyTextDataObject(const wxString
& text
= wxPyEmptyString
)
1244 : wxTextDataObject(text
) {}
1246 DEC_PYCALLBACK_SIZET__const(GetTextLength
);
1247 DEC_PYCALLBACK_STRING__const(GetText
);
1248 DEC_PYCALLBACK__STRING(SetText
);
1252 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
);
1253 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject
, wxTextDataObject
, GetText
);
1254 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
);
1257 // Create a new class for wxPython to use
1258 class wxPyBitmapDataObject
: public wxBitmapDataObject
{
1260 wxPyBitmapDataObject(const wxBitmap
& bitmap
= wxNullBitmap
)
1261 : wxBitmapDataObject(bitmap
) {}
1263 wxBitmap
GetBitmap() const;
1264 void SetBitmap(const wxBitmap
& bitmap
);
1268 wxBitmap
wxPyBitmapDataObject::GetBitmap() const {
1269 wxBitmap
* rval
= &wxNullBitmap
;
1270 wxPyBeginBlockThreads();
1271 if (wxPyCBH_findCallback(m_myInst
, "GetBitmap")) {
1274 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1276 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxBitmap")))
1281 wxPyEndBlockThreads();
1285 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) {
1286 wxPyBeginBlockThreads();
1287 if (wxPyCBH_findCallback(m_myInst
, "SetBitmap")) {
1288 PyObject
* bo
= wxPyConstructObject((void*)&bitmap
, wxT("wxBitmap"), False
);
1289 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", bo
));
1292 wxPyEndBlockThreads();
1295 void wxCustomDataObject_TakeData(wxCustomDataObject
*self
,PyObject
*data
){
1296 if (PyString_Check(data
)) {
1297 // for Python we just call SetData here since we always need it to make a copy.
1298 self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1301 // raise a TypeError if not a string
1302 PyErr_SetString(PyExc_TypeError
, "String expected.");
1305 bool wxCustomDataObject_SetData(wxCustomDataObject
*self
,PyObject
*data
){
1306 if (PyString_Check(data
)) {
1307 return self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1310 // raise a TypeError if not a string
1311 PyErr_SetString(PyExc_TypeError
, "String expected.");
1315 PyObject
*wxCustomDataObject_GetData(wxCustomDataObject
*self
){
1316 return PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize());
1319 #include <wx/metafile.h>
1322 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
1325 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
1326 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
1327 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
1328 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
1329 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
1332 class wxPyTextDropTarget
: public wxTextDropTarget
{
1334 wxPyTextDropTarget() {}
1336 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
1338 DEC_PYCALLBACK__(OnLeave
);
1339 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1340 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1341 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
1342 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1347 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
1348 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
1349 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
1350 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
1351 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
1352 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
1356 class wxPyFileDropTarget
: public wxFileDropTarget
{
1358 wxPyFileDropTarget() {}
1360 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
1362 DEC_PYCALLBACK__(OnLeave
);
1363 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1364 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1365 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
1366 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1371 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
1372 const wxArrayString
& filenames
) {
1374 wxPyBeginBlockThreads();
1375 if (wxPyCBH_findCallback(m_myInst
, "OnDropFiles")) {
1376 PyObject
* list
= wxArrayString2PyList_helper(filenames
);
1377 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",x
,y
,list
));
1380 wxPyEndBlockThreads();
1386 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
1387 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
1388 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
1389 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
1390 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
1395 bool wxClipboardLocker___nonzero__(wxClipboardLocker
*self
){ return !!(*self
); }
1399 static PyObject
*_wrap_SystemSettings_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1400 PyObject
*resultobj
;
1403 PyObject
* obj0
= 0 ;
1405 (char *) "index", NULL
1408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetColour",kwnames
,&obj0
)) goto fail
;
1409 arg1
= (wxSystemColour
) SWIG_AsInt(obj0
);
1410 if (PyErr_Occurred()) SWIG_fail
;
1412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1413 result
= wxSystemSettings::GetColour((wxSystemColour
)arg1
);
1415 wxPyEndAllowThreads(__tstate
);
1416 if (PyErr_Occurred()) SWIG_fail
;
1419 wxColour
* resultptr
;
1420 resultptr
= new wxColour((wxColour
&) result
);
1421 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
1429 static PyObject
*_wrap_SystemSettings_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1430 PyObject
*resultobj
;
1433 PyObject
* obj0
= 0 ;
1435 (char *) "index", NULL
1438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetFont",kwnames
,&obj0
)) goto fail
;
1439 arg1
= (wxSystemFont
) SWIG_AsInt(obj0
);
1440 if (PyErr_Occurred()) SWIG_fail
;
1442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1443 result
= wxSystemSettings::GetFont((wxSystemFont
)arg1
);
1445 wxPyEndAllowThreads(__tstate
);
1446 if (PyErr_Occurred()) SWIG_fail
;
1450 resultptr
= new wxFont((wxFont
&) result
);
1451 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
1459 static PyObject
*_wrap_SystemSettings_GetMetric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1460 PyObject
*resultobj
;
1463 PyObject
* obj0
= 0 ;
1465 (char *) "index", NULL
1468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetMetric",kwnames
,&obj0
)) goto fail
;
1469 arg1
= (wxSystemMetric
) SWIG_AsInt(obj0
);
1470 if (PyErr_Occurred()) SWIG_fail
;
1472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1473 result
= (int)wxSystemSettings::GetMetric((wxSystemMetric
)arg1
);
1475 wxPyEndAllowThreads(__tstate
);
1476 if (PyErr_Occurred()) SWIG_fail
;
1478 resultobj
= SWIG_FromInt((int)result
);
1485 static PyObject
*_wrap_SystemSettings_HasFeature(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1486 PyObject
*resultobj
;
1489 PyObject
* obj0
= 0 ;
1491 (char *) "index", NULL
1494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_HasFeature",kwnames
,&obj0
)) goto fail
;
1495 arg1
= (wxSystemFeature
) SWIG_AsInt(obj0
);
1496 if (PyErr_Occurred()) SWIG_fail
;
1498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1499 result
= (bool)wxSystemSettings::HasFeature((wxSystemFeature
)arg1
);
1501 wxPyEndAllowThreads(__tstate
);
1502 if (PyErr_Occurred()) SWIG_fail
;
1504 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1511 static PyObject
*_wrap_SystemSettings_GetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1512 PyObject
*resultobj
;
1518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SystemSettings_GetScreenType",kwnames
)) goto fail
;
1520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1521 result
= (int)wxSystemSettings::GetScreenType();
1523 wxPyEndAllowThreads(__tstate
);
1524 if (PyErr_Occurred()) SWIG_fail
;
1526 resultobj
= SWIG_FromInt((int)result
);
1533 static PyObject
*_wrap_SystemSettings_SetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1534 PyObject
*resultobj
;
1536 PyObject
* obj0
= 0 ;
1538 (char *) "screen", NULL
1541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_SetScreenType",kwnames
,&obj0
)) goto fail
;
1542 arg1
= (wxSystemScreenType
) SWIG_AsInt(obj0
);
1543 if (PyErr_Occurred()) SWIG_fail
;
1545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1546 wxSystemSettings::SetScreenType((wxSystemScreenType
)arg1
);
1548 wxPyEndAllowThreads(__tstate
);
1549 if (PyErr_Occurred()) SWIG_fail
;
1551 Py_INCREF(Py_None
); resultobj
= Py_None
;
1558 static PyObject
* SystemSettings_swigregister(PyObject
*self
, PyObject
*args
) {
1560 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1561 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings
, obj
);
1563 return Py_BuildValue((char *)"");
1565 static PyObject
*_wrap_new_SystemOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1566 PyObject
*resultobj
;
1567 wxSystemOptions
*result
;
1572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SystemOptions",kwnames
)) goto fail
;
1574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1575 result
= (wxSystemOptions
*)new wxSystemOptions();
1577 wxPyEndAllowThreads(__tstate
);
1578 if (PyErr_Occurred()) SWIG_fail
;
1580 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSystemOptions
, 1);
1587 static PyObject
*_wrap_SystemOptions_SetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1588 PyObject
*resultobj
;
1589 wxString
*arg1
= 0 ;
1590 wxString
*arg2
= 0 ;
1591 bool temp1
= False
;
1592 bool temp2
= False
;
1593 PyObject
* obj0
= 0 ;
1594 PyObject
* obj1
= 0 ;
1596 (char *) "name",(char *) "value", NULL
1599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
1601 arg1
= wxString_in_helper(obj0
);
1602 if (arg1
== NULL
) SWIG_fail
;
1606 arg2
= wxString_in_helper(obj1
);
1607 if (arg2
== NULL
) SWIG_fail
;
1611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1612 wxSystemOptions::SetOption((wxString
const &)*arg1
,(wxString
const &)*arg2
);
1614 wxPyEndAllowThreads(__tstate
);
1615 if (PyErr_Occurred()) SWIG_fail
;
1617 Py_INCREF(Py_None
); resultobj
= Py_None
;
1640 static PyObject
*_wrap_SystemOptions_SetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1641 PyObject
*resultobj
;
1642 wxString
*arg1
= 0 ;
1644 bool temp1
= False
;
1645 PyObject
* obj0
= 0 ;
1646 PyObject
* obj1
= 0 ;
1648 (char *) "name",(char *) "value", NULL
1651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
1653 arg1
= wxString_in_helper(obj0
);
1654 if (arg1
== NULL
) SWIG_fail
;
1657 arg2
= (int) SWIG_AsInt(obj1
);
1658 if (PyErr_Occurred()) SWIG_fail
;
1660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1661 wxSystemOptions::SetOption((wxString
const &)*arg1
,arg2
);
1663 wxPyEndAllowThreads(__tstate
);
1664 if (PyErr_Occurred()) SWIG_fail
;
1666 Py_INCREF(Py_None
); resultobj
= Py_None
;
1681 static PyObject
*_wrap_SystemOptions_GetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1682 PyObject
*resultobj
;
1683 wxString
*arg1
= 0 ;
1685 bool temp1
= False
;
1686 PyObject
* obj0
= 0 ;
1688 (char *) "name", NULL
1691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) goto fail
;
1693 arg1
= wxString_in_helper(obj0
);
1694 if (arg1
== NULL
) SWIG_fail
;
1698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1699 result
= wxSystemOptions::GetOption((wxString
const &)*arg1
);
1701 wxPyEndAllowThreads(__tstate
);
1702 if (PyErr_Occurred()) SWIG_fail
;
1706 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1708 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1725 static PyObject
*_wrap_SystemOptions_GetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1726 PyObject
*resultobj
;
1727 wxString
*arg1
= 0 ;
1729 bool temp1
= False
;
1730 PyObject
* obj0
= 0 ;
1732 (char *) "name", NULL
1735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) goto fail
;
1737 arg1
= wxString_in_helper(obj0
);
1738 if (arg1
== NULL
) SWIG_fail
;
1742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1743 result
= (int)wxSystemOptions::GetOptionInt((wxString
const &)*arg1
);
1745 wxPyEndAllowThreads(__tstate
);
1746 if (PyErr_Occurred()) SWIG_fail
;
1748 resultobj
= SWIG_FromInt((int)result
);
1763 static PyObject
*_wrap_SystemOptions_HasOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1764 PyObject
*resultobj
;
1765 wxString
*arg1
= 0 ;
1767 bool temp1
= False
;
1768 PyObject
* obj0
= 0 ;
1770 (char *) "name", NULL
1773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) goto fail
;
1775 arg1
= wxString_in_helper(obj0
);
1776 if (arg1
== NULL
) SWIG_fail
;
1780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1781 result
= (bool)wxSystemOptions::HasOption((wxString
const &)*arg1
);
1783 wxPyEndAllowThreads(__tstate
);
1784 if (PyErr_Occurred()) SWIG_fail
;
1786 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1801 static PyObject
* SystemOptions_swigregister(PyObject
*self
, PyObject
*args
) {
1803 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1804 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions
, obj
);
1806 return Py_BuildValue((char *)"");
1808 static int _wrap_FileSelectorPromptStr_set(PyObject
*_val
) {
1809 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
1814 static PyObject
*_wrap_FileSelectorPromptStr_get() {
1819 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
1821 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
1828 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*_val
) {
1829 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
1834 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
1839 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
1841 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
1848 static int _wrap_DirSelectorPromptStr_set(PyObject
*_val
) {
1849 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
1854 static PyObject
*_wrap_DirSelectorPromptStr_get() {
1859 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
1861 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
1868 static PyObject
*_wrap_NewId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1869 PyObject
*resultobj
;
1875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewId",kwnames
)) goto fail
;
1877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1878 result
= (long)wxNewId();
1880 wxPyEndAllowThreads(__tstate
);
1881 if (PyErr_Occurred()) SWIG_fail
;
1883 resultobj
= SWIG_FromLong((long)result
);
1890 static PyObject
*_wrap_RegisterId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1891 PyObject
*resultobj
;
1893 PyObject
* obj0
= 0 ;
1898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegisterId",kwnames
,&obj0
)) goto fail
;
1899 arg1
= (long) SWIG_AsLong(obj0
);
1900 if (PyErr_Occurred()) SWIG_fail
;
1902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1905 wxPyEndAllowThreads(__tstate
);
1906 if (PyErr_Occurred()) SWIG_fail
;
1908 Py_INCREF(Py_None
); resultobj
= Py_None
;
1915 static PyObject
*_wrap_GetCurrentId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1916 PyObject
*resultobj
;
1922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentId",kwnames
)) goto fail
;
1924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1925 result
= (long)wxGetCurrentId();
1927 wxPyEndAllowThreads(__tstate
);
1928 if (PyErr_Occurred()) SWIG_fail
;
1930 resultobj
= SWIG_FromLong((long)result
);
1937 static PyObject
*_wrap_Bell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1938 PyObject
*resultobj
;
1943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Bell",kwnames
)) goto fail
;
1945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1948 wxPyEndAllowThreads(__tstate
);
1949 if (PyErr_Occurred()) SWIG_fail
;
1951 Py_INCREF(Py_None
); resultobj
= Py_None
;
1958 static PyObject
*_wrap_EndBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1959 PyObject
*resultobj
;
1964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EndBusyCursor",kwnames
)) goto fail
;
1966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1969 wxPyEndAllowThreads(__tstate
);
1970 if (PyErr_Occurred()) SWIG_fail
;
1972 Py_INCREF(Py_None
); resultobj
= Py_None
;
1979 static PyObject
*_wrap_GetElapsedTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1980 PyObject
*resultobj
;
1981 bool arg1
= (bool) True
;
1983 PyObject
* obj0
= 0 ;
1985 (char *) "resetTimer", NULL
1988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) goto fail
;
1990 arg1
= (bool) SWIG_AsBool(obj0
);
1991 if (PyErr_Occurred()) SWIG_fail
;
1994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1995 result
= (long)wxGetElapsedTime(arg1
);
1997 wxPyEndAllowThreads(__tstate
);
1998 if (PyErr_Occurred()) SWIG_fail
;
2000 resultobj
= SWIG_FromLong((long)result
);
2007 static PyObject
*_wrap_GetMousePosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2008 PyObject
*resultobj
;
2009 int *arg1
= (int *) 0 ;
2010 int *arg2
= (int *) 0 ;
2019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetMousePosition",kwnames
)) goto fail
;
2021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2022 wxGetMousePosition(arg1
,arg2
);
2024 wxPyEndAllowThreads(__tstate
);
2025 if (PyErr_Occurred()) SWIG_fail
;
2027 Py_INCREF(Py_None
); resultobj
= Py_None
;
2029 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
2030 resultobj
= t_output_helper(resultobj
,o
);
2033 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
2034 resultobj
= t_output_helper(resultobj
,o
);
2042 static PyObject
*_wrap_IsBusy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2043 PyObject
*resultobj
;
2049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IsBusy",kwnames
)) goto fail
;
2051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2052 result
= (bool)wxIsBusy();
2054 wxPyEndAllowThreads(__tstate
);
2055 if (PyErr_Occurred()) SWIG_fail
;
2057 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2064 static PyObject
*_wrap_Now(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2065 PyObject
*resultobj
;
2071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Now",kwnames
)) goto fail
;
2073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2076 wxPyEndAllowThreads(__tstate
);
2077 if (PyErr_Occurred()) SWIG_fail
;
2081 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2083 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2092 static PyObject
*_wrap_Shell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2093 PyObject
*resultobj
;
2094 wxString
const &arg1_defvalue
= wxPyEmptyString
;
2095 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2097 bool temp1
= False
;
2098 PyObject
* obj0
= 0 ;
2100 (char *) "command", NULL
2103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) goto fail
;
2106 arg1
= wxString_in_helper(obj0
);
2107 if (arg1
== NULL
) SWIG_fail
;
2112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2113 result
= (bool)wxShell((wxString
const &)*arg1
);
2115 wxPyEndAllowThreads(__tstate
);
2116 if (PyErr_Occurred()) SWIG_fail
;
2118 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2133 static PyObject
*_wrap_StartTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2134 PyObject
*resultobj
;
2139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StartTimer",kwnames
)) goto fail
;
2141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2144 wxPyEndAllowThreads(__tstate
);
2145 if (PyErr_Occurred()) SWIG_fail
;
2147 Py_INCREF(Py_None
); resultobj
= Py_None
;
2154 static PyObject
*_wrap_GetOsVersion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2155 PyObject
*resultobj
;
2156 int *arg1
= (int *) 0 ;
2157 int *arg2
= (int *) 0 ;
2167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsVersion",kwnames
)) goto fail
;
2169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2170 result
= (int)wxGetOsVersion(arg1
,arg2
);
2172 wxPyEndAllowThreads(__tstate
);
2173 if (PyErr_Occurred()) SWIG_fail
;
2175 resultobj
= SWIG_FromInt((int)result
);
2177 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
2178 resultobj
= t_output_helper(resultobj
,o
);
2181 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
2182 resultobj
= t_output_helper(resultobj
,o
);
2190 static PyObject
*_wrap_GetOsDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2191 PyObject
*resultobj
;
2197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsDescription",kwnames
)) goto fail
;
2199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2200 result
= wxGetOsDescription();
2202 wxPyEndAllowThreads(__tstate
);
2203 if (PyErr_Occurred()) SWIG_fail
;
2207 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2209 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2218 static PyObject
*_wrap_GetFreeMemory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2219 PyObject
*resultobj
;
2225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFreeMemory",kwnames
)) goto fail
;
2227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2228 result
= (long)wxGetFreeMemory();
2230 wxPyEndAllowThreads(__tstate
);
2231 if (PyErr_Occurred()) SWIG_fail
;
2233 resultobj
= SWIG_FromLong((long)result
);
2240 static PyObject
*_wrap_Shutdown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2241 PyObject
*resultobj
;
2244 PyObject
* obj0
= 0 ;
2246 (char *) "wFlags", NULL
2249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Shutdown",kwnames
,&obj0
)) goto fail
;
2250 arg1
= (wxShutdownFlags
) SWIG_AsInt(obj0
);
2251 if (PyErr_Occurred()) SWIG_fail
;
2253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2254 result
= (bool)wxShutdown((wxShutdownFlags
)arg1
);
2256 wxPyEndAllowThreads(__tstate
);
2257 if (PyErr_Occurred()) SWIG_fail
;
2259 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2266 static PyObject
*_wrap_Sleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2267 PyObject
*resultobj
;
2269 PyObject
* obj0
= 0 ;
2271 (char *) "secs", NULL
2274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sleep",kwnames
,&obj0
)) goto fail
;
2275 arg1
= (int) SWIG_AsInt(obj0
);
2276 if (PyErr_Occurred()) SWIG_fail
;
2278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2281 wxPyEndAllowThreads(__tstate
);
2282 if (PyErr_Occurred()) SWIG_fail
;
2284 Py_INCREF(Py_None
); resultobj
= Py_None
;
2291 static PyObject
*_wrap_Usleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2292 PyObject
*resultobj
;
2293 unsigned long arg1
;
2294 PyObject
* obj0
= 0 ;
2296 (char *) "milliseconds", NULL
2299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Usleep",kwnames
,&obj0
)) goto fail
;
2300 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
2301 if (PyErr_Occurred()) SWIG_fail
;
2303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2306 wxPyEndAllowThreads(__tstate
);
2307 if (PyErr_Occurred()) SWIG_fail
;
2309 Py_INCREF(Py_None
); resultobj
= Py_None
;
2316 static PyObject
*_wrap_EnableTopLevelWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2317 PyObject
*resultobj
;
2319 PyObject
* obj0
= 0 ;
2321 (char *) "enable", NULL
2324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) goto fail
;
2325 arg1
= (bool) SWIG_AsBool(obj0
);
2326 if (PyErr_Occurred()) SWIG_fail
;
2328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2329 wxEnableTopLevelWindows(arg1
);
2331 wxPyEndAllowThreads(__tstate
);
2332 if (PyErr_Occurred()) SWIG_fail
;
2334 Py_INCREF(Py_None
); resultobj
= Py_None
;
2341 static PyObject
*_wrap_StripMenuCodes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2342 PyObject
*resultobj
;
2343 wxString
*arg1
= 0 ;
2345 bool temp1
= False
;
2346 PyObject
* obj0
= 0 ;
2351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) goto fail
;
2353 arg1
= wxString_in_helper(obj0
);
2354 if (arg1
== NULL
) SWIG_fail
;
2358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2359 result
= wxStripMenuCodes((wxString
const &)*arg1
);
2361 wxPyEndAllowThreads(__tstate
);
2362 if (PyErr_Occurred()) SWIG_fail
;
2366 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2368 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2385 static PyObject
*_wrap_GetEmailAddress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2386 PyObject
*resultobj
;
2392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetEmailAddress",kwnames
)) goto fail
;
2394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2395 result
= wxGetEmailAddress();
2397 wxPyEndAllowThreads(__tstate
);
2398 if (PyErr_Occurred()) SWIG_fail
;
2402 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2404 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2413 static PyObject
*_wrap_GetHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2414 PyObject
*resultobj
;
2420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHostName",kwnames
)) goto fail
;
2422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2423 result
= wxGetHostName();
2425 wxPyEndAllowThreads(__tstate
);
2426 if (PyErr_Occurred()) SWIG_fail
;
2430 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2432 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2441 static PyObject
*_wrap_GetFullHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2442 PyObject
*resultobj
;
2448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFullHostName",kwnames
)) goto fail
;
2450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2451 result
= wxGetFullHostName();
2453 wxPyEndAllowThreads(__tstate
);
2454 if (PyErr_Occurred()) SWIG_fail
;
2458 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2460 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2469 static PyObject
*_wrap_GetUserId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2470 PyObject
*resultobj
;
2476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserId",kwnames
)) goto fail
;
2478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2479 result
= wxGetUserId();
2481 wxPyEndAllowThreads(__tstate
);
2482 if (PyErr_Occurred()) SWIG_fail
;
2486 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2488 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2497 static PyObject
*_wrap_GetUserName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2498 PyObject
*resultobj
;
2504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserName",kwnames
)) goto fail
;
2506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2507 result
= wxGetUserName();
2509 wxPyEndAllowThreads(__tstate
);
2510 if (PyErr_Occurred()) SWIG_fail
;
2514 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2516 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2525 static PyObject
*_wrap_GetHomeDir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2526 PyObject
*resultobj
;
2532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHomeDir",kwnames
)) goto fail
;
2534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2535 result
= wxGetHomeDir();
2537 wxPyEndAllowThreads(__tstate
);
2538 if (PyErr_Occurred()) SWIG_fail
;
2542 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2544 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2553 static PyObject
*_wrap_GetUserHome(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2554 PyObject
*resultobj
;
2555 wxString
const &arg1_defvalue
= wxPyEmptyString
;
2556 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2558 bool temp1
= False
;
2559 PyObject
* obj0
= 0 ;
2561 (char *) "user", NULL
2564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) goto fail
;
2567 arg1
= wxString_in_helper(obj0
);
2568 if (arg1
== NULL
) SWIG_fail
;
2573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2574 result
= wxGetUserHome((wxString
const &)*arg1
);
2576 wxPyEndAllowThreads(__tstate
);
2577 if (PyErr_Occurred()) SWIG_fail
;
2581 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2583 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2600 static PyObject
*_wrap_GetProcessId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2601 PyObject
*resultobj
;
2602 unsigned long result
;
2607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetProcessId",kwnames
)) goto fail
;
2609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2610 result
= (unsigned long)wxGetProcessId();
2612 wxPyEndAllowThreads(__tstate
);
2613 if (PyErr_Occurred()) SWIG_fail
;
2615 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
2622 static PyObject
*_wrap_Trap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2623 PyObject
*resultobj
;
2628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Trap",kwnames
)) goto fail
;
2630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2633 wxPyEndAllowThreads(__tstate
);
2634 if (PyErr_Occurred()) SWIG_fail
;
2636 Py_INCREF(Py_None
); resultobj
= Py_None
;
2643 static PyObject
*_wrap_FileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2644 PyObject
*resultobj
;
2645 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
2646 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2647 wxString
const &arg2_defvalue
= wxPyEmptyString
;
2648 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
2649 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2650 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2651 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2652 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2653 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
2654 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
2655 int arg6
= (int) 0 ;
2656 wxWindow
*arg7
= (wxWindow
*) NULL
;
2657 int arg8
= (int) -1 ;
2658 int arg9
= (int) -1 ;
2660 bool temp1
= False
;
2661 bool temp2
= False
;
2662 bool temp3
= False
;
2663 bool temp4
= False
;
2664 bool temp5
= False
;
2665 PyObject
* obj0
= 0 ;
2666 PyObject
* obj1
= 0 ;
2667 PyObject
* obj2
= 0 ;
2668 PyObject
* obj3
= 0 ;
2669 PyObject
* obj4
= 0 ;
2670 PyObject
* obj5
= 0 ;
2671 PyObject
* obj6
= 0 ;
2672 PyObject
* obj7
= 0 ;
2673 PyObject
* obj8
= 0 ;
2675 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
2678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOOOO:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2681 arg1
= wxString_in_helper(obj0
);
2682 if (arg1
== NULL
) SWIG_fail
;
2688 arg2
= wxString_in_helper(obj1
);
2689 if (arg2
== NULL
) SWIG_fail
;
2695 arg3
= wxString_in_helper(obj2
);
2696 if (arg3
== NULL
) SWIG_fail
;
2702 arg4
= wxString_in_helper(obj3
);
2703 if (arg4
== NULL
) SWIG_fail
;
2709 arg5
= wxString_in_helper(obj4
);
2710 if (arg5
== NULL
) SWIG_fail
;
2715 arg6
= (int) SWIG_AsInt(obj5
);
2716 if (PyErr_Occurred()) SWIG_fail
;
2719 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxWindow
,
2720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2723 arg8
= (int) SWIG_AsInt(obj7
);
2724 if (PyErr_Occurred()) SWIG_fail
;
2727 arg9
= (int) SWIG_AsInt(obj8
);
2728 if (PyErr_Occurred()) SWIG_fail
;
2731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2732 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
2734 wxPyEndAllowThreads(__tstate
);
2735 if (PyErr_Occurred()) SWIG_fail
;
2739 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2741 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2790 static PyObject
*_wrap_LoadFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2791 PyObject
*resultobj
;
2792 wxString
*arg1
= 0 ;
2793 wxString
*arg2
= 0 ;
2794 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2795 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2796 wxWindow
*arg4
= (wxWindow
*) NULL
;
2798 bool temp1
= False
;
2799 bool temp2
= False
;
2800 bool temp3
= False
;
2801 PyObject
* obj0
= 0 ;
2802 PyObject
* obj1
= 0 ;
2803 PyObject
* obj2
= 0 ;
2804 PyObject
* obj3
= 0 ;
2806 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
2809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2811 arg1
= wxString_in_helper(obj0
);
2812 if (arg1
== NULL
) SWIG_fail
;
2816 arg2
= wxString_in_helper(obj1
);
2817 if (arg2
== NULL
) SWIG_fail
;
2822 arg3
= wxString_in_helper(obj2
);
2823 if (arg3
== NULL
) SWIG_fail
;
2828 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
2829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2833 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
2835 wxPyEndAllowThreads(__tstate
);
2836 if (PyErr_Occurred()) SWIG_fail
;
2840 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2842 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2875 static PyObject
*_wrap_SaveFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2876 PyObject
*resultobj
;
2877 wxString
*arg1
= 0 ;
2878 wxString
*arg2
= 0 ;
2879 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2880 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2881 wxWindow
*arg4
= (wxWindow
*) NULL
;
2883 bool temp1
= False
;
2884 bool temp2
= False
;
2885 bool temp3
= False
;
2886 PyObject
* obj0
= 0 ;
2887 PyObject
* obj1
= 0 ;
2888 PyObject
* obj2
= 0 ;
2889 PyObject
* obj3
= 0 ;
2891 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
2894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2896 arg1
= wxString_in_helper(obj0
);
2897 if (arg1
== NULL
) SWIG_fail
;
2901 arg2
= wxString_in_helper(obj1
);
2902 if (arg2
== NULL
) SWIG_fail
;
2907 arg3
= wxString_in_helper(obj2
);
2908 if (arg3
== NULL
) SWIG_fail
;
2913 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
2914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2918 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
2920 wxPyEndAllowThreads(__tstate
);
2921 if (PyErr_Occurred()) SWIG_fail
;
2925 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2927 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2960 static PyObject
*_wrap_DirSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2961 PyObject
*resultobj
;
2962 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
2963 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2964 wxString
const &arg2_defvalue
= wxPyEmptyString
;
2965 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
2966 long arg3
= (long) wxDD_DEFAULT_STYLE
;
2967 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2968 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2969 wxWindow
*arg5
= (wxWindow
*) NULL
;
2971 bool temp1
= False
;
2972 bool temp2
= False
;
2974 PyObject
* obj0
= 0 ;
2975 PyObject
* obj1
= 0 ;
2976 PyObject
* obj2
= 0 ;
2977 PyObject
* obj3
= 0 ;
2978 PyObject
* obj4
= 0 ;
2980 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
2983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:DirSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
2986 arg1
= wxString_in_helper(obj0
);
2987 if (arg1
== NULL
) SWIG_fail
;
2993 arg2
= wxString_in_helper(obj1
);
2994 if (arg2
== NULL
) SWIG_fail
;
2999 arg3
= (long) SWIG_AsLong(obj2
);
3000 if (PyErr_Occurred()) SWIG_fail
;
3005 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3009 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3014 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
3016 wxPyEndAllowThreads(__tstate
);
3017 if (PyErr_Occurred()) SWIG_fail
;
3021 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3023 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3048 static PyObject
*_wrap_GetTextFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3049 PyObject
*resultobj
;
3050 wxString
*arg1
= 0 ;
3051 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3052 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3053 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3054 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3055 wxWindow
*arg4
= (wxWindow
*) NULL
;
3056 int arg5
= (int) -1 ;
3057 int arg6
= (int) -1 ;
3058 bool arg7
= (bool) True
;
3060 bool temp1
= False
;
3061 bool temp2
= False
;
3062 bool temp3
= False
;
3063 PyObject
* obj0
= 0 ;
3064 PyObject
* obj1
= 0 ;
3065 PyObject
* obj2
= 0 ;
3066 PyObject
* obj3
= 0 ;
3067 PyObject
* obj4
= 0 ;
3068 PyObject
* obj5
= 0 ;
3069 PyObject
* obj6
= 0 ;
3071 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
3074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3076 arg1
= wxString_in_helper(obj0
);
3077 if (arg1
== NULL
) SWIG_fail
;
3082 arg2
= wxString_in_helper(obj1
);
3083 if (arg2
== NULL
) SWIG_fail
;
3089 arg3
= wxString_in_helper(obj2
);
3090 if (arg3
== NULL
) SWIG_fail
;
3095 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3099 arg5
= (int) SWIG_AsInt(obj4
);
3100 if (PyErr_Occurred()) SWIG_fail
;
3103 arg6
= (int) SWIG_AsInt(obj5
);
3104 if (PyErr_Occurred()) SWIG_fail
;
3107 arg7
= (bool) SWIG_AsBool(obj6
);
3108 if (PyErr_Occurred()) SWIG_fail
;
3111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3112 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
3114 wxPyEndAllowThreads(__tstate
);
3115 if (PyErr_Occurred()) SWIG_fail
;
3119 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3121 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3154 static PyObject
*_wrap_GetPasswordFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3155 PyObject
*resultobj
;
3156 wxString
*arg1
= 0 ;
3157 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3158 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3159 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3160 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3161 wxWindow
*arg4
= (wxWindow
*) NULL
;
3163 bool temp1
= False
;
3164 bool temp2
= False
;
3165 bool temp3
= False
;
3166 PyObject
* obj0
= 0 ;
3167 PyObject
* obj1
= 0 ;
3168 PyObject
* obj2
= 0 ;
3169 PyObject
* obj3
= 0 ;
3171 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
3174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3176 arg1
= wxString_in_helper(obj0
);
3177 if (arg1
== NULL
) SWIG_fail
;
3182 arg2
= wxString_in_helper(obj1
);
3183 if (arg2
== NULL
) SWIG_fail
;
3189 arg3
= wxString_in_helper(obj2
);
3190 if (arg3
== NULL
) SWIG_fail
;
3195 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3200 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3202 wxPyEndAllowThreads(__tstate
);
3203 if (PyErr_Occurred()) SWIG_fail
;
3207 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3209 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3242 static PyObject
*_wrap_GetSingleChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3243 PyObject
*resultobj
;
3244 wxString
*arg1
= 0 ;
3245 wxString
*arg2
= 0 ;
3247 wxString
*arg4
= (wxString
*) 0 ;
3248 wxWindow
*arg5
= (wxWindow
*) NULL
;
3249 int arg6
= (int) -1 ;
3250 int arg7
= (int) -1 ;
3251 bool arg8
= (bool) True
;
3252 int arg9
= (int) 150 ;
3253 int arg10
= (int) 200 ;
3255 bool temp1
= False
;
3256 bool temp2
= False
;
3257 PyObject
* obj0
= 0 ;
3258 PyObject
* obj1
= 0 ;
3259 PyObject
* obj2
= 0 ;
3260 PyObject
* obj3
= 0 ;
3261 PyObject
* obj4
= 0 ;
3262 PyObject
* obj5
= 0 ;
3263 PyObject
* obj6
= 0 ;
3264 PyObject
* obj7
= 0 ;
3265 PyObject
* obj8
= 0 ;
3267 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3272 arg1
= wxString_in_helper(obj0
);
3273 if (arg1
== NULL
) SWIG_fail
;
3277 arg2
= wxString_in_helper(obj1
);
3278 if (arg2
== NULL
) SWIG_fail
;
3282 arg3
= PyList_Size(obj2
);
3283 arg4
= wxString_LIST_helper(obj2
);
3284 if (arg4
== NULL
) SWIG_fail
;
3287 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3291 arg6
= (int) SWIG_AsInt(obj4
);
3292 if (PyErr_Occurred()) SWIG_fail
;
3295 arg7
= (int) SWIG_AsInt(obj5
);
3296 if (PyErr_Occurred()) SWIG_fail
;
3299 arg8
= (bool) SWIG_AsBool(obj6
);
3300 if (PyErr_Occurred()) SWIG_fail
;
3303 arg9
= (int) SWIG_AsInt(obj7
);
3304 if (PyErr_Occurred()) SWIG_fail
;
3307 arg10
= (int) SWIG_AsInt(obj8
);
3308 if (PyErr_Occurred()) SWIG_fail
;
3311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3312 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
3314 wxPyEndAllowThreads(__tstate
);
3315 if (PyErr_Occurred()) SWIG_fail
;
3319 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3321 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3333 if (arg4
) delete [] arg4
;
3346 if (arg4
) delete [] arg4
;
3352 static PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3353 PyObject
*resultobj
;
3354 wxString
*arg1
= 0 ;
3355 wxString
*arg2
= 0 ;
3357 wxString
*arg4
= (wxString
*) 0 ;
3358 wxWindow
*arg5
= (wxWindow
*) NULL
;
3359 int arg6
= (int) -1 ;
3360 int arg7
= (int) -1 ;
3361 bool arg8
= (bool) True
;
3362 int arg9
= (int) 150 ;
3363 int arg10
= (int) 200 ;
3365 bool temp1
= False
;
3366 bool temp2
= False
;
3367 PyObject
* obj0
= 0 ;
3368 PyObject
* obj1
= 0 ;
3369 PyObject
* obj2
= 0 ;
3370 PyObject
* obj3
= 0 ;
3371 PyObject
* obj4
= 0 ;
3372 PyObject
* obj5
= 0 ;
3373 PyObject
* obj6
= 0 ;
3374 PyObject
* obj7
= 0 ;
3375 PyObject
* obj8
= 0 ;
3377 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3382 arg1
= wxString_in_helper(obj0
);
3383 if (arg1
== NULL
) SWIG_fail
;
3387 arg2
= wxString_in_helper(obj1
);
3388 if (arg2
== NULL
) SWIG_fail
;
3392 arg3
= PyList_Size(obj2
);
3393 arg4
= wxString_LIST_helper(obj2
);
3394 if (arg4
== NULL
) SWIG_fail
;
3397 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3401 arg6
= (int) SWIG_AsInt(obj4
);
3402 if (PyErr_Occurred()) SWIG_fail
;
3405 arg7
= (int) SWIG_AsInt(obj5
);
3406 if (PyErr_Occurred()) SWIG_fail
;
3409 arg8
= (bool) SWIG_AsBool(obj6
);
3410 if (PyErr_Occurred()) SWIG_fail
;
3413 arg9
= (int) SWIG_AsInt(obj7
);
3414 if (PyErr_Occurred()) SWIG_fail
;
3417 arg10
= (int) SWIG_AsInt(obj8
);
3418 if (PyErr_Occurred()) SWIG_fail
;
3421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3422 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
3424 wxPyEndAllowThreads(__tstate
);
3425 if (PyErr_Occurred()) SWIG_fail
;
3427 resultobj
= SWIG_FromInt((int)result
);
3437 if (arg4
) delete [] arg4
;
3450 if (arg4
) delete [] arg4
;
3456 static PyObject
*_wrap_MessageBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3457 PyObject
*resultobj
;
3458 wxString
*arg1
= 0 ;
3459 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3460 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3461 int arg3
= (int) wxOK
|wxCENTRE
;
3462 wxWindow
*arg4
= (wxWindow
*) NULL
;
3463 int arg5
= (int) -1 ;
3464 int arg6
= (int) -1 ;
3466 bool temp1
= False
;
3467 bool temp2
= False
;
3468 PyObject
* obj0
= 0 ;
3469 PyObject
* obj1
= 0 ;
3470 PyObject
* obj2
= 0 ;
3471 PyObject
* obj3
= 0 ;
3472 PyObject
* obj4
= 0 ;
3473 PyObject
* obj5
= 0 ;
3475 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
3478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:MessageBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
3480 arg1
= wxString_in_helper(obj0
);
3481 if (arg1
== NULL
) SWIG_fail
;
3486 arg2
= wxString_in_helper(obj1
);
3487 if (arg2
== NULL
) SWIG_fail
;
3492 arg3
= (int) SWIG_AsInt(obj2
);
3493 if (PyErr_Occurred()) SWIG_fail
;
3496 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3500 arg5
= (int) SWIG_AsInt(obj4
);
3501 if (PyErr_Occurred()) SWIG_fail
;
3504 arg6
= (int) SWIG_AsInt(obj5
);
3505 if (PyErr_Occurred()) SWIG_fail
;
3508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3509 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
3511 wxPyEndAllowThreads(__tstate
);
3512 if (PyErr_Occurred()) SWIG_fail
;
3514 resultobj
= SWIG_FromInt((int)result
);
3537 static PyObject
*_wrap_GetNumberFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3538 PyObject
*resultobj
;
3539 wxString
*arg1
= 0 ;
3540 wxString
*arg2
= 0 ;
3541 wxString
*arg3
= 0 ;
3543 long arg5
= (long) 0 ;
3544 long arg6
= (long) 100 ;
3545 wxWindow
*arg7
= (wxWindow
*) NULL
;
3546 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
3547 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
3549 bool temp1
= False
;
3550 bool temp2
= False
;
3551 bool temp3
= False
;
3553 PyObject
* obj0
= 0 ;
3554 PyObject
* obj1
= 0 ;
3555 PyObject
* obj2
= 0 ;
3556 PyObject
* obj3
= 0 ;
3557 PyObject
* obj4
= 0 ;
3558 PyObject
* obj5
= 0 ;
3559 PyObject
* obj6
= 0 ;
3560 PyObject
* obj7
= 0 ;
3562 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
3565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3567 arg1
= wxString_in_helper(obj0
);
3568 if (arg1
== NULL
) SWIG_fail
;
3572 arg2
= wxString_in_helper(obj1
);
3573 if (arg2
== NULL
) SWIG_fail
;
3577 arg3
= wxString_in_helper(obj2
);
3578 if (arg3
== NULL
) SWIG_fail
;
3581 arg4
= (long) SWIG_AsLong(obj3
);
3582 if (PyErr_Occurred()) SWIG_fail
;
3584 arg5
= (long) SWIG_AsLong(obj4
);
3585 if (PyErr_Occurred()) SWIG_fail
;
3588 arg6
= (long) SWIG_AsLong(obj5
);
3589 if (PyErr_Occurred()) SWIG_fail
;
3592 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxWindow
,
3593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3598 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
3602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3603 result
= (long)wxGetNumberFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
3605 wxPyEndAllowThreads(__tstate
);
3606 if (PyErr_Occurred()) SWIG_fail
;
3608 resultobj
= SWIG_FromLong((long)result
);
3639 static PyObject
*_wrap_ColourDisplay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3640 PyObject
*resultobj
;
3646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ColourDisplay",kwnames
)) goto fail
;
3648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3649 result
= (bool)wxColourDisplay();
3651 wxPyEndAllowThreads(__tstate
);
3652 if (PyErr_Occurred()) SWIG_fail
;
3654 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3661 static PyObject
*_wrap_DisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3662 PyObject
*resultobj
;
3668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplayDepth",kwnames
)) goto fail
;
3670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3671 result
= (int)wxDisplayDepth();
3673 wxPyEndAllowThreads(__tstate
);
3674 if (PyErr_Occurred()) SWIG_fail
;
3676 resultobj
= SWIG_FromInt((int)result
);
3683 static PyObject
*_wrap_GetDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3684 PyObject
*resultobj
;
3690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplayDepth",kwnames
)) goto fail
;
3692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3693 result
= (int)wxGetDisplayDepth();
3695 wxPyEndAllowThreads(__tstate
);
3696 if (PyErr_Occurred()) SWIG_fail
;
3698 resultobj
= SWIG_FromInt((int)result
);
3705 static PyObject
*_wrap_DisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3706 PyObject
*resultobj
;
3707 int *arg1
= (int *) 0 ;
3708 int *arg2
= (int *) 0 ;
3717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySize",kwnames
)) goto fail
;
3719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3720 wxDisplaySize(arg1
,arg2
);
3722 wxPyEndAllowThreads(__tstate
);
3723 if (PyErr_Occurred()) SWIG_fail
;
3725 Py_INCREF(Py_None
); resultobj
= Py_None
;
3727 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
3728 resultobj
= t_output_helper(resultobj
,o
);
3731 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3732 resultobj
= t_output_helper(resultobj
,o
);
3740 static PyObject
*_wrap_GetDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3741 PyObject
*resultobj
;
3747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySize",kwnames
)) goto fail
;
3749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3750 result
= wxGetDisplaySize();
3752 wxPyEndAllowThreads(__tstate
);
3753 if (PyErr_Occurred()) SWIG_fail
;
3757 resultptr
= new wxSize((wxSize
&) result
);
3758 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3766 static PyObject
*_wrap_DisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3767 PyObject
*resultobj
;
3768 int *arg1
= (int *) 0 ;
3769 int *arg2
= (int *) 0 ;
3778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySizeMM",kwnames
)) goto fail
;
3780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3781 wxDisplaySizeMM(arg1
,arg2
);
3783 wxPyEndAllowThreads(__tstate
);
3784 if (PyErr_Occurred()) SWIG_fail
;
3786 Py_INCREF(Py_None
); resultobj
= Py_None
;
3788 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
3789 resultobj
= t_output_helper(resultobj
,o
);
3792 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3793 resultobj
= t_output_helper(resultobj
,o
);
3801 static PyObject
*_wrap_GetDisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3802 PyObject
*resultobj
;
3808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySizeMM",kwnames
)) goto fail
;
3810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3811 result
= wxGetDisplaySizeMM();
3813 wxPyEndAllowThreads(__tstate
);
3814 if (PyErr_Occurred()) SWIG_fail
;
3818 resultptr
= new wxSize((wxSize
&) result
);
3819 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3827 static PyObject
*_wrap_ClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3828 PyObject
*resultobj
;
3829 int *arg1
= (int *) 0 ;
3830 int *arg2
= (int *) 0 ;
3831 int *arg3
= (int *) 0 ;
3832 int *arg4
= (int *) 0 ;
3845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ClientDisplayRect",kwnames
)) goto fail
;
3847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3848 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
3850 wxPyEndAllowThreads(__tstate
);
3851 if (PyErr_Occurred()) SWIG_fail
;
3853 Py_INCREF(Py_None
); resultobj
= Py_None
;
3855 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
3856 resultobj
= t_output_helper(resultobj
,o
);
3859 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3860 resultobj
= t_output_helper(resultobj
,o
);
3863 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
3864 resultobj
= t_output_helper(resultobj
,o
);
3867 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
3868 resultobj
= t_output_helper(resultobj
,o
);
3876 static PyObject
*_wrap_GetClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3877 PyObject
*resultobj
;
3883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetClientDisplayRect",kwnames
)) goto fail
;
3885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3886 result
= wxGetClientDisplayRect();
3888 wxPyEndAllowThreads(__tstate
);
3889 if (PyErr_Occurred()) SWIG_fail
;
3893 resultptr
= new wxRect((wxRect
&) result
);
3894 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
3902 static PyObject
*_wrap_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3903 PyObject
*resultobj
;
3904 wxCursor
*arg1
= 0 ;
3905 PyObject
* obj0
= 0 ;
3907 (char *) "cursor", NULL
3910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) goto fail
;
3911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
3912 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3915 PyErr_SetString(PyExc_TypeError
,"null reference");
3919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3922 wxPyEndAllowThreads(__tstate
);
3923 if (PyErr_Occurred()) SWIG_fail
;
3925 Py_INCREF(Py_None
); resultobj
= Py_None
;
3932 static PyObject
*_wrap_BeginBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3933 PyObject
*resultobj
;
3934 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
3935 PyObject
* obj0
= 0 ;
3937 (char *) "cursor", NULL
3940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) goto fail
;
3942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
3943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3947 wxBeginBusyCursor(arg1
);
3949 wxPyEndAllowThreads(__tstate
);
3950 if (PyErr_Occurred()) SWIG_fail
;
3952 Py_INCREF(Py_None
); resultobj
= Py_None
;
3959 static PyObject
*_wrap_GetActiveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3960 PyObject
*resultobj
;
3966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetActiveWindow",kwnames
)) goto fail
;
3968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3969 result
= (wxWindow
*)wxGetActiveWindow();
3971 wxPyEndAllowThreads(__tstate
);
3972 if (PyErr_Occurred()) SWIG_fail
;
3975 resultobj
= wxPyMake_wxObject(result
);
3983 static PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3984 PyObject
*resultobj
;
3988 PyObject
* obj0
= 0 ;
3993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
3996 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4000 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
4002 wxPyEndAllowThreads(__tstate
);
4003 if (PyErr_Occurred()) SWIG_fail
;
4006 resultobj
= wxPyMake_wxObject(result
);
4014 static PyObject
*_wrap_FindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4015 PyObject
*resultobj
;
4019 PyObject
* obj0
= 0 ;
4024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
4027 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4031 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
4033 wxPyEndAllowThreads(__tstate
);
4034 if (PyErr_Occurred()) SWIG_fail
;
4037 resultobj
= wxPyMake_wxObject(result
);
4045 static PyObject
*_wrap_GetTopLevelParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4046 PyObject
*resultobj
;
4047 wxWindow
*arg1
= (wxWindow
*) 0 ;
4049 PyObject
* obj0
= 0 ;
4051 (char *) "win", NULL
4054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) goto fail
;
4055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4059 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
4061 wxPyEndAllowThreads(__tstate
);
4062 if (PyErr_Occurred()) SWIG_fail
;
4065 resultobj
= wxPyMake_wxObject(result
);
4073 static PyObject
*_wrap_GetKeyState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4074 PyObject
*resultobj
;
4077 PyObject
* obj0
= 0 ;
4079 (char *) "key", NULL
4082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetKeyState",kwnames
,&obj0
)) goto fail
;
4083 arg1
= (wxKeyCode
) SWIG_AsInt(obj0
);
4084 if (PyErr_Occurred()) SWIG_fail
;
4086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4087 result
= (bool)wxGetKeyState((wxKeyCode
)arg1
);
4089 wxPyEndAllowThreads(__tstate
);
4090 if (PyErr_Occurred()) SWIG_fail
;
4092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4099 static PyObject
*_wrap_WakeUpMainThread(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4100 PyObject
*resultobj
;
4105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpMainThread",kwnames
)) goto fail
;
4107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4108 wxWakeUpMainThread();
4110 wxPyEndAllowThreads(__tstate
);
4111 if (PyErr_Occurred()) SWIG_fail
;
4113 Py_INCREF(Py_None
); resultobj
= Py_None
;
4120 static PyObject
*_wrap_MutexGuiEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4121 PyObject
*resultobj
;
4126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiEnter",kwnames
)) goto fail
;
4128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4131 wxPyEndAllowThreads(__tstate
);
4132 if (PyErr_Occurred()) SWIG_fail
;
4134 Py_INCREF(Py_None
); resultobj
= Py_None
;
4141 static PyObject
*_wrap_MutexGuiLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4142 PyObject
*resultobj
;
4147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiLeave",kwnames
)) goto fail
;
4149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4152 wxPyEndAllowThreads(__tstate
);
4153 if (PyErr_Occurred()) SWIG_fail
;
4155 Py_INCREF(Py_None
); resultobj
= Py_None
;
4162 static PyObject
*_wrap_new_MutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4163 PyObject
*resultobj
;
4164 wxMutexGuiLocker
*result
;
4169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MutexGuiLocker",kwnames
)) goto fail
;
4171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4172 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
4174 wxPyEndAllowThreads(__tstate
);
4175 if (PyErr_Occurred()) SWIG_fail
;
4177 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMutexGuiLocker
, 1);
4184 static PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4185 PyObject
*resultobj
;
4186 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
4187 PyObject
* obj0
= 0 ;
4189 (char *) "self", NULL
4192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MutexGuiLocker",kwnames
,&obj0
)) goto fail
;
4193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMutexGuiLocker
,
4194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4199 wxPyEndAllowThreads(__tstate
);
4200 if (PyErr_Occurred()) SWIG_fail
;
4202 Py_INCREF(Py_None
); resultobj
= Py_None
;
4209 static PyObject
* MutexGuiLocker_swigregister(PyObject
*self
, PyObject
*args
) {
4211 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4212 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker
, obj
);
4214 return Py_BuildValue((char *)"");
4216 static PyObject
*_wrap_Thread_IsMain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4217 PyObject
*resultobj
;
4223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Thread_IsMain",kwnames
)) goto fail
;
4225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4226 result
= (bool)wxThread_IsMain();
4228 wxPyEndAllowThreads(__tstate
);
4229 if (PyErr_Occurred()) SWIG_fail
;
4231 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4238 static PyObject
*_wrap_new_ToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4239 PyObject
*resultobj
;
4240 wxString
*arg1
= 0 ;
4242 bool temp1
= False
;
4243 PyObject
* obj0
= 0 ;
4245 (char *) "tip", NULL
4248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) goto fail
;
4250 arg1
= wxString_in_helper(obj0
);
4251 if (arg1
== NULL
) SWIG_fail
;
4255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4256 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
4258 wxPyEndAllowThreads(__tstate
);
4259 if (PyErr_Occurred()) SWIG_fail
;
4262 resultobj
= wxPyMake_wxObject(result
);
4278 static PyObject
*_wrap_ToolTip_SetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4279 PyObject
*resultobj
;
4280 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4281 wxString
*arg2
= 0 ;
4282 bool temp2
= False
;
4283 PyObject
* obj0
= 0 ;
4284 PyObject
* obj1
= 0 ;
4286 (char *) "self",(char *) "tip", NULL
4289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) goto fail
;
4290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4293 arg2
= wxString_in_helper(obj1
);
4294 if (arg2
== NULL
) SWIG_fail
;
4298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4299 (arg1
)->SetTip((wxString
const &)*arg2
);
4301 wxPyEndAllowThreads(__tstate
);
4302 if (PyErr_Occurred()) SWIG_fail
;
4304 Py_INCREF(Py_None
); resultobj
= Py_None
;
4319 static PyObject
*_wrap_ToolTip_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4320 PyObject
*resultobj
;
4321 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4323 PyObject
* obj0
= 0 ;
4325 (char *) "self", NULL
4328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetTip",kwnames
,&obj0
)) goto fail
;
4329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4333 result
= (arg1
)->GetTip();
4335 wxPyEndAllowThreads(__tstate
);
4336 if (PyErr_Occurred()) SWIG_fail
;
4340 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4342 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4351 static PyObject
*_wrap_ToolTip_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4352 PyObject
*resultobj
;
4353 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4355 PyObject
* obj0
= 0 ;
4357 (char *) "self", NULL
4360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetWindow",kwnames
,&obj0
)) goto fail
;
4361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4365 result
= (wxWindow
*)(arg1
)->GetWindow();
4367 wxPyEndAllowThreads(__tstate
);
4368 if (PyErr_Occurred()) SWIG_fail
;
4371 resultobj
= wxPyMake_wxObject(result
);
4379 static PyObject
*_wrap_ToolTip_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4380 PyObject
*resultobj
;
4382 PyObject
* obj0
= 0 ;
4384 (char *) "flag", NULL
4387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) goto fail
;
4388 arg1
= (bool) SWIG_AsBool(obj0
);
4389 if (PyErr_Occurred()) SWIG_fail
;
4391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4392 wxToolTip::Enable(arg1
);
4394 wxPyEndAllowThreads(__tstate
);
4395 if (PyErr_Occurred()) SWIG_fail
;
4397 Py_INCREF(Py_None
); resultobj
= Py_None
;
4404 static PyObject
*_wrap_ToolTip_SetDelay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4405 PyObject
*resultobj
;
4407 PyObject
* obj0
= 0 ;
4409 (char *) "milliseconds", NULL
4412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_SetDelay",kwnames
,&obj0
)) goto fail
;
4413 arg1
= (long) SWIG_AsLong(obj0
);
4414 if (PyErr_Occurred()) SWIG_fail
;
4416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4417 wxToolTip::SetDelay(arg1
);
4419 wxPyEndAllowThreads(__tstate
);
4420 if (PyErr_Occurred()) SWIG_fail
;
4422 Py_INCREF(Py_None
); resultobj
= Py_None
;
4429 static PyObject
* ToolTip_swigregister(PyObject
*self
, PyObject
*args
) {
4431 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4432 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip
, obj
);
4434 return Py_BuildValue((char *)"");
4436 static PyObject
*_wrap_new_Caret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4437 PyObject
*resultobj
;
4438 wxWindow
*arg1
= (wxWindow
*) 0 ;
4442 PyObject
* obj0
= 0 ;
4443 PyObject
* obj1
= 0 ;
4445 (char *) "window",(char *) "size", NULL
4448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) goto fail
;
4449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4453 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4457 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
4459 wxPyEndAllowThreads(__tstate
);
4460 if (PyErr_Occurred()) SWIG_fail
;
4462 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 1);
4469 static PyObject
*_wrap_delete_Caret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4470 PyObject
*resultobj
;
4471 wxCaret
*arg1
= (wxCaret
*) 0 ;
4472 PyObject
* obj0
= 0 ;
4474 (char *) "self", NULL
4477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Caret",kwnames
,&obj0
)) goto fail
;
4478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4484 wxPyEndAllowThreads(__tstate
);
4485 if (PyErr_Occurred()) SWIG_fail
;
4487 Py_INCREF(Py_None
); resultobj
= Py_None
;
4494 static PyObject
*_wrap_Caret_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4495 PyObject
*resultobj
;
4496 wxCaret
*arg1
= (wxCaret
*) 0 ;
4498 PyObject
* obj0
= 0 ;
4500 (char *) "self", NULL
4503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsOk",kwnames
,&obj0
)) goto fail
;
4504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4508 result
= (bool)(arg1
)->IsOk();
4510 wxPyEndAllowThreads(__tstate
);
4511 if (PyErr_Occurred()) SWIG_fail
;
4513 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4520 static PyObject
*_wrap_Caret_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4521 PyObject
*resultobj
;
4522 wxCaret
*arg1
= (wxCaret
*) 0 ;
4524 PyObject
* obj0
= 0 ;
4526 (char *) "self", NULL
4529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsVisible",kwnames
,&obj0
)) goto fail
;
4530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4534 result
= (bool)(arg1
)->IsVisible();
4536 wxPyEndAllowThreads(__tstate
);
4537 if (PyErr_Occurred()) SWIG_fail
;
4539 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4546 static PyObject
*_wrap_Caret_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4547 PyObject
*resultobj
;
4548 wxCaret
*arg1
= (wxCaret
*) 0 ;
4550 PyObject
* obj0
= 0 ;
4552 (char *) "self", NULL
4555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPosition",kwnames
,&obj0
)) goto fail
;
4556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4560 result
= (arg1
)->GetPosition();
4562 wxPyEndAllowThreads(__tstate
);
4563 if (PyErr_Occurred()) SWIG_fail
;
4566 wxPoint
* resultptr
;
4567 resultptr
= new wxPoint((wxPoint
&) result
);
4568 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4576 static PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4577 PyObject
*resultobj
;
4578 wxCaret
*arg1
= (wxCaret
*) 0 ;
4579 int *arg2
= (int *) 0 ;
4580 int *arg3
= (int *) 0 ;
4583 PyObject
* obj0
= 0 ;
4585 (char *) "self", NULL
4590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
4591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4595 (arg1
)->GetPosition(arg2
,arg3
);
4597 wxPyEndAllowThreads(__tstate
);
4598 if (PyErr_Occurred()) SWIG_fail
;
4600 Py_INCREF(Py_None
); resultobj
= Py_None
;
4602 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4603 resultobj
= t_output_helper(resultobj
,o
);
4606 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4607 resultobj
= t_output_helper(resultobj
,o
);
4615 static PyObject
*_wrap_Caret_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4616 PyObject
*resultobj
;
4617 wxCaret
*arg1
= (wxCaret
*) 0 ;
4619 PyObject
* obj0
= 0 ;
4621 (char *) "self", NULL
4624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSize",kwnames
,&obj0
)) goto fail
;
4625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4629 result
= (arg1
)->GetSize();
4631 wxPyEndAllowThreads(__tstate
);
4632 if (PyErr_Occurred()) SWIG_fail
;
4636 resultptr
= new wxSize((wxSize
&) result
);
4637 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
4645 static PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4646 PyObject
*resultobj
;
4647 wxCaret
*arg1
= (wxCaret
*) 0 ;
4648 int *arg2
= (int *) 0 ;
4649 int *arg3
= (int *) 0 ;
4652 PyObject
* obj0
= 0 ;
4654 (char *) "self", NULL
4659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
4660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4664 (arg1
)->GetSize(arg2
,arg3
);
4666 wxPyEndAllowThreads(__tstate
);
4667 if (PyErr_Occurred()) SWIG_fail
;
4669 Py_INCREF(Py_None
); resultobj
= Py_None
;
4671 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4672 resultobj
= t_output_helper(resultobj
,o
);
4675 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4676 resultobj
= t_output_helper(resultobj
,o
);
4684 static PyObject
*_wrap_Caret_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4685 PyObject
*resultobj
;
4686 wxCaret
*arg1
= (wxCaret
*) 0 ;
4688 PyObject
* obj0
= 0 ;
4690 (char *) "self", NULL
4693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetWindow",kwnames
,&obj0
)) goto fail
;
4694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4698 result
= (wxWindow
*)(arg1
)->GetWindow();
4700 wxPyEndAllowThreads(__tstate
);
4701 if (PyErr_Occurred()) SWIG_fail
;
4704 resultobj
= wxPyMake_wxObject(result
);
4712 static PyObject
*_wrap_Caret_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4713 PyObject
*resultobj
;
4714 wxCaret
*arg1
= (wxCaret
*) 0 ;
4717 PyObject
* obj0
= 0 ;
4718 PyObject
* obj1
= 0 ;
4719 PyObject
* obj2
= 0 ;
4721 (char *) "self",(char *) "x",(char *) "y", NULL
4724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4727 arg2
= (int) SWIG_AsInt(obj1
);
4728 if (PyErr_Occurred()) SWIG_fail
;
4729 arg3
= (int) SWIG_AsInt(obj2
);
4730 if (PyErr_Occurred()) SWIG_fail
;
4732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4733 (arg1
)->Move(arg2
,arg3
);
4735 wxPyEndAllowThreads(__tstate
);
4736 if (PyErr_Occurred()) SWIG_fail
;
4738 Py_INCREF(Py_None
); resultobj
= Py_None
;
4745 static PyObject
*_wrap_Caret_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4746 PyObject
*resultobj
;
4747 wxCaret
*arg1
= (wxCaret
*) 0 ;
4750 PyObject
* obj0
= 0 ;
4751 PyObject
* obj1
= 0 ;
4753 (char *) "self",(char *) "pt", NULL
4756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
4757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4761 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4765 (arg1
)->Move((wxPoint
const &)*arg2
);
4767 wxPyEndAllowThreads(__tstate
);
4768 if (PyErr_Occurred()) SWIG_fail
;
4770 Py_INCREF(Py_None
); resultobj
= Py_None
;
4777 static PyObject
*_wrap_Caret_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4778 PyObject
*resultobj
;
4779 wxCaret
*arg1
= (wxCaret
*) 0 ;
4782 PyObject
* obj0
= 0 ;
4783 PyObject
* obj1
= 0 ;
4784 PyObject
* obj2
= 0 ;
4786 (char *) "self",(char *) "width",(char *) "height", NULL
4789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4792 arg2
= (int) SWIG_AsInt(obj1
);
4793 if (PyErr_Occurred()) SWIG_fail
;
4794 arg3
= (int) SWIG_AsInt(obj2
);
4795 if (PyErr_Occurred()) SWIG_fail
;
4797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4798 (arg1
)->SetSize(arg2
,arg3
);
4800 wxPyEndAllowThreads(__tstate
);
4801 if (PyErr_Occurred()) SWIG_fail
;
4803 Py_INCREF(Py_None
); resultobj
= Py_None
;
4810 static PyObject
*_wrap_Caret_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4811 PyObject
*resultobj
;
4812 wxCaret
*arg1
= (wxCaret
*) 0 ;
4815 PyObject
* obj0
= 0 ;
4816 PyObject
* obj1
= 0 ;
4818 (char *) "self",(char *) "size", NULL
4821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
4822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4826 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4830 (arg1
)->SetSize((wxSize
const &)*arg2
);
4832 wxPyEndAllowThreads(__tstate
);
4833 if (PyErr_Occurred()) SWIG_fail
;
4835 Py_INCREF(Py_None
); resultobj
= Py_None
;
4842 static PyObject
*_wrap_Caret_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4843 PyObject
*resultobj
;
4844 wxCaret
*arg1
= (wxCaret
*) 0 ;
4845 int arg2
= (int) True
;
4846 PyObject
* obj0
= 0 ;
4847 PyObject
* obj1
= 0 ;
4849 (char *) "self",(char *) "show", NULL
4852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Caret_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
4853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4856 arg2
= (int) SWIG_AsInt(obj1
);
4857 if (PyErr_Occurred()) SWIG_fail
;
4860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4863 wxPyEndAllowThreads(__tstate
);
4864 if (PyErr_Occurred()) SWIG_fail
;
4866 Py_INCREF(Py_None
); resultobj
= Py_None
;
4873 static PyObject
*_wrap_Caret_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4874 PyObject
*resultobj
;
4875 wxCaret
*arg1
= (wxCaret
*) 0 ;
4876 PyObject
* obj0
= 0 ;
4878 (char *) "self", NULL
4881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Hide",kwnames
,&obj0
)) goto fail
;
4882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4888 wxPyEndAllowThreads(__tstate
);
4889 if (PyErr_Occurred()) SWIG_fail
;
4891 Py_INCREF(Py_None
); resultobj
= Py_None
;
4898 static PyObject
* Caret_swigregister(PyObject
*self
, PyObject
*args
) {
4900 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4901 SWIG_TypeClientData(SWIGTYPE_p_wxCaret
, obj
);
4903 return Py_BuildValue((char *)"");
4905 static PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4906 PyObject
*resultobj
;
4912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Caret_GetBlinkTime",kwnames
)) goto fail
;
4914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4915 result
= (int)wxCaret_GetBlinkTime();
4917 wxPyEndAllowThreads(__tstate
);
4918 if (PyErr_Occurred()) SWIG_fail
;
4920 resultobj
= SWIG_FromInt((int)result
);
4927 static PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4928 PyObject
*resultobj
;
4930 PyObject
* obj0
= 0 ;
4932 (char *) "milliseconds", NULL
4935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_SetBlinkTime",kwnames
,&obj0
)) goto fail
;
4936 arg1
= (int) SWIG_AsInt(obj0
);
4937 if (PyErr_Occurred()) SWIG_fail
;
4939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4940 wxCaret_SetBlinkTime(arg1
);
4942 wxPyEndAllowThreads(__tstate
);
4943 if (PyErr_Occurred()) SWIG_fail
;
4945 Py_INCREF(Py_None
); resultobj
= Py_None
;
4952 static PyObject
*_wrap_new_BusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4953 PyObject
*resultobj
;
4954 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
4955 wxBusyCursor
*result
;
4956 PyObject
* obj0
= 0 ;
4958 (char *) "cursor", NULL
4961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) goto fail
;
4963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4968 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
4970 wxPyEndAllowThreads(__tstate
);
4971 if (PyErr_Occurred()) SWIG_fail
;
4973 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyCursor
, 1);
4980 static PyObject
*_wrap_delete_BusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4981 PyObject
*resultobj
;
4982 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
4983 PyObject
* obj0
= 0 ;
4985 (char *) "self", NULL
4988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyCursor",kwnames
,&obj0
)) goto fail
;
4989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBusyCursor
,
4990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4995 wxPyEndAllowThreads(__tstate
);
4996 if (PyErr_Occurred()) SWIG_fail
;
4998 Py_INCREF(Py_None
); resultobj
= Py_None
;
5005 static PyObject
* BusyCursor_swigregister(PyObject
*self
, PyObject
*args
) {
5007 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5008 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor
, obj
);
5010 return Py_BuildValue((char *)"");
5012 static PyObject
*_wrap_new_WindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5013 PyObject
*resultobj
;
5014 wxWindow
*arg1
= (wxWindow
*) NULL
;
5015 wxWindowDisabler
*result
;
5016 PyObject
* obj0
= 0 ;
5018 (char *) "winToSkip", NULL
5021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) goto fail
;
5023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5028 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
5030 wxPyEndAllowThreads(__tstate
);
5031 if (PyErr_Occurred()) SWIG_fail
;
5033 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDisabler
, 1);
5040 static PyObject
*_wrap_delete_WindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5041 PyObject
*resultobj
;
5042 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
5043 PyObject
* obj0
= 0 ;
5045 (char *) "self", NULL
5048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_WindowDisabler",kwnames
,&obj0
)) goto fail
;
5049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowDisabler
,
5050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5055 wxPyEndAllowThreads(__tstate
);
5056 if (PyErr_Occurred()) SWIG_fail
;
5058 Py_INCREF(Py_None
); resultobj
= Py_None
;
5065 static PyObject
* WindowDisabler_swigregister(PyObject
*self
, PyObject
*args
) {
5067 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5068 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler
, obj
);
5070 return Py_BuildValue((char *)"");
5072 static PyObject
*_wrap_new_BusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5073 PyObject
*resultobj
;
5074 wxString
*arg1
= 0 ;
5076 bool temp1
= False
;
5077 PyObject
* obj0
= 0 ;
5079 (char *) "message", NULL
5082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) goto fail
;
5084 arg1
= wxString_in_helper(obj0
);
5085 if (arg1
== NULL
) SWIG_fail
;
5089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5090 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
);
5092 wxPyEndAllowThreads(__tstate
);
5093 if (PyErr_Occurred()) SWIG_fail
;
5095 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyInfo
, 1);
5110 static PyObject
*_wrap_delete_BusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5111 PyObject
*resultobj
;
5112 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
5113 PyObject
* obj0
= 0 ;
5115 (char *) "self", NULL
5118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyInfo",kwnames
,&obj0
)) goto fail
;
5119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBusyInfo
,
5120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5125 wxPyEndAllowThreads(__tstate
);
5126 if (PyErr_Occurred()) SWIG_fail
;
5128 Py_INCREF(Py_None
); resultobj
= Py_None
;
5135 static PyObject
* BusyInfo_swigregister(PyObject
*self
, PyObject
*args
) {
5137 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5138 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo
, obj
);
5140 return Py_BuildValue((char *)"");
5142 static PyObject
*_wrap_new_StopWatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5143 PyObject
*resultobj
;
5144 wxStopWatch
*result
;
5149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StopWatch",kwnames
)) goto fail
;
5151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5152 result
= (wxStopWatch
*)new wxStopWatch();
5154 wxPyEndAllowThreads(__tstate
);
5155 if (PyErr_Occurred()) SWIG_fail
;
5157 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStopWatch
, 1);
5164 static PyObject
*_wrap_StopWatch_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5165 PyObject
*resultobj
;
5166 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5167 long arg2
= (long) 0 ;
5168 PyObject
* obj0
= 0 ;
5169 PyObject
* obj1
= 0 ;
5171 (char *) "self",(char *) "t0", NULL
5174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StopWatch_Start",kwnames
,&obj0
,&obj1
)) goto fail
;
5175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5178 arg2
= (long) SWIG_AsLong(obj1
);
5179 if (PyErr_Occurred()) SWIG_fail
;
5182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5183 (arg1
)->Start(arg2
);
5185 wxPyEndAllowThreads(__tstate
);
5186 if (PyErr_Occurred()) SWIG_fail
;
5188 Py_INCREF(Py_None
); resultobj
= Py_None
;
5195 static PyObject
*_wrap_StopWatch_Pause(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5196 PyObject
*resultobj
;
5197 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5198 PyObject
* obj0
= 0 ;
5200 (char *) "self", NULL
5203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Pause",kwnames
,&obj0
)) goto fail
;
5204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5210 wxPyEndAllowThreads(__tstate
);
5211 if (PyErr_Occurred()) SWIG_fail
;
5213 Py_INCREF(Py_None
); resultobj
= Py_None
;
5220 static PyObject
*_wrap_StopWatch_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5221 PyObject
*resultobj
;
5222 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5223 PyObject
* obj0
= 0 ;
5225 (char *) "self", NULL
5228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Resume",kwnames
,&obj0
)) goto fail
;
5229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5235 wxPyEndAllowThreads(__tstate
);
5236 if (PyErr_Occurred()) SWIG_fail
;
5238 Py_INCREF(Py_None
); resultobj
= Py_None
;
5245 static PyObject
*_wrap_StopWatch_Time(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5246 PyObject
*resultobj
;
5247 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5249 PyObject
* obj0
= 0 ;
5251 (char *) "self", NULL
5254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Time",kwnames
,&obj0
)) goto fail
;
5255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5259 result
= (long)((wxStopWatch
const *)arg1
)->Time();
5261 wxPyEndAllowThreads(__tstate
);
5262 if (PyErr_Occurred()) SWIG_fail
;
5264 resultobj
= SWIG_FromLong((long)result
);
5271 static PyObject
* StopWatch_swigregister(PyObject
*self
, PyObject
*args
) {
5273 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5274 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch
, obj
);
5276 return Py_BuildValue((char *)"");
5278 static PyObject
*_wrap_new_FileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5279 PyObject
*resultobj
;
5280 int arg1
= (int) 9 ;
5281 wxFileHistory
*result
;
5282 PyObject
* obj0
= 0 ;
5284 (char *) "maxFiles", NULL
5287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FileHistory",kwnames
,&obj0
)) goto fail
;
5289 arg1
= (int) SWIG_AsInt(obj0
);
5290 if (PyErr_Occurred()) SWIG_fail
;
5293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5294 result
= (wxFileHistory
*)new wxFileHistory(arg1
);
5296 wxPyEndAllowThreads(__tstate
);
5297 if (PyErr_Occurred()) SWIG_fail
;
5299 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileHistory
, 1);
5306 static PyObject
*_wrap_delete_FileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5307 PyObject
*resultobj
;
5308 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5309 PyObject
* obj0
= 0 ;
5311 (char *) "self", NULL
5314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileHistory",kwnames
,&obj0
)) goto fail
;
5315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5321 wxPyEndAllowThreads(__tstate
);
5322 if (PyErr_Occurred()) SWIG_fail
;
5324 Py_INCREF(Py_None
); resultobj
= Py_None
;
5331 static PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5332 PyObject
*resultobj
;
5333 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5334 wxString
*arg2
= 0 ;
5335 bool temp2
= False
;
5336 PyObject
* obj0
= 0 ;
5337 PyObject
* obj1
= 0 ;
5339 (char *) "self",(char *) "file", NULL
5342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
5343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5346 arg2
= wxString_in_helper(obj1
);
5347 if (arg2
== NULL
) SWIG_fail
;
5351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5352 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
5354 wxPyEndAllowThreads(__tstate
);
5355 if (PyErr_Occurred()) SWIG_fail
;
5357 Py_INCREF(Py_None
); resultobj
= Py_None
;
5372 static PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5373 PyObject
*resultobj
;
5374 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5376 PyObject
* obj0
= 0 ;
5377 PyObject
* obj1
= 0 ;
5379 (char *) "self",(char *) "i", NULL
5382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
5383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5385 arg2
= (int) SWIG_AsInt(obj1
);
5386 if (PyErr_Occurred()) SWIG_fail
;
5388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5389 (arg1
)->RemoveFileFromHistory(arg2
);
5391 wxPyEndAllowThreads(__tstate
);
5392 if (PyErr_Occurred()) SWIG_fail
;
5394 Py_INCREF(Py_None
); resultobj
= Py_None
;
5401 static PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5402 PyObject
*resultobj
;
5403 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5405 PyObject
* obj0
= 0 ;
5407 (char *) "self", NULL
5410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetMaxFiles",kwnames
,&obj0
)) goto fail
;
5411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5415 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
5417 wxPyEndAllowThreads(__tstate
);
5418 if (PyErr_Occurred()) SWIG_fail
;
5420 resultobj
= SWIG_FromInt((int)result
);
5427 static PyObject
*_wrap_FileHistory_UseMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5428 PyObject
*resultobj
;
5429 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5430 wxMenu
*arg2
= (wxMenu
*) 0 ;
5431 PyObject
* obj0
= 0 ;
5432 PyObject
* obj1
= 0 ;
5434 (char *) "self",(char *) "menu", NULL
5437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5440 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
5441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5444 (arg1
)->UseMenu(arg2
);
5446 wxPyEndAllowThreads(__tstate
);
5447 if (PyErr_Occurred()) SWIG_fail
;
5449 Py_INCREF(Py_None
); resultobj
= Py_None
;
5456 static PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5457 PyObject
*resultobj
;
5458 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5459 wxMenu
*arg2
= (wxMenu
*) 0 ;
5460 PyObject
* obj0
= 0 ;
5461 PyObject
* obj1
= 0 ;
5463 (char *) "self",(char *) "menu", NULL
5466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5469 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
5470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5473 (arg1
)->RemoveMenu(arg2
);
5475 wxPyEndAllowThreads(__tstate
);
5476 if (PyErr_Occurred()) SWIG_fail
;
5478 Py_INCREF(Py_None
); resultobj
= Py_None
;
5485 static PyObject
*_wrap_FileHistory_Load(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5486 PyObject
*resultobj
;
5487 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5488 wxConfigBase
*arg2
= 0 ;
5489 PyObject
* obj0
= 0 ;
5490 PyObject
* obj1
= 0 ;
5492 (char *) "self",(char *) "config", NULL
5495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) goto fail
;
5496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5498 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
5499 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5502 PyErr_SetString(PyExc_TypeError
,"null reference");
5506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5507 (arg1
)->Load(*arg2
);
5509 wxPyEndAllowThreads(__tstate
);
5510 if (PyErr_Occurred()) SWIG_fail
;
5512 Py_INCREF(Py_None
); resultobj
= Py_None
;
5519 static PyObject
*_wrap_FileHistory_Save(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5520 PyObject
*resultobj
;
5521 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5522 wxConfigBase
*arg2
= 0 ;
5523 PyObject
* obj0
= 0 ;
5524 PyObject
* obj1
= 0 ;
5526 (char *) "self",(char *) "config", NULL
5529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) goto fail
;
5530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5532 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
5533 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5536 PyErr_SetString(PyExc_TypeError
,"null reference");
5540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5541 (arg1
)->Save(*arg2
);
5543 wxPyEndAllowThreads(__tstate
);
5544 if (PyErr_Occurred()) SWIG_fail
;
5546 Py_INCREF(Py_None
); resultobj
= Py_None
;
5553 static PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5554 PyObject
*resultobj
;
5555 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5556 PyObject
* obj0
= 0 ;
5558 (char *) "self", NULL
5561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_AddFilesToMenu",kwnames
,&obj0
)) goto fail
;
5562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5566 (arg1
)->AddFilesToMenu();
5568 wxPyEndAllowThreads(__tstate
);
5569 if (PyErr_Occurred()) SWIG_fail
;
5571 Py_INCREF(Py_None
); resultobj
= Py_None
;
5578 static PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5579 PyObject
*resultobj
;
5580 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5581 wxMenu
*arg2
= (wxMenu
*) 0 ;
5582 PyObject
* obj0
= 0 ;
5583 PyObject
* obj1
= 0 ;
5585 (char *) "self",(char *) "menu", NULL
5588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5591 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
5592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5595 (arg1
)->AddFilesToMenu(arg2
);
5597 wxPyEndAllowThreads(__tstate
);
5598 if (PyErr_Occurred()) SWIG_fail
;
5600 Py_INCREF(Py_None
); resultobj
= Py_None
;
5607 static PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5608 PyObject
*resultobj
;
5609 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5612 PyObject
* obj0
= 0 ;
5613 PyObject
* obj1
= 0 ;
5615 (char *) "self",(char *) "i", NULL
5618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_GetHistoryFile",kwnames
,&obj0
,&obj1
)) goto fail
;
5619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5621 arg2
= (int) SWIG_AsInt(obj1
);
5622 if (PyErr_Occurred()) SWIG_fail
;
5624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5625 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
5627 wxPyEndAllowThreads(__tstate
);
5628 if (PyErr_Occurred()) SWIG_fail
;
5632 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5634 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5643 static PyObject
*_wrap_FileHistory_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5644 PyObject
*resultobj
;
5645 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5647 PyObject
* obj0
= 0 ;
5649 (char *) "self", NULL
5652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetCount",kwnames
,&obj0
)) goto fail
;
5653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5657 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
5659 wxPyEndAllowThreads(__tstate
);
5660 if (PyErr_Occurred()) SWIG_fail
;
5662 resultobj
= SWIG_FromInt((int)result
);
5669 static PyObject
* FileHistory_swigregister(PyObject
*self
, PyObject
*args
) {
5671 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5672 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory
, obj
);
5674 return Py_BuildValue((char *)"");
5676 static PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5677 PyObject
*resultobj
;
5678 wxString
*arg1
= 0 ;
5679 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5680 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5681 wxSingleInstanceChecker
*result
;
5682 bool temp1
= False
;
5683 bool temp2
= False
;
5684 PyObject
* obj0
= 0 ;
5685 PyObject
* obj1
= 0 ;
5687 (char *) "name",(char *) "path", NULL
5690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) goto fail
;
5692 arg1
= wxString_in_helper(obj0
);
5693 if (arg1
== NULL
) SWIG_fail
;
5698 arg2
= wxString_in_helper(obj1
);
5699 if (arg2
== NULL
) SWIG_fail
;
5704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5705 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
5707 wxPyEndAllowThreads(__tstate
);
5708 if (PyErr_Occurred()) SWIG_fail
;
5710 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
5733 static PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5734 PyObject
*resultobj
;
5735 wxSingleInstanceChecker
*result
;
5740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSingleInstanceChecker",kwnames
)) goto fail
;
5742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5743 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
5745 wxPyEndAllowThreads(__tstate
);
5746 if (PyErr_Occurred()) SWIG_fail
;
5748 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
5755 static PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5756 PyObject
*resultobj
;
5757 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
5758 PyObject
* obj0
= 0 ;
5760 (char *) "self", NULL
5763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_SingleInstanceChecker",kwnames
,&obj0
)) goto fail
;
5764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
5765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5770 wxPyEndAllowThreads(__tstate
);
5771 if (PyErr_Occurred()) SWIG_fail
;
5773 Py_INCREF(Py_None
); resultobj
= Py_None
;
5780 static PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5781 PyObject
*resultobj
;
5782 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
5783 wxString
*arg2
= 0 ;
5784 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5785 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5787 bool temp2
= False
;
5788 bool temp3
= False
;
5789 PyObject
* obj0
= 0 ;
5790 PyObject
* obj1
= 0 ;
5791 PyObject
* obj2
= 0 ;
5793 (char *) "self",(char *) "name",(char *) "path", NULL
5796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
5798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5800 arg2
= wxString_in_helper(obj1
);
5801 if (arg2
== NULL
) SWIG_fail
;
5806 arg3
= wxString_in_helper(obj2
);
5807 if (arg3
== NULL
) SWIG_fail
;
5812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5813 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
5815 wxPyEndAllowThreads(__tstate
);
5816 if (PyErr_Occurred()) SWIG_fail
;
5818 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5841 static PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5842 PyObject
*resultobj
;
5843 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
5845 PyObject
* obj0
= 0 ;
5847 (char *) "self", NULL
5850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames
,&obj0
)) goto fail
;
5851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
5852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5855 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
5857 wxPyEndAllowThreads(__tstate
);
5858 if (PyErr_Occurred()) SWIG_fail
;
5860 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5867 static PyObject
* SingleInstanceChecker_swigregister(PyObject
*self
, PyObject
*args
) {
5869 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5870 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker
, obj
);
5872 return Py_BuildValue((char *)"");
5874 static PyObject
*_wrap_DrawWindowOnDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5875 PyObject
*resultobj
;
5876 wxWindow
*arg1
= (wxWindow
*) 0 ;
5879 PyObject
* obj0
= 0 ;
5880 PyObject
* obj1
= 0 ;
5881 PyObject
* obj2
= 0 ;
5883 (char *) "window",(char *) "dc",(char *) "method", NULL
5886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DrawWindowOnDC",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5889 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
5890 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5893 PyErr_SetString(PyExc_TypeError
,"null reference");
5896 arg3
= (int) SWIG_AsInt(obj2
);
5897 if (PyErr_Occurred()) SWIG_fail
;
5899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5900 wxDrawWindowOnDC(arg1
,(wxDC
const &)*arg2
,arg3
);
5902 wxPyEndAllowThreads(__tstate
);
5903 if (PyErr_Occurred()) SWIG_fail
;
5905 Py_INCREF(Py_None
); resultobj
= Py_None
;
5912 static PyObject
*_wrap_delete_TipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5913 PyObject
*resultobj
;
5914 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
5915 PyObject
* obj0
= 0 ;
5917 (char *) "self", NULL
5920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TipProvider",kwnames
,&obj0
)) goto fail
;
5921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
5922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5927 wxPyEndAllowThreads(__tstate
);
5928 if (PyErr_Occurred()) SWIG_fail
;
5930 Py_INCREF(Py_None
); resultobj
= Py_None
;
5937 static PyObject
*_wrap_TipProvider_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5938 PyObject
*resultobj
;
5939 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
5941 PyObject
* obj0
= 0 ;
5943 (char *) "self", NULL
5946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetTip",kwnames
,&obj0
)) goto fail
;
5947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
5948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5951 result
= (arg1
)->GetTip();
5953 wxPyEndAllowThreads(__tstate
);
5954 if (PyErr_Occurred()) SWIG_fail
;
5958 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5960 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5969 static PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5970 PyObject
*resultobj
;
5971 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
5973 PyObject
* obj0
= 0 ;
5975 (char *) "self", NULL
5978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetCurrentTip",kwnames
,&obj0
)) goto fail
;
5979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
5980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5983 result
= (size_t)(arg1
)->GetCurrentTip();
5985 wxPyEndAllowThreads(__tstate
);
5986 if (PyErr_Occurred()) SWIG_fail
;
5988 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
5995 static PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5996 PyObject
*resultobj
;
5997 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
5998 wxString
*arg2
= 0 ;
6000 bool temp2
= False
;
6001 PyObject
* obj0
= 0 ;
6002 PyObject
* obj1
= 0 ;
6004 (char *) "self",(char *) "tip", NULL
6007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) goto fail
;
6008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6011 arg2
= wxString_in_helper(obj1
);
6012 if (arg2
== NULL
) SWIG_fail
;
6016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6017 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
6019 wxPyEndAllowThreads(__tstate
);
6020 if (PyErr_Occurred()) SWIG_fail
;
6024 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6026 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6043 static PyObject
* TipProvider_swigregister(PyObject
*self
, PyObject
*args
) {
6045 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6046 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider
, obj
);
6048 return Py_BuildValue((char *)"");
6050 static PyObject
*_wrap_new_PyTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6051 PyObject
*resultobj
;
6053 wxPyTipProvider
*result
;
6054 PyObject
* obj0
= 0 ;
6056 (char *) "currentTip", NULL
6059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) goto fail
;
6060 arg1
= (size_t) SWIG_AsUnsignedLong(obj0
);
6061 if (PyErr_Occurred()) SWIG_fail
;
6063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6064 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
6066 wxPyEndAllowThreads(__tstate
);
6067 if (PyErr_Occurred()) SWIG_fail
;
6069 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTipProvider
, 1);
6076 static PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6077 PyObject
*resultobj
;
6078 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
6079 PyObject
*arg2
= (PyObject
*) 0 ;
6080 PyObject
*arg3
= (PyObject
*) 0 ;
6081 PyObject
* obj0
= 0 ;
6082 PyObject
* obj1
= 0 ;
6083 PyObject
* obj2
= 0 ;
6085 (char *) "self",(char *) "self",(char *) "_class", NULL
6088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTipProvider
,
6090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6095 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6097 wxPyEndAllowThreads(__tstate
);
6098 if (PyErr_Occurred()) SWIG_fail
;
6100 Py_INCREF(Py_None
); resultobj
= Py_None
;
6107 static PyObject
* PyTipProvider_swigregister(PyObject
*self
, PyObject
*args
) {
6109 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6110 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider
, obj
);
6112 return Py_BuildValue((char *)"");
6114 static PyObject
*_wrap_ShowTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6115 PyObject
*resultobj
;
6116 wxWindow
*arg1
= (wxWindow
*) 0 ;
6117 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
6118 bool arg3
= (bool) True
;
6120 PyObject
* obj0
= 0 ;
6121 PyObject
* obj1
= 0 ;
6122 PyObject
* obj2
= 0 ;
6124 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
6127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6130 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTipProvider
,
6131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6133 arg3
= (bool) SWIG_AsBool(obj2
);
6134 if (PyErr_Occurred()) SWIG_fail
;
6137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6138 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
6140 wxPyEndAllowThreads(__tstate
);
6141 if (PyErr_Occurred()) SWIG_fail
;
6143 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6150 static PyObject
*_wrap_CreateFileTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6151 PyObject
*resultobj
;
6152 wxString
*arg1
= 0 ;
6154 wxTipProvider
*result
;
6155 bool temp1
= False
;
6156 PyObject
* obj0
= 0 ;
6157 PyObject
* obj1
= 0 ;
6159 (char *) "filename",(char *) "currentTip", NULL
6162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) goto fail
;
6164 arg1
= wxString_in_helper(obj0
);
6165 if (arg1
== NULL
) SWIG_fail
;
6168 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
6169 if (PyErr_Occurred()) SWIG_fail
;
6171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6172 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
6174 wxPyEndAllowThreads(__tstate
);
6175 if (PyErr_Occurred()) SWIG_fail
;
6177 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipProvider
, 1);
6192 static PyObject
*_wrap_new_Timer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6193 PyObject
*resultobj
;
6194 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
6195 int arg2
= (int) -1 ;
6197 PyObject
* obj0
= 0 ;
6198 PyObject
* obj1
= 0 ;
6200 (char *) "owner",(char *) "id", NULL
6203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Timer",kwnames
,&obj0
,&obj1
)) goto fail
;
6205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
6206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6209 arg2
= (int) SWIG_AsInt(obj1
);
6210 if (PyErr_Occurred()) SWIG_fail
;
6213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6214 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
6216 wxPyEndAllowThreads(__tstate
);
6217 if (PyErr_Occurred()) SWIG_fail
;
6219 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTimer
, 1);
6226 static PyObject
*_wrap_delete_Timer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6227 PyObject
*resultobj
;
6228 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6229 PyObject
* obj0
= 0 ;
6231 (char *) "self", NULL
6234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Timer",kwnames
,&obj0
)) goto fail
;
6235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6241 wxPyEndAllowThreads(__tstate
);
6242 if (PyErr_Occurred()) SWIG_fail
;
6244 Py_INCREF(Py_None
); resultobj
= Py_None
;
6251 static PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6252 PyObject
*resultobj
;
6253 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6254 PyObject
*arg2
= (PyObject
*) 0 ;
6255 PyObject
*arg3
= (PyObject
*) 0 ;
6256 PyObject
* obj0
= 0 ;
6257 PyObject
* obj1
= 0 ;
6258 PyObject
* obj2
= 0 ;
6260 (char *) "self",(char *) "self",(char *) "_class", NULL
6263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6270 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6272 wxPyEndAllowThreads(__tstate
);
6273 if (PyErr_Occurred()) SWIG_fail
;
6275 Py_INCREF(Py_None
); resultobj
= Py_None
;
6282 static PyObject
*_wrap_Timer_SetOwner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6283 PyObject
*resultobj
;
6284 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6285 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
6286 int arg3
= (int) -1 ;
6287 PyObject
* obj0
= 0 ;
6288 PyObject
* obj1
= 0 ;
6289 PyObject
* obj2
= 0 ;
6291 (char *) "self",(char *) "owner",(char *) "id", NULL
6294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6297 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
6298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6300 arg3
= (int) SWIG_AsInt(obj2
);
6301 if (PyErr_Occurred()) SWIG_fail
;
6304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6305 (arg1
)->SetOwner(arg2
,arg3
);
6307 wxPyEndAllowThreads(__tstate
);
6308 if (PyErr_Occurred()) SWIG_fail
;
6310 Py_INCREF(Py_None
); resultobj
= Py_None
;
6317 static PyObject
*_wrap_Timer_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6318 PyObject
*resultobj
;
6319 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6320 int arg2
= (int) -1 ;
6321 bool arg3
= (bool) False
;
6323 PyObject
* obj0
= 0 ;
6324 PyObject
* obj1
= 0 ;
6325 PyObject
* obj2
= 0 ;
6327 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
6330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Timer_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6334 arg2
= (int) SWIG_AsInt(obj1
);
6335 if (PyErr_Occurred()) SWIG_fail
;
6338 arg3
= (bool) SWIG_AsBool(obj2
);
6339 if (PyErr_Occurred()) SWIG_fail
;
6342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6343 result
= (bool)(arg1
)->Start(arg2
,arg3
);
6345 wxPyEndAllowThreads(__tstate
);
6346 if (PyErr_Occurred()) SWIG_fail
;
6348 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6355 static PyObject
*_wrap_Timer_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6356 PyObject
*resultobj
;
6357 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6358 PyObject
* obj0
= 0 ;
6360 (char *) "self", NULL
6363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_Stop",kwnames
,&obj0
)) goto fail
;
6364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6370 wxPyEndAllowThreads(__tstate
);
6371 if (PyErr_Occurred()) SWIG_fail
;
6373 Py_INCREF(Py_None
); resultobj
= Py_None
;
6380 static PyObject
*_wrap_Timer_IsRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6381 PyObject
*resultobj
;
6382 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6384 PyObject
* obj0
= 0 ;
6386 (char *) "self", NULL
6389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsRunning",kwnames
,&obj0
)) goto fail
;
6390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6394 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
6396 wxPyEndAllowThreads(__tstate
);
6397 if (PyErr_Occurred()) SWIG_fail
;
6399 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6406 static PyObject
*_wrap_Timer_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6407 PyObject
*resultobj
;
6408 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6410 PyObject
* obj0
= 0 ;
6412 (char *) "self", NULL
6415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetInterval",kwnames
,&obj0
)) goto fail
;
6416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6420 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
6422 wxPyEndAllowThreads(__tstate
);
6423 if (PyErr_Occurred()) SWIG_fail
;
6425 resultobj
= SWIG_FromInt((int)result
);
6432 static PyObject
*_wrap_Timer_IsOneShot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6433 PyObject
*resultobj
;
6434 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6436 PyObject
* obj0
= 0 ;
6438 (char *) "self", NULL
6441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsOneShot",kwnames
,&obj0
)) goto fail
;
6442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6446 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
6448 wxPyEndAllowThreads(__tstate
);
6449 if (PyErr_Occurred()) SWIG_fail
;
6451 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6458 static PyObject
*_wrap_Timer_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6459 PyObject
*resultobj
;
6460 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6462 PyObject
* obj0
= 0 ;
6464 (char *) "self", NULL
6467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetId",kwnames
,&obj0
)) goto fail
;
6468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6472 result
= (int)((wxPyTimer
const *)arg1
)->GetId();
6474 wxPyEndAllowThreads(__tstate
);
6475 if (PyErr_Occurred()) SWIG_fail
;
6477 resultobj
= SWIG_FromInt((int)result
);
6484 static PyObject
* Timer_swigregister(PyObject
*self
, PyObject
*args
) {
6486 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6487 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer
, obj
);
6489 return Py_BuildValue((char *)"");
6491 static PyObject
*_wrap_new_TimerEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6492 PyObject
*resultobj
;
6493 int arg1
= (int) 0 ;
6494 int arg2
= (int) 0 ;
6495 wxTimerEvent
*result
;
6496 PyObject
* obj0
= 0 ;
6497 PyObject
* obj1
= 0 ;
6499 (char *) "timerid",(char *) "interval", NULL
6502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TimerEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
6504 arg1
= (int) SWIG_AsInt(obj0
);
6505 if (PyErr_Occurred()) SWIG_fail
;
6508 arg2
= (int) SWIG_AsInt(obj1
);
6509 if (PyErr_Occurred()) SWIG_fail
;
6512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6513 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
6515 wxPyEndAllowThreads(__tstate
);
6516 if (PyErr_Occurred()) SWIG_fail
;
6518 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerEvent
, 1);
6525 static PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6526 PyObject
*resultobj
;
6527 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
6529 PyObject
* obj0
= 0 ;
6531 (char *) "self", NULL
6534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimerEvent_GetInterval",kwnames
,&obj0
)) goto fail
;
6535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerEvent
,
6536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6539 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
6541 wxPyEndAllowThreads(__tstate
);
6542 if (PyErr_Occurred()) SWIG_fail
;
6544 resultobj
= SWIG_FromInt((int)result
);
6551 static PyObject
* TimerEvent_swigregister(PyObject
*self
, PyObject
*args
) {
6553 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6554 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent
, obj
);
6556 return Py_BuildValue((char *)"");
6558 static PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*self
, PyObject
*args
) {
6559 PyObject
*resultobj
;
6561 wxTimerRunner
*result
;
6562 PyObject
* obj0
= 0 ;
6564 if(!PyArg_ParseTuple(args
,(char *)"O:new_TimerRunner",&obj0
)) goto fail
;
6565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimer
,
6566 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6569 PyErr_SetString(PyExc_TypeError
,"null reference");
6573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6574 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
6576 wxPyEndAllowThreads(__tstate
);
6577 if (PyErr_Occurred()) SWIG_fail
;
6579 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
6586 static PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*self
, PyObject
*args
) {
6587 PyObject
*resultobj
;
6590 bool arg3
= (bool) False
;
6591 wxTimerRunner
*result
;
6592 PyObject
* obj0
= 0 ;
6593 PyObject
* obj1
= 0 ;
6594 PyObject
* obj2
= 0 ;
6596 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_TimerRunner",&obj0
,&obj1
,&obj2
)) goto fail
;
6597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimer
,
6598 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6601 PyErr_SetString(PyExc_TypeError
,"null reference");
6604 arg2
= (int) SWIG_AsInt(obj1
);
6605 if (PyErr_Occurred()) SWIG_fail
;
6607 arg3
= (bool) SWIG_AsBool(obj2
);
6608 if (PyErr_Occurred()) SWIG_fail
;
6611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6612 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
6614 wxPyEndAllowThreads(__tstate
);
6615 if (PyErr_Occurred()) SWIG_fail
;
6617 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
6624 static PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
6629 argc
= PyObject_Length(args
);
6630 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
6631 argv
[ii
] = PyTuple_GetItem(args
,ii
);
6637 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
6645 return _wrap_new_TimerRunner__SWIG_0(self
,args
);
6648 if ((argc
>= 2) && (argc
<= 3)) {
6652 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
6660 _v
= SWIG_CheckInt(argv
[1]);
6663 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
6665 _v
= SWIG_CheckBool(argv
[2]);
6667 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
6673 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TimerRunner'");
6678 static PyObject
*_wrap_delete_TimerRunner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6679 PyObject
*resultobj
;
6680 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
6681 PyObject
* obj0
= 0 ;
6683 (char *) "self", NULL
6686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimerRunner",kwnames
,&obj0
)) goto fail
;
6687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerRunner
,
6688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6693 wxPyEndAllowThreads(__tstate
);
6694 if (PyErr_Occurred()) SWIG_fail
;
6696 Py_INCREF(Py_None
); resultobj
= Py_None
;
6703 static PyObject
*_wrap_TimerRunner_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6704 PyObject
*resultobj
;
6705 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
6707 bool arg3
= (bool) False
;
6708 PyObject
* obj0
= 0 ;
6709 PyObject
* obj1
= 0 ;
6710 PyObject
* obj2
= 0 ;
6712 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
6715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TimerRunner_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerRunner
,
6717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6718 arg2
= (int) SWIG_AsInt(obj1
);
6719 if (PyErr_Occurred()) SWIG_fail
;
6721 arg3
= (bool) SWIG_AsBool(obj2
);
6722 if (PyErr_Occurred()) SWIG_fail
;
6725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6726 (arg1
)->Start(arg2
,arg3
);
6728 wxPyEndAllowThreads(__tstate
);
6729 if (PyErr_Occurred()) SWIG_fail
;
6731 Py_INCREF(Py_None
); resultobj
= Py_None
;
6738 static PyObject
* TimerRunner_swigregister(PyObject
*self
, PyObject
*args
) {
6740 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6741 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner
, obj
);
6743 return Py_BuildValue((char *)"");
6745 static PyObject
*_wrap_new_Log(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6746 PyObject
*resultobj
;
6752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Log",kwnames
)) goto fail
;
6754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6755 result
= (wxLog
*)new wxLog();
6757 wxPyEndAllowThreads(__tstate
);
6758 if (PyErr_Occurred()) SWIG_fail
;
6760 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 1);
6767 static PyObject
*_wrap_Log_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6768 PyObject
*resultobj
;
6774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_IsEnabled",kwnames
)) goto fail
;
6776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6777 result
= (bool)wxLog::IsEnabled();
6779 wxPyEndAllowThreads(__tstate
);
6780 if (PyErr_Occurred()) SWIG_fail
;
6782 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6789 static PyObject
*_wrap_Log_EnableLogging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6790 PyObject
*resultobj
;
6791 bool arg1
= (bool) True
;
6793 PyObject
* obj0
= 0 ;
6795 (char *) "doIt", NULL
6798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) goto fail
;
6800 arg1
= (bool) SWIG_AsBool(obj0
);
6801 if (PyErr_Occurred()) SWIG_fail
;
6804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6805 result
= (bool)wxLog::EnableLogging(arg1
);
6807 wxPyEndAllowThreads(__tstate
);
6808 if (PyErr_Occurred()) SWIG_fail
;
6810 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6817 static PyObject
*_wrap_Log_OnLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6818 PyObject
*resultobj
;
6820 wxChar
*arg2
= (wxChar
*) 0 ;
6822 PyObject
* obj0
= 0 ;
6823 PyObject
* obj1
= 0 ;
6824 PyObject
* obj2
= 0 ;
6826 (char *) "level",(char *) "szString",(char *) "t", NULL
6829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6830 arg1
= (wxLogLevel
) SWIG_AsUnsignedLong(obj0
);
6831 if (PyErr_Occurred()) SWIG_fail
;
6832 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxChar
,
6833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6834 arg3
= (time_t) SWIG_AsUnsignedInt(obj2
);
6835 if (PyErr_Occurred()) SWIG_fail
;
6837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6838 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
6840 wxPyEndAllowThreads(__tstate
);
6841 if (PyErr_Occurred()) SWIG_fail
;
6843 Py_INCREF(Py_None
); resultobj
= Py_None
;
6850 static PyObject
*_wrap_Log_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6851 PyObject
*resultobj
;
6852 wxLog
*arg1
= (wxLog
*) 0 ;
6853 PyObject
* obj0
= 0 ;
6855 (char *) "self", NULL
6858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Flush",kwnames
,&obj0
)) goto fail
;
6859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
6860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6865 wxPyEndAllowThreads(__tstate
);
6866 if (PyErr_Occurred()) SWIG_fail
;
6868 Py_INCREF(Py_None
); resultobj
= Py_None
;
6875 static PyObject
*_wrap_Log_FlushActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6876 PyObject
*resultobj
;
6881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_FlushActive",kwnames
)) goto fail
;
6883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6884 wxLog::FlushActive();
6886 wxPyEndAllowThreads(__tstate
);
6887 if (PyErr_Occurred()) SWIG_fail
;
6889 Py_INCREF(Py_None
); resultobj
= Py_None
;
6896 static PyObject
*_wrap_Log_GetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6897 PyObject
*resultobj
;
6903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetActiveTarget",kwnames
)) goto fail
;
6905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6906 result
= (wxLog
*)wxLog::GetActiveTarget();
6908 wxPyEndAllowThreads(__tstate
);
6909 if (PyErr_Occurred()) SWIG_fail
;
6911 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
6918 static PyObject
*_wrap_Log_SetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6919 PyObject
*resultobj
;
6920 wxLog
*arg1
= (wxLog
*) 0 ;
6922 PyObject
* obj0
= 0 ;
6924 (char *) "pLogger", NULL
6927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) goto fail
;
6928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
6929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6932 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
6934 wxPyEndAllowThreads(__tstate
);
6935 if (PyErr_Occurred()) SWIG_fail
;
6937 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
6944 static PyObject
*_wrap_Log_Suspend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6945 PyObject
*resultobj
;
6950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Suspend",kwnames
)) goto fail
;
6952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6955 wxPyEndAllowThreads(__tstate
);
6956 if (PyErr_Occurred()) SWIG_fail
;
6958 Py_INCREF(Py_None
); resultobj
= Py_None
;
6965 static PyObject
*_wrap_Log_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6966 PyObject
*resultobj
;
6971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Resume",kwnames
)) goto fail
;
6973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6976 wxPyEndAllowThreads(__tstate
);
6977 if (PyErr_Occurred()) SWIG_fail
;
6979 Py_INCREF(Py_None
); resultobj
= Py_None
;
6986 static PyObject
*_wrap_Log_SetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6987 PyObject
*resultobj
;
6988 bool arg1
= (bool) True
;
6989 PyObject
* obj0
= 0 ;
6991 (char *) "bVerbose", NULL
6994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) goto fail
;
6996 arg1
= (bool) SWIG_AsBool(obj0
);
6997 if (PyErr_Occurred()) SWIG_fail
;
7000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7001 wxLog::SetVerbose(arg1
);
7003 wxPyEndAllowThreads(__tstate
);
7004 if (PyErr_Occurred()) SWIG_fail
;
7006 Py_INCREF(Py_None
); resultobj
= Py_None
;
7013 static PyObject
*_wrap_Log_SetLogLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7014 PyObject
*resultobj
;
7016 PyObject
* obj0
= 0 ;
7018 (char *) "logLevel", NULL
7021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) goto fail
;
7022 arg1
= (wxLogLevel
) SWIG_AsUnsignedLong(obj0
);
7023 if (PyErr_Occurred()) SWIG_fail
;
7025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7026 wxLog::SetLogLevel(arg1
);
7028 wxPyEndAllowThreads(__tstate
);
7029 if (PyErr_Occurred()) SWIG_fail
;
7031 Py_INCREF(Py_None
); resultobj
= Py_None
;
7038 static PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7039 PyObject
*resultobj
;
7044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_DontCreateOnDemand",kwnames
)) goto fail
;
7046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7047 wxLog::DontCreateOnDemand();
7049 wxPyEndAllowThreads(__tstate
);
7050 if (PyErr_Occurred()) SWIG_fail
;
7052 Py_INCREF(Py_None
); resultobj
= Py_None
;
7059 static PyObject
*_wrap_Log_SetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7060 PyObject
*resultobj
;
7062 PyObject
* obj0
= 0 ;
7064 (char *) "ulMask", NULL
7067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) goto fail
;
7068 arg1
= (wxTraceMask
) SWIG_AsUnsignedLong(obj0
);
7069 if (PyErr_Occurred()) SWIG_fail
;
7071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7072 wxLog::SetTraceMask(arg1
);
7074 wxPyEndAllowThreads(__tstate
);
7075 if (PyErr_Occurred()) SWIG_fail
;
7077 Py_INCREF(Py_None
); resultobj
= Py_None
;
7084 static PyObject
*_wrap_Log_AddTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7085 PyObject
*resultobj
;
7086 wxString
*arg1
= 0 ;
7087 bool temp1
= False
;
7088 PyObject
* obj0
= 0 ;
7090 (char *) "str", NULL
7093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) goto fail
;
7095 arg1
= wxString_in_helper(obj0
);
7096 if (arg1
== NULL
) SWIG_fail
;
7100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7101 wxLog::AddTraceMask((wxString
const &)*arg1
);
7103 wxPyEndAllowThreads(__tstate
);
7104 if (PyErr_Occurred()) SWIG_fail
;
7106 Py_INCREF(Py_None
); resultobj
= Py_None
;
7121 static PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7122 PyObject
*resultobj
;
7123 wxString
*arg1
= 0 ;
7124 bool temp1
= False
;
7125 PyObject
* obj0
= 0 ;
7127 (char *) "str", NULL
7130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) goto fail
;
7132 arg1
= wxString_in_helper(obj0
);
7133 if (arg1
== NULL
) SWIG_fail
;
7137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7138 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
7140 wxPyEndAllowThreads(__tstate
);
7141 if (PyErr_Occurred()) SWIG_fail
;
7143 Py_INCREF(Py_None
); resultobj
= Py_None
;
7158 static PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7159 PyObject
*resultobj
;
7164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_ClearTraceMasks",kwnames
)) goto fail
;
7166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7167 wxLog::ClearTraceMasks();
7169 wxPyEndAllowThreads(__tstate
);
7170 if (PyErr_Occurred()) SWIG_fail
;
7172 Py_INCREF(Py_None
); resultobj
= Py_None
;
7179 static PyObject
*_wrap_Log_GetTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7180 PyObject
*resultobj
;
7181 wxArrayString
*result
;
7186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMasks",kwnames
)) goto fail
;
7188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7190 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
7191 result
= (wxArrayString
*) &_result_ref
;
7194 wxPyEndAllowThreads(__tstate
);
7195 if (PyErr_Occurred()) SWIG_fail
;
7198 resultobj
= wxArrayString2PyList_helper(*result
);
7206 static PyObject
*_wrap_Log_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7207 PyObject
*resultobj
;
7208 wxChar
*arg1
= (wxChar
*) 0 ;
7209 PyObject
* obj0
= 0 ;
7214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) goto fail
;
7215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChar
,
7216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7219 wxLog::SetTimestamp((wxChar
const *)arg1
);
7221 wxPyEndAllowThreads(__tstate
);
7222 if (PyErr_Occurred()) SWIG_fail
;
7224 Py_INCREF(Py_None
); resultobj
= Py_None
;
7231 static PyObject
*_wrap_Log_GetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7232 PyObject
*resultobj
;
7238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetVerbose",kwnames
)) goto fail
;
7240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7241 result
= (bool)wxLog::GetVerbose();
7243 wxPyEndAllowThreads(__tstate
);
7244 if (PyErr_Occurred()) SWIG_fail
;
7246 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7253 static PyObject
*_wrap_Log_GetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7254 PyObject
*resultobj
;
7260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMask",kwnames
)) goto fail
;
7262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7263 result
= (wxTraceMask
)wxLog::GetTraceMask();
7265 wxPyEndAllowThreads(__tstate
);
7266 if (PyErr_Occurred()) SWIG_fail
;
7268 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
7275 static PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7276 PyObject
*resultobj
;
7277 wxChar
*arg1
= (wxChar
*) 0 ;
7279 PyObject
* obj0
= 0 ;
7281 (char *) "mask", NULL
7284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) goto fail
;
7285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChar
,
7286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7289 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
7291 wxPyEndAllowThreads(__tstate
);
7292 if (PyErr_Occurred()) SWIG_fail
;
7294 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7301 static PyObject
*_wrap_Log_GetLogLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7302 PyObject
*resultobj
;
7308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetLogLevel",kwnames
)) goto fail
;
7310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7311 result
= (wxLogLevel
)wxLog::GetLogLevel();
7313 wxPyEndAllowThreads(__tstate
);
7314 if (PyErr_Occurred()) SWIG_fail
;
7316 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
7323 static PyObject
*_wrap_Log_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7324 PyObject
*resultobj
;
7330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTimestamp",kwnames
)) goto fail
;
7332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7333 result
= (wxChar
*)wxLog::GetTimestamp();
7335 wxPyEndAllowThreads(__tstate
);
7336 if (PyErr_Occurred()) SWIG_fail
;
7338 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChar
, 0);
7345 static PyObject
*_wrap_Log_TimeStamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7346 PyObject
*resultobj
;
7352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_TimeStamp",kwnames
)) goto fail
;
7354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7355 result
= Log_TimeStamp();
7357 wxPyEndAllowThreads(__tstate
);
7358 if (PyErr_Occurred()) SWIG_fail
;
7362 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7364 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7373 static PyObject
*_wrap_Log_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7374 PyObject
*resultobj
;
7375 wxLog
*arg1
= (wxLog
*) 0 ;
7376 PyObject
* obj0
= 0 ;
7378 (char *) "self", NULL
7381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Destroy",kwnames
,&obj0
)) goto fail
;
7382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7386 wxLog_Destroy(arg1
);
7388 wxPyEndAllowThreads(__tstate
);
7389 if (PyErr_Occurred()) SWIG_fail
;
7391 Py_INCREF(Py_None
); resultobj
= Py_None
;
7398 static PyObject
* Log_swigregister(PyObject
*self
, PyObject
*args
) {
7400 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7401 SWIG_TypeClientData(SWIGTYPE_p_wxLog
, obj
);
7403 return Py_BuildValue((char *)"");
7405 static PyObject
*_wrap_new_LogStderr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7406 PyObject
*resultobj
;
7407 wxLogStderr
*result
;
7412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogStderr",kwnames
)) goto fail
;
7414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7415 result
= (wxLogStderr
*)new wxLogStderr();
7417 wxPyEndAllowThreads(__tstate
);
7418 if (PyErr_Occurred()) SWIG_fail
;
7420 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogStderr
, 1);
7427 static PyObject
* LogStderr_swigregister(PyObject
*self
, PyObject
*args
) {
7429 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7430 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr
, obj
);
7432 return Py_BuildValue((char *)"");
7434 static PyObject
*_wrap_new_LogTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7435 PyObject
*resultobj
;
7436 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7437 wxLogTextCtrl
*result
;
7438 PyObject
* obj0
= 0 ;
7440 (char *) "pTextCtrl", NULL
7443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) goto fail
;
7444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7448 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
7450 wxPyEndAllowThreads(__tstate
);
7451 if (PyErr_Occurred()) SWIG_fail
;
7453 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogTextCtrl
, 1);
7460 static PyObject
* LogTextCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
7462 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7463 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl
, obj
);
7465 return Py_BuildValue((char *)"");
7467 static PyObject
*_wrap_new_LogGui(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7468 PyObject
*resultobj
;
7474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogGui",kwnames
)) goto fail
;
7476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7477 result
= (wxLogGui
*)new wxLogGui();
7479 wxPyEndAllowThreads(__tstate
);
7480 if (PyErr_Occurred()) SWIG_fail
;
7482 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogGui
, 1);
7489 static PyObject
* LogGui_swigregister(PyObject
*self
, PyObject
*args
) {
7491 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7492 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui
, obj
);
7494 return Py_BuildValue((char *)"");
7496 static PyObject
*_wrap_new_LogWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7497 PyObject
*resultobj
;
7498 wxFrame
*arg1
= (wxFrame
*) 0 ;
7499 wxString
*arg2
= 0 ;
7500 bool arg3
= (bool) True
;
7501 bool arg4
= (bool) True
;
7502 wxLogWindow
*result
;
7503 bool temp2
= False
;
7504 PyObject
* obj0
= 0 ;
7505 PyObject
* obj1
= 0 ;
7506 PyObject
* obj2
= 0 ;
7507 PyObject
* obj3
= 0 ;
7509 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
7512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
7514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7516 arg2
= wxString_in_helper(obj1
);
7517 if (arg2
== NULL
) SWIG_fail
;
7521 arg3
= (bool) SWIG_AsBool(obj2
);
7522 if (PyErr_Occurred()) SWIG_fail
;
7525 arg4
= (bool) SWIG_AsBool(obj3
);
7526 if (PyErr_Occurred()) SWIG_fail
;
7529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7530 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
7532 wxPyEndAllowThreads(__tstate
);
7533 if (PyErr_Occurred()) SWIG_fail
;
7535 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogWindow
, 1);
7550 static PyObject
*_wrap_LogWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7551 PyObject
*resultobj
;
7552 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7553 bool arg2
= (bool) True
;
7554 PyObject
* obj0
= 0 ;
7555 PyObject
* obj1
= 0 ;
7557 (char *) "self",(char *) "bShow", NULL
7560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
7561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7564 arg2
= (bool) SWIG_AsBool(obj1
);
7565 if (PyErr_Occurred()) SWIG_fail
;
7568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7571 wxPyEndAllowThreads(__tstate
);
7572 if (PyErr_Occurred()) SWIG_fail
;
7574 Py_INCREF(Py_None
); resultobj
= Py_None
;
7581 static PyObject
*_wrap_LogWindow_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7582 PyObject
*resultobj
;
7583 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7585 PyObject
* obj0
= 0 ;
7587 (char *) "self", NULL
7590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetFrame",kwnames
,&obj0
)) goto fail
;
7591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7595 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
7597 wxPyEndAllowThreads(__tstate
);
7598 if (PyErr_Occurred()) SWIG_fail
;
7601 resultobj
= wxPyMake_wxObject(result
);
7609 static PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7610 PyObject
*resultobj
;
7611 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7613 PyObject
* obj0
= 0 ;
7615 (char *) "self", NULL
7618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetOldLog",kwnames
,&obj0
)) goto fail
;
7619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7623 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
7625 wxPyEndAllowThreads(__tstate
);
7626 if (PyErr_Occurred()) SWIG_fail
;
7628 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7635 static PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7636 PyObject
*resultobj
;
7637 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7639 PyObject
* obj0
= 0 ;
7641 (char *) "self", NULL
7644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
7645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7649 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
7651 wxPyEndAllowThreads(__tstate
);
7652 if (PyErr_Occurred()) SWIG_fail
;
7654 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7661 static PyObject
*_wrap_LogWindow_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7662 PyObject
*resultobj
;
7663 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7665 PyObject
* obj0
= 0 ;
7666 PyObject
* obj1
= 0 ;
7668 (char *) "self",(char *) "bDoPass", NULL
7671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
7672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7674 arg2
= (bool) SWIG_AsBool(obj1
);
7675 if (PyErr_Occurred()) SWIG_fail
;
7677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7678 (arg1
)->PassMessages(arg2
);
7680 wxPyEndAllowThreads(__tstate
);
7681 if (PyErr_Occurred()) SWIG_fail
;
7683 Py_INCREF(Py_None
); resultobj
= Py_None
;
7690 static PyObject
* LogWindow_swigregister(PyObject
*self
, PyObject
*args
) {
7692 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7693 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow
, obj
);
7695 return Py_BuildValue((char *)"");
7697 static PyObject
*_wrap_new_LogChain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7698 PyObject
*resultobj
;
7699 wxLog
*arg1
= (wxLog
*) 0 ;
7701 PyObject
* obj0
= 0 ;
7703 (char *) "logger", NULL
7706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) goto fail
;
7707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7711 result
= (wxLogChain
*)new wxLogChain(arg1
);
7713 wxPyEndAllowThreads(__tstate
);
7714 if (PyErr_Occurred()) SWIG_fail
;
7716 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogChain
, 1);
7723 static PyObject
*_wrap_LogChain_SetLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7724 PyObject
*resultobj
;
7725 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7726 wxLog
*arg2
= (wxLog
*) 0 ;
7727 PyObject
* obj0
= 0 ;
7728 PyObject
* obj1
= 0 ;
7730 (char *) "self",(char *) "logger", NULL
7733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) goto fail
;
7734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
7735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7736 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLog
,
7737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7740 (arg1
)->SetLog(arg2
);
7742 wxPyEndAllowThreads(__tstate
);
7743 if (PyErr_Occurred()) SWIG_fail
;
7745 Py_INCREF(Py_None
); resultobj
= Py_None
;
7752 static PyObject
*_wrap_LogChain_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7753 PyObject
*resultobj
;
7754 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7756 PyObject
* obj0
= 0 ;
7757 PyObject
* obj1
= 0 ;
7759 (char *) "self",(char *) "bDoPass", NULL
7762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
7763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
7764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7765 arg2
= (bool) SWIG_AsBool(obj1
);
7766 if (PyErr_Occurred()) SWIG_fail
;
7768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7769 (arg1
)->PassMessages(arg2
);
7771 wxPyEndAllowThreads(__tstate
);
7772 if (PyErr_Occurred()) SWIG_fail
;
7774 Py_INCREF(Py_None
); resultobj
= Py_None
;
7781 static PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7782 PyObject
*resultobj
;
7783 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7785 PyObject
* obj0
= 0 ;
7787 (char *) "self", NULL
7790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
7791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
7792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7795 result
= (bool)(arg1
)->IsPassingMessages();
7797 wxPyEndAllowThreads(__tstate
);
7798 if (PyErr_Occurred()) SWIG_fail
;
7800 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7807 static PyObject
*_wrap_LogChain_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7808 PyObject
*resultobj
;
7809 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7811 PyObject
* obj0
= 0 ;
7813 (char *) "self", NULL
7816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_GetOldLog",kwnames
,&obj0
)) goto fail
;
7817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
7818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7821 result
= (wxLog
*)(arg1
)->GetOldLog();
7823 wxPyEndAllowThreads(__tstate
);
7824 if (PyErr_Occurred()) SWIG_fail
;
7826 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7833 static PyObject
* LogChain_swigregister(PyObject
*self
, PyObject
*args
) {
7835 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7836 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain
, obj
);
7838 return Py_BuildValue((char *)"");
7840 static PyObject
*_wrap_SysErrorCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7841 PyObject
*resultobj
;
7842 unsigned long result
;
7847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SysErrorCode",kwnames
)) goto fail
;
7849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7850 result
= (unsigned long)wxSysErrorCode();
7852 wxPyEndAllowThreads(__tstate
);
7853 if (PyErr_Occurred()) SWIG_fail
;
7855 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
7862 static PyObject
*_wrap_SysErrorMsg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7863 PyObject
*resultobj
;
7864 unsigned long arg1
= (unsigned long) 0 ;
7866 PyObject
* obj0
= 0 ;
7868 (char *) "nErrCode", NULL
7871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) goto fail
;
7873 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
7874 if (PyErr_Occurred()) SWIG_fail
;
7877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7878 result
= wxSysErrorMsg(arg1
);
7880 wxPyEndAllowThreads(__tstate
);
7881 if (PyErr_Occurred()) SWIG_fail
;
7885 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7887 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7896 static PyObject
*_wrap_LogFatalError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7897 PyObject
*resultobj
;
7898 wxString
*arg1
= 0 ;
7899 bool temp1
= False
;
7900 PyObject
* obj0
= 0 ;
7902 (char *) "msg", NULL
7905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) goto fail
;
7907 arg1
= wxString_in_helper(obj0
);
7908 if (arg1
== NULL
) SWIG_fail
;
7912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7913 wxLogFatalError((wxString
const &)*arg1
);
7915 wxPyEndAllowThreads(__tstate
);
7916 if (PyErr_Occurred()) SWIG_fail
;
7918 Py_INCREF(Py_None
); resultobj
= Py_None
;
7933 static PyObject
*_wrap_LogError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7934 PyObject
*resultobj
;
7935 wxString
*arg1
= 0 ;
7936 bool temp1
= False
;
7937 PyObject
* obj0
= 0 ;
7939 (char *) "msg", NULL
7942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) goto fail
;
7944 arg1
= wxString_in_helper(obj0
);
7945 if (arg1
== NULL
) SWIG_fail
;
7949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7950 wxLogError((wxString
const &)*arg1
);
7952 wxPyEndAllowThreads(__tstate
);
7953 if (PyErr_Occurred()) SWIG_fail
;
7955 Py_INCREF(Py_None
); resultobj
= Py_None
;
7970 static PyObject
*_wrap_LogWarning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7971 PyObject
*resultobj
;
7972 wxString
*arg1
= 0 ;
7973 bool temp1
= False
;
7974 PyObject
* obj0
= 0 ;
7976 (char *) "msg", NULL
7979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) goto fail
;
7981 arg1
= wxString_in_helper(obj0
);
7982 if (arg1
== NULL
) SWIG_fail
;
7986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7987 wxLogWarning((wxString
const &)*arg1
);
7989 wxPyEndAllowThreads(__tstate
);
7990 if (PyErr_Occurred()) SWIG_fail
;
7992 Py_INCREF(Py_None
); resultobj
= Py_None
;
8007 static PyObject
*_wrap_LogMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8008 PyObject
*resultobj
;
8009 wxString
*arg1
= 0 ;
8010 bool temp1
= False
;
8011 PyObject
* obj0
= 0 ;
8013 (char *) "msg", NULL
8016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) goto fail
;
8018 arg1
= wxString_in_helper(obj0
);
8019 if (arg1
== NULL
) SWIG_fail
;
8023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8024 wxLogMessage((wxString
const &)*arg1
);
8026 wxPyEndAllowThreads(__tstate
);
8027 if (PyErr_Occurred()) SWIG_fail
;
8029 Py_INCREF(Py_None
); resultobj
= Py_None
;
8044 static PyObject
*_wrap_LogInfo(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:LogInfo",kwnames
,&obj0
)) goto fail
;
8055 arg1
= wxString_in_helper(obj0
);
8056 if (arg1
== NULL
) SWIG_fail
;
8060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8061 wxLogInfo((wxString
const &)*arg1
);
8063 wxPyEndAllowThreads(__tstate
);
8064 if (PyErr_Occurred()) SWIG_fail
;
8066 Py_INCREF(Py_None
); resultobj
= Py_None
;
8081 static PyObject
*_wrap_LogDebug(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:LogDebug",kwnames
,&obj0
)) goto fail
;
8092 arg1
= wxString_in_helper(obj0
);
8093 if (arg1
== NULL
) SWIG_fail
;
8097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8098 wxLogDebug((wxString
const &)*arg1
);
8100 wxPyEndAllowThreads(__tstate
);
8101 if (PyErr_Occurred()) SWIG_fail
;
8103 Py_INCREF(Py_None
); resultobj
= Py_None
;
8118 static PyObject
*_wrap_LogVerbose(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:LogVerbose",kwnames
,&obj0
)) goto fail
;
8129 arg1
= wxString_in_helper(obj0
);
8130 if (arg1
== NULL
) SWIG_fail
;
8134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8135 wxLogVerbose((wxString
const &)*arg1
);
8137 wxPyEndAllowThreads(__tstate
);
8138 if (PyErr_Occurred()) SWIG_fail
;
8140 Py_INCREF(Py_None
); resultobj
= Py_None
;
8155 static PyObject
*_wrap_LogStatus(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:LogStatus",kwnames
,&obj0
)) goto fail
;
8166 arg1
= wxString_in_helper(obj0
);
8167 if (arg1
== NULL
) SWIG_fail
;
8171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8172 wxLogStatus((wxString
const &)*arg1
);
8174 wxPyEndAllowThreads(__tstate
);
8175 if (PyErr_Occurred()) SWIG_fail
;
8177 Py_INCREF(Py_None
); resultobj
= Py_None
;
8192 static PyObject
*_wrap_LogStatusFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8193 PyObject
*resultobj
;
8194 wxFrame
*arg1
= (wxFrame
*) 0 ;
8195 wxString
*arg2
= 0 ;
8196 bool temp2
= False
;
8197 PyObject
* obj0
= 0 ;
8198 PyObject
* obj1
= 0 ;
8200 (char *) "pFrame",(char *) "msg", NULL
8203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
8204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
8205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8207 arg2
= wxString_in_helper(obj1
);
8208 if (arg2
== NULL
) SWIG_fail
;
8212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8213 wxLogStatus(arg1
,(wxString
const &)*arg2
);
8215 wxPyEndAllowThreads(__tstate
);
8216 if (PyErr_Occurred()) SWIG_fail
;
8218 Py_INCREF(Py_None
); resultobj
= Py_None
;
8233 static PyObject
*_wrap_LogSysError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8234 PyObject
*resultobj
;
8235 wxString
*arg1
= 0 ;
8236 bool temp1
= False
;
8237 PyObject
* obj0
= 0 ;
8239 (char *) "msg", NULL
8242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) goto fail
;
8244 arg1
= wxString_in_helper(obj0
);
8245 if (arg1
== NULL
) SWIG_fail
;
8249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8250 wxLogSysError((wxString
const &)*arg1
);
8252 wxPyEndAllowThreads(__tstate
);
8253 if (PyErr_Occurred()) SWIG_fail
;
8255 Py_INCREF(Py_None
); resultobj
= Py_None
;
8270 static PyObject
*_wrap_LogTrace__SWIG_0(PyObject
*self
, PyObject
*args
) {
8271 PyObject
*resultobj
;
8272 unsigned long arg1
;
8273 wxString
*arg2
= 0 ;
8274 bool temp2
= False
;
8275 PyObject
* obj0
= 0 ;
8276 PyObject
* obj1
= 0 ;
8278 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
8279 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
8280 if (PyErr_Occurred()) SWIG_fail
;
8282 arg2
= wxString_in_helper(obj1
);
8283 if (arg2
== NULL
) SWIG_fail
;
8287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8288 wxLogTrace(arg1
,(wxString
const &)*arg2
);
8290 wxPyEndAllowThreads(__tstate
);
8291 if (PyErr_Occurred()) SWIG_fail
;
8293 Py_INCREF(Py_None
); resultobj
= Py_None
;
8308 static PyObject
*_wrap_LogTrace__SWIG_1(PyObject
*self
, PyObject
*args
) {
8309 PyObject
*resultobj
;
8310 wxString
*arg1
= 0 ;
8311 wxString
*arg2
= 0 ;
8312 bool temp1
= False
;
8313 bool temp2
= False
;
8314 PyObject
* obj0
= 0 ;
8315 PyObject
* obj1
= 0 ;
8317 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
8319 arg1
= wxString_in_helper(obj0
);
8320 if (arg1
== NULL
) SWIG_fail
;
8324 arg2
= wxString_in_helper(obj1
);
8325 if (arg2
== NULL
) SWIG_fail
;
8329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8330 wxLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
8332 wxPyEndAllowThreads(__tstate
);
8333 if (PyErr_Occurred()) SWIG_fail
;
8335 Py_INCREF(Py_None
); resultobj
= Py_None
;
8358 static PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
) {
8363 argc
= PyObject_Length(args
);
8364 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
8365 argv
[ii
] = PyTuple_GetItem(args
,ii
);
8370 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
8374 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
8377 return _wrap_LogTrace__SWIG_1(self
,args
);
8383 _v
= SWIG_CheckUnsignedLong(argv
[0]);
8386 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
8389 return _wrap_LogTrace__SWIG_0(self
,args
);
8394 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'LogTrace'");
8399 static PyObject
*_wrap_LogGeneric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8400 PyObject
*resultobj
;
8401 unsigned long arg1
;
8402 wxString
*arg2
= 0 ;
8403 bool temp2
= False
;
8404 PyObject
* obj0
= 0 ;
8405 PyObject
* obj1
= 0 ;
8407 (char *) "level",(char *) "msg", NULL
8410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) goto fail
;
8411 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
8412 if (PyErr_Occurred()) SWIG_fail
;
8414 arg2
= wxString_in_helper(obj1
);
8415 if (arg2
== NULL
) SWIG_fail
;
8419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8420 wxLogGeneric(arg1
,(wxString
const &)*arg2
);
8422 wxPyEndAllowThreads(__tstate
);
8423 if (PyErr_Occurred()) SWIG_fail
;
8425 Py_INCREF(Py_None
); resultobj
= Py_None
;
8440 static PyObject
*_wrap_SafeShowMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8441 PyObject
*resultobj
;
8442 wxString
*arg1
= 0 ;
8443 wxString
*arg2
= 0 ;
8444 bool temp1
= False
;
8445 bool temp2
= False
;
8446 PyObject
* obj0
= 0 ;
8447 PyObject
* obj1
= 0 ;
8449 (char *) "title",(char *) "text", NULL
8452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
8454 arg1
= wxString_in_helper(obj0
);
8455 if (arg1
== NULL
) SWIG_fail
;
8459 arg2
= wxString_in_helper(obj1
);
8460 if (arg2
== NULL
) SWIG_fail
;
8464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8465 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
8467 wxPyEndAllowThreads(__tstate
);
8468 if (PyErr_Occurred()) SWIG_fail
;
8470 Py_INCREF(Py_None
); resultobj
= Py_None
;
8493 static PyObject
*_wrap_new_LogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8494 PyObject
*resultobj
;
8500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogNull",kwnames
)) goto fail
;
8502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8503 result
= (wxLogNull
*)new wxLogNull();
8505 wxPyEndAllowThreads(__tstate
);
8506 if (PyErr_Occurred()) SWIG_fail
;
8508 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogNull
, 1);
8515 static PyObject
*_wrap_delete_LogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8516 PyObject
*resultobj
;
8517 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
8518 PyObject
* obj0
= 0 ;
8520 (char *) "self", NULL
8523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LogNull",kwnames
,&obj0
)) goto fail
;
8524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogNull
,
8525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8530 wxPyEndAllowThreads(__tstate
);
8531 if (PyErr_Occurred()) SWIG_fail
;
8533 Py_INCREF(Py_None
); resultobj
= Py_None
;
8540 static PyObject
* LogNull_swigregister(PyObject
*self
, PyObject
*args
) {
8542 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8543 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull
, obj
);
8545 return Py_BuildValue((char *)"");
8547 static PyObject
*_wrap_new_PyLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8548 PyObject
*resultobj
;
8554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyLog",kwnames
)) goto fail
;
8556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8557 result
= (wxPyLog
*)new wxPyLog();
8559 wxPyEndAllowThreads(__tstate
);
8560 if (PyErr_Occurred()) SWIG_fail
;
8562 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyLog
, 1);
8569 static PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8570 PyObject
*resultobj
;
8571 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
8572 PyObject
*arg2
= (PyObject
*) 0 ;
8573 PyObject
*arg3
= (PyObject
*) 0 ;
8574 PyObject
* obj0
= 0 ;
8575 PyObject
* obj1
= 0 ;
8576 PyObject
* obj2
= 0 ;
8578 (char *) "self",(char *) "self",(char *) "_class", NULL
8581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLog
,
8583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8588 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8590 wxPyEndAllowThreads(__tstate
);
8591 if (PyErr_Occurred()) SWIG_fail
;
8593 Py_INCREF(Py_None
); resultobj
= Py_None
;
8600 static PyObject
* PyLog_swigregister(PyObject
*self
, PyObject
*args
) {
8602 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8603 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog
, obj
);
8605 return Py_BuildValue((char *)"");
8607 static PyObject
*_wrap_Process_Kill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8608 PyObject
*resultobj
;
8610 int arg2
= (int) wxSIGTERM
;
8612 PyObject
* obj0
= 0 ;
8613 PyObject
* obj1
= 0 ;
8615 (char *) "pid",(char *) "sig", NULL
8618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Kill",kwnames
,&obj0
,&obj1
)) goto fail
;
8619 arg1
= (int) SWIG_AsInt(obj0
);
8620 if (PyErr_Occurred()) SWIG_fail
;
8622 arg2
= (wxSignal
) SWIG_AsInt(obj1
);
8623 if (PyErr_Occurred()) SWIG_fail
;
8626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8627 result
= (int)wxPyProcess::Kill(arg1
,(wxSignal
)arg2
);
8629 wxPyEndAllowThreads(__tstate
);
8630 if (PyErr_Occurred()) SWIG_fail
;
8632 resultobj
= SWIG_FromInt((int)result
);
8639 static PyObject
*_wrap_Process_Exists(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8640 PyObject
*resultobj
;
8643 PyObject
* obj0
= 0 ;
8645 (char *) "pid", NULL
8648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Exists",kwnames
,&obj0
)) goto fail
;
8649 arg1
= (int) SWIG_AsInt(obj0
);
8650 if (PyErr_Occurred()) SWIG_fail
;
8652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8653 result
= (bool)wxPyProcess::Exists(arg1
);
8655 wxPyEndAllowThreads(__tstate
);
8656 if (PyErr_Occurred()) SWIG_fail
;
8658 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8665 static PyObject
*_wrap_Process_Open(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8666 PyObject
*resultobj
;
8667 wxString
*arg1
= 0 ;
8668 int arg2
= (int) wxEXEC_ASYNC
;
8669 wxPyProcess
*result
;
8670 bool temp1
= False
;
8671 PyObject
* obj0
= 0 ;
8672 PyObject
* obj1
= 0 ;
8674 (char *) "cmd",(char *) "flags", NULL
8677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Open",kwnames
,&obj0
,&obj1
)) goto fail
;
8679 arg1
= wxString_in_helper(obj0
);
8680 if (arg1
== NULL
) SWIG_fail
;
8684 arg2
= (int) SWIG_AsInt(obj1
);
8685 if (PyErr_Occurred()) SWIG_fail
;
8688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8689 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
8691 wxPyEndAllowThreads(__tstate
);
8692 if (PyErr_Occurred()) SWIG_fail
;
8694 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 0);
8709 static PyObject
*_wrap_new_Process(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8710 PyObject
*resultobj
;
8711 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
8712 int arg2
= (int) -1 ;
8713 wxPyProcess
*result
;
8714 PyObject
* obj0
= 0 ;
8715 PyObject
* obj1
= 0 ;
8717 (char *) "parent",(char *) "id", NULL
8720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Process",kwnames
,&obj0
,&obj1
)) goto fail
;
8722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
8723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8726 arg2
= (int) SWIG_AsInt(obj1
);
8727 if (PyErr_Occurred()) SWIG_fail
;
8730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8731 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
8733 wxPyEndAllowThreads(__tstate
);
8734 if (PyErr_Occurred()) SWIG_fail
;
8736 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 1);
8743 static PyObject
*_wrap_Process__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8744 PyObject
*resultobj
;
8745 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8746 PyObject
*arg2
= (PyObject
*) 0 ;
8747 PyObject
*arg3
= (PyObject
*) 0 ;
8748 PyObject
* obj0
= 0 ;
8749 PyObject
* obj1
= 0 ;
8750 PyObject
* obj2
= 0 ;
8752 (char *) "self",(char *) "self",(char *) "_class", NULL
8755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
8757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8762 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8764 wxPyEndAllowThreads(__tstate
);
8765 if (PyErr_Occurred()) SWIG_fail
;
8767 Py_INCREF(Py_None
); resultobj
= Py_None
;
8774 static PyObject
*_wrap_Process_base_OnTerminate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8775 PyObject
*resultobj
;
8776 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8779 PyObject
* obj0
= 0 ;
8780 PyObject
* obj1
= 0 ;
8781 PyObject
* obj2
= 0 ;
8783 (char *) "self",(char *) "pid",(char *) "status", NULL
8786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process_base_OnTerminate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
8788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8789 arg2
= (int) SWIG_AsInt(obj1
);
8790 if (PyErr_Occurred()) SWIG_fail
;
8791 arg3
= (int) SWIG_AsInt(obj2
);
8792 if (PyErr_Occurred()) SWIG_fail
;
8794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8795 (arg1
)->base_OnTerminate(arg2
,arg3
);
8797 wxPyEndAllowThreads(__tstate
);
8798 if (PyErr_Occurred()) SWIG_fail
;
8800 Py_INCREF(Py_None
); resultobj
= Py_None
;
8807 static PyObject
*_wrap_Process_Redirect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8808 PyObject
*resultobj
;
8809 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8810 PyObject
* obj0
= 0 ;
8812 (char *) "self", NULL
8815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Redirect",kwnames
,&obj0
)) goto fail
;
8816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
8817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8822 wxPyEndAllowThreads(__tstate
);
8823 if (PyErr_Occurred()) SWIG_fail
;
8825 Py_INCREF(Py_None
); resultobj
= Py_None
;
8832 static PyObject
*_wrap_Process_IsRedirected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8833 PyObject
*resultobj
;
8834 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8836 PyObject
* obj0
= 0 ;
8838 (char *) "self", NULL
8841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsRedirected",kwnames
,&obj0
)) goto fail
;
8842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
8843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8846 result
= (bool)(arg1
)->IsRedirected();
8848 wxPyEndAllowThreads(__tstate
);
8849 if (PyErr_Occurred()) SWIG_fail
;
8851 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8858 static PyObject
*_wrap_Process_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8859 PyObject
*resultobj
;
8860 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8861 PyObject
* obj0
= 0 ;
8863 (char *) "self", NULL
8866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Detach",kwnames
,&obj0
)) goto fail
;
8867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
8868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8873 wxPyEndAllowThreads(__tstate
);
8874 if (PyErr_Occurred()) SWIG_fail
;
8876 Py_INCREF(Py_None
); resultobj
= Py_None
;
8883 static PyObject
*_wrap_Process_GetInputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8884 PyObject
*resultobj
;
8885 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8886 wxInputStream
*result
;
8887 PyObject
* obj0
= 0 ;
8889 (char *) "self", NULL
8892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetInputStream",kwnames
,&obj0
)) goto fail
;
8893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
8894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8897 result
= (wxInputStream
*)(arg1
)->GetInputStream();
8899 wxPyEndAllowThreads(__tstate
);
8900 if (PyErr_Occurred()) SWIG_fail
;
8903 wxPyInputStream
* _ptr
= NULL
;
8906 _ptr
= new wxPyInputStream(result
);
8908 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
8916 static PyObject
*_wrap_Process_GetErrorStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8917 PyObject
*resultobj
;
8918 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8919 wxInputStream
*result
;
8920 PyObject
* obj0
= 0 ;
8922 (char *) "self", NULL
8925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetErrorStream",kwnames
,&obj0
)) goto fail
;
8926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
8927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8930 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
8932 wxPyEndAllowThreads(__tstate
);
8933 if (PyErr_Occurred()) SWIG_fail
;
8936 wxPyInputStream
* _ptr
= NULL
;
8939 _ptr
= new wxPyInputStream(result
);
8941 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
8949 static PyObject
*_wrap_Process_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8950 PyObject
*resultobj
;
8951 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8952 wxOutputStream
*result
;
8953 PyObject
* obj0
= 0 ;
8955 (char *) "self", NULL
8958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetOutputStream",kwnames
,&obj0
)) goto fail
;
8959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
8960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8963 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
8965 wxPyEndAllowThreads(__tstate
);
8966 if (PyErr_Occurred()) SWIG_fail
;
8968 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
8975 static PyObject
*_wrap_Process_CloseOutput(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8976 PyObject
*resultobj
;
8977 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8978 PyObject
* obj0
= 0 ;
8980 (char *) "self", NULL
8983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_CloseOutput",kwnames
,&obj0
)) goto fail
;
8984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
8985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8988 (arg1
)->CloseOutput();
8990 wxPyEndAllowThreads(__tstate
);
8991 if (PyErr_Occurred()) SWIG_fail
;
8993 Py_INCREF(Py_None
); resultobj
= Py_None
;
9000 static PyObject
*_wrap_Process_IsInputOpened(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9001 PyObject
*resultobj
;
9002 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9004 PyObject
* obj0
= 0 ;
9006 (char *) "self", NULL
9009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputOpened",kwnames
,&obj0
)) goto fail
;
9010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9014 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
9016 wxPyEndAllowThreads(__tstate
);
9017 if (PyErr_Occurred()) SWIG_fail
;
9019 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9026 static PyObject
*_wrap_Process_IsInputAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9027 PyObject
*resultobj
;
9028 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9030 PyObject
* obj0
= 0 ;
9032 (char *) "self", NULL
9035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputAvailable",kwnames
,&obj0
)) goto fail
;
9036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9040 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
9042 wxPyEndAllowThreads(__tstate
);
9043 if (PyErr_Occurred()) SWIG_fail
;
9045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9052 static PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9053 PyObject
*resultobj
;
9054 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9056 PyObject
* obj0
= 0 ;
9058 (char *) "self", NULL
9061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsErrorAvailable",kwnames
,&obj0
)) goto fail
;
9062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9066 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
9068 wxPyEndAllowThreads(__tstate
);
9069 if (PyErr_Occurred()) SWIG_fail
;
9071 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9078 static PyObject
* Process_swigregister(PyObject
*self
, PyObject
*args
) {
9080 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9081 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess
, obj
);
9083 return Py_BuildValue((char *)"");
9085 static PyObject
*_wrap_new_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9086 PyObject
*resultobj
;
9087 int arg1
= (int) 0 ;
9088 int arg2
= (int) 0 ;
9089 int arg3
= (int) 0 ;
9090 wxProcessEvent
*result
;
9091 PyObject
* obj0
= 0 ;
9092 PyObject
* obj1
= 0 ;
9093 PyObject
* obj2
= 0 ;
9095 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
9098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ProcessEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9100 arg1
= (int) SWIG_AsInt(obj0
);
9101 if (PyErr_Occurred()) SWIG_fail
;
9104 arg2
= (int) SWIG_AsInt(obj1
);
9105 if (PyErr_Occurred()) SWIG_fail
;
9108 arg3
= (int) SWIG_AsInt(obj2
);
9109 if (PyErr_Occurred()) SWIG_fail
;
9112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9113 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
9115 wxPyEndAllowThreads(__tstate
);
9116 if (PyErr_Occurred()) SWIG_fail
;
9118 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProcessEvent
, 1);
9125 static PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9126 PyObject
*resultobj
;
9127 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9129 PyObject
* obj0
= 0 ;
9131 (char *) "self", NULL
9134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetPid",kwnames
,&obj0
)) goto fail
;
9135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9139 result
= (int)(arg1
)->GetPid();
9141 wxPyEndAllowThreads(__tstate
);
9142 if (PyErr_Occurred()) SWIG_fail
;
9144 resultobj
= SWIG_FromInt((int)result
);
9151 static PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9152 PyObject
*resultobj
;
9153 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9155 PyObject
* obj0
= 0 ;
9157 (char *) "self", NULL
9160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetExitCode",kwnames
,&obj0
)) goto fail
;
9161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9165 result
= (int)(arg1
)->GetExitCode();
9167 wxPyEndAllowThreads(__tstate
);
9168 if (PyErr_Occurred()) SWIG_fail
;
9170 resultobj
= SWIG_FromInt((int)result
);
9177 static PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9178 PyObject
*resultobj
;
9179 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9181 PyObject
* obj0
= 0 ;
9182 PyObject
* obj1
= 0 ;
9184 (char *) "self",(char *) "m_pid", NULL
9187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_pid_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9190 arg2
= (int) SWIG_AsInt(obj1
);
9191 if (PyErr_Occurred()) SWIG_fail
;
9192 if (arg1
) (arg1
)->m_pid
= arg2
;
9194 Py_INCREF(Py_None
); resultobj
= Py_None
;
9201 static PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9202 PyObject
*resultobj
;
9203 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9205 PyObject
* obj0
= 0 ;
9207 (char *) "self", NULL
9210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_pid_get",kwnames
,&obj0
)) goto fail
;
9211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9213 result
= (int) ((arg1
)->m_pid
);
9215 resultobj
= SWIG_FromInt((int)result
);
9222 static PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9223 PyObject
*resultobj
;
9224 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9226 PyObject
* obj0
= 0 ;
9227 PyObject
* obj1
= 0 ;
9229 (char *) "self",(char *) "m_exitcode", NULL
9232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9235 arg2
= (int) SWIG_AsInt(obj1
);
9236 if (PyErr_Occurred()) SWIG_fail
;
9237 if (arg1
) (arg1
)->m_exitcode
= arg2
;
9239 Py_INCREF(Py_None
); resultobj
= Py_None
;
9246 static PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9247 PyObject
*resultobj
;
9248 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9250 PyObject
* obj0
= 0 ;
9252 (char *) "self", NULL
9255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_exitcode_get",kwnames
,&obj0
)) goto fail
;
9256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9258 result
= (int) ((arg1
)->m_exitcode
);
9260 resultobj
= SWIG_FromInt((int)result
);
9267 static PyObject
* ProcessEvent_swigregister(PyObject
*self
, PyObject
*args
) {
9269 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9270 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent
, obj
);
9272 return Py_BuildValue((char *)"");
9274 static PyObject
*_wrap_Execute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9275 PyObject
*resultobj
;
9276 wxString
*arg1
= 0 ;
9277 int arg2
= (int) wxEXEC_ASYNC
;
9278 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
9280 bool temp1
= False
;
9281 PyObject
* obj0
= 0 ;
9282 PyObject
* obj1
= 0 ;
9283 PyObject
* obj2
= 0 ;
9285 (char *) "command",(char *) "flags",(char *) "process", NULL
9288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Execute",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9290 arg1
= wxString_in_helper(obj0
);
9291 if (arg1
== NULL
) SWIG_fail
;
9295 arg2
= (int) SWIG_AsInt(obj1
);
9296 if (PyErr_Occurred()) SWIG_fail
;
9299 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyProcess
,
9300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9304 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
9306 wxPyEndAllowThreads(__tstate
);
9307 if (PyErr_Occurred()) SWIG_fail
;
9309 resultobj
= SWIG_FromLong((long)result
);
9324 static PyObject
*_wrap_new_Joystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9325 PyObject
*resultobj
;
9326 int arg1
= (int) wxJOYSTICK1
;
9328 PyObject
* obj0
= 0 ;
9330 (char *) "joystick", NULL
9333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Joystick",kwnames
,&obj0
)) goto fail
;
9335 arg1
= (int) SWIG_AsInt(obj0
);
9336 if (PyErr_Occurred()) SWIG_fail
;
9339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9340 result
= (wxJoystick
*)new wxJoystick(arg1
);
9342 wxPyEndAllowThreads(__tstate
);
9343 if (PyErr_Occurred()) SWIG_fail
;
9345 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystick
, 1);
9352 static PyObject
*_wrap_delete_Joystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9353 PyObject
*resultobj
;
9354 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9355 PyObject
* obj0
= 0 ;
9357 (char *) "self", NULL
9360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Joystick",kwnames
,&obj0
)) goto fail
;
9361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9367 wxPyEndAllowThreads(__tstate
);
9368 if (PyErr_Occurred()) SWIG_fail
;
9370 Py_INCREF(Py_None
); resultobj
= Py_None
;
9377 static PyObject
*_wrap_Joystick_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9378 PyObject
*resultobj
;
9379 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9381 PyObject
* obj0
= 0 ;
9383 (char *) "self", NULL
9386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPosition",kwnames
,&obj0
)) goto fail
;
9387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9391 result
= (arg1
)->GetPosition();
9393 wxPyEndAllowThreads(__tstate
);
9394 if (PyErr_Occurred()) SWIG_fail
;
9397 wxPoint
* resultptr
;
9398 resultptr
= new wxPoint((wxPoint
&) result
);
9399 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
9407 static PyObject
*_wrap_Joystick_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9408 PyObject
*resultobj
;
9409 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9411 PyObject
* obj0
= 0 ;
9413 (char *) "self", NULL
9416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZPosition",kwnames
,&obj0
)) goto fail
;
9417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9421 result
= (int)(arg1
)->GetZPosition();
9423 wxPyEndAllowThreads(__tstate
);
9424 if (PyErr_Occurred()) SWIG_fail
;
9426 resultobj
= SWIG_FromInt((int)result
);
9433 static PyObject
*_wrap_Joystick_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9434 PyObject
*resultobj
;
9435 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9437 PyObject
* obj0
= 0 ;
9439 (char *) "self", NULL
9442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetButtonState",kwnames
,&obj0
)) goto fail
;
9443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9447 result
= (int)(arg1
)->GetButtonState();
9449 wxPyEndAllowThreads(__tstate
);
9450 if (PyErr_Occurred()) SWIG_fail
;
9452 resultobj
= SWIG_FromInt((int)result
);
9459 static PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9460 PyObject
*resultobj
;
9461 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9463 PyObject
* obj0
= 0 ;
9465 (char *) "self", NULL
9468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVPosition",kwnames
,&obj0
)) goto fail
;
9469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9473 result
= (int)(arg1
)->GetPOVPosition();
9475 wxPyEndAllowThreads(__tstate
);
9476 if (PyErr_Occurred()) SWIG_fail
;
9478 resultobj
= SWIG_FromInt((int)result
);
9485 static PyObject
*_wrap_Joystick_GetPOVCTSPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9486 PyObject
*resultobj
;
9487 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9489 PyObject
* obj0
= 0 ;
9491 (char *) "self", NULL
9494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVCTSPosition",kwnames
,&obj0
)) goto fail
;
9495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9499 result
= (int)(arg1
)->GetPOVCTSPosition();
9501 wxPyEndAllowThreads(__tstate
);
9502 if (PyErr_Occurred()) SWIG_fail
;
9504 resultobj
= SWIG_FromInt((int)result
);
9511 static PyObject
*_wrap_Joystick_GetRudderPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9512 PyObject
*resultobj
;
9513 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9515 PyObject
* obj0
= 0 ;
9517 (char *) "self", NULL
9520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderPosition",kwnames
,&obj0
)) goto fail
;
9521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9525 result
= (int)(arg1
)->GetRudderPosition();
9527 wxPyEndAllowThreads(__tstate
);
9528 if (PyErr_Occurred()) SWIG_fail
;
9530 resultobj
= SWIG_FromInt((int)result
);
9537 static PyObject
*_wrap_Joystick_GetUPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9538 PyObject
*resultobj
;
9539 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9541 PyObject
* obj0
= 0 ;
9543 (char *) "self", NULL
9546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUPosition",kwnames
,&obj0
)) goto fail
;
9547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9551 result
= (int)(arg1
)->GetUPosition();
9553 wxPyEndAllowThreads(__tstate
);
9554 if (PyErr_Occurred()) SWIG_fail
;
9556 resultobj
= SWIG_FromInt((int)result
);
9563 static PyObject
*_wrap_Joystick_GetVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9564 PyObject
*resultobj
;
9565 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9567 PyObject
* obj0
= 0 ;
9569 (char *) "self", NULL
9572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVPosition",kwnames
,&obj0
)) goto fail
;
9573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9577 result
= (int)(arg1
)->GetVPosition();
9579 wxPyEndAllowThreads(__tstate
);
9580 if (PyErr_Occurred()) SWIG_fail
;
9582 resultobj
= SWIG_FromInt((int)result
);
9589 static PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9590 PyObject
*resultobj
;
9591 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9593 PyObject
* obj0
= 0 ;
9595 (char *) "self", NULL
9598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMovementThreshold",kwnames
,&obj0
)) goto fail
;
9599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9603 result
= (int)(arg1
)->GetMovementThreshold();
9605 wxPyEndAllowThreads(__tstate
);
9606 if (PyErr_Occurred()) SWIG_fail
;
9608 resultobj
= SWIG_FromInt((int)result
);
9615 static PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9616 PyObject
*resultobj
;
9617 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9619 PyObject
* obj0
= 0 ;
9620 PyObject
* obj1
= 0 ;
9622 (char *) "self",(char *) "threshold", NULL
9625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Joystick_SetMovementThreshold",kwnames
,&obj0
,&obj1
)) goto fail
;
9626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9628 arg2
= (int) SWIG_AsInt(obj1
);
9629 if (PyErr_Occurred()) SWIG_fail
;
9631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9632 (arg1
)->SetMovementThreshold(arg2
);
9634 wxPyEndAllowThreads(__tstate
);
9635 if (PyErr_Occurred()) SWIG_fail
;
9637 Py_INCREF(Py_None
); resultobj
= Py_None
;
9644 static PyObject
*_wrap_Joystick_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9645 PyObject
*resultobj
;
9646 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9648 PyObject
* obj0
= 0 ;
9650 (char *) "self", NULL
9653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_IsOk",kwnames
,&obj0
)) goto fail
;
9654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9658 result
= (bool)(arg1
)->IsOk();
9660 wxPyEndAllowThreads(__tstate
);
9661 if (PyErr_Occurred()) SWIG_fail
;
9663 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9670 static PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9671 PyObject
*resultobj
;
9672 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9674 PyObject
* obj0
= 0 ;
9676 (char *) "self", NULL
9679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberJoysticks",kwnames
,&obj0
)) goto fail
;
9680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9684 result
= (int)(arg1
)->GetNumberJoysticks();
9686 wxPyEndAllowThreads(__tstate
);
9687 if (PyErr_Occurred()) SWIG_fail
;
9689 resultobj
= SWIG_FromInt((int)result
);
9696 static PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9697 PyObject
*resultobj
;
9698 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9700 PyObject
* obj0
= 0 ;
9702 (char *) "self", NULL
9705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetManufacturerId",kwnames
,&obj0
)) goto fail
;
9706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9710 result
= (int)(arg1
)->GetManufacturerId();
9712 wxPyEndAllowThreads(__tstate
);
9713 if (PyErr_Occurred()) SWIG_fail
;
9715 resultobj
= SWIG_FromInt((int)result
);
9722 static PyObject
*_wrap_Joystick_GetProductId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9723 PyObject
*resultobj
;
9724 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9726 PyObject
* obj0
= 0 ;
9728 (char *) "self", NULL
9731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductId",kwnames
,&obj0
)) goto fail
;
9732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9736 result
= (int)(arg1
)->GetProductId();
9738 wxPyEndAllowThreads(__tstate
);
9739 if (PyErr_Occurred()) SWIG_fail
;
9741 resultobj
= SWIG_FromInt((int)result
);
9748 static PyObject
*_wrap_Joystick_GetProductName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9749 PyObject
*resultobj
;
9750 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9752 PyObject
* obj0
= 0 ;
9754 (char *) "self", NULL
9757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductName",kwnames
,&obj0
)) goto fail
;
9758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9762 result
= (arg1
)->GetProductName();
9764 wxPyEndAllowThreads(__tstate
);
9765 if (PyErr_Occurred()) SWIG_fail
;
9769 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9771 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9780 static PyObject
*_wrap_Joystick_GetXMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9781 PyObject
*resultobj
;
9782 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9784 PyObject
* obj0
= 0 ;
9786 (char *) "self", NULL
9789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMin",kwnames
,&obj0
)) goto fail
;
9790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9794 result
= (int)(arg1
)->GetXMin();
9796 wxPyEndAllowThreads(__tstate
);
9797 if (PyErr_Occurred()) SWIG_fail
;
9799 resultobj
= SWIG_FromInt((int)result
);
9806 static PyObject
*_wrap_Joystick_GetYMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9807 PyObject
*resultobj
;
9808 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9810 PyObject
* obj0
= 0 ;
9812 (char *) "self", NULL
9815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMin",kwnames
,&obj0
)) goto fail
;
9816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9820 result
= (int)(arg1
)->GetYMin();
9822 wxPyEndAllowThreads(__tstate
);
9823 if (PyErr_Occurred()) SWIG_fail
;
9825 resultobj
= SWIG_FromInt((int)result
);
9832 static PyObject
*_wrap_Joystick_GetZMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9833 PyObject
*resultobj
;
9834 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9836 PyObject
* obj0
= 0 ;
9838 (char *) "self", NULL
9841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMin",kwnames
,&obj0
)) goto fail
;
9842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9846 result
= (int)(arg1
)->GetZMin();
9848 wxPyEndAllowThreads(__tstate
);
9849 if (PyErr_Occurred()) SWIG_fail
;
9851 resultobj
= SWIG_FromInt((int)result
);
9858 static PyObject
*_wrap_Joystick_GetXMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9859 PyObject
*resultobj
;
9860 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9862 PyObject
* obj0
= 0 ;
9864 (char *) "self", NULL
9867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMax",kwnames
,&obj0
)) goto fail
;
9868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9872 result
= (int)(arg1
)->GetXMax();
9874 wxPyEndAllowThreads(__tstate
);
9875 if (PyErr_Occurred()) SWIG_fail
;
9877 resultobj
= SWIG_FromInt((int)result
);
9884 static PyObject
*_wrap_Joystick_GetYMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9885 PyObject
*resultobj
;
9886 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9888 PyObject
* obj0
= 0 ;
9890 (char *) "self", NULL
9893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMax",kwnames
,&obj0
)) goto fail
;
9894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9898 result
= (int)(arg1
)->GetYMax();
9900 wxPyEndAllowThreads(__tstate
);
9901 if (PyErr_Occurred()) SWIG_fail
;
9903 resultobj
= SWIG_FromInt((int)result
);
9910 static PyObject
*_wrap_Joystick_GetZMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9911 PyObject
*resultobj
;
9912 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9914 PyObject
* obj0
= 0 ;
9916 (char *) "self", NULL
9919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMax",kwnames
,&obj0
)) goto fail
;
9920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9924 result
= (int)(arg1
)->GetZMax();
9926 wxPyEndAllowThreads(__tstate
);
9927 if (PyErr_Occurred()) SWIG_fail
;
9929 resultobj
= SWIG_FromInt((int)result
);
9936 static PyObject
*_wrap_Joystick_GetNumberButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9937 PyObject
*resultobj
;
9938 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9940 PyObject
* obj0
= 0 ;
9942 (char *) "self", NULL
9945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberButtons",kwnames
,&obj0
)) goto fail
;
9946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9950 result
= (int)(arg1
)->GetNumberButtons();
9952 wxPyEndAllowThreads(__tstate
);
9953 if (PyErr_Occurred()) SWIG_fail
;
9955 resultobj
= SWIG_FromInt((int)result
);
9962 static PyObject
*_wrap_Joystick_GetNumberAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9963 PyObject
*resultobj
;
9964 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9966 PyObject
* obj0
= 0 ;
9968 (char *) "self", NULL
9971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberAxes",kwnames
,&obj0
)) goto fail
;
9972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9976 result
= (int)(arg1
)->GetNumberAxes();
9978 wxPyEndAllowThreads(__tstate
);
9979 if (PyErr_Occurred()) SWIG_fail
;
9981 resultobj
= SWIG_FromInt((int)result
);
9988 static PyObject
*_wrap_Joystick_GetMaxButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9989 PyObject
*resultobj
;
9990 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9992 PyObject
* obj0
= 0 ;
9994 (char *) "self", NULL
9997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxButtons",kwnames
,&obj0
)) goto fail
;
9998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10002 result
= (int)(arg1
)->GetMaxButtons();
10004 wxPyEndAllowThreads(__tstate
);
10005 if (PyErr_Occurred()) SWIG_fail
;
10007 resultobj
= SWIG_FromInt((int)result
);
10014 static PyObject
*_wrap_Joystick_GetMaxAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10015 PyObject
*resultobj
;
10016 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10018 PyObject
* obj0
= 0 ;
10019 char *kwnames
[] = {
10020 (char *) "self", NULL
10023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxAxes",kwnames
,&obj0
)) goto fail
;
10024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10028 result
= (int)(arg1
)->GetMaxAxes();
10030 wxPyEndAllowThreads(__tstate
);
10031 if (PyErr_Occurred()) SWIG_fail
;
10033 resultobj
= SWIG_FromInt((int)result
);
10040 static PyObject
*_wrap_Joystick_GetPollingMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10041 PyObject
*resultobj
;
10042 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10044 PyObject
* obj0
= 0 ;
10045 char *kwnames
[] = {
10046 (char *) "self", NULL
10049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMin",kwnames
,&obj0
)) goto fail
;
10050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10054 result
= (int)(arg1
)->GetPollingMin();
10056 wxPyEndAllowThreads(__tstate
);
10057 if (PyErr_Occurred()) SWIG_fail
;
10059 resultobj
= SWIG_FromInt((int)result
);
10066 static PyObject
*_wrap_Joystick_GetPollingMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10067 PyObject
*resultobj
;
10068 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10070 PyObject
* obj0
= 0 ;
10071 char *kwnames
[] = {
10072 (char *) "self", NULL
10075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMax",kwnames
,&obj0
)) goto fail
;
10076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10080 result
= (int)(arg1
)->GetPollingMax();
10082 wxPyEndAllowThreads(__tstate
);
10083 if (PyErr_Occurred()) SWIG_fail
;
10085 resultobj
= SWIG_FromInt((int)result
);
10092 static PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10093 PyObject
*resultobj
;
10094 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10096 PyObject
* obj0
= 0 ;
10097 char *kwnames
[] = {
10098 (char *) "self", NULL
10101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMin",kwnames
,&obj0
)) goto fail
;
10102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10106 result
= (int)(arg1
)->GetRudderMin();
10108 wxPyEndAllowThreads(__tstate
);
10109 if (PyErr_Occurred()) SWIG_fail
;
10111 resultobj
= SWIG_FromInt((int)result
);
10118 static PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10119 PyObject
*resultobj
;
10120 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10122 PyObject
* obj0
= 0 ;
10123 char *kwnames
[] = {
10124 (char *) "self", NULL
10127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMax",kwnames
,&obj0
)) goto fail
;
10128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10132 result
= (int)(arg1
)->GetRudderMax();
10134 wxPyEndAllowThreads(__tstate
);
10135 if (PyErr_Occurred()) SWIG_fail
;
10137 resultobj
= SWIG_FromInt((int)result
);
10144 static PyObject
*_wrap_Joystick_GetUMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10145 PyObject
*resultobj
;
10146 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10148 PyObject
* obj0
= 0 ;
10149 char *kwnames
[] = {
10150 (char *) "self", NULL
10153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMin",kwnames
,&obj0
)) goto fail
;
10154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10158 result
= (int)(arg1
)->GetUMin();
10160 wxPyEndAllowThreads(__tstate
);
10161 if (PyErr_Occurred()) SWIG_fail
;
10163 resultobj
= SWIG_FromInt((int)result
);
10170 static PyObject
*_wrap_Joystick_GetUMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10171 PyObject
*resultobj
;
10172 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10174 PyObject
* obj0
= 0 ;
10175 char *kwnames
[] = {
10176 (char *) "self", NULL
10179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMax",kwnames
,&obj0
)) goto fail
;
10180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10184 result
= (int)(arg1
)->GetUMax();
10186 wxPyEndAllowThreads(__tstate
);
10187 if (PyErr_Occurred()) SWIG_fail
;
10189 resultobj
= SWIG_FromInt((int)result
);
10196 static PyObject
*_wrap_Joystick_GetVMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10197 PyObject
*resultobj
;
10198 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10200 PyObject
* obj0
= 0 ;
10201 char *kwnames
[] = {
10202 (char *) "self", NULL
10205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMin",kwnames
,&obj0
)) goto fail
;
10206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10210 result
= (int)(arg1
)->GetVMin();
10212 wxPyEndAllowThreads(__tstate
);
10213 if (PyErr_Occurred()) SWIG_fail
;
10215 resultobj
= SWIG_FromInt((int)result
);
10222 static PyObject
*_wrap_Joystick_GetVMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10223 PyObject
*resultobj
;
10224 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10226 PyObject
* obj0
= 0 ;
10227 char *kwnames
[] = {
10228 (char *) "self", NULL
10231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMax",kwnames
,&obj0
)) goto fail
;
10232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10236 result
= (int)(arg1
)->GetVMax();
10238 wxPyEndAllowThreads(__tstate
);
10239 if (PyErr_Occurred()) SWIG_fail
;
10241 resultobj
= SWIG_FromInt((int)result
);
10248 static PyObject
*_wrap_Joystick_HasRudder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10249 PyObject
*resultobj
;
10250 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10252 PyObject
* obj0
= 0 ;
10253 char *kwnames
[] = {
10254 (char *) "self", NULL
10257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasRudder",kwnames
,&obj0
)) goto fail
;
10258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10262 result
= (bool)(arg1
)->HasRudder();
10264 wxPyEndAllowThreads(__tstate
);
10265 if (PyErr_Occurred()) SWIG_fail
;
10267 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10274 static PyObject
*_wrap_Joystick_HasZ(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10275 PyObject
*resultobj
;
10276 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10278 PyObject
* obj0
= 0 ;
10279 char *kwnames
[] = {
10280 (char *) "self", NULL
10283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasZ",kwnames
,&obj0
)) goto fail
;
10284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10288 result
= (bool)(arg1
)->HasZ();
10290 wxPyEndAllowThreads(__tstate
);
10291 if (PyErr_Occurred()) SWIG_fail
;
10293 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10300 static PyObject
*_wrap_Joystick_HasU(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10301 PyObject
*resultobj
;
10302 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10304 PyObject
* obj0
= 0 ;
10305 char *kwnames
[] = {
10306 (char *) "self", NULL
10309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasU",kwnames
,&obj0
)) goto fail
;
10310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10314 result
= (bool)(arg1
)->HasU();
10316 wxPyEndAllowThreads(__tstate
);
10317 if (PyErr_Occurred()) SWIG_fail
;
10319 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10326 static PyObject
*_wrap_Joystick_HasV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10327 PyObject
*resultobj
;
10328 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10330 PyObject
* obj0
= 0 ;
10331 char *kwnames
[] = {
10332 (char *) "self", NULL
10335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasV",kwnames
,&obj0
)) goto fail
;
10336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10340 result
= (bool)(arg1
)->HasV();
10342 wxPyEndAllowThreads(__tstate
);
10343 if (PyErr_Occurred()) SWIG_fail
;
10345 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10352 static PyObject
*_wrap_Joystick_HasPOV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10353 PyObject
*resultobj
;
10354 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10356 PyObject
* obj0
= 0 ;
10357 char *kwnames
[] = {
10358 (char *) "self", NULL
10361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV",kwnames
,&obj0
)) goto fail
;
10362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10366 result
= (bool)(arg1
)->HasPOV();
10368 wxPyEndAllowThreads(__tstate
);
10369 if (PyErr_Occurred()) SWIG_fail
;
10371 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10378 static PyObject
*_wrap_Joystick_HasPOV4Dir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10379 PyObject
*resultobj
;
10380 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10382 PyObject
* obj0
= 0 ;
10383 char *kwnames
[] = {
10384 (char *) "self", NULL
10387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV4Dir",kwnames
,&obj0
)) goto fail
;
10388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10392 result
= (bool)(arg1
)->HasPOV4Dir();
10394 wxPyEndAllowThreads(__tstate
);
10395 if (PyErr_Occurred()) SWIG_fail
;
10397 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10404 static PyObject
*_wrap_Joystick_HasPOVCTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10405 PyObject
*resultobj
;
10406 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10408 PyObject
* obj0
= 0 ;
10409 char *kwnames
[] = {
10410 (char *) "self", NULL
10413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOVCTS",kwnames
,&obj0
)) goto fail
;
10414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10418 result
= (bool)(arg1
)->HasPOVCTS();
10420 wxPyEndAllowThreads(__tstate
);
10421 if (PyErr_Occurred()) SWIG_fail
;
10423 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10430 static PyObject
*_wrap_Joystick_SetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10431 PyObject
*resultobj
;
10432 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10433 wxWindow
*arg2
= (wxWindow
*) 0 ;
10434 int arg3
= (int) 0 ;
10436 PyObject
* obj0
= 0 ;
10437 PyObject
* obj1
= 0 ;
10438 PyObject
* obj2
= 0 ;
10439 char *kwnames
[] = {
10440 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
10443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10446 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10449 arg3
= (int) SWIG_AsInt(obj2
);
10450 if (PyErr_Occurred()) SWIG_fail
;
10453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10454 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
10456 wxPyEndAllowThreads(__tstate
);
10457 if (PyErr_Occurred()) SWIG_fail
;
10459 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10466 static PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10467 PyObject
*resultobj
;
10468 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10470 PyObject
* obj0
= 0 ;
10471 char *kwnames
[] = {
10472 (char *) "self", NULL
10475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_ReleaseCapture",kwnames
,&obj0
)) goto fail
;
10476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10480 result
= (bool)(arg1
)->ReleaseCapture();
10482 wxPyEndAllowThreads(__tstate
);
10483 if (PyErr_Occurred()) SWIG_fail
;
10485 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10492 static PyObject
* Joystick_swigregister(PyObject
*self
, PyObject
*args
) {
10494 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10495 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick
, obj
);
10497 return Py_BuildValue((char *)"");
10499 static PyObject
*_wrap_JoystickEvent_m_pos_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10500 PyObject
*resultobj
;
10501 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10502 wxPoint
*arg2
= (wxPoint
*) 0 ;
10503 PyObject
* obj0
= 0 ;
10504 PyObject
* obj1
= 0 ;
10505 char *kwnames
[] = {
10506 (char *) "self",(char *) "m_pos", NULL
10509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10512 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
10513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10514 if (arg1
) (arg1
)->m_pos
= *arg2
;
10516 Py_INCREF(Py_None
); resultobj
= Py_None
;
10523 static PyObject
*_wrap_JoystickEvent_m_pos_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10524 PyObject
*resultobj
;
10525 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10527 PyObject
* obj0
= 0 ;
10528 char *kwnames
[] = {
10529 (char *) "self", NULL
10532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
10533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10535 result
= (wxPoint
*)& ((arg1
)->m_pos
);
10537 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
10544 static PyObject
*_wrap_JoystickEvent_m_zPosition_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10545 PyObject
*resultobj
;
10546 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10548 PyObject
* obj0
= 0 ;
10549 PyObject
* obj1
= 0 ;
10550 char *kwnames
[] = {
10551 (char *) "self",(char *) "m_zPosition", NULL
10554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_zPosition_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10557 arg2
= (int) SWIG_AsInt(obj1
);
10558 if (PyErr_Occurred()) SWIG_fail
;
10559 if (arg1
) (arg1
)->m_zPosition
= arg2
;
10561 Py_INCREF(Py_None
); resultobj
= Py_None
;
10568 static PyObject
*_wrap_JoystickEvent_m_zPosition_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10569 PyObject
*resultobj
;
10570 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10572 PyObject
* obj0
= 0 ;
10573 char *kwnames
[] = {
10574 (char *) "self", NULL
10577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_zPosition_get",kwnames
,&obj0
)) goto fail
;
10578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10580 result
= (int) ((arg1
)->m_zPosition
);
10582 resultobj
= SWIG_FromInt((int)result
);
10589 static PyObject
*_wrap_JoystickEvent_m_buttonChange_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10590 PyObject
*resultobj
;
10591 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10593 PyObject
* obj0
= 0 ;
10594 PyObject
* obj1
= 0 ;
10595 char *kwnames
[] = {
10596 (char *) "self",(char *) "m_buttonChange", NULL
10599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonChange_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10602 arg2
= (int) SWIG_AsInt(obj1
);
10603 if (PyErr_Occurred()) SWIG_fail
;
10604 if (arg1
) (arg1
)->m_buttonChange
= arg2
;
10606 Py_INCREF(Py_None
); resultobj
= Py_None
;
10613 static PyObject
*_wrap_JoystickEvent_m_buttonChange_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10614 PyObject
*resultobj
;
10615 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10617 PyObject
* obj0
= 0 ;
10618 char *kwnames
[] = {
10619 (char *) "self", NULL
10622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonChange_get",kwnames
,&obj0
)) goto fail
;
10623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10625 result
= (int) ((arg1
)->m_buttonChange
);
10627 resultobj
= SWIG_FromInt((int)result
);
10634 static PyObject
*_wrap_JoystickEvent_m_buttonState_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10635 PyObject
*resultobj
;
10636 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10638 PyObject
* obj0
= 0 ;
10639 PyObject
* obj1
= 0 ;
10640 char *kwnames
[] = {
10641 (char *) "self",(char *) "m_buttonState", NULL
10644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonState_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10647 arg2
= (int) SWIG_AsInt(obj1
);
10648 if (PyErr_Occurred()) SWIG_fail
;
10649 if (arg1
) (arg1
)->m_buttonState
= arg2
;
10651 Py_INCREF(Py_None
); resultobj
= Py_None
;
10658 static PyObject
*_wrap_JoystickEvent_m_buttonState_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10659 PyObject
*resultobj
;
10660 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10662 PyObject
* obj0
= 0 ;
10663 char *kwnames
[] = {
10664 (char *) "self", NULL
10667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonState_get",kwnames
,&obj0
)) goto fail
;
10668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10670 result
= (int) ((arg1
)->m_buttonState
);
10672 resultobj
= SWIG_FromInt((int)result
);
10679 static PyObject
*_wrap_JoystickEvent_m_joyStick_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10680 PyObject
*resultobj
;
10681 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10683 PyObject
* obj0
= 0 ;
10684 PyObject
* obj1
= 0 ;
10685 char *kwnames
[] = {
10686 (char *) "self",(char *) "m_joyStick", NULL
10689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_joyStick_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10692 arg2
= (int) SWIG_AsInt(obj1
);
10693 if (PyErr_Occurred()) SWIG_fail
;
10694 if (arg1
) (arg1
)->m_joyStick
= arg2
;
10696 Py_INCREF(Py_None
); resultobj
= Py_None
;
10703 static PyObject
*_wrap_JoystickEvent_m_joyStick_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10704 PyObject
*resultobj
;
10705 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10707 PyObject
* obj0
= 0 ;
10708 char *kwnames
[] = {
10709 (char *) "self", NULL
10712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_joyStick_get",kwnames
,&obj0
)) goto fail
;
10713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10715 result
= (int) ((arg1
)->m_joyStick
);
10717 resultobj
= SWIG_FromInt((int)result
);
10724 static PyObject
*_wrap_new_JoystickEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10725 PyObject
*resultobj
;
10726 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
10727 int arg2
= (int) 0 ;
10728 int arg3
= (int) wxJOYSTICK1
;
10729 int arg4
= (int) 0 ;
10730 wxJoystickEvent
*result
;
10731 PyObject
* obj0
= 0 ;
10732 PyObject
* obj1
= 0 ;
10733 PyObject
* obj2
= 0 ;
10734 PyObject
* obj3
= 0 ;
10735 char *kwnames
[] = {
10736 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
10739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_JoystickEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10741 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
10742 if (PyErr_Occurred()) SWIG_fail
;
10745 arg2
= (int) SWIG_AsInt(obj1
);
10746 if (PyErr_Occurred()) SWIG_fail
;
10749 arg3
= (int) SWIG_AsInt(obj2
);
10750 if (PyErr_Occurred()) SWIG_fail
;
10753 arg4
= (int) SWIG_AsInt(obj3
);
10754 if (PyErr_Occurred()) SWIG_fail
;
10757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10758 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
10760 wxPyEndAllowThreads(__tstate
);
10761 if (PyErr_Occurred()) SWIG_fail
;
10763 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystickEvent
, 1);
10770 static PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10771 PyObject
*resultobj
;
10772 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10774 PyObject
* obj0
= 0 ;
10775 char *kwnames
[] = {
10776 (char *) "self", NULL
10779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
10780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10784 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
10786 wxPyEndAllowThreads(__tstate
);
10787 if (PyErr_Occurred()) SWIG_fail
;
10790 wxPoint
* resultptr
;
10791 resultptr
= new wxPoint((wxPoint
&) result
);
10792 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
10800 static PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10801 PyObject
*resultobj
;
10802 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10804 PyObject
* obj0
= 0 ;
10805 char *kwnames
[] = {
10806 (char *) "self", NULL
10809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetZPosition",kwnames
,&obj0
)) goto fail
;
10810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10814 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
10816 wxPyEndAllowThreads(__tstate
);
10817 if (PyErr_Occurred()) SWIG_fail
;
10819 resultobj
= SWIG_FromInt((int)result
);
10826 static PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10827 PyObject
*resultobj
;
10828 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10830 PyObject
* obj0
= 0 ;
10831 char *kwnames
[] = {
10832 (char *) "self", NULL
10835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonState",kwnames
,&obj0
)) goto fail
;
10836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10840 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
10842 wxPyEndAllowThreads(__tstate
);
10843 if (PyErr_Occurred()) SWIG_fail
;
10845 resultobj
= SWIG_FromInt((int)result
);
10852 static PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10853 PyObject
*resultobj
;
10854 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10856 PyObject
* obj0
= 0 ;
10857 char *kwnames
[] = {
10858 (char *) "self", NULL
10861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonChange",kwnames
,&obj0
)) goto fail
;
10862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10866 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
10868 wxPyEndAllowThreads(__tstate
);
10869 if (PyErr_Occurred()) SWIG_fail
;
10871 resultobj
= SWIG_FromInt((int)result
);
10878 static PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10879 PyObject
*resultobj
;
10880 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10882 PyObject
* obj0
= 0 ;
10883 char *kwnames
[] = {
10884 (char *) "self", NULL
10887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetJoystick",kwnames
,&obj0
)) goto fail
;
10888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10892 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
10894 wxPyEndAllowThreads(__tstate
);
10895 if (PyErr_Occurred()) SWIG_fail
;
10897 resultobj
= SWIG_FromInt((int)result
);
10904 static PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10905 PyObject
*resultobj
;
10906 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10908 PyObject
* obj0
= 0 ;
10909 PyObject
* obj1
= 0 ;
10910 char *kwnames
[] = {
10911 (char *) "self",(char *) "stick", NULL
10914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetJoystick",kwnames
,&obj0
,&obj1
)) goto fail
;
10915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10917 arg2
= (int) SWIG_AsInt(obj1
);
10918 if (PyErr_Occurred()) SWIG_fail
;
10920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10921 (arg1
)->SetJoystick(arg2
);
10923 wxPyEndAllowThreads(__tstate
);
10924 if (PyErr_Occurred()) SWIG_fail
;
10926 Py_INCREF(Py_None
); resultobj
= Py_None
;
10933 static PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10934 PyObject
*resultobj
;
10935 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10937 PyObject
* obj0
= 0 ;
10938 PyObject
* obj1
= 0 ;
10939 char *kwnames
[] = {
10940 (char *) "self",(char *) "state", NULL
10943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonState",kwnames
,&obj0
,&obj1
)) goto fail
;
10944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10946 arg2
= (int) SWIG_AsInt(obj1
);
10947 if (PyErr_Occurred()) SWIG_fail
;
10949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10950 (arg1
)->SetButtonState(arg2
);
10952 wxPyEndAllowThreads(__tstate
);
10953 if (PyErr_Occurred()) SWIG_fail
;
10955 Py_INCREF(Py_None
); resultobj
= Py_None
;
10962 static PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10963 PyObject
*resultobj
;
10964 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10966 PyObject
* obj0
= 0 ;
10967 PyObject
* obj1
= 0 ;
10968 char *kwnames
[] = {
10969 (char *) "self",(char *) "change", NULL
10972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&obj1
)) goto fail
;
10973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10975 arg2
= (int) SWIG_AsInt(obj1
);
10976 if (PyErr_Occurred()) SWIG_fail
;
10978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10979 (arg1
)->SetButtonChange(arg2
);
10981 wxPyEndAllowThreads(__tstate
);
10982 if (PyErr_Occurred()) SWIG_fail
;
10984 Py_INCREF(Py_None
); resultobj
= Py_None
;
10991 static PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10992 PyObject
*resultobj
;
10993 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10994 wxPoint
*arg2
= 0 ;
10996 PyObject
* obj0
= 0 ;
10997 PyObject
* obj1
= 0 ;
10998 char *kwnames
[] = {
10999 (char *) "self",(char *) "pos", NULL
11002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11007 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11011 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
11013 wxPyEndAllowThreads(__tstate
);
11014 if (PyErr_Occurred()) SWIG_fail
;
11016 Py_INCREF(Py_None
); resultobj
= Py_None
;
11023 static PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11024 PyObject
*resultobj
;
11025 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11027 PyObject
* obj0
= 0 ;
11028 PyObject
* obj1
= 0 ;
11029 char *kwnames
[] = {
11030 (char *) "self",(char *) "zPos", NULL
11033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetZPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11036 arg2
= (int) SWIG_AsInt(obj1
);
11037 if (PyErr_Occurred()) SWIG_fail
;
11039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11040 (arg1
)->SetZPosition(arg2
);
11042 wxPyEndAllowThreads(__tstate
);
11043 if (PyErr_Occurred()) SWIG_fail
;
11045 Py_INCREF(Py_None
); resultobj
= Py_None
;
11052 static PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11053 PyObject
*resultobj
;
11054 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11056 PyObject
* obj0
= 0 ;
11057 char *kwnames
[] = {
11058 (char *) "self", NULL
11061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsButton",kwnames
,&obj0
)) goto fail
;
11062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11066 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
11068 wxPyEndAllowThreads(__tstate
);
11069 if (PyErr_Occurred()) SWIG_fail
;
11071 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11078 static PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11079 PyObject
*resultobj
;
11080 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11082 PyObject
* obj0
= 0 ;
11083 char *kwnames
[] = {
11084 (char *) "self", NULL
11087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsMove",kwnames
,&obj0
)) goto fail
;
11088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11092 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
11094 wxPyEndAllowThreads(__tstate
);
11095 if (PyErr_Occurred()) SWIG_fail
;
11097 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11104 static PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11105 PyObject
*resultobj
;
11106 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11108 PyObject
* obj0
= 0 ;
11109 char *kwnames
[] = {
11110 (char *) "self", NULL
11113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsZMove",kwnames
,&obj0
)) goto fail
;
11114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11118 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
11120 wxPyEndAllowThreads(__tstate
);
11121 if (PyErr_Occurred()) SWIG_fail
;
11123 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11130 static PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11131 PyObject
*resultobj
;
11132 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11133 int arg2
= (int) wxJOY_BUTTON_ANY
;
11135 PyObject
* obj0
= 0 ;
11136 PyObject
* obj1
= 0 ;
11137 char *kwnames
[] = {
11138 (char *) "self",(char *) "but", NULL
11141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
11142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11145 arg2
= (int) SWIG_AsInt(obj1
);
11146 if (PyErr_Occurred()) SWIG_fail
;
11149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11150 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
11152 wxPyEndAllowThreads(__tstate
);
11153 if (PyErr_Occurred()) SWIG_fail
;
11155 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11162 static PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11163 PyObject
*resultobj
;
11164 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11165 int arg2
= (int) wxJOY_BUTTON_ANY
;
11167 PyObject
* obj0
= 0 ;
11168 PyObject
* obj1
= 0 ;
11169 char *kwnames
[] = {
11170 (char *) "self",(char *) "but", NULL
11173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
11174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11177 arg2
= (int) SWIG_AsInt(obj1
);
11178 if (PyErr_Occurred()) SWIG_fail
;
11181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11182 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
11184 wxPyEndAllowThreads(__tstate
);
11185 if (PyErr_Occurred()) SWIG_fail
;
11187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11194 static PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11195 PyObject
*resultobj
;
11196 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11197 int arg2
= (int) wxJOY_BUTTON_ANY
;
11199 PyObject
* obj0
= 0 ;
11200 PyObject
* obj1
= 0 ;
11201 char *kwnames
[] = {
11202 (char *) "self",(char *) "but", NULL
11205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
11206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11209 arg2
= (int) SWIG_AsInt(obj1
);
11210 if (PyErr_Occurred()) SWIG_fail
;
11213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11214 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
11216 wxPyEndAllowThreads(__tstate
);
11217 if (PyErr_Occurred()) SWIG_fail
;
11219 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11226 static PyObject
* JoystickEvent_swigregister(PyObject
*self
, PyObject
*args
) {
11228 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11229 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent
, obj
);
11231 return Py_BuildValue((char *)"");
11233 static PyObject
*_wrap_new_Sound__SWIG_0(PyObject
*self
, PyObject
*args
) {
11234 PyObject
*resultobj
;
11237 if(!PyArg_ParseTuple(args
,(char *)":new_Sound")) goto fail
;
11239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11240 result
= (wxSound
*)new wxSound();
11242 wxPyEndAllowThreads(__tstate
);
11243 if (PyErr_Occurred()) SWIG_fail
;
11245 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
11252 static PyObject
*_wrap_new_Sound__SWIG_1(PyObject
*self
, PyObject
*args
) {
11253 PyObject
*resultobj
;
11254 wxString
*arg1
= 0 ;
11255 bool arg2
= (bool) false ;
11257 bool temp1
= False
;
11258 PyObject
* obj0
= 0 ;
11259 PyObject
* obj1
= 0 ;
11261 if(!PyArg_ParseTuple(args
,(char *)"O|O:new_Sound",&obj0
,&obj1
)) goto fail
;
11263 arg1
= wxString_in_helper(obj0
);
11264 if (arg1
== NULL
) SWIG_fail
;
11268 arg2
= (bool) SWIG_AsBool(obj1
);
11269 if (PyErr_Occurred()) SWIG_fail
;
11272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11273 result
= (wxSound
*)new wxSound((wxString
const &)*arg1
,arg2
);
11275 wxPyEndAllowThreads(__tstate
);
11276 if (PyErr_Occurred()) SWIG_fail
;
11278 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
11293 static PyObject
*_wrap_new_Sound__SWIG_2(PyObject
*self
, PyObject
*args
) {
11294 PyObject
*resultobj
;
11296 wxByte
*arg2
= (wxByte
*) 0 ;
11298 PyObject
* obj0
= 0 ;
11299 PyObject
* obj1
= 0 ;
11301 if(!PyArg_ParseTuple(args
,(char *)"OO:new_Sound",&obj0
,&obj1
)) goto fail
;
11302 arg1
= (int) SWIG_AsInt(obj0
);
11303 if (PyErr_Occurred()) SWIG_fail
;
11304 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxByte
,
11305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11308 result
= (wxSound
*)new wxSound(arg1
,(wxByte
const *)arg2
);
11310 wxPyEndAllowThreads(__tstate
);
11311 if (PyErr_Occurred()) SWIG_fail
;
11313 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
11320 static PyObject
*_wrap_new_Sound(PyObject
*self
, PyObject
*args
) {
11325 argc
= PyObject_Length(args
);
11326 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
11327 argv
[ii
] = PyTuple_GetItem(args
,ii
);
11330 return _wrap_new_Sound__SWIG_0(self
,args
);
11332 if ((argc
>= 1) && (argc
<= 2)) {
11335 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
11339 return _wrap_new_Sound__SWIG_1(self
,args
);
11341 _v
= SWIG_CheckBool(argv
[1]);
11343 return _wrap_new_Sound__SWIG_1(self
,args
);
11349 _v
= SWIG_CheckInt(argv
[0]);
11353 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxByte
, 0) == -1) {
11361 return _wrap_new_Sound__SWIG_2(self
,args
);
11366 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_Sound'");
11371 static PyObject
*_wrap_delete_Sound(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11372 PyObject
*resultobj
;
11373 wxSound
*arg1
= (wxSound
*) 0 ;
11374 PyObject
* obj0
= 0 ;
11375 char *kwnames
[] = {
11376 (char *) "self", NULL
11379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Sound",kwnames
,&obj0
)) goto fail
;
11380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11386 wxPyEndAllowThreads(__tstate
);
11387 if (PyErr_Occurred()) SWIG_fail
;
11389 Py_INCREF(Py_None
); resultobj
= Py_None
;
11396 static PyObject
*_wrap_Sound_Create__SWIG_0(PyObject
*self
, PyObject
*args
) {
11397 PyObject
*resultobj
;
11398 wxSound
*arg1
= (wxSound
*) 0 ;
11399 wxString
*arg2
= 0 ;
11400 bool arg3
= (bool) false ;
11402 bool temp2
= False
;
11403 PyObject
* obj0
= 0 ;
11404 PyObject
* obj1
= 0 ;
11405 PyObject
* obj2
= 0 ;
11407 if(!PyArg_ParseTuple(args
,(char *)"OO|O:Sound_Create",&obj0
,&obj1
,&obj2
)) goto fail
;
11408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11411 arg2
= wxString_in_helper(obj1
);
11412 if (arg2
== NULL
) SWIG_fail
;
11416 arg3
= (bool) SWIG_AsBool(obj2
);
11417 if (PyErr_Occurred()) SWIG_fail
;
11420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11421 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,arg3
);
11423 wxPyEndAllowThreads(__tstate
);
11424 if (PyErr_Occurred()) SWIG_fail
;
11426 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11441 static PyObject
*_wrap_Sound_Create__SWIG_1(PyObject
*self
, PyObject
*args
) {
11442 PyObject
*resultobj
;
11443 wxSound
*arg1
= (wxSound
*) 0 ;
11445 wxByte
*arg3
= (wxByte
*) 0 ;
11447 PyObject
* obj0
= 0 ;
11448 PyObject
* obj1
= 0 ;
11449 PyObject
* obj2
= 0 ;
11451 if(!PyArg_ParseTuple(args
,(char *)"OOO:Sound_Create",&obj0
,&obj1
,&obj2
)) goto fail
;
11452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11454 arg2
= (int) SWIG_AsInt(obj1
);
11455 if (PyErr_Occurred()) SWIG_fail
;
11456 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxByte
,
11457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11460 result
= (bool)(arg1
)->Create(arg2
,(wxByte
const *)arg3
);
11462 wxPyEndAllowThreads(__tstate
);
11463 if (PyErr_Occurred()) SWIG_fail
;
11465 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11472 static PyObject
*_wrap_Sound_Create(PyObject
*self
, PyObject
*args
) {
11477 argc
= PyObject_Length(args
);
11478 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
11479 argv
[ii
] = PyTuple_GetItem(args
,ii
);
11481 if ((argc
>= 2) && (argc
<= 3)) {
11485 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxSound
, 0) == -1) {
11494 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
11498 return _wrap_Sound_Create__SWIG_0(self
,args
);
11500 _v
= SWIG_CheckBool(argv
[2]);
11502 return _wrap_Sound_Create__SWIG_0(self
,args
);
11511 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxSound
, 0) == -1) {
11519 _v
= SWIG_CheckInt(argv
[1]);
11523 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxByte
, 0) == -1) {
11531 return _wrap_Sound_Create__SWIG_1(self
,args
);
11537 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Sound_Create'");
11542 static PyObject
*_wrap_Sound_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11543 PyObject
*resultobj
;
11544 wxSound
*arg1
= (wxSound
*) 0 ;
11546 PyObject
* obj0
= 0 ;
11547 char *kwnames
[] = {
11548 (char *) "self", NULL
11551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sound_IsOk",kwnames
,&obj0
)) goto fail
;
11552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11556 result
= (bool)(arg1
)->IsOk();
11558 wxPyEndAllowThreads(__tstate
);
11559 if (PyErr_Occurred()) SWIG_fail
;
11561 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11568 static PyObject
*_wrap_Sound_Play(PyObject
*self
, PyObject
*args
) {
11569 PyObject
*resultobj
;
11570 wxSound
*arg1
= (wxSound
*) 0 ;
11571 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
11573 PyObject
* obj0
= 0 ;
11574 PyObject
* obj1
= 0 ;
11576 if(!PyArg_ParseTuple(args
,(char *)"O|O:Sound_Play",&obj0
,&obj1
)) goto fail
;
11577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11580 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
11581 if (PyErr_Occurred()) SWIG_fail
;
11584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11585 result
= (bool)((wxSound
const *)arg1
)->Play(arg2
);
11587 wxPyEndAllowThreads(__tstate
);
11588 if (PyErr_Occurred()) SWIG_fail
;
11590 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11597 static PyObject
*_wrap_Sound_PlaySound(PyObject
*self
, PyObject
*args
) {
11598 PyObject
*resultobj
;
11599 wxString
*arg1
= 0 ;
11600 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
11602 bool temp1
= False
;
11603 PyObject
* obj0
= 0 ;
11604 PyObject
* obj1
= 0 ;
11606 if(!PyArg_ParseTuple(args
,(char *)"O|O:Sound_PlaySound",&obj0
,&obj1
)) goto fail
;
11608 arg1
= wxString_in_helper(obj0
);
11609 if (arg1
== NULL
) SWIG_fail
;
11613 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
11614 if (PyErr_Occurred()) SWIG_fail
;
11617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11618 result
= (bool)wxSound::Play((wxString
const &)*arg1
,arg2
);
11620 wxPyEndAllowThreads(__tstate
);
11621 if (PyErr_Occurred()) SWIG_fail
;
11623 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11638 static PyObject
*_wrap_Sound_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11639 PyObject
*resultobj
;
11640 char *kwnames
[] = {
11644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Sound_Stop",kwnames
)) goto fail
;
11646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11649 wxPyEndAllowThreads(__tstate
);
11650 if (PyErr_Occurred()) SWIG_fail
;
11652 Py_INCREF(Py_None
); resultobj
= Py_None
;
11659 static PyObject
* Sound_swigregister(PyObject
*self
, PyObject
*args
) {
11661 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11662 SWIG_TypeClientData(SWIGTYPE_p_wxSound
, obj
);
11664 return Py_BuildValue((char *)"");
11666 static PyObject
*_wrap_new_FileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11667 PyObject
*resultobj
;
11668 wxString
*arg1
= 0 ;
11669 wxString
*arg2
= 0 ;
11670 wxString
*arg3
= 0 ;
11671 wxString
*arg4
= 0 ;
11672 wxFileTypeInfo
*result
;
11673 bool temp1
= False
;
11674 bool temp2
= False
;
11675 bool temp3
= False
;
11676 bool temp4
= False
;
11677 PyObject
* obj0
= 0 ;
11678 PyObject
* obj1
= 0 ;
11679 PyObject
* obj2
= 0 ;
11680 PyObject
* obj3
= 0 ;
11681 char *kwnames
[] = {
11682 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
11685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11687 arg1
= wxString_in_helper(obj0
);
11688 if (arg1
== NULL
) SWIG_fail
;
11692 arg2
= wxString_in_helper(obj1
);
11693 if (arg2
== NULL
) SWIG_fail
;
11697 arg3
= wxString_in_helper(obj2
);
11698 if (arg3
== NULL
) SWIG_fail
;
11702 arg4
= wxString_in_helper(obj3
);
11703 if (arg4
== NULL
) SWIG_fail
;
11707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11708 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
11710 wxPyEndAllowThreads(__tstate
);
11711 if (PyErr_Occurred()) SWIG_fail
;
11713 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
11752 static PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11753 PyObject
*resultobj
;
11754 wxArrayString
*arg1
= 0 ;
11755 wxFileTypeInfo
*result
;
11756 bool temp1
= False
;
11757 PyObject
* obj0
= 0 ;
11758 char *kwnames
[] = {
11759 (char *) "sArray", NULL
11762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) goto fail
;
11764 if (! PySequence_Check(obj0
)) {
11765 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11768 arg1
= new wxArrayString
;
11770 int i
, len
=PySequence_Length(obj0
);
11771 for (i
=0; i
<len
; i
++) {
11772 PyObject
* item
= PySequence_GetItem(obj0
, i
);
11774 PyObject
* str
= PyObject_Unicode(item
);
11776 PyObject
* str
= PyObject_Str(item
);
11778 arg1
->Add(Py2wxString(str
));
11784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11785 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
11787 wxPyEndAllowThreads(__tstate
);
11788 if (PyErr_Occurred()) SWIG_fail
;
11790 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
11792 if (temp1
) delete arg1
;
11797 if (temp1
) delete arg1
;
11803 static PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11804 PyObject
*resultobj
;
11805 wxFileTypeInfo
*result
;
11806 char *kwnames
[] = {
11810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NullFileTypeInfo",kwnames
)) goto fail
;
11812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11813 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
11815 wxPyEndAllowThreads(__tstate
);
11816 if (PyErr_Occurred()) SWIG_fail
;
11818 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
11825 static PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11826 PyObject
*resultobj
;
11827 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11829 PyObject
* obj0
= 0 ;
11830 char *kwnames
[] = {
11831 (char *) "self", NULL
11834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_IsValid",kwnames
,&obj0
)) goto fail
;
11835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
11836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11839 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
11841 wxPyEndAllowThreads(__tstate
);
11842 if (PyErr_Occurred()) SWIG_fail
;
11844 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11851 static PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11852 PyObject
*resultobj
;
11853 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11854 wxString
*arg2
= 0 ;
11855 int arg3
= (int) 0 ;
11856 bool temp2
= False
;
11857 PyObject
* obj0
= 0 ;
11858 PyObject
* obj1
= 0 ;
11859 PyObject
* obj2
= 0 ;
11860 char *kwnames
[] = {
11861 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
11864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
11866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11868 arg2
= wxString_in_helper(obj1
);
11869 if (arg2
== NULL
) SWIG_fail
;
11873 arg3
= (int) SWIG_AsInt(obj2
);
11874 if (PyErr_Occurred()) SWIG_fail
;
11877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11878 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
11880 wxPyEndAllowThreads(__tstate
);
11881 if (PyErr_Occurred()) SWIG_fail
;
11883 Py_INCREF(Py_None
); resultobj
= Py_None
;
11898 static PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11899 PyObject
*resultobj
;
11900 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11901 wxString
*arg2
= 0 ;
11902 bool temp2
= False
;
11903 PyObject
* obj0
= 0 ;
11904 PyObject
* obj1
= 0 ;
11905 char *kwnames
[] = {
11906 (char *) "self",(char *) "shortDesc", NULL
11909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
11910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
11911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11913 arg2
= wxString_in_helper(obj1
);
11914 if (arg2
== NULL
) SWIG_fail
;
11918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11919 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
11921 wxPyEndAllowThreads(__tstate
);
11922 if (PyErr_Occurred()) SWIG_fail
;
11924 Py_INCREF(Py_None
); resultobj
= Py_None
;
11939 static PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11940 PyObject
*resultobj
;
11941 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11943 PyObject
* obj0
= 0 ;
11944 char *kwnames
[] = {
11945 (char *) "self", NULL
11948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetMimeType",kwnames
,&obj0
)) goto fail
;
11949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
11950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11954 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
11955 result
= (wxString
*) &_result_ref
;
11958 wxPyEndAllowThreads(__tstate
);
11959 if (PyErr_Occurred()) SWIG_fail
;
11963 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
11965 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
11974 static PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11975 PyObject
*resultobj
;
11976 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11978 PyObject
* obj0
= 0 ;
11979 char *kwnames
[] = {
11980 (char *) "self", NULL
11983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames
,&obj0
)) goto fail
;
11984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
11985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11989 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
11990 result
= (wxString
*) &_result_ref
;
11993 wxPyEndAllowThreads(__tstate
);
11994 if (PyErr_Occurred()) SWIG_fail
;
11998 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12000 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12009 static PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12010 PyObject
*resultobj
;
12011 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12013 PyObject
* obj0
= 0 ;
12014 char *kwnames
[] = {
12015 (char *) "self", NULL
12018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames
,&obj0
)) goto fail
;
12019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12024 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
12025 result
= (wxString
*) &_result_ref
;
12028 wxPyEndAllowThreads(__tstate
);
12029 if (PyErr_Occurred()) SWIG_fail
;
12033 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12035 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12044 static PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12045 PyObject
*resultobj
;
12046 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12048 PyObject
* obj0
= 0 ;
12049 char *kwnames
[] = {
12050 (char *) "self", NULL
12053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetShortDesc",kwnames
,&obj0
)) goto fail
;
12054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12059 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
12060 result
= (wxString
*) &_result_ref
;
12063 wxPyEndAllowThreads(__tstate
);
12064 if (PyErr_Occurred()) SWIG_fail
;
12068 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12070 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12079 static PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12080 PyObject
*resultobj
;
12081 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12083 PyObject
* obj0
= 0 ;
12084 char *kwnames
[] = {
12085 (char *) "self", NULL
12088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetDescription",kwnames
,&obj0
)) goto fail
;
12089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12094 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
12095 result
= (wxString
*) &_result_ref
;
12098 wxPyEndAllowThreads(__tstate
);
12099 if (PyErr_Occurred()) SWIG_fail
;
12103 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12105 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12114 static PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12115 PyObject
*resultobj
;
12116 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12117 wxArrayString
*result
;
12118 PyObject
* obj0
= 0 ;
12119 char *kwnames
[] = {
12120 (char *) "self", NULL
12123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensions",kwnames
,&obj0
)) goto fail
;
12124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12129 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
12130 result
= (wxArrayString
*) &_result_ref
;
12133 wxPyEndAllowThreads(__tstate
);
12134 if (PyErr_Occurred()) SWIG_fail
;
12137 resultobj
= wxArrayString2PyList_helper(*result
);
12145 static PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12146 PyObject
*resultobj
;
12147 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12149 PyObject
* obj0
= 0 ;
12150 char *kwnames
[] = {
12151 (char *) "self", NULL
12154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames
,&obj0
)) goto fail
;
12155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12159 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
12161 wxPyEndAllowThreads(__tstate
);
12162 if (PyErr_Occurred()) SWIG_fail
;
12164 resultobj
= SWIG_FromInt((int)result
);
12171 static PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12172 PyObject
*resultobj
;
12173 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12175 PyObject
* obj0
= 0 ;
12176 char *kwnames
[] = {
12177 (char *) "self", NULL
12180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconFile",kwnames
,&obj0
)) goto fail
;
12181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12186 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
12187 result
= (wxString
*) &_result_ref
;
12190 wxPyEndAllowThreads(__tstate
);
12191 if (PyErr_Occurred()) SWIG_fail
;
12195 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12197 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12206 static PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12207 PyObject
*resultobj
;
12208 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12210 PyObject
* obj0
= 0 ;
12211 char *kwnames
[] = {
12212 (char *) "self", NULL
12215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconIndex",kwnames
,&obj0
)) goto fail
;
12216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12220 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
12222 wxPyEndAllowThreads(__tstate
);
12223 if (PyErr_Occurred()) SWIG_fail
;
12225 resultobj
= SWIG_FromInt((int)result
);
12232 static PyObject
* FileTypeInfo_swigregister(PyObject
*self
, PyObject
*args
) {
12234 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12235 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo
, obj
);
12237 return Py_BuildValue((char *)"");
12239 static PyObject
*_wrap_new_FileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12240 PyObject
*resultobj
;
12241 wxFileTypeInfo
*arg1
= 0 ;
12242 wxFileType
*result
;
12243 PyObject
* obj0
= 0 ;
12244 char *kwnames
[] = {
12245 (char *) "ftInfo", NULL
12248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) goto fail
;
12249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12250 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12252 if (arg1
== NULL
) {
12253 PyErr_SetString(PyExc_TypeError
,"null reference");
12257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12258 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
12260 wxPyEndAllowThreads(__tstate
);
12261 if (PyErr_Occurred()) SWIG_fail
;
12263 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
12270 static PyObject
*_wrap_delete_FileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12271 PyObject
*resultobj
;
12272 wxFileType
*arg1
= (wxFileType
*) 0 ;
12273 PyObject
* obj0
= 0 ;
12274 char *kwnames
[] = {
12275 (char *) "self", NULL
12278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileType",kwnames
,&obj0
)) goto fail
;
12279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12285 wxPyEndAllowThreads(__tstate
);
12286 if (PyErr_Occurred()) SWIG_fail
;
12288 Py_INCREF(Py_None
); resultobj
= Py_None
;
12295 static PyObject
*_wrap_FileType_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12296 PyObject
*resultobj
;
12297 wxFileType
*arg1
= (wxFileType
*) 0 ;
12299 PyObject
* obj0
= 0 ;
12300 char *kwnames
[] = {
12301 (char *) "self", NULL
12304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeType",kwnames
,&obj0
)) goto fail
;
12305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12309 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
12311 wxPyEndAllowThreads(__tstate
);
12312 if (PyErr_Occurred()) SWIG_fail
;
12314 resultobj
= result
;
12321 static PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12322 PyObject
*resultobj
;
12323 wxFileType
*arg1
= (wxFileType
*) 0 ;
12325 PyObject
* obj0
= 0 ;
12326 char *kwnames
[] = {
12327 (char *) "self", NULL
12330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeTypes",kwnames
,&obj0
)) goto fail
;
12331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12335 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
12337 wxPyEndAllowThreads(__tstate
);
12338 if (PyErr_Occurred()) SWIG_fail
;
12340 resultobj
= result
;
12347 static PyObject
*_wrap_FileType_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12348 PyObject
*resultobj
;
12349 wxFileType
*arg1
= (wxFileType
*) 0 ;
12351 PyObject
* obj0
= 0 ;
12352 char *kwnames
[] = {
12353 (char *) "self", NULL
12356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetExtensions",kwnames
,&obj0
)) goto fail
;
12357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12361 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
12363 wxPyEndAllowThreads(__tstate
);
12364 if (PyErr_Occurred()) SWIG_fail
;
12366 resultobj
= result
;
12373 static PyObject
*_wrap_FileType_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12374 PyObject
*resultobj
;
12375 wxFileType
*arg1
= (wxFileType
*) 0 ;
12377 PyObject
* obj0
= 0 ;
12378 char *kwnames
[] = {
12379 (char *) "self", NULL
12382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIcon",kwnames
,&obj0
)) goto fail
;
12383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12387 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
12389 wxPyEndAllowThreads(__tstate
);
12390 if (PyErr_Occurred()) SWIG_fail
;
12392 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
12399 static PyObject
*_wrap_FileType_GetIconInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12400 PyObject
*resultobj
;
12401 wxFileType
*arg1
= (wxFileType
*) 0 ;
12403 PyObject
* obj0
= 0 ;
12404 char *kwnames
[] = {
12405 (char *) "self", NULL
12408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIconInfo",kwnames
,&obj0
)) goto fail
;
12409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12413 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
12415 wxPyEndAllowThreads(__tstate
);
12416 if (PyErr_Occurred()) SWIG_fail
;
12418 resultobj
= result
;
12425 static PyObject
*_wrap_FileType_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12426 PyObject
*resultobj
;
12427 wxFileType
*arg1
= (wxFileType
*) 0 ;
12429 PyObject
* obj0
= 0 ;
12430 char *kwnames
[] = {
12431 (char *) "self", NULL
12434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetDescription",kwnames
,&obj0
)) goto fail
;
12435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12439 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
12441 wxPyEndAllowThreads(__tstate
);
12442 if (PyErr_Occurred()) SWIG_fail
;
12444 resultobj
= result
;
12451 static PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12452 PyObject
*resultobj
;
12453 wxFileType
*arg1
= (wxFileType
*) 0 ;
12454 wxString
*arg2
= 0 ;
12455 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12456 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12458 bool temp2
= False
;
12459 bool temp3
= False
;
12460 PyObject
* obj0
= 0 ;
12461 PyObject
* obj1
= 0 ;
12462 PyObject
* obj2
= 0 ;
12463 char *kwnames
[] = {
12464 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12471 arg2
= wxString_in_helper(obj1
);
12472 if (arg2
== NULL
) SWIG_fail
;
12477 arg3
= wxString_in_helper(obj2
);
12478 if (arg3
== NULL
) SWIG_fail
;
12483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12484 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12486 wxPyEndAllowThreads(__tstate
);
12487 if (PyErr_Occurred()) SWIG_fail
;
12489 resultobj
= result
;
12512 static PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12513 PyObject
*resultobj
;
12514 wxFileType
*arg1
= (wxFileType
*) 0 ;
12515 wxString
*arg2
= 0 ;
12516 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12517 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12519 bool temp2
= False
;
12520 bool temp3
= False
;
12521 PyObject
* obj0
= 0 ;
12522 PyObject
* obj1
= 0 ;
12523 PyObject
* obj2
= 0 ;
12524 char *kwnames
[] = {
12525 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12532 arg2
= wxString_in_helper(obj1
);
12533 if (arg2
== NULL
) SWIG_fail
;
12538 arg3
= wxString_in_helper(obj2
);
12539 if (arg3
== NULL
) SWIG_fail
;
12544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12545 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12547 wxPyEndAllowThreads(__tstate
);
12548 if (PyErr_Occurred()) SWIG_fail
;
12550 resultobj
= result
;
12573 static PyObject
*_wrap_FileType_GetAllCommands(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12574 PyObject
*resultobj
;
12575 wxFileType
*arg1
= (wxFileType
*) 0 ;
12576 wxString
*arg2
= 0 ;
12577 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12578 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12580 bool temp2
= False
;
12581 bool temp3
= False
;
12582 PyObject
* obj0
= 0 ;
12583 PyObject
* obj1
= 0 ;
12584 PyObject
* obj2
= 0 ;
12585 char *kwnames
[] = {
12586 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12593 arg2
= wxString_in_helper(obj1
);
12594 if (arg2
== NULL
) SWIG_fail
;
12599 arg3
= wxString_in_helper(obj2
);
12600 if (arg3
== NULL
) SWIG_fail
;
12605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12606 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12608 wxPyEndAllowThreads(__tstate
);
12609 if (PyErr_Occurred()) SWIG_fail
;
12611 resultobj
= result
;
12634 static PyObject
*_wrap_FileType_SetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12635 PyObject
*resultobj
;
12636 wxFileType
*arg1
= (wxFileType
*) 0 ;
12637 wxString
*arg2
= 0 ;
12638 wxString
*arg3
= 0 ;
12639 bool arg4
= (bool) True
;
12641 bool temp2
= False
;
12642 bool temp3
= False
;
12643 PyObject
* obj0
= 0 ;
12644 PyObject
* obj1
= 0 ;
12645 PyObject
* obj2
= 0 ;
12646 PyObject
* obj3
= 0 ;
12647 char *kwnames
[] = {
12648 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
12651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) 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
;
12660 arg3
= wxString_in_helper(obj2
);
12661 if (arg3
== NULL
) SWIG_fail
;
12665 arg4
= (bool) SWIG_AsBool(obj3
);
12666 if (PyErr_Occurred()) SWIG_fail
;
12669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12670 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
12672 wxPyEndAllowThreads(__tstate
);
12673 if (PyErr_Occurred()) SWIG_fail
;
12675 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12698 static PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12699 PyObject
*resultobj
;
12700 wxFileType
*arg1
= (wxFileType
*) 0 ;
12701 wxString
const &arg2_defvalue
= wxPyEmptyString
;
12702 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12703 int arg3
= (int) 0 ;
12705 bool temp2
= False
;
12706 PyObject
* obj0
= 0 ;
12707 PyObject
* obj1
= 0 ;
12708 PyObject
* obj2
= 0 ;
12709 char *kwnames
[] = {
12710 (char *) "self",(char *) "cmd",(char *) "index", NULL
12713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12718 arg2
= wxString_in_helper(obj1
);
12719 if (arg2
== NULL
) SWIG_fail
;
12724 arg3
= (int) SWIG_AsInt(obj2
);
12725 if (PyErr_Occurred()) SWIG_fail
;
12728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12729 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
12731 wxPyEndAllowThreads(__tstate
);
12732 if (PyErr_Occurred()) SWIG_fail
;
12734 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12749 static PyObject
*_wrap_FileType_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12750 PyObject
*resultobj
;
12751 wxFileType
*arg1
= (wxFileType
*) 0 ;
12753 PyObject
* obj0
= 0 ;
12754 char *kwnames
[] = {
12755 (char *) "self", NULL
12758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_Unassociate",kwnames
,&obj0
)) goto fail
;
12759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12763 result
= (bool)(arg1
)->Unassociate();
12765 wxPyEndAllowThreads(__tstate
);
12766 if (PyErr_Occurred()) SWIG_fail
;
12768 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12775 static PyObject
*_wrap_FileType_ExpandCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12776 PyObject
*resultobj
;
12777 wxString
*arg1
= 0 ;
12778 wxString
*arg2
= 0 ;
12779 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12780 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12782 bool temp1
= False
;
12783 bool temp2
= False
;
12784 bool temp3
= False
;
12785 PyObject
* obj0
= 0 ;
12786 PyObject
* obj1
= 0 ;
12787 PyObject
* obj2
= 0 ;
12788 char *kwnames
[] = {
12789 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
12792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12794 arg1
= wxString_in_helper(obj0
);
12795 if (arg1
== NULL
) SWIG_fail
;
12799 arg2
= wxString_in_helper(obj1
);
12800 if (arg2
== NULL
) SWIG_fail
;
12805 arg3
= wxString_in_helper(obj2
);
12806 if (arg3
== NULL
) SWIG_fail
;
12811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12812 result
= FileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12814 wxPyEndAllowThreads(__tstate
);
12815 if (PyErr_Occurred()) SWIG_fail
;
12819 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12821 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12854 static PyObject
* FileType_swigregister(PyObject
*self
, PyObject
*args
) {
12856 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12857 SWIG_TypeClientData(SWIGTYPE_p_wxFileType
, obj
);
12859 return Py_BuildValue((char *)"");
12861 static int _wrap_TheMimeTypesManager_set(PyObject
*_val
) {
12862 PyErr_SetString(PyExc_TypeError
,"Variable TheMimeTypesManager is read-only.");
12867 static PyObject
*_wrap_TheMimeTypesManager_get() {
12870 pyobj
= SWIG_NewPointerObj((void *)(wxTheMimeTypesManager
), SWIGTYPE_p_wxMimeTypesManager
, 0);
12875 static PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12876 PyObject
*resultobj
;
12877 wxString
*arg1
= 0 ;
12878 wxString
*arg2
= 0 ;
12880 bool temp1
= False
;
12881 bool temp2
= False
;
12882 PyObject
* obj0
= 0 ;
12883 PyObject
* obj1
= 0 ;
12884 char *kwnames
[] = {
12885 (char *) "mimeType",(char *) "wildcard", NULL
12888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) goto fail
;
12890 arg1
= wxString_in_helper(obj0
);
12891 if (arg1
== NULL
) SWIG_fail
;
12895 arg2
= wxString_in_helper(obj1
);
12896 if (arg2
== NULL
) SWIG_fail
;
12900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12901 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
12903 wxPyEndAllowThreads(__tstate
);
12904 if (PyErr_Occurred()) SWIG_fail
;
12906 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12929 static PyObject
*_wrap_new_MimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12930 PyObject
*resultobj
;
12931 wxMimeTypesManager
*result
;
12932 char *kwnames
[] = {
12936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MimeTypesManager",kwnames
)) goto fail
;
12938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12939 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
12941 wxPyEndAllowThreads(__tstate
);
12942 if (PyErr_Occurred()) SWIG_fail
;
12944 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMimeTypesManager
, 1);
12951 static PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12952 PyObject
*resultobj
;
12953 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
12954 int arg2
= (int) wxMAILCAP_ALL
;
12955 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12956 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12957 bool temp3
= False
;
12958 PyObject
* obj0
= 0 ;
12959 PyObject
* obj1
= 0 ;
12960 PyObject
* obj2
= 0 ;
12961 char *kwnames
[] = {
12962 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
12965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MimeTypesManager_Initialize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
12967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12969 arg2
= (int) SWIG_AsInt(obj1
);
12970 if (PyErr_Occurred()) SWIG_fail
;
12974 arg3
= wxString_in_helper(obj2
);
12975 if (arg3
== NULL
) SWIG_fail
;
12980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12981 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
12983 wxPyEndAllowThreads(__tstate
);
12984 if (PyErr_Occurred()) SWIG_fail
;
12986 Py_INCREF(Py_None
); resultobj
= Py_None
;
13001 static PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13002 PyObject
*resultobj
;
13003 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13004 PyObject
* obj0
= 0 ;
13005 char *kwnames
[] = {
13006 (char *) "self", NULL
13009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_ClearData",kwnames
,&obj0
)) goto fail
;
13010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13014 (arg1
)->ClearData();
13016 wxPyEndAllowThreads(__tstate
);
13017 if (PyErr_Occurred()) SWIG_fail
;
13019 Py_INCREF(Py_None
); resultobj
= Py_None
;
13026 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13027 PyObject
*resultobj
;
13028 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13029 wxString
*arg2
= 0 ;
13030 wxFileType
*result
;
13031 bool temp2
= False
;
13032 PyObject
* obj0
= 0 ;
13033 PyObject
* obj1
= 0 ;
13034 char *kwnames
[] = {
13035 (char *) "self",(char *) "ext", NULL
13038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
13039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13042 arg2
= wxString_in_helper(obj1
);
13043 if (arg2
== NULL
) SWIG_fail
;
13047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13048 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
13050 wxPyEndAllowThreads(__tstate
);
13051 if (PyErr_Occurred()) SWIG_fail
;
13053 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13068 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13069 PyObject
*resultobj
;
13070 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13071 wxString
*arg2
= 0 ;
13072 wxFileType
*result
;
13073 bool temp2
= False
;
13074 PyObject
* obj0
= 0 ;
13075 PyObject
* obj1
= 0 ;
13076 char *kwnames
[] = {
13077 (char *) "self",(char *) "mimeType", NULL
13080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
13081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13084 arg2
= wxString_in_helper(obj1
);
13085 if (arg2
== NULL
) SWIG_fail
;
13089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13090 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
13092 wxPyEndAllowThreads(__tstate
);
13093 if (PyErr_Occurred()) SWIG_fail
;
13095 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13110 static PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13111 PyObject
*resultobj
;
13112 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13113 wxString
*arg2
= 0 ;
13114 bool arg3
= (bool) False
;
13116 bool temp2
= False
;
13117 PyObject
* obj0
= 0 ;
13118 PyObject
* obj1
= 0 ;
13119 PyObject
* obj2
= 0 ;
13120 char *kwnames
[] = {
13121 (char *) "self",(char *) "filename",(char *) "fallback", NULL
13124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13128 arg2
= wxString_in_helper(obj1
);
13129 if (arg2
== NULL
) SWIG_fail
;
13133 arg3
= (bool) SWIG_AsBool(obj2
);
13134 if (PyErr_Occurred()) SWIG_fail
;
13137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13138 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
13140 wxPyEndAllowThreads(__tstate
);
13141 if (PyErr_Occurred()) SWIG_fail
;
13143 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13158 static PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13159 PyObject
*resultobj
;
13160 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13161 wxString
*arg2
= 0 ;
13163 bool temp2
= False
;
13164 PyObject
* obj0
= 0 ;
13165 PyObject
* obj1
= 0 ;
13166 char *kwnames
[] = {
13167 (char *) "self",(char *) "filename", NULL
13170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) goto fail
;
13171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13174 arg2
= wxString_in_helper(obj1
);
13175 if (arg2
== NULL
) SWIG_fail
;
13179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13180 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
13182 wxPyEndAllowThreads(__tstate
);
13183 if (PyErr_Occurred()) SWIG_fail
;
13185 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13200 static PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13201 PyObject
*resultobj
;
13202 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13204 PyObject
* obj0
= 0 ;
13205 char *kwnames
[] = {
13206 (char *) "self", NULL
13209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames
,&obj0
)) goto fail
;
13210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13214 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
13216 wxPyEndAllowThreads(__tstate
);
13217 if (PyErr_Occurred()) SWIG_fail
;
13219 resultobj
= result
;
13226 static PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13227 PyObject
*resultobj
;
13228 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13229 wxFileTypeInfo
*arg2
= 0 ;
13230 PyObject
* obj0
= 0 ;
13231 PyObject
* obj1
= 0 ;
13232 char *kwnames
[] = {
13233 (char *) "self",(char *) "ft", NULL
13236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) goto fail
;
13237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13239 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileTypeInfo
,
13240 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13242 if (arg2
== NULL
) {
13243 PyErr_SetString(PyExc_TypeError
,"null reference");
13247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13248 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
13250 wxPyEndAllowThreads(__tstate
);
13251 if (PyErr_Occurred()) SWIG_fail
;
13253 Py_INCREF(Py_None
); resultobj
= Py_None
;
13260 static PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13261 PyObject
*resultobj
;
13262 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13263 wxFileTypeInfo
*arg2
= 0 ;
13264 wxFileType
*result
;
13265 PyObject
* obj0
= 0 ;
13266 PyObject
* obj1
= 0 ;
13267 char *kwnames
[] = {
13268 (char *) "self",(char *) "ftInfo", NULL
13271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) goto fail
;
13272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13274 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileTypeInfo
,
13275 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13277 if (arg2
== NULL
) {
13278 PyErr_SetString(PyExc_TypeError
,"null reference");
13282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13283 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
13285 wxPyEndAllowThreads(__tstate
);
13286 if (PyErr_Occurred()) SWIG_fail
;
13288 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13295 static PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13296 PyObject
*resultobj
;
13297 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13298 wxFileType
*arg2
= (wxFileType
*) 0 ;
13300 PyObject
* obj0
= 0 ;
13301 PyObject
* obj1
= 0 ;
13302 char *kwnames
[] = {
13303 (char *) "self",(char *) "ft", NULL
13306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) goto fail
;
13307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13309 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileType
,
13310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13313 result
= (bool)(arg1
)->Unassociate(arg2
);
13315 wxPyEndAllowThreads(__tstate
);
13316 if (PyErr_Occurred()) SWIG_fail
;
13318 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13325 static PyObject
*_wrap_delete_MimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13326 PyObject
*resultobj
;
13327 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13328 PyObject
* obj0
= 0 ;
13329 char *kwnames
[] = {
13330 (char *) "self", NULL
13333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MimeTypesManager",kwnames
,&obj0
)) goto fail
;
13334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13340 wxPyEndAllowThreads(__tstate
);
13341 if (PyErr_Occurred()) SWIG_fail
;
13343 Py_INCREF(Py_None
); resultobj
= Py_None
;
13350 static PyObject
* MimeTypesManager_swigregister(PyObject
*self
, PyObject
*args
) {
13352 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13353 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager
, obj
);
13355 return Py_BuildValue((char *)"");
13357 static int _wrap_ART_TOOLBAR_set(PyObject
*_val
) {
13358 PyErr_SetString(PyExc_TypeError
,"Variable ART_TOOLBAR is read-only.");
13363 static PyObject
*_wrap_ART_TOOLBAR_get() {
13368 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
13370 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
13377 static int _wrap_ART_MENU_set(PyObject
*_val
) {
13378 PyErr_SetString(PyExc_TypeError
,"Variable ART_MENU is read-only.");
13383 static PyObject
*_wrap_ART_MENU_get() {
13388 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
13390 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
13397 static int _wrap_ART_FRAME_ICON_set(PyObject
*_val
) {
13398 PyErr_SetString(PyExc_TypeError
,"Variable ART_FRAME_ICON is read-only.");
13403 static PyObject
*_wrap_ART_FRAME_ICON_get() {
13408 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
13410 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
13417 static int _wrap_ART_CMN_DIALOG_set(PyObject
*_val
) {
13418 PyErr_SetString(PyExc_TypeError
,"Variable ART_CMN_DIALOG is read-only.");
13423 static PyObject
*_wrap_ART_CMN_DIALOG_get() {
13428 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
13430 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
13437 static int _wrap_ART_HELP_BROWSER_set(PyObject
*_val
) {
13438 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BROWSER is read-only.");
13443 static PyObject
*_wrap_ART_HELP_BROWSER_get() {
13448 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
13450 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
13457 static int _wrap_ART_MESSAGE_BOX_set(PyObject
*_val
) {
13458 PyErr_SetString(PyExc_TypeError
,"Variable ART_MESSAGE_BOX is read-only.");
13463 static PyObject
*_wrap_ART_MESSAGE_BOX_get() {
13468 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
13470 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
13477 static int _wrap_ART_OTHER_set(PyObject
*_val
) {
13478 PyErr_SetString(PyExc_TypeError
,"Variable ART_OTHER is read-only.");
13483 static PyObject
*_wrap_ART_OTHER_get() {
13488 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
13490 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
13497 static int _wrap_ART_ADD_BOOKMARK_set(PyObject
*_val
) {
13498 PyErr_SetString(PyExc_TypeError
,"Variable ART_ADD_BOOKMARK is read-only.");
13503 static PyObject
*_wrap_ART_ADD_BOOKMARK_get() {
13508 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
13510 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
13517 static int _wrap_ART_DEL_BOOKMARK_set(PyObject
*_val
) {
13518 PyErr_SetString(PyExc_TypeError
,"Variable ART_DEL_BOOKMARK is read-only.");
13523 static PyObject
*_wrap_ART_DEL_BOOKMARK_get() {
13528 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
13530 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
13537 static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject
*_val
) {
13538 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
13543 static PyObject
*_wrap_ART_HELP_SIDE_PANEL_get() {
13548 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
13550 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
13557 static int _wrap_ART_HELP_SETTINGS_set(PyObject
*_val
) {
13558 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SETTINGS is read-only.");
13563 static PyObject
*_wrap_ART_HELP_SETTINGS_get() {
13568 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
13570 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
13577 static int _wrap_ART_HELP_BOOK_set(PyObject
*_val
) {
13578 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BOOK is read-only.");
13583 static PyObject
*_wrap_ART_HELP_BOOK_get() {
13588 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
13590 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
13597 static int _wrap_ART_HELP_FOLDER_set(PyObject
*_val
) {
13598 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_FOLDER is read-only.");
13603 static PyObject
*_wrap_ART_HELP_FOLDER_get() {
13608 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
13610 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
13617 static int _wrap_ART_HELP_PAGE_set(PyObject
*_val
) {
13618 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_PAGE is read-only.");
13623 static PyObject
*_wrap_ART_HELP_PAGE_get() {
13628 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
13630 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
13637 static int _wrap_ART_GO_BACK_set(PyObject
*_val
) {
13638 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_BACK is read-only.");
13643 static PyObject
*_wrap_ART_GO_BACK_get() {
13648 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
13650 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
13657 static int _wrap_ART_GO_FORWARD_set(PyObject
*_val
) {
13658 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_FORWARD is read-only.");
13663 static PyObject
*_wrap_ART_GO_FORWARD_get() {
13668 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
13670 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
13677 static int _wrap_ART_GO_UP_set(PyObject
*_val
) {
13678 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_UP is read-only.");
13683 static PyObject
*_wrap_ART_GO_UP_get() {
13688 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
13690 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
13697 static int _wrap_ART_GO_DOWN_set(PyObject
*_val
) {
13698 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DOWN is read-only.");
13703 static PyObject
*_wrap_ART_GO_DOWN_get() {
13708 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
13710 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
13717 static int _wrap_ART_GO_TO_PARENT_set(PyObject
*_val
) {
13718 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_TO_PARENT is read-only.");
13723 static PyObject
*_wrap_ART_GO_TO_PARENT_get() {
13728 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
13730 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
13737 static int _wrap_ART_GO_HOME_set(PyObject
*_val
) {
13738 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_HOME is read-only.");
13743 static PyObject
*_wrap_ART_GO_HOME_get() {
13748 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
13750 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
13757 static int _wrap_ART_FILE_OPEN_set(PyObject
*_val
) {
13758 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_OPEN is read-only.");
13763 static PyObject
*_wrap_ART_FILE_OPEN_get() {
13768 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
13770 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
13777 static int _wrap_ART_PRINT_set(PyObject
*_val
) {
13778 PyErr_SetString(PyExc_TypeError
,"Variable ART_PRINT is read-only.");
13783 static PyObject
*_wrap_ART_PRINT_get() {
13788 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
13790 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
13797 static int _wrap_ART_HELP_set(PyObject
*_val
) {
13798 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP is read-only.");
13803 static PyObject
*_wrap_ART_HELP_get() {
13808 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
13810 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
13817 static int _wrap_ART_TIP_set(PyObject
*_val
) {
13818 PyErr_SetString(PyExc_TypeError
,"Variable ART_TIP is read-only.");
13823 static PyObject
*_wrap_ART_TIP_get() {
13828 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
13830 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
13837 static int _wrap_ART_REPORT_VIEW_set(PyObject
*_val
) {
13838 PyErr_SetString(PyExc_TypeError
,"Variable ART_REPORT_VIEW is read-only.");
13843 static PyObject
*_wrap_ART_REPORT_VIEW_get() {
13848 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
13850 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
13857 static int _wrap_ART_LIST_VIEW_set(PyObject
*_val
) {
13858 PyErr_SetString(PyExc_TypeError
,"Variable ART_LIST_VIEW is read-only.");
13863 static PyObject
*_wrap_ART_LIST_VIEW_get() {
13868 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
13870 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
13877 static int _wrap_ART_NEW_DIR_set(PyObject
*_val
) {
13878 PyErr_SetString(PyExc_TypeError
,"Variable ART_NEW_DIR is read-only.");
13883 static PyObject
*_wrap_ART_NEW_DIR_get() {
13888 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
13890 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
13897 static int _wrap_ART_FOLDER_set(PyObject
*_val
) {
13898 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER is read-only.");
13903 static PyObject
*_wrap_ART_FOLDER_get() {
13908 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
13910 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
13917 static int _wrap_ART_GO_DIR_UP_set(PyObject
*_val
) {
13918 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DIR_UP is read-only.");
13923 static PyObject
*_wrap_ART_GO_DIR_UP_get() {
13928 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
13930 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
13937 static int _wrap_ART_EXECUTABLE_FILE_set(PyObject
*_val
) {
13938 PyErr_SetString(PyExc_TypeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
13943 static PyObject
*_wrap_ART_EXECUTABLE_FILE_get() {
13948 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
13950 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
13957 static int _wrap_ART_NORMAL_FILE_set(PyObject
*_val
) {
13958 PyErr_SetString(PyExc_TypeError
,"Variable ART_NORMAL_FILE is read-only.");
13963 static PyObject
*_wrap_ART_NORMAL_FILE_get() {
13968 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
13970 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
13977 static int _wrap_ART_TICK_MARK_set(PyObject
*_val
) {
13978 PyErr_SetString(PyExc_TypeError
,"Variable ART_TICK_MARK is read-only.");
13983 static PyObject
*_wrap_ART_TICK_MARK_get() {
13988 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
13990 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
13997 static int _wrap_ART_CROSS_MARK_set(PyObject
*_val
) {
13998 PyErr_SetString(PyExc_TypeError
,"Variable ART_CROSS_MARK is read-only.");
14003 static PyObject
*_wrap_ART_CROSS_MARK_get() {
14008 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
14010 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
14017 static int _wrap_ART_ERROR_set(PyObject
*_val
) {
14018 PyErr_SetString(PyExc_TypeError
,"Variable ART_ERROR is read-only.");
14023 static PyObject
*_wrap_ART_ERROR_get() {
14028 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
14030 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
14037 static int _wrap_ART_QUESTION_set(PyObject
*_val
) {
14038 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUESTION is read-only.");
14043 static PyObject
*_wrap_ART_QUESTION_get() {
14048 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
14050 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
14057 static int _wrap_ART_WARNING_set(PyObject
*_val
) {
14058 PyErr_SetString(PyExc_TypeError
,"Variable ART_WARNING is read-only.");
14063 static PyObject
*_wrap_ART_WARNING_get() {
14068 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
14070 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
14077 static int _wrap_ART_INFORMATION_set(PyObject
*_val
) {
14078 PyErr_SetString(PyExc_TypeError
,"Variable ART_INFORMATION is read-only.");
14083 static PyObject
*_wrap_ART_INFORMATION_get() {
14088 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
14090 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
14097 static int _wrap_ART_MISSING_IMAGE_set(PyObject
*_val
) {
14098 PyErr_SetString(PyExc_TypeError
,"Variable ART_MISSING_IMAGE is read-only.");
14103 static PyObject
*_wrap_ART_MISSING_IMAGE_get() {
14108 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
14110 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
14117 static PyObject
*_wrap_new_ArtProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14118 PyObject
*resultobj
;
14119 wxPyArtProvider
*result
;
14120 char *kwnames
[] = {
14124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ArtProvider",kwnames
)) goto fail
;
14126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14127 result
= (wxPyArtProvider
*)new wxPyArtProvider();
14129 wxPyEndAllowThreads(__tstate
);
14130 if (PyErr_Occurred()) SWIG_fail
;
14132 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyArtProvider
, 1);
14139 static PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14140 PyObject
*resultobj
;
14141 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14142 PyObject
*arg2
= (PyObject
*) 0 ;
14143 PyObject
*arg3
= (PyObject
*) 0 ;
14144 PyObject
* obj0
= 0 ;
14145 PyObject
* obj1
= 0 ;
14146 PyObject
* obj2
= 0 ;
14147 char *kwnames
[] = {
14148 (char *) "self",(char *) "self",(char *) "_class", NULL
14151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14158 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14160 wxPyEndAllowThreads(__tstate
);
14161 if (PyErr_Occurred()) SWIG_fail
;
14163 Py_INCREF(Py_None
); resultobj
= Py_None
;
14170 static PyObject
*_wrap_ArtProvider_PushProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14171 PyObject
*resultobj
;
14172 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14173 PyObject
* obj0
= 0 ;
14174 char *kwnames
[] = {
14175 (char *) "provider", NULL
14178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_PushProvider",kwnames
,&obj0
)) goto fail
;
14179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14183 wxPyArtProvider::PushProvider(arg1
);
14185 wxPyEndAllowThreads(__tstate
);
14186 if (PyErr_Occurred()) SWIG_fail
;
14188 Py_INCREF(Py_None
); resultobj
= Py_None
;
14195 static PyObject
*_wrap_ArtProvider_PopProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14196 PyObject
*resultobj
;
14198 char *kwnames
[] = {
14202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ArtProvider_PopProvider",kwnames
)) goto fail
;
14204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14205 result
= (bool)wxPyArtProvider::PopProvider();
14207 wxPyEndAllowThreads(__tstate
);
14208 if (PyErr_Occurred()) SWIG_fail
;
14210 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14217 static PyObject
*_wrap_ArtProvider_RemoveProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14218 PyObject
*resultobj
;
14219 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14221 PyObject
* obj0
= 0 ;
14222 char *kwnames
[] = {
14223 (char *) "provider", NULL
14226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",kwnames
,&obj0
)) goto fail
;
14227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14231 result
= (bool)wxPyArtProvider::RemoveProvider(arg1
);
14233 wxPyEndAllowThreads(__tstate
);
14234 if (PyErr_Occurred()) SWIG_fail
;
14236 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14243 static PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14244 PyObject
*resultobj
;
14245 wxString
*arg1
= 0 ;
14246 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
14247 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14248 wxSize
const &arg3_defvalue
= wxDefaultSize
;
14249 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
14251 bool temp1
= False
;
14252 bool temp2
= False
;
14254 PyObject
* obj0
= 0 ;
14255 PyObject
* obj1
= 0 ;
14256 PyObject
* obj2
= 0 ;
14257 char *kwnames
[] = {
14258 (char *) "id",(char *) "client",(char *) "size", NULL
14261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14263 arg1
= wxString_in_helper(obj0
);
14264 if (arg1
== NULL
) SWIG_fail
;
14269 arg2
= wxString_in_helper(obj1
);
14270 if (arg2
== NULL
) SWIG_fail
;
14277 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14282 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
14284 wxPyEndAllowThreads(__tstate
);
14285 if (PyErr_Occurred()) SWIG_fail
;
14288 wxBitmap
* resultptr
;
14289 resultptr
= new wxBitmap((wxBitmap
&) result
);
14290 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
14314 static PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14315 PyObject
*resultobj
;
14316 wxString
*arg1
= 0 ;
14317 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
14318 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14319 wxSize
const &arg3_defvalue
= wxDefaultSize
;
14320 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
14322 bool temp1
= False
;
14323 bool temp2
= False
;
14325 PyObject
* obj0
= 0 ;
14326 PyObject
* obj1
= 0 ;
14327 PyObject
* obj2
= 0 ;
14328 char *kwnames
[] = {
14329 (char *) "id",(char *) "client",(char *) "size", NULL
14332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14334 arg1
= wxString_in_helper(obj0
);
14335 if (arg1
== NULL
) SWIG_fail
;
14340 arg2
= wxString_in_helper(obj1
);
14341 if (arg2
== NULL
) SWIG_fail
;
14348 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14353 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
14355 wxPyEndAllowThreads(__tstate
);
14356 if (PyErr_Occurred()) SWIG_fail
;
14359 wxIcon
* resultptr
;
14360 resultptr
= new wxIcon((wxIcon
&) result
);
14361 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
14385 static PyObject
*_wrap_ArtProvider_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14386 PyObject
*resultobj
;
14387 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14388 PyObject
* obj0
= 0 ;
14389 char *kwnames
[] = {
14390 (char *) "self", NULL
14393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Destroy",kwnames
,&obj0
)) goto fail
;
14394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14398 wxPyArtProvider_Destroy(arg1
);
14400 wxPyEndAllowThreads(__tstate
);
14401 if (PyErr_Occurred()) SWIG_fail
;
14403 Py_INCREF(Py_None
); resultobj
= Py_None
;
14410 static PyObject
* ArtProvider_swigregister(PyObject
*self
, PyObject
*args
) {
14412 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14413 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider
, obj
);
14415 return Py_BuildValue((char *)"");
14417 static PyObject
*_wrap_delete_ConfigBase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14418 PyObject
*resultobj
;
14419 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14420 PyObject
* obj0
= 0 ;
14421 char *kwnames
[] = {
14422 (char *) "self", NULL
14425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigBase",kwnames
,&obj0
)) goto fail
;
14426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14432 wxPyEndAllowThreads(__tstate
);
14433 if (PyErr_Occurred()) SWIG_fail
;
14435 Py_INCREF(Py_None
); resultobj
= Py_None
;
14442 static PyObject
*_wrap_ConfigBase_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14443 PyObject
*resultobj
;
14444 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14445 wxConfigBase
*result
;
14446 PyObject
* obj0
= 0 ;
14447 char *kwnames
[] = {
14448 (char *) "config", NULL
14451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) goto fail
;
14452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14456 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
14458 wxPyEndAllowThreads(__tstate
);
14459 if (PyErr_Occurred()) SWIG_fail
;
14461 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
14468 static PyObject
*_wrap_ConfigBase_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14469 PyObject
*resultobj
;
14470 bool arg1
= (bool) True
;
14471 wxConfigBase
*result
;
14472 PyObject
* obj0
= 0 ;
14473 char *kwnames
[] = {
14474 (char *) "createOnDemand", NULL
14477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) goto fail
;
14479 arg1
= (bool) SWIG_AsBool(obj0
);
14480 if (PyErr_Occurred()) SWIG_fail
;
14483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14484 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
14486 wxPyEndAllowThreads(__tstate
);
14487 if (PyErr_Occurred()) SWIG_fail
;
14489 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
14496 static PyObject
*_wrap_ConfigBase_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14497 PyObject
*resultobj
;
14498 wxConfigBase
*result
;
14499 char *kwnames
[] = {
14503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_Create",kwnames
)) goto fail
;
14505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14506 result
= (wxConfigBase
*)wxConfigBase::Create();
14508 wxPyEndAllowThreads(__tstate
);
14509 if (PyErr_Occurred()) SWIG_fail
;
14511 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
14518 static PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14519 PyObject
*resultobj
;
14520 char *kwnames
[] = {
14524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_DontCreateOnDemand",kwnames
)) goto fail
;
14526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14527 wxConfigBase::DontCreateOnDemand();
14529 wxPyEndAllowThreads(__tstate
);
14530 if (PyErr_Occurred()) SWIG_fail
;
14532 Py_INCREF(Py_None
); resultobj
= Py_None
;
14539 static PyObject
*_wrap_ConfigBase_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14540 PyObject
*resultobj
;
14541 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14542 wxString
*arg2
= 0 ;
14543 bool temp2
= False
;
14544 PyObject
* obj0
= 0 ;
14545 PyObject
* obj1
= 0 ;
14546 char *kwnames
[] = {
14547 (char *) "self",(char *) "path", NULL
14550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
14551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14554 arg2
= wxString_in_helper(obj1
);
14555 if (arg2
== NULL
) SWIG_fail
;
14559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14560 (arg1
)->SetPath((wxString
const &)*arg2
);
14562 wxPyEndAllowThreads(__tstate
);
14563 if (PyErr_Occurred()) SWIG_fail
;
14565 Py_INCREF(Py_None
); resultobj
= Py_None
;
14580 static PyObject
*_wrap_ConfigBase_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14581 PyObject
*resultobj
;
14582 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14584 PyObject
* obj0
= 0 ;
14585 char *kwnames
[] = {
14586 (char *) "self", NULL
14589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetPath",kwnames
,&obj0
)) goto fail
;
14590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14595 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
14596 result
= (wxString
*) &_result_ref
;
14599 wxPyEndAllowThreads(__tstate
);
14600 if (PyErr_Occurred()) SWIG_fail
;
14604 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14606 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14615 static PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14616 PyObject
*resultobj
;
14617 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14619 PyObject
* obj0
= 0 ;
14620 char *kwnames
[] = {
14621 (char *) "self", NULL
14624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstGroup",kwnames
,&obj0
)) goto fail
;
14625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14629 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
14631 wxPyEndAllowThreads(__tstate
);
14632 if (PyErr_Occurred()) SWIG_fail
;
14634 resultobj
= result
;
14641 static PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14642 PyObject
*resultobj
;
14643 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14646 PyObject
* obj0
= 0 ;
14647 PyObject
* obj1
= 0 ;
14648 char *kwnames
[] = {
14649 (char *) "self",(char *) "index", NULL
14652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
14653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14655 arg2
= (long) SWIG_AsLong(obj1
);
14656 if (PyErr_Occurred()) SWIG_fail
;
14658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14659 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
14661 wxPyEndAllowThreads(__tstate
);
14662 if (PyErr_Occurred()) SWIG_fail
;
14664 resultobj
= result
;
14671 static PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14672 PyObject
*resultobj
;
14673 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14675 PyObject
* obj0
= 0 ;
14676 char *kwnames
[] = {
14677 (char *) "self", NULL
14680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstEntry",kwnames
,&obj0
)) goto fail
;
14681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14685 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
14687 wxPyEndAllowThreads(__tstate
);
14688 if (PyErr_Occurred()) SWIG_fail
;
14690 resultobj
= result
;
14697 static PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14698 PyObject
*resultobj
;
14699 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14702 PyObject
* obj0
= 0 ;
14703 PyObject
* obj1
= 0 ;
14704 char *kwnames
[] = {
14705 (char *) "self",(char *) "index", NULL
14708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
14709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14711 arg2
= (long) SWIG_AsLong(obj1
);
14712 if (PyErr_Occurred()) SWIG_fail
;
14714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14715 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
14717 wxPyEndAllowThreads(__tstate
);
14718 if (PyErr_Occurred()) SWIG_fail
;
14720 resultobj
= result
;
14727 static PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14728 PyObject
*resultobj
;
14729 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14730 bool arg2
= (bool) False
;
14732 PyObject
* obj0
= 0 ;
14733 PyObject
* obj1
= 0 ;
14734 char *kwnames
[] = {
14735 (char *) "self",(char *) "recursive", NULL
14738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) goto fail
;
14739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14742 arg2
= (bool) SWIG_AsBool(obj1
);
14743 if (PyErr_Occurred()) SWIG_fail
;
14746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14747 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
14749 wxPyEndAllowThreads(__tstate
);
14750 if (PyErr_Occurred()) SWIG_fail
;
14752 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
14759 static PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14760 PyObject
*resultobj
;
14761 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14762 bool arg2
= (bool) False
;
14764 PyObject
* obj0
= 0 ;
14765 PyObject
* obj1
= 0 ;
14766 char *kwnames
[] = {
14767 (char *) "self",(char *) "recursive", NULL
14770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) goto fail
;
14771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14774 arg2
= (bool) SWIG_AsBool(obj1
);
14775 if (PyErr_Occurred()) SWIG_fail
;
14778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14779 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
14781 wxPyEndAllowThreads(__tstate
);
14782 if (PyErr_Occurred()) SWIG_fail
;
14784 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
14791 static PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14792 PyObject
*resultobj
;
14793 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14794 wxString
*arg2
= 0 ;
14796 bool temp2
= False
;
14797 PyObject
* obj0
= 0 ;
14798 PyObject
* obj1
= 0 ;
14799 char *kwnames
[] = {
14800 (char *) "self",(char *) "name", NULL
14803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
14804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14807 arg2
= wxString_in_helper(obj1
);
14808 if (arg2
== NULL
) SWIG_fail
;
14812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14813 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
14815 wxPyEndAllowThreads(__tstate
);
14816 if (PyErr_Occurred()) SWIG_fail
;
14818 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14833 static PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14834 PyObject
*resultobj
;
14835 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14836 wxString
*arg2
= 0 ;
14838 bool temp2
= False
;
14839 PyObject
* obj0
= 0 ;
14840 PyObject
* obj1
= 0 ;
14841 char *kwnames
[] = {
14842 (char *) "self",(char *) "name", NULL
14845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
14846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14849 arg2
= wxString_in_helper(obj1
);
14850 if (arg2
== NULL
) SWIG_fail
;
14854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14855 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
14857 wxPyEndAllowThreads(__tstate
);
14858 if (PyErr_Occurred()) SWIG_fail
;
14860 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14875 static PyObject
*_wrap_ConfigBase_Exists(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14876 PyObject
*resultobj
;
14877 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14878 wxString
*arg2
= 0 ;
14880 bool temp2
= False
;
14881 PyObject
* obj0
= 0 ;
14882 PyObject
* obj1
= 0 ;
14883 char *kwnames
[] = {
14884 (char *) "self",(char *) "name", NULL
14887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) goto fail
;
14888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14891 arg2
= wxString_in_helper(obj1
);
14892 if (arg2
== NULL
) SWIG_fail
;
14896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14897 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
14899 wxPyEndAllowThreads(__tstate
);
14900 if (PyErr_Occurred()) SWIG_fail
;
14902 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14917 static PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14918 PyObject
*resultobj
;
14919 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14920 wxString
*arg2
= 0 ;
14922 bool temp2
= False
;
14923 PyObject
* obj0
= 0 ;
14924 PyObject
* obj1
= 0 ;
14925 char *kwnames
[] = {
14926 (char *) "self",(char *) "name", NULL
14929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) goto fail
;
14930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14933 arg2
= wxString_in_helper(obj1
);
14934 if (arg2
== NULL
) SWIG_fail
;
14938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14939 result
= (int)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
14941 wxPyEndAllowThreads(__tstate
);
14942 if (PyErr_Occurred()) SWIG_fail
;
14944 resultobj
= SWIG_FromInt((int)result
);
14959 static PyObject
*_wrap_ConfigBase_Read(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14960 PyObject
*resultobj
;
14961 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14962 wxString
*arg2
= 0 ;
14963 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14964 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14966 bool temp2
= False
;
14967 bool temp3
= False
;
14968 PyObject
* obj0
= 0 ;
14969 PyObject
* obj1
= 0 ;
14970 PyObject
* obj2
= 0 ;
14971 char *kwnames
[] = {
14972 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
14975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14979 arg2
= wxString_in_helper(obj1
);
14980 if (arg2
== NULL
) SWIG_fail
;
14985 arg3
= wxString_in_helper(obj2
);
14986 if (arg3
== NULL
) SWIG_fail
;
14991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14992 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
14994 wxPyEndAllowThreads(__tstate
);
14995 if (PyErr_Occurred()) SWIG_fail
;
14999 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15001 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15026 static PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15027 PyObject
*resultobj
;
15028 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15029 wxString
*arg2
= 0 ;
15030 long arg3
= (long) 0 ;
15032 bool temp2
= False
;
15033 PyObject
* obj0
= 0 ;
15034 PyObject
* obj1
= 0 ;
15035 PyObject
* obj2
= 0 ;
15036 char *kwnames
[] = {
15037 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15044 arg2
= wxString_in_helper(obj1
);
15045 if (arg2
== NULL
) SWIG_fail
;
15049 arg3
= (long) SWIG_AsLong(obj2
);
15050 if (PyErr_Occurred()) SWIG_fail
;
15053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15054 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
15056 wxPyEndAllowThreads(__tstate
);
15057 if (PyErr_Occurred()) SWIG_fail
;
15059 resultobj
= SWIG_FromLong((long)result
);
15074 static PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15075 PyObject
*resultobj
;
15076 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15077 wxString
*arg2
= 0 ;
15078 double arg3
= (double) 0.0 ;
15080 bool temp2
= False
;
15081 PyObject
* obj0
= 0 ;
15082 PyObject
* obj1
= 0 ;
15083 PyObject
* obj2
= 0 ;
15084 char *kwnames
[] = {
15085 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15092 arg2
= wxString_in_helper(obj1
);
15093 if (arg2
== NULL
) SWIG_fail
;
15097 arg3
= (double) SWIG_AsDouble(obj2
);
15098 if (PyErr_Occurred()) SWIG_fail
;
15101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15102 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
15104 wxPyEndAllowThreads(__tstate
);
15105 if (PyErr_Occurred()) SWIG_fail
;
15107 resultobj
= SWIG_FromDouble((double)result
);
15122 static PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15123 PyObject
*resultobj
;
15124 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15125 wxString
*arg2
= 0 ;
15126 bool arg3
= (bool) False
;
15128 bool temp2
= False
;
15129 PyObject
* obj0
= 0 ;
15130 PyObject
* obj1
= 0 ;
15131 PyObject
* obj2
= 0 ;
15132 char *kwnames
[] = {
15133 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15140 arg2
= wxString_in_helper(obj1
);
15141 if (arg2
== NULL
) SWIG_fail
;
15145 arg3
= (bool) SWIG_AsBool(obj2
);
15146 if (PyErr_Occurred()) SWIG_fail
;
15149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15150 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
15152 wxPyEndAllowThreads(__tstate
);
15153 if (PyErr_Occurred()) SWIG_fail
;
15155 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15170 static PyObject
*_wrap_ConfigBase_Write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15171 PyObject
*resultobj
;
15172 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15173 wxString
*arg2
= 0 ;
15174 wxString
*arg3
= 0 ;
15176 bool temp2
= False
;
15177 bool temp3
= False
;
15178 PyObject
* obj0
= 0 ;
15179 PyObject
* obj1
= 0 ;
15180 PyObject
* obj2
= 0 ;
15181 char *kwnames
[] = {
15182 (char *) "self",(char *) "key",(char *) "value", NULL
15185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15189 arg2
= wxString_in_helper(obj1
);
15190 if (arg2
== NULL
) SWIG_fail
;
15194 arg3
= wxString_in_helper(obj2
);
15195 if (arg3
== NULL
) SWIG_fail
;
15199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15200 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15202 wxPyEndAllowThreads(__tstate
);
15203 if (PyErr_Occurred()) SWIG_fail
;
15205 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15228 static PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15229 PyObject
*resultobj
;
15230 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15231 wxString
*arg2
= 0 ;
15234 bool temp2
= False
;
15235 PyObject
* obj0
= 0 ;
15236 PyObject
* obj1
= 0 ;
15237 PyObject
* obj2
= 0 ;
15238 char *kwnames
[] = {
15239 (char *) "self",(char *) "key",(char *) "value", NULL
15242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15246 arg2
= wxString_in_helper(obj1
);
15247 if (arg2
== NULL
) SWIG_fail
;
15250 arg3
= (long) SWIG_AsLong(obj2
);
15251 if (PyErr_Occurred()) SWIG_fail
;
15253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15254 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15256 wxPyEndAllowThreads(__tstate
);
15257 if (PyErr_Occurred()) SWIG_fail
;
15259 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15274 static PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15275 PyObject
*resultobj
;
15276 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15277 wxString
*arg2
= 0 ;
15280 bool temp2
= False
;
15281 PyObject
* obj0
= 0 ;
15282 PyObject
* obj1
= 0 ;
15283 PyObject
* obj2
= 0 ;
15284 char *kwnames
[] = {
15285 (char *) "self",(char *) "key",(char *) "value", NULL
15288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15292 arg2
= wxString_in_helper(obj1
);
15293 if (arg2
== NULL
) SWIG_fail
;
15296 arg3
= (double) SWIG_AsDouble(obj2
);
15297 if (PyErr_Occurred()) SWIG_fail
;
15299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15300 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15302 wxPyEndAllowThreads(__tstate
);
15303 if (PyErr_Occurred()) SWIG_fail
;
15305 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15320 static PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15321 PyObject
*resultobj
;
15322 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15323 wxString
*arg2
= 0 ;
15326 bool temp2
= False
;
15327 PyObject
* obj0
= 0 ;
15328 PyObject
* obj1
= 0 ;
15329 PyObject
* obj2
= 0 ;
15330 char *kwnames
[] = {
15331 (char *) "self",(char *) "key",(char *) "value", NULL
15334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15338 arg2
= wxString_in_helper(obj1
);
15339 if (arg2
== NULL
) SWIG_fail
;
15342 arg3
= (bool) SWIG_AsBool(obj2
);
15343 if (PyErr_Occurred()) SWIG_fail
;
15345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15346 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15348 wxPyEndAllowThreads(__tstate
);
15349 if (PyErr_Occurred()) SWIG_fail
;
15351 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15366 static PyObject
*_wrap_ConfigBase_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15367 PyObject
*resultobj
;
15368 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15369 bool arg2
= (bool) False
;
15371 PyObject
* obj0
= 0 ;
15372 PyObject
* obj1
= 0 ;
15373 char *kwnames
[] = {
15374 (char *) "self",(char *) "currentOnly", NULL
15377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) goto fail
;
15378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15381 arg2
= (bool) SWIG_AsBool(obj1
);
15382 if (PyErr_Occurred()) SWIG_fail
;
15385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15386 result
= (bool)(arg1
)->Flush(arg2
);
15388 wxPyEndAllowThreads(__tstate
);
15389 if (PyErr_Occurred()) SWIG_fail
;
15391 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15398 static PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15399 PyObject
*resultobj
;
15400 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15401 wxString
*arg2
= 0 ;
15402 wxString
*arg3
= 0 ;
15404 bool temp2
= False
;
15405 bool temp3
= False
;
15406 PyObject
* obj0
= 0 ;
15407 PyObject
* obj1
= 0 ;
15408 PyObject
* obj2
= 0 ;
15409 char *kwnames
[] = {
15410 (char *) "self",(char *) "oldName",(char *) "newName", NULL
15413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15417 arg2
= wxString_in_helper(obj1
);
15418 if (arg2
== NULL
) SWIG_fail
;
15422 arg3
= wxString_in_helper(obj2
);
15423 if (arg3
== NULL
) SWIG_fail
;
15427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15428 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15430 wxPyEndAllowThreads(__tstate
);
15431 if (PyErr_Occurred()) SWIG_fail
;
15433 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15456 static PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15457 PyObject
*resultobj
;
15458 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15459 wxString
*arg2
= 0 ;
15460 wxString
*arg3
= 0 ;
15462 bool temp2
= False
;
15463 bool temp3
= False
;
15464 PyObject
* obj0
= 0 ;
15465 PyObject
* obj1
= 0 ;
15466 PyObject
* obj2
= 0 ;
15467 char *kwnames
[] = {
15468 (char *) "self",(char *) "oldName",(char *) "newName", NULL
15471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15475 arg2
= wxString_in_helper(obj1
);
15476 if (arg2
== NULL
) SWIG_fail
;
15480 arg3
= wxString_in_helper(obj2
);
15481 if (arg3
== NULL
) SWIG_fail
;
15485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15486 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15488 wxPyEndAllowThreads(__tstate
);
15489 if (PyErr_Occurred()) SWIG_fail
;
15491 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15514 static PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15515 PyObject
*resultobj
;
15516 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15517 wxString
*arg2
= 0 ;
15518 bool arg3
= (bool) True
;
15520 bool temp2
= False
;
15521 PyObject
* obj0
= 0 ;
15522 PyObject
* obj1
= 0 ;
15523 PyObject
* obj2
= 0 ;
15524 char *kwnames
[] = {
15525 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
15528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15532 arg2
= wxString_in_helper(obj1
);
15533 if (arg2
== NULL
) SWIG_fail
;
15537 arg3
= (bool) SWIG_AsBool(obj2
);
15538 if (PyErr_Occurred()) SWIG_fail
;
15541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15542 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
15544 wxPyEndAllowThreads(__tstate
);
15545 if (PyErr_Occurred()) SWIG_fail
;
15547 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15562 static PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15563 PyObject
*resultobj
;
15564 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15565 wxString
*arg2
= 0 ;
15567 bool temp2
= False
;
15568 PyObject
* obj0
= 0 ;
15569 PyObject
* obj1
= 0 ;
15570 char *kwnames
[] = {
15571 (char *) "self",(char *) "key", NULL
15574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
15575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15578 arg2
= wxString_in_helper(obj1
);
15579 if (arg2
== NULL
) SWIG_fail
;
15583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15584 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
15586 wxPyEndAllowThreads(__tstate
);
15587 if (PyErr_Occurred()) SWIG_fail
;
15589 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15604 static PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15605 PyObject
*resultobj
;
15606 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15608 PyObject
* obj0
= 0 ;
15609 char *kwnames
[] = {
15610 (char *) "self", NULL
15613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_DeleteAll",kwnames
,&obj0
)) goto fail
;
15614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15618 result
= (bool)(arg1
)->DeleteAll();
15620 wxPyEndAllowThreads(__tstate
);
15621 if (PyErr_Occurred()) SWIG_fail
;
15623 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15630 static PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15631 PyObject
*resultobj
;
15632 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15633 bool arg2
= (bool) True
;
15634 PyObject
* obj0
= 0 ;
15635 PyObject
* obj1
= 0 ;
15636 char *kwnames
[] = {
15637 (char *) "self",(char *) "doIt", NULL
15640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
15641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15644 arg2
= (bool) SWIG_AsBool(obj1
);
15645 if (PyErr_Occurred()) SWIG_fail
;
15648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15649 (arg1
)->SetExpandEnvVars(arg2
);
15651 wxPyEndAllowThreads(__tstate
);
15652 if (PyErr_Occurred()) SWIG_fail
;
15654 Py_INCREF(Py_None
); resultobj
= Py_None
;
15661 static PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15662 PyObject
*resultobj
;
15663 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15665 PyObject
* obj0
= 0 ;
15666 char *kwnames
[] = {
15667 (char *) "self", NULL
15670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames
,&obj0
)) goto fail
;
15671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15675 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
15677 wxPyEndAllowThreads(__tstate
);
15678 if (PyErr_Occurred()) SWIG_fail
;
15680 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15687 static PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15688 PyObject
*resultobj
;
15689 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15690 bool arg2
= (bool) True
;
15691 PyObject
* obj0
= 0 ;
15692 PyObject
* obj1
= 0 ;
15693 char *kwnames
[] = {
15694 (char *) "self",(char *) "doIt", NULL
15697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
15698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15701 arg2
= (bool) SWIG_AsBool(obj1
);
15702 if (PyErr_Occurred()) SWIG_fail
;
15705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15706 (arg1
)->SetRecordDefaults(arg2
);
15708 wxPyEndAllowThreads(__tstate
);
15709 if (PyErr_Occurred()) SWIG_fail
;
15711 Py_INCREF(Py_None
); resultobj
= Py_None
;
15718 static PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15719 PyObject
*resultobj
;
15720 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15722 PyObject
* obj0
= 0 ;
15723 char *kwnames
[] = {
15724 (char *) "self", NULL
15727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames
,&obj0
)) goto fail
;
15728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15732 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
15734 wxPyEndAllowThreads(__tstate
);
15735 if (PyErr_Occurred()) SWIG_fail
;
15737 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15744 static PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15745 PyObject
*resultobj
;
15746 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15747 wxString
*arg2
= 0 ;
15749 bool temp2
= False
;
15750 PyObject
* obj0
= 0 ;
15751 PyObject
* obj1
= 0 ;
15752 char *kwnames
[] = {
15753 (char *) "self",(char *) "str", NULL
15756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
15757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15760 arg2
= wxString_in_helper(obj1
);
15761 if (arg2
== NULL
) SWIG_fail
;
15765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15766 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
15768 wxPyEndAllowThreads(__tstate
);
15769 if (PyErr_Occurred()) SWIG_fail
;
15773 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15775 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15792 static PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15793 PyObject
*resultobj
;
15794 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15796 PyObject
* obj0
= 0 ;
15797 char *kwnames
[] = {
15798 (char *) "self", NULL
15801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetAppName",kwnames
,&obj0
)) goto fail
;
15802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15806 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
15808 wxPyEndAllowThreads(__tstate
);
15809 if (PyErr_Occurred()) SWIG_fail
;
15813 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15815 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15824 static PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15825 PyObject
*resultobj
;
15826 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15828 PyObject
* obj0
= 0 ;
15829 char *kwnames
[] = {
15830 (char *) "self", NULL
15833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetVendorName",kwnames
,&obj0
)) goto fail
;
15834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15838 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
15840 wxPyEndAllowThreads(__tstate
);
15841 if (PyErr_Occurred()) SWIG_fail
;
15845 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15847 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15856 static PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15857 PyObject
*resultobj
;
15858 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15859 wxString
*arg2
= 0 ;
15860 bool temp2
= False
;
15861 PyObject
* obj0
= 0 ;
15862 PyObject
* obj1
= 0 ;
15863 char *kwnames
[] = {
15864 (char *) "self",(char *) "appName", NULL
15867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
15868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15871 arg2
= wxString_in_helper(obj1
);
15872 if (arg2
== NULL
) SWIG_fail
;
15876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15877 (arg1
)->SetAppName((wxString
const &)*arg2
);
15879 wxPyEndAllowThreads(__tstate
);
15880 if (PyErr_Occurred()) SWIG_fail
;
15882 Py_INCREF(Py_None
); resultobj
= Py_None
;
15897 static PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15898 PyObject
*resultobj
;
15899 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15900 wxString
*arg2
= 0 ;
15901 bool temp2
= False
;
15902 PyObject
* obj0
= 0 ;
15903 PyObject
* obj1
= 0 ;
15904 char *kwnames
[] = {
15905 (char *) "self",(char *) "vendorName", NULL
15908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
15909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15912 arg2
= wxString_in_helper(obj1
);
15913 if (arg2
== NULL
) SWIG_fail
;
15917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15918 (arg1
)->SetVendorName((wxString
const &)*arg2
);
15920 wxPyEndAllowThreads(__tstate
);
15921 if (PyErr_Occurred()) SWIG_fail
;
15923 Py_INCREF(Py_None
); resultobj
= Py_None
;
15938 static PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15939 PyObject
*resultobj
;
15940 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15942 PyObject
* obj0
= 0 ;
15943 PyObject
* obj1
= 0 ;
15944 char *kwnames
[] = {
15945 (char *) "self",(char *) "style", NULL
15948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
15949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15951 arg2
= (long) SWIG_AsLong(obj1
);
15952 if (PyErr_Occurred()) SWIG_fail
;
15954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15955 (arg1
)->SetStyle(arg2
);
15957 wxPyEndAllowThreads(__tstate
);
15958 if (PyErr_Occurred()) SWIG_fail
;
15960 Py_INCREF(Py_None
); resultobj
= Py_None
;
15967 static PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15968 PyObject
*resultobj
;
15969 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15971 PyObject
* obj0
= 0 ;
15972 char *kwnames
[] = {
15973 (char *) "self", NULL
15976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetStyle",kwnames
,&obj0
)) goto fail
;
15977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15981 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
15983 wxPyEndAllowThreads(__tstate
);
15984 if (PyErr_Occurred()) SWIG_fail
;
15986 resultobj
= SWIG_FromLong((long)result
);
15993 static PyObject
* ConfigBase_swigregister(PyObject
*self
, PyObject
*args
) {
15995 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15996 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase
, obj
);
15998 return Py_BuildValue((char *)"");
16000 static PyObject
*_wrap_new_Config(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16001 PyObject
*resultobj
;
16002 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16003 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16004 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16005 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16006 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16007 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16008 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16009 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16010 long arg5
= (long) 0 ;
16012 bool temp1
= False
;
16013 bool temp2
= False
;
16014 bool temp3
= False
;
16015 bool temp4
= False
;
16016 PyObject
* obj0
= 0 ;
16017 PyObject
* obj1
= 0 ;
16018 PyObject
* obj2
= 0 ;
16019 PyObject
* obj3
= 0 ;
16020 PyObject
* obj4
= 0 ;
16021 char *kwnames
[] = {
16022 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16028 arg1
= wxString_in_helper(obj0
);
16029 if (arg1
== NULL
) SWIG_fail
;
16035 arg2
= wxString_in_helper(obj1
);
16036 if (arg2
== NULL
) SWIG_fail
;
16042 arg3
= wxString_in_helper(obj2
);
16043 if (arg3
== NULL
) SWIG_fail
;
16049 arg4
= wxString_in_helper(obj3
);
16050 if (arg4
== NULL
) SWIG_fail
;
16055 arg5
= (long) SWIG_AsLong(obj4
);
16056 if (PyErr_Occurred()) SWIG_fail
;
16059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16060 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
16062 wxPyEndAllowThreads(__tstate
);
16063 if (PyErr_Occurred()) SWIG_fail
;
16065 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfig
, 1);
16104 static PyObject
*_wrap_delete_Config(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16105 PyObject
*resultobj
;
16106 wxConfig
*arg1
= (wxConfig
*) 0 ;
16107 PyObject
* obj0
= 0 ;
16108 char *kwnames
[] = {
16109 (char *) "self", NULL
16112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Config",kwnames
,&obj0
)) goto fail
;
16113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfig
,
16114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16119 wxPyEndAllowThreads(__tstate
);
16120 if (PyErr_Occurred()) SWIG_fail
;
16122 Py_INCREF(Py_None
); resultobj
= Py_None
;
16129 static PyObject
* Config_swigregister(PyObject
*self
, PyObject
*args
) {
16131 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16132 SWIG_TypeClientData(SWIGTYPE_p_wxConfig
, obj
);
16134 return Py_BuildValue((char *)"");
16136 static PyObject
*_wrap_new_FileConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16137 PyObject
*resultobj
;
16138 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16139 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16140 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16141 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16142 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16143 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16144 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16145 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16146 long arg5
= (long) 0 ;
16147 wxFileConfig
*result
;
16148 bool temp1
= False
;
16149 bool temp2
= False
;
16150 bool temp3
= False
;
16151 bool temp4
= False
;
16152 PyObject
* obj0
= 0 ;
16153 PyObject
* obj1
= 0 ;
16154 PyObject
* obj2
= 0 ;
16155 PyObject
* obj3
= 0 ;
16156 PyObject
* obj4
= 0 ;
16157 char *kwnames
[] = {
16158 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16164 arg1
= wxString_in_helper(obj0
);
16165 if (arg1
== NULL
) SWIG_fail
;
16171 arg2
= wxString_in_helper(obj1
);
16172 if (arg2
== NULL
) SWIG_fail
;
16178 arg3
= wxString_in_helper(obj2
);
16179 if (arg3
== NULL
) SWIG_fail
;
16185 arg4
= wxString_in_helper(obj3
);
16186 if (arg4
== NULL
) SWIG_fail
;
16191 arg5
= (long) SWIG_AsLong(obj4
);
16192 if (PyErr_Occurred()) SWIG_fail
;
16195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16196 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
16198 wxPyEndAllowThreads(__tstate
);
16199 if (PyErr_Occurred()) SWIG_fail
;
16201 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileConfig
, 1);
16240 static PyObject
*_wrap_delete_FileConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16241 PyObject
*resultobj
;
16242 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
16243 PyObject
* obj0
= 0 ;
16244 char *kwnames
[] = {
16245 (char *) "self", NULL
16248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileConfig",kwnames
,&obj0
)) goto fail
;
16249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileConfig
,
16250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16255 wxPyEndAllowThreads(__tstate
);
16256 if (PyErr_Occurred()) SWIG_fail
;
16258 Py_INCREF(Py_None
); resultobj
= Py_None
;
16265 static PyObject
* FileConfig_swigregister(PyObject
*self
, PyObject
*args
) {
16267 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16268 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig
, obj
);
16270 return Py_BuildValue((char *)"");
16272 static PyObject
*_wrap_new_ConfigPathChanger(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16273 PyObject
*resultobj
;
16274 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16275 wxString
*arg2
= 0 ;
16276 wxConfigPathChanger
*result
;
16277 bool temp2
= False
;
16278 PyObject
* obj0
= 0 ;
16279 PyObject
* obj1
= 0 ;
16280 char *kwnames
[] = {
16281 (char *) "config",(char *) "entry", NULL
16284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) goto fail
;
16285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16288 arg2
= wxString_in_helper(obj1
);
16289 if (arg2
== NULL
) SWIG_fail
;
16293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16294 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
16296 wxPyEndAllowThreads(__tstate
);
16297 if (PyErr_Occurred()) SWIG_fail
;
16299 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigPathChanger
, 1);
16314 static PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16315 PyObject
*resultobj
;
16316 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
16317 PyObject
* obj0
= 0 ;
16318 char *kwnames
[] = {
16319 (char *) "self", NULL
16322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigPathChanger",kwnames
,&obj0
)) goto fail
;
16323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigPathChanger
,
16324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16329 wxPyEndAllowThreads(__tstate
);
16330 if (PyErr_Occurred()) SWIG_fail
;
16332 Py_INCREF(Py_None
); resultobj
= Py_None
;
16339 static PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16340 PyObject
*resultobj
;
16341 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
16343 PyObject
* obj0
= 0 ;
16344 char *kwnames
[] = {
16345 (char *) "self", NULL
16348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigPathChanger_Name",kwnames
,&obj0
)) goto fail
;
16349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigPathChanger
,
16350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16354 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
16355 result
= (wxString
*) &_result_ref
;
16358 wxPyEndAllowThreads(__tstate
);
16359 if (PyErr_Occurred()) SWIG_fail
;
16363 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16365 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16374 static PyObject
* ConfigPathChanger_swigregister(PyObject
*self
, PyObject
*args
) {
16376 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16377 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger
, obj
);
16379 return Py_BuildValue((char *)"");
16381 static PyObject
*_wrap_ExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16382 PyObject
*resultobj
;
16383 wxString
*arg1
= 0 ;
16385 bool temp1
= False
;
16386 PyObject
* obj0
= 0 ;
16387 char *kwnames
[] = {
16388 (char *) "sz", NULL
16391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) goto fail
;
16393 arg1
= wxString_in_helper(obj0
);
16394 if (arg1
== NULL
) SWIG_fail
;
16398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16399 result
= wxExpandEnvVars((wxString
const &)*arg1
);
16401 wxPyEndAllowThreads(__tstate
);
16402 if (PyErr_Occurred()) SWIG_fail
;
16406 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16408 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16425 static int _wrap_DateFormatStr_set(PyObject
*_val
) {
16426 PyErr_SetString(PyExc_TypeError
,"Variable DateFormatStr is read-only.");
16431 static PyObject
*_wrap_DateFormatStr_get() {
16436 pyobj
= PyUnicode_FromWideChar((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
16438 pyobj
= PyString_FromStringAndSize((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
16445 static int _wrap_TimeSpanFormatStr_set(PyObject
*_val
) {
16446 PyErr_SetString(PyExc_TypeError
,"Variable TimeSpanFormatStr is read-only.");
16451 static PyObject
*_wrap_TimeSpanFormatStr_get() {
16456 pyobj
= PyUnicode_FromWideChar((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
16458 pyobj
= PyString_FromStringAndSize((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
16465 static PyObject
*_wrap_DateTime_SetCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16466 PyObject
*resultobj
;
16468 PyObject
* obj0
= 0 ;
16469 char *kwnames
[] = {
16470 (char *) "country", NULL
16473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) goto fail
;
16474 arg1
= (wxDateTime::Country
) SWIG_AsInt(obj0
);
16475 if (PyErr_Occurred()) SWIG_fail
;
16477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16478 wxDateTime::SetCountry((wxDateTime::Country
)arg1
);
16480 wxPyEndAllowThreads(__tstate
);
16481 if (PyErr_Occurred()) SWIG_fail
;
16483 Py_INCREF(Py_None
); resultobj
= Py_None
;
16490 static PyObject
*_wrap_DateTime_GetCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16491 PyObject
*resultobj
;
16493 char *kwnames
[] = {
16497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetCountry",kwnames
)) goto fail
;
16499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16500 result
= (int)wxDateTime::GetCountry();
16502 wxPyEndAllowThreads(__tstate
);
16503 if (PyErr_Occurred()) SWIG_fail
;
16505 resultobj
= SWIG_FromInt((int)result
);
16512 static PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16513 PyObject
*resultobj
;
16514 int arg1
= (int) wxDateTime::Country_Default
;
16516 PyObject
* obj0
= 0 ;
16517 char *kwnames
[] = {
16518 (char *) "country", NULL
16521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) goto fail
;
16523 arg1
= (wxDateTime::Country
) SWIG_AsInt(obj0
);
16524 if (PyErr_Occurred()) SWIG_fail
;
16527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16528 result
= (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country
)arg1
);
16530 wxPyEndAllowThreads(__tstate
);
16531 if (PyErr_Occurred()) SWIG_fail
;
16533 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16540 static PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16541 PyObject
*resultobj
;
16542 int arg1
= (int) wxDateTime::Gregorian
;
16544 PyObject
* obj0
= 0 ;
16545 char *kwnames
[] = {
16546 (char *) "cal", NULL
16549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) goto fail
;
16551 arg1
= (wxDateTime::Calendar
) SWIG_AsInt(obj0
);
16552 if (PyErr_Occurred()) SWIG_fail
;
16555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16556 result
= (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar
)arg1
);
16558 wxPyEndAllowThreads(__tstate
);
16559 if (PyErr_Occurred()) SWIG_fail
;
16561 resultobj
= SWIG_FromInt((int)result
);
16568 static PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16569 PyObject
*resultobj
;
16572 PyObject
* obj0
= 0 ;
16573 char *kwnames
[] = {
16574 (char *) "year", NULL
16577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) goto fail
;
16578 arg1
= (int) SWIG_AsInt(obj0
);
16579 if (PyErr_Occurred()) SWIG_fail
;
16581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16582 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
16584 wxPyEndAllowThreads(__tstate
);
16585 if (PyErr_Occurred()) SWIG_fail
;
16587 resultobj
= SWIG_FromInt((int)result
);
16594 static PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16595 PyObject
*resultobj
;
16596 int arg1
= (int) wxDateTime::Gregorian
;
16598 PyObject
* obj0
= 0 ;
16599 char *kwnames
[] = {
16600 (char *) "cal", NULL
16603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",kwnames
,&obj0
)) goto fail
;
16605 arg1
= (wxDateTime::Calendar
) SWIG_AsInt(obj0
);
16606 if (PyErr_Occurred()) SWIG_fail
;
16609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16610 result
= (int)wxDateTime::GetCurrentMonth((wxDateTime::Calendar
)arg1
);
16612 wxPyEndAllowThreads(__tstate
);
16613 if (PyErr_Occurred()) SWIG_fail
;
16615 resultobj
= SWIG_FromInt((int)result
);
16622 static PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16623 PyObject
*resultobj
;
16624 int arg1
= (int) wxDateTime::Inv_Year
;
16625 int arg2
= (int) wxDateTime::Gregorian
;
16627 PyObject
* obj0
= 0 ;
16628 PyObject
* obj1
= 0 ;
16629 char *kwnames
[] = {
16630 (char *) "year",(char *) "cal", NULL
16633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) goto fail
;
16635 arg1
= (int) SWIG_AsInt(obj0
);
16636 if (PyErr_Occurred()) SWIG_fail
;
16639 arg2
= (wxDateTime::Calendar
) SWIG_AsInt(obj1
);
16640 if (PyErr_Occurred()) SWIG_fail
;
16643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16644 result
= (bool)wxDateTime::IsLeapYear(arg1
,(wxDateTime::Calendar
)arg2
);
16646 wxPyEndAllowThreads(__tstate
);
16647 if (PyErr_Occurred()) SWIG_fail
;
16649 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16656 static PyObject
*_wrap_DateTime_GetCentury(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16657 PyObject
*resultobj
;
16658 int arg1
= (int) wxDateTime::Inv_Year
;
16660 PyObject
* obj0
= 0 ;
16661 char *kwnames
[] = {
16662 (char *) "year", NULL
16665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) goto fail
;
16667 arg1
= (int) SWIG_AsInt(obj0
);
16668 if (PyErr_Occurred()) SWIG_fail
;
16671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16672 result
= (int)wxDateTime::GetCentury(arg1
);
16674 wxPyEndAllowThreads(__tstate
);
16675 if (PyErr_Occurred()) SWIG_fail
;
16677 resultobj
= SWIG_FromInt((int)result
);
16684 static PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16685 PyObject
*resultobj
;
16687 int arg2
= (int) wxDateTime::Gregorian
;
16689 PyObject
* obj0
= 0 ;
16690 PyObject
* obj1
= 0 ;
16691 char *kwnames
[] = {
16692 (char *) "year",(char *) "cal", NULL
16695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) goto fail
;
16696 arg1
= (int) SWIG_AsInt(obj0
);
16697 if (PyErr_Occurred()) SWIG_fail
;
16699 arg2
= (wxDateTime::Calendar
) SWIG_AsInt(obj1
);
16700 if (PyErr_Occurred()) SWIG_fail
;
16703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16704 result
= (int)wxDateTime::GetNumberOfDays(arg1
,(wxDateTime::Calendar
)arg2
);
16706 wxPyEndAllowThreads(__tstate
);
16707 if (PyErr_Occurred()) SWIG_fail
;
16709 resultobj
= SWIG_FromInt((int)result
);
16716 static PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16717 PyObject
*resultobj
;
16719 int arg2
= (int) wxDateTime::Inv_Year
;
16720 int arg3
= (int) wxDateTime::Gregorian
;
16722 PyObject
* obj0
= 0 ;
16723 PyObject
* obj1
= 0 ;
16724 PyObject
* obj2
= 0 ;
16725 char *kwnames
[] = {
16726 (char *) "month",(char *) "year",(char *) "cal", NULL
16729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16730 arg1
= (wxDateTime::Month
) SWIG_AsInt(obj0
);
16731 if (PyErr_Occurred()) SWIG_fail
;
16733 arg2
= (int) SWIG_AsInt(obj1
);
16734 if (PyErr_Occurred()) SWIG_fail
;
16737 arg3
= (wxDateTime::Calendar
) SWIG_AsInt(obj2
);
16738 if (PyErr_Occurred()) SWIG_fail
;
16741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16742 result
= (int)wxDateTime::GetNumberOfDays((wxDateTime::Month
)arg1
,arg2
,(wxDateTime::Calendar
)arg3
);
16744 wxPyEndAllowThreads(__tstate
);
16745 if (PyErr_Occurred()) SWIG_fail
;
16747 resultobj
= SWIG_FromInt((int)result
);
16754 static PyObject
*_wrap_DateTime_GetMonthName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16755 PyObject
*resultobj
;
16757 int arg2
= (int) wxDateTime::Name_Full
;
16759 PyObject
* obj0
= 0 ;
16760 PyObject
* obj1
= 0 ;
16761 char *kwnames
[] = {
16762 (char *) "month",(char *) "flags", NULL
16765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) goto fail
;
16766 arg1
= (wxDateTime::Month
) SWIG_AsInt(obj0
);
16767 if (PyErr_Occurred()) SWIG_fail
;
16769 arg2
= (wxDateTime::NameFlags
) SWIG_AsInt(obj1
);
16770 if (PyErr_Occurred()) SWIG_fail
;
16773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16774 result
= wxDateTime::GetMonthName((wxDateTime::Month
)arg1
,(wxDateTime::NameFlags
)arg2
);
16776 wxPyEndAllowThreads(__tstate
);
16777 if (PyErr_Occurred()) SWIG_fail
;
16781 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16783 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16792 static PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16793 PyObject
*resultobj
;
16795 int arg2
= (int) wxDateTime::Name_Full
;
16797 PyObject
* obj0
= 0 ;
16798 PyObject
* obj1
= 0 ;
16799 char *kwnames
[] = {
16800 (char *) "weekday",(char *) "flags", NULL
16803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) goto fail
;
16804 arg1
= (wxDateTime::WeekDay
) SWIG_AsInt(obj0
);
16805 if (PyErr_Occurred()) SWIG_fail
;
16807 arg2
= (wxDateTime::NameFlags
) SWIG_AsInt(obj1
);
16808 if (PyErr_Occurred()) SWIG_fail
;
16811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16812 result
= wxDateTime::GetWeekDayName((wxDateTime::WeekDay
)arg1
,(wxDateTime::NameFlags
)arg2
);
16814 wxPyEndAllowThreads(__tstate
);
16815 if (PyErr_Occurred()) SWIG_fail
;
16819 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16821 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16830 static PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16831 PyObject
*resultobj
;
16832 wxString
*arg1
= (wxString
*) 0 ;
16833 wxString
*arg2
= (wxString
*) 0 ;
16834 bool temp1
= False
;
16835 bool temp2
= False
;
16836 PyObject
* obj0
= 0 ;
16837 PyObject
* obj1
= 0 ;
16838 char *kwnames
[] = {
16839 (char *) "OUTPUT",(char *) "OUTPUT", NULL
16842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetAmPmStrings",kwnames
,&obj0
,&obj1
)) goto fail
;
16844 arg1
= wxString_in_helper(obj0
);
16845 if (arg1
== NULL
) SWIG_fail
;
16849 arg2
= wxString_in_helper(obj1
);
16850 if (arg2
== NULL
) SWIG_fail
;
16854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16855 wxDateTime::GetAmPmStrings(arg1
,arg2
);
16857 wxPyEndAllowThreads(__tstate
);
16858 if (PyErr_Occurred()) SWIG_fail
;
16860 Py_INCREF(Py_None
); resultobj
= Py_None
;
16883 static PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16884 PyObject
*resultobj
;
16885 int arg1
= (int) wxDateTime::Inv_Year
;
16886 int arg2
= (int) wxDateTime::Country_Default
;
16888 PyObject
* obj0
= 0 ;
16889 PyObject
* obj1
= 0 ;
16890 char *kwnames
[] = {
16891 (char *) "year",(char *) "country", NULL
16894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) goto fail
;
16896 arg1
= (int) SWIG_AsInt(obj0
);
16897 if (PyErr_Occurred()) SWIG_fail
;
16900 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
16901 if (PyErr_Occurred()) SWIG_fail
;
16904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16905 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,(wxDateTime::Country
)arg2
);
16907 wxPyEndAllowThreads(__tstate
);
16908 if (PyErr_Occurred()) SWIG_fail
;
16910 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16917 static PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16918 PyObject
*resultobj
;
16919 int arg1
= (int) wxDateTime::Inv_Year
;
16920 int arg2
= (int) wxDateTime::Country_Default
;
16922 PyObject
* obj0
= 0 ;
16923 PyObject
* obj1
= 0 ;
16924 char *kwnames
[] = {
16925 (char *) "year",(char *) "country", NULL
16928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetBeginDST",kwnames
,&obj0
,&obj1
)) goto fail
;
16930 arg1
= (int) SWIG_AsInt(obj0
);
16931 if (PyErr_Occurred()) SWIG_fail
;
16934 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
16935 if (PyErr_Occurred()) SWIG_fail
;
16938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16939 result
= wxDateTime::GetBeginDST(arg1
,(wxDateTime::Country
)arg2
);
16941 wxPyEndAllowThreads(__tstate
);
16942 if (PyErr_Occurred()) SWIG_fail
;
16945 wxDateTime
* resultptr
;
16946 resultptr
= new wxDateTime((wxDateTime
&) result
);
16947 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
16955 static PyObject
*_wrap_DateTime_GetEndDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16956 PyObject
*resultobj
;
16957 int arg1
= (int) wxDateTime::Inv_Year
;
16958 int arg2
= (int) wxDateTime::Country_Default
;
16960 PyObject
* obj0
= 0 ;
16961 PyObject
* obj1
= 0 ;
16962 char *kwnames
[] = {
16963 (char *) "year",(char *) "country", NULL
16966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) goto fail
;
16968 arg1
= (int) SWIG_AsInt(obj0
);
16969 if (PyErr_Occurred()) SWIG_fail
;
16972 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
16973 if (PyErr_Occurred()) SWIG_fail
;
16976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16977 result
= wxDateTime::GetEndDST(arg1
,(wxDateTime::Country
)arg2
);
16979 wxPyEndAllowThreads(__tstate
);
16980 if (PyErr_Occurred()) SWIG_fail
;
16983 wxDateTime
* resultptr
;
16984 resultptr
= new wxDateTime((wxDateTime
&) result
);
16985 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
16993 static PyObject
*_wrap_DateTime_Now(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16994 PyObject
*resultobj
;
16996 char *kwnames
[] = {
17000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Now",kwnames
)) goto fail
;
17002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17003 result
= wxDateTime::Now();
17005 wxPyEndAllowThreads(__tstate
);
17006 if (PyErr_Occurred()) SWIG_fail
;
17009 wxDateTime
* resultptr
;
17010 resultptr
= new wxDateTime((wxDateTime
&) result
);
17011 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17019 static PyObject
*_wrap_DateTime_UNow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17020 PyObject
*resultobj
;
17022 char *kwnames
[] = {
17026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_UNow",kwnames
)) goto fail
;
17028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17029 result
= wxDateTime::UNow();
17031 wxPyEndAllowThreads(__tstate
);
17032 if (PyErr_Occurred()) SWIG_fail
;
17035 wxDateTime
* resultptr
;
17036 resultptr
= new wxDateTime((wxDateTime
&) result
);
17037 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17045 static PyObject
*_wrap_DateTime_Today(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17046 PyObject
*resultobj
;
17048 char *kwnames
[] = {
17052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Today",kwnames
)) goto fail
;
17054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17055 result
= wxDateTime::Today();
17057 wxPyEndAllowThreads(__tstate
);
17058 if (PyErr_Occurred()) SWIG_fail
;
17061 wxDateTime
* resultptr
;
17062 resultptr
= new wxDateTime((wxDateTime
&) result
);
17063 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17071 static PyObject
*_wrap_new_DateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17072 PyObject
*resultobj
;
17073 wxDateTime
*result
;
17074 char *kwnames
[] = {
17078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DateTime",kwnames
)) goto fail
;
17080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17081 result
= (wxDateTime
*)new wxDateTime();
17083 wxPyEndAllowThreads(__tstate
);
17084 if (PyErr_Occurred()) SWIG_fail
;
17086 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17093 static PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17094 PyObject
*resultobj
;
17096 wxDateTime
*result
;
17097 PyObject
* obj0
= 0 ;
17098 char *kwnames
[] = {
17099 (char *) "timet", NULL
17102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) goto fail
;
17103 arg1
= (time_t) SWIG_AsUnsignedInt(obj0
);
17104 if (PyErr_Occurred()) SWIG_fail
;
17106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17107 result
= (wxDateTime
*)new wxDateTime(arg1
);
17109 wxPyEndAllowThreads(__tstate
);
17110 if (PyErr_Occurred()) SWIG_fail
;
17112 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17119 static PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17120 PyObject
*resultobj
;
17122 wxDateTime
*result
;
17123 PyObject
* obj0
= 0 ;
17124 char *kwnames
[] = {
17125 (char *) "jdn", NULL
17128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) goto fail
;
17129 arg1
= (double) SWIG_AsDouble(obj0
);
17130 if (PyErr_Occurred()) SWIG_fail
;
17132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17133 result
= (wxDateTime
*)new wxDateTime(arg1
);
17135 wxPyEndAllowThreads(__tstate
);
17136 if (PyErr_Occurred()) SWIG_fail
;
17138 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17145 static PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17146 PyObject
*resultobj
;
17148 int arg2
= (int) 0 ;
17149 int arg3
= (int) 0 ;
17150 int arg4
= (int) 0 ;
17151 wxDateTime
*result
;
17152 PyObject
* obj0
= 0 ;
17153 PyObject
* obj1
= 0 ;
17154 PyObject
* obj2
= 0 ;
17155 PyObject
* obj3
= 0 ;
17156 char *kwnames
[] = {
17157 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17161 arg1
= (int) SWIG_AsInt(obj0
);
17162 if (PyErr_Occurred()) SWIG_fail
;
17164 arg2
= (int) SWIG_AsInt(obj1
);
17165 if (PyErr_Occurred()) SWIG_fail
;
17168 arg3
= (int) SWIG_AsInt(obj2
);
17169 if (PyErr_Occurred()) SWIG_fail
;
17172 arg4
= (int) SWIG_AsInt(obj3
);
17173 if (PyErr_Occurred()) SWIG_fail
;
17176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17177 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
17179 wxPyEndAllowThreads(__tstate
);
17180 if (PyErr_Occurred()) SWIG_fail
;
17182 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17189 static PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17190 PyObject
*resultobj
;
17192 int arg2
= (int) wxDateTime::Inv_Month
;
17193 int arg3
= (int) wxDateTime::Inv_Year
;
17194 int arg4
= (int) 0 ;
17195 int arg5
= (int) 0 ;
17196 int arg6
= (int) 0 ;
17197 int arg7
= (int) 0 ;
17198 wxDateTime
*result
;
17199 PyObject
* obj0
= 0 ;
17200 PyObject
* obj1
= 0 ;
17201 PyObject
* obj2
= 0 ;
17202 PyObject
* obj3
= 0 ;
17203 PyObject
* obj4
= 0 ;
17204 PyObject
* obj5
= 0 ;
17205 PyObject
* obj6
= 0 ;
17206 char *kwnames
[] = {
17207 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17211 arg1
= (int) SWIG_AsInt(obj0
);
17212 if (PyErr_Occurred()) SWIG_fail
;
17214 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
17215 if (PyErr_Occurred()) SWIG_fail
;
17218 arg3
= (int) SWIG_AsInt(obj2
);
17219 if (PyErr_Occurred()) SWIG_fail
;
17222 arg4
= (int) SWIG_AsInt(obj3
);
17223 if (PyErr_Occurred()) SWIG_fail
;
17226 arg5
= (int) SWIG_AsInt(obj4
);
17227 if (PyErr_Occurred()) SWIG_fail
;
17230 arg6
= (int) SWIG_AsInt(obj5
);
17231 if (PyErr_Occurred()) SWIG_fail
;
17234 arg7
= (int) SWIG_AsInt(obj6
);
17235 if (PyErr_Occurred()) SWIG_fail
;
17238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17239 result
= (wxDateTime
*)new wxDateTime(arg1
,(wxDateTime::Month
)arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
17241 wxPyEndAllowThreads(__tstate
);
17242 if (PyErr_Occurred()) SWIG_fail
;
17244 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17251 static PyObject
*_wrap_delete_DateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17252 PyObject
*resultobj
;
17253 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17254 PyObject
* obj0
= 0 ;
17255 char *kwnames
[] = {
17256 (char *) "self", NULL
17259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateTime",kwnames
,&obj0
)) goto fail
;
17260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17266 wxPyEndAllowThreads(__tstate
);
17267 if (PyErr_Occurred()) SWIG_fail
;
17269 Py_INCREF(Py_None
); resultobj
= Py_None
;
17276 static PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17277 PyObject
*resultobj
;
17278 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17279 wxDateTime
*result
;
17280 PyObject
* obj0
= 0 ;
17281 char *kwnames
[] = {
17282 (char *) "self", NULL
17285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetToCurrent",kwnames
,&obj0
)) goto fail
;
17286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17291 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
17292 result
= (wxDateTime
*) &_result_ref
;
17295 wxPyEndAllowThreads(__tstate
);
17296 if (PyErr_Occurred()) SWIG_fail
;
17298 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17305 static PyObject
*_wrap_DateTime_SetTimeT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17306 PyObject
*resultobj
;
17307 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17309 wxDateTime
*result
;
17310 PyObject
* obj0
= 0 ;
17311 PyObject
* obj1
= 0 ;
17312 char *kwnames
[] = {
17313 (char *) "self",(char *) "timet", NULL
17316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) goto fail
;
17317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17319 arg2
= (time_t) SWIG_AsUnsignedInt(obj1
);
17320 if (PyErr_Occurred()) SWIG_fail
;
17322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17324 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
17325 result
= (wxDateTime
*) &_result_ref
;
17328 wxPyEndAllowThreads(__tstate
);
17329 if (PyErr_Occurred()) SWIG_fail
;
17331 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17338 static PyObject
*_wrap_DateTime_SetJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17339 PyObject
*resultobj
;
17340 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17342 wxDateTime
*result
;
17343 PyObject
* obj0
= 0 ;
17344 PyObject
* obj1
= 0 ;
17345 char *kwnames
[] = {
17346 (char *) "self",(char *) "jdn", NULL
17349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) goto fail
;
17350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17352 arg2
= (double) SWIG_AsDouble(obj1
);
17353 if (PyErr_Occurred()) SWIG_fail
;
17355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17357 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
17358 result
= (wxDateTime
*) &_result_ref
;
17361 wxPyEndAllowThreads(__tstate
);
17362 if (PyErr_Occurred()) SWIG_fail
;
17364 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17371 static PyObject
*_wrap_DateTime_SetHMS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17372 PyObject
*resultobj
;
17373 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17375 int arg3
= (int) 0 ;
17376 int arg4
= (int) 0 ;
17377 int arg5
= (int) 0 ;
17378 wxDateTime
*result
;
17379 PyObject
* obj0
= 0 ;
17380 PyObject
* obj1
= 0 ;
17381 PyObject
* obj2
= 0 ;
17382 PyObject
* obj3
= 0 ;
17383 PyObject
* obj4
= 0 ;
17384 char *kwnames
[] = {
17385 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17391 arg2
= (int) SWIG_AsInt(obj1
);
17392 if (PyErr_Occurred()) SWIG_fail
;
17394 arg3
= (int) SWIG_AsInt(obj2
);
17395 if (PyErr_Occurred()) SWIG_fail
;
17398 arg4
= (int) SWIG_AsInt(obj3
);
17399 if (PyErr_Occurred()) SWIG_fail
;
17402 arg5
= (int) SWIG_AsInt(obj4
);
17403 if (PyErr_Occurred()) SWIG_fail
;
17406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17408 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
17409 result
= (wxDateTime
*) &_result_ref
;
17412 wxPyEndAllowThreads(__tstate
);
17413 if (PyErr_Occurred()) SWIG_fail
;
17415 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17422 static PyObject
*_wrap_DateTime_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17423 PyObject
*resultobj
;
17424 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17426 int arg3
= (int) wxDateTime::Inv_Month
;
17427 int arg4
= (int) wxDateTime::Inv_Year
;
17428 int arg5
= (int) 0 ;
17429 int arg6
= (int) 0 ;
17430 int arg7
= (int) 0 ;
17431 int arg8
= (int) 0 ;
17432 wxDateTime
*result
;
17433 PyObject
* obj0
= 0 ;
17434 PyObject
* obj1
= 0 ;
17435 PyObject
* obj2
= 0 ;
17436 PyObject
* obj3
= 0 ;
17437 PyObject
* obj4
= 0 ;
17438 PyObject
* obj5
= 0 ;
17439 PyObject
* obj6
= 0 ;
17440 PyObject
* obj7
= 0 ;
17441 char *kwnames
[] = {
17442 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
17446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17448 arg2
= (int) SWIG_AsInt(obj1
);
17449 if (PyErr_Occurred()) SWIG_fail
;
17451 arg3
= (wxDateTime::Month
) SWIG_AsInt(obj2
);
17452 if (PyErr_Occurred()) SWIG_fail
;
17455 arg4
= (int) SWIG_AsInt(obj3
);
17456 if (PyErr_Occurred()) SWIG_fail
;
17459 arg5
= (int) SWIG_AsInt(obj4
);
17460 if (PyErr_Occurred()) SWIG_fail
;
17463 arg6
= (int) SWIG_AsInt(obj5
);
17464 if (PyErr_Occurred()) SWIG_fail
;
17467 arg7
= (int) SWIG_AsInt(obj6
);
17468 if (PyErr_Occurred()) SWIG_fail
;
17471 arg8
= (int) SWIG_AsInt(obj7
);
17472 if (PyErr_Occurred()) SWIG_fail
;
17475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17477 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,(wxDateTime::Month
)arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
17478 result
= (wxDateTime
*) &_result_ref
;
17481 wxPyEndAllowThreads(__tstate
);
17482 if (PyErr_Occurred()) SWIG_fail
;
17484 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17491 static PyObject
*_wrap_DateTime_ResetTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17492 PyObject
*resultobj
;
17493 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17494 wxDateTime
*result
;
17495 PyObject
* obj0
= 0 ;
17496 char *kwnames
[] = {
17497 (char *) "self", NULL
17500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ResetTime",kwnames
,&obj0
)) goto fail
;
17501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17506 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
17507 result
= (wxDateTime
*) &_result_ref
;
17510 wxPyEndAllowThreads(__tstate
);
17511 if (PyErr_Occurred()) SWIG_fail
;
17513 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17520 static PyObject
*_wrap_DateTime_SetYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17521 PyObject
*resultobj
;
17522 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17524 wxDateTime
*result
;
17525 PyObject
* obj0
= 0 ;
17526 PyObject
* obj1
= 0 ;
17527 char *kwnames
[] = {
17528 (char *) "self",(char *) "year", NULL
17531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
17532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17534 arg2
= (int) SWIG_AsInt(obj1
);
17535 if (PyErr_Occurred()) SWIG_fail
;
17537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17539 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
17540 result
= (wxDateTime
*) &_result_ref
;
17543 wxPyEndAllowThreads(__tstate
);
17544 if (PyErr_Occurred()) SWIG_fail
;
17546 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17553 static PyObject
*_wrap_DateTime_SetMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17554 PyObject
*resultobj
;
17555 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17557 wxDateTime
*result
;
17558 PyObject
* obj0
= 0 ;
17559 PyObject
* obj1
= 0 ;
17560 char *kwnames
[] = {
17561 (char *) "self",(char *) "month", NULL
17564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
17565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17567 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
17568 if (PyErr_Occurred()) SWIG_fail
;
17570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17572 wxDateTime
&_result_ref
= (arg1
)->SetMonth((wxDateTime::Month
)arg2
);
17573 result
= (wxDateTime
*) &_result_ref
;
17576 wxPyEndAllowThreads(__tstate
);
17577 if (PyErr_Occurred()) SWIG_fail
;
17579 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17586 static PyObject
*_wrap_DateTime_SetDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17587 PyObject
*resultobj
;
17588 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17590 wxDateTime
*result
;
17591 PyObject
* obj0
= 0 ;
17592 PyObject
* obj1
= 0 ;
17593 char *kwnames
[] = {
17594 (char *) "self",(char *) "day", NULL
17597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
17598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17600 arg2
= (int) SWIG_AsInt(obj1
);
17601 if (PyErr_Occurred()) SWIG_fail
;
17603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17605 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
17606 result
= (wxDateTime
*) &_result_ref
;
17609 wxPyEndAllowThreads(__tstate
);
17610 if (PyErr_Occurred()) SWIG_fail
;
17612 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17619 static PyObject
*_wrap_DateTime_SetHour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17620 PyObject
*resultobj
;
17621 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17623 wxDateTime
*result
;
17624 PyObject
* obj0
= 0 ;
17625 PyObject
* obj1
= 0 ;
17626 char *kwnames
[] = {
17627 (char *) "self",(char *) "hour", NULL
17630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
17631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17633 arg2
= (int) SWIG_AsInt(obj1
);
17634 if (PyErr_Occurred()) SWIG_fail
;
17636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17638 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
17639 result
= (wxDateTime
*) &_result_ref
;
17642 wxPyEndAllowThreads(__tstate
);
17643 if (PyErr_Occurred()) SWIG_fail
;
17645 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17652 static PyObject
*_wrap_DateTime_SetMinute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17653 PyObject
*resultobj
;
17654 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17656 wxDateTime
*result
;
17657 PyObject
* obj0
= 0 ;
17658 PyObject
* obj1
= 0 ;
17659 char *kwnames
[] = {
17660 (char *) "self",(char *) "minute", NULL
17663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
17664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17666 arg2
= (int) SWIG_AsInt(obj1
);
17667 if (PyErr_Occurred()) SWIG_fail
;
17669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17671 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
17672 result
= (wxDateTime
*) &_result_ref
;
17675 wxPyEndAllowThreads(__tstate
);
17676 if (PyErr_Occurred()) SWIG_fail
;
17678 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17685 static PyObject
*_wrap_DateTime_SetSecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17686 PyObject
*resultobj
;
17687 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17689 wxDateTime
*result
;
17690 PyObject
* obj0
= 0 ;
17691 PyObject
* obj1
= 0 ;
17692 char *kwnames
[] = {
17693 (char *) "self",(char *) "second", NULL
17696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
17697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17699 arg2
= (int) SWIG_AsInt(obj1
);
17700 if (PyErr_Occurred()) SWIG_fail
;
17702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17704 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
17705 result
= (wxDateTime
*) &_result_ref
;
17708 wxPyEndAllowThreads(__tstate
);
17709 if (PyErr_Occurred()) SWIG_fail
;
17711 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17718 static PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17719 PyObject
*resultobj
;
17720 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17722 wxDateTime
*result
;
17723 PyObject
* obj0
= 0 ;
17724 PyObject
* obj1
= 0 ;
17725 char *kwnames
[] = {
17726 (char *) "self",(char *) "millisecond", NULL
17729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
17730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17732 arg2
= (int) SWIG_AsInt(obj1
);
17733 if (PyErr_Occurred()) SWIG_fail
;
17735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17737 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
17738 result
= (wxDateTime
*) &_result_ref
;
17741 wxPyEndAllowThreads(__tstate
);
17742 if (PyErr_Occurred()) SWIG_fail
;
17744 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17751 static PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17752 PyObject
*resultobj
;
17753 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17755 int arg3
= (int) wxDateTime::Monday_First
;
17756 wxDateTime
*result
;
17757 PyObject
* obj0
= 0 ;
17758 PyObject
* obj1
= 0 ;
17759 PyObject
* obj2
= 0 ;
17760 char *kwnames
[] = {
17761 (char *) "self",(char *) "weekday",(char *) "flags", NULL
17764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17767 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
17768 if (PyErr_Occurred()) SWIG_fail
;
17770 arg3
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj2
);
17771 if (PyErr_Occurred()) SWIG_fail
;
17774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17776 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
17777 result
= (wxDateTime
*) &_result_ref
;
17780 wxPyEndAllowThreads(__tstate
);
17781 if (PyErr_Occurred()) SWIG_fail
;
17783 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17790 static PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17791 PyObject
*resultobj
;
17792 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17794 int arg3
= (int) wxDateTime::Monday_First
;
17796 PyObject
* obj0
= 0 ;
17797 PyObject
* obj1
= 0 ;
17798 PyObject
* obj2
= 0 ;
17799 char *kwnames
[] = {
17800 (char *) "self",(char *) "weekday",(char *) "flags", NULL
17803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17806 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
17807 if (PyErr_Occurred()) SWIG_fail
;
17809 arg3
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj2
);
17810 if (PyErr_Occurred()) SWIG_fail
;
17813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17814 result
= (arg1
)->GetWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
17816 wxPyEndAllowThreads(__tstate
);
17817 if (PyErr_Occurred()) SWIG_fail
;
17820 wxDateTime
* resultptr
;
17821 resultptr
= new wxDateTime((wxDateTime
&) result
);
17822 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17830 static PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17831 PyObject
*resultobj
;
17832 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17834 wxDateTime
*result
;
17835 PyObject
* obj0
= 0 ;
17836 PyObject
* obj1
= 0 ;
17837 char *kwnames
[] = {
17838 (char *) "self",(char *) "weekday", NULL
17841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
17842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17844 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
17845 if (PyErr_Occurred()) SWIG_fail
;
17847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17849 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay((wxDateTime::WeekDay
)arg2
);
17850 result
= (wxDateTime
*) &_result_ref
;
17853 wxPyEndAllowThreads(__tstate
);
17854 if (PyErr_Occurred()) SWIG_fail
;
17856 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17863 static PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17864 PyObject
*resultobj
;
17865 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17868 PyObject
* obj0
= 0 ;
17869 PyObject
* obj1
= 0 ;
17870 char *kwnames
[] = {
17871 (char *) "self",(char *) "weekday", NULL
17874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
17875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17877 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
17878 if (PyErr_Occurred()) SWIG_fail
;
17880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17881 result
= (arg1
)->GetNextWeekDay((wxDateTime::WeekDay
)arg2
);
17883 wxPyEndAllowThreads(__tstate
);
17884 if (PyErr_Occurred()) SWIG_fail
;
17887 wxDateTime
* resultptr
;
17888 resultptr
= new wxDateTime((wxDateTime
&) result
);
17889 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17897 static PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17898 PyObject
*resultobj
;
17899 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17901 wxDateTime
*result
;
17902 PyObject
* obj0
= 0 ;
17903 PyObject
* obj1
= 0 ;
17904 char *kwnames
[] = {
17905 (char *) "self",(char *) "weekday", NULL
17908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
17909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17911 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
17912 if (PyErr_Occurred()) SWIG_fail
;
17914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17916 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay((wxDateTime::WeekDay
)arg2
);
17917 result
= (wxDateTime
*) &_result_ref
;
17920 wxPyEndAllowThreads(__tstate
);
17921 if (PyErr_Occurred()) SWIG_fail
;
17923 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17930 static PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17931 PyObject
*resultobj
;
17932 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17935 PyObject
* obj0
= 0 ;
17936 PyObject
* obj1
= 0 ;
17937 char *kwnames
[] = {
17938 (char *) "self",(char *) "weekday", NULL
17941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
17942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17944 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
17945 if (PyErr_Occurred()) SWIG_fail
;
17947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17948 result
= (arg1
)->GetPrevWeekDay((wxDateTime::WeekDay
)arg2
);
17950 wxPyEndAllowThreads(__tstate
);
17951 if (PyErr_Occurred()) SWIG_fail
;
17954 wxDateTime
* resultptr
;
17955 resultptr
= new wxDateTime((wxDateTime
&) result
);
17956 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17964 static PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17965 PyObject
*resultobj
;
17966 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17968 int arg3
= (int) 1 ;
17969 int arg4
= (int) wxDateTime::Inv_Month
;
17970 int arg5
= (int) wxDateTime::Inv_Year
;
17972 PyObject
* obj0
= 0 ;
17973 PyObject
* obj1
= 0 ;
17974 PyObject
* obj2
= 0 ;
17975 PyObject
* obj3
= 0 ;
17976 PyObject
* obj4
= 0 ;
17977 char *kwnames
[] = {
17978 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
17981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17984 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
17985 if (PyErr_Occurred()) SWIG_fail
;
17987 arg3
= (int) SWIG_AsInt(obj2
);
17988 if (PyErr_Occurred()) SWIG_fail
;
17991 arg4
= (wxDateTime::Month
) SWIG_AsInt(obj3
);
17992 if (PyErr_Occurred()) SWIG_fail
;
17995 arg5
= (int) SWIG_AsInt(obj4
);
17996 if (PyErr_Occurred()) SWIG_fail
;
17999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18000 result
= (bool)(arg1
)->SetToWeekDay((wxDateTime::WeekDay
)arg2
,arg3
,(wxDateTime::Month
)arg4
,arg5
);
18002 wxPyEndAllowThreads(__tstate
);
18003 if (PyErr_Occurred()) SWIG_fail
;
18005 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18012 static PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18013 PyObject
*resultobj
;
18014 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18016 int arg3
= (int) wxDateTime::Inv_Month
;
18017 int arg4
= (int) wxDateTime::Inv_Year
;
18019 PyObject
* obj0
= 0 ;
18020 PyObject
* obj1
= 0 ;
18021 PyObject
* obj2
= 0 ;
18022 PyObject
* obj3
= 0 ;
18023 char *kwnames
[] = {
18024 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18030 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18031 if (PyErr_Occurred()) SWIG_fail
;
18033 arg3
= (wxDateTime::Month
) SWIG_AsInt(obj2
);
18034 if (PyErr_Occurred()) SWIG_fail
;
18037 arg4
= (int) SWIG_AsInt(obj3
);
18038 if (PyErr_Occurred()) SWIG_fail
;
18041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18042 result
= (bool)(arg1
)->SetToLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
18044 wxPyEndAllowThreads(__tstate
);
18045 if (PyErr_Occurred()) SWIG_fail
;
18047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18054 static PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18055 PyObject
*resultobj
;
18056 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18058 int arg3
= (int) wxDateTime::Inv_Month
;
18059 int arg4
= (int) wxDateTime::Inv_Year
;
18061 PyObject
* obj0
= 0 ;
18062 PyObject
* obj1
= 0 ;
18063 PyObject
* obj2
= 0 ;
18064 PyObject
* obj3
= 0 ;
18065 char *kwnames
[] = {
18066 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18072 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18073 if (PyErr_Occurred()) SWIG_fail
;
18075 arg3
= (wxDateTime::Month
) SWIG_AsInt(obj2
);
18076 if (PyErr_Occurred()) SWIG_fail
;
18079 arg4
= (int) SWIG_AsInt(obj3
);
18080 if (PyErr_Occurred()) SWIG_fail
;
18083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18084 result
= (arg1
)->GetLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
18086 wxPyEndAllowThreads(__tstate
);
18087 if (PyErr_Occurred()) SWIG_fail
;
18090 wxDateTime
* resultptr
;
18091 resultptr
= new wxDateTime((wxDateTime
&) result
);
18092 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18100 static PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18101 PyObject
*resultobj
;
18102 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18104 int arg3
= (int) wxDateTime::Mon
;
18105 int arg4
= (int) wxDateTime::Monday_First
;
18107 PyObject
* obj0
= 0 ;
18108 PyObject
* obj1
= 0 ;
18109 PyObject
* obj2
= 0 ;
18110 PyObject
* obj3
= 0 ;
18111 char *kwnames
[] = {
18112 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18118 arg2
= (int) SWIG_AsInt(obj1
);
18119 if (PyErr_Occurred()) SWIG_fail
;
18121 arg3
= (wxDateTime::WeekDay
) SWIG_AsInt(obj2
);
18122 if (PyErr_Occurred()) SWIG_fail
;
18125 arg4
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj3
);
18126 if (PyErr_Occurred()) SWIG_fail
;
18129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18130 result
= (bool)(arg1
)->SetToTheWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
18132 wxPyEndAllowThreads(__tstate
);
18133 if (PyErr_Occurred()) SWIG_fail
;
18135 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18142 static PyObject
*_wrap_DateTime_GetWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18143 PyObject
*resultobj
;
18144 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18146 int arg3
= (int) wxDateTime::Mon
;
18147 int arg4
= (int) wxDateTime::Monday_First
;
18149 PyObject
* obj0
= 0 ;
18150 PyObject
* obj1
= 0 ;
18151 PyObject
* obj2
= 0 ;
18152 PyObject
* obj3
= 0 ;
18153 char *kwnames
[] = {
18154 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18160 arg2
= (int) SWIG_AsInt(obj1
);
18161 if (PyErr_Occurred()) SWIG_fail
;
18163 arg3
= (wxDateTime::WeekDay
) SWIG_AsInt(obj2
);
18164 if (PyErr_Occurred()) SWIG_fail
;
18167 arg4
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj3
);
18168 if (PyErr_Occurred()) SWIG_fail
;
18171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18172 result
= (arg1
)->GetWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
18174 wxPyEndAllowThreads(__tstate
);
18175 if (PyErr_Occurred()) SWIG_fail
;
18178 wxDateTime
* resultptr
;
18179 resultptr
= new wxDateTime((wxDateTime
&) result
);
18180 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18188 static PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18189 PyObject
*resultobj
;
18190 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18191 int arg2
= (int) wxDateTime::Inv_Month
;
18192 int arg3
= (int) wxDateTime::Inv_Year
;
18193 wxDateTime
*result
;
18194 PyObject
* obj0
= 0 ;
18195 PyObject
* obj1
= 0 ;
18196 PyObject
* obj2
= 0 ;
18197 char *kwnames
[] = {
18198 (char *) "self",(char *) "month",(char *) "year", NULL
18201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18205 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
18206 if (PyErr_Occurred()) SWIG_fail
;
18209 arg3
= (int) SWIG_AsInt(obj2
);
18210 if (PyErr_Occurred()) SWIG_fail
;
18213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18215 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
18216 result
= (wxDateTime
*) &_result_ref
;
18219 wxPyEndAllowThreads(__tstate
);
18220 if (PyErr_Occurred()) SWIG_fail
;
18222 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18229 static PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18230 PyObject
*resultobj
;
18231 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18232 int arg2
= (int) wxDateTime::Inv_Month
;
18233 int arg3
= (int) wxDateTime::Inv_Year
;
18235 PyObject
* obj0
= 0 ;
18236 PyObject
* obj1
= 0 ;
18237 PyObject
* obj2
= 0 ;
18238 char *kwnames
[] = {
18239 (char *) "self",(char *) "month",(char *) "year", NULL
18242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18246 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
18247 if (PyErr_Occurred()) SWIG_fail
;
18250 arg3
= (int) SWIG_AsInt(obj2
);
18251 if (PyErr_Occurred()) SWIG_fail
;
18254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18255 result
= (arg1
)->GetLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
18257 wxPyEndAllowThreads(__tstate
);
18258 if (PyErr_Occurred()) SWIG_fail
;
18261 wxDateTime
* resultptr
;
18262 resultptr
= new wxDateTime((wxDateTime
&) result
);
18263 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18271 static PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18272 PyObject
*resultobj
;
18273 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18275 wxDateTime
*result
;
18276 PyObject
* obj0
= 0 ;
18277 PyObject
* obj1
= 0 ;
18278 char *kwnames
[] = {
18279 (char *) "self",(char *) "yday", NULL
18282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18285 arg2
= (int) SWIG_AsInt(obj1
);
18286 if (PyErr_Occurred()) SWIG_fail
;
18288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18290 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
18291 result
= (wxDateTime
*) &_result_ref
;
18294 wxPyEndAllowThreads(__tstate
);
18295 if (PyErr_Occurred()) SWIG_fail
;
18297 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18304 static PyObject
*_wrap_DateTime_GetYearDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18305 PyObject
*resultobj
;
18306 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18309 PyObject
* obj0
= 0 ;
18310 PyObject
* obj1
= 0 ;
18311 char *kwnames
[] = {
18312 (char *) "self",(char *) "yday", NULL
18315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18318 arg2
= (int) SWIG_AsInt(obj1
);
18319 if (PyErr_Occurred()) SWIG_fail
;
18321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18322 result
= (arg1
)->GetYearDay(arg2
);
18324 wxPyEndAllowThreads(__tstate
);
18325 if (PyErr_Occurred()) SWIG_fail
;
18328 wxDateTime
* resultptr
;
18329 resultptr
= new wxDateTime((wxDateTime
&) result
);
18330 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18338 static PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18339 PyObject
*resultobj
;
18340 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18342 PyObject
* obj0
= 0 ;
18343 char *kwnames
[] = {
18344 (char *) "self", NULL
18347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJulianDayNumber",kwnames
,&obj0
)) goto fail
;
18348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18352 result
= (double)(arg1
)->GetJulianDayNumber();
18354 wxPyEndAllowThreads(__tstate
);
18355 if (PyErr_Occurred()) SWIG_fail
;
18357 resultobj
= SWIG_FromDouble((double)result
);
18364 static PyObject
*_wrap_DateTime_GetJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18365 PyObject
*resultobj
;
18366 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18368 PyObject
* obj0
= 0 ;
18369 char *kwnames
[] = {
18370 (char *) "self", NULL
18373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJDN",kwnames
,&obj0
)) goto fail
;
18374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18378 result
= (double)(arg1
)->GetJDN();
18380 wxPyEndAllowThreads(__tstate
);
18381 if (PyErr_Occurred()) SWIG_fail
;
18383 resultobj
= SWIG_FromDouble((double)result
);
18390 static PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18391 PyObject
*resultobj
;
18392 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18394 PyObject
* obj0
= 0 ;
18395 char *kwnames
[] = {
18396 (char *) "self", NULL
18399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames
,&obj0
)) goto fail
;
18400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18404 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
18406 wxPyEndAllowThreads(__tstate
);
18407 if (PyErr_Occurred()) SWIG_fail
;
18409 resultobj
= SWIG_FromDouble((double)result
);
18416 static PyObject
*_wrap_DateTime_GetMJD(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18417 PyObject
*resultobj
;
18418 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18420 PyObject
* obj0
= 0 ;
18421 char *kwnames
[] = {
18422 (char *) "self", NULL
18425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetMJD",kwnames
,&obj0
)) goto fail
;
18426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18430 result
= (double)(arg1
)->GetMJD();
18432 wxPyEndAllowThreads(__tstate
);
18433 if (PyErr_Occurred()) SWIG_fail
;
18435 resultobj
= SWIG_FromDouble((double)result
);
18442 static PyObject
*_wrap_DateTime_GetRataDie(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18443 PyObject
*resultobj
;
18444 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18446 PyObject
* obj0
= 0 ;
18447 char *kwnames
[] = {
18448 (char *) "self", NULL
18451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetRataDie",kwnames
,&obj0
)) goto fail
;
18452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18456 result
= (double)(arg1
)->GetRataDie();
18458 wxPyEndAllowThreads(__tstate
);
18459 if (PyErr_Occurred()) SWIG_fail
;
18461 resultobj
= SWIG_FromDouble((double)result
);
18468 static PyObject
*_wrap_DateTime_ToTimezone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18469 PyObject
*resultobj
;
18470 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18471 wxDateTime::TimeZone
*arg2
= 0 ;
18472 bool arg3
= (bool) False
;
18474 bool temp2
= False
;
18475 PyObject
* obj0
= 0 ;
18476 PyObject
* obj1
= 0 ;
18477 PyObject
* obj2
= 0 ;
18478 char *kwnames
[] = {
18479 (char *) "self",(char *) "tz",(char *) "noDST", NULL
18482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18486 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18490 arg3
= (bool) SWIG_AsBool(obj2
);
18491 if (PyErr_Occurred()) SWIG_fail
;
18494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18495 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
18497 wxPyEndAllowThreads(__tstate
);
18498 if (PyErr_Occurred()) SWIG_fail
;
18501 wxDateTime
* resultptr
;
18502 resultptr
= new wxDateTime((wxDateTime
&) result
);
18503 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18506 if (temp2
) delete arg2
;
18511 if (temp2
) delete arg2
;
18517 static PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18518 PyObject
*resultobj
;
18519 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18520 wxDateTime::TimeZone
*arg2
= 0 ;
18521 bool arg3
= (bool) False
;
18522 wxDateTime
*result
;
18523 bool temp2
= False
;
18524 PyObject
* obj0
= 0 ;
18525 PyObject
* obj1
= 0 ;
18526 PyObject
* obj2
= 0 ;
18527 char *kwnames
[] = {
18528 (char *) "self",(char *) "tz",(char *) "noDST", NULL
18531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18535 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18539 arg3
= (bool) SWIG_AsBool(obj2
);
18540 if (PyErr_Occurred()) SWIG_fail
;
18543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18545 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
18546 result
= (wxDateTime
*) &_result_ref
;
18549 wxPyEndAllowThreads(__tstate
);
18550 if (PyErr_Occurred()) SWIG_fail
;
18552 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18554 if (temp2
) delete arg2
;
18559 if (temp2
) delete arg2
;
18565 static PyObject
*_wrap_DateTime_ToGMT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18566 PyObject
*resultobj
;
18567 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18568 bool arg2
= (bool) False
;
18570 PyObject
* obj0
= 0 ;
18571 PyObject
* obj1
= 0 ;
18572 char *kwnames
[] = {
18573 (char *) "self",(char *) "noDST", NULL
18576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
18577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18580 arg2
= (bool) SWIG_AsBool(obj1
);
18581 if (PyErr_Occurred()) SWIG_fail
;
18584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18585 result
= (arg1
)->ToGMT(arg2
);
18587 wxPyEndAllowThreads(__tstate
);
18588 if (PyErr_Occurred()) SWIG_fail
;
18591 wxDateTime
* resultptr
;
18592 resultptr
= new wxDateTime((wxDateTime
&) result
);
18593 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18601 static PyObject
*_wrap_DateTime_MakeGMT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18602 PyObject
*resultobj
;
18603 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18604 bool arg2
= (bool) False
;
18605 wxDateTime
*result
;
18606 PyObject
* obj0
= 0 ;
18607 PyObject
* obj1
= 0 ;
18608 char *kwnames
[] = {
18609 (char *) "self",(char *) "noDST", NULL
18612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
18613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18616 arg2
= (bool) SWIG_AsBool(obj1
);
18617 if (PyErr_Occurred()) SWIG_fail
;
18620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18622 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
18623 result
= (wxDateTime
*) &_result_ref
;
18626 wxPyEndAllowThreads(__tstate
);
18627 if (PyErr_Occurred()) SWIG_fail
;
18629 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18636 static PyObject
*_wrap_DateTime_IsDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18637 PyObject
*resultobj
;
18638 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18639 int arg2
= (int) wxDateTime::Country_Default
;
18641 PyObject
* obj0
= 0 ;
18642 PyObject
* obj1
= 0 ;
18643 char *kwnames
[] = {
18644 (char *) "self",(char *) "country", NULL
18647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) goto fail
;
18648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18651 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
18652 if (PyErr_Occurred()) SWIG_fail
;
18655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18656 result
= (int)(arg1
)->IsDST((wxDateTime::Country
)arg2
);
18658 wxPyEndAllowThreads(__tstate
);
18659 if (PyErr_Occurred()) SWIG_fail
;
18661 resultobj
= SWIG_FromInt((int)result
);
18668 static PyObject
*_wrap_DateTime_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18669 PyObject
*resultobj
;
18670 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18672 PyObject
* obj0
= 0 ;
18673 char *kwnames
[] = {
18674 (char *) "self", NULL
18677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_IsValid",kwnames
,&obj0
)) goto fail
;
18678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18682 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
18684 wxPyEndAllowThreads(__tstate
);
18685 if (PyErr_Occurred()) SWIG_fail
;
18687 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18694 static PyObject
*_wrap_DateTime_GetTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18695 PyObject
*resultobj
;
18696 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18698 PyObject
* obj0
= 0 ;
18699 char *kwnames
[] = {
18700 (char *) "self", NULL
18703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetTicks",kwnames
,&obj0
)) goto fail
;
18704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18708 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
18710 wxPyEndAllowThreads(__tstate
);
18711 if (PyErr_Occurred()) SWIG_fail
;
18713 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
18720 static PyObject
*_wrap_DateTime_GetYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18721 PyObject
*resultobj
;
18722 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18723 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
18724 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
18726 bool temp2
= False
;
18727 PyObject
* obj0
= 0 ;
18728 PyObject
* obj1
= 0 ;
18729 char *kwnames
[] = {
18730 (char *) "self",(char *) "tz", NULL
18733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
18734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18738 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18744 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
18746 wxPyEndAllowThreads(__tstate
);
18747 if (PyErr_Occurred()) SWIG_fail
;
18749 resultobj
= SWIG_FromInt((int)result
);
18751 if (temp2
) delete arg2
;
18756 if (temp2
) delete arg2
;
18762 static PyObject
*_wrap_DateTime_GetMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18763 PyObject
*resultobj
;
18764 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18765 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
18766 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
18768 bool temp2
= False
;
18769 PyObject
* obj0
= 0 ;
18770 PyObject
* obj1
= 0 ;
18771 char *kwnames
[] = {
18772 (char *) "self",(char *) "tz", NULL
18775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
18776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18780 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18786 result
= (int)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
18788 wxPyEndAllowThreads(__tstate
);
18789 if (PyErr_Occurred()) SWIG_fail
;
18791 resultobj
= SWIG_FromInt((int)result
);
18793 if (temp2
) delete arg2
;
18798 if (temp2
) delete arg2
;
18804 static PyObject
*_wrap_DateTime_GetDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18805 PyObject
*resultobj
;
18806 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18807 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
18808 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
18810 bool temp2
= False
;
18811 PyObject
* obj0
= 0 ;
18812 PyObject
* obj1
= 0 ;
18813 char *kwnames
[] = {
18814 (char *) "self",(char *) "tz", NULL
18817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18822 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18828 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
18830 wxPyEndAllowThreads(__tstate
);
18831 if (PyErr_Occurred()) SWIG_fail
;
18833 resultobj
= SWIG_FromInt((int)result
);
18835 if (temp2
) delete arg2
;
18840 if (temp2
) delete arg2
;
18846 static PyObject
*_wrap_DateTime_GetWeekDay(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_GetWeekDay",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
)->GetWeekDay((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_GetHour(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_GetHour",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
)->GetHour((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_GetMinute(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_GetMinute",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
)->GetMinute((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_GetSecond(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_GetSecond",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
)->GetSecond((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_GetMillisecond(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_GetMillisecond",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
)->GetMillisecond((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_GetDayOfYear(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_GetDayOfYear",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
)->GetDayOfYear((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_GetWeekOfYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19099 PyObject
*resultobj
;
19100 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19101 int arg2
= (int) wxDateTime::Monday_First
;
19102 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
19103 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
19105 bool temp3
= False
;
19106 PyObject
* obj0
= 0 ;
19107 PyObject
* obj1
= 0 ;
19108 PyObject
* obj2
= 0 ;
19109 char *kwnames
[] = {
19110 (char *) "self",(char *) "flags",(char *) "tz", NULL
19113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19117 arg2
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj1
);
19118 if (PyErr_Occurred()) SWIG_fail
;
19122 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
19127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19128 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
19130 wxPyEndAllowThreads(__tstate
);
19131 if (PyErr_Occurred()) SWIG_fail
;
19133 resultobj
= SWIG_FromInt((int)result
);
19135 if (temp3
) delete arg3
;
19140 if (temp3
) delete arg3
;
19146 static PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19147 PyObject
*resultobj
;
19148 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19149 int arg2
= (int) wxDateTime::Monday_First
;
19150 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
19151 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
19153 bool temp3
= False
;
19154 PyObject
* obj0
= 0 ;
19155 PyObject
* obj1
= 0 ;
19156 PyObject
* obj2
= 0 ;
19157 char *kwnames
[] = {
19158 (char *) "self",(char *) "flags",(char *) "tz", NULL
19161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19165 arg2
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj1
);
19166 if (PyErr_Occurred()) SWIG_fail
;
19170 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
19175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19176 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
19178 wxPyEndAllowThreads(__tstate
);
19179 if (PyErr_Occurred()) SWIG_fail
;
19181 resultobj
= SWIG_FromInt((int)result
);
19183 if (temp3
) delete arg3
;
19188 if (temp3
) delete arg3
;
19194 static PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19195 PyObject
*resultobj
;
19196 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19197 int arg2
= (int) wxDateTime::Country_Default
;
19199 PyObject
* obj0
= 0 ;
19200 PyObject
* obj1
= 0 ;
19201 char *kwnames
[] = {
19202 (char *) "self",(char *) "country", NULL
19205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19209 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
19210 if (PyErr_Occurred()) SWIG_fail
;
19213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19214 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay((wxDateTime::Country
)arg2
);
19216 wxPyEndAllowThreads(__tstate
);
19217 if (PyErr_Occurred()) SWIG_fail
;
19219 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19226 static PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19227 PyObject
*resultobj
;
19228 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19229 wxDateTime
*arg2
= 0 ;
19231 PyObject
* obj0
= 0 ;
19232 PyObject
* obj1
= 0 ;
19233 char *kwnames
[] = {
19234 (char *) "self",(char *) "datetime", NULL
19237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
19238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19240 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19241 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19243 if (arg2
== NULL
) {
19244 PyErr_SetString(PyExc_TypeError
,"null reference");
19248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19249 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
19251 wxPyEndAllowThreads(__tstate
);
19252 if (PyErr_Occurred()) SWIG_fail
;
19254 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19261 static PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19262 PyObject
*resultobj
;
19263 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19264 wxDateTime
*arg2
= 0 ;
19266 PyObject
* obj0
= 0 ;
19267 PyObject
* obj1
= 0 ;
19268 char *kwnames
[] = {
19269 (char *) "self",(char *) "datetime", NULL
19272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) goto fail
;
19273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19275 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19276 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19278 if (arg2
== NULL
) {
19279 PyErr_SetString(PyExc_TypeError
,"null reference");
19283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19284 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
19286 wxPyEndAllowThreads(__tstate
);
19287 if (PyErr_Occurred()) SWIG_fail
;
19289 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19296 static PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19297 PyObject
*resultobj
;
19298 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19299 wxDateTime
*arg2
= 0 ;
19301 PyObject
* obj0
= 0 ;
19302 PyObject
* obj1
= 0 ;
19303 char *kwnames
[] = {
19304 (char *) "self",(char *) "datetime", NULL
19307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
19308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19310 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19311 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19313 if (arg2
== NULL
) {
19314 PyErr_SetString(PyExc_TypeError
,"null reference");
19318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19319 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
19321 wxPyEndAllowThreads(__tstate
);
19322 if (PyErr_Occurred()) SWIG_fail
;
19324 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19331 static PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19332 PyObject
*resultobj
;
19333 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19334 wxDateTime
*arg2
= 0 ;
19335 wxDateTime
*arg3
= 0 ;
19337 PyObject
* obj0
= 0 ;
19338 PyObject
* obj1
= 0 ;
19339 PyObject
* obj2
= 0 ;
19340 char *kwnames
[] = {
19341 (char *) "self",(char *) "t1",(char *) "t2", NULL
19344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19347 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19348 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19350 if (arg2
== NULL
) {
19351 PyErr_SetString(PyExc_TypeError
,"null reference");
19354 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
,
19355 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19357 if (arg3
== NULL
) {
19358 PyErr_SetString(PyExc_TypeError
,"null reference");
19362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19363 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
19365 wxPyEndAllowThreads(__tstate
);
19366 if (PyErr_Occurred()) SWIG_fail
;
19368 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19375 static PyObject
*_wrap_DateTime_IsBetween(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19376 PyObject
*resultobj
;
19377 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19378 wxDateTime
*arg2
= 0 ;
19379 wxDateTime
*arg3
= 0 ;
19381 PyObject
* obj0
= 0 ;
19382 PyObject
* obj1
= 0 ;
19383 PyObject
* obj2
= 0 ;
19384 char *kwnames
[] = {
19385 (char *) "self",(char *) "t1",(char *) "t2", NULL
19388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19391 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19392 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19394 if (arg2
== NULL
) {
19395 PyErr_SetString(PyExc_TypeError
,"null reference");
19398 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
,
19399 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19401 if (arg3
== NULL
) {
19402 PyErr_SetString(PyExc_TypeError
,"null reference");
19406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19407 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
19409 wxPyEndAllowThreads(__tstate
);
19410 if (PyErr_Occurred()) SWIG_fail
;
19412 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19419 static PyObject
*_wrap_DateTime_IsSameDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19420 PyObject
*resultobj
;
19421 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19422 wxDateTime
*arg2
= 0 ;
19424 PyObject
* obj0
= 0 ;
19425 PyObject
* obj1
= 0 ;
19426 char *kwnames
[] = {
19427 (char *) "self",(char *) "dt", NULL
19430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) goto fail
;
19431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19433 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19434 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19436 if (arg2
== NULL
) {
19437 PyErr_SetString(PyExc_TypeError
,"null reference");
19441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19442 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
19444 wxPyEndAllowThreads(__tstate
);
19445 if (PyErr_Occurred()) SWIG_fail
;
19447 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19454 static PyObject
*_wrap_DateTime_IsSameTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19455 PyObject
*resultobj
;
19456 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19457 wxDateTime
*arg2
= 0 ;
19459 PyObject
* obj0
= 0 ;
19460 PyObject
* obj1
= 0 ;
19461 char *kwnames
[] = {
19462 (char *) "self",(char *) "dt", NULL
19465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) goto fail
;
19466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19468 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19469 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19471 if (arg2
== NULL
) {
19472 PyErr_SetString(PyExc_TypeError
,"null reference");
19476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19477 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
19479 wxPyEndAllowThreads(__tstate
);
19480 if (PyErr_Occurred()) SWIG_fail
;
19482 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19489 static PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19490 PyObject
*resultobj
;
19491 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19492 wxDateTime
*arg2
= 0 ;
19493 wxTimeSpan
*arg3
= 0 ;
19495 PyObject
* obj0
= 0 ;
19496 PyObject
* obj1
= 0 ;
19497 PyObject
* obj2
= 0 ;
19498 char *kwnames
[] = {
19499 (char *) "self",(char *) "dt",(char *) "ts", NULL
19502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19505 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19506 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19508 if (arg2
== NULL
) {
19509 PyErr_SetString(PyExc_TypeError
,"null reference");
19512 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTimeSpan
,
19513 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19515 if (arg3
== NULL
) {
19516 PyErr_SetString(PyExc_TypeError
,"null reference");
19520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19521 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
19523 wxPyEndAllowThreads(__tstate
);
19524 if (PyErr_Occurred()) SWIG_fail
;
19526 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19533 static PyObject
*_wrap_DateTime_AddTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19534 PyObject
*resultobj
;
19535 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19536 wxTimeSpan
*arg2
= 0 ;
19537 wxDateTime
*result
;
19538 PyObject
* obj0
= 0 ;
19539 PyObject
* obj1
= 0 ;
19540 char *kwnames
[] = {
19541 (char *) "self",(char *) "diff", NULL
19544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) goto fail
;
19545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19547 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
19548 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19550 if (arg2
== NULL
) {
19551 PyErr_SetString(PyExc_TypeError
,"null reference");
19555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19557 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
19558 result
= (wxDateTime
*) &_result_ref
;
19561 wxPyEndAllowThreads(__tstate
);
19562 if (PyErr_Occurred()) SWIG_fail
;
19564 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19571 static PyObject
*_wrap_DateTime_AddDS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19572 PyObject
*resultobj
;
19573 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19574 wxDateSpan
*arg2
= 0 ;
19575 wxDateTime
*result
;
19576 PyObject
* obj0
= 0 ;
19577 PyObject
* obj1
= 0 ;
19578 char *kwnames
[] = {
19579 (char *) "self",(char *) "diff", NULL
19582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) goto fail
;
19583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19585 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
19586 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19588 if (arg2
== NULL
) {
19589 PyErr_SetString(PyExc_TypeError
,"null reference");
19593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19595 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
19596 result
= (wxDateTime
*) &_result_ref
;
19599 wxPyEndAllowThreads(__tstate
);
19600 if (PyErr_Occurred()) SWIG_fail
;
19602 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19609 static PyObject
*_wrap_DateTime_SubtractTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19610 PyObject
*resultobj
;
19611 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19612 wxTimeSpan
*arg2
= 0 ;
19613 wxDateTime
*result
;
19614 PyObject
* obj0
= 0 ;
19615 PyObject
* obj1
= 0 ;
19616 char *kwnames
[] = {
19617 (char *) "self",(char *) "diff", NULL
19620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) goto fail
;
19621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19623 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
19624 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19626 if (arg2
== NULL
) {
19627 PyErr_SetString(PyExc_TypeError
,"null reference");
19631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19633 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
19634 result
= (wxDateTime
*) &_result_ref
;
19637 wxPyEndAllowThreads(__tstate
);
19638 if (PyErr_Occurred()) SWIG_fail
;
19640 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19647 static PyObject
*_wrap_DateTime_SubtractDS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19648 PyObject
*resultobj
;
19649 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19650 wxDateSpan
*arg2
= 0 ;
19651 wxDateTime
*result
;
19652 PyObject
* obj0
= 0 ;
19653 PyObject
* obj1
= 0 ;
19654 char *kwnames
[] = {
19655 (char *) "self",(char *) "diff", NULL
19658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) goto fail
;
19659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19661 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
19662 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19664 if (arg2
== NULL
) {
19665 PyErr_SetString(PyExc_TypeError
,"null reference");
19669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19671 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
19672 result
= (wxDateTime
*) &_result_ref
;
19675 wxPyEndAllowThreads(__tstate
);
19676 if (PyErr_Occurred()) SWIG_fail
;
19678 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19685 static PyObject
*_wrap_DateTime_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19686 PyObject
*resultobj
;
19687 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19688 wxDateTime
*arg2
= 0 ;
19690 PyObject
* obj0
= 0 ;
19691 PyObject
* obj1
= 0 ;
19692 char *kwnames
[] = {
19693 (char *) "self",(char *) "dt", NULL
19696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
19697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19699 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19700 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19702 if (arg2
== NULL
) {
19703 PyErr_SetString(PyExc_TypeError
,"null reference");
19707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19708 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
19710 wxPyEndAllowThreads(__tstate
);
19711 if (PyErr_Occurred()) SWIG_fail
;
19714 wxTimeSpan
* resultptr
;
19715 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19716 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
19724 static PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*self
, PyObject
*args
) {
19725 PyObject
*resultobj
;
19726 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19727 wxTimeSpan
*arg2
= 0 ;
19728 wxDateTime
*result
;
19729 PyObject
* obj0
= 0 ;
19730 PyObject
* obj1
= 0 ;
19732 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
19733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19735 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
19736 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19738 if (arg2
== NULL
) {
19739 PyErr_SetString(PyExc_TypeError
,"null reference");
19743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19745 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
19746 result
= (wxDateTime
*) &_result_ref
;
19749 wxPyEndAllowThreads(__tstate
);
19750 if (PyErr_Occurred()) SWIG_fail
;
19752 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19759 static PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*self
, PyObject
*args
) {
19760 PyObject
*resultobj
;
19761 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19762 wxDateSpan
*arg2
= 0 ;
19763 wxDateTime
*result
;
19764 PyObject
* obj0
= 0 ;
19765 PyObject
* obj1
= 0 ;
19767 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
19768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19770 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
19771 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19773 if (arg2
== NULL
) {
19774 PyErr_SetString(PyExc_TypeError
,"null reference");
19778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19780 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
19781 result
= (wxDateTime
*) &_result_ref
;
19784 wxPyEndAllowThreads(__tstate
);
19785 if (PyErr_Occurred()) SWIG_fail
;
19787 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19794 static PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
19799 argc
= PyObject_Length(args
);
19800 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
19801 argv
[ii
] = PyTuple_GetItem(args
,ii
);
19807 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
19817 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
19825 return _wrap_DateTime___iadd____SWIG_0(self
,args
);
19833 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
19843 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
19851 return _wrap_DateTime___iadd____SWIG_1(self
,args
);
19856 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___iadd__'");
19861 static PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*self
, PyObject
*args
) {
19862 PyObject
*resultobj
;
19863 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19864 wxTimeSpan
*arg2
= 0 ;
19865 wxDateTime
*result
;
19866 PyObject
* obj0
= 0 ;
19867 PyObject
* obj1
= 0 ;
19869 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
19870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19872 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
19873 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19875 if (arg2
== NULL
) {
19876 PyErr_SetString(PyExc_TypeError
,"null reference");
19880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19882 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
19883 result
= (wxDateTime
*) &_result_ref
;
19886 wxPyEndAllowThreads(__tstate
);
19887 if (PyErr_Occurred()) SWIG_fail
;
19889 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19896 static PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*self
, PyObject
*args
) {
19897 PyObject
*resultobj
;
19898 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19899 wxDateSpan
*arg2
= 0 ;
19900 wxDateTime
*result
;
19901 PyObject
* obj0
= 0 ;
19902 PyObject
* obj1
= 0 ;
19904 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
19905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19907 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
19908 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19910 if (arg2
== NULL
) {
19911 PyErr_SetString(PyExc_TypeError
,"null reference");
19915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19917 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
19918 result
= (wxDateTime
*) &_result_ref
;
19921 wxPyEndAllowThreads(__tstate
);
19922 if (PyErr_Occurred()) SWIG_fail
;
19924 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19931 static PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
19936 argc
= PyObject_Length(args
);
19937 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
19938 argv
[ii
] = PyTuple_GetItem(args
,ii
);
19944 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
19954 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
19962 return _wrap_DateTime___isub____SWIG_0(self
,args
);
19970 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
19980 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
19988 return _wrap_DateTime___isub____SWIG_1(self
,args
);
19993 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___isub__'");
19998 static PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*self
, PyObject
*args
) {
19999 PyObject
*resultobj
;
20000 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20001 wxTimeSpan
*arg2
= 0 ;
20003 PyObject
* obj0
= 0 ;
20004 PyObject
* obj1
= 0 ;
20006 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
20007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20009 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20010 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20012 if (arg2
== NULL
) {
20013 PyErr_SetString(PyExc_TypeError
,"null reference");
20017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20018 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
20020 wxPyEndAllowThreads(__tstate
);
20021 if (PyErr_Occurred()) SWIG_fail
;
20024 wxDateTime
* resultptr
;
20025 resultptr
= new wxDateTime((wxDateTime
&) result
);
20026 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20034 static PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*self
, PyObject
*args
) {
20035 PyObject
*resultobj
;
20036 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20037 wxDateSpan
*arg2
= 0 ;
20039 PyObject
* obj0
= 0 ;
20040 PyObject
* obj1
= 0 ;
20042 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
20043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20045 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20046 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20048 if (arg2
== NULL
) {
20049 PyErr_SetString(PyExc_TypeError
,"null reference");
20053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20054 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
20056 wxPyEndAllowThreads(__tstate
);
20057 if (PyErr_Occurred()) SWIG_fail
;
20060 wxDateTime
* resultptr
;
20061 resultptr
= new wxDateTime((wxDateTime
&) result
);
20062 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20070 static PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
20075 argc
= PyObject_Length(args
);
20076 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20077 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20083 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20093 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20101 return _wrap_DateTime___add____SWIG_0(self
,args
);
20109 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20119 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20127 return _wrap_DateTime___add____SWIG_1(self
,args
);
20132 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___add__'");
20137 static PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*self
, PyObject
*args
) {
20138 PyObject
*resultobj
;
20139 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20140 wxDateTime
*arg2
= 0 ;
20142 PyObject
* obj0
= 0 ;
20143 PyObject
* obj1
= 0 ;
20145 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20148 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20149 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20151 if (arg2
== NULL
) {
20152 PyErr_SetString(PyExc_TypeError
,"null reference");
20156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20157 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
20159 wxPyEndAllowThreads(__tstate
);
20160 if (PyErr_Occurred()) SWIG_fail
;
20163 wxTimeSpan
* resultptr
;
20164 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
20165 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
20173 static PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*self
, PyObject
*args
) {
20174 PyObject
*resultobj
;
20175 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20176 wxTimeSpan
*arg2
= 0 ;
20178 PyObject
* obj0
= 0 ;
20179 PyObject
* obj1
= 0 ;
20181 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20184 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20185 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20187 if (arg2
== NULL
) {
20188 PyErr_SetString(PyExc_TypeError
,"null reference");
20192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20193 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
20195 wxPyEndAllowThreads(__tstate
);
20196 if (PyErr_Occurred()) SWIG_fail
;
20199 wxDateTime
* resultptr
;
20200 resultptr
= new wxDateTime((wxDateTime
&) result
);
20201 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20209 static PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*self
, PyObject
*args
) {
20210 PyObject
*resultobj
;
20211 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20212 wxDateSpan
*arg2
= 0 ;
20214 PyObject
* obj0
= 0 ;
20215 PyObject
* obj1
= 0 ;
20217 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20220 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20221 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20223 if (arg2
== NULL
) {
20224 PyErr_SetString(PyExc_TypeError
,"null reference");
20228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20229 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
20231 wxPyEndAllowThreads(__tstate
);
20232 if (PyErr_Occurred()) SWIG_fail
;
20235 wxDateTime
* resultptr
;
20236 resultptr
= new wxDateTime((wxDateTime
&) result
);
20237 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20245 static PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
20250 argc
= PyObject_Length(args
);
20251 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20252 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20258 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20268 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20276 return _wrap_DateTime___sub____SWIG_0(self
,args
);
20284 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20294 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20302 return _wrap_DateTime___sub____SWIG_1(self
,args
);
20310 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20320 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20328 return _wrap_DateTime___sub____SWIG_2(self
,args
);
20333 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___sub__'");
20338 static PyObject
*_wrap_DateTime___lt__(PyObject
*self
, PyObject
*args
) {
20339 PyObject
*resultobj
;
20340 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20341 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20343 PyObject
* obj0
= 0 ;
20344 PyObject
* obj1
= 0 ;
20346 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___lt__",&obj0
,&obj1
)) goto fail
;
20347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20349 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20353 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const *)arg2
);
20355 wxPyEndAllowThreads(__tstate
);
20356 if (PyErr_Occurred()) SWIG_fail
;
20358 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20365 static PyObject
*_wrap_DateTime___le__(PyObject
*self
, PyObject
*args
) {
20366 PyObject
*resultobj
;
20367 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20368 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20370 PyObject
* obj0
= 0 ;
20371 PyObject
* obj1
= 0 ;
20373 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___le__",&obj0
,&obj1
)) goto fail
;
20374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20376 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20380 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const *)arg2
);
20382 wxPyEndAllowThreads(__tstate
);
20383 if (PyErr_Occurred()) SWIG_fail
;
20385 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20392 static PyObject
*_wrap_DateTime___gt__(PyObject
*self
, PyObject
*args
) {
20393 PyObject
*resultobj
;
20394 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20395 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20397 PyObject
* obj0
= 0 ;
20398 PyObject
* obj1
= 0 ;
20400 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___gt__",&obj0
,&obj1
)) goto fail
;
20401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20403 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20407 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const *)arg2
);
20409 wxPyEndAllowThreads(__tstate
);
20410 if (PyErr_Occurred()) SWIG_fail
;
20412 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20419 static PyObject
*_wrap_DateTime___ge__(PyObject
*self
, PyObject
*args
) {
20420 PyObject
*resultobj
;
20421 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20422 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20424 PyObject
* obj0
= 0 ;
20425 PyObject
* obj1
= 0 ;
20427 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ge__",&obj0
,&obj1
)) goto fail
;
20428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20430 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20434 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const *)arg2
);
20436 wxPyEndAllowThreads(__tstate
);
20437 if (PyErr_Occurred()) SWIG_fail
;
20439 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20446 static PyObject
*_wrap_DateTime___eq__(PyObject
*self
, PyObject
*args
) {
20447 PyObject
*resultobj
;
20448 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20449 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20451 PyObject
* obj0
= 0 ;
20452 PyObject
* obj1
= 0 ;
20454 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___eq__",&obj0
,&obj1
)) goto fail
;
20455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20457 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20461 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const *)arg2
);
20463 wxPyEndAllowThreads(__tstate
);
20464 if (PyErr_Occurred()) SWIG_fail
;
20466 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20473 static PyObject
*_wrap_DateTime___ne__(PyObject
*self
, PyObject
*args
) {
20474 PyObject
*resultobj
;
20475 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20476 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20478 PyObject
* obj0
= 0 ;
20479 PyObject
* obj1
= 0 ;
20481 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ne__",&obj0
,&obj1
)) goto fail
;
20482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20484 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20488 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const *)arg2
);
20490 wxPyEndAllowThreads(__tstate
);
20491 if (PyErr_Occurred()) SWIG_fail
;
20493 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20500 static PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20501 PyObject
*resultobj
;
20502 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20503 wxString
*arg2
= 0 ;
20505 bool temp2
= False
;
20506 PyObject
* obj0
= 0 ;
20507 PyObject
* obj1
= 0 ;
20508 char *kwnames
[] = {
20509 (char *) "self",(char *) "date", NULL
20512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) goto fail
;
20513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20516 arg2
= wxString_in_helper(obj1
);
20517 if (arg2
== NULL
) SWIG_fail
;
20521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20522 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
20524 wxPyEndAllowThreads(__tstate
);
20525 if (PyErr_Occurred()) SWIG_fail
;
20527 resultobj
= SWIG_FromInt((int)result
);
20542 static PyObject
*_wrap_DateTime_ParseFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20543 PyObject
*resultobj
;
20544 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20545 wxString
*arg2
= 0 ;
20546 wxString
const &arg3_defvalue
= wxPyDateFormatStr
;
20547 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20548 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
20549 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
20551 bool temp2
= False
;
20552 bool temp3
= False
;
20553 PyObject
* obj0
= 0 ;
20554 PyObject
* obj1
= 0 ;
20555 PyObject
* obj2
= 0 ;
20556 PyObject
* obj3
= 0 ;
20557 char *kwnames
[] = {
20558 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
20561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20565 arg2
= wxString_in_helper(obj1
);
20566 if (arg2
== NULL
) SWIG_fail
;
20571 arg3
= wxString_in_helper(obj2
);
20572 if (arg3
== NULL
) SWIG_fail
;
20577 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDateTime
,
20578 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20580 if (arg4
== NULL
) {
20581 PyErr_SetString(PyExc_TypeError
,"null reference");
20586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20587 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
20589 wxPyEndAllowThreads(__tstate
);
20590 if (PyErr_Occurred()) SWIG_fail
;
20592 resultobj
= SWIG_FromInt((int)result
);
20615 static PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20616 PyObject
*resultobj
;
20617 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20618 wxString
*arg2
= 0 ;
20620 bool temp2
= False
;
20621 PyObject
* obj0
= 0 ;
20622 PyObject
* obj1
= 0 ;
20623 char *kwnames
[] = {
20624 (char *) "self",(char *) "datetime", NULL
20627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) goto fail
;
20628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20631 arg2
= wxString_in_helper(obj1
);
20632 if (arg2
== NULL
) SWIG_fail
;
20636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20637 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
20639 wxPyEndAllowThreads(__tstate
);
20640 if (PyErr_Occurred()) SWIG_fail
;
20642 resultobj
= SWIG_FromInt((int)result
);
20657 static PyObject
*_wrap_DateTime_ParseDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20658 PyObject
*resultobj
;
20659 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20660 wxString
*arg2
= 0 ;
20662 bool temp2
= False
;
20663 PyObject
* obj0
= 0 ;
20664 PyObject
* obj1
= 0 ;
20665 char *kwnames
[] = {
20666 (char *) "self",(char *) "date", NULL
20669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) goto fail
;
20670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20673 arg2
= wxString_in_helper(obj1
);
20674 if (arg2
== NULL
) SWIG_fail
;
20678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20679 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
20681 wxPyEndAllowThreads(__tstate
);
20682 if (PyErr_Occurred()) SWIG_fail
;
20684 resultobj
= SWIG_FromInt((int)result
);
20699 static PyObject
*_wrap_DateTime_ParseTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20700 PyObject
*resultobj
;
20701 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20702 wxString
*arg2
= 0 ;
20704 bool temp2
= False
;
20705 PyObject
* obj0
= 0 ;
20706 PyObject
* obj1
= 0 ;
20707 char *kwnames
[] = {
20708 (char *) "self",(char *) "time", NULL
20711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) goto fail
;
20712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20715 arg2
= wxString_in_helper(obj1
);
20716 if (arg2
== NULL
) SWIG_fail
;
20720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20721 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
20723 wxPyEndAllowThreads(__tstate
);
20724 if (PyErr_Occurred()) SWIG_fail
;
20726 resultobj
= SWIG_FromInt((int)result
);
20741 static PyObject
*_wrap_DateTime_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20742 PyObject
*resultobj
;
20743 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20744 wxString
const &arg2_defvalue
= wxPyDateFormatStr
;
20745 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
20746 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
20747 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
20749 bool temp2
= False
;
20750 bool temp3
= False
;
20751 PyObject
* obj0
= 0 ;
20752 PyObject
* obj1
= 0 ;
20753 PyObject
* obj2
= 0 ;
20754 char *kwnames
[] = {
20755 (char *) "self",(char *) "format",(char *) "tz", NULL
20758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20763 arg2
= wxString_in_helper(obj1
);
20764 if (arg2
== NULL
) SWIG_fail
;
20770 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
20775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20776 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
20778 wxPyEndAllowThreads(__tstate
);
20779 if (PyErr_Occurred()) SWIG_fail
;
20783 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20785 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20793 if (temp3
) delete arg3
;
20802 if (temp3
) delete arg3
;
20808 static PyObject
*_wrap_DateTime_FormatDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20809 PyObject
*resultobj
;
20810 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20812 PyObject
* obj0
= 0 ;
20813 char *kwnames
[] = {
20814 (char *) "self", NULL
20817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatDate",kwnames
,&obj0
)) goto fail
;
20818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20822 result
= ((wxDateTime
const *)arg1
)->FormatDate();
20824 wxPyEndAllowThreads(__tstate
);
20825 if (PyErr_Occurred()) SWIG_fail
;
20829 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20831 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20840 static PyObject
*_wrap_DateTime_FormatTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20841 PyObject
*resultobj
;
20842 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20844 PyObject
* obj0
= 0 ;
20845 char *kwnames
[] = {
20846 (char *) "self", NULL
20849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatTime",kwnames
,&obj0
)) goto fail
;
20850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20854 result
= ((wxDateTime
const *)arg1
)->FormatTime();
20856 wxPyEndAllowThreads(__tstate
);
20857 if (PyErr_Occurred()) SWIG_fail
;
20861 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20863 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20872 static PyObject
*_wrap_DateTime_FormatISODate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20873 PyObject
*resultobj
;
20874 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20876 PyObject
* obj0
= 0 ;
20877 char *kwnames
[] = {
20878 (char *) "self", NULL
20881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISODate",kwnames
,&obj0
)) goto fail
;
20882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20886 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
20888 wxPyEndAllowThreads(__tstate
);
20889 if (PyErr_Occurred()) SWIG_fail
;
20893 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20895 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20904 static PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20905 PyObject
*resultobj
;
20906 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20908 PyObject
* obj0
= 0 ;
20909 char *kwnames
[] = {
20910 (char *) "self", NULL
20913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISOTime",kwnames
,&obj0
)) goto fail
;
20914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20918 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
20920 wxPyEndAllowThreads(__tstate
);
20921 if (PyErr_Occurred()) SWIG_fail
;
20925 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20927 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20936 static PyObject
* DateTime_swigregister(PyObject
*self
, PyObject
*args
) {
20938 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20939 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime
, obj
);
20941 return Py_BuildValue((char *)"");
20943 static PyObject
*_wrap_TimeSpan_Seconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20944 PyObject
*resultobj
;
20947 PyObject
* obj0
= 0 ;
20948 char *kwnames
[] = {
20949 (char *) "sec", NULL
20952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",kwnames
,&obj0
)) goto fail
;
20953 arg1
= (long) SWIG_AsLong(obj0
);
20954 if (PyErr_Occurred()) SWIG_fail
;
20956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20957 result
= wxTimeSpan::Seconds(arg1
);
20959 wxPyEndAllowThreads(__tstate
);
20960 if (PyErr_Occurred()) SWIG_fail
;
20963 wxTimeSpan
* resultptr
;
20964 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
20965 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
20973 static PyObject
*_wrap_TimeSpan_Second(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20974 PyObject
*resultobj
;
20976 char *kwnames
[] = {
20980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Second",kwnames
)) goto fail
;
20982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20983 result
= wxTimeSpan::Second();
20985 wxPyEndAllowThreads(__tstate
);
20986 if (PyErr_Occurred()) SWIG_fail
;
20989 wxTimeSpan
* resultptr
;
20990 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
20991 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
20999 static PyObject
*_wrap_TimeSpan_Minutes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21000 PyObject
*resultobj
;
21003 PyObject
* obj0
= 0 ;
21004 char *kwnames
[] = {
21005 (char *) "min", NULL
21008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",kwnames
,&obj0
)) goto fail
;
21009 arg1
= (long) SWIG_AsLong(obj0
);
21010 if (PyErr_Occurred()) SWIG_fail
;
21012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21013 result
= wxTimeSpan::Minutes(arg1
);
21015 wxPyEndAllowThreads(__tstate
);
21016 if (PyErr_Occurred()) SWIG_fail
;
21019 wxTimeSpan
* resultptr
;
21020 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21021 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21029 static PyObject
*_wrap_TimeSpan_Minute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21030 PyObject
*resultobj
;
21032 char *kwnames
[] = {
21036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Minute",kwnames
)) goto fail
;
21038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21039 result
= wxTimeSpan::Minute();
21041 wxPyEndAllowThreads(__tstate
);
21042 if (PyErr_Occurred()) SWIG_fail
;
21045 wxTimeSpan
* resultptr
;
21046 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21047 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21055 static PyObject
*_wrap_TimeSpan_Hours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21056 PyObject
*resultobj
;
21059 PyObject
* obj0
= 0 ;
21060 char *kwnames
[] = {
21061 (char *) "hours", NULL
21064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",kwnames
,&obj0
)) goto fail
;
21065 arg1
= (long) SWIG_AsLong(obj0
);
21066 if (PyErr_Occurred()) SWIG_fail
;
21068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21069 result
= wxTimeSpan::Hours(arg1
);
21071 wxPyEndAllowThreads(__tstate
);
21072 if (PyErr_Occurred()) SWIG_fail
;
21075 wxTimeSpan
* resultptr
;
21076 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21077 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21085 static PyObject
*_wrap_TimeSpan_Hour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21086 PyObject
*resultobj
;
21088 char *kwnames
[] = {
21092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Hour",kwnames
)) goto fail
;
21094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21095 result
= wxTimeSpan::Hour();
21097 wxPyEndAllowThreads(__tstate
);
21098 if (PyErr_Occurred()) SWIG_fail
;
21101 wxTimeSpan
* resultptr
;
21102 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21103 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21111 static PyObject
*_wrap_TimeSpan_Days(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21112 PyObject
*resultobj
;
21115 PyObject
* obj0
= 0 ;
21116 char *kwnames
[] = {
21117 (char *) "days", NULL
21120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Days",kwnames
,&obj0
)) goto fail
;
21121 arg1
= (long) SWIG_AsLong(obj0
);
21122 if (PyErr_Occurred()) SWIG_fail
;
21124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21125 result
= wxTimeSpan::Days(arg1
);
21127 wxPyEndAllowThreads(__tstate
);
21128 if (PyErr_Occurred()) SWIG_fail
;
21131 wxTimeSpan
* resultptr
;
21132 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21133 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21141 static PyObject
*_wrap_TimeSpan_Day(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21142 PyObject
*resultobj
;
21144 char *kwnames
[] = {
21148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Day",kwnames
)) goto fail
;
21150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21151 result
= wxTimeSpan::Day();
21153 wxPyEndAllowThreads(__tstate
);
21154 if (PyErr_Occurred()) SWIG_fail
;
21157 wxTimeSpan
* resultptr
;
21158 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21159 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21167 static PyObject
*_wrap_TimeSpan_Weeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21168 PyObject
*resultobj
;
21171 PyObject
* obj0
= 0 ;
21172 char *kwnames
[] = {
21173 (char *) "days", NULL
21176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) goto fail
;
21177 arg1
= (long) SWIG_AsLong(obj0
);
21178 if (PyErr_Occurred()) SWIG_fail
;
21180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21181 result
= wxTimeSpan::Weeks(arg1
);
21183 wxPyEndAllowThreads(__tstate
);
21184 if (PyErr_Occurred()) SWIG_fail
;
21187 wxTimeSpan
* resultptr
;
21188 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21189 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21197 static PyObject
*_wrap_TimeSpan_Week(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21198 PyObject
*resultobj
;
21200 char *kwnames
[] = {
21204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Week",kwnames
)) goto fail
;
21206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21207 result
= wxTimeSpan::Week();
21209 wxPyEndAllowThreads(__tstate
);
21210 if (PyErr_Occurred()) SWIG_fail
;
21213 wxTimeSpan
* resultptr
;
21214 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21215 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21223 static PyObject
*_wrap_new_TimeSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21224 PyObject
*resultobj
;
21225 long arg1
= (long) 0 ;
21226 long arg2
= (long) 0 ;
21227 long arg3
= (long) 0 ;
21228 long arg4
= (long) 0 ;
21229 wxTimeSpan
*result
;
21230 PyObject
* obj0
= 0 ;
21231 PyObject
* obj1
= 0 ;
21232 PyObject
* obj2
= 0 ;
21233 PyObject
* obj3
= 0 ;
21234 char *kwnames
[] = {
21235 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
21238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21240 arg1
= (long) SWIG_AsLong(obj0
);
21241 if (PyErr_Occurred()) SWIG_fail
;
21244 arg2
= (long) SWIG_AsLong(obj1
);
21245 if (PyErr_Occurred()) SWIG_fail
;
21248 arg3
= (long) SWIG_AsLong(obj2
);
21249 if (PyErr_Occurred()) SWIG_fail
;
21252 arg4
= (long) SWIG_AsLong(obj3
);
21253 if (PyErr_Occurred()) SWIG_fail
;
21256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21257 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
21259 wxPyEndAllowThreads(__tstate
);
21260 if (PyErr_Occurred()) SWIG_fail
;
21262 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
21269 static PyObject
*_wrap_delete_TimeSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21270 PyObject
*resultobj
;
21271 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21272 PyObject
* obj0
= 0 ;
21273 char *kwnames
[] = {
21274 (char *) "self", NULL
21277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimeSpan",kwnames
,&obj0
)) goto fail
;
21278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21284 wxPyEndAllowThreads(__tstate
);
21285 if (PyErr_Occurred()) SWIG_fail
;
21287 Py_INCREF(Py_None
); resultobj
= Py_None
;
21294 static PyObject
*_wrap_TimeSpan_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21295 PyObject
*resultobj
;
21296 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21297 wxTimeSpan
*arg2
= 0 ;
21298 wxTimeSpan
*result
;
21299 PyObject
* obj0
= 0 ;
21300 PyObject
* obj1
= 0 ;
21301 char *kwnames
[] = {
21302 (char *) "self",(char *) "diff", NULL
21305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
21306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21308 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21309 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21311 if (arg2
== NULL
) {
21312 PyErr_SetString(PyExc_TypeError
,"null reference");
21316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21318 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
21319 result
= (wxTimeSpan
*) &_result_ref
;
21322 wxPyEndAllowThreads(__tstate
);
21323 if (PyErr_Occurred()) SWIG_fail
;
21325 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21332 static PyObject
*_wrap_TimeSpan_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21333 PyObject
*resultobj
;
21334 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21335 wxTimeSpan
*arg2
= 0 ;
21336 wxTimeSpan
*result
;
21337 PyObject
* obj0
= 0 ;
21338 PyObject
* obj1
= 0 ;
21339 char *kwnames
[] = {
21340 (char *) "self",(char *) "diff", NULL
21343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
21344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21346 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21347 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21349 if (arg2
== NULL
) {
21350 PyErr_SetString(PyExc_TypeError
,"null reference");
21354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21356 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
21357 result
= (wxTimeSpan
*) &_result_ref
;
21360 wxPyEndAllowThreads(__tstate
);
21361 if (PyErr_Occurred()) SWIG_fail
;
21363 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21370 static PyObject
*_wrap_TimeSpan_Multiply(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21371 PyObject
*resultobj
;
21372 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21374 wxTimeSpan
*result
;
21375 PyObject
* obj0
= 0 ;
21376 PyObject
* obj1
= 0 ;
21377 char *kwnames
[] = {
21378 (char *) "self",(char *) "n", NULL
21381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
21382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21384 arg2
= (int) SWIG_AsInt(obj1
);
21385 if (PyErr_Occurred()) SWIG_fail
;
21387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21389 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
21390 result
= (wxTimeSpan
*) &_result_ref
;
21393 wxPyEndAllowThreads(__tstate
);
21394 if (PyErr_Occurred()) SWIG_fail
;
21396 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21403 static PyObject
*_wrap_TimeSpan_Neg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21404 PyObject
*resultobj
;
21405 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21406 wxTimeSpan
*result
;
21407 PyObject
* obj0
= 0 ;
21408 char *kwnames
[] = {
21409 (char *) "self", NULL
21412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Neg",kwnames
,&obj0
)) goto fail
;
21413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21418 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
21419 result
= (wxTimeSpan
*) &_result_ref
;
21422 wxPyEndAllowThreads(__tstate
);
21423 if (PyErr_Occurred()) SWIG_fail
;
21425 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21432 static PyObject
*_wrap_TimeSpan_Abs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21433 PyObject
*resultobj
;
21434 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21436 PyObject
* obj0
= 0 ;
21437 char *kwnames
[] = {
21438 (char *) "self", NULL
21441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Abs",kwnames
,&obj0
)) goto fail
;
21442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21446 result
= ((wxTimeSpan
const *)arg1
)->Abs();
21448 wxPyEndAllowThreads(__tstate
);
21449 if (PyErr_Occurred()) SWIG_fail
;
21452 wxTimeSpan
* resultptr
;
21453 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21454 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21462 static PyObject
*_wrap_TimeSpan___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21463 PyObject
*resultobj
;
21464 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21465 wxTimeSpan
*arg2
= 0 ;
21466 wxTimeSpan
*result
;
21467 PyObject
* obj0
= 0 ;
21468 PyObject
* obj1
= 0 ;
21469 char *kwnames
[] = {
21470 (char *) "self",(char *) "diff", NULL
21473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
21474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21476 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21477 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21479 if (arg2
== NULL
) {
21480 PyErr_SetString(PyExc_TypeError
,"null reference");
21484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21486 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
21487 result
= (wxTimeSpan
*) &_result_ref
;
21490 wxPyEndAllowThreads(__tstate
);
21491 if (PyErr_Occurred()) SWIG_fail
;
21493 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21500 static PyObject
*_wrap_TimeSpan___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21501 PyObject
*resultobj
;
21502 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21503 wxTimeSpan
*arg2
= 0 ;
21504 wxTimeSpan
*result
;
21505 PyObject
* obj0
= 0 ;
21506 PyObject
* obj1
= 0 ;
21507 char *kwnames
[] = {
21508 (char *) "self",(char *) "diff", NULL
21511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
21512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21514 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21515 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21517 if (arg2
== NULL
) {
21518 PyErr_SetString(PyExc_TypeError
,"null reference");
21522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21524 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
21525 result
= (wxTimeSpan
*) &_result_ref
;
21528 wxPyEndAllowThreads(__tstate
);
21529 if (PyErr_Occurred()) SWIG_fail
;
21531 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21538 static PyObject
*_wrap_TimeSpan___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21539 PyObject
*resultobj
;
21540 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21542 wxTimeSpan
*result
;
21543 PyObject
* obj0
= 0 ;
21544 PyObject
* obj1
= 0 ;
21545 char *kwnames
[] = {
21546 (char *) "self",(char *) "n", NULL
21549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
21550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21552 arg2
= (int) SWIG_AsInt(obj1
);
21553 if (PyErr_Occurred()) SWIG_fail
;
21555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21557 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
21558 result
= (wxTimeSpan
*) &_result_ref
;
21561 wxPyEndAllowThreads(__tstate
);
21562 if (PyErr_Occurred()) SWIG_fail
;
21564 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21571 static PyObject
*_wrap_TimeSpan___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21572 PyObject
*resultobj
;
21573 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21574 wxTimeSpan
*result
;
21575 PyObject
* obj0
= 0 ;
21576 char *kwnames
[] = {
21577 (char *) "self", NULL
21580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan___neg__",kwnames
,&obj0
)) goto fail
;
21581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21586 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
21587 result
= (wxTimeSpan
*) &_result_ref
;
21590 wxPyEndAllowThreads(__tstate
);
21591 if (PyErr_Occurred()) SWIG_fail
;
21593 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21600 static PyObject
*_wrap_TimeSpan___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21601 PyObject
*resultobj
;
21602 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21603 wxTimeSpan
*arg2
= 0 ;
21605 PyObject
* obj0
= 0 ;
21606 PyObject
* obj1
= 0 ;
21607 char *kwnames
[] = {
21608 (char *) "self",(char *) "other", NULL
21611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
21612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21614 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21615 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21617 if (arg2
== NULL
) {
21618 PyErr_SetString(PyExc_TypeError
,"null reference");
21622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21623 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
21625 wxPyEndAllowThreads(__tstate
);
21626 if (PyErr_Occurred()) SWIG_fail
;
21629 wxTimeSpan
* resultptr
;
21630 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21631 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21639 static PyObject
*_wrap_TimeSpan___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21640 PyObject
*resultobj
;
21641 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21642 wxTimeSpan
*arg2
= 0 ;
21644 PyObject
* obj0
= 0 ;
21645 PyObject
* obj1
= 0 ;
21646 char *kwnames
[] = {
21647 (char *) "self",(char *) "other", NULL
21650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
21651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21653 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21654 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21656 if (arg2
== NULL
) {
21657 PyErr_SetString(PyExc_TypeError
,"null reference");
21661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21662 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
21664 wxPyEndAllowThreads(__tstate
);
21665 if (PyErr_Occurred()) SWIG_fail
;
21668 wxTimeSpan
* resultptr
;
21669 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21670 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21678 static PyObject
*_wrap_TimeSpan___mul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21679 PyObject
*resultobj
;
21680 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21683 PyObject
* obj0
= 0 ;
21684 PyObject
* obj1
= 0 ;
21685 char *kwnames
[] = {
21686 (char *) "self",(char *) "n", NULL
21689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
21690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21692 arg2
= (int) SWIG_AsInt(obj1
);
21693 if (PyErr_Occurred()) SWIG_fail
;
21695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21696 result
= wxTimeSpan___mul__(arg1
,arg2
);
21698 wxPyEndAllowThreads(__tstate
);
21699 if (PyErr_Occurred()) SWIG_fail
;
21702 wxTimeSpan
* resultptr
;
21703 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21704 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21712 static PyObject
*_wrap_TimeSpan___rmul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21713 PyObject
*resultobj
;
21714 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21717 PyObject
* obj0
= 0 ;
21718 PyObject
* obj1
= 0 ;
21719 char *kwnames
[] = {
21720 (char *) "self",(char *) "n", NULL
21723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
21724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21726 arg2
= (int) SWIG_AsInt(obj1
);
21727 if (PyErr_Occurred()) SWIG_fail
;
21729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21730 result
= wxTimeSpan___rmul__(arg1
,arg2
);
21732 wxPyEndAllowThreads(__tstate
);
21733 if (PyErr_Occurred()) SWIG_fail
;
21736 wxTimeSpan
* resultptr
;
21737 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21738 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21746 static PyObject
*_wrap_TimeSpan___lt__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21747 PyObject
*resultobj
;
21748 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21749 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
21751 PyObject
* obj0
= 0 ;
21752 PyObject
* obj1
= 0 ;
21753 char *kwnames
[] = {
21754 (char *) "self",(char *) "other", NULL
21757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
21758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21760 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21764 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const *)arg2
);
21766 wxPyEndAllowThreads(__tstate
);
21767 if (PyErr_Occurred()) SWIG_fail
;
21769 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21776 static PyObject
*_wrap_TimeSpan___le__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21777 PyObject
*resultobj
;
21778 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21779 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
21781 PyObject
* obj0
= 0 ;
21782 PyObject
* obj1
= 0 ;
21783 char *kwnames
[] = {
21784 (char *) "self",(char *) "other", NULL
21787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
21788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21790 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21794 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const *)arg2
);
21796 wxPyEndAllowThreads(__tstate
);
21797 if (PyErr_Occurred()) SWIG_fail
;
21799 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21806 static PyObject
*_wrap_TimeSpan___gt__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21807 PyObject
*resultobj
;
21808 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21809 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
21811 PyObject
* obj0
= 0 ;
21812 PyObject
* obj1
= 0 ;
21813 char *kwnames
[] = {
21814 (char *) "self",(char *) "other", NULL
21817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
21818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21820 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21824 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const *)arg2
);
21826 wxPyEndAllowThreads(__tstate
);
21827 if (PyErr_Occurred()) SWIG_fail
;
21829 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21836 static PyObject
*_wrap_TimeSpan___ge__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21837 PyObject
*resultobj
;
21838 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21839 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
21841 PyObject
* obj0
= 0 ;
21842 PyObject
* obj1
= 0 ;
21843 char *kwnames
[] = {
21844 (char *) "self",(char *) "other", NULL
21847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
21848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21850 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21854 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const *)arg2
);
21856 wxPyEndAllowThreads(__tstate
);
21857 if (PyErr_Occurred()) SWIG_fail
;
21859 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21866 static PyObject
*_wrap_TimeSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21867 PyObject
*resultobj
;
21868 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21869 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
21871 PyObject
* obj0
= 0 ;
21872 PyObject
* obj1
= 0 ;
21873 char *kwnames
[] = {
21874 (char *) "self",(char *) "other", NULL
21877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
21878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21880 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21884 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const *)arg2
);
21886 wxPyEndAllowThreads(__tstate
);
21887 if (PyErr_Occurred()) SWIG_fail
;
21889 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21896 static PyObject
*_wrap_TimeSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21897 PyObject
*resultobj
;
21898 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21899 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
21901 PyObject
* obj0
= 0 ;
21902 PyObject
* obj1
= 0 ;
21903 char *kwnames
[] = {
21904 (char *) "self",(char *) "other", NULL
21907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
21908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21910 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21914 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const *)arg2
);
21916 wxPyEndAllowThreads(__tstate
);
21917 if (PyErr_Occurred()) SWIG_fail
;
21919 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21926 static PyObject
*_wrap_TimeSpan_IsNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21927 PyObject
*resultobj
;
21928 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21930 PyObject
* obj0
= 0 ;
21931 char *kwnames
[] = {
21932 (char *) "self", NULL
21935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNull",kwnames
,&obj0
)) goto fail
;
21936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21940 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
21942 wxPyEndAllowThreads(__tstate
);
21943 if (PyErr_Occurred()) SWIG_fail
;
21945 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21952 static PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21953 PyObject
*resultobj
;
21954 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21956 PyObject
* obj0
= 0 ;
21957 char *kwnames
[] = {
21958 (char *) "self", NULL
21961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsPositive",kwnames
,&obj0
)) goto fail
;
21962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21966 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
21968 wxPyEndAllowThreads(__tstate
);
21969 if (PyErr_Occurred()) SWIG_fail
;
21971 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21978 static PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21979 PyObject
*resultobj
;
21980 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21982 PyObject
* obj0
= 0 ;
21983 char *kwnames
[] = {
21984 (char *) "self", NULL
21987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNegative",kwnames
,&obj0
)) goto fail
;
21988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21992 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
21994 wxPyEndAllowThreads(__tstate
);
21995 if (PyErr_Occurred()) SWIG_fail
;
21997 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22004 static PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22005 PyObject
*resultobj
;
22006 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22007 wxTimeSpan
*arg2
= 0 ;
22009 PyObject
* obj0
= 0 ;
22010 PyObject
* obj1
= 0 ;
22011 char *kwnames
[] = {
22012 (char *) "self",(char *) "ts", NULL
22015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
22016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22018 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22019 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22021 if (arg2
== NULL
) {
22022 PyErr_SetString(PyExc_TypeError
,"null reference");
22026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22027 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
22029 wxPyEndAllowThreads(__tstate
);
22030 if (PyErr_Occurred()) SWIG_fail
;
22032 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22039 static PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22040 PyObject
*resultobj
;
22041 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22042 wxTimeSpan
*arg2
= 0 ;
22044 PyObject
* obj0
= 0 ;
22045 PyObject
* obj1
= 0 ;
22046 char *kwnames
[] = {
22047 (char *) "self",(char *) "ts", NULL
22050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22053 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22054 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22056 if (arg2
== NULL
) {
22057 PyErr_SetString(PyExc_TypeError
,"null reference");
22061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22062 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
22064 wxPyEndAllowThreads(__tstate
);
22065 if (PyErr_Occurred()) SWIG_fail
;
22067 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22074 static PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22075 PyObject
*resultobj
;
22076 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22077 wxTimeSpan
*arg2
= 0 ;
22079 PyObject
* obj0
= 0 ;
22080 PyObject
* obj1
= 0 ;
22081 char *kwnames
[] = {
22082 (char *) "self",(char *) "t", NULL
22085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22088 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22089 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22091 if (arg2
== NULL
) {
22092 PyErr_SetString(PyExc_TypeError
,"null reference");
22096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22097 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
22099 wxPyEndAllowThreads(__tstate
);
22100 if (PyErr_Occurred()) SWIG_fail
;
22102 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22109 static PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22110 PyObject
*resultobj
;
22111 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22113 PyObject
* obj0
= 0 ;
22114 char *kwnames
[] = {
22115 (char *) "self", NULL
22118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
22119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22123 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
22125 wxPyEndAllowThreads(__tstate
);
22126 if (PyErr_Occurred()) SWIG_fail
;
22128 resultobj
= SWIG_FromInt((int)result
);
22135 static PyObject
*_wrap_TimeSpan_GetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22136 PyObject
*resultobj
;
22137 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22139 PyObject
* obj0
= 0 ;
22140 char *kwnames
[] = {
22141 (char *) "self", NULL
22144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetDays",kwnames
,&obj0
)) goto fail
;
22145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22149 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
22151 wxPyEndAllowThreads(__tstate
);
22152 if (PyErr_Occurred()) SWIG_fail
;
22154 resultobj
= SWIG_FromInt((int)result
);
22161 static PyObject
*_wrap_TimeSpan_GetHours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22162 PyObject
*resultobj
;
22163 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22165 PyObject
* obj0
= 0 ;
22166 char *kwnames
[] = {
22167 (char *) "self", NULL
22170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetHours",kwnames
,&obj0
)) goto fail
;
22171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22175 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
22177 wxPyEndAllowThreads(__tstate
);
22178 if (PyErr_Occurred()) SWIG_fail
;
22180 resultobj
= SWIG_FromInt((int)result
);
22187 static PyObject
*_wrap_TimeSpan_GetMinutes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22188 PyObject
*resultobj
;
22189 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22191 PyObject
* obj0
= 0 ;
22192 char *kwnames
[] = {
22193 (char *) "self", NULL
22196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMinutes",kwnames
,&obj0
)) goto fail
;
22197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22201 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
22203 wxPyEndAllowThreads(__tstate
);
22204 if (PyErr_Occurred()) SWIG_fail
;
22206 resultobj
= SWIG_FromInt((int)result
);
22213 static PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22214 PyObject
*resultobj
;
22215 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22217 PyObject
* obj0
= 0 ;
22218 char *kwnames
[] = {
22219 (char *) "self", NULL
22222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetSeconds",kwnames
,&obj0
)) goto fail
;
22223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22227 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
22229 wxPyEndAllowThreads(__tstate
);
22230 if (PyErr_Occurred()) SWIG_fail
;
22233 PyObject
*hi
, *lo
, *shifter
, *shifted
;
22234 hi
= PyLong_FromLong( (&result
)->GetHi() );
22235 lo
= PyLong_FromLong( (&result
)->GetLo() );
22236 shifter
= PyLong_FromLong(32);
22237 shifted
= PyNumber_Lshift(hi
, shifter
);
22238 resultobj
= PyNumber_Or(shifted
, lo
);
22241 Py_DECREF(shifter
);
22242 Py_DECREF(shifted
);
22250 static PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22251 PyObject
*resultobj
;
22252 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22254 PyObject
* obj0
= 0 ;
22255 char *kwnames
[] = {
22256 (char *) "self", NULL
22259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMilliseconds",kwnames
,&obj0
)) goto fail
;
22260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22264 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
22266 wxPyEndAllowThreads(__tstate
);
22267 if (PyErr_Occurred()) SWIG_fail
;
22270 PyObject
*hi
, *lo
, *shifter
, *shifted
;
22271 hi
= PyLong_FromLong( (&result
)->GetHi() );
22272 lo
= PyLong_FromLong( (&result
)->GetLo() );
22273 shifter
= PyLong_FromLong(32);
22274 shifted
= PyNumber_Lshift(hi
, shifter
);
22275 resultobj
= PyNumber_Or(shifted
, lo
);
22278 Py_DECREF(shifter
);
22279 Py_DECREF(shifted
);
22287 static PyObject
*_wrap_TimeSpan_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22288 PyObject
*resultobj
;
22289 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22290 wxString
const &arg2_defvalue
= wxPyTimeSpanFormatStr
;
22291 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
22293 bool temp2
= False
;
22294 PyObject
* obj0
= 0 ;
22295 PyObject
* obj1
= 0 ;
22296 char *kwnames
[] = {
22297 (char *) "self",(char *) "format", NULL
22300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) goto fail
;
22301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22305 arg2
= wxString_in_helper(obj1
);
22306 if (arg2
== NULL
) SWIG_fail
;
22311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22312 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
22314 wxPyEndAllowThreads(__tstate
);
22315 if (PyErr_Occurred()) SWIG_fail
;
22319 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22321 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22338 static PyObject
* TimeSpan_swigregister(PyObject
*self
, PyObject
*args
) {
22340 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22341 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan
, obj
);
22343 return Py_BuildValue((char *)"");
22345 static PyObject
*_wrap_new_DateSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22346 PyObject
*resultobj
;
22347 int arg1
= (int) 0 ;
22348 int arg2
= (int) 0 ;
22349 int arg3
= (int) 0 ;
22350 int arg4
= (int) 0 ;
22351 wxDateSpan
*result
;
22352 PyObject
* obj0
= 0 ;
22353 PyObject
* obj1
= 0 ;
22354 PyObject
* obj2
= 0 ;
22355 PyObject
* obj3
= 0 ;
22356 char *kwnames
[] = {
22357 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
22360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22362 arg1
= (int) SWIG_AsInt(obj0
);
22363 if (PyErr_Occurred()) SWIG_fail
;
22366 arg2
= (int) SWIG_AsInt(obj1
);
22367 if (PyErr_Occurred()) SWIG_fail
;
22370 arg3
= (int) SWIG_AsInt(obj2
);
22371 if (PyErr_Occurred()) SWIG_fail
;
22374 arg4
= (int) SWIG_AsInt(obj3
);
22375 if (PyErr_Occurred()) SWIG_fail
;
22378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22379 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
22381 wxPyEndAllowThreads(__tstate
);
22382 if (PyErr_Occurred()) SWIG_fail
;
22384 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
22391 static PyObject
*_wrap_delete_DateSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22392 PyObject
*resultobj
;
22393 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22394 PyObject
* obj0
= 0 ;
22395 char *kwnames
[] = {
22396 (char *) "self", NULL
22399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateSpan",kwnames
,&obj0
)) goto fail
;
22400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22406 wxPyEndAllowThreads(__tstate
);
22407 if (PyErr_Occurred()) SWIG_fail
;
22409 Py_INCREF(Py_None
); resultobj
= Py_None
;
22416 static PyObject
*_wrap_DateSpan_Days(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22417 PyObject
*resultobj
;
22420 PyObject
* obj0
= 0 ;
22421 char *kwnames
[] = {
22422 (char *) "days", NULL
22425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",kwnames
,&obj0
)) goto fail
;
22426 arg1
= (int) SWIG_AsInt(obj0
);
22427 if (PyErr_Occurred()) SWIG_fail
;
22429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22430 result
= wxDateSpan::Days(arg1
);
22432 wxPyEndAllowThreads(__tstate
);
22433 if (PyErr_Occurred()) SWIG_fail
;
22436 wxDateSpan
* resultptr
;
22437 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22438 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22446 static PyObject
*_wrap_DateSpan_Day(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22447 PyObject
*resultobj
;
22449 char *kwnames
[] = {
22453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Day",kwnames
)) goto fail
;
22455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22456 result
= wxDateSpan::Day();
22458 wxPyEndAllowThreads(__tstate
);
22459 if (PyErr_Occurred()) SWIG_fail
;
22462 wxDateSpan
* resultptr
;
22463 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22464 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22472 static PyObject
*_wrap_DateSpan_Weeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22473 PyObject
*resultobj
;
22476 PyObject
* obj0
= 0 ;
22477 char *kwnames
[] = {
22478 (char *) "weeks", NULL
22481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",kwnames
,&obj0
)) goto fail
;
22482 arg1
= (int) SWIG_AsInt(obj0
);
22483 if (PyErr_Occurred()) SWIG_fail
;
22485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22486 result
= wxDateSpan::Weeks(arg1
);
22488 wxPyEndAllowThreads(__tstate
);
22489 if (PyErr_Occurred()) SWIG_fail
;
22492 wxDateSpan
* resultptr
;
22493 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22494 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22502 static PyObject
*_wrap_DateSpan_Week(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22503 PyObject
*resultobj
;
22505 char *kwnames
[] = {
22509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Week",kwnames
)) goto fail
;
22511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22512 result
= wxDateSpan::Week();
22514 wxPyEndAllowThreads(__tstate
);
22515 if (PyErr_Occurred()) SWIG_fail
;
22518 wxDateSpan
* resultptr
;
22519 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22520 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22528 static PyObject
*_wrap_DateSpan_Months(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22529 PyObject
*resultobj
;
22532 PyObject
* obj0
= 0 ;
22533 char *kwnames
[] = {
22534 (char *) "mon", NULL
22537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",kwnames
,&obj0
)) goto fail
;
22538 arg1
= (int) SWIG_AsInt(obj0
);
22539 if (PyErr_Occurred()) SWIG_fail
;
22541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22542 result
= wxDateSpan::Months(arg1
);
22544 wxPyEndAllowThreads(__tstate
);
22545 if (PyErr_Occurred()) SWIG_fail
;
22548 wxDateSpan
* resultptr
;
22549 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22550 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22558 static PyObject
*_wrap_DateSpan_Month(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22559 PyObject
*resultobj
;
22561 char *kwnames
[] = {
22565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Month",kwnames
)) goto fail
;
22567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22568 result
= wxDateSpan::Month();
22570 wxPyEndAllowThreads(__tstate
);
22571 if (PyErr_Occurred()) SWIG_fail
;
22574 wxDateSpan
* resultptr
;
22575 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22576 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22584 static PyObject
*_wrap_DateSpan_Years(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22585 PyObject
*resultobj
;
22588 PyObject
* obj0
= 0 ;
22589 char *kwnames
[] = {
22590 (char *) "years", NULL
22593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) goto fail
;
22594 arg1
= (int) SWIG_AsInt(obj0
);
22595 if (PyErr_Occurred()) SWIG_fail
;
22597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22598 result
= wxDateSpan::Years(arg1
);
22600 wxPyEndAllowThreads(__tstate
);
22601 if (PyErr_Occurred()) SWIG_fail
;
22604 wxDateSpan
* resultptr
;
22605 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22606 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22614 static PyObject
*_wrap_DateSpan_Year(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22615 PyObject
*resultobj
;
22617 char *kwnames
[] = {
22621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Year",kwnames
)) goto fail
;
22623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22624 result
= wxDateSpan::Year();
22626 wxPyEndAllowThreads(__tstate
);
22627 if (PyErr_Occurred()) SWIG_fail
;
22630 wxDateSpan
* resultptr
;
22631 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22632 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22640 static PyObject
*_wrap_DateSpan_SetYears(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22641 PyObject
*resultobj
;
22642 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22644 wxDateSpan
*result
;
22645 PyObject
* obj0
= 0 ;
22646 PyObject
* obj1
= 0 ;
22647 char *kwnames
[] = {
22648 (char *) "self",(char *) "n", NULL
22651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetYears",kwnames
,&obj0
,&obj1
)) goto fail
;
22652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22654 arg2
= (int) SWIG_AsInt(obj1
);
22655 if (PyErr_Occurred()) SWIG_fail
;
22657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22659 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
22660 result
= (wxDateSpan
*) &_result_ref
;
22663 wxPyEndAllowThreads(__tstate
);
22664 if (PyErr_Occurred()) SWIG_fail
;
22666 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
22673 static PyObject
*_wrap_DateSpan_SetMonths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22674 PyObject
*resultobj
;
22675 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22677 wxDateSpan
*result
;
22678 PyObject
* obj0
= 0 ;
22679 PyObject
* obj1
= 0 ;
22680 char *kwnames
[] = {
22681 (char *) "self",(char *) "n", NULL
22684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetMonths",kwnames
,&obj0
,&obj1
)) goto fail
;
22685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22687 arg2
= (int) SWIG_AsInt(obj1
);
22688 if (PyErr_Occurred()) SWIG_fail
;
22690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22692 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
22693 result
= (wxDateSpan
*) &_result_ref
;
22696 wxPyEndAllowThreads(__tstate
);
22697 if (PyErr_Occurred()) SWIG_fail
;
22699 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
22706 static PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22707 PyObject
*resultobj
;
22708 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22710 wxDateSpan
*result
;
22711 PyObject
* obj0
= 0 ;
22712 PyObject
* obj1
= 0 ;
22713 char *kwnames
[] = {
22714 (char *) "self",(char *) "n", NULL
22717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) goto fail
;
22718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22720 arg2
= (int) SWIG_AsInt(obj1
);
22721 if (PyErr_Occurred()) SWIG_fail
;
22723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22725 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
22726 result
= (wxDateSpan
*) &_result_ref
;
22729 wxPyEndAllowThreads(__tstate
);
22730 if (PyErr_Occurred()) SWIG_fail
;
22732 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
22739 static PyObject
*_wrap_DateSpan_SetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22740 PyObject
*resultobj
;
22741 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22743 wxDateSpan
*result
;
22744 PyObject
* obj0
= 0 ;
22745 PyObject
* obj1
= 0 ;
22746 char *kwnames
[] = {
22747 (char *) "self",(char *) "n", NULL
22750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) goto fail
;
22751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22753 arg2
= (int) SWIG_AsInt(obj1
);
22754 if (PyErr_Occurred()) SWIG_fail
;
22756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22758 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
22759 result
= (wxDateSpan
*) &_result_ref
;
22762 wxPyEndAllowThreads(__tstate
);
22763 if (PyErr_Occurred()) SWIG_fail
;
22765 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
22772 static PyObject
*_wrap_DateSpan_GetYears(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22773 PyObject
*resultobj
;
22774 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22776 PyObject
* obj0
= 0 ;
22777 char *kwnames
[] = {
22778 (char *) "self", NULL
22781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetYears",kwnames
,&obj0
)) goto fail
;
22782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22786 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
22788 wxPyEndAllowThreads(__tstate
);
22789 if (PyErr_Occurred()) SWIG_fail
;
22791 resultobj
= SWIG_FromInt((int)result
);
22798 static PyObject
*_wrap_DateSpan_GetMonths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22799 PyObject
*resultobj
;
22800 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22802 PyObject
* obj0
= 0 ;
22803 char *kwnames
[] = {
22804 (char *) "self", NULL
22807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetMonths",kwnames
,&obj0
)) goto fail
;
22808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22812 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
22814 wxPyEndAllowThreads(__tstate
);
22815 if (PyErr_Occurred()) SWIG_fail
;
22817 resultobj
= SWIG_FromInt((int)result
);
22824 static PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22825 PyObject
*resultobj
;
22826 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22828 PyObject
* obj0
= 0 ;
22829 char *kwnames
[] = {
22830 (char *) "self", NULL
22833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
22834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22838 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
22840 wxPyEndAllowThreads(__tstate
);
22841 if (PyErr_Occurred()) SWIG_fail
;
22843 resultobj
= SWIG_FromInt((int)result
);
22850 static PyObject
*_wrap_DateSpan_GetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22851 PyObject
*resultobj
;
22852 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22854 PyObject
* obj0
= 0 ;
22855 char *kwnames
[] = {
22856 (char *) "self", NULL
22859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetDays",kwnames
,&obj0
)) goto fail
;
22860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22864 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
22866 wxPyEndAllowThreads(__tstate
);
22867 if (PyErr_Occurred()) SWIG_fail
;
22869 resultobj
= SWIG_FromInt((int)result
);
22876 static PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22877 PyObject
*resultobj
;
22878 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22880 PyObject
* obj0
= 0 ;
22881 char *kwnames
[] = {
22882 (char *) "self", NULL
22885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetTotalDays",kwnames
,&obj0
)) goto fail
;
22886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22890 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
22892 wxPyEndAllowThreads(__tstate
);
22893 if (PyErr_Occurred()) SWIG_fail
;
22895 resultobj
= SWIG_FromInt((int)result
);
22902 static PyObject
*_wrap_DateSpan_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22903 PyObject
*resultobj
;
22904 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22905 wxDateSpan
*arg2
= 0 ;
22906 wxDateSpan
*result
;
22907 PyObject
* obj0
= 0 ;
22908 PyObject
* obj1
= 0 ;
22909 char *kwnames
[] = {
22910 (char *) "self",(char *) "other", NULL
22913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
22914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22916 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
22917 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22919 if (arg2
== NULL
) {
22920 PyErr_SetString(PyExc_TypeError
,"null reference");
22924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22926 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
22927 result
= (wxDateSpan
*) &_result_ref
;
22930 wxPyEndAllowThreads(__tstate
);
22931 if (PyErr_Occurred()) SWIG_fail
;
22933 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
22940 static PyObject
*_wrap_DateSpan_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22941 PyObject
*resultobj
;
22942 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22943 wxDateSpan
*arg2
= 0 ;
22944 wxDateSpan
*result
;
22945 PyObject
* obj0
= 0 ;
22946 PyObject
* obj1
= 0 ;
22947 char *kwnames
[] = {
22948 (char *) "self",(char *) "other", NULL
22951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
22952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22954 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
22955 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22957 if (arg2
== NULL
) {
22958 PyErr_SetString(PyExc_TypeError
,"null reference");
22962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22964 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
22965 result
= (wxDateSpan
*) &_result_ref
;
22968 wxPyEndAllowThreads(__tstate
);
22969 if (PyErr_Occurred()) SWIG_fail
;
22971 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
22978 static PyObject
*_wrap_DateSpan_Neg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22979 PyObject
*resultobj
;
22980 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22981 wxDateSpan
*result
;
22982 PyObject
* obj0
= 0 ;
22983 char *kwnames
[] = {
22984 (char *) "self", NULL
22987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Neg",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();
22993 wxDateSpan
&_result_ref
= (arg1
)->Neg();
22994 result
= (wxDateSpan
*) &_result_ref
;
22997 wxPyEndAllowThreads(__tstate
);
22998 if (PyErr_Occurred()) SWIG_fail
;
23000 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23007 static PyObject
*_wrap_DateSpan_Multiply(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23008 PyObject
*resultobj
;
23009 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23011 wxDateSpan
*result
;
23012 PyObject
* obj0
= 0 ;
23013 PyObject
* obj1
= 0 ;
23014 char *kwnames
[] = {
23015 (char *) "self",(char *) "factor", NULL
23018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
23019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23021 arg2
= (int) SWIG_AsInt(obj1
);
23022 if (PyErr_Occurred()) SWIG_fail
;
23024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23026 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
23027 result
= (wxDateSpan
*) &_result_ref
;
23030 wxPyEndAllowThreads(__tstate
);
23031 if (PyErr_Occurred()) SWIG_fail
;
23033 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23040 static PyObject
*_wrap_DateSpan___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23041 PyObject
*resultobj
;
23042 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23043 wxDateSpan
*arg2
= 0 ;
23044 wxDateSpan
*result
;
23045 PyObject
* obj0
= 0 ;
23046 PyObject
* obj1
= 0 ;
23047 char *kwnames
[] = {
23048 (char *) "self",(char *) "other", NULL
23051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
23052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23054 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23055 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23057 if (arg2
== NULL
) {
23058 PyErr_SetString(PyExc_TypeError
,"null reference");
23062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23064 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
23065 result
= (wxDateSpan
*) &_result_ref
;
23068 wxPyEndAllowThreads(__tstate
);
23069 if (PyErr_Occurred()) SWIG_fail
;
23071 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23078 static PyObject
*_wrap_DateSpan___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23079 PyObject
*resultobj
;
23080 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23081 wxDateSpan
*arg2
= 0 ;
23082 wxDateSpan
*result
;
23083 PyObject
* obj0
= 0 ;
23084 PyObject
* obj1
= 0 ;
23085 char *kwnames
[] = {
23086 (char *) "self",(char *) "other", NULL
23089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
23090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23092 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23093 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23095 if (arg2
== NULL
) {
23096 PyErr_SetString(PyExc_TypeError
,"null reference");
23100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23102 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
23103 result
= (wxDateSpan
*) &_result_ref
;
23106 wxPyEndAllowThreads(__tstate
);
23107 if (PyErr_Occurred()) SWIG_fail
;
23109 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23116 static PyObject
*_wrap_DateSpan___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23117 PyObject
*resultobj
;
23118 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23119 wxDateSpan
*result
;
23120 PyObject
* obj0
= 0 ;
23121 char *kwnames
[] = {
23122 (char *) "self", NULL
23125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan___neg__",kwnames
,&obj0
)) goto fail
;
23126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23131 wxDateSpan
&_result_ref
= (arg1
)->operator -();
23132 result
= (wxDateSpan
*) &_result_ref
;
23135 wxPyEndAllowThreads(__tstate
);
23136 if (PyErr_Occurred()) SWIG_fail
;
23138 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23145 static PyObject
*_wrap_DateSpan___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23146 PyObject
*resultobj
;
23147 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23149 wxDateSpan
*result
;
23150 PyObject
* obj0
= 0 ;
23151 PyObject
* obj1
= 0 ;
23152 char *kwnames
[] = {
23153 (char *) "self",(char *) "factor", NULL
23156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23159 arg2
= (int) SWIG_AsInt(obj1
);
23160 if (PyErr_Occurred()) SWIG_fail
;
23162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23164 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
23165 result
= (wxDateSpan
*) &_result_ref
;
23168 wxPyEndAllowThreads(__tstate
);
23169 if (PyErr_Occurred()) SWIG_fail
;
23171 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23178 static PyObject
*_wrap_DateSpan___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23179 PyObject
*resultobj
;
23180 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23181 wxDateSpan
*arg2
= 0 ;
23183 PyObject
* obj0
= 0 ;
23184 PyObject
* obj1
= 0 ;
23185 char *kwnames
[] = {
23186 (char *) "self",(char *) "other", NULL
23189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
23190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23192 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23193 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23195 if (arg2
== NULL
) {
23196 PyErr_SetString(PyExc_TypeError
,"null reference");
23200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23201 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
23203 wxPyEndAllowThreads(__tstate
);
23204 if (PyErr_Occurred()) SWIG_fail
;
23207 wxDateSpan
* resultptr
;
23208 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23209 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23217 static PyObject
*_wrap_DateSpan___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23218 PyObject
*resultobj
;
23219 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23220 wxDateSpan
*arg2
= 0 ;
23222 PyObject
* obj0
= 0 ;
23223 PyObject
* obj1
= 0 ;
23224 char *kwnames
[] = {
23225 (char *) "self",(char *) "other", NULL
23228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
23229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23231 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23232 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23234 if (arg2
== NULL
) {
23235 PyErr_SetString(PyExc_TypeError
,"null reference");
23239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23240 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
23242 wxPyEndAllowThreads(__tstate
);
23243 if (PyErr_Occurred()) SWIG_fail
;
23246 wxDateSpan
* resultptr
;
23247 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23248 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23256 static PyObject
*_wrap_DateSpan___mul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23257 PyObject
*resultobj
;
23258 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23261 PyObject
* obj0
= 0 ;
23262 PyObject
* obj1
= 0 ;
23263 char *kwnames
[] = {
23264 (char *) "self",(char *) "n", NULL
23267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23270 arg2
= (int) SWIG_AsInt(obj1
);
23271 if (PyErr_Occurred()) SWIG_fail
;
23273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23274 result
= wxDateSpan___mul__(arg1
,arg2
);
23276 wxPyEndAllowThreads(__tstate
);
23277 if (PyErr_Occurred()) SWIG_fail
;
23280 wxDateSpan
* resultptr
;
23281 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23282 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23290 static PyObject
*_wrap_DateSpan___rmul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23291 PyObject
*resultobj
;
23292 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23295 PyObject
* obj0
= 0 ;
23296 PyObject
* obj1
= 0 ;
23297 char *kwnames
[] = {
23298 (char *) "self",(char *) "n", NULL
23301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23304 arg2
= (int) SWIG_AsInt(obj1
);
23305 if (PyErr_Occurred()) SWIG_fail
;
23307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23308 result
= wxDateSpan___rmul__(arg1
,arg2
);
23310 wxPyEndAllowThreads(__tstate
);
23311 if (PyErr_Occurred()) SWIG_fail
;
23314 wxDateSpan
* resultptr
;
23315 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23316 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23324 static PyObject
*_wrap_DateSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23325 PyObject
*resultobj
;
23326 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23327 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
23329 PyObject
* obj0
= 0 ;
23330 PyObject
* obj1
= 0 ;
23331 char *kwnames
[] = {
23332 (char *) "self",(char *) "other", NULL
23335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
23336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23338 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23342 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const *)arg2
);
23344 wxPyEndAllowThreads(__tstate
);
23345 if (PyErr_Occurred()) SWIG_fail
;
23347 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23354 static PyObject
*_wrap_DateSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23355 PyObject
*resultobj
;
23356 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23357 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
23359 PyObject
* obj0
= 0 ;
23360 PyObject
* obj1
= 0 ;
23361 char *kwnames
[] = {
23362 (char *) "self",(char *) "other", NULL
23365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
23366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23368 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23372 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const *)arg2
);
23374 wxPyEndAllowThreads(__tstate
);
23375 if (PyErr_Occurred()) SWIG_fail
;
23377 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23384 static PyObject
* DateSpan_swigregister(PyObject
*self
, PyObject
*args
) {
23386 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23387 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan
, obj
);
23389 return Py_BuildValue((char *)"");
23391 static PyObject
*_wrap_GetLocalTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23392 PyObject
*resultobj
;
23394 char *kwnames
[] = {
23398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTime",kwnames
)) goto fail
;
23400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23401 result
= (long)wxGetLocalTime();
23403 wxPyEndAllowThreads(__tstate
);
23404 if (PyErr_Occurred()) SWIG_fail
;
23406 resultobj
= SWIG_FromLong((long)result
);
23413 static PyObject
*_wrap_GetUTCTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23414 PyObject
*resultobj
;
23416 char *kwnames
[] = {
23420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUTCTime",kwnames
)) goto fail
;
23422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23423 result
= (long)wxGetUTCTime();
23425 wxPyEndAllowThreads(__tstate
);
23426 if (PyErr_Occurred()) SWIG_fail
;
23428 resultobj
= SWIG_FromLong((long)result
);
23435 static PyObject
*_wrap_GetCurrentTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23436 PyObject
*resultobj
;
23438 char *kwnames
[] = {
23442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentTime",kwnames
)) goto fail
;
23444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23445 result
= (long)wxGetCurrentTime();
23447 wxPyEndAllowThreads(__tstate
);
23448 if (PyErr_Occurred()) SWIG_fail
;
23450 resultobj
= SWIG_FromLong((long)result
);
23457 static PyObject
*_wrap_GetLocalTimeMillis(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23458 PyObject
*resultobj
;
23460 char *kwnames
[] = {
23464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTimeMillis",kwnames
)) goto fail
;
23466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23467 result
= wxGetLocalTimeMillis();
23469 wxPyEndAllowThreads(__tstate
);
23470 if (PyErr_Occurred()) SWIG_fail
;
23473 PyObject
*hi
, *lo
, *shifter
, *shifted
;
23474 hi
= PyLong_FromLong( (&result
)->GetHi() );
23475 lo
= PyLong_FromLong( (&result
)->GetLo() );
23476 shifter
= PyLong_FromLong(32);
23477 shifted
= PyNumber_Lshift(hi
, shifter
);
23478 resultobj
= PyNumber_Or(shifted
, lo
);
23481 Py_DECREF(shifter
);
23482 Py_DECREF(shifted
);
23490 static int _wrap_DefaultDateTime_set(PyObject
*_val
) {
23491 PyErr_SetString(PyExc_TypeError
,"Variable DefaultDateTime is read-only.");
23496 static PyObject
*_wrap_DefaultDateTime_get() {
23499 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultDateTime
), SWIGTYPE_p_wxDateTime
, 0);
23504 static PyObject
*_wrap_new_DataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23505 PyObject
*resultobj
;
23507 wxDataFormat
*result
;
23508 PyObject
* obj0
= 0 ;
23509 char *kwnames
[] = {
23510 (char *) "type", NULL
23513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) goto fail
;
23514 arg1
= (wxDataFormatId
) SWIG_AsInt(obj0
);
23515 if (PyErr_Occurred()) SWIG_fail
;
23517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23518 result
= (wxDataFormat
*)new wxDataFormat((wxDataFormatId
)arg1
);
23520 wxPyEndAllowThreads(__tstate
);
23521 if (PyErr_Occurred()) SWIG_fail
;
23523 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
23530 static PyObject
*_wrap_new_CustomDataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23531 PyObject
*resultobj
;
23532 wxString
*arg1
= 0 ;
23533 wxDataFormat
*result
;
23534 bool temp1
= False
;
23535 PyObject
* obj0
= 0 ;
23536 char *kwnames
[] = {
23537 (char *) "format", NULL
23540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) goto fail
;
23542 arg1
= wxString_in_helper(obj0
);
23543 if (arg1
== NULL
) SWIG_fail
;
23547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23548 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
23550 wxPyEndAllowThreads(__tstate
);
23551 if (PyErr_Occurred()) SWIG_fail
;
23553 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
23568 static PyObject
*_wrap_delete_DataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23569 PyObject
*resultobj
;
23570 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23571 PyObject
* obj0
= 0 ;
23572 char *kwnames
[] = {
23573 (char *) "self", NULL
23576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataFormat",kwnames
,&obj0
)) goto fail
;
23577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23583 wxPyEndAllowThreads(__tstate
);
23584 if (PyErr_Occurred()) SWIG_fail
;
23586 Py_INCREF(Py_None
); resultobj
= Py_None
;
23593 static PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*self
, PyObject
*args
) {
23594 PyObject
*resultobj
;
23595 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23598 PyObject
* obj0
= 0 ;
23599 PyObject
* obj1
= 0 ;
23601 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
23602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23604 arg2
= (wxDataFormatId
) SWIG_AsInt(obj1
);
23605 if (PyErr_Occurred()) SWIG_fail
;
23607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23608 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormatId
)arg2
);
23610 wxPyEndAllowThreads(__tstate
);
23611 if (PyErr_Occurred()) SWIG_fail
;
23613 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23620 static PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*self
, PyObject
*args
) {
23621 PyObject
*resultobj
;
23622 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23625 PyObject
* obj0
= 0 ;
23626 PyObject
* obj1
= 0 ;
23628 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
23629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23631 arg2
= (wxDataFormatId
) SWIG_AsInt(obj1
);
23632 if (PyErr_Occurred()) SWIG_fail
;
23634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23635 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormatId
)arg2
);
23637 wxPyEndAllowThreads(__tstate
);
23638 if (PyErr_Occurred()) SWIG_fail
;
23640 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23647 static PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*self
, PyObject
*args
) {
23648 PyObject
*resultobj
;
23649 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23650 wxDataFormat
*arg2
= 0 ;
23652 PyObject
* obj0
= 0 ;
23653 PyObject
* obj1
= 0 ;
23655 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
23656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23658 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
23659 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23661 if (arg2
== NULL
) {
23662 PyErr_SetString(PyExc_TypeError
,"null reference");
23666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23667 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
23669 wxPyEndAllowThreads(__tstate
);
23670 if (PyErr_Occurred()) SWIG_fail
;
23672 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23679 static PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
23684 argc
= PyObject_Length(args
);
23685 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
23686 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23692 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
23702 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
23710 return _wrap_DataFormat___eq____SWIG_1(self
,args
);
23718 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
23726 _v
= SWIG_CheckInt(argv
[1]);
23728 return _wrap_DataFormat___eq____SWIG_0(self
,args
);
23733 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___eq__'");
23738 static PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*self
, PyObject
*args
) {
23739 PyObject
*resultobj
;
23740 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23741 wxDataFormat
*arg2
= 0 ;
23743 PyObject
* obj0
= 0 ;
23744 PyObject
* obj1
= 0 ;
23746 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
23747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23749 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
23750 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23752 if (arg2
== NULL
) {
23753 PyErr_SetString(PyExc_TypeError
,"null reference");
23757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23758 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
23760 wxPyEndAllowThreads(__tstate
);
23761 if (PyErr_Occurred()) SWIG_fail
;
23763 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23770 static PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
23775 argc
= PyObject_Length(args
);
23776 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
23777 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23783 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
23793 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
23801 return _wrap_DataFormat___ne____SWIG_1(self
,args
);
23809 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
23817 _v
= SWIG_CheckInt(argv
[1]);
23819 return _wrap_DataFormat___ne____SWIG_0(self
,args
);
23824 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___ne__'");
23829 static PyObject
*_wrap_DataFormat_SetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23830 PyObject
*resultobj
;
23831 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23833 PyObject
* obj0
= 0 ;
23834 PyObject
* obj1
= 0 ;
23835 char *kwnames
[] = {
23836 (char *) "self",(char *) "format", NULL
23839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
23840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23842 arg2
= (wxDataFormatId
) SWIG_AsInt(obj1
);
23843 if (PyErr_Occurred()) SWIG_fail
;
23845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23846 (arg1
)->SetType((wxDataFormatId
)arg2
);
23848 wxPyEndAllowThreads(__tstate
);
23849 if (PyErr_Occurred()) SWIG_fail
;
23851 Py_INCREF(Py_None
); resultobj
= Py_None
;
23858 static PyObject
*_wrap_DataFormat_GetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23859 PyObject
*resultobj
;
23860 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23862 PyObject
* obj0
= 0 ;
23863 char *kwnames
[] = {
23864 (char *) "self", NULL
23867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetType",kwnames
,&obj0
)) goto fail
;
23868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23872 result
= (int)((wxDataFormat
const *)arg1
)->GetType();
23874 wxPyEndAllowThreads(__tstate
);
23875 if (PyErr_Occurred()) SWIG_fail
;
23877 resultobj
= SWIG_FromInt((int)result
);
23884 static PyObject
*_wrap_DataFormat_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23885 PyObject
*resultobj
;
23886 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23888 PyObject
* obj0
= 0 ;
23889 char *kwnames
[] = {
23890 (char *) "self", NULL
23893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetId",kwnames
,&obj0
)) goto fail
;
23894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23898 result
= ((wxDataFormat
const *)arg1
)->GetId();
23900 wxPyEndAllowThreads(__tstate
);
23901 if (PyErr_Occurred()) SWIG_fail
;
23905 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23907 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23916 static PyObject
*_wrap_DataFormat_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23917 PyObject
*resultobj
;
23918 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23919 wxString
*arg2
= 0 ;
23920 bool temp2
= False
;
23921 PyObject
* obj0
= 0 ;
23922 PyObject
* obj1
= 0 ;
23923 char *kwnames
[] = {
23924 (char *) "self",(char *) "format", NULL
23927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
23928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23931 arg2
= wxString_in_helper(obj1
);
23932 if (arg2
== NULL
) SWIG_fail
;
23936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23937 (arg1
)->SetId((wxString
const &)*arg2
);
23939 wxPyEndAllowThreads(__tstate
);
23940 if (PyErr_Occurred()) SWIG_fail
;
23942 Py_INCREF(Py_None
); resultobj
= Py_None
;
23957 static PyObject
* DataFormat_swigregister(PyObject
*self
, PyObject
*args
) {
23959 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23960 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat
, obj
);
23962 return Py_BuildValue((char *)"");
23964 static int _wrap_FormatInvalid_set(PyObject
*_val
) {
23965 PyErr_SetString(PyExc_TypeError
,"Variable FormatInvalid is read-only.");
23970 static PyObject
*_wrap_FormatInvalid_get() {
23973 pyobj
= SWIG_NewPointerObj((void *)(&wxFormatInvalid
), SWIGTYPE_p_wxDataFormat
, 0);
23978 static PyObject
*_wrap_delete_DataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23979 PyObject
*resultobj
;
23980 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
23981 PyObject
* obj0
= 0 ;
23982 char *kwnames
[] = {
23983 (char *) "self", NULL
23986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataObject",kwnames
,&obj0
)) goto fail
;
23987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
23988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23993 wxPyEndAllowThreads(__tstate
);
23994 if (PyErr_Occurred()) SWIG_fail
;
23996 Py_INCREF(Py_None
); resultobj
= Py_None
;
24003 static PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24004 PyObject
*resultobj
;
24005 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24006 int arg2
= (int) wxDataObject::Get
;
24007 SwigValueWrapper
< wxDataFormat
> result
;
24008 PyObject
* obj0
= 0 ;
24009 PyObject
* obj1
= 0 ;
24010 char *kwnames
[] = {
24011 (char *) "self",(char *) "dir", NULL
24014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
24015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24018 arg2
= (wxDataObject::Direction
) SWIG_AsInt(obj1
);
24019 if (PyErr_Occurred()) SWIG_fail
;
24022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24023 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat((wxDataObject::Direction
)arg2
);
24025 wxPyEndAllowThreads(__tstate
);
24026 if (PyErr_Occurred()) SWIG_fail
;
24029 wxDataFormat
* resultptr
;
24030 resultptr
= new wxDataFormat((wxDataFormat
&) result
);
24031 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDataFormat
, 1);
24039 static PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24040 PyObject
*resultobj
;
24041 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24042 int arg2
= (int) wxDataObject::Get
;
24044 PyObject
* obj0
= 0 ;
24045 PyObject
* obj1
= 0 ;
24046 char *kwnames
[] = {
24047 (char *) "self",(char *) "dir", NULL
24050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) goto fail
;
24051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24054 arg2
= (wxDataObject::Direction
) SWIG_AsInt(obj1
);
24055 if (PyErr_Occurred()) SWIG_fail
;
24058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24059 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount((wxDataObject::Direction
)arg2
);
24061 wxPyEndAllowThreads(__tstate
);
24062 if (PyErr_Occurred()) SWIG_fail
;
24064 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24071 static PyObject
*_wrap_DataObject_IsSupported(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24072 PyObject
*resultobj
;
24073 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24074 wxDataFormat
*arg2
= 0 ;
24075 int arg3
= (int) wxDataObject::Get
;
24077 PyObject
* obj0
= 0 ;
24078 PyObject
* obj1
= 0 ;
24079 PyObject
* obj2
= 0 ;
24080 char *kwnames
[] = {
24081 (char *) "self",(char *) "format",(char *) "dir", NULL
24084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24087 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24088 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24090 if (arg2
== NULL
) {
24091 PyErr_SetString(PyExc_TypeError
,"null reference");
24095 arg3
= (wxDataObject::Direction
) SWIG_AsInt(obj2
);
24096 if (PyErr_Occurred()) SWIG_fail
;
24099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24100 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,(wxDataObject::Direction
)arg3
);
24102 wxPyEndAllowThreads(__tstate
);
24103 if (PyErr_Occurred()) SWIG_fail
;
24105 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24112 static PyObject
*_wrap_DataObject_GetDataSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24113 PyObject
*resultobj
;
24114 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24115 wxDataFormat
*arg2
= 0 ;
24117 PyObject
* obj0
= 0 ;
24118 PyObject
* obj1
= 0 ;
24119 char *kwnames
[] = {
24120 (char *) "self",(char *) "format", NULL
24123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) goto fail
;
24124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24126 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24127 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24129 if (arg2
== NULL
) {
24130 PyErr_SetString(PyExc_TypeError
,"null reference");
24134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24135 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
24137 wxPyEndAllowThreads(__tstate
);
24138 if (PyErr_Occurred()) SWIG_fail
;
24140 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24147 static PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24148 PyObject
*resultobj
;
24149 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24150 wxDataFormat
*arg2
= (wxDataFormat
*) 0 ;
24151 int arg3
= (int) wxDataObject::Get
;
24152 PyObject
* obj0
= 0 ;
24153 PyObject
* obj1
= 0 ;
24154 PyObject
* obj2
= 0 ;
24155 char *kwnames
[] = {
24156 (char *) "self",(char *) "formats",(char *) "dir", NULL
24159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24162 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24165 arg3
= (wxDataObject::Direction
) SWIG_AsInt(obj2
);
24166 if (PyErr_Occurred()) SWIG_fail
;
24169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24170 ((wxDataObject
const *)arg1
)->GetAllFormats(arg2
,(wxDataObject::Direction
)arg3
);
24172 wxPyEndAllowThreads(__tstate
);
24173 if (PyErr_Occurred()) SWIG_fail
;
24175 Py_INCREF(Py_None
); resultobj
= Py_None
;
24182 static PyObject
*_wrap_DataObject_GetDataHere(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24183 PyObject
*resultobj
;
24184 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24185 wxDataFormat
*arg2
= 0 ;
24186 void *arg3
= (void *) 0 ;
24188 PyObject
* obj0
= 0 ;
24189 PyObject
* obj1
= 0 ;
24190 PyObject
* obj2
= 0 ;
24191 char *kwnames
[] = {
24192 (char *) "self",(char *) "format",(char *) "buf", NULL
24195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24198 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24199 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24201 if (arg2
== NULL
) {
24202 PyErr_SetString(PyExc_TypeError
,"null reference");
24205 if ((SWIG_ConvertPtr(obj2
,&arg3
,0,SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24208 result
= (bool)((wxDataObject
const *)arg1
)->GetDataHere((wxDataFormat
const &)*arg2
,arg3
);
24210 wxPyEndAllowThreads(__tstate
);
24211 if (PyErr_Occurred()) SWIG_fail
;
24213 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24220 static PyObject
*_wrap_DataObject_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24221 PyObject
*resultobj
;
24222 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24223 wxDataFormat
*arg2
= 0 ;
24225 void *arg4
= (void *) 0 ;
24227 PyObject
* obj0
= 0 ;
24228 PyObject
* obj1
= 0 ;
24229 PyObject
* obj2
= 0 ;
24230 PyObject
* obj3
= 0 ;
24231 char *kwnames
[] = {
24232 (char *) "self",(char *) "format",(char *) "len",(char *) "buf", NULL
24235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24238 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24239 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24241 if (arg2
== NULL
) {
24242 PyErr_SetString(PyExc_TypeError
,"null reference");
24245 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
24246 if (PyErr_Occurred()) SWIG_fail
;
24247 if ((SWIG_ConvertPtr(obj3
,&arg4
,0,SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24250 result
= (bool)(arg1
)->SetData((wxDataFormat
const &)*arg2
,arg3
,(void const *)arg4
);
24252 wxPyEndAllowThreads(__tstate
);
24253 if (PyErr_Occurred()) SWIG_fail
;
24255 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24262 static PyObject
* DataObject_swigregister(PyObject
*self
, PyObject
*args
) {
24264 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24265 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject
, obj
);
24267 return Py_BuildValue((char *)"");
24269 static PyObject
*_wrap_new_DataObjectSimple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24270 PyObject
*resultobj
;
24271 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
24272 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
24273 wxDataObjectSimple
*result
;
24274 PyObject
* obj0
= 0 ;
24275 char *kwnames
[] = {
24276 (char *) "format", NULL
24279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) goto fail
;
24281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24282 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24284 if (arg1
== NULL
) {
24285 PyErr_SetString(PyExc_TypeError
,"null reference");
24290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24291 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
24293 wxPyEndAllowThreads(__tstate
);
24294 if (PyErr_Occurred()) SWIG_fail
;
24296 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectSimple
, 1);
24303 static PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24304 PyObject
*resultobj
;
24305 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24306 wxDataFormat
*result
;
24307 PyObject
* obj0
= 0 ;
24308 char *kwnames
[] = {
24309 (char *) "self", NULL
24312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetFormat",kwnames
,&obj0
)) goto fail
;
24313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24318 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
24319 result
= (wxDataFormat
*) &_result_ref
;
24322 wxPyEndAllowThreads(__tstate
);
24323 if (PyErr_Occurred()) SWIG_fail
;
24325 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 0);
24332 static PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24333 PyObject
*resultobj
;
24334 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24335 wxDataFormat
*arg2
= 0 ;
24336 PyObject
* obj0
= 0 ;
24337 PyObject
* obj1
= 0 ;
24338 char *kwnames
[] = {
24339 (char *) "self",(char *) "format", NULL
24342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
24343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24345 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24346 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24348 if (arg2
== NULL
) {
24349 PyErr_SetString(PyExc_TypeError
,"null reference");
24353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24354 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
24356 wxPyEndAllowThreads(__tstate
);
24357 if (PyErr_Occurred()) SWIG_fail
;
24359 Py_INCREF(Py_None
); resultobj
= Py_None
;
24366 static PyObject
* DataObjectSimple_swigregister(PyObject
*self
, PyObject
*args
) {
24368 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24369 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple
, obj
);
24371 return Py_BuildValue((char *)"");
24373 static PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24374 PyObject
*resultobj
;
24375 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
24376 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
24377 wxPyDataObjectSimple
*result
;
24378 PyObject
* obj0
= 0 ;
24379 char *kwnames
[] = {
24380 (char *) "format", NULL
24383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) goto fail
;
24385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24386 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24388 if (arg1
== NULL
) {
24389 PyErr_SetString(PyExc_TypeError
,"null reference");
24394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24395 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
24397 wxPyEndAllowThreads(__tstate
);
24398 if (PyErr_Occurred()) SWIG_fail
;
24400 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDataObjectSimple
, 1);
24407 static PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24408 PyObject
*resultobj
;
24409 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
24410 PyObject
*arg2
= (PyObject
*) 0 ;
24411 PyObject
*arg3
= (PyObject
*) 0 ;
24412 PyObject
* obj0
= 0 ;
24413 PyObject
* obj1
= 0 ;
24414 PyObject
* obj2
= 0 ;
24415 char *kwnames
[] = {
24416 (char *) "self",(char *) "self",(char *) "_class", NULL
24419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDataObjectSimple
,
24421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24426 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24428 wxPyEndAllowThreads(__tstate
);
24429 if (PyErr_Occurred()) SWIG_fail
;
24431 Py_INCREF(Py_None
); resultobj
= Py_None
;
24438 static PyObject
* PyDataObjectSimple_swigregister(PyObject
*self
, PyObject
*args
) {
24440 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24441 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple
, obj
);
24443 return Py_BuildValue((char *)"");
24445 static PyObject
*_wrap_new_DataObjectComposite(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24446 PyObject
*resultobj
;
24447 wxDataObjectComposite
*result
;
24448 char *kwnames
[] = {
24452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DataObjectComposite",kwnames
)) goto fail
;
24454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24455 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
24457 wxPyEndAllowThreads(__tstate
);
24458 if (PyErr_Occurred()) SWIG_fail
;
24460 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectComposite
, 1);
24467 static PyObject
*_wrap_DataObjectComposite_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24468 PyObject
*resultobj
;
24469 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
24470 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
24471 int arg3
= (int) False
;
24472 PyObject
* obj0
= 0 ;
24473 PyObject
* obj1
= 0 ;
24474 PyObject
* obj2
= 0 ;
24475 char *kwnames
[] = {
24476 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
24479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectComposite
,
24481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24482 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObjectSimple
,
24483 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24485 arg3
= (int) SWIG_AsInt(obj2
);
24486 if (PyErr_Occurred()) SWIG_fail
;
24489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24490 (arg1
)->Add(arg2
,arg3
);
24492 wxPyEndAllowThreads(__tstate
);
24493 if (PyErr_Occurred()) SWIG_fail
;
24495 Py_INCREF(Py_None
); resultobj
= Py_None
;
24502 static PyObject
* DataObjectComposite_swigregister(PyObject
*self
, PyObject
*args
) {
24504 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24505 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite
, obj
);
24507 return Py_BuildValue((char *)"");
24509 static PyObject
*_wrap_new_TextDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24510 PyObject
*resultobj
;
24511 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24512 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24513 wxTextDataObject
*result
;
24514 bool temp1
= False
;
24515 PyObject
* obj0
= 0 ;
24516 char *kwnames
[] = {
24517 (char *) "text", NULL
24520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) goto fail
;
24523 arg1
= wxString_in_helper(obj0
);
24524 if (arg1
== NULL
) SWIG_fail
;
24529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24530 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
24532 wxPyEndAllowThreads(__tstate
);
24533 if (PyErr_Occurred()) SWIG_fail
;
24535 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextDataObject
, 1);
24550 static PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24551 PyObject
*resultobj
;
24552 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
24554 PyObject
* obj0
= 0 ;
24555 char *kwnames
[] = {
24556 (char *) "self", NULL
24559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetTextLength",kwnames
,&obj0
)) goto fail
;
24560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
24561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24564 result
= (size_t)(arg1
)->GetTextLength();
24566 wxPyEndAllowThreads(__tstate
);
24567 if (PyErr_Occurred()) SWIG_fail
;
24569 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24576 static PyObject
*_wrap_TextDataObject_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24577 PyObject
*resultobj
;
24578 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
24580 PyObject
* obj0
= 0 ;
24581 char *kwnames
[] = {
24582 (char *) "self", NULL
24585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetText",kwnames
,&obj0
)) goto fail
;
24586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
24587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24590 result
= (arg1
)->GetText();
24592 wxPyEndAllowThreads(__tstate
);
24593 if (PyErr_Occurred()) SWIG_fail
;
24597 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24599 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24608 static PyObject
*_wrap_TextDataObject_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24609 PyObject
*resultobj
;
24610 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
24611 wxString
*arg2
= 0 ;
24612 bool temp2
= False
;
24613 PyObject
* obj0
= 0 ;
24614 PyObject
* obj1
= 0 ;
24615 char *kwnames
[] = {
24616 (char *) "self",(char *) "text", NULL
24619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
24620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
24621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24623 arg2
= wxString_in_helper(obj1
);
24624 if (arg2
== NULL
) SWIG_fail
;
24628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24629 (arg1
)->SetText((wxString
const &)*arg2
);
24631 wxPyEndAllowThreads(__tstate
);
24632 if (PyErr_Occurred()) SWIG_fail
;
24634 Py_INCREF(Py_None
); resultobj
= Py_None
;
24649 static PyObject
* TextDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
24651 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24652 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject
, obj
);
24654 return Py_BuildValue((char *)"");
24656 static PyObject
*_wrap_new_PyTextDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24657 PyObject
*resultobj
;
24658 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24659 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24660 wxPyTextDataObject
*result
;
24661 bool temp1
= False
;
24662 PyObject
* obj0
= 0 ;
24663 char *kwnames
[] = {
24664 (char *) "text", NULL
24667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) goto fail
;
24670 arg1
= wxString_in_helper(obj0
);
24671 if (arg1
== NULL
) SWIG_fail
;
24676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24677 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
24679 wxPyEndAllowThreads(__tstate
);
24680 if (PyErr_Occurred()) SWIG_fail
;
24682 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDataObject
, 1);
24697 static PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24698 PyObject
*resultobj
;
24699 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
24700 PyObject
*arg2
= (PyObject
*) 0 ;
24701 PyObject
*arg3
= (PyObject
*) 0 ;
24702 PyObject
* obj0
= 0 ;
24703 PyObject
* obj1
= 0 ;
24704 PyObject
* obj2
= 0 ;
24705 char *kwnames
[] = {
24706 (char *) "self",(char *) "self",(char *) "_class", NULL
24709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDataObject
,
24711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24716 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24718 wxPyEndAllowThreads(__tstate
);
24719 if (PyErr_Occurred()) SWIG_fail
;
24721 Py_INCREF(Py_None
); resultobj
= Py_None
;
24728 static PyObject
* PyTextDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
24730 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24731 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject
, obj
);
24733 return Py_BuildValue((char *)"");
24735 static PyObject
*_wrap_new_BitmapDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24736 PyObject
*resultobj
;
24737 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
24738 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
24739 wxBitmapDataObject
*result
;
24740 PyObject
* obj0
= 0 ;
24741 char *kwnames
[] = {
24742 (char *) "bitmap", NULL
24745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) goto fail
;
24747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
24748 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24750 if (arg1
== NULL
) {
24751 PyErr_SetString(PyExc_TypeError
,"null reference");
24756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24757 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
24759 wxPyEndAllowThreads(__tstate
);
24760 if (PyErr_Occurred()) SWIG_fail
;
24762 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapDataObject
, 1);
24769 static PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24770 PyObject
*resultobj
;
24771 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
24773 PyObject
* obj0
= 0 ;
24774 char *kwnames
[] = {
24775 (char *) "self", NULL
24778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapDataObject_GetBitmap",kwnames
,&obj0
)) goto fail
;
24779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapDataObject
,
24780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24783 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
24785 wxPyEndAllowThreads(__tstate
);
24786 if (PyErr_Occurred()) SWIG_fail
;
24789 wxBitmap
* resultptr
;
24790 resultptr
= new wxBitmap((wxBitmap
&) result
);
24791 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
24799 static PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24800 PyObject
*resultobj
;
24801 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
24802 wxBitmap
*arg2
= 0 ;
24803 PyObject
* obj0
= 0 ;
24804 PyObject
* obj1
= 0 ;
24805 char *kwnames
[] = {
24806 (char *) "self",(char *) "bitmap", NULL
24809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
24810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapDataObject
,
24811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24812 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
24813 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24815 if (arg2
== NULL
) {
24816 PyErr_SetString(PyExc_TypeError
,"null reference");
24820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24821 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
24823 wxPyEndAllowThreads(__tstate
);
24824 if (PyErr_Occurred()) SWIG_fail
;
24826 Py_INCREF(Py_None
); resultobj
= Py_None
;
24833 static PyObject
* BitmapDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
24835 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24836 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject
, obj
);
24838 return Py_BuildValue((char *)"");
24840 static PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24841 PyObject
*resultobj
;
24842 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
24843 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
24844 wxPyBitmapDataObject
*result
;
24845 PyObject
* obj0
= 0 ;
24846 char *kwnames
[] = {
24847 (char *) "bitmap", NULL
24850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) goto fail
;
24852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
24853 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24855 if (arg1
== NULL
) {
24856 PyErr_SetString(PyExc_TypeError
,"null reference");
24861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24862 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
24864 wxPyEndAllowThreads(__tstate
);
24865 if (PyErr_Occurred()) SWIG_fail
;
24867 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyBitmapDataObject
, 1);
24874 static PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24875 PyObject
*resultobj
;
24876 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
24877 PyObject
*arg2
= (PyObject
*) 0 ;
24878 PyObject
*arg3
= (PyObject
*) 0 ;
24879 PyObject
* obj0
= 0 ;
24880 PyObject
* obj1
= 0 ;
24881 PyObject
* obj2
= 0 ;
24882 char *kwnames
[] = {
24883 (char *) "self",(char *) "self",(char *) "_class", NULL
24886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapDataObject
,
24888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24893 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24895 wxPyEndAllowThreads(__tstate
);
24896 if (PyErr_Occurred()) SWIG_fail
;
24898 Py_INCREF(Py_None
); resultobj
= Py_None
;
24905 static PyObject
* PyBitmapDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
24907 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24908 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject
, obj
);
24910 return Py_BuildValue((char *)"");
24912 static PyObject
*_wrap_new_FileDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24913 PyObject
*resultobj
;
24914 wxFileDataObject
*result
;
24915 char *kwnames
[] = {
24919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDataObject",kwnames
)) goto fail
;
24921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24922 result
= (wxFileDataObject
*)new wxFileDataObject();
24924 wxPyEndAllowThreads(__tstate
);
24925 if (PyErr_Occurred()) SWIG_fail
;
24927 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDataObject
, 1);
24934 static PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24935 PyObject
*resultobj
;
24936 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
24937 wxArrayString
*result
;
24938 PyObject
* obj0
= 0 ;
24939 char *kwnames
[] = {
24940 (char *) "self", NULL
24943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDataObject_GetFilenames",kwnames
,&obj0
)) goto fail
;
24944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDataObject
,
24945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24949 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
24950 result
= (wxArrayString
*) &_result_ref
;
24953 wxPyEndAllowThreads(__tstate
);
24954 if (PyErr_Occurred()) SWIG_fail
;
24957 resultobj
= wxArrayString2PyList_helper(*result
);
24965 static PyObject
*_wrap_FileDataObject_AddFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24966 PyObject
*resultobj
;
24967 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
24968 wxString
*arg2
= 0 ;
24969 bool temp2
= False
;
24970 PyObject
* obj0
= 0 ;
24971 PyObject
* obj1
= 0 ;
24972 char *kwnames
[] = {
24973 (char *) "self",(char *) "filename", NULL
24976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDataObject_AddFile",kwnames
,&obj0
,&obj1
)) goto fail
;
24977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDataObject
,
24978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24980 arg2
= wxString_in_helper(obj1
);
24981 if (arg2
== NULL
) SWIG_fail
;
24985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24986 (arg1
)->AddFile((wxString
const &)*arg2
);
24988 wxPyEndAllowThreads(__tstate
);
24989 if (PyErr_Occurred()) SWIG_fail
;
24991 Py_INCREF(Py_None
); resultobj
= Py_None
;
25006 static PyObject
* FileDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25008 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25009 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject
, obj
);
25011 return Py_BuildValue((char *)"");
25013 static PyObject
*_wrap_new_CustomDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25014 PyObject
*resultobj
;
25015 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
25016 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
25017 wxCustomDataObject
*result
;
25018 PyObject
* obj0
= 0 ;
25019 char *kwnames
[] = {
25020 (char *) "format", NULL
25023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CustomDataObject",kwnames
,&obj0
)) goto fail
;
25025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
25026 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25028 if (arg1
== NULL
) {
25029 PyErr_SetString(PyExc_TypeError
,"null reference");
25034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25035 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
25037 wxPyEndAllowThreads(__tstate
);
25038 if (PyErr_Occurred()) SWIG_fail
;
25040 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
25047 static PyObject
*_wrap_CustomDataObject_TakeData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25048 PyObject
*resultobj
;
25049 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25050 PyObject
*arg2
= (PyObject
*) 0 ;
25051 PyObject
* obj0
= 0 ;
25052 PyObject
* obj1
= 0 ;
25053 char *kwnames
[] = {
25054 (char *) "self",(char *) "data", NULL
25057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_TakeData",kwnames
,&obj0
,&obj1
)) goto fail
;
25058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25063 wxCustomDataObject_TakeData(arg1
,arg2
);
25065 wxPyEndAllowThreads(__tstate
);
25066 if (PyErr_Occurred()) SWIG_fail
;
25068 Py_INCREF(Py_None
); resultobj
= Py_None
;
25075 static PyObject
*_wrap_CustomDataObject_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25076 PyObject
*resultobj
;
25077 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25078 PyObject
*arg2
= (PyObject
*) 0 ;
25080 PyObject
* obj0
= 0 ;
25081 PyObject
* obj1
= 0 ;
25082 char *kwnames
[] = {
25083 (char *) "self",(char *) "data", NULL
25086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
25087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25092 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
25094 wxPyEndAllowThreads(__tstate
);
25095 if (PyErr_Occurred()) SWIG_fail
;
25097 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25104 static PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25105 PyObject
*resultobj
;
25106 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25108 PyObject
* obj0
= 0 ;
25109 char *kwnames
[] = {
25110 (char *) "self", NULL
25113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetSize",kwnames
,&obj0
)) goto fail
;
25114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25118 result
= (size_t)(arg1
)->GetSize();
25120 wxPyEndAllowThreads(__tstate
);
25121 if (PyErr_Occurred()) SWIG_fail
;
25123 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
25130 static PyObject
*_wrap_CustomDataObject_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25131 PyObject
*resultobj
;
25132 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25134 PyObject
* obj0
= 0 ;
25135 char *kwnames
[] = {
25136 (char *) "self", NULL
25139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetData",kwnames
,&obj0
)) goto fail
;
25140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25144 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
25146 wxPyEndAllowThreads(__tstate
);
25147 if (PyErr_Occurred()) SWIG_fail
;
25149 resultobj
= result
;
25156 static PyObject
* CustomDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25158 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25159 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject
, obj
);
25161 return Py_BuildValue((char *)"");
25163 static PyObject
*_wrap_new_URLDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25164 PyObject
*resultobj
;
25165 wxURLDataObject
*result
;
25166 char *kwnames
[] = {
25170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_URLDataObject",kwnames
)) goto fail
;
25172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25173 result
= (wxURLDataObject
*)new wxURLDataObject();
25175 wxPyEndAllowThreads(__tstate
);
25176 if (PyErr_Occurred()) SWIG_fail
;
25178 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxURLDataObject
, 1);
25185 static PyObject
*_wrap_URLDataObject_GetURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25186 PyObject
*resultobj
;
25187 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
25189 PyObject
* obj0
= 0 ;
25190 char *kwnames
[] = {
25191 (char *) "self", NULL
25194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:URLDataObject_GetURL",kwnames
,&obj0
)) goto fail
;
25195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxURLDataObject
,
25196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25199 result
= (arg1
)->GetURL();
25201 wxPyEndAllowThreads(__tstate
);
25202 if (PyErr_Occurred()) SWIG_fail
;
25206 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25208 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25217 static PyObject
*_wrap_URLDataObject_SetURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25218 PyObject
*resultobj
;
25219 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
25220 wxString
*arg2
= 0 ;
25221 bool temp2
= False
;
25222 PyObject
* obj0
= 0 ;
25223 PyObject
* obj1
= 0 ;
25224 char *kwnames
[] = {
25225 (char *) "self",(char *) "url", NULL
25228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) goto fail
;
25229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxURLDataObject
,
25230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25232 arg2
= wxString_in_helper(obj1
);
25233 if (arg2
== NULL
) SWIG_fail
;
25237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25238 (arg1
)->SetURL((wxString
const &)*arg2
);
25240 wxPyEndAllowThreads(__tstate
);
25241 if (PyErr_Occurred()) SWIG_fail
;
25243 Py_INCREF(Py_None
); resultobj
= Py_None
;
25258 static PyObject
* URLDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25260 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25261 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject
, obj
);
25263 return Py_BuildValue((char *)"");
25265 static PyObject
*_wrap_new_MetafileDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25266 PyObject
*resultobj
;
25267 wxMetafileDataObject
*result
;
25268 char *kwnames
[] = {
25272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MetafileDataObject",kwnames
)) goto fail
;
25274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25275 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
25277 wxPyEndAllowThreads(__tstate
);
25278 if (PyErr_Occurred()) SWIG_fail
;
25280 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetafileDataObject
, 1);
25287 static PyObject
*_wrap_MetafileDataObject_SetMetafile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25288 PyObject
*resultobj
;
25289 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
25290 wxMetafile
*arg2
= 0 ;
25291 PyObject
* obj0
= 0 ;
25292 PyObject
* obj1
= 0 ;
25293 char *kwnames
[] = {
25294 (char *) "self",(char *) "metafile", NULL
25297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MetafileDataObject_SetMetafile",kwnames
,&obj0
,&obj1
)) goto fail
;
25298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetafileDataObject
,
25299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25300 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMetafile
,
25301 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25303 if (arg2
== NULL
) {
25304 PyErr_SetString(PyExc_TypeError
,"null reference");
25308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25309 (arg1
)->SetMetafile((wxMetafile
const &)*arg2
);
25311 wxPyEndAllowThreads(__tstate
);
25312 if (PyErr_Occurred()) SWIG_fail
;
25314 Py_INCREF(Py_None
); resultobj
= Py_None
;
25321 static PyObject
*_wrap_MetafileDataObject_GetMetafile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25322 PyObject
*resultobj
;
25323 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
25325 PyObject
* obj0
= 0 ;
25326 char *kwnames
[] = {
25327 (char *) "self", NULL
25330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetafileDataObject_GetMetafile",kwnames
,&obj0
)) goto fail
;
25331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetafileDataObject
,
25332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25335 result
= ((wxMetafileDataObject
const *)arg1
)->GetMetafile();
25337 wxPyEndAllowThreads(__tstate
);
25338 if (PyErr_Occurred()) SWIG_fail
;
25341 wxMetafile
* resultptr
;
25342 resultptr
= new wxMetafile((wxMetafile
&) result
);
25343 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxMetafile
, 1);
25351 static PyObject
* MetafileDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25353 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25354 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject
, obj
);
25356 return Py_BuildValue((char *)"");
25358 static PyObject
*_wrap_IsDragResultOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25359 PyObject
*resultobj
;
25362 PyObject
* obj0
= 0 ;
25363 char *kwnames
[] = {
25364 (char *) "res", NULL
25367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) goto fail
;
25368 arg1
= (wxDragResult
) SWIG_AsInt(obj0
);
25369 if (PyErr_Occurred()) SWIG_fail
;
25371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25372 result
= (bool)wxIsDragResultOk((wxDragResult
)arg1
);
25374 wxPyEndAllowThreads(__tstate
);
25375 if (PyErr_Occurred()) SWIG_fail
;
25377 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25384 static PyObject
*_wrap_new_DropSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25385 PyObject
*resultobj
;
25386 wxWindow
*arg1
= (wxWindow
*) 0 ;
25387 wxCursor
const &arg2_defvalue
= wxNullCursor
;
25388 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
25389 wxCursor
const &arg3_defvalue
= wxNullCursor
;
25390 wxCursor
*arg3
= (wxCursor
*) &arg3_defvalue
;
25391 wxCursor
const &arg4_defvalue
= wxNullCursor
;
25392 wxCursor
*arg4
= (wxCursor
*) &arg4_defvalue
;
25393 wxPyDropSource
*result
;
25394 PyObject
* obj0
= 0 ;
25395 PyObject
* obj1
= 0 ;
25396 PyObject
* obj2
= 0 ;
25397 PyObject
* obj3
= 0 ;
25398 char *kwnames
[] = {
25399 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
25402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25406 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
25407 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25409 if (arg2
== NULL
) {
25410 PyErr_SetString(PyExc_TypeError
,"null reference");
25415 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxCursor
,
25416 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25418 if (arg3
== NULL
) {
25419 PyErr_SetString(PyExc_TypeError
,"null reference");
25424 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxCursor
,
25425 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25427 if (arg4
== NULL
) {
25428 PyErr_SetString(PyExc_TypeError
,"null reference");
25433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25434 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxCursor
const &)*arg2
,(wxCursor
const &)*arg3
,(wxCursor
const &)*arg4
);
25436 wxPyEndAllowThreads(__tstate
);
25437 if (PyErr_Occurred()) SWIG_fail
;
25439 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropSource
, 1);
25446 static PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25447 PyObject
*resultobj
;
25448 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25449 PyObject
*arg2
= (PyObject
*) 0 ;
25450 PyObject
*arg3
= (PyObject
*) 0 ;
25452 PyObject
* obj0
= 0 ;
25453 PyObject
* obj1
= 0 ;
25454 PyObject
* obj2
= 0 ;
25455 PyObject
* obj3
= 0 ;
25456 char *kwnames
[] = {
25457 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
25460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25465 arg4
= (int) SWIG_AsInt(obj3
);
25466 if (PyErr_Occurred()) SWIG_fail
;
25468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25469 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
25471 wxPyEndAllowThreads(__tstate
);
25472 if (PyErr_Occurred()) SWIG_fail
;
25474 Py_INCREF(Py_None
); resultobj
= Py_None
;
25481 static PyObject
*_wrap_delete_DropSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25482 PyObject
*resultobj
;
25483 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25484 PyObject
* obj0
= 0 ;
25485 char *kwnames
[] = {
25486 (char *) "self", NULL
25489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropSource",kwnames
,&obj0
)) goto fail
;
25490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25496 wxPyEndAllowThreads(__tstate
);
25497 if (PyErr_Occurred()) SWIG_fail
;
25499 Py_INCREF(Py_None
); resultobj
= Py_None
;
25506 static PyObject
*_wrap_DropSource_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25507 PyObject
*resultobj
;
25508 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25509 wxDataObject
*arg2
= 0 ;
25510 PyObject
* obj0
= 0 ;
25511 PyObject
* obj1
= 0 ;
25512 char *kwnames
[] = {
25513 (char *) "self",(char *) "data", NULL
25516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
25517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25519 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
25520 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25522 if (arg2
== NULL
) {
25523 PyErr_SetString(PyExc_TypeError
,"null reference");
25527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25528 (arg1
)->SetData(*arg2
);
25530 wxPyEndAllowThreads(__tstate
);
25531 if (PyErr_Occurred()) SWIG_fail
;
25533 Py_INCREF(Py_None
); resultobj
= Py_None
;
25540 static PyObject
*_wrap_DropSource_GetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25541 PyObject
*resultobj
;
25542 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25543 wxDataObject
*result
;
25544 PyObject
* obj0
= 0 ;
25545 char *kwnames
[] = {
25546 (char *) "self", NULL
25549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropSource_GetDataObject",kwnames
,&obj0
)) goto fail
;
25550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25554 result
= (wxDataObject
*)(arg1
)->GetDataObject();
25556 wxPyEndAllowThreads(__tstate
);
25557 if (PyErr_Occurred()) SWIG_fail
;
25559 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
25566 static PyObject
*_wrap_DropSource_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25567 PyObject
*resultobj
;
25568 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25570 wxCursor
*arg3
= 0 ;
25571 PyObject
* obj0
= 0 ;
25572 PyObject
* obj1
= 0 ;
25573 PyObject
* obj2
= 0 ;
25574 char *kwnames
[] = {
25575 (char *) "self",(char *) "res",(char *) "cursor", NULL
25578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25581 arg2
= (wxDragResult
) SWIG_AsInt(obj1
);
25582 if (PyErr_Occurred()) SWIG_fail
;
25583 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxCursor
,
25584 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25586 if (arg3
== NULL
) {
25587 PyErr_SetString(PyExc_TypeError
,"null reference");
25591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25592 (arg1
)->SetCursor((wxDragResult
)arg2
,(wxCursor
const &)*arg3
);
25594 wxPyEndAllowThreads(__tstate
);
25595 if (PyErr_Occurred()) SWIG_fail
;
25597 Py_INCREF(Py_None
); resultobj
= Py_None
;
25604 static PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25605 PyObject
*resultobj
;
25606 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25607 int arg2
= (int) wxDrag_CopyOnly
;
25609 PyObject
* obj0
= 0 ;
25610 PyObject
* obj1
= 0 ;
25611 char *kwnames
[] = {
25612 (char *) "self",(char *) "flags", NULL
25615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) goto fail
;
25616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25619 arg2
= (int) SWIG_AsInt(obj1
);
25620 if (PyErr_Occurred()) SWIG_fail
;
25623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25624 result
= (int)(arg1
)->DoDragDrop(arg2
);
25626 wxPyEndAllowThreads(__tstate
);
25627 if (PyErr_Occurred()) SWIG_fail
;
25629 resultobj
= SWIG_FromInt((int)result
);
25636 static PyObject
*_wrap_DropSource_base_GiveFeedback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25637 PyObject
*resultobj
;
25638 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25641 PyObject
* obj0
= 0 ;
25642 PyObject
* obj1
= 0 ;
25643 char *kwnames
[] = {
25644 (char *) "self",(char *) "effect", NULL
25647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_base_GiveFeedback",kwnames
,&obj0
,&obj1
)) goto fail
;
25648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25650 arg2
= (wxDragResult
) SWIG_AsInt(obj1
);
25651 if (PyErr_Occurred()) SWIG_fail
;
25653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25654 result
= (bool)(arg1
)->base_GiveFeedback((wxDragResult
)arg2
);
25656 wxPyEndAllowThreads(__tstate
);
25657 if (PyErr_Occurred()) SWIG_fail
;
25659 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25666 static PyObject
* DropSource_swigregister(PyObject
*self
, PyObject
*args
) {
25668 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25669 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource
, obj
);
25671 return Py_BuildValue((char *)"");
25673 static PyObject
*_wrap_new_DropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25674 PyObject
*resultobj
;
25675 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
25676 wxPyDropTarget
*result
;
25677 PyObject
* obj0
= 0 ;
25678 char *kwnames
[] = {
25679 (char *) "dataObject", NULL
25682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DropTarget",kwnames
,&obj0
)) goto fail
;
25684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
25685 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25689 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
25691 wxPyEndAllowThreads(__tstate
);
25692 if (PyErr_Occurred()) SWIG_fail
;
25694 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 1);
25701 static PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25702 PyObject
*resultobj
;
25703 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25704 PyObject
*arg2
= (PyObject
*) 0 ;
25705 PyObject
*arg3
= (PyObject
*) 0 ;
25706 PyObject
* obj0
= 0 ;
25707 PyObject
* obj1
= 0 ;
25708 PyObject
* obj2
= 0 ;
25709 char *kwnames
[] = {
25710 (char *) "self",(char *) "self",(char *) "_class", NULL
25713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
25715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25720 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25722 wxPyEndAllowThreads(__tstate
);
25723 if (PyErr_Occurred()) SWIG_fail
;
25725 Py_INCREF(Py_None
); resultobj
= Py_None
;
25732 static PyObject
*_wrap_delete_DropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25733 PyObject
*resultobj
;
25734 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25735 PyObject
* obj0
= 0 ;
25736 char *kwnames
[] = {
25737 (char *) "self", NULL
25740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropTarget",kwnames
,&obj0
)) goto fail
;
25741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
25742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25747 wxPyEndAllowThreads(__tstate
);
25748 if (PyErr_Occurred()) SWIG_fail
;
25750 Py_INCREF(Py_None
); resultobj
= Py_None
;
25757 static PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25758 PyObject
*resultobj
;
25759 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25760 wxDataObject
*result
;
25761 PyObject
* obj0
= 0 ;
25762 char *kwnames
[] = {
25763 (char *) "self", NULL
25766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDataObject",kwnames
,&obj0
)) goto fail
;
25767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
25768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25771 result
= (wxDataObject
*)(arg1
)->GetDataObject();
25773 wxPyEndAllowThreads(__tstate
);
25774 if (PyErr_Occurred()) SWIG_fail
;
25776 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
25783 static PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25784 PyObject
*resultobj
;
25785 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25786 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
25787 PyObject
* obj0
= 0 ;
25788 PyObject
* obj1
= 0 ;
25789 char *kwnames
[] = {
25790 (char *) "self",(char *) "dataObject", NULL
25793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) goto fail
;
25794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
25795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25796 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
25797 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25800 (arg1
)->SetDataObject(arg2
);
25802 wxPyEndAllowThreads(__tstate
);
25803 if (PyErr_Occurred()) SWIG_fail
;
25805 Py_INCREF(Py_None
); resultobj
= Py_None
;
25812 static PyObject
*_wrap_DropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25813 PyObject
*resultobj
;
25814 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25819 PyObject
* obj0
= 0 ;
25820 PyObject
* obj1
= 0 ;
25821 PyObject
* obj2
= 0 ;
25822 PyObject
* obj3
= 0 ;
25823 char *kwnames
[] = {
25824 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
25827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
25829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25830 arg2
= (int) SWIG_AsInt(obj1
);
25831 if (PyErr_Occurred()) SWIG_fail
;
25832 arg3
= (int) SWIG_AsInt(obj2
);
25833 if (PyErr_Occurred()) SWIG_fail
;
25834 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
25835 if (PyErr_Occurred()) SWIG_fail
;
25837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25838 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
25840 wxPyEndAllowThreads(__tstate
);
25841 if (PyErr_Occurred()) SWIG_fail
;
25843 resultobj
= SWIG_FromInt((int)result
);
25850 static PyObject
*_wrap_DropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25851 PyObject
*resultobj
;
25852 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25857 PyObject
* obj0
= 0 ;
25858 PyObject
* obj1
= 0 ;
25859 PyObject
* obj2
= 0 ;
25860 PyObject
* obj3
= 0 ;
25861 char *kwnames
[] = {
25862 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
25865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
25867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25868 arg2
= (int) SWIG_AsInt(obj1
);
25869 if (PyErr_Occurred()) SWIG_fail
;
25870 arg3
= (int) SWIG_AsInt(obj2
);
25871 if (PyErr_Occurred()) SWIG_fail
;
25872 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
25873 if (PyErr_Occurred()) SWIG_fail
;
25875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25876 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
25878 wxPyEndAllowThreads(__tstate
);
25879 if (PyErr_Occurred()) SWIG_fail
;
25881 resultobj
= SWIG_FromInt((int)result
);
25888 static PyObject
*_wrap_DropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25889 PyObject
*resultobj
;
25890 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25891 PyObject
* obj0
= 0 ;
25892 char *kwnames
[] = {
25893 (char *) "self", NULL
25896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
25897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
25898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25901 (arg1
)->base_OnLeave();
25903 wxPyEndAllowThreads(__tstate
);
25904 if (PyErr_Occurred()) SWIG_fail
;
25906 Py_INCREF(Py_None
); resultobj
= Py_None
;
25913 static PyObject
*_wrap_DropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25914 PyObject
*resultobj
;
25915 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25919 PyObject
* obj0
= 0 ;
25920 PyObject
* obj1
= 0 ;
25921 PyObject
* obj2
= 0 ;
25922 char *kwnames
[] = {
25923 (char *) "self",(char *) "x",(char *) "y", NULL
25926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
25928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25929 arg2
= (int) SWIG_AsInt(obj1
);
25930 if (PyErr_Occurred()) SWIG_fail
;
25931 arg3
= (int) SWIG_AsInt(obj2
);
25932 if (PyErr_Occurred()) SWIG_fail
;
25934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25935 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
25937 wxPyEndAllowThreads(__tstate
);
25938 if (PyErr_Occurred()) SWIG_fail
;
25940 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25947 static PyObject
*_wrap_DropTarget_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25948 PyObject
*resultobj
;
25949 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25951 PyObject
* obj0
= 0 ;
25952 char *kwnames
[] = {
25953 (char *) "self", NULL
25956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetData",kwnames
,&obj0
)) goto fail
;
25957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
25958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25961 result
= (bool)(arg1
)->GetData();
25963 wxPyEndAllowThreads(__tstate
);
25964 if (PyErr_Occurred()) SWIG_fail
;
25966 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25973 static PyObject
* DropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
25975 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25976 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget
, obj
);
25978 return Py_BuildValue((char *)"");
25980 static PyObject
*_wrap_new_TextDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25981 PyObject
*resultobj
;
25982 wxPyTextDropTarget
*result
;
25983 char *kwnames
[] = {
25987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TextDropTarget",kwnames
)) goto fail
;
25989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25990 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
25992 wxPyEndAllowThreads(__tstate
);
25993 if (PyErr_Occurred()) SWIG_fail
;
25995 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDropTarget
, 1);
26002 static PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26003 PyObject
*resultobj
;
26004 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26005 PyObject
*arg2
= (PyObject
*) 0 ;
26006 PyObject
*arg3
= (PyObject
*) 0 ;
26007 PyObject
* obj0
= 0 ;
26008 PyObject
* obj1
= 0 ;
26009 PyObject
* obj2
= 0 ;
26010 char *kwnames
[] = {
26011 (char *) "self",(char *) "self",(char *) "_class", NULL
26014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26021 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26023 wxPyEndAllowThreads(__tstate
);
26024 if (PyErr_Occurred()) SWIG_fail
;
26026 Py_INCREF(Py_None
); resultobj
= Py_None
;
26033 static PyObject
*_wrap_TextDropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26034 PyObject
*resultobj
;
26035 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26040 PyObject
* obj0
= 0 ;
26041 PyObject
* obj1
= 0 ;
26042 PyObject
* obj2
= 0 ;
26043 PyObject
* obj3
= 0 ;
26044 char *kwnames
[] = {
26045 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26051 arg2
= (int) SWIG_AsInt(obj1
);
26052 if (PyErr_Occurred()) SWIG_fail
;
26053 arg3
= (int) SWIG_AsInt(obj2
);
26054 if (PyErr_Occurred()) SWIG_fail
;
26055 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26056 if (PyErr_Occurred()) SWIG_fail
;
26058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26059 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26061 wxPyEndAllowThreads(__tstate
);
26062 if (PyErr_Occurred()) SWIG_fail
;
26064 resultobj
= SWIG_FromInt((int)result
);
26071 static PyObject
*_wrap_TextDropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26072 PyObject
*resultobj
;
26073 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26078 PyObject
* obj0
= 0 ;
26079 PyObject
* obj1
= 0 ;
26080 PyObject
* obj2
= 0 ;
26081 PyObject
* obj3
= 0 ;
26082 char *kwnames
[] = {
26083 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26089 arg2
= (int) SWIG_AsInt(obj1
);
26090 if (PyErr_Occurred()) SWIG_fail
;
26091 arg3
= (int) SWIG_AsInt(obj2
);
26092 if (PyErr_Occurred()) SWIG_fail
;
26093 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26094 if (PyErr_Occurred()) SWIG_fail
;
26096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26097 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26099 wxPyEndAllowThreads(__tstate
);
26100 if (PyErr_Occurred()) SWIG_fail
;
26102 resultobj
= SWIG_FromInt((int)result
);
26109 static PyObject
*_wrap_TextDropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26110 PyObject
*resultobj
;
26111 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26112 PyObject
* obj0
= 0 ;
26113 char *kwnames
[] = {
26114 (char *) "self", NULL
26117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26122 (arg1
)->base_OnLeave();
26124 wxPyEndAllowThreads(__tstate
);
26125 if (PyErr_Occurred()) SWIG_fail
;
26127 Py_INCREF(Py_None
); resultobj
= Py_None
;
26134 static PyObject
*_wrap_TextDropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26135 PyObject
*resultobj
;
26136 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26140 PyObject
* obj0
= 0 ;
26141 PyObject
* obj1
= 0 ;
26142 PyObject
* obj2
= 0 ;
26143 char *kwnames
[] = {
26144 (char *) "self",(char *) "x",(char *) "y", NULL
26147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26150 arg2
= (int) SWIG_AsInt(obj1
);
26151 if (PyErr_Occurred()) SWIG_fail
;
26152 arg3
= (int) SWIG_AsInt(obj2
);
26153 if (PyErr_Occurred()) SWIG_fail
;
26155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26156 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26158 wxPyEndAllowThreads(__tstate
);
26159 if (PyErr_Occurred()) SWIG_fail
;
26161 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26168 static PyObject
*_wrap_TextDropTarget_base_OnData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26169 PyObject
*resultobj
;
26170 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26175 PyObject
* obj0
= 0 ;
26176 PyObject
* obj1
= 0 ;
26177 PyObject
* obj2
= 0 ;
26178 PyObject
* obj3
= 0 ;
26179 char *kwnames
[] = {
26180 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26186 arg2
= (int) SWIG_AsInt(obj1
);
26187 if (PyErr_Occurred()) SWIG_fail
;
26188 arg3
= (int) SWIG_AsInt(obj2
);
26189 if (PyErr_Occurred()) SWIG_fail
;
26190 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26191 if (PyErr_Occurred()) SWIG_fail
;
26193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26194 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
26196 wxPyEndAllowThreads(__tstate
);
26197 if (PyErr_Occurred()) SWIG_fail
;
26199 resultobj
= SWIG_FromInt((int)result
);
26206 static PyObject
* TextDropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
26208 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26209 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget
, obj
);
26211 return Py_BuildValue((char *)"");
26213 static PyObject
*_wrap_new_FileDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26214 PyObject
*resultobj
;
26215 wxPyFileDropTarget
*result
;
26216 char *kwnames
[] = {
26220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDropTarget",kwnames
)) goto fail
;
26222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26223 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
26225 wxPyEndAllowThreads(__tstate
);
26226 if (PyErr_Occurred()) SWIG_fail
;
26228 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileDropTarget
, 1);
26235 static PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26236 PyObject
*resultobj
;
26237 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26238 PyObject
*arg2
= (PyObject
*) 0 ;
26239 PyObject
*arg3
= (PyObject
*) 0 ;
26240 PyObject
* obj0
= 0 ;
26241 PyObject
* obj1
= 0 ;
26242 PyObject
* obj2
= 0 ;
26243 char *kwnames
[] = {
26244 (char *) "self",(char *) "self",(char *) "_class", NULL
26247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26254 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26256 wxPyEndAllowThreads(__tstate
);
26257 if (PyErr_Occurred()) SWIG_fail
;
26259 Py_INCREF(Py_None
); resultobj
= Py_None
;
26266 static PyObject
*_wrap_FileDropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26267 PyObject
*resultobj
;
26268 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26273 PyObject
* obj0
= 0 ;
26274 PyObject
* obj1
= 0 ;
26275 PyObject
* obj2
= 0 ;
26276 PyObject
* obj3
= 0 ;
26277 char *kwnames
[] = {
26278 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26284 arg2
= (int) SWIG_AsInt(obj1
);
26285 if (PyErr_Occurred()) SWIG_fail
;
26286 arg3
= (int) SWIG_AsInt(obj2
);
26287 if (PyErr_Occurred()) SWIG_fail
;
26288 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26289 if (PyErr_Occurred()) SWIG_fail
;
26291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26292 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26294 wxPyEndAllowThreads(__tstate
);
26295 if (PyErr_Occurred()) SWIG_fail
;
26297 resultobj
= SWIG_FromInt((int)result
);
26304 static PyObject
*_wrap_FileDropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26305 PyObject
*resultobj
;
26306 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26311 PyObject
* obj0
= 0 ;
26312 PyObject
* obj1
= 0 ;
26313 PyObject
* obj2
= 0 ;
26314 PyObject
* obj3
= 0 ;
26315 char *kwnames
[] = {
26316 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26322 arg2
= (int) SWIG_AsInt(obj1
);
26323 if (PyErr_Occurred()) SWIG_fail
;
26324 arg3
= (int) SWIG_AsInt(obj2
);
26325 if (PyErr_Occurred()) SWIG_fail
;
26326 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26327 if (PyErr_Occurred()) SWIG_fail
;
26329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26330 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26332 wxPyEndAllowThreads(__tstate
);
26333 if (PyErr_Occurred()) SWIG_fail
;
26335 resultobj
= SWIG_FromInt((int)result
);
26342 static PyObject
*_wrap_FileDropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26343 PyObject
*resultobj
;
26344 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26345 PyObject
* obj0
= 0 ;
26346 char *kwnames
[] = {
26347 (char *) "self", NULL
26350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26355 (arg1
)->base_OnLeave();
26357 wxPyEndAllowThreads(__tstate
);
26358 if (PyErr_Occurred()) SWIG_fail
;
26360 Py_INCREF(Py_None
); resultobj
= Py_None
;
26367 static PyObject
*_wrap_FileDropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26368 PyObject
*resultobj
;
26369 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26373 PyObject
* obj0
= 0 ;
26374 PyObject
* obj1
= 0 ;
26375 PyObject
* obj2
= 0 ;
26376 char *kwnames
[] = {
26377 (char *) "self",(char *) "x",(char *) "y", NULL
26380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26383 arg2
= (int) SWIG_AsInt(obj1
);
26384 if (PyErr_Occurred()) SWIG_fail
;
26385 arg3
= (int) SWIG_AsInt(obj2
);
26386 if (PyErr_Occurred()) SWIG_fail
;
26388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26389 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26391 wxPyEndAllowThreads(__tstate
);
26392 if (PyErr_Occurred()) SWIG_fail
;
26394 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26401 static PyObject
*_wrap_FileDropTarget_base_OnData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26402 PyObject
*resultobj
;
26403 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26408 PyObject
* obj0
= 0 ;
26409 PyObject
* obj1
= 0 ;
26410 PyObject
* obj2
= 0 ;
26411 PyObject
* obj3
= 0 ;
26412 char *kwnames
[] = {
26413 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26419 arg2
= (int) SWIG_AsInt(obj1
);
26420 if (PyErr_Occurred()) SWIG_fail
;
26421 arg3
= (int) SWIG_AsInt(obj2
);
26422 if (PyErr_Occurred()) SWIG_fail
;
26423 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26424 if (PyErr_Occurred()) SWIG_fail
;
26426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26427 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
26429 wxPyEndAllowThreads(__tstate
);
26430 if (PyErr_Occurred()) SWIG_fail
;
26432 resultobj
= SWIG_FromInt((int)result
);
26439 static PyObject
* FileDropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
26441 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26442 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget
, obj
);
26444 return Py_BuildValue((char *)"");
26446 static PyObject
*_wrap_new_Clipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26447 PyObject
*resultobj
;
26448 wxClipboard
*result
;
26449 char *kwnames
[] = {
26453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Clipboard",kwnames
)) goto fail
;
26455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26456 result
= (wxClipboard
*)new wxClipboard();
26458 wxPyEndAllowThreads(__tstate
);
26459 if (PyErr_Occurred()) SWIG_fail
;
26461 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 1);
26468 static PyObject
*_wrap_delete_Clipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26469 PyObject
*resultobj
;
26470 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26471 PyObject
* obj0
= 0 ;
26472 char *kwnames
[] = {
26473 (char *) "self", NULL
26476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Clipboard",kwnames
,&obj0
)) goto fail
;
26477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26483 wxPyEndAllowThreads(__tstate
);
26484 if (PyErr_Occurred()) SWIG_fail
;
26486 Py_INCREF(Py_None
); resultobj
= Py_None
;
26493 static PyObject
*_wrap_Clipboard_Open(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26494 PyObject
*resultobj
;
26495 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26497 PyObject
* obj0
= 0 ;
26498 char *kwnames
[] = {
26499 (char *) "self", NULL
26502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Open",kwnames
,&obj0
)) goto fail
;
26503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26507 result
= (bool)(arg1
)->Open();
26509 wxPyEndAllowThreads(__tstate
);
26510 if (PyErr_Occurred()) SWIG_fail
;
26512 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26519 static PyObject
*_wrap_Clipboard_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26520 PyObject
*resultobj
;
26521 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26522 PyObject
* obj0
= 0 ;
26523 char *kwnames
[] = {
26524 (char *) "self", NULL
26527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Close",kwnames
,&obj0
)) goto fail
;
26528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26534 wxPyEndAllowThreads(__tstate
);
26535 if (PyErr_Occurred()) SWIG_fail
;
26537 Py_INCREF(Py_None
); resultobj
= Py_None
;
26544 static PyObject
*_wrap_Clipboard_IsOpened(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26545 PyObject
*resultobj
;
26546 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26548 PyObject
* obj0
= 0 ;
26549 char *kwnames
[] = {
26550 (char *) "self", NULL
26553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_IsOpened",kwnames
,&obj0
)) goto fail
;
26554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26558 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
26560 wxPyEndAllowThreads(__tstate
);
26561 if (PyErr_Occurred()) SWIG_fail
;
26563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26570 static PyObject
*_wrap_Clipboard_AddData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26571 PyObject
*resultobj
;
26572 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26573 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
26575 PyObject
* obj0
= 0 ;
26576 PyObject
* obj1
= 0 ;
26577 char *kwnames
[] = {
26578 (char *) "self",(char *) "data", NULL
26581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) goto fail
;
26582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26584 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26585 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26588 result
= (bool)(arg1
)->AddData(arg2
);
26590 wxPyEndAllowThreads(__tstate
);
26591 if (PyErr_Occurred()) SWIG_fail
;
26593 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26600 static PyObject
*_wrap_Clipboard_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26601 PyObject
*resultobj
;
26602 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26603 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
26605 PyObject
* obj0
= 0 ;
26606 PyObject
* obj1
= 0 ;
26607 char *kwnames
[] = {
26608 (char *) "self",(char *) "data", NULL
26611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
26612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26614 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26615 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26618 result
= (bool)(arg1
)->SetData(arg2
);
26620 wxPyEndAllowThreads(__tstate
);
26621 if (PyErr_Occurred()) SWIG_fail
;
26623 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26630 static PyObject
*_wrap_Clipboard_IsSupported(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26631 PyObject
*resultobj
;
26632 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26633 wxDataFormat
*arg2
= 0 ;
26635 PyObject
* obj0
= 0 ;
26636 PyObject
* obj1
= 0 ;
26637 char *kwnames
[] = {
26638 (char *) "self",(char *) "format", NULL
26641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) goto fail
;
26642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26644 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
26645 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26647 if (arg2
== NULL
) {
26648 PyErr_SetString(PyExc_TypeError
,"null reference");
26652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26653 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
26655 wxPyEndAllowThreads(__tstate
);
26656 if (PyErr_Occurred()) SWIG_fail
;
26658 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26665 static PyObject
*_wrap_Clipboard_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26666 PyObject
*resultobj
;
26667 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26668 wxDataObject
*arg2
= 0 ;
26670 PyObject
* obj0
= 0 ;
26671 PyObject
* obj1
= 0 ;
26672 char *kwnames
[] = {
26673 (char *) "self",(char *) "data", NULL
26676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) goto fail
;
26677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26679 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26680 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26682 if (arg2
== NULL
) {
26683 PyErr_SetString(PyExc_TypeError
,"null reference");
26687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26688 result
= (bool)(arg1
)->GetData(*arg2
);
26690 wxPyEndAllowThreads(__tstate
);
26691 if (PyErr_Occurred()) SWIG_fail
;
26693 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26700 static PyObject
*_wrap_Clipboard_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26701 PyObject
*resultobj
;
26702 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26703 PyObject
* obj0
= 0 ;
26704 char *kwnames
[] = {
26705 (char *) "self", NULL
26708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Clear",kwnames
,&obj0
)) goto fail
;
26709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26715 wxPyEndAllowThreads(__tstate
);
26716 if (PyErr_Occurred()) SWIG_fail
;
26718 Py_INCREF(Py_None
); resultobj
= Py_None
;
26725 static PyObject
*_wrap_Clipboard_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26726 PyObject
*resultobj
;
26727 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26729 PyObject
* obj0
= 0 ;
26730 char *kwnames
[] = {
26731 (char *) "self", NULL
26734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Flush",kwnames
,&obj0
)) goto fail
;
26735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26739 result
= (bool)(arg1
)->Flush();
26741 wxPyEndAllowThreads(__tstate
);
26742 if (PyErr_Occurred()) SWIG_fail
;
26744 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26751 static PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26752 PyObject
*resultobj
;
26753 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26754 bool arg2
= (bool) True
;
26755 PyObject
* obj0
= 0 ;
26756 PyObject
* obj1
= 0 ;
26757 char *kwnames
[] = {
26758 (char *) "self",(char *) "primary", NULL
26761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) goto fail
;
26762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26765 arg2
= (bool) SWIG_AsBool(obj1
);
26766 if (PyErr_Occurred()) SWIG_fail
;
26769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26770 (arg1
)->UsePrimarySelection(arg2
);
26772 wxPyEndAllowThreads(__tstate
);
26773 if (PyErr_Occurred()) SWIG_fail
;
26775 Py_INCREF(Py_None
); resultobj
= Py_None
;
26782 static PyObject
* Clipboard_swigregister(PyObject
*self
, PyObject
*args
) {
26784 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26785 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard
, obj
);
26787 return Py_BuildValue((char *)"");
26789 static int _wrap_TheClipboard_set(PyObject
*_val
) {
26790 PyErr_SetString(PyExc_TypeError
,"Variable TheClipboard is read-only.");
26795 static PyObject
*_wrap_TheClipboard_get() {
26798 pyobj
= SWIG_NewPointerObj((void *)(wxTheClipboard
), SWIGTYPE_p_wxClipboard
, 0);
26803 static PyObject
*_wrap_new_ClipboardLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26804 PyObject
*resultobj
;
26805 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
26806 wxClipboardLocker
*result
;
26807 PyObject
* obj0
= 0 ;
26808 char *kwnames
[] = {
26809 (char *) "clipboard", NULL
26812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
26814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26819 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
26821 wxPyEndAllowThreads(__tstate
);
26822 if (PyErr_Occurred()) SWIG_fail
;
26824 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboardLocker
, 1);
26831 static PyObject
*_wrap_delete_ClipboardLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26832 PyObject
*resultobj
;
26833 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
26834 PyObject
* obj0
= 0 ;
26835 char *kwnames
[] = {
26836 (char *) "self", NULL
26839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
26840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboardLocker
,
26841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26846 wxPyEndAllowThreads(__tstate
);
26847 if (PyErr_Occurred()) SWIG_fail
;
26849 Py_INCREF(Py_None
); resultobj
= Py_None
;
26856 static PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26857 PyObject
*resultobj
;
26858 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
26860 PyObject
* obj0
= 0 ;
26861 char *kwnames
[] = {
26862 (char *) "self", NULL
26865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ClipboardLocker___nonzero__",kwnames
,&obj0
)) goto fail
;
26866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboardLocker
,
26867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26870 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
26872 wxPyEndAllowThreads(__tstate
);
26873 if (PyErr_Occurred()) SWIG_fail
;
26875 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26882 static PyObject
* ClipboardLocker_swigregister(PyObject
*self
, PyObject
*args
) {
26884 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26885 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker
, obj
);
26887 return Py_BuildValue((char *)"");
26889 static PyMethodDef SwigMethods
[] = {
26890 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
26891 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
26892 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
},
26893 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
},
26894 { (char *)"SystemSettings_GetScreenType", (PyCFunction
) _wrap_SystemSettings_GetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
26895 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
26896 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
},
26897 { (char *)"new_SystemOptions", (PyCFunction
) _wrap_new_SystemOptions
, METH_VARARGS
| METH_KEYWORDS
},
26898 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
},
26899 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
26900 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
},
26901 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
26902 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
},
26903 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
},
26904 { (char *)"NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
},
26905 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
},
26906 { (char *)"GetCurrentId", (PyCFunction
) _wrap_GetCurrentId
, METH_VARARGS
| METH_KEYWORDS
},
26907 { (char *)"Bell", (PyCFunction
) _wrap_Bell
, METH_VARARGS
| METH_KEYWORDS
},
26908 { (char *)"EndBusyCursor", (PyCFunction
) _wrap_EndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
26909 { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
},
26910 { (char *)"GetMousePosition", (PyCFunction
) _wrap_GetMousePosition
, METH_VARARGS
| METH_KEYWORDS
},
26911 { (char *)"IsBusy", (PyCFunction
) _wrap_IsBusy
, METH_VARARGS
| METH_KEYWORDS
},
26912 { (char *)"Now", (PyCFunction
) _wrap_Now
, METH_VARARGS
| METH_KEYWORDS
},
26913 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
},
26914 { (char *)"StartTimer", (PyCFunction
) _wrap_StartTimer
, METH_VARARGS
| METH_KEYWORDS
},
26915 { (char *)"GetOsVersion", (PyCFunction
) _wrap_GetOsVersion
, METH_VARARGS
| METH_KEYWORDS
},
26916 { (char *)"GetOsDescription", (PyCFunction
) _wrap_GetOsDescription
, METH_VARARGS
| METH_KEYWORDS
},
26917 { (char *)"GetFreeMemory", (PyCFunction
) _wrap_GetFreeMemory
, METH_VARARGS
| METH_KEYWORDS
},
26918 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
},
26919 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
},
26920 { (char *)"Usleep", (PyCFunction
) _wrap_Usleep
, METH_VARARGS
| METH_KEYWORDS
},
26921 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
},
26922 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
},
26923 { (char *)"GetEmailAddress", (PyCFunction
) _wrap_GetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
},
26924 { (char *)"GetHostName", (PyCFunction
) _wrap_GetHostName
, METH_VARARGS
| METH_KEYWORDS
},
26925 { (char *)"GetFullHostName", (PyCFunction
) _wrap_GetFullHostName
, METH_VARARGS
| METH_KEYWORDS
},
26926 { (char *)"GetUserId", (PyCFunction
) _wrap_GetUserId
, METH_VARARGS
| METH_KEYWORDS
},
26927 { (char *)"GetUserName", (PyCFunction
) _wrap_GetUserName
, METH_VARARGS
| METH_KEYWORDS
},
26928 { (char *)"GetHomeDir", (PyCFunction
) _wrap_GetHomeDir
, METH_VARARGS
| METH_KEYWORDS
},
26929 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
},
26930 { (char *)"GetProcessId", (PyCFunction
) _wrap_GetProcessId
, METH_VARARGS
| METH_KEYWORDS
},
26931 { (char *)"Trap", (PyCFunction
) _wrap_Trap
, METH_VARARGS
| METH_KEYWORDS
},
26932 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
},
26933 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
26934 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
26935 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
},
26936 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
},
26937 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
},
26938 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
},
26939 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
},
26940 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
},
26941 { (char *)"GetNumberFromUser", (PyCFunction
) _wrap_GetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
},
26942 { (char *)"ColourDisplay", (PyCFunction
) _wrap_ColourDisplay
, METH_VARARGS
| METH_KEYWORDS
},
26943 { (char *)"DisplayDepth", (PyCFunction
) _wrap_DisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
26944 { (char *)"GetDisplayDepth", (PyCFunction
) _wrap_GetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
26945 { (char *)"DisplaySize", (PyCFunction
) _wrap_DisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
26946 { (char *)"GetDisplaySize", (PyCFunction
) _wrap_GetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
26947 { (char *)"DisplaySizeMM", (PyCFunction
) _wrap_DisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
26948 { (char *)"GetDisplaySizeMM", (PyCFunction
) _wrap_GetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
26949 { (char *)"ClientDisplayRect", (PyCFunction
) _wrap_ClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
26950 { (char *)"GetClientDisplayRect", (PyCFunction
) _wrap_GetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
26951 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
26952 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
26953 { (char *)"GetActiveWindow", (PyCFunction
) _wrap_GetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
},
26954 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
26955 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
26956 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
},
26957 { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS
| METH_KEYWORDS
},
26958 { (char *)"WakeUpMainThread", (PyCFunction
) _wrap_WakeUpMainThread
, METH_VARARGS
| METH_KEYWORDS
},
26959 { (char *)"MutexGuiEnter", (PyCFunction
) _wrap_MutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
},
26960 { (char *)"MutexGuiLeave", (PyCFunction
) _wrap_MutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
},
26961 { (char *)"new_MutexGuiLocker", (PyCFunction
) _wrap_new_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
26962 { (char *)"delete_MutexGuiLocker", (PyCFunction
) _wrap_delete_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
26963 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
},
26964 { (char *)"Thread_IsMain", (PyCFunction
) _wrap_Thread_IsMain
, METH_VARARGS
| METH_KEYWORDS
},
26965 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
},
26966 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
},
26967 { (char *)"ToolTip_GetTip", (PyCFunction
) _wrap_ToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
26968 { (char *)"ToolTip_GetWindow", (PyCFunction
) _wrap_ToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
26969 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
},
26970 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
},
26971 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
},
26972 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
},
26973 { (char *)"delete_Caret", (PyCFunction
) _wrap_delete_Caret
, METH_VARARGS
| METH_KEYWORDS
},
26974 { (char *)"Caret_IsOk", (PyCFunction
) _wrap_Caret_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
26975 { (char *)"Caret_IsVisible", (PyCFunction
) _wrap_Caret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
26976 { (char *)"Caret_GetPosition", (PyCFunction
) _wrap_Caret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
26977 { (char *)"Caret_GetPositionTuple", (PyCFunction
) _wrap_Caret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
26978 { (char *)"Caret_GetSize", (PyCFunction
) _wrap_Caret_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
26979 { (char *)"Caret_GetSizeTuple", (PyCFunction
) _wrap_Caret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
26980 { (char *)"Caret_GetWindow", (PyCFunction
) _wrap_Caret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
26981 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
26982 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
},
26983 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
26984 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
26985 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
},
26986 { (char *)"Caret_Hide", (PyCFunction
) _wrap_Caret_Hide
, METH_VARARGS
| METH_KEYWORDS
},
26987 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
},
26988 { (char *)"Caret_GetBlinkTime", (PyCFunction
) _wrap_Caret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
26989 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
26990 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
26991 { (char *)"delete_BusyCursor", (PyCFunction
) _wrap_delete_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
26992 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
},
26993 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
26994 { (char *)"delete_WindowDisabler", (PyCFunction
) _wrap_delete_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
26995 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
},
26996 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
26997 { (char *)"delete_BusyInfo", (PyCFunction
) _wrap_delete_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
26998 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
},
26999 { (char *)"new_StopWatch", (PyCFunction
) _wrap_new_StopWatch
, METH_VARARGS
| METH_KEYWORDS
},
27000 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
},
27001 { (char *)"StopWatch_Pause", (PyCFunction
) _wrap_StopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
},
27002 { (char *)"StopWatch_Resume", (PyCFunction
) _wrap_StopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
},
27003 { (char *)"StopWatch_Time", (PyCFunction
) _wrap_StopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
},
27004 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
},
27005 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
},
27006 { (char *)"delete_FileHistory", (PyCFunction
) _wrap_delete_FileHistory
, METH_VARARGS
| METH_KEYWORDS
},
27007 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
},
27008 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
},
27009 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
) _wrap_FileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
},
27010 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
},
27011 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
},
27012 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
},
27013 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
},
27014 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
},
27015 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
},
27016 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
},
27017 { (char *)"FileHistory_GetCount", (PyCFunction
) _wrap_FileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
27018 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
},
27019 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
27020 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
) _wrap_new_PreSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
27021 { (char *)"delete_SingleInstanceChecker", (PyCFunction
) _wrap_delete_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
27022 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
},
27023 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
) _wrap_SingleInstanceChecker_IsAnotherRunning
, METH_VARARGS
| METH_KEYWORDS
},
27024 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
},
27025 { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
},
27026 { (char *)"delete_TipProvider", (PyCFunction
) _wrap_delete_TipProvider
, METH_VARARGS
| METH_KEYWORDS
},
27027 { (char *)"TipProvider_GetTip", (PyCFunction
) _wrap_TipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
27028 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
) _wrap_TipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
},
27029 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
},
27030 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
},
27031 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
27032 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
27033 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
},
27034 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
},
27035 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
27036 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
},
27037 { (char *)"delete_Timer", (PyCFunction
) _wrap_delete_Timer
, METH_VARARGS
| METH_KEYWORDS
},
27038 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
27039 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
},
27040 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
},
27041 { (char *)"Timer_Stop", (PyCFunction
) _wrap_Timer_Stop
, METH_VARARGS
| METH_KEYWORDS
},
27042 { (char *)"Timer_IsRunning", (PyCFunction
) _wrap_Timer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
},
27043 { (char *)"Timer_GetInterval", (PyCFunction
) _wrap_Timer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
27044 { (char *)"Timer_IsOneShot", (PyCFunction
) _wrap_Timer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
},
27045 { (char *)"Timer_GetId", (PyCFunction
) _wrap_Timer_GetId
, METH_VARARGS
| METH_KEYWORDS
},
27046 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
},
27047 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
},
27048 { (char *)"TimerEvent_GetInterval", (PyCFunction
) _wrap_TimerEvent_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
27049 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
},
27050 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
},
27051 { (char *)"delete_TimerRunner", (PyCFunction
) _wrap_delete_TimerRunner
, METH_VARARGS
| METH_KEYWORDS
},
27052 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
},
27053 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
},
27054 { (char *)"new_Log", (PyCFunction
) _wrap_new_Log
, METH_VARARGS
| METH_KEYWORDS
},
27055 { (char *)"Log_IsEnabled", (PyCFunction
) _wrap_Log_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
27056 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
},
27057 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
},
27058 { (char *)"Log_Flush", (PyCFunction
) _wrap_Log_Flush
, METH_VARARGS
| METH_KEYWORDS
},
27059 { (char *)"Log_FlushActive", (PyCFunction
) _wrap_Log_FlushActive
, METH_VARARGS
| METH_KEYWORDS
},
27060 { (char *)"Log_GetActiveTarget", (PyCFunction
) _wrap_Log_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
27061 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
27062 { (char *)"Log_Suspend", (PyCFunction
) _wrap_Log_Suspend
, METH_VARARGS
| METH_KEYWORDS
},
27063 { (char *)"Log_Resume", (PyCFunction
) _wrap_Log_Resume
, METH_VARARGS
| METH_KEYWORDS
},
27064 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
27065 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
},
27066 { (char *)"Log_DontCreateOnDemand", (PyCFunction
) _wrap_Log_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
27067 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
27068 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
27069 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
27070 { (char *)"Log_ClearTraceMasks", (PyCFunction
) _wrap_Log_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
27071 { (char *)"Log_GetTraceMasks", (PyCFunction
) _wrap_Log_GetTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
27072 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
27073 { (char *)"Log_GetVerbose", (PyCFunction
) _wrap_Log_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
27074 { (char *)"Log_GetTraceMask", (PyCFunction
) _wrap_Log_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
27075 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
27076 { (char *)"Log_GetLogLevel", (PyCFunction
) _wrap_Log_GetLogLevel
, METH_VARARGS
| METH_KEYWORDS
},
27077 { (char *)"Log_GetTimestamp", (PyCFunction
) _wrap_Log_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
27078 { (char *)"Log_TimeStamp", (PyCFunction
) _wrap_Log_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
},
27079 { (char *)"Log_Destroy", (PyCFunction
) _wrap_Log_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
27080 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
},
27081 { (char *)"new_LogStderr", (PyCFunction
) _wrap_new_LogStderr
, METH_VARARGS
| METH_KEYWORDS
},
27082 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
},
27083 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
27084 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
},
27085 { (char *)"new_LogGui", (PyCFunction
) _wrap_new_LogGui
, METH_VARARGS
| METH_KEYWORDS
},
27086 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
},
27087 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
},
27088 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
27089 { (char *)"LogWindow_GetFrame", (PyCFunction
) _wrap_LogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
27090 { (char *)"LogWindow_GetOldLog", (PyCFunction
) _wrap_LogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
27091 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
) _wrap_LogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
27092 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
27093 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
},
27094 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
},
27095 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
},
27096 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
27097 { (char *)"LogChain_IsPassingMessages", (PyCFunction
) _wrap_LogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
27098 { (char *)"LogChain_GetOldLog", (PyCFunction
) _wrap_LogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
27099 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
},
27100 { (char *)"SysErrorCode", (PyCFunction
) _wrap_SysErrorCode
, METH_VARARGS
| METH_KEYWORDS
},
27101 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
},
27102 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
},
27103 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
},
27104 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
},
27105 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
},
27106 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
},
27107 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
},
27108 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
},
27109 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
},
27110 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
},
27111 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
},
27112 { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS
},
27113 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
},
27114 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
},
27115 { (char *)"new_LogNull", (PyCFunction
) _wrap_new_LogNull
, METH_VARARGS
| METH_KEYWORDS
},
27116 { (char *)"delete_LogNull", (PyCFunction
) _wrap_delete_LogNull
, METH_VARARGS
| METH_KEYWORDS
},
27117 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
},
27118 { (char *)"new_PyLog", (PyCFunction
) _wrap_new_PyLog
, METH_VARARGS
| METH_KEYWORDS
},
27119 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
27120 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
},
27121 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
},
27122 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
},
27123 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
},
27124 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
},
27125 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
27126 { (char *)"Process_base_OnTerminate", (PyCFunction
) _wrap_Process_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
},
27127 { (char *)"Process_Redirect", (PyCFunction
) _wrap_Process_Redirect
, METH_VARARGS
| METH_KEYWORDS
},
27128 { (char *)"Process_IsRedirected", (PyCFunction
) _wrap_Process_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
},
27129 { (char *)"Process_Detach", (PyCFunction
) _wrap_Process_Detach
, METH_VARARGS
| METH_KEYWORDS
},
27130 { (char *)"Process_GetInputStream", (PyCFunction
) _wrap_Process_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
},
27131 { (char *)"Process_GetErrorStream", (PyCFunction
) _wrap_Process_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
},
27132 { (char *)"Process_GetOutputStream", (PyCFunction
) _wrap_Process_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
27133 { (char *)"Process_CloseOutput", (PyCFunction
) _wrap_Process_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
},
27134 { (char *)"Process_IsInputOpened", (PyCFunction
) _wrap_Process_IsInputOpened
, METH_VARARGS
| METH_KEYWORDS
},
27135 { (char *)"Process_IsInputAvailable", (PyCFunction
) _wrap_Process_IsInputAvailable
, METH_VARARGS
| METH_KEYWORDS
},
27136 { (char *)"Process_IsErrorAvailable", (PyCFunction
) _wrap_Process_IsErrorAvailable
, METH_VARARGS
| METH_KEYWORDS
},
27137 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
},
27138 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
27139 { (char *)"ProcessEvent_GetPid", (PyCFunction
) _wrap_ProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
},
27140 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
) _wrap_ProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
},
27141 { (char *)"ProcessEvent_m_pid_set", (PyCFunction
) _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
},
27142 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
) _wrap_ProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
},
27143 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
},
27144 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
},
27145 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
},
27146 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
},
27147 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
},
27148 { (char *)"delete_Joystick", (PyCFunction
) _wrap_delete_Joystick
, METH_VARARGS
| METH_KEYWORDS
},
27149 { (char *)"Joystick_GetPosition", (PyCFunction
) _wrap_Joystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
27150 { (char *)"Joystick_GetZPosition", (PyCFunction
) _wrap_Joystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
27151 { (char *)"Joystick_GetButtonState", (PyCFunction
) _wrap_Joystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
27152 { (char *)"Joystick_GetPOVPosition", (PyCFunction
) _wrap_Joystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
},
27153 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
) _wrap_Joystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
},
27154 { (char *)"Joystick_GetRudderPosition", (PyCFunction
) _wrap_Joystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
},
27155 { (char *)"Joystick_GetUPosition", (PyCFunction
) _wrap_Joystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
},
27156 { (char *)"Joystick_GetVPosition", (PyCFunction
) _wrap_Joystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
},
27157 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
) _wrap_Joystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
27158 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
27159 { (char *)"Joystick_IsOk", (PyCFunction
) _wrap_Joystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
27160 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
) _wrap_Joystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
},
27161 { (char *)"Joystick_GetManufacturerId", (PyCFunction
) _wrap_Joystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
},
27162 { (char *)"Joystick_GetProductId", (PyCFunction
) _wrap_Joystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
},
27163 { (char *)"Joystick_GetProductName", (PyCFunction
) _wrap_Joystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
},
27164 { (char *)"Joystick_GetXMin", (PyCFunction
) _wrap_Joystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
},
27165 { (char *)"Joystick_GetYMin", (PyCFunction
) _wrap_Joystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
},
27166 { (char *)"Joystick_GetZMin", (PyCFunction
) _wrap_Joystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
},
27167 { (char *)"Joystick_GetXMax", (PyCFunction
) _wrap_Joystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
},
27168 { (char *)"Joystick_GetYMax", (PyCFunction
) _wrap_Joystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
},
27169 { (char *)"Joystick_GetZMax", (PyCFunction
) _wrap_Joystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
},
27170 { (char *)"Joystick_GetNumberButtons", (PyCFunction
) _wrap_Joystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
},
27171 { (char *)"Joystick_GetNumberAxes", (PyCFunction
) _wrap_Joystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
},
27172 { (char *)"Joystick_GetMaxButtons", (PyCFunction
) _wrap_Joystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
},
27173 { (char *)"Joystick_GetMaxAxes", (PyCFunction
) _wrap_Joystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
},
27174 { (char *)"Joystick_GetPollingMin", (PyCFunction
) _wrap_Joystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
},
27175 { (char *)"Joystick_GetPollingMax", (PyCFunction
) _wrap_Joystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
},
27176 { (char *)"Joystick_GetRudderMin", (PyCFunction
) _wrap_Joystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
},
27177 { (char *)"Joystick_GetRudderMax", (PyCFunction
) _wrap_Joystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
},
27178 { (char *)"Joystick_GetUMin", (PyCFunction
) _wrap_Joystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
},
27179 { (char *)"Joystick_GetUMax", (PyCFunction
) _wrap_Joystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
},
27180 { (char *)"Joystick_GetVMin", (PyCFunction
) _wrap_Joystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
},
27181 { (char *)"Joystick_GetVMax", (PyCFunction
) _wrap_Joystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
},
27182 { (char *)"Joystick_HasRudder", (PyCFunction
) _wrap_Joystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
},
27183 { (char *)"Joystick_HasZ", (PyCFunction
) _wrap_Joystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
},
27184 { (char *)"Joystick_HasU", (PyCFunction
) _wrap_Joystick_HasU
, METH_VARARGS
| METH_KEYWORDS
},
27185 { (char *)"Joystick_HasV", (PyCFunction
) _wrap_Joystick_HasV
, METH_VARARGS
| METH_KEYWORDS
},
27186 { (char *)"Joystick_HasPOV", (PyCFunction
) _wrap_Joystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
},
27187 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
) _wrap_Joystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
},
27188 { (char *)"Joystick_HasPOVCTS", (PyCFunction
) _wrap_Joystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
},
27189 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
},
27190 { (char *)"Joystick_ReleaseCapture", (PyCFunction
) _wrap_Joystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
},
27191 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
},
27192 { (char *)"JoystickEvent_m_pos_set", (PyCFunction
) _wrap_JoystickEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
},
27193 { (char *)"JoystickEvent_m_pos_get", (PyCFunction
) _wrap_JoystickEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
},
27194 { (char *)"JoystickEvent_m_zPosition_set", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_set
, METH_VARARGS
| METH_KEYWORDS
},
27195 { (char *)"JoystickEvent_m_zPosition_get", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_get
, METH_VARARGS
| METH_KEYWORDS
},
27196 { (char *)"JoystickEvent_m_buttonChange_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_set
, METH_VARARGS
| METH_KEYWORDS
},
27197 { (char *)"JoystickEvent_m_buttonChange_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_get
, METH_VARARGS
| METH_KEYWORDS
},
27198 { (char *)"JoystickEvent_m_buttonState_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_set
, METH_VARARGS
| METH_KEYWORDS
},
27199 { (char *)"JoystickEvent_m_buttonState_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_get
, METH_VARARGS
| METH_KEYWORDS
},
27200 { (char *)"JoystickEvent_m_joyStick_set", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_set
, METH_VARARGS
| METH_KEYWORDS
},
27201 { (char *)"JoystickEvent_m_joyStick_get", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_get
, METH_VARARGS
| METH_KEYWORDS
},
27202 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
},
27203 { (char *)"JoystickEvent_GetPosition", (PyCFunction
) _wrap_JoystickEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
27204 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
) _wrap_JoystickEvent_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
27205 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
) _wrap_JoystickEvent_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
27206 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
) _wrap_JoystickEvent_GetButtonChange
, METH_VARARGS
| METH_KEYWORDS
},
27207 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
) _wrap_JoystickEvent_GetJoystick
, METH_VARARGS
| METH_KEYWORDS
},
27208 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
},
27209 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
27210 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
},
27211 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
27212 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
27213 { (char *)"JoystickEvent_IsButton", (PyCFunction
) _wrap_JoystickEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
27214 { (char *)"JoystickEvent_IsMove", (PyCFunction
) _wrap_JoystickEvent_IsMove
, METH_VARARGS
| METH_KEYWORDS
},
27215 { (char *)"JoystickEvent_IsZMove", (PyCFunction
) _wrap_JoystickEvent_IsZMove
, METH_VARARGS
| METH_KEYWORDS
},
27216 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
},
27217 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
},
27218 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
},
27219 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
},
27220 { (char *)"new_Sound", _wrap_new_Sound
, METH_VARARGS
},
27221 { (char *)"delete_Sound", (PyCFunction
) _wrap_delete_Sound
, METH_VARARGS
| METH_KEYWORDS
},
27222 { (char *)"Sound_Create", _wrap_Sound_Create
, METH_VARARGS
},
27223 { (char *)"Sound_IsOk", (PyCFunction
) _wrap_Sound_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
27224 { (char *)"Sound_Play", _wrap_Sound_Play
, METH_VARARGS
},
27225 { (char *)"Sound_PlaySound", _wrap_Sound_PlaySound
, METH_VARARGS
},
27226 { (char *)"Sound_Stop", (PyCFunction
) _wrap_Sound_Stop
, METH_VARARGS
| METH_KEYWORDS
},
27227 { (char *)"Sound_swigregister", Sound_swigregister
, METH_VARARGS
},
27228 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
27229 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
},
27230 { (char *)"new_NullFileTypeInfo", (PyCFunction
) _wrap_new_NullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
27231 { (char *)"FileTypeInfo_IsValid", (PyCFunction
) _wrap_FileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
27232 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
27233 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
27234 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
) _wrap_FileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
27235 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_FileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
27236 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_FileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
27237 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
27238 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
) _wrap_FileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
27239 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
) _wrap_FileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
27240 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_FileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
},
27241 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
) _wrap_FileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
},
27242 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_FileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
},
27243 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
},
27244 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
},
27245 { (char *)"delete_FileType", (PyCFunction
) _wrap_delete_FileType
, METH_VARARGS
| METH_KEYWORDS
},
27246 { (char *)"FileType_GetMimeType", (PyCFunction
) _wrap_FileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
27247 { (char *)"FileType_GetMimeTypes", (PyCFunction
) _wrap_FileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
27248 { (char *)"FileType_GetExtensions", (PyCFunction
) _wrap_FileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
27249 { (char *)"FileType_GetIcon", (PyCFunction
) _wrap_FileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
27250 { (char *)"FileType_GetIconInfo", (PyCFunction
) _wrap_FileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
},
27251 { (char *)"FileType_GetDescription", (PyCFunction
) _wrap_FileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
27252 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
27253 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
27254 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
},
27255 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
},
27256 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
},
27257 { (char *)"FileType_Unassociate", (PyCFunction
) _wrap_FileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
27258 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
},
27259 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
},
27260 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
},
27261 { (char *)"new_MimeTypesManager", (PyCFunction
) _wrap_new_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
27262 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
27263 { (char *)"MimeTypesManager_ClearData", (PyCFunction
) _wrap_MimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
},
27264 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
},
27265 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
},
27266 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
},
27267 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
27268 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_MimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
},
27269 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
},
27270 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
},
27271 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
27272 { (char *)"delete_MimeTypesManager", (PyCFunction
) _wrap_delete_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
27273 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
},
27274 { (char *)"new_ArtProvider", (PyCFunction
) _wrap_new_ArtProvider
, METH_VARARGS
| METH_KEYWORDS
},
27275 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
27276 { (char *)"ArtProvider_PushProvider", (PyCFunction
) _wrap_ArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
},
27277 { (char *)"ArtProvider_PopProvider", (PyCFunction
) _wrap_ArtProvider_PopProvider
, METH_VARARGS
| METH_KEYWORDS
},
27278 { (char *)"ArtProvider_RemoveProvider", (PyCFunction
) _wrap_ArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
},
27279 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
27280 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
27281 { (char *)"ArtProvider_Destroy", (PyCFunction
) _wrap_ArtProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
27282 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
},
27283 { (char *)"delete_ConfigBase", (PyCFunction
) _wrap_delete_ConfigBase
, METH_VARARGS
| METH_KEYWORDS
},
27284 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
},
27285 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
},
27286 { (char *)"ConfigBase_Create", (PyCFunction
) _wrap_ConfigBase_Create
, METH_VARARGS
| METH_KEYWORDS
},
27287 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
) _wrap_ConfigBase_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
27288 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
27289 { (char *)"ConfigBase_GetPath", (PyCFunction
) _wrap_ConfigBase_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
27290 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
) _wrap_ConfigBase_GetFirstGroup
, METH_VARARGS
| METH_KEYWORDS
},
27291 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
},
27292 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
) _wrap_ConfigBase_GetFirstEntry
, METH_VARARGS
| METH_KEYWORDS
},
27293 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
},
27294 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
},
27295 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
},
27296 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
},
27297 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
},
27298 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
},
27299 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
},
27300 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
},
27301 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
},
27302 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
},
27303 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
},
27304 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
},
27305 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
},
27306 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
},
27307 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
},
27308 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
},
27309 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
},
27310 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
},
27311 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
},
27312 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
},
27313 { (char *)"ConfigBase_DeleteAll", (PyCFunction
) _wrap_ConfigBase_DeleteAll
, METH_VARARGS
| METH_KEYWORDS
},
27314 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
27315 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
) _wrap_ConfigBase_IsExpandingEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
27316 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
},
27317 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
) _wrap_ConfigBase_IsRecordingDefaults
, METH_VARARGS
| METH_KEYWORDS
},
27318 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
27319 { (char *)"ConfigBase_GetAppName", (PyCFunction
) _wrap_ConfigBase_GetAppName
, METH_VARARGS
| METH_KEYWORDS
},
27320 { (char *)"ConfigBase_GetVendorName", (PyCFunction
) _wrap_ConfigBase_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
27321 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
},
27322 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
27323 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
27324 { (char *)"ConfigBase_GetStyle", (PyCFunction
) _wrap_ConfigBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
27325 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
},
27326 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
},
27327 { (char *)"delete_Config", (PyCFunction
) _wrap_delete_Config
, METH_VARARGS
| METH_KEYWORDS
},
27328 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
},
27329 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
},
27330 { (char *)"delete_FileConfig", (PyCFunction
) _wrap_delete_FileConfig
, METH_VARARGS
| METH_KEYWORDS
},
27331 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
},
27332 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
},
27333 { (char *)"delete_ConfigPathChanger", (PyCFunction
) _wrap_delete_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
},
27334 { (char *)"ConfigPathChanger_Name", (PyCFunction
) _wrap_ConfigPathChanger_Name
, METH_VARARGS
| METH_KEYWORDS
},
27335 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
},
27336 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
27337 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
},
27338 { (char *)"DateTime_GetCountry", (PyCFunction
) _wrap_DateTime_GetCountry
, METH_VARARGS
| METH_KEYWORDS
},
27339 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
},
27340 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
},
27341 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
},
27342 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
},
27343 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
},
27344 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
},
27345 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
},
27346 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
},
27347 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
},
27348 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
},
27349 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
) _wrap_DateTime_GetAmPmStrings
, METH_VARARGS
| METH_KEYWORDS
},
27350 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
},
27351 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
},
27352 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
},
27353 { (char *)"DateTime_Now", (PyCFunction
) _wrap_DateTime_Now
, METH_VARARGS
| METH_KEYWORDS
},
27354 { (char *)"DateTime_UNow", (PyCFunction
) _wrap_DateTime_UNow
, METH_VARARGS
| METH_KEYWORDS
},
27355 { (char *)"DateTime_Today", (PyCFunction
) _wrap_DateTime_Today
, METH_VARARGS
| METH_KEYWORDS
},
27356 { (char *)"new_DateTime", (PyCFunction
) _wrap_new_DateTime
, METH_VARARGS
| METH_KEYWORDS
},
27357 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
},
27358 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
},
27359 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
},
27360 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
},
27361 { (char *)"delete_DateTime", (PyCFunction
) _wrap_delete_DateTime
, METH_VARARGS
| METH_KEYWORDS
},
27362 { (char *)"DateTime_SetToCurrent", (PyCFunction
) _wrap_DateTime_SetToCurrent
, METH_VARARGS
| METH_KEYWORDS
},
27363 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
},
27364 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
},
27365 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
},
27366 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
},
27367 { (char *)"DateTime_ResetTime", (PyCFunction
) _wrap_DateTime_ResetTime
, METH_VARARGS
| METH_KEYWORDS
},
27368 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
},
27369 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
},
27370 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
},
27371 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
},
27372 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
},
27373 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
},
27374 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
27375 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
27376 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
27377 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
27378 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
27379 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
27380 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
27381 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
27382 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
27383 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
27384 { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
},
27385 { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
},
27386 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
27387 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
27388 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
},
27389 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
},
27390 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
27391 { (char *)"DateTime_GetJDN", (PyCFunction
) _wrap_DateTime_GetJDN
, METH_VARARGS
| METH_KEYWORDS
},
27392 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetModifiedJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
27393 { (char *)"DateTime_GetMJD", (PyCFunction
) _wrap_DateTime_GetMJD
, METH_VARARGS
| METH_KEYWORDS
},
27394 { (char *)"DateTime_GetRataDie", (PyCFunction
) _wrap_DateTime_GetRataDie
, METH_VARARGS
| METH_KEYWORDS
},
27395 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
},
27396 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
},
27397 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
},
27398 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
},
27399 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
},
27400 { (char *)"DateTime_IsValid", (PyCFunction
) _wrap_DateTime_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
27401 { (char *)"DateTime_GetTicks", (PyCFunction
) _wrap_DateTime_GetTicks
, METH_VARARGS
| METH_KEYWORDS
},
27402 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
},
27403 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
},
27404 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
},
27405 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
27406 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
},
27407 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
},
27408 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
},
27409 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
27410 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
},
27411 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
},
27412 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
},
27413 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
},
27414 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
27415 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
},
27416 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
},
27417 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
},
27418 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
},
27419 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
},
27420 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
},
27421 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
},
27422 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
},
27423 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
},
27424 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
},
27425 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
},
27426 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
27427 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
},
27428 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
},
27429 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
},
27430 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
},
27431 { (char *)"DateTime___lt__", _wrap_DateTime___lt__
, METH_VARARGS
},
27432 { (char *)"DateTime___le__", _wrap_DateTime___le__
, METH_VARARGS
},
27433 { (char *)"DateTime___gt__", _wrap_DateTime___gt__
, METH_VARARGS
},
27434 { (char *)"DateTime___ge__", _wrap_DateTime___ge__
, METH_VARARGS
},
27435 { (char *)"DateTime___eq__", _wrap_DateTime___eq__
, METH_VARARGS
},
27436 { (char *)"DateTime___ne__", _wrap_DateTime___ne__
, METH_VARARGS
},
27437 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
},
27438 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
},
27439 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
},
27440 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
},
27441 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
},
27442 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
},
27443 { (char *)"DateTime_FormatDate", (PyCFunction
) _wrap_DateTime_FormatDate
, METH_VARARGS
| METH_KEYWORDS
},
27444 { (char *)"DateTime_FormatTime", (PyCFunction
) _wrap_DateTime_FormatTime
, METH_VARARGS
| METH_KEYWORDS
},
27445 { (char *)"DateTime_FormatISODate", (PyCFunction
) _wrap_DateTime_FormatISODate
, METH_VARARGS
| METH_KEYWORDS
},
27446 { (char *)"DateTime_FormatISOTime", (PyCFunction
) _wrap_DateTime_FormatISOTime
, METH_VARARGS
| METH_KEYWORDS
},
27447 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
},
27448 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
},
27449 { (char *)"TimeSpan_Second", (PyCFunction
) _wrap_TimeSpan_Second
, METH_VARARGS
| METH_KEYWORDS
},
27450 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
},
27451 { (char *)"TimeSpan_Minute", (PyCFunction
) _wrap_TimeSpan_Minute
, METH_VARARGS
| METH_KEYWORDS
},
27452 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
},
27453 { (char *)"TimeSpan_Hour", (PyCFunction
) _wrap_TimeSpan_Hour
, METH_VARARGS
| METH_KEYWORDS
},
27454 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
27455 { (char *)"TimeSpan_Day", (PyCFunction
) _wrap_TimeSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
27456 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
27457 { (char *)"TimeSpan_Week", (PyCFunction
) _wrap_TimeSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
27458 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
27459 { (char *)"delete_TimeSpan", (PyCFunction
) _wrap_delete_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
27460 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
27461 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
27462 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
27463 { (char *)"TimeSpan_Neg", (PyCFunction
) _wrap_TimeSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
27464 { (char *)"TimeSpan_Abs", (PyCFunction
) _wrap_TimeSpan_Abs
, METH_VARARGS
| METH_KEYWORDS
},
27465 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
27466 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
},
27467 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
},
27468 { (char *)"TimeSpan___neg__", (PyCFunction
) _wrap_TimeSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
27469 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
27470 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
27471 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
27472 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
27473 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
},
27474 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
},
27475 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
},
27476 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
},
27477 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
27478 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
27479 { (char *)"TimeSpan_IsNull", (PyCFunction
) _wrap_TimeSpan_IsNull
, METH_VARARGS
| METH_KEYWORDS
},
27480 { (char *)"TimeSpan_IsPositive", (PyCFunction
) _wrap_TimeSpan_IsPositive
, METH_VARARGS
| METH_KEYWORDS
},
27481 { (char *)"TimeSpan_IsNegative", (PyCFunction
) _wrap_TimeSpan_IsNegative
, METH_VARARGS
| METH_KEYWORDS
},
27482 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
27483 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
},
27484 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
},
27485 { (char *)"TimeSpan_GetWeeks", (PyCFunction
) _wrap_TimeSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
27486 { (char *)"TimeSpan_GetDays", (PyCFunction
) _wrap_TimeSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
27487 { (char *)"TimeSpan_GetHours", (PyCFunction
) _wrap_TimeSpan_GetHours
, METH_VARARGS
| METH_KEYWORDS
},
27488 { (char *)"TimeSpan_GetMinutes", (PyCFunction
) _wrap_TimeSpan_GetMinutes
, METH_VARARGS
| METH_KEYWORDS
},
27489 { (char *)"TimeSpan_GetSeconds", (PyCFunction
) _wrap_TimeSpan_GetSeconds
, METH_VARARGS
| METH_KEYWORDS
},
27490 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
) _wrap_TimeSpan_GetMilliseconds
, METH_VARARGS
| METH_KEYWORDS
},
27491 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
},
27492 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
},
27493 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
},
27494 { (char *)"delete_DateSpan", (PyCFunction
) _wrap_delete_DateSpan
, METH_VARARGS
| METH_KEYWORDS
},
27495 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
27496 { (char *)"DateSpan_Day", (PyCFunction
) _wrap_DateSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
27497 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
27498 { (char *)"DateSpan_Week", (PyCFunction
) _wrap_DateSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
27499 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
},
27500 { (char *)"DateSpan_Month", (PyCFunction
) _wrap_DateSpan_Month
, METH_VARARGS
| METH_KEYWORDS
},
27501 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
},
27502 { (char *)"DateSpan_Year", (PyCFunction
) _wrap_DateSpan_Year
, METH_VARARGS
| METH_KEYWORDS
},
27503 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
},
27504 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
},
27505 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
27506 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
},
27507 { (char *)"DateSpan_GetYears", (PyCFunction
) _wrap_DateSpan_GetYears
, METH_VARARGS
| METH_KEYWORDS
},
27508 { (char *)"DateSpan_GetMonths", (PyCFunction
) _wrap_DateSpan_GetMonths
, METH_VARARGS
| METH_KEYWORDS
},
27509 { (char *)"DateSpan_GetWeeks", (PyCFunction
) _wrap_DateSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
27510 { (char *)"DateSpan_GetDays", (PyCFunction
) _wrap_DateSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
27511 { (char *)"DateSpan_GetTotalDays", (PyCFunction
) _wrap_DateSpan_GetTotalDays
, METH_VARARGS
| METH_KEYWORDS
},
27512 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
27513 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
27514 { (char *)"DateSpan_Neg", (PyCFunction
) _wrap_DateSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
27515 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
27516 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
27517 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
},
27518 { (char *)"DateSpan___neg__", (PyCFunction
) _wrap_DateSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
27519 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
},
27520 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
27521 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
27522 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
27523 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
27524 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
27525 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
27526 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
},
27527 { (char *)"GetLocalTime", (PyCFunction
) _wrap_GetLocalTime
, METH_VARARGS
| METH_KEYWORDS
},
27528 { (char *)"GetUTCTime", (PyCFunction
) _wrap_GetUTCTime
, METH_VARARGS
| METH_KEYWORDS
},
27529 { (char *)"GetCurrentTime", (PyCFunction
) _wrap_GetCurrentTime
, METH_VARARGS
| METH_KEYWORDS
},
27530 { (char *)"GetLocalTimeMillis", (PyCFunction
) _wrap_GetLocalTimeMillis
, METH_VARARGS
| METH_KEYWORDS
},
27531 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
},
27532 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
},
27533 { (char *)"delete_DataFormat", (PyCFunction
) _wrap_delete_DataFormat
, METH_VARARGS
| METH_KEYWORDS
},
27534 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
},
27535 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
},
27536 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
},
27537 { (char *)"DataFormat_GetType", (PyCFunction
) _wrap_DataFormat_GetType
, METH_VARARGS
| METH_KEYWORDS
},
27538 { (char *)"DataFormat_GetId", (PyCFunction
) _wrap_DataFormat_GetId
, METH_VARARGS
| METH_KEYWORDS
},
27539 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
},
27540 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
},
27541 { (char *)"delete_DataObject", (PyCFunction
) _wrap_delete_DataObject
, METH_VARARGS
| METH_KEYWORDS
},
27542 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
},
27543 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
},
27544 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
},
27545 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
},
27546 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
},
27547 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
},
27548 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
},
27549 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
},
27550 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
},
27551 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
) _wrap_DataObjectSimple_GetFormat
, METH_VARARGS
| METH_KEYWORDS
},
27552 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
},
27553 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
},
27554 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
},
27555 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
27556 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
},
27557 { (char *)"new_DataObjectComposite", (PyCFunction
) _wrap_new_DataObjectComposite
, METH_VARARGS
| METH_KEYWORDS
},
27558 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
},
27559 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
},
27560 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
},
27561 { (char *)"TextDataObject_GetTextLength", (PyCFunction
) _wrap_TextDataObject_GetTextLength
, METH_VARARGS
| METH_KEYWORDS
},
27562 { (char *)"TextDataObject_GetText", (PyCFunction
) _wrap_TextDataObject_GetText
, METH_VARARGS
| METH_KEYWORDS
},
27563 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
},
27564 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
},
27565 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
},
27566 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
27567 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
},
27568 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
},
27569 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
) _wrap_BitmapDataObject_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
27570 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
27571 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
},
27572 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
},
27573 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
27574 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
},
27575 { (char *)"new_FileDataObject", (PyCFunction
) _wrap_new_FileDataObject
, METH_VARARGS
| METH_KEYWORDS
},
27576 { (char *)"FileDataObject_GetFilenames", (PyCFunction
) _wrap_FileDataObject_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
},
27577 { (char *)"FileDataObject_AddFile", (PyCFunction
) _wrap_FileDataObject_AddFile
, METH_VARARGS
| METH_KEYWORDS
},
27578 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
},
27579 { (char *)"new_CustomDataObject", (PyCFunction
) _wrap_new_CustomDataObject
, METH_VARARGS
| METH_KEYWORDS
},
27580 { (char *)"CustomDataObject_TakeData", (PyCFunction
) _wrap_CustomDataObject_TakeData
, METH_VARARGS
| METH_KEYWORDS
},
27581 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
},
27582 { (char *)"CustomDataObject_GetSize", (PyCFunction
) _wrap_CustomDataObject_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
27583 { (char *)"CustomDataObject_GetData", (PyCFunction
) _wrap_CustomDataObject_GetData
, METH_VARARGS
| METH_KEYWORDS
},
27584 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
},
27585 { (char *)"new_URLDataObject", (PyCFunction
) _wrap_new_URLDataObject
, METH_VARARGS
| METH_KEYWORDS
},
27586 { (char *)"URLDataObject_GetURL", (PyCFunction
) _wrap_URLDataObject_GetURL
, METH_VARARGS
| METH_KEYWORDS
},
27587 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
},
27588 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
},
27589 { (char *)"new_MetafileDataObject", (PyCFunction
) _wrap_new_MetafileDataObject
, METH_VARARGS
| METH_KEYWORDS
},
27590 { (char *)"MetafileDataObject_SetMetafile", (PyCFunction
) _wrap_MetafileDataObject_SetMetafile
, METH_VARARGS
| METH_KEYWORDS
},
27591 { (char *)"MetafileDataObject_GetMetafile", (PyCFunction
) _wrap_MetafileDataObject_GetMetafile
, METH_VARARGS
| METH_KEYWORDS
},
27592 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
},
27593 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
},
27594 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
},
27595 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
27596 { (char *)"delete_DropSource", (PyCFunction
) _wrap_delete_DropSource
, METH_VARARGS
| METH_KEYWORDS
},
27597 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
},
27598 { (char *)"DropSource_GetDataObject", (PyCFunction
) _wrap_DropSource_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
27599 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
27600 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
},
27601 { (char *)"DropSource_base_GiveFeedback", (PyCFunction
) _wrap_DropSource_base_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
},
27602 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
},
27603 { (char *)"new_DropTarget", (PyCFunction
) _wrap_new_DropTarget
, METH_VARARGS
| METH_KEYWORDS
},
27604 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
27605 { (char *)"delete_DropTarget", (PyCFunction
) _wrap_delete_DropTarget
, METH_VARARGS
| METH_KEYWORDS
},
27606 { (char *)"DropTarget_GetDataObject", (PyCFunction
) _wrap_DropTarget_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
27607 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
27608 { (char *)"DropTarget_base_OnEnter", (PyCFunction
) _wrap_DropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
27609 { (char *)"DropTarget_base_OnDragOver", (PyCFunction
) _wrap_DropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
27610 { (char *)"DropTarget_base_OnLeave", (PyCFunction
) _wrap_DropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
27611 { (char *)"DropTarget_base_OnDrop", (PyCFunction
) _wrap_DropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
27612 { (char *)"DropTarget_GetData", (PyCFunction
) _wrap_DropTarget_GetData
, METH_VARARGS
| METH_KEYWORDS
},
27613 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
},
27614 { (char *)"new_TextDropTarget", (PyCFunction
) _wrap_new_TextDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
27615 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
27616 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction
) _wrap_TextDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
27617 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
27618 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction
) _wrap_TextDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
27619 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction
) _wrap_TextDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
27620 { (char *)"TextDropTarget_base_OnData", (PyCFunction
) _wrap_TextDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
},
27621 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
},
27622 { (char *)"new_FileDropTarget", (PyCFunction
) _wrap_new_FileDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
27623 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
27624 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction
) _wrap_FileDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
27625 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
27626 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction
) _wrap_FileDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
27627 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction
) _wrap_FileDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
27628 { (char *)"FileDropTarget_base_OnData", (PyCFunction
) _wrap_FileDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
},
27629 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
},
27630 { (char *)"new_Clipboard", (PyCFunction
) _wrap_new_Clipboard
, METH_VARARGS
| METH_KEYWORDS
},
27631 { (char *)"delete_Clipboard", (PyCFunction
) _wrap_delete_Clipboard
, METH_VARARGS
| METH_KEYWORDS
},
27632 { (char *)"Clipboard_Open", (PyCFunction
) _wrap_Clipboard_Open
, METH_VARARGS
| METH_KEYWORDS
},
27633 { (char *)"Clipboard_Close", (PyCFunction
) _wrap_Clipboard_Close
, METH_VARARGS
| METH_KEYWORDS
},
27634 { (char *)"Clipboard_IsOpened", (PyCFunction
) _wrap_Clipboard_IsOpened
, METH_VARARGS
| METH_KEYWORDS
},
27635 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
},
27636 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
},
27637 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
},
27638 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
},
27639 { (char *)"Clipboard_Clear", (PyCFunction
) _wrap_Clipboard_Clear
, METH_VARARGS
| METH_KEYWORDS
},
27640 { (char *)"Clipboard_Flush", (PyCFunction
) _wrap_Clipboard_Flush
, METH_VARARGS
| METH_KEYWORDS
},
27641 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
},
27642 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
},
27643 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
},
27644 { (char *)"delete_ClipboardLocker", (PyCFunction
) _wrap_delete_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
},
27645 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
) _wrap_ClipboardLocker___nonzero__
, METH_VARARGS
| METH_KEYWORDS
},
27646 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
},
27651 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
27653 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
27654 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
27656 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
27657 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
27659 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
27660 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
27662 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
27663 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
27665 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
27666 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
27668 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
27669 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
27671 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
27672 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
27674 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
27675 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
27677 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
27678 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
27680 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
27681 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
27683 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
27684 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
27686 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
27687 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
27689 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
27690 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
27692 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
27693 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
27695 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
27696 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
27698 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
27699 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
27701 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
27702 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
27704 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
27705 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
27707 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
27708 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
27710 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
27711 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
27713 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
27714 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
27716 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
27717 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
27719 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
27720 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
27722 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
27723 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
27725 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
27726 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
27728 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
27729 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
27731 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
27732 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
27734 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
27735 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
27737 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
27738 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
27740 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
27741 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
27743 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
27744 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
27746 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
27747 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
27749 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
27750 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
27752 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
27753 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
27755 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
27756 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
27758 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
27759 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
27761 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
27762 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
27764 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
27765 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
27767 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
27768 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
27770 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
27771 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
27773 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
27774 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
27776 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
27777 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
27779 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
27780 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
27782 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
27783 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
27785 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
27786 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
27788 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
27789 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
27791 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
27792 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
27794 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
27795 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
27797 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
27798 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
27800 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
27801 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
27803 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
27804 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
27806 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
27807 return (void *)((wxDataObject
*) (wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
27809 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
27810 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
27812 static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x
) {
27813 return (void *)((wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
27815 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
27816 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
27818 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
27819 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
27821 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
27822 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
27824 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
27825 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
27827 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
27828 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
27830 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
27831 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
27833 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
27834 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
27836 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
27837 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
27839 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
27840 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
27842 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
27843 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
27845 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
27846 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
27848 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
27849 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
27851 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
27852 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
27854 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
27855 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
27857 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
27858 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
27860 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
27861 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
27863 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
27864 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
27866 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
27867 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
27869 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
27870 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
27872 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
27873 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
27875 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
27876 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
27878 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
27879 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
27881 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
27882 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
27884 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
27885 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
27887 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
27888 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
27890 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
27891 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
27893 static void *_p_wxSizerTo_p_wxObject(void *x
) {
27894 return (void *)((wxObject
*) ((wxSizer
*) x
));
27896 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
27897 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
27899 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
27900 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
27902 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
27903 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
27905 static void *_p_wxEventTo_p_wxObject(void *x
) {
27906 return (void *)((wxObject
*) ((wxEvent
*) x
));
27908 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
27909 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
27911 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
27912 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
27914 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
27915 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
27917 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
27918 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
27920 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
27921 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
27923 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
27924 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
27926 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
27927 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
27929 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
27930 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
27932 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
27933 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
27935 static void *_p_wxControlTo_p_wxObject(void *x
) {
27936 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
27938 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
27939 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
27941 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
27942 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
27944 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
27945 return (void *)((wxObject
*) ((wxFSFile
*) x
));
27947 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
27948 return (void *)((wxObject
*) ((wxClipboard
*) x
));
27950 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
27951 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
27953 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
27954 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
27956 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
27957 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
27959 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
27960 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
27962 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
27963 return (void *)((wxObject
*) ((wxToolTip
*) x
));
27965 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
27966 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
27968 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
27969 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
27971 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
27972 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
27974 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
27975 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
27977 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
27978 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
27980 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
27981 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
27983 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
27984 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
27986 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
27987 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
27989 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
27990 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
27992 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
27993 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
27995 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
27996 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
27998 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
27999 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
28001 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
28002 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
28004 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
28005 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
28007 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
28008 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
28010 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
28011 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
28013 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
28014 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
28016 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
28017 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
28019 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
28020 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
28022 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
28023 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
28025 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
28026 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
28028 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
28029 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
28031 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
28032 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
28034 static void *_p_wxImageTo_p_wxObject(void *x
) {
28035 return (void *)((wxObject
*) ((wxImage
*) x
));
28037 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
28038 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
28040 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
28041 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
28043 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
28044 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
28046 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
28047 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
28049 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
28050 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
28052 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
28053 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
28055 static void *_p_wxWindowTo_p_wxObject(void *x
) {
28056 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
28058 static void *_p_wxMenuTo_p_wxObject(void *x
) {
28059 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
28061 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
28062 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
28064 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
28065 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
28067 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
28068 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
28070 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
28071 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
28073 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
28074 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
28076 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
28077 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
28079 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
28080 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
28082 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
28083 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
28085 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
28086 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
28088 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
28089 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
28091 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
28092 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
28094 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
28095 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
28097 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
28098 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
28100 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
28101 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
28103 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
28104 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
28106 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
28107 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
28109 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
28110 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
28112 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
28113 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
28115 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
28116 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
28118 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
28119 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
28121 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
28122 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
28124 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
28125 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
28127 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
28128 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
28130 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
28131 return (void *)((wxLog
*) ((wxLogChain
*) x
));
28133 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
28134 return (void *)((wxLog
*) ((wxLogGui
*) x
));
28136 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
28137 return (void *)((wxLog
*) ((wxPyLog
*) x
));
28139 static void *_p_wxControlTo_p_wxWindow(void *x
) {
28140 return (void *)((wxWindow
*) ((wxControl
*) x
));
28142 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
28143 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
28145 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
28146 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
28148 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
28149 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
28151 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
28152 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
28154 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}};
28155 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}};
28156 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}};
28157 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}};
28158 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}};
28159 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}};
28160 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}};
28161 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}};
28162 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}};
28163 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}};
28164 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}};
28165 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}};
28166 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}};
28167 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}};
28168 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}};
28169 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}};
28170 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}};
28171 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}};
28172 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}};
28173 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}};
28174 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}};
28175 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}};
28176 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}};
28177 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}};
28178 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}};
28179 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}};
28180 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}};
28181 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}};
28182 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}};
28183 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}};
28184 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}};
28185 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}};
28186 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}};
28187 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}};
28188 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}};
28189 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}};
28190 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}};
28191 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}};
28192 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}};
28193 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}};
28194 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}};
28195 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}};
28196 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}};
28197 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}};
28198 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}};
28199 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}};
28200 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}};
28201 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}};
28202 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}};
28203 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}};
28204 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}};
28205 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}};
28206 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}};
28207 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}};
28208 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}};
28209 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}};
28210 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}};
28211 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}};
28212 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}};
28213 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}};
28214 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}};
28215 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}};
28216 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}};
28217 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}};
28218 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}};
28219 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}};
28220 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}};
28221 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}};
28222 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}};
28223 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}};
28224 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}};
28225 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}};
28226 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}};
28227 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}};
28228 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}};
28229 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}};
28230 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}};
28231 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}};
28232 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}};
28233 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}};
28234 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}};
28235 static swig_type_info _swigt__p_wxByte
[] = {{"_p_wxByte", 0, "wxByte *", 0, 0, 0, 0},{"_p_wxByte", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
28236 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}};
28237 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}};
28238 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}};
28240 static swig_type_info
*swig_types_initial
[] = {
28241 _swigt__p_wxLogChain
,
28242 _swigt__p_wxMutexGuiLocker
,
28243 _swigt__p_wxMetafile
,
28244 _swigt__p_wxFileHistory
,
28246 _swigt__p_wxDateTime__TimeZone
,
28249 _swigt__p_wxConfigBase
,
28250 _swigt__p_wxFileType
,
28251 _swigt__p_wxLogGui
,
28253 _swigt__p_wxDataFormat
,
28254 _swigt__p_wxTimerEvent
,
28258 _swigt__p_wxClipboard
,
28259 _swigt__p_wxStopWatch
,
28261 _swigt__p_wxClipboardLocker
,
28263 _swigt__p_wxLogStderr
,
28264 _swigt__p_wxLogTextCtrl
,
28265 _swigt__p_wxTextCtrl
,
28266 _swigt__p_wxBusyCursor
,
28267 _swigt__p_wxPyTextDataObject
,
28268 _swigt__p_wxBitmapDataObject
,
28269 _swigt__p_wxTextDataObject
,
28270 _swigt__p_wxDataObject
,
28271 _swigt__p_wxPyBitmapDataObject
,
28272 _swigt__p_wxFileDataObject
,
28273 _swigt__p_wxCustomDataObject
,
28274 _swigt__p_wxURLDataObject
,
28275 _swigt__p_wxMetafileDataObject
,
28277 _swigt__p_wxTimerRunner
,
28278 _swigt__p_wxLogWindow
,
28279 _swigt__p_wxTimeSpan
,
28280 _swigt__p_wxArrayString
,
28281 _swigt__p_wxWindowDisabler
,
28282 _swigt__p_wxToolTip
,
28283 _swigt__p_wxDataObjectComposite
,
28284 _swigt__p_wxFileConfig
,
28285 _swigt__p_wxSystemSettings
,
28286 _swigt__p_wxPyDataObjectSimple
,
28287 _swigt__p_wxDataObjectSimple
,
28288 _swigt__p_wxEvtHandler
,
28291 _swigt__p_wxSingleInstanceChecker
,
28292 _swigt__p_wxFileTypeInfo
,
28295 _swigt__p_wxMimeTypesManager
,
28296 _swigt__p_wxPyArtProvider
,
28297 _swigt__p_wxPyTipProvider
,
28298 _swigt__p_wxTipProvider
,
28299 _swigt__p_wxJoystick
,
28300 _swigt__p_wxSystemOptions
,
28302 _swigt__p_wxJoystickEvent
,
28303 _swigt__p_wxCursor
,
28304 _swigt__p_wxObject
,
28305 _swigt__p_wxOutputStream
,
28306 _swigt__p_wxDateTime
,
28307 _swigt__p_wxPyDropSource
,
28308 _swigt__p_wxWindow
,
28309 _swigt__p_wxString
,
28310 _swigt__p_wxPyProcess
,
28311 _swigt__p_wxBitmap
,
28312 _swigt__p_wxConfig
,
28314 _swigt__p_wxBusyInfo
,
28315 _swigt__p_wxPyDropTarget
,
28316 _swigt__p_wxPyTextDropTarget
,
28317 _swigt__p_wxPyFileDropTarget
,
28318 _swigt__p_wxProcessEvent
,
28320 _swigt__p_wxLogNull
,
28321 _swigt__p_wxColour
,
28323 _swigt__p_wxConfigPathChanger
,
28324 _swigt__p_wxPyTimer
,
28325 _swigt__p_wxDateSpan
,
28330 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
28332 static swig_const_info swig_const_table
[] = {
28333 { SWIG_PY_POINTER
, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", &SWIGTYPE_p_char
},
28334 { SWIG_PY_POINTER
, (char*)"TRACE_Messages", 0, 0, (void *)"messages", &SWIGTYPE_p_char
},
28335 { SWIG_PY_POINTER
, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", &SWIGTYPE_p_char
},
28336 { SWIG_PY_POINTER
, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", &SWIGTYPE_p_char
},
28337 { SWIG_PY_POINTER
, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", &SWIGTYPE_p_char
},
28347 SWIGEXPORT(void) SWIG_init(void) {
28348 static PyObject
*SWIG_globals
= 0;
28349 static int typeinit
= 0;
28352 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
28353 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
28354 d
= PyModule_GetDict(m
);
28357 for (i
= 0; swig_types_initial
[i
]; i
++) {
28358 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
28362 SWIG_InstallConstants(d
,swig_const_table
);
28364 PyDict_SetItemString(d
,"SYS_OEM_FIXED_FONT", SWIG_FromInt((int)wxSYS_OEM_FIXED_FONT
));
28365 PyDict_SetItemString(d
,"SYS_ANSI_FIXED_FONT", SWIG_FromInt((int)wxSYS_ANSI_FIXED_FONT
));
28366 PyDict_SetItemString(d
,"SYS_ANSI_VAR_FONT", SWIG_FromInt((int)wxSYS_ANSI_VAR_FONT
));
28367 PyDict_SetItemString(d
,"SYS_SYSTEM_FONT", SWIG_FromInt((int)wxSYS_SYSTEM_FONT
));
28368 PyDict_SetItemString(d
,"SYS_DEVICE_DEFAULT_FONT", SWIG_FromInt((int)wxSYS_DEVICE_DEFAULT_FONT
));
28369 PyDict_SetItemString(d
,"SYS_DEFAULT_PALETTE", SWIG_FromInt((int)wxSYS_DEFAULT_PALETTE
));
28370 PyDict_SetItemString(d
,"SYS_SYSTEM_FIXED_FONT", SWIG_FromInt((int)wxSYS_SYSTEM_FIXED_FONT
));
28371 PyDict_SetItemString(d
,"SYS_DEFAULT_GUI_FONT", SWIG_FromInt((int)wxSYS_DEFAULT_GUI_FONT
));
28372 PyDict_SetItemString(d
,"SYS_ICONTITLE_FONT", SWIG_FromInt((int)wxSYS_ICONTITLE_FONT
));
28373 PyDict_SetItemString(d
,"SYS_COLOUR_SCROLLBAR", SWIG_FromInt((int)wxSYS_COLOUR_SCROLLBAR
));
28374 PyDict_SetItemString(d
,"SYS_COLOUR_BACKGROUND", SWIG_FromInt((int)wxSYS_COLOUR_BACKGROUND
));
28375 PyDict_SetItemString(d
,"SYS_COLOUR_DESKTOP", SWIG_FromInt((int)wxSYS_COLOUR_DESKTOP
));
28376 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_ACTIVECAPTION
));
28377 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVECAPTION
));
28378 PyDict_SetItemString(d
,"SYS_COLOUR_MENU", SWIG_FromInt((int)wxSYS_COLOUR_MENU
));
28379 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOW", SWIG_FromInt((int)wxSYS_COLOUR_WINDOW
));
28380 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWFRAME", SWIG_FromInt((int)wxSYS_COLOUR_WINDOWFRAME
));
28381 PyDict_SetItemString(d
,"SYS_COLOUR_MENUTEXT", SWIG_FromInt((int)wxSYS_COLOUR_MENUTEXT
));
28382 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWTEXT", SWIG_FromInt((int)wxSYS_COLOUR_WINDOWTEXT
));
28383 PyDict_SetItemString(d
,"SYS_COLOUR_CAPTIONTEXT", SWIG_FromInt((int)wxSYS_COLOUR_CAPTIONTEXT
));
28384 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVEBORDER", SWIG_FromInt((int)wxSYS_COLOUR_ACTIVEBORDER
));
28385 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVEBORDER", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVEBORDER
));
28386 PyDict_SetItemString(d
,"SYS_COLOUR_APPWORKSPACE", SWIG_FromInt((int)wxSYS_COLOUR_APPWORKSPACE
));
28387 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_HIGHLIGHT
));
28388 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_FromInt((int)wxSYS_COLOUR_HIGHLIGHTTEXT
));
28389 PyDict_SetItemString(d
,"SYS_COLOUR_BTNFACE", SWIG_FromInt((int)wxSYS_COLOUR_BTNFACE
));
28390 PyDict_SetItemString(d
,"SYS_COLOUR_3DFACE", SWIG_FromInt((int)wxSYS_COLOUR_3DFACE
));
28391 PyDict_SetItemString(d
,"SYS_COLOUR_BTNSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_BTNSHADOW
));
28392 PyDict_SetItemString(d
,"SYS_COLOUR_3DSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_3DSHADOW
));
28393 PyDict_SetItemString(d
,"SYS_COLOUR_GRAYTEXT", SWIG_FromInt((int)wxSYS_COLOUR_GRAYTEXT
));
28394 PyDict_SetItemString(d
,"SYS_COLOUR_BTNTEXT", SWIG_FromInt((int)wxSYS_COLOUR_BTNTEXT
));
28395 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVECAPTIONTEXT
));
28396 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_BTNHIGHLIGHT
));
28397 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_BTNHILIGHT
));
28398 PyDict_SetItemString(d
,"SYS_COLOUR_3DHIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DHIGHLIGHT
));
28399 PyDict_SetItemString(d
,"SYS_COLOUR_3DHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DHILIGHT
));
28400 PyDict_SetItemString(d
,"SYS_COLOUR_3DDKSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_3DDKSHADOW
));
28401 PyDict_SetItemString(d
,"SYS_COLOUR_3DLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DLIGHT
));
28402 PyDict_SetItemString(d
,"SYS_COLOUR_INFOTEXT", SWIG_FromInt((int)wxSYS_COLOUR_INFOTEXT
));
28403 PyDict_SetItemString(d
,"SYS_COLOUR_INFOBK", SWIG_FromInt((int)wxSYS_COLOUR_INFOBK
));
28404 PyDict_SetItemString(d
,"SYS_COLOUR_LISTBOX", SWIG_FromInt((int)wxSYS_COLOUR_LISTBOX
));
28405 PyDict_SetItemString(d
,"SYS_COLOUR_HOTLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_HOTLIGHT
));
28406 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_GRADIENTACTIVECAPTION
));
28407 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_GRADIENTINACTIVECAPTION
));
28408 PyDict_SetItemString(d
,"SYS_COLOUR_MENUHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_MENUHILIGHT
));
28409 PyDict_SetItemString(d
,"SYS_COLOUR_MENUBAR", SWIG_FromInt((int)wxSYS_COLOUR_MENUBAR
));
28410 PyDict_SetItemString(d
,"SYS_COLOUR_MAX", SWIG_FromInt((int)wxSYS_COLOUR_MAX
));
28411 PyDict_SetItemString(d
,"SYS_MOUSE_BUTTONS", SWIG_FromInt((int)wxSYS_MOUSE_BUTTONS
));
28412 PyDict_SetItemString(d
,"SYS_BORDER_X", SWIG_FromInt((int)wxSYS_BORDER_X
));
28413 PyDict_SetItemString(d
,"SYS_BORDER_Y", SWIG_FromInt((int)wxSYS_BORDER_Y
));
28414 PyDict_SetItemString(d
,"SYS_CURSOR_X", SWIG_FromInt((int)wxSYS_CURSOR_X
));
28415 PyDict_SetItemString(d
,"SYS_CURSOR_Y", SWIG_FromInt((int)wxSYS_CURSOR_Y
));
28416 PyDict_SetItemString(d
,"SYS_DCLICK_X", SWIG_FromInt((int)wxSYS_DCLICK_X
));
28417 PyDict_SetItemString(d
,"SYS_DCLICK_Y", SWIG_FromInt((int)wxSYS_DCLICK_Y
));
28418 PyDict_SetItemString(d
,"SYS_DRAG_X", SWIG_FromInt((int)wxSYS_DRAG_X
));
28419 PyDict_SetItemString(d
,"SYS_DRAG_Y", SWIG_FromInt((int)wxSYS_DRAG_Y
));
28420 PyDict_SetItemString(d
,"SYS_EDGE_X", SWIG_FromInt((int)wxSYS_EDGE_X
));
28421 PyDict_SetItemString(d
,"SYS_EDGE_Y", SWIG_FromInt((int)wxSYS_EDGE_Y
));
28422 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_X", SWIG_FromInt((int)wxSYS_HSCROLL_ARROW_X
));
28423 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_Y", SWIG_FromInt((int)wxSYS_HSCROLL_ARROW_Y
));
28424 PyDict_SetItemString(d
,"SYS_HTHUMB_X", SWIG_FromInt((int)wxSYS_HTHUMB_X
));
28425 PyDict_SetItemString(d
,"SYS_ICON_X", SWIG_FromInt((int)wxSYS_ICON_X
));
28426 PyDict_SetItemString(d
,"SYS_ICON_Y", SWIG_FromInt((int)wxSYS_ICON_Y
));
28427 PyDict_SetItemString(d
,"SYS_ICONSPACING_X", SWIG_FromInt((int)wxSYS_ICONSPACING_X
));
28428 PyDict_SetItemString(d
,"SYS_ICONSPACING_Y", SWIG_FromInt((int)wxSYS_ICONSPACING_Y
));
28429 PyDict_SetItemString(d
,"SYS_WINDOWMIN_X", SWIG_FromInt((int)wxSYS_WINDOWMIN_X
));
28430 PyDict_SetItemString(d
,"SYS_WINDOWMIN_Y", SWIG_FromInt((int)wxSYS_WINDOWMIN_Y
));
28431 PyDict_SetItemString(d
,"SYS_SCREEN_X", SWIG_FromInt((int)wxSYS_SCREEN_X
));
28432 PyDict_SetItemString(d
,"SYS_SCREEN_Y", SWIG_FromInt((int)wxSYS_SCREEN_Y
));
28433 PyDict_SetItemString(d
,"SYS_FRAMESIZE_X", SWIG_FromInt((int)wxSYS_FRAMESIZE_X
));
28434 PyDict_SetItemString(d
,"SYS_FRAMESIZE_Y", SWIG_FromInt((int)wxSYS_FRAMESIZE_Y
));
28435 PyDict_SetItemString(d
,"SYS_SMALLICON_X", SWIG_FromInt((int)wxSYS_SMALLICON_X
));
28436 PyDict_SetItemString(d
,"SYS_SMALLICON_Y", SWIG_FromInt((int)wxSYS_SMALLICON_Y
));
28437 PyDict_SetItemString(d
,"SYS_HSCROLL_Y", SWIG_FromInt((int)wxSYS_HSCROLL_Y
));
28438 PyDict_SetItemString(d
,"SYS_VSCROLL_X", SWIG_FromInt((int)wxSYS_VSCROLL_X
));
28439 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_X", SWIG_FromInt((int)wxSYS_VSCROLL_ARROW_X
));
28440 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_Y", SWIG_FromInt((int)wxSYS_VSCROLL_ARROW_Y
));
28441 PyDict_SetItemString(d
,"SYS_VTHUMB_Y", SWIG_FromInt((int)wxSYS_VTHUMB_Y
));
28442 PyDict_SetItemString(d
,"SYS_CAPTION_Y", SWIG_FromInt((int)wxSYS_CAPTION_Y
));
28443 PyDict_SetItemString(d
,"SYS_MENU_Y", SWIG_FromInt((int)wxSYS_MENU_Y
));
28444 PyDict_SetItemString(d
,"SYS_NETWORK_PRESENT", SWIG_FromInt((int)wxSYS_NETWORK_PRESENT
));
28445 PyDict_SetItemString(d
,"SYS_PENWINDOWS_PRESENT", SWIG_FromInt((int)wxSYS_PENWINDOWS_PRESENT
));
28446 PyDict_SetItemString(d
,"SYS_SHOW_SOUNDS", SWIG_FromInt((int)wxSYS_SHOW_SOUNDS
));
28447 PyDict_SetItemString(d
,"SYS_SWAP_BUTTONS", SWIG_FromInt((int)wxSYS_SWAP_BUTTONS
));
28448 PyDict_SetItemString(d
,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_FromInt((int)wxSYS_CAN_DRAW_FRAME_DECORATIONS
));
28449 PyDict_SetItemString(d
,"SYS_CAN_ICONIZE_FRAME", SWIG_FromInt((int)wxSYS_CAN_ICONIZE_FRAME
));
28450 PyDict_SetItemString(d
,"SYS_SCREEN_NONE", SWIG_FromInt((int)wxSYS_SCREEN_NONE
));
28451 PyDict_SetItemString(d
,"SYS_SCREEN_TINY", SWIG_FromInt((int)wxSYS_SCREEN_TINY
));
28452 PyDict_SetItemString(d
,"SYS_SCREEN_PDA", SWIG_FromInt((int)wxSYS_SCREEN_PDA
));
28453 PyDict_SetItemString(d
,"SYS_SCREEN_SMALL", SWIG_FromInt((int)wxSYS_SCREEN_SMALL
));
28454 PyDict_SetItemString(d
,"SYS_SCREEN_DESKTOP", SWIG_FromInt((int)wxSYS_SCREEN_DESKTOP
));
28455 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
28456 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
28457 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
28458 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
28459 PyDict_SetItemString(d
,"SHUTDOWN_POWEROFF", SWIG_FromInt((int)wxSHUTDOWN_POWEROFF
));
28460 PyDict_SetItemString(d
,"SHUTDOWN_REBOOT", SWIG_FromInt((int)wxSHUTDOWN_REBOOT
));
28461 PyDict_SetItemString(d
,"TIMER_CONTINUOUS", SWIG_FromInt((int)wxTIMER_CONTINUOUS
));
28462 PyDict_SetItemString(d
,"TIMER_ONE_SHOT", SWIG_FromInt((int)wxTIMER_ONE_SHOT
));
28463 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
28464 PyDict_SetItemString(d
,"LOG_FatalError", SWIG_FromInt((int)wxLOG_FatalError
));
28465 PyDict_SetItemString(d
,"LOG_Error", SWIG_FromInt((int)wxLOG_Error
));
28466 PyDict_SetItemString(d
,"LOG_Warning", SWIG_FromInt((int)wxLOG_Warning
));
28467 PyDict_SetItemString(d
,"LOG_Message", SWIG_FromInt((int)wxLOG_Message
));
28468 PyDict_SetItemString(d
,"LOG_Status", SWIG_FromInt((int)wxLOG_Status
));
28469 PyDict_SetItemString(d
,"LOG_Info", SWIG_FromInt((int)wxLOG_Info
));
28470 PyDict_SetItemString(d
,"LOG_Debug", SWIG_FromInt((int)wxLOG_Debug
));
28471 PyDict_SetItemString(d
,"LOG_Trace", SWIG_FromInt((int)wxLOG_Trace
));
28472 PyDict_SetItemString(d
,"LOG_Progress", SWIG_FromInt((int)wxLOG_Progress
));
28473 PyDict_SetItemString(d
,"LOG_User", SWIG_FromInt((int)wxLOG_User
));
28474 PyDict_SetItemString(d
,"LOG_Max", SWIG_FromInt((int)wxLOG_Max
));
28475 PyDict_SetItemString(d
,"TRACE_MemAlloc", SWIG_FromCharPtr("memalloc"));
28476 PyDict_SetItemString(d
,"TRACE_Messages", SWIG_FromCharPtr("messages"));
28477 PyDict_SetItemString(d
,"TRACE_ResAlloc", SWIG_FromCharPtr("resalloc"));
28478 PyDict_SetItemString(d
,"TRACE_RefCount", SWIG_FromCharPtr("refcount"));
28479 PyDict_SetItemString(d
,"TRACE_OleCalls", SWIG_FromCharPtr("ole"));
28480 PyDict_SetItemString(d
,"TraceMemAlloc", SWIG_FromInt((int)0x0001));
28481 PyDict_SetItemString(d
,"TraceMessages", SWIG_FromInt((int)0x0002));
28482 PyDict_SetItemString(d
,"TraceResAlloc", SWIG_FromInt((int)0x0004));
28483 PyDict_SetItemString(d
,"TraceRefCount", SWIG_FromInt((int)0x0008));
28484 PyDict_SetItemString(d
,"TraceOleCalls", SWIG_FromInt((int)0x0100));
28485 PyDict_SetItemString(d
,"PROCESS_DEFAULT", SWIG_FromInt((int)wxPROCESS_DEFAULT
));
28486 PyDict_SetItemString(d
,"PROCESS_REDIRECT", SWIG_FromInt((int)wxPROCESS_REDIRECT
));
28487 PyDict_SetItemString(d
,"KILL_OK", SWIG_FromInt((int)wxKILL_OK
));
28488 PyDict_SetItemString(d
,"KILL_BAD_SIGNAL", SWIG_FromInt((int)wxKILL_BAD_SIGNAL
));
28489 PyDict_SetItemString(d
,"KILL_ACCESS_DENIED", SWIG_FromInt((int)wxKILL_ACCESS_DENIED
));
28490 PyDict_SetItemString(d
,"KILL_NO_PROCESS", SWIG_FromInt((int)wxKILL_NO_PROCESS
));
28491 PyDict_SetItemString(d
,"KILL_ERROR", SWIG_FromInt((int)wxKILL_ERROR
));
28492 PyDict_SetItemString(d
,"SIGNONE", SWIG_FromInt((int)wxSIGNONE
));
28493 PyDict_SetItemString(d
,"SIGHUP", SWIG_FromInt((int)wxSIGHUP
));
28494 PyDict_SetItemString(d
,"SIGINT", SWIG_FromInt((int)wxSIGINT
));
28495 PyDict_SetItemString(d
,"SIGQUIT", SWIG_FromInt((int)wxSIGQUIT
));
28496 PyDict_SetItemString(d
,"SIGILL", SWIG_FromInt((int)wxSIGILL
));
28497 PyDict_SetItemString(d
,"SIGTRAP", SWIG_FromInt((int)wxSIGTRAP
));
28498 PyDict_SetItemString(d
,"SIGABRT", SWIG_FromInt((int)wxSIGABRT
));
28499 PyDict_SetItemString(d
,"SIGIOT", SWIG_FromInt((int)wxSIGIOT
));
28500 PyDict_SetItemString(d
,"SIGEMT", SWIG_FromInt((int)wxSIGEMT
));
28501 PyDict_SetItemString(d
,"SIGFPE", SWIG_FromInt((int)wxSIGFPE
));
28502 PyDict_SetItemString(d
,"SIGKILL", SWIG_FromInt((int)wxSIGKILL
));
28503 PyDict_SetItemString(d
,"SIGBUS", SWIG_FromInt((int)wxSIGBUS
));
28504 PyDict_SetItemString(d
,"SIGSEGV", SWIG_FromInt((int)wxSIGSEGV
));
28505 PyDict_SetItemString(d
,"SIGSYS", SWIG_FromInt((int)wxSIGSYS
));
28506 PyDict_SetItemString(d
,"SIGPIPE", SWIG_FromInt((int)wxSIGPIPE
));
28507 PyDict_SetItemString(d
,"SIGALRM", SWIG_FromInt((int)wxSIGALRM
));
28508 PyDict_SetItemString(d
,"SIGTERM", SWIG_FromInt((int)wxSIGTERM
));
28509 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
28510 PyDict_SetItemString(d
,"EXEC_ASYNC", SWIG_FromInt((int)wxEXEC_ASYNC
));
28511 PyDict_SetItemString(d
,"EXEC_SYNC", SWIG_FromInt((int)wxEXEC_SYNC
));
28512 PyDict_SetItemString(d
,"EXEC_NOHIDE", SWIG_FromInt((int)wxEXEC_NOHIDE
));
28513 PyDict_SetItemString(d
,"EXEC_MAKE_GROUP_LEADER", SWIG_FromInt((int)wxEXEC_MAKE_GROUP_LEADER
));
28515 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
28517 PyDict_SetItemString(d
,"JOYSTICK1", SWIG_FromInt((int)wxJOYSTICK1
));
28518 PyDict_SetItemString(d
,"JOYSTICK2", SWIG_FromInt((int)wxJOYSTICK2
));
28519 PyDict_SetItemString(d
,"JOY_BUTTON_ANY", SWIG_FromInt((int)wxJOY_BUTTON_ANY
));
28520 PyDict_SetItemString(d
,"JOY_BUTTON1", SWIG_FromInt((int)wxJOY_BUTTON1
));
28521 PyDict_SetItemString(d
,"JOY_BUTTON2", SWIG_FromInt((int)wxJOY_BUTTON2
));
28522 PyDict_SetItemString(d
,"JOY_BUTTON3", SWIG_FromInt((int)wxJOY_BUTTON3
));
28523 PyDict_SetItemString(d
,"JOY_BUTTON4", SWIG_FromInt((int)wxJOY_BUTTON4
));
28524 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
28525 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
28526 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
28527 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
28528 PyDict_SetItemString(d
,"SOUND_SYNC", SWIG_FromInt((int)wxSOUND_SYNC
));
28529 PyDict_SetItemString(d
,"SOUND_ASYNC", SWIG_FromInt((int)wxSOUND_ASYNC
));
28530 PyDict_SetItemString(d
,"SOUND_LOOP", SWIG_FromInt((int)wxSOUND_LOOP
));
28531 PyDict_SetItemString(d
,"MAILCAP_STANDARD", SWIG_FromInt((int)wxMAILCAP_STANDARD
));
28532 PyDict_SetItemString(d
,"MAILCAP_NETSCAPE", SWIG_FromInt((int)wxMAILCAP_NETSCAPE
));
28533 PyDict_SetItemString(d
,"MAILCAP_KDE", SWIG_FromInt((int)wxMAILCAP_KDE
));
28534 PyDict_SetItemString(d
,"MAILCAP_GNOME", SWIG_FromInt((int)wxMAILCAP_GNOME
));
28535 PyDict_SetItemString(d
,"MAILCAP_ALL", SWIG_FromInt((int)wxMAILCAP_ALL
));
28536 SWIG_addvarlink(SWIG_globals
,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get
, _wrap_TheMimeTypesManager_set
);
28537 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get
, _wrap_ART_TOOLBAR_set
);
28538 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MENU",_wrap_ART_MENU_get
, _wrap_ART_MENU_set
);
28539 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get
, _wrap_ART_FRAME_ICON_set
);
28540 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get
, _wrap_ART_CMN_DIALOG_set
);
28541 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get
, _wrap_ART_HELP_BROWSER_set
);
28542 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get
, _wrap_ART_MESSAGE_BOX_set
);
28543 SWIG_addvarlink(SWIG_globals
,(char*)"ART_OTHER",_wrap_ART_OTHER_get
, _wrap_ART_OTHER_set
);
28544 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get
, _wrap_ART_ADD_BOOKMARK_set
);
28545 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get
, _wrap_ART_DEL_BOOKMARK_set
);
28546 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get
, _wrap_ART_HELP_SIDE_PANEL_set
);
28547 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get
, _wrap_ART_HELP_SETTINGS_set
);
28548 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get
, _wrap_ART_HELP_BOOK_set
);
28549 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get
, _wrap_ART_HELP_FOLDER_set
);
28550 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get
, _wrap_ART_HELP_PAGE_set
);
28551 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get
, _wrap_ART_GO_BACK_set
);
28552 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get
, _wrap_ART_GO_FORWARD_set
);
28553 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get
, _wrap_ART_GO_UP_set
);
28554 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get
, _wrap_ART_GO_DOWN_set
);
28555 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get
, _wrap_ART_GO_TO_PARENT_set
);
28556 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get
, _wrap_ART_GO_HOME_set
);
28557 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get
, _wrap_ART_FILE_OPEN_set
);
28558 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PRINT",_wrap_ART_PRINT_get
, _wrap_ART_PRINT_set
);
28559 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP",_wrap_ART_HELP_get
, _wrap_ART_HELP_set
);
28560 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TIP",_wrap_ART_TIP_get
, _wrap_ART_TIP_set
);
28561 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get
, _wrap_ART_REPORT_VIEW_set
);
28562 SWIG_addvarlink(SWIG_globals
,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get
, _wrap_ART_LIST_VIEW_set
);
28563 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get
, _wrap_ART_NEW_DIR_set
);
28564 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get
, _wrap_ART_FOLDER_set
);
28565 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get
, _wrap_ART_GO_DIR_UP_set
);
28566 SWIG_addvarlink(SWIG_globals
,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get
, _wrap_ART_EXECUTABLE_FILE_set
);
28567 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get
, _wrap_ART_NORMAL_FILE_set
);
28568 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get
, _wrap_ART_TICK_MARK_set
);
28569 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get
, _wrap_ART_CROSS_MARK_set
);
28570 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ERROR",_wrap_ART_ERROR_get
, _wrap_ART_ERROR_set
);
28571 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get
, _wrap_ART_QUESTION_set
);
28572 SWIG_addvarlink(SWIG_globals
,(char*)"ART_WARNING",_wrap_ART_WARNING_get
, _wrap_ART_WARNING_set
);
28573 SWIG_addvarlink(SWIG_globals
,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get
, _wrap_ART_INFORMATION_set
);
28574 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get
, _wrap_ART_MISSING_IMAGE_set
);
28576 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
28578 PyDict_SetItemString(d
,"CONFIG_USE_LOCAL_FILE", SWIG_FromInt((int)wxCONFIG_USE_LOCAL_FILE
));
28579 PyDict_SetItemString(d
,"CONFIG_USE_GLOBAL_FILE", SWIG_FromInt((int)wxCONFIG_USE_GLOBAL_FILE
));
28580 PyDict_SetItemString(d
,"CONFIG_USE_RELATIVE_PATH", SWIG_FromInt((int)wxCONFIG_USE_RELATIVE_PATH
));
28581 PyDict_SetItemString(d
,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_FromInt((int)wxCONFIG_USE_NO_ESCAPE_CHARACTERS
));
28582 PyDict_SetItemString(d
,"ConfigBase_Type_Unknown", SWIG_FromInt((int)wxConfigBase::Type_Unknown
));
28583 PyDict_SetItemString(d
,"ConfigBase_Type_String", SWIG_FromInt((int)wxConfigBase::Type_String
));
28584 PyDict_SetItemString(d
,"ConfigBase_Type_Boolean", SWIG_FromInt((int)wxConfigBase::Type_Boolean
));
28585 PyDict_SetItemString(d
,"ConfigBase_Type_Integer", SWIG_FromInt((int)wxConfigBase::Type_Integer
));
28586 PyDict_SetItemString(d
,"ConfigBase_Type_Float", SWIG_FromInt((int)wxConfigBase::Type_Float
));
28587 SWIG_addvarlink(SWIG_globals
,(char*)"DateFormatStr",_wrap_DateFormatStr_get
, _wrap_DateFormatStr_set
);
28588 SWIG_addvarlink(SWIG_globals
,(char*)"TimeSpanFormatStr",_wrap_TimeSpanFormatStr_get
, _wrap_TimeSpanFormatStr_set
);
28589 PyDict_SetItemString(d
,"DateTime_Local", SWIG_FromInt((int)wxDateTime::Local
));
28590 PyDict_SetItemString(d
,"DateTime_GMT_12", SWIG_FromInt((int)wxDateTime::GMT_12
));
28591 PyDict_SetItemString(d
,"DateTime_GMT_11", SWIG_FromInt((int)wxDateTime::GMT_11
));
28592 PyDict_SetItemString(d
,"DateTime_GMT_10", SWIG_FromInt((int)wxDateTime::GMT_10
));
28593 PyDict_SetItemString(d
,"DateTime_GMT_9", SWIG_FromInt((int)wxDateTime::GMT_9
));
28594 PyDict_SetItemString(d
,"DateTime_GMT_8", SWIG_FromInt((int)wxDateTime::GMT_8
));
28595 PyDict_SetItemString(d
,"DateTime_GMT_7", SWIG_FromInt((int)wxDateTime::GMT_7
));
28596 PyDict_SetItemString(d
,"DateTime_GMT_6", SWIG_FromInt((int)wxDateTime::GMT_6
));
28597 PyDict_SetItemString(d
,"DateTime_GMT_5", SWIG_FromInt((int)wxDateTime::GMT_5
));
28598 PyDict_SetItemString(d
,"DateTime_GMT_4", SWIG_FromInt((int)wxDateTime::GMT_4
));
28599 PyDict_SetItemString(d
,"DateTime_GMT_3", SWIG_FromInt((int)wxDateTime::GMT_3
));
28600 PyDict_SetItemString(d
,"DateTime_GMT_2", SWIG_FromInt((int)wxDateTime::GMT_2
));
28601 PyDict_SetItemString(d
,"DateTime_GMT_1", SWIG_FromInt((int)wxDateTime::GMT_1
));
28602 PyDict_SetItemString(d
,"DateTime_GMT0", SWIG_FromInt((int)wxDateTime::GMT0
));
28603 PyDict_SetItemString(d
,"DateTime_GMT1", SWIG_FromInt((int)wxDateTime::GMT1
));
28604 PyDict_SetItemString(d
,"DateTime_GMT2", SWIG_FromInt((int)wxDateTime::GMT2
));
28605 PyDict_SetItemString(d
,"DateTime_GMT3", SWIG_FromInt((int)wxDateTime::GMT3
));
28606 PyDict_SetItemString(d
,"DateTime_GMT4", SWIG_FromInt((int)wxDateTime::GMT4
));
28607 PyDict_SetItemString(d
,"DateTime_GMT5", SWIG_FromInt((int)wxDateTime::GMT5
));
28608 PyDict_SetItemString(d
,"DateTime_GMT6", SWIG_FromInt((int)wxDateTime::GMT6
));
28609 PyDict_SetItemString(d
,"DateTime_GMT7", SWIG_FromInt((int)wxDateTime::GMT7
));
28610 PyDict_SetItemString(d
,"DateTime_GMT8", SWIG_FromInt((int)wxDateTime::GMT8
));
28611 PyDict_SetItemString(d
,"DateTime_GMT9", SWIG_FromInt((int)wxDateTime::GMT9
));
28612 PyDict_SetItemString(d
,"DateTime_GMT10", SWIG_FromInt((int)wxDateTime::GMT10
));
28613 PyDict_SetItemString(d
,"DateTime_GMT11", SWIG_FromInt((int)wxDateTime::GMT11
));
28614 PyDict_SetItemString(d
,"DateTime_GMT12", SWIG_FromInt((int)wxDateTime::GMT12
));
28615 PyDict_SetItemString(d
,"DateTime_WET", SWIG_FromInt((int)wxDateTime::WET
));
28616 PyDict_SetItemString(d
,"DateTime_WEST", SWIG_FromInt((int)wxDateTime::WEST
));
28617 PyDict_SetItemString(d
,"DateTime_CET", SWIG_FromInt((int)wxDateTime::CET
));
28618 PyDict_SetItemString(d
,"DateTime_CEST", SWIG_FromInt((int)wxDateTime::CEST
));
28619 PyDict_SetItemString(d
,"DateTime_EET", SWIG_FromInt((int)wxDateTime::EET
));
28620 PyDict_SetItemString(d
,"DateTime_EEST", SWIG_FromInt((int)wxDateTime::EEST
));
28621 PyDict_SetItemString(d
,"DateTime_MSK", SWIG_FromInt((int)wxDateTime::MSK
));
28622 PyDict_SetItemString(d
,"DateTime_MSD", SWIG_FromInt((int)wxDateTime::MSD
));
28623 PyDict_SetItemString(d
,"DateTime_AST", SWIG_FromInt((int)wxDateTime::AST
));
28624 PyDict_SetItemString(d
,"DateTime_ADT", SWIG_FromInt((int)wxDateTime::ADT
));
28625 PyDict_SetItemString(d
,"DateTime_EST", SWIG_FromInt((int)wxDateTime::EST
));
28626 PyDict_SetItemString(d
,"DateTime_EDT", SWIG_FromInt((int)wxDateTime::EDT
));
28627 PyDict_SetItemString(d
,"DateTime_CST", SWIG_FromInt((int)wxDateTime::CST
));
28628 PyDict_SetItemString(d
,"DateTime_CDT", SWIG_FromInt((int)wxDateTime::CDT
));
28629 PyDict_SetItemString(d
,"DateTime_MST", SWIG_FromInt((int)wxDateTime::MST
));
28630 PyDict_SetItemString(d
,"DateTime_MDT", SWIG_FromInt((int)wxDateTime::MDT
));
28631 PyDict_SetItemString(d
,"DateTime_PST", SWIG_FromInt((int)wxDateTime::PST
));
28632 PyDict_SetItemString(d
,"DateTime_PDT", SWIG_FromInt((int)wxDateTime::PDT
));
28633 PyDict_SetItemString(d
,"DateTime_HST", SWIG_FromInt((int)wxDateTime::HST
));
28634 PyDict_SetItemString(d
,"DateTime_AKST", SWIG_FromInt((int)wxDateTime::AKST
));
28635 PyDict_SetItemString(d
,"DateTime_AKDT", SWIG_FromInt((int)wxDateTime::AKDT
));
28636 PyDict_SetItemString(d
,"DateTime_A_WST", SWIG_FromInt((int)wxDateTime::A_WST
));
28637 PyDict_SetItemString(d
,"DateTime_A_CST", SWIG_FromInt((int)wxDateTime::A_CST
));
28638 PyDict_SetItemString(d
,"DateTime_A_EST", SWIG_FromInt((int)wxDateTime::A_EST
));
28639 PyDict_SetItemString(d
,"DateTime_A_ESST", SWIG_FromInt((int)wxDateTime::A_ESST
));
28640 PyDict_SetItemString(d
,"DateTime_UTC", SWIG_FromInt((int)wxDateTime::UTC
));
28641 PyDict_SetItemString(d
,"DateTime_Gregorian", SWIG_FromInt((int)wxDateTime::Gregorian
));
28642 PyDict_SetItemString(d
,"DateTime_Julian", SWIG_FromInt((int)wxDateTime::Julian
));
28643 PyDict_SetItemString(d
,"DateTime_Gr_Unknown", SWIG_FromInt((int)wxDateTime::Gr_Unknown
));
28644 PyDict_SetItemString(d
,"DateTime_Gr_Standard", SWIG_FromInt((int)wxDateTime::Gr_Standard
));
28645 PyDict_SetItemString(d
,"DateTime_Gr_Alaska", SWIG_FromInt((int)wxDateTime::Gr_Alaska
));
28646 PyDict_SetItemString(d
,"DateTime_Gr_Albania", SWIG_FromInt((int)wxDateTime::Gr_Albania
));
28647 PyDict_SetItemString(d
,"DateTime_Gr_Austria", SWIG_FromInt((int)wxDateTime::Gr_Austria
));
28648 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Brixen", SWIG_FromInt((int)wxDateTime::Gr_Austria_Brixen
));
28649 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Salzburg", SWIG_FromInt((int)wxDateTime::Gr_Austria_Salzburg
));
28650 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Tyrol", SWIG_FromInt((int)wxDateTime::Gr_Austria_Tyrol
));
28651 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Carinthia", SWIG_FromInt((int)wxDateTime::Gr_Austria_Carinthia
));
28652 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Styria", SWIG_FromInt((int)wxDateTime::Gr_Austria_Styria
));
28653 PyDict_SetItemString(d
,"DateTime_Gr_Belgium", SWIG_FromInt((int)wxDateTime::Gr_Belgium
));
28654 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria
));
28655 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_1", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_1
));
28656 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_2", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_2
));
28657 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_3", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_3
));
28658 PyDict_SetItemString(d
,"DateTime_Gr_Canada", SWIG_FromInt((int)wxDateTime::Gr_Canada
));
28659 PyDict_SetItemString(d
,"DateTime_Gr_China", SWIG_FromInt((int)wxDateTime::Gr_China
));
28660 PyDict_SetItemString(d
,"DateTime_Gr_China_1", SWIG_FromInt((int)wxDateTime::Gr_China_1
));
28661 PyDict_SetItemString(d
,"DateTime_Gr_China_2", SWIG_FromInt((int)wxDateTime::Gr_China_2
));
28662 PyDict_SetItemString(d
,"DateTime_Gr_Czechoslovakia", SWIG_FromInt((int)wxDateTime::Gr_Czechoslovakia
));
28663 PyDict_SetItemString(d
,"DateTime_Gr_Denmark", SWIG_FromInt((int)wxDateTime::Gr_Denmark
));
28664 PyDict_SetItemString(d
,"DateTime_Gr_Egypt", SWIG_FromInt((int)wxDateTime::Gr_Egypt
));
28665 PyDict_SetItemString(d
,"DateTime_Gr_Estonia", SWIG_FromInt((int)wxDateTime::Gr_Estonia
));
28666 PyDict_SetItemString(d
,"DateTime_Gr_Finland", SWIG_FromInt((int)wxDateTime::Gr_Finland
));
28667 PyDict_SetItemString(d
,"DateTime_Gr_France", SWIG_FromInt((int)wxDateTime::Gr_France
));
28668 PyDict_SetItemString(d
,"DateTime_Gr_France_Alsace", SWIG_FromInt((int)wxDateTime::Gr_France_Alsace
));
28669 PyDict_SetItemString(d
,"DateTime_Gr_France_Lorraine", SWIG_FromInt((int)wxDateTime::Gr_France_Lorraine
));
28670 PyDict_SetItemString(d
,"DateTime_Gr_France_Strasbourg", SWIG_FromInt((int)wxDateTime::Gr_France_Strasbourg
));
28671 PyDict_SetItemString(d
,"DateTime_Gr_Germany", SWIG_FromInt((int)wxDateTime::Gr_Germany
));
28672 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Catholic", SWIG_FromInt((int)wxDateTime::Gr_Germany_Catholic
));
28673 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Prussia", SWIG_FromInt((int)wxDateTime::Gr_Germany_Prussia
));
28674 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Protestant", SWIG_FromInt((int)wxDateTime::Gr_Germany_Protestant
));
28675 PyDict_SetItemString(d
,"DateTime_Gr_GreatBritain", SWIG_FromInt((int)wxDateTime::Gr_GreatBritain
));
28676 PyDict_SetItemString(d
,"DateTime_Gr_Greece", SWIG_FromInt((int)wxDateTime::Gr_Greece
));
28677 PyDict_SetItemString(d
,"DateTime_Gr_Hungary", SWIG_FromInt((int)wxDateTime::Gr_Hungary
));
28678 PyDict_SetItemString(d
,"DateTime_Gr_Ireland", SWIG_FromInt((int)wxDateTime::Gr_Ireland
));
28679 PyDict_SetItemString(d
,"DateTime_Gr_Italy", SWIG_FromInt((int)wxDateTime::Gr_Italy
));
28680 PyDict_SetItemString(d
,"DateTime_Gr_Japan", SWIG_FromInt((int)wxDateTime::Gr_Japan
));
28681 PyDict_SetItemString(d
,"DateTime_Gr_Japan_1", SWIG_FromInt((int)wxDateTime::Gr_Japan_1
));
28682 PyDict_SetItemString(d
,"DateTime_Gr_Japan_2", SWIG_FromInt((int)wxDateTime::Gr_Japan_2
));
28683 PyDict_SetItemString(d
,"DateTime_Gr_Japan_3", SWIG_FromInt((int)wxDateTime::Gr_Japan_3
));
28684 PyDict_SetItemString(d
,"DateTime_Gr_Latvia", SWIG_FromInt((int)wxDateTime::Gr_Latvia
));
28685 PyDict_SetItemString(d
,"DateTime_Gr_Lithuania", SWIG_FromInt((int)wxDateTime::Gr_Lithuania
));
28686 PyDict_SetItemString(d
,"DateTime_Gr_Luxemburg", SWIG_FromInt((int)wxDateTime::Gr_Luxemburg
));
28687 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands", SWIG_FromInt((int)wxDateTime::Gr_Netherlands
));
28688 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Groningen", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Groningen
));
28689 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Gelderland", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Gelderland
));
28690 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Utrecht", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Utrecht
));
28691 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Friesland", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Friesland
));
28692 PyDict_SetItemString(d
,"DateTime_Gr_Norway", SWIG_FromInt((int)wxDateTime::Gr_Norway
));
28693 PyDict_SetItemString(d
,"DateTime_Gr_Poland", SWIG_FromInt((int)wxDateTime::Gr_Poland
));
28694 PyDict_SetItemString(d
,"DateTime_Gr_Portugal", SWIG_FromInt((int)wxDateTime::Gr_Portugal
));
28695 PyDict_SetItemString(d
,"DateTime_Gr_Romania", SWIG_FromInt((int)wxDateTime::Gr_Romania
));
28696 PyDict_SetItemString(d
,"DateTime_Gr_Russia", SWIG_FromInt((int)wxDateTime::Gr_Russia
));
28697 PyDict_SetItemString(d
,"DateTime_Gr_Scotland", SWIG_FromInt((int)wxDateTime::Gr_Scotland
));
28698 PyDict_SetItemString(d
,"DateTime_Gr_Spain", SWIG_FromInt((int)wxDateTime::Gr_Spain
));
28699 PyDict_SetItemString(d
,"DateTime_Gr_Sweden", SWIG_FromInt((int)wxDateTime::Gr_Sweden
));
28700 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland", SWIG_FromInt((int)wxDateTime::Gr_Switzerland
));
28701 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Catholic", SWIG_FromInt((int)wxDateTime::Gr_Switzerland_Catholic
));
28702 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Protestant", SWIG_FromInt((int)wxDateTime::Gr_Switzerland_Protestant
));
28703 PyDict_SetItemString(d
,"DateTime_Gr_Turkey", SWIG_FromInt((int)wxDateTime::Gr_Turkey
));
28704 PyDict_SetItemString(d
,"DateTime_Gr_USA", SWIG_FromInt((int)wxDateTime::Gr_USA
));
28705 PyDict_SetItemString(d
,"DateTime_Gr_Wales", SWIG_FromInt((int)wxDateTime::Gr_Wales
));
28706 PyDict_SetItemString(d
,"DateTime_Gr_Yugoslavia", SWIG_FromInt((int)wxDateTime::Gr_Yugoslavia
));
28707 PyDict_SetItemString(d
,"DateTime_Country_Unknown", SWIG_FromInt((int)wxDateTime::Country_Unknown
));
28708 PyDict_SetItemString(d
,"DateTime_Country_Default", SWIG_FromInt((int)wxDateTime::Country_Default
));
28709 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_Start", SWIG_FromInt((int)wxDateTime::Country_WesternEurope_Start
));
28710 PyDict_SetItemString(d
,"DateTime_Country_EEC", SWIG_FromInt((int)wxDateTime::Country_EEC
));
28711 PyDict_SetItemString(d
,"DateTime_France", SWIG_FromInt((int)wxDateTime::France
));
28712 PyDict_SetItemString(d
,"DateTime_Germany", SWIG_FromInt((int)wxDateTime::Germany
));
28713 PyDict_SetItemString(d
,"DateTime_UK", SWIG_FromInt((int)wxDateTime::UK
));
28714 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_End", SWIG_FromInt((int)wxDateTime::Country_WesternEurope_End
));
28715 PyDict_SetItemString(d
,"DateTime_Russia", SWIG_FromInt((int)wxDateTime::Russia
));
28716 PyDict_SetItemString(d
,"DateTime_USA", SWIG_FromInt((int)wxDateTime::USA
));
28717 PyDict_SetItemString(d
,"DateTime_Jan", SWIG_FromInt((int)wxDateTime::Jan
));
28718 PyDict_SetItemString(d
,"DateTime_Feb", SWIG_FromInt((int)wxDateTime::Feb
));
28719 PyDict_SetItemString(d
,"DateTime_Mar", SWIG_FromInt((int)wxDateTime::Mar
));
28720 PyDict_SetItemString(d
,"DateTime_Apr", SWIG_FromInt((int)wxDateTime::Apr
));
28721 PyDict_SetItemString(d
,"DateTime_May", SWIG_FromInt((int)wxDateTime::May
));
28722 PyDict_SetItemString(d
,"DateTime_Jun", SWIG_FromInt((int)wxDateTime::Jun
));
28723 PyDict_SetItemString(d
,"DateTime_Jul", SWIG_FromInt((int)wxDateTime::Jul
));
28724 PyDict_SetItemString(d
,"DateTime_Aug", SWIG_FromInt((int)wxDateTime::Aug
));
28725 PyDict_SetItemString(d
,"DateTime_Sep", SWIG_FromInt((int)wxDateTime::Sep
));
28726 PyDict_SetItemString(d
,"DateTime_Oct", SWIG_FromInt((int)wxDateTime::Oct
));
28727 PyDict_SetItemString(d
,"DateTime_Nov", SWIG_FromInt((int)wxDateTime::Nov
));
28728 PyDict_SetItemString(d
,"DateTime_Dec", SWIG_FromInt((int)wxDateTime::Dec
));
28729 PyDict_SetItemString(d
,"DateTime_Inv_Month", SWIG_FromInt((int)wxDateTime::Inv_Month
));
28730 PyDict_SetItemString(d
,"DateTime_Sun", SWIG_FromInt((int)wxDateTime::Sun
));
28731 PyDict_SetItemString(d
,"DateTime_Mon", SWIG_FromInt((int)wxDateTime::Mon
));
28732 PyDict_SetItemString(d
,"DateTime_Tue", SWIG_FromInt((int)wxDateTime::Tue
));
28733 PyDict_SetItemString(d
,"DateTime_Wed", SWIG_FromInt((int)wxDateTime::Wed
));
28734 PyDict_SetItemString(d
,"DateTime_Thu", SWIG_FromInt((int)wxDateTime::Thu
));
28735 PyDict_SetItemString(d
,"DateTime_Fri", SWIG_FromInt((int)wxDateTime::Fri
));
28736 PyDict_SetItemString(d
,"DateTime_Sat", SWIG_FromInt((int)wxDateTime::Sat
));
28737 PyDict_SetItemString(d
,"DateTime_Inv_WeekDay", SWIG_FromInt((int)wxDateTime::Inv_WeekDay
));
28738 PyDict_SetItemString(d
,"DateTime_Inv_Year", SWIG_FromInt((int)wxDateTime::Inv_Year
));
28739 PyDict_SetItemString(d
,"DateTime_Name_Full", SWIG_FromInt((int)wxDateTime::Name_Full
));
28740 PyDict_SetItemString(d
,"DateTime_Name_Abbr", SWIG_FromInt((int)wxDateTime::Name_Abbr
));
28741 PyDict_SetItemString(d
,"DateTime_Default_First", SWIG_FromInt((int)wxDateTime::Default_First
));
28742 PyDict_SetItemString(d
,"DateTime_Monday_First", SWIG_FromInt((int)wxDateTime::Monday_First
));
28743 PyDict_SetItemString(d
,"DateTime_Sunday_First", SWIG_FromInt((int)wxDateTime::Sunday_First
));
28744 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultDateTime",_wrap_DefaultDateTime_get
, _wrap_DefaultDateTime_set
);
28745 PyDict_SetItemString(d
,"DF_INVALID", SWIG_FromInt((int)wxDF_INVALID
));
28746 PyDict_SetItemString(d
,"DF_TEXT", SWIG_FromInt((int)wxDF_TEXT
));
28747 PyDict_SetItemString(d
,"DF_BITMAP", SWIG_FromInt((int)wxDF_BITMAP
));
28748 PyDict_SetItemString(d
,"DF_METAFILE", SWIG_FromInt((int)wxDF_METAFILE
));
28749 PyDict_SetItemString(d
,"DF_SYLK", SWIG_FromInt((int)wxDF_SYLK
));
28750 PyDict_SetItemString(d
,"DF_DIF", SWIG_FromInt((int)wxDF_DIF
));
28751 PyDict_SetItemString(d
,"DF_TIFF", SWIG_FromInt((int)wxDF_TIFF
));
28752 PyDict_SetItemString(d
,"DF_OEMTEXT", SWIG_FromInt((int)wxDF_OEMTEXT
));
28753 PyDict_SetItemString(d
,"DF_DIB", SWIG_FromInt((int)wxDF_DIB
));
28754 PyDict_SetItemString(d
,"DF_PALETTE", SWIG_FromInt((int)wxDF_PALETTE
));
28755 PyDict_SetItemString(d
,"DF_PENDATA", SWIG_FromInt((int)wxDF_PENDATA
));
28756 PyDict_SetItemString(d
,"DF_RIFF", SWIG_FromInt((int)wxDF_RIFF
));
28757 PyDict_SetItemString(d
,"DF_WAVE", SWIG_FromInt((int)wxDF_WAVE
));
28758 PyDict_SetItemString(d
,"DF_UNICODETEXT", SWIG_FromInt((int)wxDF_UNICODETEXT
));
28759 PyDict_SetItemString(d
,"DF_ENHMETAFILE", SWIG_FromInt((int)wxDF_ENHMETAFILE
));
28760 PyDict_SetItemString(d
,"DF_FILENAME", SWIG_FromInt((int)wxDF_FILENAME
));
28761 PyDict_SetItemString(d
,"DF_LOCALE", SWIG_FromInt((int)wxDF_LOCALE
));
28762 PyDict_SetItemString(d
,"DF_PRIVATE", SWIG_FromInt((int)wxDF_PRIVATE
));
28763 PyDict_SetItemString(d
,"DF_HTML", SWIG_FromInt((int)wxDF_HTML
));
28764 PyDict_SetItemString(d
,"DF_MAX", SWIG_FromInt((int)wxDF_MAX
));
28765 SWIG_addvarlink(SWIG_globals
,(char*)"FormatInvalid",_wrap_FormatInvalid_get
, _wrap_FormatInvalid_set
);
28766 PyDict_SetItemString(d
,"DataObject_Get", SWIG_FromInt((int)wxDataObject::Get
));
28767 PyDict_SetItemString(d
,"DataObject_Set", SWIG_FromInt((int)wxDataObject::Set
));
28768 PyDict_SetItemString(d
,"DataObject_Both", SWIG_FromInt((int)wxDataObject::Both
));
28769 PyDict_SetItemString(d
,"Drag_CopyOnly", SWIG_FromInt((int)wxDrag_CopyOnly
));
28770 PyDict_SetItemString(d
,"Drag_AllowMove", SWIG_FromInt((int)wxDrag_AllowMove
));
28771 PyDict_SetItemString(d
,"Drag_DefaultMove", SWIG_FromInt((int)wxDrag_DefaultMove
));
28772 PyDict_SetItemString(d
,"DragError", SWIG_FromInt((int)wxDragError
));
28773 PyDict_SetItemString(d
,"DragNone", SWIG_FromInt((int)wxDragNone
));
28774 PyDict_SetItemString(d
,"DragCopy", SWIG_FromInt((int)wxDragCopy
));
28775 PyDict_SetItemString(d
,"DragMove", SWIG_FromInt((int)wxDragMove
));
28776 PyDict_SetItemString(d
,"DragLink", SWIG_FromInt((int)wxDragLink
));
28777 PyDict_SetItemString(d
,"DragCancel", SWIG_FromInt((int)wxDragCancel
));
28779 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
28780 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
28781 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
28782 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
28784 SWIG_addvarlink(SWIG_globals
,(char*)"TheClipboard",_wrap_TheClipboard_get
, _wrap_TheClipboard_set
);