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() {}
849 bool wxSound_Create__SWIG_1(wxSound
*self
,int size
,wxByte
const *data
){
850 wxPyBeginBlockThreads();
851 PyErr_SetString(PyExc_NotImplementedError
,
852 "Create from data is not available on this platform.");
853 wxPyEndBlockThreads();
858 #include <wx/mimetype.h>
860 PyObject
*wxFileType_GetMimeType(wxFileType
*self
){
862 if (self
->GetMimeType(&str
))
863 return wx2PyString(str
);
867 PyObject
*wxFileType_GetMimeTypes(wxFileType
*self
){
869 if (self
->GetMimeTypes(arr
))
870 return wxArrayString2PyList_helper(arr
);
874 PyObject
*wxFileType_GetExtensions(wxFileType
*self
){
876 if (self
->GetExtensions(arr
))
877 return wxArrayString2PyList_helper(arr
);
881 wxIcon
*wxFileType_GetIcon(wxFileType
*self
){
883 if (self
->GetIcon(&loc
))
884 return new wxIcon(loc
);
888 PyObject
*wxFileType_GetIconInfo(wxFileType
*self
){
890 if (self
->GetIcon(&loc
)) {
891 wxString iconFile
= loc
.GetFileName();
896 // Make a tuple and put the values in it
897 wxPyBeginBlockThreads();
898 PyObject
* tuple
= PyTuple_New(3);
899 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(loc
),
900 wxT("wxIcon"), True
));
901 PyTuple_SetItem(tuple
, 1, wx2PyString(iconFile
));
902 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
903 wxPyEndBlockThreads();
909 PyObject
*wxFileType_GetDescription(wxFileType
*self
){
911 if (self
->GetDescription(&str
))
912 return wx2PyString(str
);
916 PyObject
*wxFileType_GetOpenCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
918 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
919 return wx2PyString(str
);
923 PyObject
*wxFileType_GetPrintCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
925 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
926 return wx2PyString(str
);
930 PyObject
*wxFileType_GetAllCommands(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
932 wxArrayString commands
;
933 if (self
->GetAllCommands(&verbs
, &commands
,
934 wxFileType::MessageParameters(filename
, mimetype
))) {
935 wxPyBeginBlockThreads();
936 PyObject
* tuple
= PyTuple_New(2);
937 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
938 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
939 wxPyEndBlockThreads();
945 wxString
FileType_ExpandCommand(wxString
const &command
,wxString
const &filename
,wxString
const &mimetype
){
946 return wxFileType::ExpandCommand(command
,
947 wxFileType::MessageParameters(filename
, mimetype
));
949 PyObject
*wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
){
951 self
->EnumAllFileTypes(arr
);
952 return wxArrayString2PyList_helper(arr
);
955 #include <wx/artprov.h>
957 static const wxString
wxPyART_TOOLBAR(wxART_TOOLBAR
);
958 static const wxString
wxPyART_MENU(wxART_MENU
);
959 static const wxString
wxPyART_FRAME_ICON(wxART_FRAME_ICON
);
960 static const wxString
wxPyART_CMN_DIALOG(wxART_CMN_DIALOG
);
961 static const wxString
wxPyART_HELP_BROWSER(wxART_HELP_BROWSER
);
962 static const wxString
wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX
);
963 static const wxString
wxPyART_OTHER(wxART_OTHER
);
964 static const wxString
wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK
);
965 static const wxString
wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK
);
966 static const wxString
wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL
);
967 static const wxString
wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS
);
968 static const wxString
wxPyART_HELP_BOOK(wxART_HELP_BOOK
);
969 static const wxString
wxPyART_HELP_FOLDER(wxART_HELP_FOLDER
);
970 static const wxString
wxPyART_HELP_PAGE(wxART_HELP_PAGE
);
971 static const wxString
wxPyART_GO_BACK(wxART_GO_BACK
);
972 static const wxString
wxPyART_GO_FORWARD(wxART_GO_FORWARD
);
973 static const wxString
wxPyART_GO_UP(wxART_GO_UP
);
974 static const wxString
wxPyART_GO_DOWN(wxART_GO_DOWN
);
975 static const wxString
wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT
);
976 static const wxString
wxPyART_GO_HOME(wxART_GO_HOME
);
977 static const wxString
wxPyART_FILE_OPEN(wxART_FILE_OPEN
);
978 static const wxString
wxPyART_PRINT(wxART_PRINT
);
979 static const wxString
wxPyART_HELP(wxART_HELP
);
980 static const wxString
wxPyART_TIP(wxART_TIP
);
981 static const wxString
wxPyART_REPORT_VIEW(wxART_REPORT_VIEW
);
982 static const wxString
wxPyART_LIST_VIEW(wxART_LIST_VIEW
);
983 static const wxString
wxPyART_NEW_DIR(wxART_NEW_DIR
);
984 static const wxString
wxPyART_FOLDER(wxART_FOLDER
);
985 static const wxString
wxPyART_GO_DIR_UP(wxART_GO_DIR_UP
);
986 static const wxString
wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE
);
987 static const wxString
wxPyART_NORMAL_FILE(wxART_NORMAL_FILE
);
988 static const wxString
wxPyART_TICK_MARK(wxART_TICK_MARK
);
989 static const wxString
wxPyART_CROSS_MARK(wxART_CROSS_MARK
);
990 static const wxString
wxPyART_ERROR(wxART_ERROR
);
991 static const wxString
wxPyART_QUESTION(wxART_QUESTION
);
992 static const wxString
wxPyART_WARNING(wxART_WARNING
);
993 static const wxString
wxPyART_INFORMATION(wxART_INFORMATION
);
994 static const wxString
wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE
);
995 // Python aware wxArtProvider
996 class wxPyArtProvider
: public wxArtProvider
{
999 virtual wxBitmap
CreateBitmap(const wxArtID
& id
,
1000 const wxArtClient
& client
,
1001 const wxSize
& size
) {
1002 wxBitmap rval
= wxNullBitmap
;
1003 wxPyBeginBlockThreads();
1004 if ((wxPyCBH_findCallback(m_myInst
, "CreateBitmap"))) {
1005 PyObject
* so
= wxPyConstructObject((void*)&size
, wxT("wxSize"), 0);
1009 s1
= wx2PyString(id
);
1010 s2
= wx2PyString(client
);
1011 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOO)", s1
, s2
, so
));
1016 if (wxPyConvertSwigPtr(ro
, (void**)&ptr
, wxT("wxBitmap")))
1021 wxPyEndBlockThreads();
1028 void wxPyArtProvider_Destroy(wxPyArtProvider
*self
){ delete self
; }
1032 static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) {
1033 PyObject
* ret
= PyTuple_New(3);
1035 PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
));
1036 PyTuple_SET_ITEM(ret
, 1, wx2PyString(str
));
1037 PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
));
1042 PyObject
*wxConfigBase_GetFirstGroup(wxConfigBase
*self
){
1047 cont
= self
->GetFirstGroup(value
, index
);
1048 return __EnumerationHelper(cont
, value
, index
);
1050 PyObject
*wxConfigBase_GetNextGroup(wxConfigBase
*self
,long index
){
1054 cont
= self
->GetNextGroup(value
, index
);
1055 return __EnumerationHelper(cont
, value
, index
);
1057 PyObject
*wxConfigBase_GetFirstEntry(wxConfigBase
*self
){
1062 cont
= self
->GetFirstEntry(value
, index
);
1063 return __EnumerationHelper(cont
, value
, index
);
1065 PyObject
*wxConfigBase_GetNextEntry(wxConfigBase
*self
,long index
){
1069 cont
= self
->GetNextEntry(value
, index
);
1070 return __EnumerationHelper(cont
, value
, index
);
1072 long wxConfigBase_ReadInt(wxConfigBase
*self
,wxString
const &key
,long defaultVal
){
1074 self
->Read(key
, &rv
, defaultVal
);
1078 SWIGSTATICINLINE(double)
1079 SWIG_AsDouble(PyObject
*obj
)
1081 double val
= (PyFloat_Check(obj
)) ? PyFloat_AsDouble(obj
) :
1083 ((PyInt_Check(obj
)) ? PyInt_AsLong(obj
) : PyLong_AsLongLong(obj
));
1085 ((PyInt_Check(obj
)) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
));
1087 if (PyErr_Occurred()) {
1089 PyErr_SetString(PyExc_TypeError
, "a double is expected");
1095 SWIGSTATICINLINE(int)
1096 SWIG_CheckDouble(PyObject
* obj
)
1099 if (PyErr_Occurred()) {
1107 double wxConfigBase_ReadFloat(wxConfigBase
*self
,wxString
const &key
,double defaultVal
){
1109 self
->Read(key
, &rv
, defaultVal
);
1112 bool wxConfigBase_ReadBool(wxConfigBase
*self
,wxString
const &key
,bool defaultVal
){
1114 self
->Read(key
, &rv
, defaultVal
);
1118 #include <wx/datetime.h>
1121 static const wxString
wxPyDateFormatStr(wxT("%c"));
1122 static const wxString
wxPyTimeSpanFormatStr(wxT("%H:%M:%S"));
1124 #define LOCAL_TZ wxDateTime::Local
1127 #if UINT_MAX < LONG_MAX
1128 #define SWIG_FromUnsignedInt SWIG_FromLong
1130 #define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
1133 wxDateTime
wxDateTime___add____SWIG_0(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
1134 wxDateTime
wxDateTime___add____SWIG_1(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
1135 wxTimeSpan
wxDateTime___sub____SWIG_0(wxDateTime
*self
,wxDateTime
const &other
){ return *self
- other
; }
1136 wxDateTime
wxDateTime___sub____SWIG_1(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
1137 wxDateTime
wxDateTime___sub____SWIG_2(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
- other
; }
1138 bool wxDateTime___lt__(wxDateTime
*self
,wxDateTime
const *other
){ return other
? (*self
< *other
) : False
; }
1139 bool wxDateTime___le__(wxDateTime
*self
,wxDateTime
const *other
){ return other
? (*self
<= *other
) : False
; }
1140 bool wxDateTime___gt__(wxDateTime
*self
,wxDateTime
const *other
){ return other
? (*self
> *other
) : True
; }
1141 bool wxDateTime___ge__(wxDateTime
*self
,wxDateTime
const *other
){ return other
? (*self
>= *other
) : True
; }
1142 bool wxDateTime___eq__(wxDateTime
*self
,wxDateTime
const *other
){ return other
? (*self
== *other
) : False
; }
1143 bool wxDateTime___ne__(wxDateTime
*self
,wxDateTime
const *other
){ return other
? (*self
!= *other
) : True
; }
1144 int wxDateTime_ParseRfc822Date(wxDateTime
*self
,wxString
const &date
){
1146 const wxChar
* _date
= date
;
1147 rv
= self
->ParseRfc822Date(_date
);
1148 if (rv
== NULL
) return -1;
1151 int wxDateTime_ParseFormat(wxDateTime
*self
,wxString
const &date
,wxString
const &format
,wxDateTime
const &dateDef
){
1153 const wxChar
* _date
= date
;
1154 rv
= self
->ParseFormat(_date
, format
, dateDef
);
1155 if (rv
== NULL
) return -1;
1158 int wxDateTime_ParseDateTime(wxDateTime
*self
,wxString
const &datetime
){
1160 const wxChar
* _datetime
= datetime
;
1161 rv
= self
->ParseDateTime(_datetime
);
1162 if (rv
== NULL
) return -1;
1163 return rv
- _datetime
;
1165 int wxDateTime_ParseDate(wxDateTime
*self
,wxString
const &date
){
1167 const wxChar
* _date
= date
;
1168 rv
= self
->ParseDate(_date
);
1169 if (rv
== NULL
) return -1;
1172 int wxDateTime_ParseTime(wxDateTime
*self
,wxString
const &time
){
1174 const wxChar
* _time
= time
;
1175 rv
= self
->ParseTime(_time
);
1176 if (rv
== NULL
) return -1;
1179 wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
1180 wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
1181 wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
){ return *self
* n
; }
1182 wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
){ return n
* *self
; }
1183 bool wxTimeSpan___lt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
< *other
) : False
; }
1184 bool wxTimeSpan___le__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
<= *other
) : False
; }
1185 bool wxTimeSpan___gt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
> *other
) : True
; }
1186 bool wxTimeSpan___ge__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
>= *other
) : True
; }
1187 bool wxTimeSpan___eq__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
== *other
) : False
; }
1188 bool wxTimeSpan___ne__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
!= *other
) : True
; }
1189 wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
1190 wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
- other
; }
1191 wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
){ return *self
* n
; }
1192 wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
){ return n
* *self
; }
1193 bool wxDateSpan___eq__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
== *other
) : False
; }
1194 bool wxDateSpan___ne__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
!= *other
) : True
; }
1196 #include <wx/dataobj.h>
1198 // Create a new class for wxPython to use
1199 class wxPyDataObjectSimple
: public wxDataObjectSimple
{
1201 wxPyDataObjectSimple(const wxDataFormat
& format
= wxFormatInvalid
)
1202 : wxDataObjectSimple(format
) {}
1204 DEC_PYCALLBACK_SIZET__const(GetDataSize
);
1205 bool GetDataHere(void *buf
) const;
1206 bool SetData(size_t len
, const void *buf
) const;
1210 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple
, wxDataObjectSimple
, GetDataSize
);
1212 bool wxPyDataObjectSimple::GetDataHere(void *buf
) const {
1213 // We need to get the data for this object and write it to buf. I think
1214 // the best way to do this for wxPython is to have the Python method
1215 // return either a string or None and then act appropriately with the
1219 wxPyBeginBlockThreads();
1220 if (wxPyCBH_findCallback(m_myInst
, "GetDataHere")) {
1222 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1224 rval
= (ro
!= Py_None
&& PyString_Check(ro
));
1226 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
));
1230 wxPyEndBlockThreads();
1234 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) const{
1235 // For this one we simply need to make a string from buf and len
1236 // and send it to the Python method.
1238 wxPyBeginBlockThreads();
1239 if (wxPyCBH_findCallback(m_myInst
, "SetData")) {
1240 PyObject
* data
= PyString_FromStringAndSize((char*)buf
, len
);
1241 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", data
));
1244 wxPyEndBlockThreads();
1248 // Create a new class for wxPython to use
1249 class wxPyTextDataObject
: public wxTextDataObject
{
1251 wxPyTextDataObject(const wxString
& text
= wxPyEmptyString
)
1252 : wxTextDataObject(text
) {}
1254 DEC_PYCALLBACK_SIZET__const(GetTextLength
);
1255 DEC_PYCALLBACK_STRING__const(GetText
);
1256 DEC_PYCALLBACK__STRING(SetText
);
1260 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
);
1261 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject
, wxTextDataObject
, GetText
);
1262 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
);
1265 // Create a new class for wxPython to use
1266 class wxPyBitmapDataObject
: public wxBitmapDataObject
{
1268 wxPyBitmapDataObject(const wxBitmap
& bitmap
= wxNullBitmap
)
1269 : wxBitmapDataObject(bitmap
) {}
1271 wxBitmap
GetBitmap() const;
1272 void SetBitmap(const wxBitmap
& bitmap
);
1276 wxBitmap
wxPyBitmapDataObject::GetBitmap() const {
1277 wxBitmap
* rval
= &wxNullBitmap
;
1278 wxPyBeginBlockThreads();
1279 if (wxPyCBH_findCallback(m_myInst
, "GetBitmap")) {
1282 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1284 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxBitmap")))
1289 wxPyEndBlockThreads();
1293 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) {
1294 wxPyBeginBlockThreads();
1295 if (wxPyCBH_findCallback(m_myInst
, "SetBitmap")) {
1296 PyObject
* bo
= wxPyConstructObject((void*)&bitmap
, wxT("wxBitmap"), False
);
1297 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", bo
));
1300 wxPyEndBlockThreads();
1303 void wxCustomDataObject_TakeData(wxCustomDataObject
*self
,PyObject
*data
){
1304 if (PyString_Check(data
)) {
1305 // for Python we just call SetData here since we always need it to make a copy.
1306 self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1309 // raise a TypeError if not a string
1310 PyErr_SetString(PyExc_TypeError
, "String expected.");
1313 bool wxCustomDataObject_SetData(wxCustomDataObject
*self
,PyObject
*data
){
1314 if (PyString_Check(data
)) {
1315 return self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1318 // raise a TypeError if not a string
1319 PyErr_SetString(PyExc_TypeError
, "String expected.");
1323 PyObject
*wxCustomDataObject_GetData(wxCustomDataObject
*self
){
1324 return PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize());
1327 #include <wx/metafile.h>
1330 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
1333 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
1334 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
1335 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
1336 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
1337 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
1340 class wxPyTextDropTarget
: public wxTextDropTarget
{
1342 wxPyTextDropTarget() {}
1344 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
1346 DEC_PYCALLBACK__(OnLeave
);
1347 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1348 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1349 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
1350 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1355 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
1356 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
1357 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
1358 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
1359 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
1360 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
1364 class wxPyFileDropTarget
: public wxFileDropTarget
{
1366 wxPyFileDropTarget() {}
1368 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
1370 DEC_PYCALLBACK__(OnLeave
);
1371 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1372 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1373 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
1374 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1379 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
1380 const wxArrayString
& filenames
) {
1382 wxPyBeginBlockThreads();
1383 if (wxPyCBH_findCallback(m_myInst
, "OnDropFiles")) {
1384 PyObject
* list
= wxArrayString2PyList_helper(filenames
);
1385 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",x
,y
,list
));
1388 wxPyEndBlockThreads();
1394 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
1395 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
1396 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
1397 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
1398 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
1403 bool wxClipboardLocker___nonzero__(wxClipboardLocker
*self
){ return !!(*self
); }
1407 static PyObject
*_wrap_SystemSettings_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1408 PyObject
*resultobj
;
1411 PyObject
* obj0
= 0 ;
1413 (char *) "index", NULL
1416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetColour",kwnames
,&obj0
)) goto fail
;
1417 arg1
= (wxSystemColour
) SWIG_AsInt(obj0
);
1418 if (PyErr_Occurred()) SWIG_fail
;
1420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1421 result
= wxSystemSettings::GetColour((wxSystemColour
)arg1
);
1423 wxPyEndAllowThreads(__tstate
);
1424 if (PyErr_Occurred()) SWIG_fail
;
1427 wxColour
* resultptr
;
1428 resultptr
= new wxColour((wxColour
&) result
);
1429 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
1437 static PyObject
*_wrap_SystemSettings_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1438 PyObject
*resultobj
;
1441 PyObject
* obj0
= 0 ;
1443 (char *) "index", NULL
1446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetFont",kwnames
,&obj0
)) goto fail
;
1447 arg1
= (wxSystemFont
) SWIG_AsInt(obj0
);
1448 if (PyErr_Occurred()) SWIG_fail
;
1450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1451 result
= wxSystemSettings::GetFont((wxSystemFont
)arg1
);
1453 wxPyEndAllowThreads(__tstate
);
1454 if (PyErr_Occurred()) SWIG_fail
;
1458 resultptr
= new wxFont((wxFont
&) result
);
1459 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
1467 static PyObject
*_wrap_SystemSettings_GetMetric(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1468 PyObject
*resultobj
;
1471 PyObject
* obj0
= 0 ;
1473 (char *) "index", NULL
1476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetMetric",kwnames
,&obj0
)) goto fail
;
1477 arg1
= (wxSystemMetric
) SWIG_AsInt(obj0
);
1478 if (PyErr_Occurred()) SWIG_fail
;
1480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1481 result
= (int)wxSystemSettings::GetMetric((wxSystemMetric
)arg1
);
1483 wxPyEndAllowThreads(__tstate
);
1484 if (PyErr_Occurred()) SWIG_fail
;
1486 resultobj
= SWIG_FromInt((int)result
);
1493 static PyObject
*_wrap_SystemSettings_HasFeature(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1494 PyObject
*resultobj
;
1497 PyObject
* obj0
= 0 ;
1499 (char *) "index", NULL
1502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_HasFeature",kwnames
,&obj0
)) goto fail
;
1503 arg1
= (wxSystemFeature
) SWIG_AsInt(obj0
);
1504 if (PyErr_Occurred()) SWIG_fail
;
1506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1507 result
= (bool)wxSystemSettings::HasFeature((wxSystemFeature
)arg1
);
1509 wxPyEndAllowThreads(__tstate
);
1510 if (PyErr_Occurred()) SWIG_fail
;
1512 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1519 static PyObject
*_wrap_SystemSettings_GetScreenType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1520 PyObject
*resultobj
;
1526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SystemSettings_GetScreenType",kwnames
)) goto fail
;
1528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1529 result
= (int)wxSystemSettings::GetScreenType();
1531 wxPyEndAllowThreads(__tstate
);
1532 if (PyErr_Occurred()) SWIG_fail
;
1534 resultobj
= SWIG_FromInt((int)result
);
1541 static PyObject
*_wrap_SystemSettings_SetScreenType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1542 PyObject
*resultobj
;
1544 PyObject
* obj0
= 0 ;
1546 (char *) "screen", NULL
1549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_SetScreenType",kwnames
,&obj0
)) goto fail
;
1550 arg1
= (wxSystemScreenType
) SWIG_AsInt(obj0
);
1551 if (PyErr_Occurred()) SWIG_fail
;
1553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1554 wxSystemSettings::SetScreenType((wxSystemScreenType
)arg1
);
1556 wxPyEndAllowThreads(__tstate
);
1557 if (PyErr_Occurred()) SWIG_fail
;
1559 Py_INCREF(Py_None
); resultobj
= Py_None
;
1566 static PyObject
* SystemSettings_swigregister(PyObject
*, PyObject
*args
) {
1568 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1569 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings
, obj
);
1571 return Py_BuildValue((char *)"");
1573 static PyObject
*_wrap_new_SystemOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1574 PyObject
*resultobj
;
1575 wxSystemOptions
*result
;
1580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SystemOptions",kwnames
)) goto fail
;
1582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1583 result
= (wxSystemOptions
*)new wxSystemOptions();
1585 wxPyEndAllowThreads(__tstate
);
1586 if (PyErr_Occurred()) SWIG_fail
;
1588 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSystemOptions
, 1);
1595 static PyObject
*_wrap_SystemOptions_SetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1596 PyObject
*resultobj
;
1597 wxString
*arg1
= 0 ;
1598 wxString
*arg2
= 0 ;
1599 bool temp1
= False
;
1600 bool temp2
= False
;
1601 PyObject
* obj0
= 0 ;
1602 PyObject
* obj1
= 0 ;
1604 (char *) "name",(char *) "value", NULL
1607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
1609 arg1
= wxString_in_helper(obj0
);
1610 if (arg1
== NULL
) SWIG_fail
;
1614 arg2
= wxString_in_helper(obj1
);
1615 if (arg2
== NULL
) SWIG_fail
;
1619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1620 wxSystemOptions::SetOption((wxString
const &)*arg1
,(wxString
const &)*arg2
);
1622 wxPyEndAllowThreads(__tstate
);
1623 if (PyErr_Occurred()) SWIG_fail
;
1625 Py_INCREF(Py_None
); resultobj
= Py_None
;
1648 static PyObject
*_wrap_SystemOptions_SetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1649 PyObject
*resultobj
;
1650 wxString
*arg1
= 0 ;
1652 bool temp1
= False
;
1653 PyObject
* obj0
= 0 ;
1654 PyObject
* obj1
= 0 ;
1656 (char *) "name",(char *) "value", NULL
1659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
1661 arg1
= wxString_in_helper(obj0
);
1662 if (arg1
== NULL
) SWIG_fail
;
1665 arg2
= (int) SWIG_AsInt(obj1
);
1666 if (PyErr_Occurred()) SWIG_fail
;
1668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1669 wxSystemOptions::SetOption((wxString
const &)*arg1
,arg2
);
1671 wxPyEndAllowThreads(__tstate
);
1672 if (PyErr_Occurred()) SWIG_fail
;
1674 Py_INCREF(Py_None
); resultobj
= Py_None
;
1689 static PyObject
*_wrap_SystemOptions_GetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1690 PyObject
*resultobj
;
1691 wxString
*arg1
= 0 ;
1693 bool temp1
= False
;
1694 PyObject
* obj0
= 0 ;
1696 (char *) "name", NULL
1699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) goto fail
;
1701 arg1
= wxString_in_helper(obj0
);
1702 if (arg1
== NULL
) SWIG_fail
;
1706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1707 result
= wxSystemOptions::GetOption((wxString
const &)*arg1
);
1709 wxPyEndAllowThreads(__tstate
);
1710 if (PyErr_Occurred()) SWIG_fail
;
1714 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1716 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1733 static PyObject
*_wrap_SystemOptions_GetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1734 PyObject
*resultobj
;
1735 wxString
*arg1
= 0 ;
1737 bool temp1
= False
;
1738 PyObject
* obj0
= 0 ;
1740 (char *) "name", NULL
1743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) goto fail
;
1745 arg1
= wxString_in_helper(obj0
);
1746 if (arg1
== NULL
) SWIG_fail
;
1750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1751 result
= (int)wxSystemOptions::GetOptionInt((wxString
const &)*arg1
);
1753 wxPyEndAllowThreads(__tstate
);
1754 if (PyErr_Occurred()) SWIG_fail
;
1756 resultobj
= SWIG_FromInt((int)result
);
1771 static PyObject
*_wrap_SystemOptions_HasOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1772 PyObject
*resultobj
;
1773 wxString
*arg1
= 0 ;
1775 bool temp1
= False
;
1776 PyObject
* obj0
= 0 ;
1778 (char *) "name", NULL
1781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) goto fail
;
1783 arg1
= wxString_in_helper(obj0
);
1784 if (arg1
== NULL
) SWIG_fail
;
1788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1789 result
= (bool)wxSystemOptions::HasOption((wxString
const &)*arg1
);
1791 wxPyEndAllowThreads(__tstate
);
1792 if (PyErr_Occurred()) SWIG_fail
;
1794 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1809 static PyObject
* SystemOptions_swigregister(PyObject
*, PyObject
*args
) {
1811 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1812 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions
, obj
);
1814 return Py_BuildValue((char *)"");
1816 static int _wrap_FileSelectorPromptStr_set(PyObject
*) {
1817 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
1822 static PyObject
*_wrap_FileSelectorPromptStr_get() {
1827 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
1829 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
1836 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*) {
1837 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
1842 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
1847 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
1849 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
1856 static int _wrap_DirSelectorPromptStr_set(PyObject
*) {
1857 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
1862 static PyObject
*_wrap_DirSelectorPromptStr_get() {
1867 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
1869 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
1876 static PyObject
*_wrap_NewId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1877 PyObject
*resultobj
;
1883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewId",kwnames
)) goto fail
;
1885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1886 result
= (long)wxNewId();
1888 wxPyEndAllowThreads(__tstate
);
1889 if (PyErr_Occurred()) SWIG_fail
;
1891 resultobj
= SWIG_FromLong((long)result
);
1898 static PyObject
*_wrap_RegisterId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1899 PyObject
*resultobj
;
1901 PyObject
* obj0
= 0 ;
1906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegisterId",kwnames
,&obj0
)) goto fail
;
1907 arg1
= (long) SWIG_AsLong(obj0
);
1908 if (PyErr_Occurred()) SWIG_fail
;
1910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1913 wxPyEndAllowThreads(__tstate
);
1914 if (PyErr_Occurred()) SWIG_fail
;
1916 Py_INCREF(Py_None
); resultobj
= Py_None
;
1923 static PyObject
*_wrap_GetCurrentId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1924 PyObject
*resultobj
;
1930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentId",kwnames
)) goto fail
;
1932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1933 result
= (long)wxGetCurrentId();
1935 wxPyEndAllowThreads(__tstate
);
1936 if (PyErr_Occurred()) SWIG_fail
;
1938 resultobj
= SWIG_FromLong((long)result
);
1945 static PyObject
*_wrap_Bell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1946 PyObject
*resultobj
;
1951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Bell",kwnames
)) goto fail
;
1953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1956 wxPyEndAllowThreads(__tstate
);
1957 if (PyErr_Occurred()) SWIG_fail
;
1959 Py_INCREF(Py_None
); resultobj
= Py_None
;
1966 static PyObject
*_wrap_EndBusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1967 PyObject
*resultobj
;
1972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EndBusyCursor",kwnames
)) goto fail
;
1974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1977 wxPyEndAllowThreads(__tstate
);
1978 if (PyErr_Occurred()) SWIG_fail
;
1980 Py_INCREF(Py_None
); resultobj
= Py_None
;
1987 static PyObject
*_wrap_GetElapsedTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1988 PyObject
*resultobj
;
1989 bool arg1
= (bool) True
;
1991 PyObject
* obj0
= 0 ;
1993 (char *) "resetTimer", NULL
1996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) goto fail
;
1998 arg1
= (bool) SWIG_AsBool(obj0
);
1999 if (PyErr_Occurred()) SWIG_fail
;
2002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2003 result
= (long)wxGetElapsedTime(arg1
);
2005 wxPyEndAllowThreads(__tstate
);
2006 if (PyErr_Occurred()) SWIG_fail
;
2008 resultobj
= SWIG_FromLong((long)result
);
2015 static PyObject
*_wrap_GetMousePosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2016 PyObject
*resultobj
;
2017 int *arg1
= (int *) 0 ;
2018 int *arg2
= (int *) 0 ;
2027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetMousePosition",kwnames
)) goto fail
;
2029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2030 wxGetMousePosition(arg1
,arg2
);
2032 wxPyEndAllowThreads(__tstate
);
2033 if (PyErr_Occurred()) SWIG_fail
;
2035 Py_INCREF(Py_None
); resultobj
= Py_None
;
2037 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
2038 resultobj
= t_output_helper(resultobj
,o
);
2041 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
2042 resultobj
= t_output_helper(resultobj
,o
);
2050 static PyObject
*_wrap_IsBusy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2051 PyObject
*resultobj
;
2057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IsBusy",kwnames
)) goto fail
;
2059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2060 result
= (bool)wxIsBusy();
2062 wxPyEndAllowThreads(__tstate
);
2063 if (PyErr_Occurred()) SWIG_fail
;
2065 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2072 static PyObject
*_wrap_Now(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2073 PyObject
*resultobj
;
2079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Now",kwnames
)) goto fail
;
2081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2084 wxPyEndAllowThreads(__tstate
);
2085 if (PyErr_Occurred()) SWIG_fail
;
2089 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2091 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2100 static PyObject
*_wrap_Shell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2101 PyObject
*resultobj
;
2102 wxString
const &arg1_defvalue
= wxPyEmptyString
;
2103 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2105 bool temp1
= False
;
2106 PyObject
* obj0
= 0 ;
2108 (char *) "command", NULL
2111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) goto fail
;
2114 arg1
= wxString_in_helper(obj0
);
2115 if (arg1
== NULL
) SWIG_fail
;
2120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2121 result
= (bool)wxShell((wxString
const &)*arg1
);
2123 wxPyEndAllowThreads(__tstate
);
2124 if (PyErr_Occurred()) SWIG_fail
;
2126 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2141 static PyObject
*_wrap_StartTimer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2142 PyObject
*resultobj
;
2147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StartTimer",kwnames
)) goto fail
;
2149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2152 wxPyEndAllowThreads(__tstate
);
2153 if (PyErr_Occurred()) SWIG_fail
;
2155 Py_INCREF(Py_None
); resultobj
= Py_None
;
2162 static PyObject
*_wrap_GetOsVersion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2163 PyObject
*resultobj
;
2164 int *arg1
= (int *) 0 ;
2165 int *arg2
= (int *) 0 ;
2175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsVersion",kwnames
)) goto fail
;
2177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2178 result
= (int)wxGetOsVersion(arg1
,arg2
);
2180 wxPyEndAllowThreads(__tstate
);
2181 if (PyErr_Occurred()) SWIG_fail
;
2183 resultobj
= SWIG_FromInt((int)result
);
2185 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
2186 resultobj
= t_output_helper(resultobj
,o
);
2189 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
2190 resultobj
= t_output_helper(resultobj
,o
);
2198 static PyObject
*_wrap_GetOsDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2199 PyObject
*resultobj
;
2205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsDescription",kwnames
)) goto fail
;
2207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2208 result
= wxGetOsDescription();
2210 wxPyEndAllowThreads(__tstate
);
2211 if (PyErr_Occurred()) SWIG_fail
;
2215 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2217 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2226 static PyObject
*_wrap_GetFreeMemory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2227 PyObject
*resultobj
;
2233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFreeMemory",kwnames
)) goto fail
;
2235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2236 result
= (long)wxGetFreeMemory();
2238 wxPyEndAllowThreads(__tstate
);
2239 if (PyErr_Occurred()) SWIG_fail
;
2241 resultobj
= SWIG_FromLong((long)result
);
2248 static PyObject
*_wrap_Shutdown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2249 PyObject
*resultobj
;
2252 PyObject
* obj0
= 0 ;
2254 (char *) "wFlags", NULL
2257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Shutdown",kwnames
,&obj0
)) goto fail
;
2258 arg1
= (wxShutdownFlags
) SWIG_AsInt(obj0
);
2259 if (PyErr_Occurred()) SWIG_fail
;
2261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2262 result
= (bool)wxShutdown((wxShutdownFlags
)arg1
);
2264 wxPyEndAllowThreads(__tstate
);
2265 if (PyErr_Occurred()) SWIG_fail
;
2267 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2274 static PyObject
*_wrap_Sleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2275 PyObject
*resultobj
;
2277 PyObject
* obj0
= 0 ;
2279 (char *) "secs", NULL
2282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sleep",kwnames
,&obj0
)) goto fail
;
2283 arg1
= (int) SWIG_AsInt(obj0
);
2284 if (PyErr_Occurred()) SWIG_fail
;
2286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2289 wxPyEndAllowThreads(__tstate
);
2290 if (PyErr_Occurred()) SWIG_fail
;
2292 Py_INCREF(Py_None
); resultobj
= Py_None
;
2299 static PyObject
*_wrap_Usleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2300 PyObject
*resultobj
;
2301 unsigned long arg1
;
2302 PyObject
* obj0
= 0 ;
2304 (char *) "milliseconds", NULL
2307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Usleep",kwnames
,&obj0
)) goto fail
;
2308 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
2309 if (PyErr_Occurred()) SWIG_fail
;
2311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2314 wxPyEndAllowThreads(__tstate
);
2315 if (PyErr_Occurred()) SWIG_fail
;
2317 Py_INCREF(Py_None
); resultobj
= Py_None
;
2324 static PyObject
*_wrap_EnableTopLevelWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2325 PyObject
*resultobj
;
2327 PyObject
* obj0
= 0 ;
2329 (char *) "enable", NULL
2332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) goto fail
;
2333 arg1
= (bool) SWIG_AsBool(obj0
);
2334 if (PyErr_Occurred()) SWIG_fail
;
2336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2337 wxEnableTopLevelWindows(arg1
);
2339 wxPyEndAllowThreads(__tstate
);
2340 if (PyErr_Occurred()) SWIG_fail
;
2342 Py_INCREF(Py_None
); resultobj
= Py_None
;
2349 static PyObject
*_wrap_StripMenuCodes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2350 PyObject
*resultobj
;
2351 wxString
*arg1
= 0 ;
2353 bool temp1
= False
;
2354 PyObject
* obj0
= 0 ;
2359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) goto fail
;
2361 arg1
= wxString_in_helper(obj0
);
2362 if (arg1
== NULL
) SWIG_fail
;
2366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2367 result
= wxStripMenuCodes((wxString
const &)*arg1
);
2369 wxPyEndAllowThreads(__tstate
);
2370 if (PyErr_Occurred()) SWIG_fail
;
2374 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2376 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2393 static PyObject
*_wrap_GetEmailAddress(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2394 PyObject
*resultobj
;
2400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetEmailAddress",kwnames
)) goto fail
;
2402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2403 result
= wxGetEmailAddress();
2405 wxPyEndAllowThreads(__tstate
);
2406 if (PyErr_Occurred()) SWIG_fail
;
2410 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2412 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2421 static PyObject
*_wrap_GetHostName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2422 PyObject
*resultobj
;
2428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHostName",kwnames
)) goto fail
;
2430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2431 result
= wxGetHostName();
2433 wxPyEndAllowThreads(__tstate
);
2434 if (PyErr_Occurred()) SWIG_fail
;
2438 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2440 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2449 static PyObject
*_wrap_GetFullHostName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2450 PyObject
*resultobj
;
2456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFullHostName",kwnames
)) goto fail
;
2458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2459 result
= wxGetFullHostName();
2461 wxPyEndAllowThreads(__tstate
);
2462 if (PyErr_Occurred()) SWIG_fail
;
2466 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2468 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2477 static PyObject
*_wrap_GetUserId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2478 PyObject
*resultobj
;
2484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserId",kwnames
)) goto fail
;
2486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2487 result
= wxGetUserId();
2489 wxPyEndAllowThreads(__tstate
);
2490 if (PyErr_Occurred()) SWIG_fail
;
2494 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2496 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2505 static PyObject
*_wrap_GetUserName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2506 PyObject
*resultobj
;
2512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserName",kwnames
)) goto fail
;
2514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2515 result
= wxGetUserName();
2517 wxPyEndAllowThreads(__tstate
);
2518 if (PyErr_Occurred()) SWIG_fail
;
2522 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2524 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2533 static PyObject
*_wrap_GetHomeDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2534 PyObject
*resultobj
;
2540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHomeDir",kwnames
)) goto fail
;
2542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2543 result
= wxGetHomeDir();
2545 wxPyEndAllowThreads(__tstate
);
2546 if (PyErr_Occurred()) SWIG_fail
;
2550 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2552 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2561 static PyObject
*_wrap_GetUserHome(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2562 PyObject
*resultobj
;
2563 wxString
const &arg1_defvalue
= wxPyEmptyString
;
2564 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2566 bool temp1
= False
;
2567 PyObject
* obj0
= 0 ;
2569 (char *) "user", NULL
2572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) goto fail
;
2575 arg1
= wxString_in_helper(obj0
);
2576 if (arg1
== NULL
) SWIG_fail
;
2581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2582 result
= wxGetUserHome((wxString
const &)*arg1
);
2584 wxPyEndAllowThreads(__tstate
);
2585 if (PyErr_Occurred()) SWIG_fail
;
2589 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2591 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2608 static PyObject
*_wrap_GetProcessId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2609 PyObject
*resultobj
;
2610 unsigned long result
;
2615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetProcessId",kwnames
)) goto fail
;
2617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2618 result
= (unsigned long)wxGetProcessId();
2620 wxPyEndAllowThreads(__tstate
);
2621 if (PyErr_Occurred()) SWIG_fail
;
2623 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
2630 static PyObject
*_wrap_Trap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2631 PyObject
*resultobj
;
2636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Trap",kwnames
)) goto fail
;
2638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2641 wxPyEndAllowThreads(__tstate
);
2642 if (PyErr_Occurred()) SWIG_fail
;
2644 Py_INCREF(Py_None
); resultobj
= Py_None
;
2651 static PyObject
*_wrap_FileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2652 PyObject
*resultobj
;
2653 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
2654 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2655 wxString
const &arg2_defvalue
= wxPyEmptyString
;
2656 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
2657 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2658 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2659 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2660 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2661 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
2662 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
2663 int arg6
= (int) 0 ;
2664 wxWindow
*arg7
= (wxWindow
*) NULL
;
2665 int arg8
= (int) -1 ;
2666 int arg9
= (int) -1 ;
2668 bool temp1
= False
;
2669 bool temp2
= False
;
2670 bool temp3
= False
;
2671 bool temp4
= False
;
2672 bool temp5
= False
;
2673 PyObject
* obj0
= 0 ;
2674 PyObject
* obj1
= 0 ;
2675 PyObject
* obj2
= 0 ;
2676 PyObject
* obj3
= 0 ;
2677 PyObject
* obj4
= 0 ;
2678 PyObject
* obj5
= 0 ;
2679 PyObject
* obj6
= 0 ;
2680 PyObject
* obj7
= 0 ;
2681 PyObject
* obj8
= 0 ;
2683 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
2686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOOOO:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2689 arg1
= wxString_in_helper(obj0
);
2690 if (arg1
== NULL
) SWIG_fail
;
2696 arg2
= wxString_in_helper(obj1
);
2697 if (arg2
== NULL
) SWIG_fail
;
2703 arg3
= wxString_in_helper(obj2
);
2704 if (arg3
== NULL
) SWIG_fail
;
2710 arg4
= wxString_in_helper(obj3
);
2711 if (arg4
== NULL
) SWIG_fail
;
2717 arg5
= wxString_in_helper(obj4
);
2718 if (arg5
== NULL
) SWIG_fail
;
2723 arg6
= (int) SWIG_AsInt(obj5
);
2724 if (PyErr_Occurred()) SWIG_fail
;
2727 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxWindow
,
2728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2731 arg8
= (int) SWIG_AsInt(obj7
);
2732 if (PyErr_Occurred()) SWIG_fail
;
2735 arg9
= (int) SWIG_AsInt(obj8
);
2736 if (PyErr_Occurred()) SWIG_fail
;
2739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2740 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
2742 wxPyEndAllowThreads(__tstate
);
2743 if (PyErr_Occurred()) SWIG_fail
;
2747 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2749 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2798 static PyObject
*_wrap_LoadFileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2799 PyObject
*resultobj
;
2800 wxString
*arg1
= 0 ;
2801 wxString
*arg2
= 0 ;
2802 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2803 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2804 wxWindow
*arg4
= (wxWindow
*) NULL
;
2806 bool temp1
= False
;
2807 bool temp2
= False
;
2808 bool temp3
= False
;
2809 PyObject
* obj0
= 0 ;
2810 PyObject
* obj1
= 0 ;
2811 PyObject
* obj2
= 0 ;
2812 PyObject
* obj3
= 0 ;
2814 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
2817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2819 arg1
= wxString_in_helper(obj0
);
2820 if (arg1
== NULL
) SWIG_fail
;
2824 arg2
= wxString_in_helper(obj1
);
2825 if (arg2
== NULL
) SWIG_fail
;
2830 arg3
= wxString_in_helper(obj2
);
2831 if (arg3
== NULL
) SWIG_fail
;
2836 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
2837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2841 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
2843 wxPyEndAllowThreads(__tstate
);
2844 if (PyErr_Occurred()) SWIG_fail
;
2848 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2850 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2883 static PyObject
*_wrap_SaveFileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2884 PyObject
*resultobj
;
2885 wxString
*arg1
= 0 ;
2886 wxString
*arg2
= 0 ;
2887 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2888 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2889 wxWindow
*arg4
= (wxWindow
*) NULL
;
2891 bool temp1
= False
;
2892 bool temp2
= False
;
2893 bool temp3
= False
;
2894 PyObject
* obj0
= 0 ;
2895 PyObject
* obj1
= 0 ;
2896 PyObject
* obj2
= 0 ;
2897 PyObject
* obj3
= 0 ;
2899 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
2902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2904 arg1
= wxString_in_helper(obj0
);
2905 if (arg1
== NULL
) SWIG_fail
;
2909 arg2
= wxString_in_helper(obj1
);
2910 if (arg2
== NULL
) SWIG_fail
;
2915 arg3
= wxString_in_helper(obj2
);
2916 if (arg3
== NULL
) SWIG_fail
;
2921 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
2922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2926 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
2928 wxPyEndAllowThreads(__tstate
);
2929 if (PyErr_Occurred()) SWIG_fail
;
2933 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2935 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2968 static PyObject
*_wrap_DirSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2969 PyObject
*resultobj
;
2970 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
2971 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2972 wxString
const &arg2_defvalue
= wxPyEmptyString
;
2973 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
2974 long arg3
= (long) wxDD_DEFAULT_STYLE
;
2975 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2976 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2977 wxWindow
*arg5
= (wxWindow
*) NULL
;
2979 bool temp1
= False
;
2980 bool temp2
= False
;
2982 PyObject
* obj0
= 0 ;
2983 PyObject
* obj1
= 0 ;
2984 PyObject
* obj2
= 0 ;
2985 PyObject
* obj3
= 0 ;
2986 PyObject
* obj4
= 0 ;
2988 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
2991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:DirSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
2994 arg1
= wxString_in_helper(obj0
);
2995 if (arg1
== NULL
) SWIG_fail
;
3001 arg2
= wxString_in_helper(obj1
);
3002 if (arg2
== NULL
) SWIG_fail
;
3007 arg3
= (long) SWIG_AsLong(obj2
);
3008 if (PyErr_Occurred()) SWIG_fail
;
3013 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3017 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3022 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
3024 wxPyEndAllowThreads(__tstate
);
3025 if (PyErr_Occurred()) SWIG_fail
;
3029 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3031 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3056 static PyObject
*_wrap_GetTextFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3057 PyObject
*resultobj
;
3058 wxString
*arg1
= 0 ;
3059 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3060 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3061 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3062 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3063 wxWindow
*arg4
= (wxWindow
*) NULL
;
3064 int arg5
= (int) -1 ;
3065 int arg6
= (int) -1 ;
3066 bool arg7
= (bool) True
;
3068 bool temp1
= False
;
3069 bool temp2
= False
;
3070 bool temp3
= False
;
3071 PyObject
* obj0
= 0 ;
3072 PyObject
* obj1
= 0 ;
3073 PyObject
* obj2
= 0 ;
3074 PyObject
* obj3
= 0 ;
3075 PyObject
* obj4
= 0 ;
3076 PyObject
* obj5
= 0 ;
3077 PyObject
* obj6
= 0 ;
3079 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
3082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3084 arg1
= wxString_in_helper(obj0
);
3085 if (arg1
== NULL
) SWIG_fail
;
3090 arg2
= wxString_in_helper(obj1
);
3091 if (arg2
== NULL
) SWIG_fail
;
3097 arg3
= wxString_in_helper(obj2
);
3098 if (arg3
== NULL
) SWIG_fail
;
3103 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3107 arg5
= (int) SWIG_AsInt(obj4
);
3108 if (PyErr_Occurred()) SWIG_fail
;
3111 arg6
= (int) SWIG_AsInt(obj5
);
3112 if (PyErr_Occurred()) SWIG_fail
;
3115 arg7
= (bool) SWIG_AsBool(obj6
);
3116 if (PyErr_Occurred()) SWIG_fail
;
3119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3120 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
3122 wxPyEndAllowThreads(__tstate
);
3123 if (PyErr_Occurred()) SWIG_fail
;
3127 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3129 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3162 static PyObject
*_wrap_GetPasswordFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3163 PyObject
*resultobj
;
3164 wxString
*arg1
= 0 ;
3165 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3166 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3167 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3168 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3169 wxWindow
*arg4
= (wxWindow
*) NULL
;
3171 bool temp1
= False
;
3172 bool temp2
= False
;
3173 bool temp3
= False
;
3174 PyObject
* obj0
= 0 ;
3175 PyObject
* obj1
= 0 ;
3176 PyObject
* obj2
= 0 ;
3177 PyObject
* obj3
= 0 ;
3179 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
3182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3184 arg1
= wxString_in_helper(obj0
);
3185 if (arg1
== NULL
) SWIG_fail
;
3190 arg2
= wxString_in_helper(obj1
);
3191 if (arg2
== NULL
) SWIG_fail
;
3197 arg3
= wxString_in_helper(obj2
);
3198 if (arg3
== NULL
) SWIG_fail
;
3203 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3208 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3210 wxPyEndAllowThreads(__tstate
);
3211 if (PyErr_Occurred()) SWIG_fail
;
3215 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3217 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3250 static PyObject
*_wrap_GetSingleChoice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3251 PyObject
*resultobj
;
3252 wxString
*arg1
= 0 ;
3253 wxString
*arg2
= 0 ;
3255 wxString
*arg4
= (wxString
*) 0 ;
3256 wxWindow
*arg5
= (wxWindow
*) NULL
;
3257 int arg6
= (int) -1 ;
3258 int arg7
= (int) -1 ;
3259 bool arg8
= (bool) True
;
3260 int arg9
= (int) 150 ;
3261 int arg10
= (int) 200 ;
3263 bool temp1
= False
;
3264 bool temp2
= False
;
3265 PyObject
* obj0
= 0 ;
3266 PyObject
* obj1
= 0 ;
3267 PyObject
* obj2
= 0 ;
3268 PyObject
* obj3
= 0 ;
3269 PyObject
* obj4
= 0 ;
3270 PyObject
* obj5
= 0 ;
3271 PyObject
* obj6
= 0 ;
3272 PyObject
* obj7
= 0 ;
3273 PyObject
* obj8
= 0 ;
3275 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3280 arg1
= wxString_in_helper(obj0
);
3281 if (arg1
== NULL
) SWIG_fail
;
3285 arg2
= wxString_in_helper(obj1
);
3286 if (arg2
== NULL
) SWIG_fail
;
3290 arg3
= PyList_Size(obj2
);
3291 arg4
= wxString_LIST_helper(obj2
);
3292 if (arg4
== NULL
) SWIG_fail
;
3295 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3299 arg6
= (int) SWIG_AsInt(obj4
);
3300 if (PyErr_Occurred()) SWIG_fail
;
3303 arg7
= (int) SWIG_AsInt(obj5
);
3304 if (PyErr_Occurred()) SWIG_fail
;
3307 arg8
= (bool) SWIG_AsBool(obj6
);
3308 if (PyErr_Occurred()) SWIG_fail
;
3311 arg9
= (int) SWIG_AsInt(obj7
);
3312 if (PyErr_Occurred()) SWIG_fail
;
3315 arg10
= (int) SWIG_AsInt(obj8
);
3316 if (PyErr_Occurred()) SWIG_fail
;
3319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3320 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
3322 wxPyEndAllowThreads(__tstate
);
3323 if (PyErr_Occurred()) SWIG_fail
;
3327 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3329 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3341 if (arg4
) delete [] arg4
;
3354 if (arg4
) delete [] arg4
;
3360 static PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3361 PyObject
*resultobj
;
3362 wxString
*arg1
= 0 ;
3363 wxString
*arg2
= 0 ;
3365 wxString
*arg4
= (wxString
*) 0 ;
3366 wxWindow
*arg5
= (wxWindow
*) NULL
;
3367 int arg6
= (int) -1 ;
3368 int arg7
= (int) -1 ;
3369 bool arg8
= (bool) True
;
3370 int arg9
= (int) 150 ;
3371 int arg10
= (int) 200 ;
3373 bool temp1
= False
;
3374 bool temp2
= False
;
3375 PyObject
* obj0
= 0 ;
3376 PyObject
* obj1
= 0 ;
3377 PyObject
* obj2
= 0 ;
3378 PyObject
* obj3
= 0 ;
3379 PyObject
* obj4
= 0 ;
3380 PyObject
* obj5
= 0 ;
3381 PyObject
* obj6
= 0 ;
3382 PyObject
* obj7
= 0 ;
3383 PyObject
* obj8
= 0 ;
3385 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3390 arg1
= wxString_in_helper(obj0
);
3391 if (arg1
== NULL
) SWIG_fail
;
3395 arg2
= wxString_in_helper(obj1
);
3396 if (arg2
== NULL
) SWIG_fail
;
3400 arg3
= PyList_Size(obj2
);
3401 arg4
= wxString_LIST_helper(obj2
);
3402 if (arg4
== NULL
) SWIG_fail
;
3405 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3409 arg6
= (int) SWIG_AsInt(obj4
);
3410 if (PyErr_Occurred()) SWIG_fail
;
3413 arg7
= (int) SWIG_AsInt(obj5
);
3414 if (PyErr_Occurred()) SWIG_fail
;
3417 arg8
= (bool) SWIG_AsBool(obj6
);
3418 if (PyErr_Occurred()) SWIG_fail
;
3421 arg9
= (int) SWIG_AsInt(obj7
);
3422 if (PyErr_Occurred()) SWIG_fail
;
3425 arg10
= (int) SWIG_AsInt(obj8
);
3426 if (PyErr_Occurred()) SWIG_fail
;
3429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3430 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
3432 wxPyEndAllowThreads(__tstate
);
3433 if (PyErr_Occurred()) SWIG_fail
;
3435 resultobj
= SWIG_FromInt((int)result
);
3445 if (arg4
) delete [] arg4
;
3458 if (arg4
) delete [] arg4
;
3464 static PyObject
*_wrap_MessageBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3465 PyObject
*resultobj
;
3466 wxString
*arg1
= 0 ;
3467 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3468 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3469 int arg3
= (int) wxOK
|wxCENTRE
;
3470 wxWindow
*arg4
= (wxWindow
*) NULL
;
3471 int arg5
= (int) -1 ;
3472 int arg6
= (int) -1 ;
3474 bool temp1
= False
;
3475 bool temp2
= False
;
3476 PyObject
* obj0
= 0 ;
3477 PyObject
* obj1
= 0 ;
3478 PyObject
* obj2
= 0 ;
3479 PyObject
* obj3
= 0 ;
3480 PyObject
* obj4
= 0 ;
3481 PyObject
* obj5
= 0 ;
3483 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
3486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:MessageBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
3488 arg1
= wxString_in_helper(obj0
);
3489 if (arg1
== NULL
) SWIG_fail
;
3494 arg2
= wxString_in_helper(obj1
);
3495 if (arg2
== NULL
) SWIG_fail
;
3500 arg3
= (int) SWIG_AsInt(obj2
);
3501 if (PyErr_Occurred()) SWIG_fail
;
3504 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3508 arg5
= (int) SWIG_AsInt(obj4
);
3509 if (PyErr_Occurred()) SWIG_fail
;
3512 arg6
= (int) SWIG_AsInt(obj5
);
3513 if (PyErr_Occurred()) SWIG_fail
;
3516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3517 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
3519 wxPyEndAllowThreads(__tstate
);
3520 if (PyErr_Occurred()) SWIG_fail
;
3522 resultobj
= SWIG_FromInt((int)result
);
3545 static PyObject
*_wrap_GetNumberFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3546 PyObject
*resultobj
;
3547 wxString
*arg1
= 0 ;
3548 wxString
*arg2
= 0 ;
3549 wxString
*arg3
= 0 ;
3551 long arg5
= (long) 0 ;
3552 long arg6
= (long) 100 ;
3553 wxWindow
*arg7
= (wxWindow
*) NULL
;
3554 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
3555 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
3557 bool temp1
= False
;
3558 bool temp2
= False
;
3559 bool temp3
= False
;
3561 PyObject
* obj0
= 0 ;
3562 PyObject
* obj1
= 0 ;
3563 PyObject
* obj2
= 0 ;
3564 PyObject
* obj3
= 0 ;
3565 PyObject
* obj4
= 0 ;
3566 PyObject
* obj5
= 0 ;
3567 PyObject
* obj6
= 0 ;
3568 PyObject
* obj7
= 0 ;
3570 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
3573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3575 arg1
= wxString_in_helper(obj0
);
3576 if (arg1
== NULL
) SWIG_fail
;
3580 arg2
= wxString_in_helper(obj1
);
3581 if (arg2
== NULL
) SWIG_fail
;
3585 arg3
= wxString_in_helper(obj2
);
3586 if (arg3
== NULL
) SWIG_fail
;
3589 arg4
= (long) SWIG_AsLong(obj3
);
3590 if (PyErr_Occurred()) SWIG_fail
;
3592 arg5
= (long) SWIG_AsLong(obj4
);
3593 if (PyErr_Occurred()) SWIG_fail
;
3596 arg6
= (long) SWIG_AsLong(obj5
);
3597 if (PyErr_Occurred()) SWIG_fail
;
3600 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxWindow
,
3601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3606 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
3610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3611 result
= (long)wxGetNumberFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
3613 wxPyEndAllowThreads(__tstate
);
3614 if (PyErr_Occurred()) SWIG_fail
;
3616 resultobj
= SWIG_FromLong((long)result
);
3647 static PyObject
*_wrap_ColourDisplay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3648 PyObject
*resultobj
;
3654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ColourDisplay",kwnames
)) goto fail
;
3656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3657 result
= (bool)wxColourDisplay();
3659 wxPyEndAllowThreads(__tstate
);
3660 if (PyErr_Occurred()) SWIG_fail
;
3662 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3669 static PyObject
*_wrap_DisplayDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3670 PyObject
*resultobj
;
3676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplayDepth",kwnames
)) goto fail
;
3678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3679 result
= (int)wxDisplayDepth();
3681 wxPyEndAllowThreads(__tstate
);
3682 if (PyErr_Occurred()) SWIG_fail
;
3684 resultobj
= SWIG_FromInt((int)result
);
3691 static PyObject
*_wrap_GetDisplayDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3692 PyObject
*resultobj
;
3698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplayDepth",kwnames
)) goto fail
;
3700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3701 result
= (int)wxGetDisplayDepth();
3703 wxPyEndAllowThreads(__tstate
);
3704 if (PyErr_Occurred()) SWIG_fail
;
3706 resultobj
= SWIG_FromInt((int)result
);
3713 static PyObject
*_wrap_DisplaySize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3714 PyObject
*resultobj
;
3715 int *arg1
= (int *) 0 ;
3716 int *arg2
= (int *) 0 ;
3725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySize",kwnames
)) goto fail
;
3727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3728 wxDisplaySize(arg1
,arg2
);
3730 wxPyEndAllowThreads(__tstate
);
3731 if (PyErr_Occurred()) SWIG_fail
;
3733 Py_INCREF(Py_None
); resultobj
= Py_None
;
3735 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
3736 resultobj
= t_output_helper(resultobj
,o
);
3739 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3740 resultobj
= t_output_helper(resultobj
,o
);
3748 static PyObject
*_wrap_GetDisplaySize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3749 PyObject
*resultobj
;
3755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySize",kwnames
)) goto fail
;
3757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3758 result
= wxGetDisplaySize();
3760 wxPyEndAllowThreads(__tstate
);
3761 if (PyErr_Occurred()) SWIG_fail
;
3765 resultptr
= new wxSize((wxSize
&) result
);
3766 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3774 static PyObject
*_wrap_DisplaySizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3775 PyObject
*resultobj
;
3776 int *arg1
= (int *) 0 ;
3777 int *arg2
= (int *) 0 ;
3786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySizeMM",kwnames
)) goto fail
;
3788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3789 wxDisplaySizeMM(arg1
,arg2
);
3791 wxPyEndAllowThreads(__tstate
);
3792 if (PyErr_Occurred()) SWIG_fail
;
3794 Py_INCREF(Py_None
); resultobj
= Py_None
;
3796 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
3797 resultobj
= t_output_helper(resultobj
,o
);
3800 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3801 resultobj
= t_output_helper(resultobj
,o
);
3809 static PyObject
*_wrap_GetDisplaySizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3810 PyObject
*resultobj
;
3816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySizeMM",kwnames
)) goto fail
;
3818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3819 result
= wxGetDisplaySizeMM();
3821 wxPyEndAllowThreads(__tstate
);
3822 if (PyErr_Occurred()) SWIG_fail
;
3826 resultptr
= new wxSize((wxSize
&) result
);
3827 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3835 static PyObject
*_wrap_ClientDisplayRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3836 PyObject
*resultobj
;
3837 int *arg1
= (int *) 0 ;
3838 int *arg2
= (int *) 0 ;
3839 int *arg3
= (int *) 0 ;
3840 int *arg4
= (int *) 0 ;
3853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ClientDisplayRect",kwnames
)) goto fail
;
3855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3856 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
3858 wxPyEndAllowThreads(__tstate
);
3859 if (PyErr_Occurred()) SWIG_fail
;
3861 Py_INCREF(Py_None
); resultobj
= Py_None
;
3863 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
3864 resultobj
= t_output_helper(resultobj
,o
);
3867 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3868 resultobj
= t_output_helper(resultobj
,o
);
3871 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
3872 resultobj
= t_output_helper(resultobj
,o
);
3875 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
3876 resultobj
= t_output_helper(resultobj
,o
);
3884 static PyObject
*_wrap_GetClientDisplayRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3885 PyObject
*resultobj
;
3891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetClientDisplayRect",kwnames
)) goto fail
;
3893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3894 result
= wxGetClientDisplayRect();
3896 wxPyEndAllowThreads(__tstate
);
3897 if (PyErr_Occurred()) SWIG_fail
;
3901 resultptr
= new wxRect((wxRect
&) result
);
3902 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
3910 static PyObject
*_wrap_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3911 PyObject
*resultobj
;
3912 wxCursor
*arg1
= 0 ;
3913 PyObject
* obj0
= 0 ;
3915 (char *) "cursor", NULL
3918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) goto fail
;
3919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
3920 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3923 PyErr_SetString(PyExc_TypeError
,"null reference");
3927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3930 wxPyEndAllowThreads(__tstate
);
3931 if (PyErr_Occurred()) SWIG_fail
;
3933 Py_INCREF(Py_None
); resultobj
= Py_None
;
3940 static PyObject
*_wrap_BeginBusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3941 PyObject
*resultobj
;
3942 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
3943 PyObject
* obj0
= 0 ;
3945 (char *) "cursor", NULL
3948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) goto fail
;
3950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
3951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3955 wxBeginBusyCursor(arg1
);
3957 wxPyEndAllowThreads(__tstate
);
3958 if (PyErr_Occurred()) SWIG_fail
;
3960 Py_INCREF(Py_None
); resultobj
= Py_None
;
3967 static PyObject
*_wrap_GetActiveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3968 PyObject
*resultobj
;
3974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetActiveWindow",kwnames
)) goto fail
;
3976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3977 result
= (wxWindow
*)wxGetActiveWindow();
3979 wxPyEndAllowThreads(__tstate
);
3980 if (PyErr_Occurred()) SWIG_fail
;
3983 resultobj
= wxPyMake_wxObject(result
);
3991 static PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3992 PyObject
*resultobj
;
3996 PyObject
* obj0
= 0 ;
4001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
4004 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4008 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
4010 wxPyEndAllowThreads(__tstate
);
4011 if (PyErr_Occurred()) SWIG_fail
;
4014 resultobj
= wxPyMake_wxObject(result
);
4022 static PyObject
*_wrap_FindWindowAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4023 PyObject
*resultobj
;
4027 PyObject
* obj0
= 0 ;
4032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
4035 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4039 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
4041 wxPyEndAllowThreads(__tstate
);
4042 if (PyErr_Occurred()) SWIG_fail
;
4045 resultobj
= wxPyMake_wxObject(result
);
4053 static PyObject
*_wrap_GetTopLevelParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4054 PyObject
*resultobj
;
4055 wxWindow
*arg1
= (wxWindow
*) 0 ;
4057 PyObject
* obj0
= 0 ;
4059 (char *) "win", NULL
4062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) goto fail
;
4063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4067 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
4069 wxPyEndAllowThreads(__tstate
);
4070 if (PyErr_Occurred()) SWIG_fail
;
4073 resultobj
= wxPyMake_wxObject(result
);
4081 static PyObject
*_wrap_GetKeyState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4082 PyObject
*resultobj
;
4085 PyObject
* obj0
= 0 ;
4087 (char *) "key", NULL
4090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetKeyState",kwnames
,&obj0
)) goto fail
;
4091 arg1
= (wxKeyCode
) SWIG_AsInt(obj0
);
4092 if (PyErr_Occurred()) SWIG_fail
;
4094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4095 result
= (bool)wxGetKeyState((wxKeyCode
)arg1
);
4097 wxPyEndAllowThreads(__tstate
);
4098 if (PyErr_Occurred()) SWIG_fail
;
4100 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4107 static PyObject
*_wrap_WakeUpMainThread(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4108 PyObject
*resultobj
;
4113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpMainThread",kwnames
)) goto fail
;
4115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4116 wxWakeUpMainThread();
4118 wxPyEndAllowThreads(__tstate
);
4119 if (PyErr_Occurred()) SWIG_fail
;
4121 Py_INCREF(Py_None
); resultobj
= Py_None
;
4128 static PyObject
*_wrap_MutexGuiEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4129 PyObject
*resultobj
;
4134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiEnter",kwnames
)) goto fail
;
4136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4139 wxPyEndAllowThreads(__tstate
);
4140 if (PyErr_Occurred()) SWIG_fail
;
4142 Py_INCREF(Py_None
); resultobj
= Py_None
;
4149 static PyObject
*_wrap_MutexGuiLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4150 PyObject
*resultobj
;
4155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiLeave",kwnames
)) goto fail
;
4157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4160 wxPyEndAllowThreads(__tstate
);
4161 if (PyErr_Occurred()) SWIG_fail
;
4163 Py_INCREF(Py_None
); resultobj
= Py_None
;
4170 static PyObject
*_wrap_new_MutexGuiLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4171 PyObject
*resultobj
;
4172 wxMutexGuiLocker
*result
;
4177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MutexGuiLocker",kwnames
)) goto fail
;
4179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4180 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
4182 wxPyEndAllowThreads(__tstate
);
4183 if (PyErr_Occurred()) SWIG_fail
;
4185 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMutexGuiLocker
, 1);
4192 static PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4193 PyObject
*resultobj
;
4194 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
4195 PyObject
* obj0
= 0 ;
4197 (char *) "self", NULL
4200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MutexGuiLocker",kwnames
,&obj0
)) goto fail
;
4201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMutexGuiLocker
,
4202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4207 wxPyEndAllowThreads(__tstate
);
4208 if (PyErr_Occurred()) SWIG_fail
;
4210 Py_INCREF(Py_None
); resultobj
= Py_None
;
4217 static PyObject
* MutexGuiLocker_swigregister(PyObject
*, PyObject
*args
) {
4219 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4220 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker
, obj
);
4222 return Py_BuildValue((char *)"");
4224 static PyObject
*_wrap_Thread_IsMain(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4225 PyObject
*resultobj
;
4231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Thread_IsMain",kwnames
)) goto fail
;
4233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4234 result
= (bool)wxThread_IsMain();
4236 wxPyEndAllowThreads(__tstate
);
4237 if (PyErr_Occurred()) SWIG_fail
;
4239 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4246 static PyObject
*_wrap_new_ToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4247 PyObject
*resultobj
;
4248 wxString
*arg1
= 0 ;
4250 bool temp1
= False
;
4251 PyObject
* obj0
= 0 ;
4253 (char *) "tip", NULL
4256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) goto fail
;
4258 arg1
= wxString_in_helper(obj0
);
4259 if (arg1
== NULL
) SWIG_fail
;
4263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4264 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
4266 wxPyEndAllowThreads(__tstate
);
4267 if (PyErr_Occurred()) SWIG_fail
;
4270 resultobj
= wxPyMake_wxObject(result
);
4286 static PyObject
*_wrap_ToolTip_SetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4287 PyObject
*resultobj
;
4288 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4289 wxString
*arg2
= 0 ;
4290 bool temp2
= False
;
4291 PyObject
* obj0
= 0 ;
4292 PyObject
* obj1
= 0 ;
4294 (char *) "self",(char *) "tip", NULL
4297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) goto fail
;
4298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4301 arg2
= wxString_in_helper(obj1
);
4302 if (arg2
== NULL
) SWIG_fail
;
4306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4307 (arg1
)->SetTip((wxString
const &)*arg2
);
4309 wxPyEndAllowThreads(__tstate
);
4310 if (PyErr_Occurred()) SWIG_fail
;
4312 Py_INCREF(Py_None
); resultobj
= Py_None
;
4327 static PyObject
*_wrap_ToolTip_GetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4328 PyObject
*resultobj
;
4329 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4331 PyObject
* obj0
= 0 ;
4333 (char *) "self", NULL
4336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetTip",kwnames
,&obj0
)) goto fail
;
4337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4341 result
= (arg1
)->GetTip();
4343 wxPyEndAllowThreads(__tstate
);
4344 if (PyErr_Occurred()) SWIG_fail
;
4348 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4350 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4359 static PyObject
*_wrap_ToolTip_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4360 PyObject
*resultobj
;
4361 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4363 PyObject
* obj0
= 0 ;
4365 (char *) "self", NULL
4368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetWindow",kwnames
,&obj0
)) goto fail
;
4369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4373 result
= (wxWindow
*)(arg1
)->GetWindow();
4375 wxPyEndAllowThreads(__tstate
);
4376 if (PyErr_Occurred()) SWIG_fail
;
4379 resultobj
= wxPyMake_wxObject(result
);
4387 static PyObject
*_wrap_ToolTip_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4388 PyObject
*resultobj
;
4390 PyObject
* obj0
= 0 ;
4392 (char *) "flag", NULL
4395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) goto fail
;
4396 arg1
= (bool) SWIG_AsBool(obj0
);
4397 if (PyErr_Occurred()) SWIG_fail
;
4399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4400 wxToolTip::Enable(arg1
);
4402 wxPyEndAllowThreads(__tstate
);
4403 if (PyErr_Occurred()) SWIG_fail
;
4405 Py_INCREF(Py_None
); resultobj
= Py_None
;
4412 static PyObject
*_wrap_ToolTip_SetDelay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4413 PyObject
*resultobj
;
4415 PyObject
* obj0
= 0 ;
4417 (char *) "milliseconds", NULL
4420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_SetDelay",kwnames
,&obj0
)) goto fail
;
4421 arg1
= (long) SWIG_AsLong(obj0
);
4422 if (PyErr_Occurred()) SWIG_fail
;
4424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4425 wxToolTip::SetDelay(arg1
);
4427 wxPyEndAllowThreads(__tstate
);
4428 if (PyErr_Occurred()) SWIG_fail
;
4430 Py_INCREF(Py_None
); resultobj
= Py_None
;
4437 static PyObject
* ToolTip_swigregister(PyObject
*, PyObject
*args
) {
4439 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4440 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip
, obj
);
4442 return Py_BuildValue((char *)"");
4444 static PyObject
*_wrap_new_Caret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4445 PyObject
*resultobj
;
4446 wxWindow
*arg1
= (wxWindow
*) 0 ;
4450 PyObject
* obj0
= 0 ;
4451 PyObject
* obj1
= 0 ;
4453 (char *) "window",(char *) "size", NULL
4456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) goto fail
;
4457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4461 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4465 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
4467 wxPyEndAllowThreads(__tstate
);
4468 if (PyErr_Occurred()) SWIG_fail
;
4470 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 1);
4477 static PyObject
*_wrap_delete_Caret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4478 PyObject
*resultobj
;
4479 wxCaret
*arg1
= (wxCaret
*) 0 ;
4480 PyObject
* obj0
= 0 ;
4482 (char *) "self", NULL
4485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Caret",kwnames
,&obj0
)) goto fail
;
4486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4492 wxPyEndAllowThreads(__tstate
);
4493 if (PyErr_Occurred()) SWIG_fail
;
4495 Py_INCREF(Py_None
); resultobj
= Py_None
;
4502 static PyObject
*_wrap_Caret_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4503 PyObject
*resultobj
;
4504 wxCaret
*arg1
= (wxCaret
*) 0 ;
4506 PyObject
* obj0
= 0 ;
4508 (char *) "self", NULL
4511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsOk",kwnames
,&obj0
)) goto fail
;
4512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4516 result
= (bool)(arg1
)->IsOk();
4518 wxPyEndAllowThreads(__tstate
);
4519 if (PyErr_Occurred()) SWIG_fail
;
4521 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4528 static PyObject
*_wrap_Caret_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4529 PyObject
*resultobj
;
4530 wxCaret
*arg1
= (wxCaret
*) 0 ;
4532 PyObject
* obj0
= 0 ;
4534 (char *) "self", NULL
4537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsVisible",kwnames
,&obj0
)) goto fail
;
4538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4542 result
= (bool)(arg1
)->IsVisible();
4544 wxPyEndAllowThreads(__tstate
);
4545 if (PyErr_Occurred()) SWIG_fail
;
4547 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4554 static PyObject
*_wrap_Caret_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4555 PyObject
*resultobj
;
4556 wxCaret
*arg1
= (wxCaret
*) 0 ;
4558 PyObject
* obj0
= 0 ;
4560 (char *) "self", NULL
4563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPosition",kwnames
,&obj0
)) goto fail
;
4564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4568 result
= (arg1
)->GetPosition();
4570 wxPyEndAllowThreads(__tstate
);
4571 if (PyErr_Occurred()) SWIG_fail
;
4574 wxPoint
* resultptr
;
4575 resultptr
= new wxPoint((wxPoint
&) result
);
4576 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4584 static PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4585 PyObject
*resultobj
;
4586 wxCaret
*arg1
= (wxCaret
*) 0 ;
4587 int *arg2
= (int *) 0 ;
4588 int *arg3
= (int *) 0 ;
4591 PyObject
* obj0
= 0 ;
4593 (char *) "self", NULL
4598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
4599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4603 (arg1
)->GetPosition(arg2
,arg3
);
4605 wxPyEndAllowThreads(__tstate
);
4606 if (PyErr_Occurred()) SWIG_fail
;
4608 Py_INCREF(Py_None
); resultobj
= Py_None
;
4610 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4611 resultobj
= t_output_helper(resultobj
,o
);
4614 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4615 resultobj
= t_output_helper(resultobj
,o
);
4623 static PyObject
*_wrap_Caret_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4624 PyObject
*resultobj
;
4625 wxCaret
*arg1
= (wxCaret
*) 0 ;
4627 PyObject
* obj0
= 0 ;
4629 (char *) "self", NULL
4632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSize",kwnames
,&obj0
)) goto fail
;
4633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4637 result
= (arg1
)->GetSize();
4639 wxPyEndAllowThreads(__tstate
);
4640 if (PyErr_Occurred()) SWIG_fail
;
4644 resultptr
= new wxSize((wxSize
&) result
);
4645 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
4653 static PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4654 PyObject
*resultobj
;
4655 wxCaret
*arg1
= (wxCaret
*) 0 ;
4656 int *arg2
= (int *) 0 ;
4657 int *arg3
= (int *) 0 ;
4660 PyObject
* obj0
= 0 ;
4662 (char *) "self", NULL
4667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
4668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4672 (arg1
)->GetSize(arg2
,arg3
);
4674 wxPyEndAllowThreads(__tstate
);
4675 if (PyErr_Occurred()) SWIG_fail
;
4677 Py_INCREF(Py_None
); resultobj
= Py_None
;
4679 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4680 resultobj
= t_output_helper(resultobj
,o
);
4683 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4684 resultobj
= t_output_helper(resultobj
,o
);
4692 static PyObject
*_wrap_Caret_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4693 PyObject
*resultobj
;
4694 wxCaret
*arg1
= (wxCaret
*) 0 ;
4696 PyObject
* obj0
= 0 ;
4698 (char *) "self", NULL
4701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetWindow",kwnames
,&obj0
)) goto fail
;
4702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4706 result
= (wxWindow
*)(arg1
)->GetWindow();
4708 wxPyEndAllowThreads(__tstate
);
4709 if (PyErr_Occurred()) SWIG_fail
;
4712 resultobj
= wxPyMake_wxObject(result
);
4720 static PyObject
*_wrap_Caret_MoveXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4721 PyObject
*resultobj
;
4722 wxCaret
*arg1
= (wxCaret
*) 0 ;
4725 PyObject
* obj0
= 0 ;
4726 PyObject
* obj1
= 0 ;
4727 PyObject
* obj2
= 0 ;
4729 (char *) "self",(char *) "x",(char *) "y", NULL
4732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4735 arg2
= (int) SWIG_AsInt(obj1
);
4736 if (PyErr_Occurred()) SWIG_fail
;
4737 arg3
= (int) SWIG_AsInt(obj2
);
4738 if (PyErr_Occurred()) SWIG_fail
;
4740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4741 (arg1
)->Move(arg2
,arg3
);
4743 wxPyEndAllowThreads(__tstate
);
4744 if (PyErr_Occurred()) SWIG_fail
;
4746 Py_INCREF(Py_None
); resultobj
= Py_None
;
4753 static PyObject
*_wrap_Caret_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4754 PyObject
*resultobj
;
4755 wxCaret
*arg1
= (wxCaret
*) 0 ;
4758 PyObject
* obj0
= 0 ;
4759 PyObject
* obj1
= 0 ;
4761 (char *) "self",(char *) "pt", NULL
4764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
4765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4769 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4773 (arg1
)->Move((wxPoint
const &)*arg2
);
4775 wxPyEndAllowThreads(__tstate
);
4776 if (PyErr_Occurred()) SWIG_fail
;
4778 Py_INCREF(Py_None
); resultobj
= Py_None
;
4785 static PyObject
*_wrap_Caret_SetSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4786 PyObject
*resultobj
;
4787 wxCaret
*arg1
= (wxCaret
*) 0 ;
4790 PyObject
* obj0
= 0 ;
4791 PyObject
* obj1
= 0 ;
4792 PyObject
* obj2
= 0 ;
4794 (char *) "self",(char *) "width",(char *) "height", NULL
4797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4800 arg2
= (int) SWIG_AsInt(obj1
);
4801 if (PyErr_Occurred()) SWIG_fail
;
4802 arg3
= (int) SWIG_AsInt(obj2
);
4803 if (PyErr_Occurred()) SWIG_fail
;
4805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4806 (arg1
)->SetSize(arg2
,arg3
);
4808 wxPyEndAllowThreads(__tstate
);
4809 if (PyErr_Occurred()) SWIG_fail
;
4811 Py_INCREF(Py_None
); resultobj
= Py_None
;
4818 static PyObject
*_wrap_Caret_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4819 PyObject
*resultobj
;
4820 wxCaret
*arg1
= (wxCaret
*) 0 ;
4823 PyObject
* obj0
= 0 ;
4824 PyObject
* obj1
= 0 ;
4826 (char *) "self",(char *) "size", NULL
4829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
4830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4834 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4838 (arg1
)->SetSize((wxSize
const &)*arg2
);
4840 wxPyEndAllowThreads(__tstate
);
4841 if (PyErr_Occurred()) SWIG_fail
;
4843 Py_INCREF(Py_None
); resultobj
= Py_None
;
4850 static PyObject
*_wrap_Caret_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4851 PyObject
*resultobj
;
4852 wxCaret
*arg1
= (wxCaret
*) 0 ;
4853 int arg2
= (int) True
;
4854 PyObject
* obj0
= 0 ;
4855 PyObject
* obj1
= 0 ;
4857 (char *) "self",(char *) "show", NULL
4860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Caret_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
4861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4864 arg2
= (int) SWIG_AsInt(obj1
);
4865 if (PyErr_Occurred()) SWIG_fail
;
4868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4871 wxPyEndAllowThreads(__tstate
);
4872 if (PyErr_Occurred()) SWIG_fail
;
4874 Py_INCREF(Py_None
); resultobj
= Py_None
;
4881 static PyObject
*_wrap_Caret_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4882 PyObject
*resultobj
;
4883 wxCaret
*arg1
= (wxCaret
*) 0 ;
4884 PyObject
* obj0
= 0 ;
4886 (char *) "self", NULL
4889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Hide",kwnames
,&obj0
)) goto fail
;
4890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4896 wxPyEndAllowThreads(__tstate
);
4897 if (PyErr_Occurred()) SWIG_fail
;
4899 Py_INCREF(Py_None
); resultobj
= Py_None
;
4906 static PyObject
* Caret_swigregister(PyObject
*, PyObject
*args
) {
4908 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4909 SWIG_TypeClientData(SWIGTYPE_p_wxCaret
, obj
);
4911 return Py_BuildValue((char *)"");
4913 static PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4914 PyObject
*resultobj
;
4920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Caret_GetBlinkTime",kwnames
)) goto fail
;
4922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4923 result
= (int)wxCaret_GetBlinkTime();
4925 wxPyEndAllowThreads(__tstate
);
4926 if (PyErr_Occurred()) SWIG_fail
;
4928 resultobj
= SWIG_FromInt((int)result
);
4935 static PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4936 PyObject
*resultobj
;
4938 PyObject
* obj0
= 0 ;
4940 (char *) "milliseconds", NULL
4943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_SetBlinkTime",kwnames
,&obj0
)) goto fail
;
4944 arg1
= (int) SWIG_AsInt(obj0
);
4945 if (PyErr_Occurred()) SWIG_fail
;
4947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4948 wxCaret_SetBlinkTime(arg1
);
4950 wxPyEndAllowThreads(__tstate
);
4951 if (PyErr_Occurred()) SWIG_fail
;
4953 Py_INCREF(Py_None
); resultobj
= Py_None
;
4960 static PyObject
*_wrap_new_BusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4961 PyObject
*resultobj
;
4962 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
4963 wxBusyCursor
*result
;
4964 PyObject
* obj0
= 0 ;
4966 (char *) "cursor", NULL
4969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) goto fail
;
4971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4976 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
4978 wxPyEndAllowThreads(__tstate
);
4979 if (PyErr_Occurred()) SWIG_fail
;
4981 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyCursor
, 1);
4988 static PyObject
*_wrap_delete_BusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4989 PyObject
*resultobj
;
4990 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
4991 PyObject
* obj0
= 0 ;
4993 (char *) "self", NULL
4996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyCursor",kwnames
,&obj0
)) goto fail
;
4997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBusyCursor
,
4998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5003 wxPyEndAllowThreads(__tstate
);
5004 if (PyErr_Occurred()) SWIG_fail
;
5006 Py_INCREF(Py_None
); resultobj
= Py_None
;
5013 static PyObject
* BusyCursor_swigregister(PyObject
*, PyObject
*args
) {
5015 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5016 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor
, obj
);
5018 return Py_BuildValue((char *)"");
5020 static PyObject
*_wrap_new_WindowDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5021 PyObject
*resultobj
;
5022 wxWindow
*arg1
= (wxWindow
*) NULL
;
5023 wxWindowDisabler
*result
;
5024 PyObject
* obj0
= 0 ;
5026 (char *) "winToSkip", NULL
5029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) goto fail
;
5031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5036 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
5038 wxPyEndAllowThreads(__tstate
);
5039 if (PyErr_Occurred()) SWIG_fail
;
5041 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDisabler
, 1);
5048 static PyObject
*_wrap_delete_WindowDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5049 PyObject
*resultobj
;
5050 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
5051 PyObject
* obj0
= 0 ;
5053 (char *) "self", NULL
5056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_WindowDisabler",kwnames
,&obj0
)) goto fail
;
5057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowDisabler
,
5058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5063 wxPyEndAllowThreads(__tstate
);
5064 if (PyErr_Occurred()) SWIG_fail
;
5066 Py_INCREF(Py_None
); resultobj
= Py_None
;
5073 static PyObject
* WindowDisabler_swigregister(PyObject
*, PyObject
*args
) {
5075 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5076 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler
, obj
);
5078 return Py_BuildValue((char *)"");
5080 static PyObject
*_wrap_new_BusyInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5081 PyObject
*resultobj
;
5082 wxString
*arg1
= 0 ;
5084 bool temp1
= False
;
5085 PyObject
* obj0
= 0 ;
5087 (char *) "message", NULL
5090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) goto fail
;
5092 arg1
= wxString_in_helper(obj0
);
5093 if (arg1
== NULL
) SWIG_fail
;
5097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5098 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
);
5100 wxPyEndAllowThreads(__tstate
);
5101 if (PyErr_Occurred()) SWIG_fail
;
5103 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyInfo
, 1);
5118 static PyObject
*_wrap_delete_BusyInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5119 PyObject
*resultobj
;
5120 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
5121 PyObject
* obj0
= 0 ;
5123 (char *) "self", NULL
5126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyInfo",kwnames
,&obj0
)) goto fail
;
5127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBusyInfo
,
5128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5133 wxPyEndAllowThreads(__tstate
);
5134 if (PyErr_Occurred()) SWIG_fail
;
5136 Py_INCREF(Py_None
); resultobj
= Py_None
;
5143 static PyObject
* BusyInfo_swigregister(PyObject
*, PyObject
*args
) {
5145 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5146 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo
, obj
);
5148 return Py_BuildValue((char *)"");
5150 static PyObject
*_wrap_new_StopWatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5151 PyObject
*resultobj
;
5152 wxStopWatch
*result
;
5157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StopWatch",kwnames
)) goto fail
;
5159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5160 result
= (wxStopWatch
*)new wxStopWatch();
5162 wxPyEndAllowThreads(__tstate
);
5163 if (PyErr_Occurred()) SWIG_fail
;
5165 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStopWatch
, 1);
5172 static PyObject
*_wrap_StopWatch_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5173 PyObject
*resultobj
;
5174 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5175 long arg2
= (long) 0 ;
5176 PyObject
* obj0
= 0 ;
5177 PyObject
* obj1
= 0 ;
5179 (char *) "self",(char *) "t0", NULL
5182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StopWatch_Start",kwnames
,&obj0
,&obj1
)) goto fail
;
5183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5186 arg2
= (long) SWIG_AsLong(obj1
);
5187 if (PyErr_Occurred()) SWIG_fail
;
5190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5191 (arg1
)->Start(arg2
);
5193 wxPyEndAllowThreads(__tstate
);
5194 if (PyErr_Occurred()) SWIG_fail
;
5196 Py_INCREF(Py_None
); resultobj
= Py_None
;
5203 static PyObject
*_wrap_StopWatch_Pause(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5204 PyObject
*resultobj
;
5205 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5206 PyObject
* obj0
= 0 ;
5208 (char *) "self", NULL
5211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Pause",kwnames
,&obj0
)) goto fail
;
5212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5218 wxPyEndAllowThreads(__tstate
);
5219 if (PyErr_Occurred()) SWIG_fail
;
5221 Py_INCREF(Py_None
); resultobj
= Py_None
;
5228 static PyObject
*_wrap_StopWatch_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5229 PyObject
*resultobj
;
5230 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5231 PyObject
* obj0
= 0 ;
5233 (char *) "self", NULL
5236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Resume",kwnames
,&obj0
)) goto fail
;
5237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5243 wxPyEndAllowThreads(__tstate
);
5244 if (PyErr_Occurred()) SWIG_fail
;
5246 Py_INCREF(Py_None
); resultobj
= Py_None
;
5253 static PyObject
*_wrap_StopWatch_Time(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5254 PyObject
*resultobj
;
5255 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5257 PyObject
* obj0
= 0 ;
5259 (char *) "self", NULL
5262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Time",kwnames
,&obj0
)) goto fail
;
5263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5267 result
= (long)((wxStopWatch
const *)arg1
)->Time();
5269 wxPyEndAllowThreads(__tstate
);
5270 if (PyErr_Occurred()) SWIG_fail
;
5272 resultobj
= SWIG_FromLong((long)result
);
5279 static PyObject
* StopWatch_swigregister(PyObject
*, PyObject
*args
) {
5281 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5282 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch
, obj
);
5284 return Py_BuildValue((char *)"");
5286 static PyObject
*_wrap_new_FileHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5287 PyObject
*resultobj
;
5288 int arg1
= (int) 9 ;
5289 wxFileHistory
*result
;
5290 PyObject
* obj0
= 0 ;
5292 (char *) "maxFiles", NULL
5295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FileHistory",kwnames
,&obj0
)) goto fail
;
5297 arg1
= (int) SWIG_AsInt(obj0
);
5298 if (PyErr_Occurred()) SWIG_fail
;
5301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5302 result
= (wxFileHistory
*)new wxFileHistory(arg1
);
5304 wxPyEndAllowThreads(__tstate
);
5305 if (PyErr_Occurred()) SWIG_fail
;
5307 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileHistory
, 1);
5314 static PyObject
*_wrap_delete_FileHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5315 PyObject
*resultobj
;
5316 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5317 PyObject
* obj0
= 0 ;
5319 (char *) "self", NULL
5322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileHistory",kwnames
,&obj0
)) goto fail
;
5323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5329 wxPyEndAllowThreads(__tstate
);
5330 if (PyErr_Occurred()) SWIG_fail
;
5332 Py_INCREF(Py_None
); resultobj
= Py_None
;
5339 static PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5340 PyObject
*resultobj
;
5341 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5342 wxString
*arg2
= 0 ;
5343 bool temp2
= False
;
5344 PyObject
* obj0
= 0 ;
5345 PyObject
* obj1
= 0 ;
5347 (char *) "self",(char *) "file", NULL
5350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
5351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5354 arg2
= wxString_in_helper(obj1
);
5355 if (arg2
== NULL
) SWIG_fail
;
5359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5360 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
5362 wxPyEndAllowThreads(__tstate
);
5363 if (PyErr_Occurred()) SWIG_fail
;
5365 Py_INCREF(Py_None
); resultobj
= Py_None
;
5380 static PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5381 PyObject
*resultobj
;
5382 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5384 PyObject
* obj0
= 0 ;
5385 PyObject
* obj1
= 0 ;
5387 (char *) "self",(char *) "i", NULL
5390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
5391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5393 arg2
= (int) SWIG_AsInt(obj1
);
5394 if (PyErr_Occurred()) SWIG_fail
;
5396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5397 (arg1
)->RemoveFileFromHistory(arg2
);
5399 wxPyEndAllowThreads(__tstate
);
5400 if (PyErr_Occurred()) SWIG_fail
;
5402 Py_INCREF(Py_None
); resultobj
= Py_None
;
5409 static PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5410 PyObject
*resultobj
;
5411 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5413 PyObject
* obj0
= 0 ;
5415 (char *) "self", NULL
5418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetMaxFiles",kwnames
,&obj0
)) goto fail
;
5419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5423 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
5425 wxPyEndAllowThreads(__tstate
);
5426 if (PyErr_Occurred()) SWIG_fail
;
5428 resultobj
= SWIG_FromInt((int)result
);
5435 static PyObject
*_wrap_FileHistory_UseMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5436 PyObject
*resultobj
;
5437 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5438 wxMenu
*arg2
= (wxMenu
*) 0 ;
5439 PyObject
* obj0
= 0 ;
5440 PyObject
* obj1
= 0 ;
5442 (char *) "self",(char *) "menu", NULL
5445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5448 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
5449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5452 (arg1
)->UseMenu(arg2
);
5454 wxPyEndAllowThreads(__tstate
);
5455 if (PyErr_Occurred()) SWIG_fail
;
5457 Py_INCREF(Py_None
); resultobj
= Py_None
;
5464 static PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5465 PyObject
*resultobj
;
5466 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5467 wxMenu
*arg2
= (wxMenu
*) 0 ;
5468 PyObject
* obj0
= 0 ;
5469 PyObject
* obj1
= 0 ;
5471 (char *) "self",(char *) "menu", NULL
5474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5477 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
5478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5481 (arg1
)->RemoveMenu(arg2
);
5483 wxPyEndAllowThreads(__tstate
);
5484 if (PyErr_Occurred()) SWIG_fail
;
5486 Py_INCREF(Py_None
); resultobj
= Py_None
;
5493 static PyObject
*_wrap_FileHistory_Load(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5494 PyObject
*resultobj
;
5495 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5496 wxConfigBase
*arg2
= 0 ;
5497 PyObject
* obj0
= 0 ;
5498 PyObject
* obj1
= 0 ;
5500 (char *) "self",(char *) "config", NULL
5503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) goto fail
;
5504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5506 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
5507 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5510 PyErr_SetString(PyExc_TypeError
,"null reference");
5514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5515 (arg1
)->Load(*arg2
);
5517 wxPyEndAllowThreads(__tstate
);
5518 if (PyErr_Occurred()) SWIG_fail
;
5520 Py_INCREF(Py_None
); resultobj
= Py_None
;
5527 static PyObject
*_wrap_FileHistory_Save(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5528 PyObject
*resultobj
;
5529 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5530 wxConfigBase
*arg2
= 0 ;
5531 PyObject
* obj0
= 0 ;
5532 PyObject
* obj1
= 0 ;
5534 (char *) "self",(char *) "config", NULL
5537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) goto fail
;
5538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5540 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
5541 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5544 PyErr_SetString(PyExc_TypeError
,"null reference");
5548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5549 (arg1
)->Save(*arg2
);
5551 wxPyEndAllowThreads(__tstate
);
5552 if (PyErr_Occurred()) SWIG_fail
;
5554 Py_INCREF(Py_None
); resultobj
= Py_None
;
5561 static PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5562 PyObject
*resultobj
;
5563 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5564 PyObject
* obj0
= 0 ;
5566 (char *) "self", NULL
5569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_AddFilesToMenu",kwnames
,&obj0
)) goto fail
;
5570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5574 (arg1
)->AddFilesToMenu();
5576 wxPyEndAllowThreads(__tstate
);
5577 if (PyErr_Occurred()) SWIG_fail
;
5579 Py_INCREF(Py_None
); resultobj
= Py_None
;
5586 static PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5587 PyObject
*resultobj
;
5588 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5589 wxMenu
*arg2
= (wxMenu
*) 0 ;
5590 PyObject
* obj0
= 0 ;
5591 PyObject
* obj1
= 0 ;
5593 (char *) "self",(char *) "menu", NULL
5596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5599 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
5600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5603 (arg1
)->AddFilesToMenu(arg2
);
5605 wxPyEndAllowThreads(__tstate
);
5606 if (PyErr_Occurred()) SWIG_fail
;
5608 Py_INCREF(Py_None
); resultobj
= Py_None
;
5615 static PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5616 PyObject
*resultobj
;
5617 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5620 PyObject
* obj0
= 0 ;
5621 PyObject
* obj1
= 0 ;
5623 (char *) "self",(char *) "i", NULL
5626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_GetHistoryFile",kwnames
,&obj0
,&obj1
)) goto fail
;
5627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5629 arg2
= (int) SWIG_AsInt(obj1
);
5630 if (PyErr_Occurred()) SWIG_fail
;
5632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5633 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
5635 wxPyEndAllowThreads(__tstate
);
5636 if (PyErr_Occurred()) SWIG_fail
;
5640 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5642 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5651 static PyObject
*_wrap_FileHistory_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5652 PyObject
*resultobj
;
5653 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5655 PyObject
* obj0
= 0 ;
5657 (char *) "self", NULL
5660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetCount",kwnames
,&obj0
)) goto fail
;
5661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5665 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
5667 wxPyEndAllowThreads(__tstate
);
5668 if (PyErr_Occurred()) SWIG_fail
;
5670 resultobj
= SWIG_FromInt((int)result
);
5677 static PyObject
* FileHistory_swigregister(PyObject
*, PyObject
*args
) {
5679 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5680 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory
, obj
);
5682 return Py_BuildValue((char *)"");
5684 static PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5685 PyObject
*resultobj
;
5686 wxString
*arg1
= 0 ;
5687 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5688 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5689 wxSingleInstanceChecker
*result
;
5690 bool temp1
= False
;
5691 bool temp2
= False
;
5692 PyObject
* obj0
= 0 ;
5693 PyObject
* obj1
= 0 ;
5695 (char *) "name",(char *) "path", NULL
5698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) goto fail
;
5700 arg1
= wxString_in_helper(obj0
);
5701 if (arg1
== NULL
) SWIG_fail
;
5706 arg2
= wxString_in_helper(obj1
);
5707 if (arg2
== NULL
) SWIG_fail
;
5712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5713 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
5715 wxPyEndAllowThreads(__tstate
);
5716 if (PyErr_Occurred()) SWIG_fail
;
5718 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
5741 static PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5742 PyObject
*resultobj
;
5743 wxSingleInstanceChecker
*result
;
5748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSingleInstanceChecker",kwnames
)) goto fail
;
5750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5751 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
5753 wxPyEndAllowThreads(__tstate
);
5754 if (PyErr_Occurred()) SWIG_fail
;
5756 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
5763 static PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5764 PyObject
*resultobj
;
5765 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
5766 PyObject
* obj0
= 0 ;
5768 (char *) "self", NULL
5771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_SingleInstanceChecker",kwnames
,&obj0
)) goto fail
;
5772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
5773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5778 wxPyEndAllowThreads(__tstate
);
5779 if (PyErr_Occurred()) SWIG_fail
;
5781 Py_INCREF(Py_None
); resultobj
= Py_None
;
5788 static PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5789 PyObject
*resultobj
;
5790 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
5791 wxString
*arg2
= 0 ;
5792 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5793 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5795 bool temp2
= False
;
5796 bool temp3
= False
;
5797 PyObject
* obj0
= 0 ;
5798 PyObject
* obj1
= 0 ;
5799 PyObject
* obj2
= 0 ;
5801 (char *) "self",(char *) "name",(char *) "path", NULL
5804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
5806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5808 arg2
= wxString_in_helper(obj1
);
5809 if (arg2
== NULL
) SWIG_fail
;
5814 arg3
= wxString_in_helper(obj2
);
5815 if (arg3
== NULL
) SWIG_fail
;
5820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5821 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
5823 wxPyEndAllowThreads(__tstate
);
5824 if (PyErr_Occurred()) SWIG_fail
;
5826 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5849 static PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5850 PyObject
*resultobj
;
5851 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
5853 PyObject
* obj0
= 0 ;
5855 (char *) "self", NULL
5858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames
,&obj0
)) goto fail
;
5859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
5860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5863 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
5865 wxPyEndAllowThreads(__tstate
);
5866 if (PyErr_Occurred()) SWIG_fail
;
5868 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5875 static PyObject
* SingleInstanceChecker_swigregister(PyObject
*, PyObject
*args
) {
5877 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5878 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker
, obj
);
5880 return Py_BuildValue((char *)"");
5882 static PyObject
*_wrap_DrawWindowOnDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5883 PyObject
*resultobj
;
5884 wxWindow
*arg1
= (wxWindow
*) 0 ;
5887 PyObject
* obj0
= 0 ;
5888 PyObject
* obj1
= 0 ;
5889 PyObject
* obj2
= 0 ;
5891 (char *) "window",(char *) "dc",(char *) "method", NULL
5894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DrawWindowOnDC",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5897 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
5898 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5901 PyErr_SetString(PyExc_TypeError
,"null reference");
5904 arg3
= (int) SWIG_AsInt(obj2
);
5905 if (PyErr_Occurred()) SWIG_fail
;
5907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5908 wxDrawWindowOnDC(arg1
,(wxDC
const &)*arg2
,arg3
);
5910 wxPyEndAllowThreads(__tstate
);
5911 if (PyErr_Occurred()) SWIG_fail
;
5913 Py_INCREF(Py_None
); resultobj
= Py_None
;
5920 static PyObject
*_wrap_delete_TipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5921 PyObject
*resultobj
;
5922 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
5923 PyObject
* obj0
= 0 ;
5925 (char *) "self", NULL
5928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TipProvider",kwnames
,&obj0
)) goto fail
;
5929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
5930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5935 wxPyEndAllowThreads(__tstate
);
5936 if (PyErr_Occurred()) SWIG_fail
;
5938 Py_INCREF(Py_None
); resultobj
= Py_None
;
5945 static PyObject
*_wrap_TipProvider_GetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5946 PyObject
*resultobj
;
5947 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
5949 PyObject
* obj0
= 0 ;
5951 (char *) "self", NULL
5954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetTip",kwnames
,&obj0
)) goto fail
;
5955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
5956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5959 result
= (arg1
)->GetTip();
5961 wxPyEndAllowThreads(__tstate
);
5962 if (PyErr_Occurred()) SWIG_fail
;
5966 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5968 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5977 static PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5978 PyObject
*resultobj
;
5979 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
5981 PyObject
* obj0
= 0 ;
5983 (char *) "self", NULL
5986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetCurrentTip",kwnames
,&obj0
)) goto fail
;
5987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
5988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5991 result
= (size_t)(arg1
)->GetCurrentTip();
5993 wxPyEndAllowThreads(__tstate
);
5994 if (PyErr_Occurred()) SWIG_fail
;
5996 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
6003 static PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6004 PyObject
*resultobj
;
6005 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6006 wxString
*arg2
= 0 ;
6008 bool temp2
= False
;
6009 PyObject
* obj0
= 0 ;
6010 PyObject
* obj1
= 0 ;
6012 (char *) "self",(char *) "tip", NULL
6015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) goto fail
;
6016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6019 arg2
= wxString_in_helper(obj1
);
6020 if (arg2
== NULL
) SWIG_fail
;
6024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6025 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
6027 wxPyEndAllowThreads(__tstate
);
6028 if (PyErr_Occurred()) SWIG_fail
;
6032 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6034 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6051 static PyObject
* TipProvider_swigregister(PyObject
*, PyObject
*args
) {
6053 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6054 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider
, obj
);
6056 return Py_BuildValue((char *)"");
6058 static PyObject
*_wrap_new_PyTipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6059 PyObject
*resultobj
;
6061 wxPyTipProvider
*result
;
6062 PyObject
* obj0
= 0 ;
6064 (char *) "currentTip", NULL
6067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) goto fail
;
6068 arg1
= (size_t) SWIG_AsUnsignedLong(obj0
);
6069 if (PyErr_Occurred()) SWIG_fail
;
6071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6072 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
6074 wxPyEndAllowThreads(__tstate
);
6075 if (PyErr_Occurred()) SWIG_fail
;
6077 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTipProvider
, 1);
6084 static PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6085 PyObject
*resultobj
;
6086 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
6087 PyObject
*arg2
= (PyObject
*) 0 ;
6088 PyObject
*arg3
= (PyObject
*) 0 ;
6089 PyObject
* obj0
= 0 ;
6090 PyObject
* obj1
= 0 ;
6091 PyObject
* obj2
= 0 ;
6093 (char *) "self",(char *) "self",(char *) "_class", NULL
6096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTipProvider
,
6098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6103 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6105 wxPyEndAllowThreads(__tstate
);
6106 if (PyErr_Occurred()) SWIG_fail
;
6108 Py_INCREF(Py_None
); resultobj
= Py_None
;
6115 static PyObject
* PyTipProvider_swigregister(PyObject
*, PyObject
*args
) {
6117 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6118 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider
, obj
);
6120 return Py_BuildValue((char *)"");
6122 static PyObject
*_wrap_ShowTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6123 PyObject
*resultobj
;
6124 wxWindow
*arg1
= (wxWindow
*) 0 ;
6125 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
6126 bool arg3
= (bool) True
;
6128 PyObject
* obj0
= 0 ;
6129 PyObject
* obj1
= 0 ;
6130 PyObject
* obj2
= 0 ;
6132 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
6135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6138 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTipProvider
,
6139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6141 arg3
= (bool) SWIG_AsBool(obj2
);
6142 if (PyErr_Occurred()) SWIG_fail
;
6145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6146 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
6148 wxPyEndAllowThreads(__tstate
);
6149 if (PyErr_Occurred()) SWIG_fail
;
6151 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6158 static PyObject
*_wrap_CreateFileTipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6159 PyObject
*resultobj
;
6160 wxString
*arg1
= 0 ;
6162 wxTipProvider
*result
;
6163 bool temp1
= False
;
6164 PyObject
* obj0
= 0 ;
6165 PyObject
* obj1
= 0 ;
6167 (char *) "filename",(char *) "currentTip", NULL
6170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) goto fail
;
6172 arg1
= wxString_in_helper(obj0
);
6173 if (arg1
== NULL
) SWIG_fail
;
6176 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
6177 if (PyErr_Occurred()) SWIG_fail
;
6179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6180 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
6182 wxPyEndAllowThreads(__tstate
);
6183 if (PyErr_Occurred()) SWIG_fail
;
6185 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipProvider
, 1);
6200 static PyObject
*_wrap_new_Timer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6201 PyObject
*resultobj
;
6202 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
6203 int arg2
= (int) -1 ;
6205 PyObject
* obj0
= 0 ;
6206 PyObject
* obj1
= 0 ;
6208 (char *) "owner",(char *) "id", NULL
6211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Timer",kwnames
,&obj0
,&obj1
)) goto fail
;
6213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
6214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6217 arg2
= (int) SWIG_AsInt(obj1
);
6218 if (PyErr_Occurred()) SWIG_fail
;
6221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6222 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
6224 wxPyEndAllowThreads(__tstate
);
6225 if (PyErr_Occurred()) SWIG_fail
;
6227 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTimer
, 1);
6234 static PyObject
*_wrap_delete_Timer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6235 PyObject
*resultobj
;
6236 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6237 PyObject
* obj0
= 0 ;
6239 (char *) "self", NULL
6242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Timer",kwnames
,&obj0
)) goto fail
;
6243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6249 wxPyEndAllowThreads(__tstate
);
6250 if (PyErr_Occurred()) SWIG_fail
;
6252 Py_INCREF(Py_None
); resultobj
= Py_None
;
6259 static PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6260 PyObject
*resultobj
;
6261 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6262 PyObject
*arg2
= (PyObject
*) 0 ;
6263 PyObject
*arg3
= (PyObject
*) 0 ;
6264 PyObject
* obj0
= 0 ;
6265 PyObject
* obj1
= 0 ;
6266 PyObject
* obj2
= 0 ;
6268 (char *) "self",(char *) "self",(char *) "_class", NULL
6271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6278 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6280 wxPyEndAllowThreads(__tstate
);
6281 if (PyErr_Occurred()) SWIG_fail
;
6283 Py_INCREF(Py_None
); resultobj
= Py_None
;
6290 static PyObject
*_wrap_Timer_SetOwner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6291 PyObject
*resultobj
;
6292 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6293 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
6294 int arg3
= (int) -1 ;
6295 PyObject
* obj0
= 0 ;
6296 PyObject
* obj1
= 0 ;
6297 PyObject
* obj2
= 0 ;
6299 (char *) "self",(char *) "owner",(char *) "id", NULL
6302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6305 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
6306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6308 arg3
= (int) SWIG_AsInt(obj2
);
6309 if (PyErr_Occurred()) SWIG_fail
;
6312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6313 (arg1
)->SetOwner(arg2
,arg3
);
6315 wxPyEndAllowThreads(__tstate
);
6316 if (PyErr_Occurred()) SWIG_fail
;
6318 Py_INCREF(Py_None
); resultobj
= Py_None
;
6325 static PyObject
*_wrap_Timer_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6326 PyObject
*resultobj
;
6327 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6328 int arg2
= (int) -1 ;
6329 bool arg3
= (bool) False
;
6331 PyObject
* obj0
= 0 ;
6332 PyObject
* obj1
= 0 ;
6333 PyObject
* obj2
= 0 ;
6335 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
6338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Timer_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6342 arg2
= (int) SWIG_AsInt(obj1
);
6343 if (PyErr_Occurred()) SWIG_fail
;
6346 arg3
= (bool) SWIG_AsBool(obj2
);
6347 if (PyErr_Occurred()) SWIG_fail
;
6350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6351 result
= (bool)(arg1
)->Start(arg2
,arg3
);
6353 wxPyEndAllowThreads(__tstate
);
6354 if (PyErr_Occurred()) SWIG_fail
;
6356 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6363 static PyObject
*_wrap_Timer_Stop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6364 PyObject
*resultobj
;
6365 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6366 PyObject
* obj0
= 0 ;
6368 (char *) "self", NULL
6371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_Stop",kwnames
,&obj0
)) goto fail
;
6372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6378 wxPyEndAllowThreads(__tstate
);
6379 if (PyErr_Occurred()) SWIG_fail
;
6381 Py_INCREF(Py_None
); resultobj
= Py_None
;
6388 static PyObject
*_wrap_Timer_IsRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6389 PyObject
*resultobj
;
6390 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6392 PyObject
* obj0
= 0 ;
6394 (char *) "self", NULL
6397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsRunning",kwnames
,&obj0
)) goto fail
;
6398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6402 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
6404 wxPyEndAllowThreads(__tstate
);
6405 if (PyErr_Occurred()) SWIG_fail
;
6407 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6414 static PyObject
*_wrap_Timer_GetInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6415 PyObject
*resultobj
;
6416 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6418 PyObject
* obj0
= 0 ;
6420 (char *) "self", NULL
6423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetInterval",kwnames
,&obj0
)) goto fail
;
6424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6428 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
6430 wxPyEndAllowThreads(__tstate
);
6431 if (PyErr_Occurred()) SWIG_fail
;
6433 resultobj
= SWIG_FromInt((int)result
);
6440 static PyObject
*_wrap_Timer_IsOneShot(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6441 PyObject
*resultobj
;
6442 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6444 PyObject
* obj0
= 0 ;
6446 (char *) "self", NULL
6449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsOneShot",kwnames
,&obj0
)) goto fail
;
6450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6454 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
6456 wxPyEndAllowThreads(__tstate
);
6457 if (PyErr_Occurred()) SWIG_fail
;
6459 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6466 static PyObject
*_wrap_Timer_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6467 PyObject
*resultobj
;
6468 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6470 PyObject
* obj0
= 0 ;
6472 (char *) "self", NULL
6475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetId",kwnames
,&obj0
)) goto fail
;
6476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6480 result
= (int)((wxPyTimer
const *)arg1
)->GetId();
6482 wxPyEndAllowThreads(__tstate
);
6483 if (PyErr_Occurred()) SWIG_fail
;
6485 resultobj
= SWIG_FromInt((int)result
);
6492 static PyObject
* Timer_swigregister(PyObject
*, PyObject
*args
) {
6494 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6495 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer
, obj
);
6497 return Py_BuildValue((char *)"");
6499 static PyObject
*_wrap_new_TimerEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6500 PyObject
*resultobj
;
6501 int arg1
= (int) 0 ;
6502 int arg2
= (int) 0 ;
6503 wxTimerEvent
*result
;
6504 PyObject
* obj0
= 0 ;
6505 PyObject
* obj1
= 0 ;
6507 (char *) "timerid",(char *) "interval", NULL
6510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TimerEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
6512 arg1
= (int) SWIG_AsInt(obj0
);
6513 if (PyErr_Occurred()) SWIG_fail
;
6516 arg2
= (int) SWIG_AsInt(obj1
);
6517 if (PyErr_Occurred()) SWIG_fail
;
6520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6521 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
6523 wxPyEndAllowThreads(__tstate
);
6524 if (PyErr_Occurred()) SWIG_fail
;
6526 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerEvent
, 1);
6533 static PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6534 PyObject
*resultobj
;
6535 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
6537 PyObject
* obj0
= 0 ;
6539 (char *) "self", NULL
6542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimerEvent_GetInterval",kwnames
,&obj0
)) goto fail
;
6543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerEvent
,
6544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6547 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
6549 wxPyEndAllowThreads(__tstate
);
6550 if (PyErr_Occurred()) SWIG_fail
;
6552 resultobj
= SWIG_FromInt((int)result
);
6559 static PyObject
* TimerEvent_swigregister(PyObject
*, PyObject
*args
) {
6561 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6562 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent
, obj
);
6564 return Py_BuildValue((char *)"");
6566 static PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*, PyObject
*args
) {
6567 PyObject
*resultobj
;
6569 wxTimerRunner
*result
;
6570 PyObject
* obj0
= 0 ;
6572 if(!PyArg_ParseTuple(args
,(char *)"O:new_TimerRunner",&obj0
)) goto fail
;
6573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimer
,
6574 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6577 PyErr_SetString(PyExc_TypeError
,"null reference");
6581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6582 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
6584 wxPyEndAllowThreads(__tstate
);
6585 if (PyErr_Occurred()) SWIG_fail
;
6587 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
6594 static PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*, PyObject
*args
) {
6595 PyObject
*resultobj
;
6598 bool arg3
= (bool) False
;
6599 wxTimerRunner
*result
;
6600 PyObject
* obj0
= 0 ;
6601 PyObject
* obj1
= 0 ;
6602 PyObject
* obj2
= 0 ;
6604 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_TimerRunner",&obj0
,&obj1
,&obj2
)) goto fail
;
6605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimer
,
6606 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6609 PyErr_SetString(PyExc_TypeError
,"null reference");
6612 arg2
= (int) SWIG_AsInt(obj1
);
6613 if (PyErr_Occurred()) SWIG_fail
;
6615 arg3
= (bool) SWIG_AsBool(obj2
);
6616 if (PyErr_Occurred()) SWIG_fail
;
6619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6620 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
6622 wxPyEndAllowThreads(__tstate
);
6623 if (PyErr_Occurred()) SWIG_fail
;
6625 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
6632 static PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
6637 argc
= PyObject_Length(args
);
6638 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
6639 argv
[ii
] = PyTuple_GetItem(args
,ii
);
6645 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
6653 return _wrap_new_TimerRunner__SWIG_0(self
,args
);
6656 if ((argc
>= 2) && (argc
<= 3)) {
6660 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
6668 _v
= SWIG_CheckInt(argv
[1]);
6671 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
6673 _v
= SWIG_CheckBool(argv
[2]);
6675 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
6681 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TimerRunner'");
6686 static PyObject
*_wrap_delete_TimerRunner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6687 PyObject
*resultobj
;
6688 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
6689 PyObject
* obj0
= 0 ;
6691 (char *) "self", NULL
6694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimerRunner",kwnames
,&obj0
)) goto fail
;
6695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerRunner
,
6696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6701 wxPyEndAllowThreads(__tstate
);
6702 if (PyErr_Occurred()) SWIG_fail
;
6704 Py_INCREF(Py_None
); resultobj
= Py_None
;
6711 static PyObject
*_wrap_TimerRunner_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6712 PyObject
*resultobj
;
6713 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
6715 bool arg3
= (bool) False
;
6716 PyObject
* obj0
= 0 ;
6717 PyObject
* obj1
= 0 ;
6718 PyObject
* obj2
= 0 ;
6720 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
6723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TimerRunner_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerRunner
,
6725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6726 arg2
= (int) SWIG_AsInt(obj1
);
6727 if (PyErr_Occurred()) SWIG_fail
;
6729 arg3
= (bool) SWIG_AsBool(obj2
);
6730 if (PyErr_Occurred()) SWIG_fail
;
6733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6734 (arg1
)->Start(arg2
,arg3
);
6736 wxPyEndAllowThreads(__tstate
);
6737 if (PyErr_Occurred()) SWIG_fail
;
6739 Py_INCREF(Py_None
); resultobj
= Py_None
;
6746 static PyObject
* TimerRunner_swigregister(PyObject
*, PyObject
*args
) {
6748 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6749 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner
, obj
);
6751 return Py_BuildValue((char *)"");
6753 static PyObject
*_wrap_new_Log(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6754 PyObject
*resultobj
;
6760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Log",kwnames
)) goto fail
;
6762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6763 result
= (wxLog
*)new wxLog();
6765 wxPyEndAllowThreads(__tstate
);
6766 if (PyErr_Occurred()) SWIG_fail
;
6768 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 1);
6775 static PyObject
*_wrap_Log_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6776 PyObject
*resultobj
;
6782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_IsEnabled",kwnames
)) goto fail
;
6784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6785 result
= (bool)wxLog::IsEnabled();
6787 wxPyEndAllowThreads(__tstate
);
6788 if (PyErr_Occurred()) SWIG_fail
;
6790 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6797 static PyObject
*_wrap_Log_EnableLogging(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6798 PyObject
*resultobj
;
6799 bool arg1
= (bool) True
;
6801 PyObject
* obj0
= 0 ;
6803 (char *) "doIt", NULL
6806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) goto fail
;
6808 arg1
= (bool) SWIG_AsBool(obj0
);
6809 if (PyErr_Occurred()) SWIG_fail
;
6812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6813 result
= (bool)wxLog::EnableLogging(arg1
);
6815 wxPyEndAllowThreads(__tstate
);
6816 if (PyErr_Occurred()) SWIG_fail
;
6818 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6825 static PyObject
*_wrap_Log_OnLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6826 PyObject
*resultobj
;
6828 wxChar
*arg2
= (wxChar
*) 0 ;
6830 PyObject
* obj0
= 0 ;
6831 PyObject
* obj1
= 0 ;
6832 PyObject
* obj2
= 0 ;
6834 (char *) "level",(char *) "szString",(char *) "t", NULL
6837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6838 arg1
= (wxLogLevel
) SWIG_AsUnsignedLong(obj0
);
6839 if (PyErr_Occurred()) SWIG_fail
;
6840 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxChar
,
6841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6842 arg3
= (time_t) SWIG_AsUnsignedInt(obj2
);
6843 if (PyErr_Occurred()) SWIG_fail
;
6845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6846 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
6848 wxPyEndAllowThreads(__tstate
);
6849 if (PyErr_Occurred()) SWIG_fail
;
6851 Py_INCREF(Py_None
); resultobj
= Py_None
;
6858 static PyObject
*_wrap_Log_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6859 PyObject
*resultobj
;
6860 wxLog
*arg1
= (wxLog
*) 0 ;
6861 PyObject
* obj0
= 0 ;
6863 (char *) "self", NULL
6866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Flush",kwnames
,&obj0
)) goto fail
;
6867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
6868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6873 wxPyEndAllowThreads(__tstate
);
6874 if (PyErr_Occurred()) SWIG_fail
;
6876 Py_INCREF(Py_None
); resultobj
= Py_None
;
6883 static PyObject
*_wrap_Log_FlushActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6884 PyObject
*resultobj
;
6889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_FlushActive",kwnames
)) goto fail
;
6891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6892 wxLog::FlushActive();
6894 wxPyEndAllowThreads(__tstate
);
6895 if (PyErr_Occurred()) SWIG_fail
;
6897 Py_INCREF(Py_None
); resultobj
= Py_None
;
6904 static PyObject
*_wrap_Log_GetActiveTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6905 PyObject
*resultobj
;
6911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetActiveTarget",kwnames
)) goto fail
;
6913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6914 result
= (wxLog
*)wxLog::GetActiveTarget();
6916 wxPyEndAllowThreads(__tstate
);
6917 if (PyErr_Occurred()) SWIG_fail
;
6919 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
6926 static PyObject
*_wrap_Log_SetActiveTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6927 PyObject
*resultobj
;
6928 wxLog
*arg1
= (wxLog
*) 0 ;
6930 PyObject
* obj0
= 0 ;
6932 (char *) "pLogger", NULL
6935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) goto fail
;
6936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
6937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6940 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
6942 wxPyEndAllowThreads(__tstate
);
6943 if (PyErr_Occurred()) SWIG_fail
;
6945 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
6952 static PyObject
*_wrap_Log_Suspend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6953 PyObject
*resultobj
;
6958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Suspend",kwnames
)) goto fail
;
6960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6963 wxPyEndAllowThreads(__tstate
);
6964 if (PyErr_Occurred()) SWIG_fail
;
6966 Py_INCREF(Py_None
); resultobj
= Py_None
;
6973 static PyObject
*_wrap_Log_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6974 PyObject
*resultobj
;
6979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Resume",kwnames
)) goto fail
;
6981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6984 wxPyEndAllowThreads(__tstate
);
6985 if (PyErr_Occurred()) SWIG_fail
;
6987 Py_INCREF(Py_None
); resultobj
= Py_None
;
6994 static PyObject
*_wrap_Log_SetVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6995 PyObject
*resultobj
;
6996 bool arg1
= (bool) True
;
6997 PyObject
* obj0
= 0 ;
6999 (char *) "bVerbose", NULL
7002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) goto fail
;
7004 arg1
= (bool) SWIG_AsBool(obj0
);
7005 if (PyErr_Occurred()) SWIG_fail
;
7008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7009 wxLog::SetVerbose(arg1
);
7011 wxPyEndAllowThreads(__tstate
);
7012 if (PyErr_Occurred()) SWIG_fail
;
7014 Py_INCREF(Py_None
); resultobj
= Py_None
;
7021 static PyObject
*_wrap_Log_SetLogLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7022 PyObject
*resultobj
;
7024 PyObject
* obj0
= 0 ;
7026 (char *) "logLevel", NULL
7029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) goto fail
;
7030 arg1
= (wxLogLevel
) SWIG_AsUnsignedLong(obj0
);
7031 if (PyErr_Occurred()) SWIG_fail
;
7033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7034 wxLog::SetLogLevel(arg1
);
7036 wxPyEndAllowThreads(__tstate
);
7037 if (PyErr_Occurred()) SWIG_fail
;
7039 Py_INCREF(Py_None
); resultobj
= Py_None
;
7046 static PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7047 PyObject
*resultobj
;
7052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_DontCreateOnDemand",kwnames
)) goto fail
;
7054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7055 wxLog::DontCreateOnDemand();
7057 wxPyEndAllowThreads(__tstate
);
7058 if (PyErr_Occurred()) SWIG_fail
;
7060 Py_INCREF(Py_None
); resultobj
= Py_None
;
7067 static PyObject
*_wrap_Log_SetTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7068 PyObject
*resultobj
;
7070 PyObject
* obj0
= 0 ;
7072 (char *) "ulMask", NULL
7075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) goto fail
;
7076 arg1
= (wxTraceMask
) SWIG_AsUnsignedLong(obj0
);
7077 if (PyErr_Occurred()) SWIG_fail
;
7079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7080 wxLog::SetTraceMask(arg1
);
7082 wxPyEndAllowThreads(__tstate
);
7083 if (PyErr_Occurred()) SWIG_fail
;
7085 Py_INCREF(Py_None
); resultobj
= Py_None
;
7092 static PyObject
*_wrap_Log_AddTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7093 PyObject
*resultobj
;
7094 wxString
*arg1
= 0 ;
7095 bool temp1
= False
;
7096 PyObject
* obj0
= 0 ;
7098 (char *) "str", NULL
7101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) goto fail
;
7103 arg1
= wxString_in_helper(obj0
);
7104 if (arg1
== NULL
) SWIG_fail
;
7108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7109 wxLog::AddTraceMask((wxString
const &)*arg1
);
7111 wxPyEndAllowThreads(__tstate
);
7112 if (PyErr_Occurred()) SWIG_fail
;
7114 Py_INCREF(Py_None
); resultobj
= Py_None
;
7129 static PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7130 PyObject
*resultobj
;
7131 wxString
*arg1
= 0 ;
7132 bool temp1
= False
;
7133 PyObject
* obj0
= 0 ;
7135 (char *) "str", NULL
7138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) goto fail
;
7140 arg1
= wxString_in_helper(obj0
);
7141 if (arg1
== NULL
) SWIG_fail
;
7145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7146 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
7148 wxPyEndAllowThreads(__tstate
);
7149 if (PyErr_Occurred()) SWIG_fail
;
7151 Py_INCREF(Py_None
); resultobj
= Py_None
;
7166 static PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7167 PyObject
*resultobj
;
7172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_ClearTraceMasks",kwnames
)) goto fail
;
7174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7175 wxLog::ClearTraceMasks();
7177 wxPyEndAllowThreads(__tstate
);
7178 if (PyErr_Occurred()) SWIG_fail
;
7180 Py_INCREF(Py_None
); resultobj
= Py_None
;
7187 static PyObject
*_wrap_Log_GetTraceMasks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7188 PyObject
*resultobj
;
7189 wxArrayString
*result
;
7194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMasks",kwnames
)) goto fail
;
7196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7198 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
7199 result
= (wxArrayString
*) &_result_ref
;
7202 wxPyEndAllowThreads(__tstate
);
7203 if (PyErr_Occurred()) SWIG_fail
;
7206 resultobj
= wxArrayString2PyList_helper(*result
);
7214 static PyObject
*_wrap_Log_SetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7215 PyObject
*resultobj
;
7216 wxChar
*arg1
= (wxChar
*) 0 ;
7217 PyObject
* obj0
= 0 ;
7222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) goto fail
;
7223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChar
,
7224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7227 wxLog::SetTimestamp((wxChar
const *)arg1
);
7229 wxPyEndAllowThreads(__tstate
);
7230 if (PyErr_Occurred()) SWIG_fail
;
7232 Py_INCREF(Py_None
); resultobj
= Py_None
;
7239 static PyObject
*_wrap_Log_GetVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7240 PyObject
*resultobj
;
7246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetVerbose",kwnames
)) goto fail
;
7248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7249 result
= (bool)wxLog::GetVerbose();
7251 wxPyEndAllowThreads(__tstate
);
7252 if (PyErr_Occurred()) SWIG_fail
;
7254 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7261 static PyObject
*_wrap_Log_GetTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7262 PyObject
*resultobj
;
7268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMask",kwnames
)) goto fail
;
7270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7271 result
= (wxTraceMask
)wxLog::GetTraceMask();
7273 wxPyEndAllowThreads(__tstate
);
7274 if (PyErr_Occurred()) SWIG_fail
;
7276 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
7283 static PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7284 PyObject
*resultobj
;
7285 wxChar
*arg1
= (wxChar
*) 0 ;
7287 PyObject
* obj0
= 0 ;
7289 (char *) "mask", NULL
7292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) goto fail
;
7293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChar
,
7294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7297 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
7299 wxPyEndAllowThreads(__tstate
);
7300 if (PyErr_Occurred()) SWIG_fail
;
7302 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7309 static PyObject
*_wrap_Log_GetLogLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7310 PyObject
*resultobj
;
7316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetLogLevel",kwnames
)) goto fail
;
7318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7319 result
= (wxLogLevel
)wxLog::GetLogLevel();
7321 wxPyEndAllowThreads(__tstate
);
7322 if (PyErr_Occurred()) SWIG_fail
;
7324 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
7331 static PyObject
*_wrap_Log_GetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7332 PyObject
*resultobj
;
7338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTimestamp",kwnames
)) goto fail
;
7340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7341 result
= (wxChar
*)wxLog::GetTimestamp();
7343 wxPyEndAllowThreads(__tstate
);
7344 if (PyErr_Occurred()) SWIG_fail
;
7346 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChar
, 0);
7353 static PyObject
*_wrap_Log_TimeStamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7354 PyObject
*resultobj
;
7360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_TimeStamp",kwnames
)) goto fail
;
7362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7363 result
= Log_TimeStamp();
7365 wxPyEndAllowThreads(__tstate
);
7366 if (PyErr_Occurred()) SWIG_fail
;
7370 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7372 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7381 static PyObject
*_wrap_Log_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7382 PyObject
*resultobj
;
7383 wxLog
*arg1
= (wxLog
*) 0 ;
7384 PyObject
* obj0
= 0 ;
7386 (char *) "self", NULL
7389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Destroy",kwnames
,&obj0
)) goto fail
;
7390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7394 wxLog_Destroy(arg1
);
7396 wxPyEndAllowThreads(__tstate
);
7397 if (PyErr_Occurred()) SWIG_fail
;
7399 Py_INCREF(Py_None
); resultobj
= Py_None
;
7406 static PyObject
* Log_swigregister(PyObject
*, PyObject
*args
) {
7408 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7409 SWIG_TypeClientData(SWIGTYPE_p_wxLog
, obj
);
7411 return Py_BuildValue((char *)"");
7413 static PyObject
*_wrap_new_LogStderr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7414 PyObject
*resultobj
;
7415 wxLogStderr
*result
;
7420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogStderr",kwnames
)) goto fail
;
7422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7423 result
= (wxLogStderr
*)new wxLogStderr();
7425 wxPyEndAllowThreads(__tstate
);
7426 if (PyErr_Occurred()) SWIG_fail
;
7428 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogStderr
, 1);
7435 static PyObject
* LogStderr_swigregister(PyObject
*, PyObject
*args
) {
7437 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7438 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr
, obj
);
7440 return Py_BuildValue((char *)"");
7442 static PyObject
*_wrap_new_LogTextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7443 PyObject
*resultobj
;
7444 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7445 wxLogTextCtrl
*result
;
7446 PyObject
* obj0
= 0 ;
7448 (char *) "pTextCtrl", NULL
7451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) goto fail
;
7452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7456 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
7458 wxPyEndAllowThreads(__tstate
);
7459 if (PyErr_Occurred()) SWIG_fail
;
7461 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogTextCtrl
, 1);
7468 static PyObject
* LogTextCtrl_swigregister(PyObject
*, PyObject
*args
) {
7470 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7471 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl
, obj
);
7473 return Py_BuildValue((char *)"");
7475 static PyObject
*_wrap_new_LogGui(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7476 PyObject
*resultobj
;
7482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogGui",kwnames
)) goto fail
;
7484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7485 result
= (wxLogGui
*)new wxLogGui();
7487 wxPyEndAllowThreads(__tstate
);
7488 if (PyErr_Occurred()) SWIG_fail
;
7490 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogGui
, 1);
7497 static PyObject
* LogGui_swigregister(PyObject
*, PyObject
*args
) {
7499 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7500 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui
, obj
);
7502 return Py_BuildValue((char *)"");
7504 static PyObject
*_wrap_new_LogWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7505 PyObject
*resultobj
;
7506 wxFrame
*arg1
= (wxFrame
*) 0 ;
7507 wxString
*arg2
= 0 ;
7508 bool arg3
= (bool) True
;
7509 bool arg4
= (bool) True
;
7510 wxLogWindow
*result
;
7511 bool temp2
= False
;
7512 PyObject
* obj0
= 0 ;
7513 PyObject
* obj1
= 0 ;
7514 PyObject
* obj2
= 0 ;
7515 PyObject
* obj3
= 0 ;
7517 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
7520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
7522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7524 arg2
= wxString_in_helper(obj1
);
7525 if (arg2
== NULL
) SWIG_fail
;
7529 arg3
= (bool) SWIG_AsBool(obj2
);
7530 if (PyErr_Occurred()) SWIG_fail
;
7533 arg4
= (bool) SWIG_AsBool(obj3
);
7534 if (PyErr_Occurred()) SWIG_fail
;
7537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7538 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
7540 wxPyEndAllowThreads(__tstate
);
7541 if (PyErr_Occurred()) SWIG_fail
;
7543 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogWindow
, 1);
7558 static PyObject
*_wrap_LogWindow_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7559 PyObject
*resultobj
;
7560 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7561 bool arg2
= (bool) True
;
7562 PyObject
* obj0
= 0 ;
7563 PyObject
* obj1
= 0 ;
7565 (char *) "self",(char *) "bShow", NULL
7568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
7569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7572 arg2
= (bool) SWIG_AsBool(obj1
);
7573 if (PyErr_Occurred()) SWIG_fail
;
7576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7579 wxPyEndAllowThreads(__tstate
);
7580 if (PyErr_Occurred()) SWIG_fail
;
7582 Py_INCREF(Py_None
); resultobj
= Py_None
;
7589 static PyObject
*_wrap_LogWindow_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7590 PyObject
*resultobj
;
7591 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7593 PyObject
* obj0
= 0 ;
7595 (char *) "self", NULL
7598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetFrame",kwnames
,&obj0
)) goto fail
;
7599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7603 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
7605 wxPyEndAllowThreads(__tstate
);
7606 if (PyErr_Occurred()) SWIG_fail
;
7609 resultobj
= wxPyMake_wxObject(result
);
7617 static PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7618 PyObject
*resultobj
;
7619 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7621 PyObject
* obj0
= 0 ;
7623 (char *) "self", NULL
7626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetOldLog",kwnames
,&obj0
)) goto fail
;
7627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7631 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
7633 wxPyEndAllowThreads(__tstate
);
7634 if (PyErr_Occurred()) SWIG_fail
;
7636 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7643 static PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7644 PyObject
*resultobj
;
7645 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7647 PyObject
* obj0
= 0 ;
7649 (char *) "self", NULL
7652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
7653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7657 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
7659 wxPyEndAllowThreads(__tstate
);
7660 if (PyErr_Occurred()) SWIG_fail
;
7662 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7669 static PyObject
*_wrap_LogWindow_PassMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7670 PyObject
*resultobj
;
7671 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7673 PyObject
* obj0
= 0 ;
7674 PyObject
* obj1
= 0 ;
7676 (char *) "self",(char *) "bDoPass", NULL
7679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
7680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7682 arg2
= (bool) SWIG_AsBool(obj1
);
7683 if (PyErr_Occurred()) SWIG_fail
;
7685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7686 (arg1
)->PassMessages(arg2
);
7688 wxPyEndAllowThreads(__tstate
);
7689 if (PyErr_Occurred()) SWIG_fail
;
7691 Py_INCREF(Py_None
); resultobj
= Py_None
;
7698 static PyObject
* LogWindow_swigregister(PyObject
*, PyObject
*args
) {
7700 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7701 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow
, obj
);
7703 return Py_BuildValue((char *)"");
7705 static PyObject
*_wrap_new_LogChain(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7706 PyObject
*resultobj
;
7707 wxLog
*arg1
= (wxLog
*) 0 ;
7709 PyObject
* obj0
= 0 ;
7711 (char *) "logger", NULL
7714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) goto fail
;
7715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7719 result
= (wxLogChain
*)new wxLogChain(arg1
);
7721 wxPyEndAllowThreads(__tstate
);
7722 if (PyErr_Occurred()) SWIG_fail
;
7724 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogChain
, 1);
7731 static PyObject
*_wrap_LogChain_SetLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7732 PyObject
*resultobj
;
7733 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7734 wxLog
*arg2
= (wxLog
*) 0 ;
7735 PyObject
* obj0
= 0 ;
7736 PyObject
* obj1
= 0 ;
7738 (char *) "self",(char *) "logger", NULL
7741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) goto fail
;
7742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
7743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7744 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLog
,
7745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7748 (arg1
)->SetLog(arg2
);
7750 wxPyEndAllowThreads(__tstate
);
7751 if (PyErr_Occurred()) SWIG_fail
;
7753 Py_INCREF(Py_None
); resultobj
= Py_None
;
7760 static PyObject
*_wrap_LogChain_PassMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7761 PyObject
*resultobj
;
7762 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7764 PyObject
* obj0
= 0 ;
7765 PyObject
* obj1
= 0 ;
7767 (char *) "self",(char *) "bDoPass", NULL
7770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
7771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
7772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7773 arg2
= (bool) SWIG_AsBool(obj1
);
7774 if (PyErr_Occurred()) SWIG_fail
;
7776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7777 (arg1
)->PassMessages(arg2
);
7779 wxPyEndAllowThreads(__tstate
);
7780 if (PyErr_Occurred()) SWIG_fail
;
7782 Py_INCREF(Py_None
); resultobj
= Py_None
;
7789 static PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7790 PyObject
*resultobj
;
7791 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7793 PyObject
* obj0
= 0 ;
7795 (char *) "self", NULL
7798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
7799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
7800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7803 result
= (bool)(arg1
)->IsPassingMessages();
7805 wxPyEndAllowThreads(__tstate
);
7806 if (PyErr_Occurred()) SWIG_fail
;
7808 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7815 static PyObject
*_wrap_LogChain_GetOldLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7816 PyObject
*resultobj
;
7817 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7819 PyObject
* obj0
= 0 ;
7821 (char *) "self", NULL
7824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_GetOldLog",kwnames
,&obj0
)) goto fail
;
7825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
7826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7829 result
= (wxLog
*)(arg1
)->GetOldLog();
7831 wxPyEndAllowThreads(__tstate
);
7832 if (PyErr_Occurred()) SWIG_fail
;
7834 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7841 static PyObject
* LogChain_swigregister(PyObject
*, PyObject
*args
) {
7843 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7844 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain
, obj
);
7846 return Py_BuildValue((char *)"");
7848 static PyObject
*_wrap_SysErrorCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7849 PyObject
*resultobj
;
7850 unsigned long result
;
7855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SysErrorCode",kwnames
)) goto fail
;
7857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7858 result
= (unsigned long)wxSysErrorCode();
7860 wxPyEndAllowThreads(__tstate
);
7861 if (PyErr_Occurred()) SWIG_fail
;
7863 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
7870 static PyObject
*_wrap_SysErrorMsg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7871 PyObject
*resultobj
;
7872 unsigned long arg1
= (unsigned long) 0 ;
7874 PyObject
* obj0
= 0 ;
7876 (char *) "nErrCode", NULL
7879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) goto fail
;
7881 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
7882 if (PyErr_Occurred()) SWIG_fail
;
7885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7886 result
= wxSysErrorMsg(arg1
);
7888 wxPyEndAllowThreads(__tstate
);
7889 if (PyErr_Occurred()) SWIG_fail
;
7893 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7895 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7904 static PyObject
*_wrap_LogFatalError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7905 PyObject
*resultobj
;
7906 wxString
*arg1
= 0 ;
7907 bool temp1
= False
;
7908 PyObject
* obj0
= 0 ;
7910 (char *) "msg", NULL
7913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) goto fail
;
7915 arg1
= wxString_in_helper(obj0
);
7916 if (arg1
== NULL
) SWIG_fail
;
7920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7921 wxLogFatalError((wxString
const &)*arg1
);
7923 wxPyEndAllowThreads(__tstate
);
7924 if (PyErr_Occurred()) SWIG_fail
;
7926 Py_INCREF(Py_None
); resultobj
= Py_None
;
7941 static PyObject
*_wrap_LogError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7942 PyObject
*resultobj
;
7943 wxString
*arg1
= 0 ;
7944 bool temp1
= False
;
7945 PyObject
* obj0
= 0 ;
7947 (char *) "msg", NULL
7950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) goto fail
;
7952 arg1
= wxString_in_helper(obj0
);
7953 if (arg1
== NULL
) SWIG_fail
;
7957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7958 wxLogError((wxString
const &)*arg1
);
7960 wxPyEndAllowThreads(__tstate
);
7961 if (PyErr_Occurred()) SWIG_fail
;
7963 Py_INCREF(Py_None
); resultobj
= Py_None
;
7978 static PyObject
*_wrap_LogWarning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7979 PyObject
*resultobj
;
7980 wxString
*arg1
= 0 ;
7981 bool temp1
= False
;
7982 PyObject
* obj0
= 0 ;
7984 (char *) "msg", NULL
7987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) goto fail
;
7989 arg1
= wxString_in_helper(obj0
);
7990 if (arg1
== NULL
) SWIG_fail
;
7994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7995 wxLogWarning((wxString
const &)*arg1
);
7997 wxPyEndAllowThreads(__tstate
);
7998 if (PyErr_Occurred()) SWIG_fail
;
8000 Py_INCREF(Py_None
); resultobj
= Py_None
;
8015 static PyObject
*_wrap_LogMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8016 PyObject
*resultobj
;
8017 wxString
*arg1
= 0 ;
8018 bool temp1
= False
;
8019 PyObject
* obj0
= 0 ;
8021 (char *) "msg", NULL
8024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) goto fail
;
8026 arg1
= wxString_in_helper(obj0
);
8027 if (arg1
== NULL
) SWIG_fail
;
8031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8032 wxLogMessage((wxString
const &)*arg1
);
8034 wxPyEndAllowThreads(__tstate
);
8035 if (PyErr_Occurred()) SWIG_fail
;
8037 Py_INCREF(Py_None
); resultobj
= Py_None
;
8052 static PyObject
*_wrap_LogInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8053 PyObject
*resultobj
;
8054 wxString
*arg1
= 0 ;
8055 bool temp1
= False
;
8056 PyObject
* obj0
= 0 ;
8058 (char *) "msg", NULL
8061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) goto fail
;
8063 arg1
= wxString_in_helper(obj0
);
8064 if (arg1
== NULL
) SWIG_fail
;
8068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8069 wxLogInfo((wxString
const &)*arg1
);
8071 wxPyEndAllowThreads(__tstate
);
8072 if (PyErr_Occurred()) SWIG_fail
;
8074 Py_INCREF(Py_None
); resultobj
= Py_None
;
8089 static PyObject
*_wrap_LogDebug(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8090 PyObject
*resultobj
;
8091 wxString
*arg1
= 0 ;
8092 bool temp1
= False
;
8093 PyObject
* obj0
= 0 ;
8095 (char *) "msg", NULL
8098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) goto fail
;
8100 arg1
= wxString_in_helper(obj0
);
8101 if (arg1
== NULL
) SWIG_fail
;
8105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8106 wxLogDebug((wxString
const &)*arg1
);
8108 wxPyEndAllowThreads(__tstate
);
8109 if (PyErr_Occurred()) SWIG_fail
;
8111 Py_INCREF(Py_None
); resultobj
= Py_None
;
8126 static PyObject
*_wrap_LogVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8127 PyObject
*resultobj
;
8128 wxString
*arg1
= 0 ;
8129 bool temp1
= False
;
8130 PyObject
* obj0
= 0 ;
8132 (char *) "msg", NULL
8135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) goto fail
;
8137 arg1
= wxString_in_helper(obj0
);
8138 if (arg1
== NULL
) SWIG_fail
;
8142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8143 wxLogVerbose((wxString
const &)*arg1
);
8145 wxPyEndAllowThreads(__tstate
);
8146 if (PyErr_Occurred()) SWIG_fail
;
8148 Py_INCREF(Py_None
); resultobj
= Py_None
;
8163 static PyObject
*_wrap_LogStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8164 PyObject
*resultobj
;
8165 wxString
*arg1
= 0 ;
8166 bool temp1
= False
;
8167 PyObject
* obj0
= 0 ;
8169 (char *) "msg", NULL
8172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) goto fail
;
8174 arg1
= wxString_in_helper(obj0
);
8175 if (arg1
== NULL
) SWIG_fail
;
8179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8180 wxLogStatus((wxString
const &)*arg1
);
8182 wxPyEndAllowThreads(__tstate
);
8183 if (PyErr_Occurred()) SWIG_fail
;
8185 Py_INCREF(Py_None
); resultobj
= Py_None
;
8200 static PyObject
*_wrap_LogStatusFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8201 PyObject
*resultobj
;
8202 wxFrame
*arg1
= (wxFrame
*) 0 ;
8203 wxString
*arg2
= 0 ;
8204 bool temp2
= False
;
8205 PyObject
* obj0
= 0 ;
8206 PyObject
* obj1
= 0 ;
8208 (char *) "pFrame",(char *) "msg", NULL
8211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
8212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
8213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8215 arg2
= wxString_in_helper(obj1
);
8216 if (arg2
== NULL
) SWIG_fail
;
8220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8221 wxLogStatus(arg1
,(wxString
const &)*arg2
);
8223 wxPyEndAllowThreads(__tstate
);
8224 if (PyErr_Occurred()) SWIG_fail
;
8226 Py_INCREF(Py_None
); resultobj
= Py_None
;
8241 static PyObject
*_wrap_LogSysError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8242 PyObject
*resultobj
;
8243 wxString
*arg1
= 0 ;
8244 bool temp1
= False
;
8245 PyObject
* obj0
= 0 ;
8247 (char *) "msg", NULL
8250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) goto fail
;
8252 arg1
= wxString_in_helper(obj0
);
8253 if (arg1
== NULL
) SWIG_fail
;
8257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8258 wxLogSysError((wxString
const &)*arg1
);
8260 wxPyEndAllowThreads(__tstate
);
8261 if (PyErr_Occurred()) SWIG_fail
;
8263 Py_INCREF(Py_None
); resultobj
= Py_None
;
8278 static PyObject
*_wrap_LogTrace__SWIG_0(PyObject
*, PyObject
*args
) {
8279 PyObject
*resultobj
;
8280 unsigned long arg1
;
8281 wxString
*arg2
= 0 ;
8282 bool temp2
= False
;
8283 PyObject
* obj0
= 0 ;
8284 PyObject
* obj1
= 0 ;
8286 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
8287 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
8288 if (PyErr_Occurred()) SWIG_fail
;
8290 arg2
= wxString_in_helper(obj1
);
8291 if (arg2
== NULL
) SWIG_fail
;
8295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8296 wxLogTrace(arg1
,(wxString
const &)*arg2
);
8298 wxPyEndAllowThreads(__tstate
);
8299 if (PyErr_Occurred()) SWIG_fail
;
8301 Py_INCREF(Py_None
); resultobj
= Py_None
;
8316 static PyObject
*_wrap_LogTrace__SWIG_1(PyObject
*, PyObject
*args
) {
8317 PyObject
*resultobj
;
8318 wxString
*arg1
= 0 ;
8319 wxString
*arg2
= 0 ;
8320 bool temp1
= False
;
8321 bool temp2
= False
;
8322 PyObject
* obj0
= 0 ;
8323 PyObject
* obj1
= 0 ;
8325 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
8327 arg1
= wxString_in_helper(obj0
);
8328 if (arg1
== NULL
) SWIG_fail
;
8332 arg2
= wxString_in_helper(obj1
);
8333 if (arg2
== NULL
) SWIG_fail
;
8337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8338 wxLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
8340 wxPyEndAllowThreads(__tstate
);
8341 if (PyErr_Occurred()) SWIG_fail
;
8343 Py_INCREF(Py_None
); resultobj
= Py_None
;
8366 static PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
) {
8371 argc
= PyObject_Length(args
);
8372 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
8373 argv
[ii
] = PyTuple_GetItem(args
,ii
);
8378 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
8382 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
8385 return _wrap_LogTrace__SWIG_1(self
,args
);
8391 _v
= SWIG_CheckUnsignedLong(argv
[0]);
8394 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
8397 return _wrap_LogTrace__SWIG_0(self
,args
);
8402 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'LogTrace'");
8407 static PyObject
*_wrap_LogGeneric(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8408 PyObject
*resultobj
;
8409 unsigned long arg1
;
8410 wxString
*arg2
= 0 ;
8411 bool temp2
= False
;
8412 PyObject
* obj0
= 0 ;
8413 PyObject
* obj1
= 0 ;
8415 (char *) "level",(char *) "msg", NULL
8418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) goto fail
;
8419 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
8420 if (PyErr_Occurred()) SWIG_fail
;
8422 arg2
= wxString_in_helper(obj1
);
8423 if (arg2
== NULL
) SWIG_fail
;
8427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8428 wxLogGeneric(arg1
,(wxString
const &)*arg2
);
8430 wxPyEndAllowThreads(__tstate
);
8431 if (PyErr_Occurred()) SWIG_fail
;
8433 Py_INCREF(Py_None
); resultobj
= Py_None
;
8448 static PyObject
*_wrap_SafeShowMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8449 PyObject
*resultobj
;
8450 wxString
*arg1
= 0 ;
8451 wxString
*arg2
= 0 ;
8452 bool temp1
= False
;
8453 bool temp2
= False
;
8454 PyObject
* obj0
= 0 ;
8455 PyObject
* obj1
= 0 ;
8457 (char *) "title",(char *) "text", NULL
8460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
8462 arg1
= wxString_in_helper(obj0
);
8463 if (arg1
== NULL
) SWIG_fail
;
8467 arg2
= wxString_in_helper(obj1
);
8468 if (arg2
== NULL
) SWIG_fail
;
8472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8473 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
8475 wxPyEndAllowThreads(__tstate
);
8476 if (PyErr_Occurred()) SWIG_fail
;
8478 Py_INCREF(Py_None
); resultobj
= Py_None
;
8501 static PyObject
*_wrap_new_LogNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8502 PyObject
*resultobj
;
8508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogNull",kwnames
)) goto fail
;
8510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8511 result
= (wxLogNull
*)new wxLogNull();
8513 wxPyEndAllowThreads(__tstate
);
8514 if (PyErr_Occurred()) SWIG_fail
;
8516 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogNull
, 1);
8523 static PyObject
*_wrap_delete_LogNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8524 PyObject
*resultobj
;
8525 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
8526 PyObject
* obj0
= 0 ;
8528 (char *) "self", NULL
8531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LogNull",kwnames
,&obj0
)) goto fail
;
8532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogNull
,
8533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8538 wxPyEndAllowThreads(__tstate
);
8539 if (PyErr_Occurred()) SWIG_fail
;
8541 Py_INCREF(Py_None
); resultobj
= Py_None
;
8548 static PyObject
* LogNull_swigregister(PyObject
*, PyObject
*args
) {
8550 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8551 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull
, obj
);
8553 return Py_BuildValue((char *)"");
8555 static PyObject
*_wrap_new_PyLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8556 PyObject
*resultobj
;
8562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyLog",kwnames
)) goto fail
;
8564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8565 result
= (wxPyLog
*)new wxPyLog();
8567 wxPyEndAllowThreads(__tstate
);
8568 if (PyErr_Occurred()) SWIG_fail
;
8570 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyLog
, 1);
8577 static PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8578 PyObject
*resultobj
;
8579 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
8580 PyObject
*arg2
= (PyObject
*) 0 ;
8581 PyObject
*arg3
= (PyObject
*) 0 ;
8582 PyObject
* obj0
= 0 ;
8583 PyObject
* obj1
= 0 ;
8584 PyObject
* obj2
= 0 ;
8586 (char *) "self",(char *) "self",(char *) "_class", NULL
8589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLog
,
8591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8596 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8598 wxPyEndAllowThreads(__tstate
);
8599 if (PyErr_Occurred()) SWIG_fail
;
8601 Py_INCREF(Py_None
); resultobj
= Py_None
;
8608 static PyObject
* PyLog_swigregister(PyObject
*, PyObject
*args
) {
8610 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8611 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog
, obj
);
8613 return Py_BuildValue((char *)"");
8615 static PyObject
*_wrap_Process_Kill(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8616 PyObject
*resultobj
;
8618 int arg2
= (int) wxSIGTERM
;
8620 PyObject
* obj0
= 0 ;
8621 PyObject
* obj1
= 0 ;
8623 (char *) "pid",(char *) "sig", NULL
8626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Kill",kwnames
,&obj0
,&obj1
)) goto fail
;
8627 arg1
= (int) SWIG_AsInt(obj0
);
8628 if (PyErr_Occurred()) SWIG_fail
;
8630 arg2
= (wxSignal
) SWIG_AsInt(obj1
);
8631 if (PyErr_Occurred()) SWIG_fail
;
8634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8635 result
= (int)wxPyProcess::Kill(arg1
,(wxSignal
)arg2
);
8637 wxPyEndAllowThreads(__tstate
);
8638 if (PyErr_Occurred()) SWIG_fail
;
8640 resultobj
= SWIG_FromInt((int)result
);
8647 static PyObject
*_wrap_Process_Exists(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8648 PyObject
*resultobj
;
8651 PyObject
* obj0
= 0 ;
8653 (char *) "pid", NULL
8656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Exists",kwnames
,&obj0
)) goto fail
;
8657 arg1
= (int) SWIG_AsInt(obj0
);
8658 if (PyErr_Occurred()) SWIG_fail
;
8660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8661 result
= (bool)wxPyProcess::Exists(arg1
);
8663 wxPyEndAllowThreads(__tstate
);
8664 if (PyErr_Occurred()) SWIG_fail
;
8666 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8673 static PyObject
*_wrap_Process_Open(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8674 PyObject
*resultobj
;
8675 wxString
*arg1
= 0 ;
8676 int arg2
= (int) wxEXEC_ASYNC
;
8677 wxPyProcess
*result
;
8678 bool temp1
= False
;
8679 PyObject
* obj0
= 0 ;
8680 PyObject
* obj1
= 0 ;
8682 (char *) "cmd",(char *) "flags", NULL
8685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Open",kwnames
,&obj0
,&obj1
)) goto fail
;
8687 arg1
= wxString_in_helper(obj0
);
8688 if (arg1
== NULL
) SWIG_fail
;
8692 arg2
= (int) SWIG_AsInt(obj1
);
8693 if (PyErr_Occurred()) SWIG_fail
;
8696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8697 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
8699 wxPyEndAllowThreads(__tstate
);
8700 if (PyErr_Occurred()) SWIG_fail
;
8702 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 0);
8717 static PyObject
*_wrap_new_Process(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8718 PyObject
*resultobj
;
8719 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
8720 int arg2
= (int) -1 ;
8721 wxPyProcess
*result
;
8722 PyObject
* obj0
= 0 ;
8723 PyObject
* obj1
= 0 ;
8725 (char *) "parent",(char *) "id", NULL
8728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Process",kwnames
,&obj0
,&obj1
)) goto fail
;
8730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
8731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8734 arg2
= (int) SWIG_AsInt(obj1
);
8735 if (PyErr_Occurred()) SWIG_fail
;
8738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8739 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
8741 wxPyEndAllowThreads(__tstate
);
8742 if (PyErr_Occurred()) SWIG_fail
;
8744 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 1);
8751 static PyObject
*_wrap_Process__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8752 PyObject
*resultobj
;
8753 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8754 PyObject
*arg2
= (PyObject
*) 0 ;
8755 PyObject
*arg3
= (PyObject
*) 0 ;
8756 PyObject
* obj0
= 0 ;
8757 PyObject
* obj1
= 0 ;
8758 PyObject
* obj2
= 0 ;
8760 (char *) "self",(char *) "self",(char *) "_class", NULL
8763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
8765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8770 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8772 wxPyEndAllowThreads(__tstate
);
8773 if (PyErr_Occurred()) SWIG_fail
;
8775 Py_INCREF(Py_None
); resultobj
= Py_None
;
8782 static PyObject
*_wrap_Process_base_OnTerminate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8783 PyObject
*resultobj
;
8784 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8787 PyObject
* obj0
= 0 ;
8788 PyObject
* obj1
= 0 ;
8789 PyObject
* obj2
= 0 ;
8791 (char *) "self",(char *) "pid",(char *) "status", NULL
8794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process_base_OnTerminate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
8796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8797 arg2
= (int) SWIG_AsInt(obj1
);
8798 if (PyErr_Occurred()) SWIG_fail
;
8799 arg3
= (int) SWIG_AsInt(obj2
);
8800 if (PyErr_Occurred()) SWIG_fail
;
8802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8803 (arg1
)->base_OnTerminate(arg2
,arg3
);
8805 wxPyEndAllowThreads(__tstate
);
8806 if (PyErr_Occurred()) SWIG_fail
;
8808 Py_INCREF(Py_None
); resultobj
= Py_None
;
8815 static PyObject
*_wrap_Process_Redirect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8816 PyObject
*resultobj
;
8817 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8818 PyObject
* obj0
= 0 ;
8820 (char *) "self", NULL
8823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Redirect",kwnames
,&obj0
)) goto fail
;
8824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
8825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8830 wxPyEndAllowThreads(__tstate
);
8831 if (PyErr_Occurred()) SWIG_fail
;
8833 Py_INCREF(Py_None
); resultobj
= Py_None
;
8840 static PyObject
*_wrap_Process_IsRedirected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8841 PyObject
*resultobj
;
8842 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8844 PyObject
* obj0
= 0 ;
8846 (char *) "self", NULL
8849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsRedirected",kwnames
,&obj0
)) goto fail
;
8850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
8851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8854 result
= (bool)(arg1
)->IsRedirected();
8856 wxPyEndAllowThreads(__tstate
);
8857 if (PyErr_Occurred()) SWIG_fail
;
8859 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8866 static PyObject
*_wrap_Process_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8867 PyObject
*resultobj
;
8868 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8869 PyObject
* obj0
= 0 ;
8871 (char *) "self", NULL
8874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Detach",kwnames
,&obj0
)) goto fail
;
8875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
8876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8881 wxPyEndAllowThreads(__tstate
);
8882 if (PyErr_Occurred()) SWIG_fail
;
8884 Py_INCREF(Py_None
); resultobj
= Py_None
;
8891 static PyObject
*_wrap_Process_GetInputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8892 PyObject
*resultobj
;
8893 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8894 wxInputStream
*result
;
8895 PyObject
* obj0
= 0 ;
8897 (char *) "self", NULL
8900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetInputStream",kwnames
,&obj0
)) goto fail
;
8901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
8902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8905 result
= (wxInputStream
*)(arg1
)->GetInputStream();
8907 wxPyEndAllowThreads(__tstate
);
8908 if (PyErr_Occurred()) SWIG_fail
;
8911 wxPyInputStream
* _ptr
= NULL
;
8914 _ptr
= new wxPyInputStream(result
);
8916 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
8924 static PyObject
*_wrap_Process_GetErrorStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8925 PyObject
*resultobj
;
8926 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8927 wxInputStream
*result
;
8928 PyObject
* obj0
= 0 ;
8930 (char *) "self", NULL
8933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetErrorStream",kwnames
,&obj0
)) goto fail
;
8934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
8935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8938 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
8940 wxPyEndAllowThreads(__tstate
);
8941 if (PyErr_Occurred()) SWIG_fail
;
8944 wxPyInputStream
* _ptr
= NULL
;
8947 _ptr
= new wxPyInputStream(result
);
8949 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
8957 static PyObject
*_wrap_Process_GetOutputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8958 PyObject
*resultobj
;
8959 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8960 wxOutputStream
*result
;
8961 PyObject
* obj0
= 0 ;
8963 (char *) "self", NULL
8966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetOutputStream",kwnames
,&obj0
)) goto fail
;
8967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
8968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8971 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
8973 wxPyEndAllowThreads(__tstate
);
8974 if (PyErr_Occurred()) SWIG_fail
;
8976 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
8983 static PyObject
*_wrap_Process_CloseOutput(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8984 PyObject
*resultobj
;
8985 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8986 PyObject
* obj0
= 0 ;
8988 (char *) "self", NULL
8991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_CloseOutput",kwnames
,&obj0
)) goto fail
;
8992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
8993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8996 (arg1
)->CloseOutput();
8998 wxPyEndAllowThreads(__tstate
);
8999 if (PyErr_Occurred()) SWIG_fail
;
9001 Py_INCREF(Py_None
); resultobj
= Py_None
;
9008 static PyObject
*_wrap_Process_IsInputOpened(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9009 PyObject
*resultobj
;
9010 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9012 PyObject
* obj0
= 0 ;
9014 (char *) "self", NULL
9017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputOpened",kwnames
,&obj0
)) goto fail
;
9018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9022 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
9024 wxPyEndAllowThreads(__tstate
);
9025 if (PyErr_Occurred()) SWIG_fail
;
9027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9034 static PyObject
*_wrap_Process_IsInputAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9035 PyObject
*resultobj
;
9036 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9038 PyObject
* obj0
= 0 ;
9040 (char *) "self", NULL
9043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputAvailable",kwnames
,&obj0
)) goto fail
;
9044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9048 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
9050 wxPyEndAllowThreads(__tstate
);
9051 if (PyErr_Occurred()) SWIG_fail
;
9053 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9060 static PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9061 PyObject
*resultobj
;
9062 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9064 PyObject
* obj0
= 0 ;
9066 (char *) "self", NULL
9069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsErrorAvailable",kwnames
,&obj0
)) goto fail
;
9070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9074 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
9076 wxPyEndAllowThreads(__tstate
);
9077 if (PyErr_Occurred()) SWIG_fail
;
9079 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9086 static PyObject
* Process_swigregister(PyObject
*, PyObject
*args
) {
9088 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9089 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess
, obj
);
9091 return Py_BuildValue((char *)"");
9093 static PyObject
*_wrap_new_ProcessEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9094 PyObject
*resultobj
;
9095 int arg1
= (int) 0 ;
9096 int arg2
= (int) 0 ;
9097 int arg3
= (int) 0 ;
9098 wxProcessEvent
*result
;
9099 PyObject
* obj0
= 0 ;
9100 PyObject
* obj1
= 0 ;
9101 PyObject
* obj2
= 0 ;
9103 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
9106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ProcessEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9108 arg1
= (int) SWIG_AsInt(obj0
);
9109 if (PyErr_Occurred()) SWIG_fail
;
9112 arg2
= (int) SWIG_AsInt(obj1
);
9113 if (PyErr_Occurred()) SWIG_fail
;
9116 arg3
= (int) SWIG_AsInt(obj2
);
9117 if (PyErr_Occurred()) SWIG_fail
;
9120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9121 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
9123 wxPyEndAllowThreads(__tstate
);
9124 if (PyErr_Occurred()) SWIG_fail
;
9126 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProcessEvent
, 1);
9133 static PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9134 PyObject
*resultobj
;
9135 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9137 PyObject
* obj0
= 0 ;
9139 (char *) "self", NULL
9142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetPid",kwnames
,&obj0
)) goto fail
;
9143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9147 result
= (int)(arg1
)->GetPid();
9149 wxPyEndAllowThreads(__tstate
);
9150 if (PyErr_Occurred()) SWIG_fail
;
9152 resultobj
= SWIG_FromInt((int)result
);
9159 static PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9160 PyObject
*resultobj
;
9161 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9163 PyObject
* obj0
= 0 ;
9165 (char *) "self", NULL
9168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetExitCode",kwnames
,&obj0
)) goto fail
;
9169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9173 result
= (int)(arg1
)->GetExitCode();
9175 wxPyEndAllowThreads(__tstate
);
9176 if (PyErr_Occurred()) SWIG_fail
;
9178 resultobj
= SWIG_FromInt((int)result
);
9185 static PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9186 PyObject
*resultobj
;
9187 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9189 PyObject
* obj0
= 0 ;
9190 PyObject
* obj1
= 0 ;
9192 (char *) "self",(char *) "m_pid", NULL
9195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_pid_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9198 arg2
= (int) SWIG_AsInt(obj1
);
9199 if (PyErr_Occurred()) SWIG_fail
;
9200 if (arg1
) (arg1
)->m_pid
= arg2
;
9202 Py_INCREF(Py_None
); resultobj
= Py_None
;
9209 static PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9210 PyObject
*resultobj
;
9211 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9213 PyObject
* obj0
= 0 ;
9215 (char *) "self", NULL
9218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_pid_get",kwnames
,&obj0
)) goto fail
;
9219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9221 result
= (int) ((arg1
)->m_pid
);
9223 resultobj
= SWIG_FromInt((int)result
);
9230 static PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9231 PyObject
*resultobj
;
9232 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9234 PyObject
* obj0
= 0 ;
9235 PyObject
* obj1
= 0 ;
9237 (char *) "self",(char *) "m_exitcode", NULL
9240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9243 arg2
= (int) SWIG_AsInt(obj1
);
9244 if (PyErr_Occurred()) SWIG_fail
;
9245 if (arg1
) (arg1
)->m_exitcode
= arg2
;
9247 Py_INCREF(Py_None
); resultobj
= Py_None
;
9254 static PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9255 PyObject
*resultobj
;
9256 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9258 PyObject
* obj0
= 0 ;
9260 (char *) "self", NULL
9263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_exitcode_get",kwnames
,&obj0
)) goto fail
;
9264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9266 result
= (int) ((arg1
)->m_exitcode
);
9268 resultobj
= SWIG_FromInt((int)result
);
9275 static PyObject
* ProcessEvent_swigregister(PyObject
*, PyObject
*args
) {
9277 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9278 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent
, obj
);
9280 return Py_BuildValue((char *)"");
9282 static PyObject
*_wrap_Execute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9283 PyObject
*resultobj
;
9284 wxString
*arg1
= 0 ;
9285 int arg2
= (int) wxEXEC_ASYNC
;
9286 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
9288 bool temp1
= False
;
9289 PyObject
* obj0
= 0 ;
9290 PyObject
* obj1
= 0 ;
9291 PyObject
* obj2
= 0 ;
9293 (char *) "command",(char *) "flags",(char *) "process", NULL
9296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Execute",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9298 arg1
= wxString_in_helper(obj0
);
9299 if (arg1
== NULL
) SWIG_fail
;
9303 arg2
= (int) SWIG_AsInt(obj1
);
9304 if (PyErr_Occurred()) SWIG_fail
;
9307 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyProcess
,
9308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9312 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
9314 wxPyEndAllowThreads(__tstate
);
9315 if (PyErr_Occurred()) SWIG_fail
;
9317 resultobj
= SWIG_FromLong((long)result
);
9332 static PyObject
*_wrap_new_Joystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9333 PyObject
*resultobj
;
9334 int arg1
= (int) wxJOYSTICK1
;
9336 PyObject
* obj0
= 0 ;
9338 (char *) "joystick", NULL
9341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Joystick",kwnames
,&obj0
)) goto fail
;
9343 arg1
= (int) SWIG_AsInt(obj0
);
9344 if (PyErr_Occurred()) SWIG_fail
;
9347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9348 result
= (wxJoystick
*)new wxJoystick(arg1
);
9350 wxPyEndAllowThreads(__tstate
);
9351 if (PyErr_Occurred()) SWIG_fail
;
9353 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystick
, 1);
9360 static PyObject
*_wrap_delete_Joystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9361 PyObject
*resultobj
;
9362 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9363 PyObject
* obj0
= 0 ;
9365 (char *) "self", NULL
9368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Joystick",kwnames
,&obj0
)) goto fail
;
9369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9375 wxPyEndAllowThreads(__tstate
);
9376 if (PyErr_Occurred()) SWIG_fail
;
9378 Py_INCREF(Py_None
); resultobj
= Py_None
;
9385 static PyObject
*_wrap_Joystick_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9386 PyObject
*resultobj
;
9387 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9389 PyObject
* obj0
= 0 ;
9391 (char *) "self", NULL
9394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPosition",kwnames
,&obj0
)) goto fail
;
9395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9399 result
= (arg1
)->GetPosition();
9401 wxPyEndAllowThreads(__tstate
);
9402 if (PyErr_Occurred()) SWIG_fail
;
9405 wxPoint
* resultptr
;
9406 resultptr
= new wxPoint((wxPoint
&) result
);
9407 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
9415 static PyObject
*_wrap_Joystick_GetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9416 PyObject
*resultobj
;
9417 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9419 PyObject
* obj0
= 0 ;
9421 (char *) "self", NULL
9424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZPosition",kwnames
,&obj0
)) goto fail
;
9425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9429 result
= (int)(arg1
)->GetZPosition();
9431 wxPyEndAllowThreads(__tstate
);
9432 if (PyErr_Occurred()) SWIG_fail
;
9434 resultobj
= SWIG_FromInt((int)result
);
9441 static PyObject
*_wrap_Joystick_GetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9442 PyObject
*resultobj
;
9443 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9445 PyObject
* obj0
= 0 ;
9447 (char *) "self", NULL
9450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetButtonState",kwnames
,&obj0
)) goto fail
;
9451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9455 result
= (int)(arg1
)->GetButtonState();
9457 wxPyEndAllowThreads(__tstate
);
9458 if (PyErr_Occurred()) SWIG_fail
;
9460 resultobj
= SWIG_FromInt((int)result
);
9467 static PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9468 PyObject
*resultobj
;
9469 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9471 PyObject
* obj0
= 0 ;
9473 (char *) "self", NULL
9476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVPosition",kwnames
,&obj0
)) goto fail
;
9477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9481 result
= (int)(arg1
)->GetPOVPosition();
9483 wxPyEndAllowThreads(__tstate
);
9484 if (PyErr_Occurred()) SWIG_fail
;
9486 resultobj
= SWIG_FromInt((int)result
);
9493 static PyObject
*_wrap_Joystick_GetPOVCTSPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9494 PyObject
*resultobj
;
9495 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9497 PyObject
* obj0
= 0 ;
9499 (char *) "self", NULL
9502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVCTSPosition",kwnames
,&obj0
)) goto fail
;
9503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9507 result
= (int)(arg1
)->GetPOVCTSPosition();
9509 wxPyEndAllowThreads(__tstate
);
9510 if (PyErr_Occurred()) SWIG_fail
;
9512 resultobj
= SWIG_FromInt((int)result
);
9519 static PyObject
*_wrap_Joystick_GetRudderPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9520 PyObject
*resultobj
;
9521 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9523 PyObject
* obj0
= 0 ;
9525 (char *) "self", NULL
9528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderPosition",kwnames
,&obj0
)) goto fail
;
9529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9533 result
= (int)(arg1
)->GetRudderPosition();
9535 wxPyEndAllowThreads(__tstate
);
9536 if (PyErr_Occurred()) SWIG_fail
;
9538 resultobj
= SWIG_FromInt((int)result
);
9545 static PyObject
*_wrap_Joystick_GetUPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9546 PyObject
*resultobj
;
9547 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9549 PyObject
* obj0
= 0 ;
9551 (char *) "self", NULL
9554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUPosition",kwnames
,&obj0
)) goto fail
;
9555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9559 result
= (int)(arg1
)->GetUPosition();
9561 wxPyEndAllowThreads(__tstate
);
9562 if (PyErr_Occurred()) SWIG_fail
;
9564 resultobj
= SWIG_FromInt((int)result
);
9571 static PyObject
*_wrap_Joystick_GetVPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9572 PyObject
*resultobj
;
9573 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9575 PyObject
* obj0
= 0 ;
9577 (char *) "self", NULL
9580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVPosition",kwnames
,&obj0
)) goto fail
;
9581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9585 result
= (int)(arg1
)->GetVPosition();
9587 wxPyEndAllowThreads(__tstate
);
9588 if (PyErr_Occurred()) SWIG_fail
;
9590 resultobj
= SWIG_FromInt((int)result
);
9597 static PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9598 PyObject
*resultobj
;
9599 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9601 PyObject
* obj0
= 0 ;
9603 (char *) "self", NULL
9606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMovementThreshold",kwnames
,&obj0
)) goto fail
;
9607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9611 result
= (int)(arg1
)->GetMovementThreshold();
9613 wxPyEndAllowThreads(__tstate
);
9614 if (PyErr_Occurred()) SWIG_fail
;
9616 resultobj
= SWIG_FromInt((int)result
);
9623 static PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9624 PyObject
*resultobj
;
9625 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9627 PyObject
* obj0
= 0 ;
9628 PyObject
* obj1
= 0 ;
9630 (char *) "self",(char *) "threshold", NULL
9633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Joystick_SetMovementThreshold",kwnames
,&obj0
,&obj1
)) goto fail
;
9634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9636 arg2
= (int) SWIG_AsInt(obj1
);
9637 if (PyErr_Occurred()) SWIG_fail
;
9639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9640 (arg1
)->SetMovementThreshold(arg2
);
9642 wxPyEndAllowThreads(__tstate
);
9643 if (PyErr_Occurred()) SWIG_fail
;
9645 Py_INCREF(Py_None
); resultobj
= Py_None
;
9652 static PyObject
*_wrap_Joystick_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9653 PyObject
*resultobj
;
9654 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9656 PyObject
* obj0
= 0 ;
9658 (char *) "self", NULL
9661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_IsOk",kwnames
,&obj0
)) goto fail
;
9662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9666 result
= (bool)(arg1
)->IsOk();
9668 wxPyEndAllowThreads(__tstate
);
9669 if (PyErr_Occurred()) SWIG_fail
;
9671 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9678 static PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9679 PyObject
*resultobj
;
9680 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9682 PyObject
* obj0
= 0 ;
9684 (char *) "self", NULL
9687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberJoysticks",kwnames
,&obj0
)) goto fail
;
9688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9692 result
= (int)(arg1
)->GetNumberJoysticks();
9694 wxPyEndAllowThreads(__tstate
);
9695 if (PyErr_Occurred()) SWIG_fail
;
9697 resultobj
= SWIG_FromInt((int)result
);
9704 static PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9705 PyObject
*resultobj
;
9706 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9708 PyObject
* obj0
= 0 ;
9710 (char *) "self", NULL
9713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetManufacturerId",kwnames
,&obj0
)) goto fail
;
9714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9718 result
= (int)(arg1
)->GetManufacturerId();
9720 wxPyEndAllowThreads(__tstate
);
9721 if (PyErr_Occurred()) SWIG_fail
;
9723 resultobj
= SWIG_FromInt((int)result
);
9730 static PyObject
*_wrap_Joystick_GetProductId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9731 PyObject
*resultobj
;
9732 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9734 PyObject
* obj0
= 0 ;
9736 (char *) "self", NULL
9739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductId",kwnames
,&obj0
)) goto fail
;
9740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9744 result
= (int)(arg1
)->GetProductId();
9746 wxPyEndAllowThreads(__tstate
);
9747 if (PyErr_Occurred()) SWIG_fail
;
9749 resultobj
= SWIG_FromInt((int)result
);
9756 static PyObject
*_wrap_Joystick_GetProductName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9757 PyObject
*resultobj
;
9758 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9760 PyObject
* obj0
= 0 ;
9762 (char *) "self", NULL
9765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductName",kwnames
,&obj0
)) goto fail
;
9766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9770 result
= (arg1
)->GetProductName();
9772 wxPyEndAllowThreads(__tstate
);
9773 if (PyErr_Occurred()) SWIG_fail
;
9777 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9779 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9788 static PyObject
*_wrap_Joystick_GetXMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9789 PyObject
*resultobj
;
9790 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9792 PyObject
* obj0
= 0 ;
9794 (char *) "self", NULL
9797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMin",kwnames
,&obj0
)) goto fail
;
9798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9802 result
= (int)(arg1
)->GetXMin();
9804 wxPyEndAllowThreads(__tstate
);
9805 if (PyErr_Occurred()) SWIG_fail
;
9807 resultobj
= SWIG_FromInt((int)result
);
9814 static PyObject
*_wrap_Joystick_GetYMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9815 PyObject
*resultobj
;
9816 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9818 PyObject
* obj0
= 0 ;
9820 (char *) "self", NULL
9823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMin",kwnames
,&obj0
)) goto fail
;
9824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9828 result
= (int)(arg1
)->GetYMin();
9830 wxPyEndAllowThreads(__tstate
);
9831 if (PyErr_Occurred()) SWIG_fail
;
9833 resultobj
= SWIG_FromInt((int)result
);
9840 static PyObject
*_wrap_Joystick_GetZMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9841 PyObject
*resultobj
;
9842 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9844 PyObject
* obj0
= 0 ;
9846 (char *) "self", NULL
9849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMin",kwnames
,&obj0
)) goto fail
;
9850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9854 result
= (int)(arg1
)->GetZMin();
9856 wxPyEndAllowThreads(__tstate
);
9857 if (PyErr_Occurred()) SWIG_fail
;
9859 resultobj
= SWIG_FromInt((int)result
);
9866 static PyObject
*_wrap_Joystick_GetXMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9867 PyObject
*resultobj
;
9868 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9870 PyObject
* obj0
= 0 ;
9872 (char *) "self", NULL
9875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMax",kwnames
,&obj0
)) goto fail
;
9876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9880 result
= (int)(arg1
)->GetXMax();
9882 wxPyEndAllowThreads(__tstate
);
9883 if (PyErr_Occurred()) SWIG_fail
;
9885 resultobj
= SWIG_FromInt((int)result
);
9892 static PyObject
*_wrap_Joystick_GetYMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9893 PyObject
*resultobj
;
9894 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9896 PyObject
* obj0
= 0 ;
9898 (char *) "self", NULL
9901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMax",kwnames
,&obj0
)) goto fail
;
9902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9906 result
= (int)(arg1
)->GetYMax();
9908 wxPyEndAllowThreads(__tstate
);
9909 if (PyErr_Occurred()) SWIG_fail
;
9911 resultobj
= SWIG_FromInt((int)result
);
9918 static PyObject
*_wrap_Joystick_GetZMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9919 PyObject
*resultobj
;
9920 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9922 PyObject
* obj0
= 0 ;
9924 (char *) "self", NULL
9927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMax",kwnames
,&obj0
)) goto fail
;
9928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9932 result
= (int)(arg1
)->GetZMax();
9934 wxPyEndAllowThreads(__tstate
);
9935 if (PyErr_Occurred()) SWIG_fail
;
9937 resultobj
= SWIG_FromInt((int)result
);
9944 static PyObject
*_wrap_Joystick_GetNumberButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9945 PyObject
*resultobj
;
9946 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9948 PyObject
* obj0
= 0 ;
9950 (char *) "self", NULL
9953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberButtons",kwnames
,&obj0
)) goto fail
;
9954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9958 result
= (int)(arg1
)->GetNumberButtons();
9960 wxPyEndAllowThreads(__tstate
);
9961 if (PyErr_Occurred()) SWIG_fail
;
9963 resultobj
= SWIG_FromInt((int)result
);
9970 static PyObject
*_wrap_Joystick_GetNumberAxes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9971 PyObject
*resultobj
;
9972 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9974 PyObject
* obj0
= 0 ;
9976 (char *) "self", NULL
9979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberAxes",kwnames
,&obj0
)) goto fail
;
9980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9984 result
= (int)(arg1
)->GetNumberAxes();
9986 wxPyEndAllowThreads(__tstate
);
9987 if (PyErr_Occurred()) SWIG_fail
;
9989 resultobj
= SWIG_FromInt((int)result
);
9996 static PyObject
*_wrap_Joystick_GetMaxButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9997 PyObject
*resultobj
;
9998 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10000 PyObject
* obj0
= 0 ;
10001 char *kwnames
[] = {
10002 (char *) "self", NULL
10005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxButtons",kwnames
,&obj0
)) goto fail
;
10006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10010 result
= (int)(arg1
)->GetMaxButtons();
10012 wxPyEndAllowThreads(__tstate
);
10013 if (PyErr_Occurred()) SWIG_fail
;
10015 resultobj
= SWIG_FromInt((int)result
);
10022 static PyObject
*_wrap_Joystick_GetMaxAxes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10023 PyObject
*resultobj
;
10024 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10026 PyObject
* obj0
= 0 ;
10027 char *kwnames
[] = {
10028 (char *) "self", NULL
10031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxAxes",kwnames
,&obj0
)) goto fail
;
10032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10036 result
= (int)(arg1
)->GetMaxAxes();
10038 wxPyEndAllowThreads(__tstate
);
10039 if (PyErr_Occurred()) SWIG_fail
;
10041 resultobj
= SWIG_FromInt((int)result
);
10048 static PyObject
*_wrap_Joystick_GetPollingMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10049 PyObject
*resultobj
;
10050 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10052 PyObject
* obj0
= 0 ;
10053 char *kwnames
[] = {
10054 (char *) "self", NULL
10057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMin",kwnames
,&obj0
)) goto fail
;
10058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10062 result
= (int)(arg1
)->GetPollingMin();
10064 wxPyEndAllowThreads(__tstate
);
10065 if (PyErr_Occurred()) SWIG_fail
;
10067 resultobj
= SWIG_FromInt((int)result
);
10074 static PyObject
*_wrap_Joystick_GetPollingMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10075 PyObject
*resultobj
;
10076 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10078 PyObject
* obj0
= 0 ;
10079 char *kwnames
[] = {
10080 (char *) "self", NULL
10083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMax",kwnames
,&obj0
)) goto fail
;
10084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10088 result
= (int)(arg1
)->GetPollingMax();
10090 wxPyEndAllowThreads(__tstate
);
10091 if (PyErr_Occurred()) SWIG_fail
;
10093 resultobj
= SWIG_FromInt((int)result
);
10100 static PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10101 PyObject
*resultobj
;
10102 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10104 PyObject
* obj0
= 0 ;
10105 char *kwnames
[] = {
10106 (char *) "self", NULL
10109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMin",kwnames
,&obj0
)) goto fail
;
10110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10114 result
= (int)(arg1
)->GetRudderMin();
10116 wxPyEndAllowThreads(__tstate
);
10117 if (PyErr_Occurred()) SWIG_fail
;
10119 resultobj
= SWIG_FromInt((int)result
);
10126 static PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10127 PyObject
*resultobj
;
10128 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10130 PyObject
* obj0
= 0 ;
10131 char *kwnames
[] = {
10132 (char *) "self", NULL
10135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMax",kwnames
,&obj0
)) goto fail
;
10136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10140 result
= (int)(arg1
)->GetRudderMax();
10142 wxPyEndAllowThreads(__tstate
);
10143 if (PyErr_Occurred()) SWIG_fail
;
10145 resultobj
= SWIG_FromInt((int)result
);
10152 static PyObject
*_wrap_Joystick_GetUMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10153 PyObject
*resultobj
;
10154 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10156 PyObject
* obj0
= 0 ;
10157 char *kwnames
[] = {
10158 (char *) "self", NULL
10161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMin",kwnames
,&obj0
)) goto fail
;
10162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10166 result
= (int)(arg1
)->GetUMin();
10168 wxPyEndAllowThreads(__tstate
);
10169 if (PyErr_Occurred()) SWIG_fail
;
10171 resultobj
= SWIG_FromInt((int)result
);
10178 static PyObject
*_wrap_Joystick_GetUMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10179 PyObject
*resultobj
;
10180 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10182 PyObject
* obj0
= 0 ;
10183 char *kwnames
[] = {
10184 (char *) "self", NULL
10187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMax",kwnames
,&obj0
)) goto fail
;
10188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10192 result
= (int)(arg1
)->GetUMax();
10194 wxPyEndAllowThreads(__tstate
);
10195 if (PyErr_Occurred()) SWIG_fail
;
10197 resultobj
= SWIG_FromInt((int)result
);
10204 static PyObject
*_wrap_Joystick_GetVMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10205 PyObject
*resultobj
;
10206 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10208 PyObject
* obj0
= 0 ;
10209 char *kwnames
[] = {
10210 (char *) "self", NULL
10213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMin",kwnames
,&obj0
)) goto fail
;
10214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10218 result
= (int)(arg1
)->GetVMin();
10220 wxPyEndAllowThreads(__tstate
);
10221 if (PyErr_Occurred()) SWIG_fail
;
10223 resultobj
= SWIG_FromInt((int)result
);
10230 static PyObject
*_wrap_Joystick_GetVMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10231 PyObject
*resultobj
;
10232 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10234 PyObject
* obj0
= 0 ;
10235 char *kwnames
[] = {
10236 (char *) "self", NULL
10239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMax",kwnames
,&obj0
)) goto fail
;
10240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10244 result
= (int)(arg1
)->GetVMax();
10246 wxPyEndAllowThreads(__tstate
);
10247 if (PyErr_Occurred()) SWIG_fail
;
10249 resultobj
= SWIG_FromInt((int)result
);
10256 static PyObject
*_wrap_Joystick_HasRudder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10257 PyObject
*resultobj
;
10258 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10260 PyObject
* obj0
= 0 ;
10261 char *kwnames
[] = {
10262 (char *) "self", NULL
10265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasRudder",kwnames
,&obj0
)) goto fail
;
10266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10270 result
= (bool)(arg1
)->HasRudder();
10272 wxPyEndAllowThreads(__tstate
);
10273 if (PyErr_Occurred()) SWIG_fail
;
10275 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10282 static PyObject
*_wrap_Joystick_HasZ(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10283 PyObject
*resultobj
;
10284 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10286 PyObject
* obj0
= 0 ;
10287 char *kwnames
[] = {
10288 (char *) "self", NULL
10291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasZ",kwnames
,&obj0
)) goto fail
;
10292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10296 result
= (bool)(arg1
)->HasZ();
10298 wxPyEndAllowThreads(__tstate
);
10299 if (PyErr_Occurred()) SWIG_fail
;
10301 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10308 static PyObject
*_wrap_Joystick_HasU(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10309 PyObject
*resultobj
;
10310 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10312 PyObject
* obj0
= 0 ;
10313 char *kwnames
[] = {
10314 (char *) "self", NULL
10317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasU",kwnames
,&obj0
)) goto fail
;
10318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10322 result
= (bool)(arg1
)->HasU();
10324 wxPyEndAllowThreads(__tstate
);
10325 if (PyErr_Occurred()) SWIG_fail
;
10327 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10334 static PyObject
*_wrap_Joystick_HasV(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10335 PyObject
*resultobj
;
10336 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10338 PyObject
* obj0
= 0 ;
10339 char *kwnames
[] = {
10340 (char *) "self", NULL
10343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasV",kwnames
,&obj0
)) goto fail
;
10344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10348 result
= (bool)(arg1
)->HasV();
10350 wxPyEndAllowThreads(__tstate
);
10351 if (PyErr_Occurred()) SWIG_fail
;
10353 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10360 static PyObject
*_wrap_Joystick_HasPOV(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10361 PyObject
*resultobj
;
10362 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10364 PyObject
* obj0
= 0 ;
10365 char *kwnames
[] = {
10366 (char *) "self", NULL
10369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV",kwnames
,&obj0
)) goto fail
;
10370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10374 result
= (bool)(arg1
)->HasPOV();
10376 wxPyEndAllowThreads(__tstate
);
10377 if (PyErr_Occurred()) SWIG_fail
;
10379 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10386 static PyObject
*_wrap_Joystick_HasPOV4Dir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10387 PyObject
*resultobj
;
10388 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10390 PyObject
* obj0
= 0 ;
10391 char *kwnames
[] = {
10392 (char *) "self", NULL
10395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV4Dir",kwnames
,&obj0
)) goto fail
;
10396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10400 result
= (bool)(arg1
)->HasPOV4Dir();
10402 wxPyEndAllowThreads(__tstate
);
10403 if (PyErr_Occurred()) SWIG_fail
;
10405 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10412 static PyObject
*_wrap_Joystick_HasPOVCTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10413 PyObject
*resultobj
;
10414 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10416 PyObject
* obj0
= 0 ;
10417 char *kwnames
[] = {
10418 (char *) "self", NULL
10421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOVCTS",kwnames
,&obj0
)) goto fail
;
10422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10426 result
= (bool)(arg1
)->HasPOVCTS();
10428 wxPyEndAllowThreads(__tstate
);
10429 if (PyErr_Occurred()) SWIG_fail
;
10431 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10438 static PyObject
*_wrap_Joystick_SetCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10439 PyObject
*resultobj
;
10440 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10441 wxWindow
*arg2
= (wxWindow
*) 0 ;
10442 int arg3
= (int) 0 ;
10444 PyObject
* obj0
= 0 ;
10445 PyObject
* obj1
= 0 ;
10446 PyObject
* obj2
= 0 ;
10447 char *kwnames
[] = {
10448 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
10451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10454 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10457 arg3
= (int) SWIG_AsInt(obj2
);
10458 if (PyErr_Occurred()) SWIG_fail
;
10461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10462 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
10464 wxPyEndAllowThreads(__tstate
);
10465 if (PyErr_Occurred()) SWIG_fail
;
10467 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10474 static PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10475 PyObject
*resultobj
;
10476 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10478 PyObject
* obj0
= 0 ;
10479 char *kwnames
[] = {
10480 (char *) "self", NULL
10483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_ReleaseCapture",kwnames
,&obj0
)) goto fail
;
10484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10488 result
= (bool)(arg1
)->ReleaseCapture();
10490 wxPyEndAllowThreads(__tstate
);
10491 if (PyErr_Occurred()) SWIG_fail
;
10493 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10500 static PyObject
* Joystick_swigregister(PyObject
*, PyObject
*args
) {
10502 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10503 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick
, obj
);
10505 return Py_BuildValue((char *)"");
10507 static PyObject
*_wrap_JoystickEvent_m_pos_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10508 PyObject
*resultobj
;
10509 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10510 wxPoint
*arg2
= (wxPoint
*) 0 ;
10511 PyObject
* obj0
= 0 ;
10512 PyObject
* obj1
= 0 ;
10513 char *kwnames
[] = {
10514 (char *) "self",(char *) "m_pos", NULL
10517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10520 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
10521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10522 if (arg1
) (arg1
)->m_pos
= *arg2
;
10524 Py_INCREF(Py_None
); resultobj
= Py_None
;
10531 static PyObject
*_wrap_JoystickEvent_m_pos_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10532 PyObject
*resultobj
;
10533 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10535 PyObject
* obj0
= 0 ;
10536 char *kwnames
[] = {
10537 (char *) "self", NULL
10540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
10541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10543 result
= (wxPoint
*)& ((arg1
)->m_pos
);
10545 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
10552 static PyObject
*_wrap_JoystickEvent_m_zPosition_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10553 PyObject
*resultobj
;
10554 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10556 PyObject
* obj0
= 0 ;
10557 PyObject
* obj1
= 0 ;
10558 char *kwnames
[] = {
10559 (char *) "self",(char *) "m_zPosition", NULL
10562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_zPosition_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10565 arg2
= (int) SWIG_AsInt(obj1
);
10566 if (PyErr_Occurred()) SWIG_fail
;
10567 if (arg1
) (arg1
)->m_zPosition
= arg2
;
10569 Py_INCREF(Py_None
); resultobj
= Py_None
;
10576 static PyObject
*_wrap_JoystickEvent_m_zPosition_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10577 PyObject
*resultobj
;
10578 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10580 PyObject
* obj0
= 0 ;
10581 char *kwnames
[] = {
10582 (char *) "self", NULL
10585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_zPosition_get",kwnames
,&obj0
)) goto fail
;
10586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10588 result
= (int) ((arg1
)->m_zPosition
);
10590 resultobj
= SWIG_FromInt((int)result
);
10597 static PyObject
*_wrap_JoystickEvent_m_buttonChange_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10598 PyObject
*resultobj
;
10599 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10601 PyObject
* obj0
= 0 ;
10602 PyObject
* obj1
= 0 ;
10603 char *kwnames
[] = {
10604 (char *) "self",(char *) "m_buttonChange", NULL
10607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonChange_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10610 arg2
= (int) SWIG_AsInt(obj1
);
10611 if (PyErr_Occurred()) SWIG_fail
;
10612 if (arg1
) (arg1
)->m_buttonChange
= arg2
;
10614 Py_INCREF(Py_None
); resultobj
= Py_None
;
10621 static PyObject
*_wrap_JoystickEvent_m_buttonChange_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10622 PyObject
*resultobj
;
10623 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10625 PyObject
* obj0
= 0 ;
10626 char *kwnames
[] = {
10627 (char *) "self", NULL
10630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonChange_get",kwnames
,&obj0
)) goto fail
;
10631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10633 result
= (int) ((arg1
)->m_buttonChange
);
10635 resultobj
= SWIG_FromInt((int)result
);
10642 static PyObject
*_wrap_JoystickEvent_m_buttonState_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10643 PyObject
*resultobj
;
10644 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10646 PyObject
* obj0
= 0 ;
10647 PyObject
* obj1
= 0 ;
10648 char *kwnames
[] = {
10649 (char *) "self",(char *) "m_buttonState", NULL
10652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonState_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10655 arg2
= (int) SWIG_AsInt(obj1
);
10656 if (PyErr_Occurred()) SWIG_fail
;
10657 if (arg1
) (arg1
)->m_buttonState
= arg2
;
10659 Py_INCREF(Py_None
); resultobj
= Py_None
;
10666 static PyObject
*_wrap_JoystickEvent_m_buttonState_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10667 PyObject
*resultobj
;
10668 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10670 PyObject
* obj0
= 0 ;
10671 char *kwnames
[] = {
10672 (char *) "self", NULL
10675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonState_get",kwnames
,&obj0
)) goto fail
;
10676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10678 result
= (int) ((arg1
)->m_buttonState
);
10680 resultobj
= SWIG_FromInt((int)result
);
10687 static PyObject
*_wrap_JoystickEvent_m_joyStick_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10688 PyObject
*resultobj
;
10689 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10691 PyObject
* obj0
= 0 ;
10692 PyObject
* obj1
= 0 ;
10693 char *kwnames
[] = {
10694 (char *) "self",(char *) "m_joyStick", NULL
10697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_joyStick_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10700 arg2
= (int) SWIG_AsInt(obj1
);
10701 if (PyErr_Occurred()) SWIG_fail
;
10702 if (arg1
) (arg1
)->m_joyStick
= arg2
;
10704 Py_INCREF(Py_None
); resultobj
= Py_None
;
10711 static PyObject
*_wrap_JoystickEvent_m_joyStick_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10712 PyObject
*resultobj
;
10713 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10715 PyObject
* obj0
= 0 ;
10716 char *kwnames
[] = {
10717 (char *) "self", NULL
10720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_joyStick_get",kwnames
,&obj0
)) goto fail
;
10721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10723 result
= (int) ((arg1
)->m_joyStick
);
10725 resultobj
= SWIG_FromInt((int)result
);
10732 static PyObject
*_wrap_new_JoystickEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10733 PyObject
*resultobj
;
10734 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
10735 int arg2
= (int) 0 ;
10736 int arg3
= (int) wxJOYSTICK1
;
10737 int arg4
= (int) 0 ;
10738 wxJoystickEvent
*result
;
10739 PyObject
* obj0
= 0 ;
10740 PyObject
* obj1
= 0 ;
10741 PyObject
* obj2
= 0 ;
10742 PyObject
* obj3
= 0 ;
10743 char *kwnames
[] = {
10744 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
10747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_JoystickEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10749 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
10750 if (PyErr_Occurred()) SWIG_fail
;
10753 arg2
= (int) SWIG_AsInt(obj1
);
10754 if (PyErr_Occurred()) SWIG_fail
;
10757 arg3
= (int) SWIG_AsInt(obj2
);
10758 if (PyErr_Occurred()) SWIG_fail
;
10761 arg4
= (int) SWIG_AsInt(obj3
);
10762 if (PyErr_Occurred()) SWIG_fail
;
10765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10766 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
10768 wxPyEndAllowThreads(__tstate
);
10769 if (PyErr_Occurred()) SWIG_fail
;
10771 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystickEvent
, 1);
10778 static PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10779 PyObject
*resultobj
;
10780 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10782 PyObject
* obj0
= 0 ;
10783 char *kwnames
[] = {
10784 (char *) "self", NULL
10787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
10788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10792 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
10794 wxPyEndAllowThreads(__tstate
);
10795 if (PyErr_Occurred()) SWIG_fail
;
10798 wxPoint
* resultptr
;
10799 resultptr
= new wxPoint((wxPoint
&) result
);
10800 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
10808 static PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10809 PyObject
*resultobj
;
10810 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10812 PyObject
* obj0
= 0 ;
10813 char *kwnames
[] = {
10814 (char *) "self", NULL
10817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetZPosition",kwnames
,&obj0
)) goto fail
;
10818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10822 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
10824 wxPyEndAllowThreads(__tstate
);
10825 if (PyErr_Occurred()) SWIG_fail
;
10827 resultobj
= SWIG_FromInt((int)result
);
10834 static PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10835 PyObject
*resultobj
;
10836 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10838 PyObject
* obj0
= 0 ;
10839 char *kwnames
[] = {
10840 (char *) "self", NULL
10843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonState",kwnames
,&obj0
)) goto fail
;
10844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10848 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
10850 wxPyEndAllowThreads(__tstate
);
10851 if (PyErr_Occurred()) SWIG_fail
;
10853 resultobj
= SWIG_FromInt((int)result
);
10860 static PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10861 PyObject
*resultobj
;
10862 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10864 PyObject
* obj0
= 0 ;
10865 char *kwnames
[] = {
10866 (char *) "self", NULL
10869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonChange",kwnames
,&obj0
)) goto fail
;
10870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10874 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
10876 wxPyEndAllowThreads(__tstate
);
10877 if (PyErr_Occurred()) SWIG_fail
;
10879 resultobj
= SWIG_FromInt((int)result
);
10886 static PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10887 PyObject
*resultobj
;
10888 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10890 PyObject
* obj0
= 0 ;
10891 char *kwnames
[] = {
10892 (char *) "self", NULL
10895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetJoystick",kwnames
,&obj0
)) goto fail
;
10896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10900 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
10902 wxPyEndAllowThreads(__tstate
);
10903 if (PyErr_Occurred()) SWIG_fail
;
10905 resultobj
= SWIG_FromInt((int)result
);
10912 static PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10913 PyObject
*resultobj
;
10914 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10916 PyObject
* obj0
= 0 ;
10917 PyObject
* obj1
= 0 ;
10918 char *kwnames
[] = {
10919 (char *) "self",(char *) "stick", NULL
10922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetJoystick",kwnames
,&obj0
,&obj1
)) goto fail
;
10923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10925 arg2
= (int) SWIG_AsInt(obj1
);
10926 if (PyErr_Occurred()) SWIG_fail
;
10928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10929 (arg1
)->SetJoystick(arg2
);
10931 wxPyEndAllowThreads(__tstate
);
10932 if (PyErr_Occurred()) SWIG_fail
;
10934 Py_INCREF(Py_None
); resultobj
= Py_None
;
10941 static PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10942 PyObject
*resultobj
;
10943 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10945 PyObject
* obj0
= 0 ;
10946 PyObject
* obj1
= 0 ;
10947 char *kwnames
[] = {
10948 (char *) "self",(char *) "state", NULL
10951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonState",kwnames
,&obj0
,&obj1
)) goto fail
;
10952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10954 arg2
= (int) SWIG_AsInt(obj1
);
10955 if (PyErr_Occurred()) SWIG_fail
;
10957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10958 (arg1
)->SetButtonState(arg2
);
10960 wxPyEndAllowThreads(__tstate
);
10961 if (PyErr_Occurred()) SWIG_fail
;
10963 Py_INCREF(Py_None
); resultobj
= Py_None
;
10970 static PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10971 PyObject
*resultobj
;
10972 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10974 PyObject
* obj0
= 0 ;
10975 PyObject
* obj1
= 0 ;
10976 char *kwnames
[] = {
10977 (char *) "self",(char *) "change", NULL
10980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&obj1
)) goto fail
;
10981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10983 arg2
= (int) SWIG_AsInt(obj1
);
10984 if (PyErr_Occurred()) SWIG_fail
;
10986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10987 (arg1
)->SetButtonChange(arg2
);
10989 wxPyEndAllowThreads(__tstate
);
10990 if (PyErr_Occurred()) SWIG_fail
;
10992 Py_INCREF(Py_None
); resultobj
= Py_None
;
10999 static PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11000 PyObject
*resultobj
;
11001 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11002 wxPoint
*arg2
= 0 ;
11004 PyObject
* obj0
= 0 ;
11005 PyObject
* obj1
= 0 ;
11006 char *kwnames
[] = {
11007 (char *) "self",(char *) "pos", NULL
11010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11015 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11019 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
11021 wxPyEndAllowThreads(__tstate
);
11022 if (PyErr_Occurred()) SWIG_fail
;
11024 Py_INCREF(Py_None
); resultobj
= Py_None
;
11031 static PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11032 PyObject
*resultobj
;
11033 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11035 PyObject
* obj0
= 0 ;
11036 PyObject
* obj1
= 0 ;
11037 char *kwnames
[] = {
11038 (char *) "self",(char *) "zPos", NULL
11041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetZPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11044 arg2
= (int) SWIG_AsInt(obj1
);
11045 if (PyErr_Occurred()) SWIG_fail
;
11047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11048 (arg1
)->SetZPosition(arg2
);
11050 wxPyEndAllowThreads(__tstate
);
11051 if (PyErr_Occurred()) SWIG_fail
;
11053 Py_INCREF(Py_None
); resultobj
= Py_None
;
11060 static PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11061 PyObject
*resultobj
;
11062 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11064 PyObject
* obj0
= 0 ;
11065 char *kwnames
[] = {
11066 (char *) "self", NULL
11069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsButton",kwnames
,&obj0
)) goto fail
;
11070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11074 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
11076 wxPyEndAllowThreads(__tstate
);
11077 if (PyErr_Occurred()) SWIG_fail
;
11079 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11086 static PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11087 PyObject
*resultobj
;
11088 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11090 PyObject
* obj0
= 0 ;
11091 char *kwnames
[] = {
11092 (char *) "self", NULL
11095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsMove",kwnames
,&obj0
)) goto fail
;
11096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11100 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
11102 wxPyEndAllowThreads(__tstate
);
11103 if (PyErr_Occurred()) SWIG_fail
;
11105 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11112 static PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11113 PyObject
*resultobj
;
11114 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11116 PyObject
* obj0
= 0 ;
11117 char *kwnames
[] = {
11118 (char *) "self", NULL
11121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsZMove",kwnames
,&obj0
)) goto fail
;
11122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11126 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
11128 wxPyEndAllowThreads(__tstate
);
11129 if (PyErr_Occurred()) SWIG_fail
;
11131 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11138 static PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11139 PyObject
*resultobj
;
11140 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11141 int arg2
= (int) wxJOY_BUTTON_ANY
;
11143 PyObject
* obj0
= 0 ;
11144 PyObject
* obj1
= 0 ;
11145 char *kwnames
[] = {
11146 (char *) "self",(char *) "but", NULL
11149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
11150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11153 arg2
= (int) SWIG_AsInt(obj1
);
11154 if (PyErr_Occurred()) SWIG_fail
;
11157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11158 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
11160 wxPyEndAllowThreads(__tstate
);
11161 if (PyErr_Occurred()) SWIG_fail
;
11163 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11170 static PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11171 PyObject
*resultobj
;
11172 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11173 int arg2
= (int) wxJOY_BUTTON_ANY
;
11175 PyObject
* obj0
= 0 ;
11176 PyObject
* obj1
= 0 ;
11177 char *kwnames
[] = {
11178 (char *) "self",(char *) "but", NULL
11181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
11182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11185 arg2
= (int) SWIG_AsInt(obj1
);
11186 if (PyErr_Occurred()) SWIG_fail
;
11189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11190 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
11192 wxPyEndAllowThreads(__tstate
);
11193 if (PyErr_Occurred()) SWIG_fail
;
11195 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11202 static PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11203 PyObject
*resultobj
;
11204 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11205 int arg2
= (int) wxJOY_BUTTON_ANY
;
11207 PyObject
* obj0
= 0 ;
11208 PyObject
* obj1
= 0 ;
11209 char *kwnames
[] = {
11210 (char *) "self",(char *) "but", NULL
11213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
11214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11217 arg2
= (int) SWIG_AsInt(obj1
);
11218 if (PyErr_Occurred()) SWIG_fail
;
11221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11222 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
11224 wxPyEndAllowThreads(__tstate
);
11225 if (PyErr_Occurred()) SWIG_fail
;
11227 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11234 static PyObject
* JoystickEvent_swigregister(PyObject
*, PyObject
*args
) {
11236 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11237 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent
, obj
);
11239 return Py_BuildValue((char *)"");
11241 static PyObject
*_wrap_new_Sound__SWIG_0(PyObject
*, PyObject
*args
) {
11242 PyObject
*resultobj
;
11245 if(!PyArg_ParseTuple(args
,(char *)":new_Sound")) goto fail
;
11247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11248 result
= (wxSound
*)new wxSound();
11250 wxPyEndAllowThreads(__tstate
);
11251 if (PyErr_Occurred()) SWIG_fail
;
11253 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
11260 static PyObject
*_wrap_new_Sound__SWIG_1(PyObject
*, PyObject
*args
) {
11261 PyObject
*resultobj
;
11262 wxString
*arg1
= 0 ;
11263 bool arg2
= (bool) false ;
11265 bool temp1
= False
;
11266 PyObject
* obj0
= 0 ;
11267 PyObject
* obj1
= 0 ;
11269 if(!PyArg_ParseTuple(args
,(char *)"O|O:new_Sound",&obj0
,&obj1
)) goto fail
;
11271 arg1
= wxString_in_helper(obj0
);
11272 if (arg1
== NULL
) SWIG_fail
;
11276 arg2
= (bool) SWIG_AsBool(obj1
);
11277 if (PyErr_Occurred()) SWIG_fail
;
11280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11281 result
= (wxSound
*)new wxSound((wxString
const &)*arg1
,arg2
);
11283 wxPyEndAllowThreads(__tstate
);
11284 if (PyErr_Occurred()) SWIG_fail
;
11286 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
11301 static PyObject
*_wrap_new_Sound__SWIG_2(PyObject
*, PyObject
*args
) {
11302 PyObject
*resultobj
;
11304 wxByte
*arg2
= (wxByte
*) 0 ;
11306 PyObject
* obj0
= 0 ;
11307 PyObject
* obj1
= 0 ;
11309 if(!PyArg_ParseTuple(args
,(char *)"OO:new_Sound",&obj0
,&obj1
)) goto fail
;
11310 arg1
= (int) SWIG_AsInt(obj0
);
11311 if (PyErr_Occurred()) SWIG_fail
;
11312 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxByte
,
11313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11316 result
= (wxSound
*)new wxSound(arg1
,(wxByte
const *)arg2
);
11318 wxPyEndAllowThreads(__tstate
);
11319 if (PyErr_Occurred()) SWIG_fail
;
11321 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
11328 static PyObject
*_wrap_new_Sound(PyObject
*self
, PyObject
*args
) {
11333 argc
= PyObject_Length(args
);
11334 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
11335 argv
[ii
] = PyTuple_GetItem(args
,ii
);
11338 return _wrap_new_Sound__SWIG_0(self
,args
);
11340 if ((argc
>= 1) && (argc
<= 2)) {
11343 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
11347 return _wrap_new_Sound__SWIG_1(self
,args
);
11349 _v
= SWIG_CheckBool(argv
[1]);
11351 return _wrap_new_Sound__SWIG_1(self
,args
);
11357 _v
= SWIG_CheckInt(argv
[0]);
11361 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxByte
, 0) == -1) {
11369 return _wrap_new_Sound__SWIG_2(self
,args
);
11374 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_Sound'");
11379 static PyObject
*_wrap_delete_Sound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11380 PyObject
*resultobj
;
11381 wxSound
*arg1
= (wxSound
*) 0 ;
11382 PyObject
* obj0
= 0 ;
11383 char *kwnames
[] = {
11384 (char *) "self", NULL
11387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Sound",kwnames
,&obj0
)) goto fail
;
11388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11394 wxPyEndAllowThreads(__tstate
);
11395 if (PyErr_Occurred()) SWIG_fail
;
11397 Py_INCREF(Py_None
); resultobj
= Py_None
;
11404 static PyObject
*_wrap_Sound_Create__SWIG_0(PyObject
*, PyObject
*args
) {
11405 PyObject
*resultobj
;
11406 wxSound
*arg1
= (wxSound
*) 0 ;
11407 wxString
*arg2
= 0 ;
11408 bool arg3
= (bool) false ;
11410 bool temp2
= False
;
11411 PyObject
* obj0
= 0 ;
11412 PyObject
* obj1
= 0 ;
11413 PyObject
* obj2
= 0 ;
11415 if(!PyArg_ParseTuple(args
,(char *)"OO|O:Sound_Create",&obj0
,&obj1
,&obj2
)) goto fail
;
11416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11419 arg2
= wxString_in_helper(obj1
);
11420 if (arg2
== NULL
) SWIG_fail
;
11424 arg3
= (bool) SWIG_AsBool(obj2
);
11425 if (PyErr_Occurred()) SWIG_fail
;
11428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11429 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,arg3
);
11431 wxPyEndAllowThreads(__tstate
);
11432 if (PyErr_Occurred()) SWIG_fail
;
11434 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11449 static PyObject
*_wrap_Sound_Create__SWIG_1(PyObject
*, PyObject
*args
) {
11450 PyObject
*resultobj
;
11451 wxSound
*arg1
= (wxSound
*) 0 ;
11453 wxByte
*arg3
= (wxByte
*) 0 ;
11455 PyObject
* obj0
= 0 ;
11456 PyObject
* obj1
= 0 ;
11457 PyObject
* obj2
= 0 ;
11459 if(!PyArg_ParseTuple(args
,(char *)"OOO:Sound_Create",&obj0
,&obj1
,&obj2
)) goto fail
;
11460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11462 arg2
= (int) SWIG_AsInt(obj1
);
11463 if (PyErr_Occurred()) SWIG_fail
;
11464 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxByte
,
11465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11468 result
= (bool)wxSound_Create__SWIG_1(arg1
,arg2
,(wxByte
const *)arg3
);
11470 wxPyEndAllowThreads(__tstate
);
11471 if (PyErr_Occurred()) SWIG_fail
;
11473 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11480 static PyObject
*_wrap_Sound_Create(PyObject
*self
, PyObject
*args
) {
11485 argc
= PyObject_Length(args
);
11486 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
11487 argv
[ii
] = PyTuple_GetItem(args
,ii
);
11489 if ((argc
>= 2) && (argc
<= 3)) {
11493 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxSound
, 0) == -1) {
11502 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
11506 return _wrap_Sound_Create__SWIG_0(self
,args
);
11508 _v
= SWIG_CheckBool(argv
[2]);
11510 return _wrap_Sound_Create__SWIG_0(self
,args
);
11519 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxSound
, 0) == -1) {
11527 _v
= SWIG_CheckInt(argv
[1]);
11531 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxByte
, 0) == -1) {
11539 return _wrap_Sound_Create__SWIG_1(self
,args
);
11545 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Sound_Create'");
11550 static PyObject
*_wrap_Sound_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11551 PyObject
*resultobj
;
11552 wxSound
*arg1
= (wxSound
*) 0 ;
11554 PyObject
* obj0
= 0 ;
11555 char *kwnames
[] = {
11556 (char *) "self", NULL
11559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sound_IsOk",kwnames
,&obj0
)) goto fail
;
11560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11564 result
= (bool)(arg1
)->IsOk();
11566 wxPyEndAllowThreads(__tstate
);
11567 if (PyErr_Occurred()) SWIG_fail
;
11569 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11576 static PyObject
*_wrap_Sound_Play(PyObject
*, PyObject
*args
) {
11577 PyObject
*resultobj
;
11578 wxSound
*arg1
= (wxSound
*) 0 ;
11579 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
11581 PyObject
* obj0
= 0 ;
11582 PyObject
* obj1
= 0 ;
11584 if(!PyArg_ParseTuple(args
,(char *)"O|O:Sound_Play",&obj0
,&obj1
)) goto fail
;
11585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11588 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
11589 if (PyErr_Occurred()) SWIG_fail
;
11592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11593 result
= (bool)((wxSound
const *)arg1
)->Play(arg2
);
11595 wxPyEndAllowThreads(__tstate
);
11596 if (PyErr_Occurred()) SWIG_fail
;
11598 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11605 static PyObject
*_wrap_Sound_PlaySound(PyObject
*, PyObject
*args
) {
11606 PyObject
*resultobj
;
11607 wxString
*arg1
= 0 ;
11608 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
11610 bool temp1
= False
;
11611 PyObject
* obj0
= 0 ;
11612 PyObject
* obj1
= 0 ;
11614 if(!PyArg_ParseTuple(args
,(char *)"O|O:Sound_PlaySound",&obj0
,&obj1
)) goto fail
;
11616 arg1
= wxString_in_helper(obj0
);
11617 if (arg1
== NULL
) SWIG_fail
;
11621 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
11622 if (PyErr_Occurred()) SWIG_fail
;
11625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11626 result
= (bool)wxSound::Play((wxString
const &)*arg1
,arg2
);
11628 wxPyEndAllowThreads(__tstate
);
11629 if (PyErr_Occurred()) SWIG_fail
;
11631 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11646 static PyObject
*_wrap_Sound_Stop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11647 PyObject
*resultobj
;
11648 char *kwnames
[] = {
11652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Sound_Stop",kwnames
)) goto fail
;
11654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11657 wxPyEndAllowThreads(__tstate
);
11658 if (PyErr_Occurred()) SWIG_fail
;
11660 Py_INCREF(Py_None
); resultobj
= Py_None
;
11667 static PyObject
* Sound_swigregister(PyObject
*, PyObject
*args
) {
11669 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11670 SWIG_TypeClientData(SWIGTYPE_p_wxSound
, obj
);
11672 return Py_BuildValue((char *)"");
11674 static PyObject
*_wrap_new_FileTypeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11675 PyObject
*resultobj
;
11676 wxString
*arg1
= 0 ;
11677 wxString
*arg2
= 0 ;
11678 wxString
*arg3
= 0 ;
11679 wxString
*arg4
= 0 ;
11680 wxFileTypeInfo
*result
;
11681 bool temp1
= False
;
11682 bool temp2
= False
;
11683 bool temp3
= False
;
11684 bool temp4
= False
;
11685 PyObject
* obj0
= 0 ;
11686 PyObject
* obj1
= 0 ;
11687 PyObject
* obj2
= 0 ;
11688 PyObject
* obj3
= 0 ;
11689 char *kwnames
[] = {
11690 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
11693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11695 arg1
= wxString_in_helper(obj0
);
11696 if (arg1
== NULL
) SWIG_fail
;
11700 arg2
= wxString_in_helper(obj1
);
11701 if (arg2
== NULL
) SWIG_fail
;
11705 arg3
= wxString_in_helper(obj2
);
11706 if (arg3
== NULL
) SWIG_fail
;
11710 arg4
= wxString_in_helper(obj3
);
11711 if (arg4
== NULL
) SWIG_fail
;
11715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11716 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
11718 wxPyEndAllowThreads(__tstate
);
11719 if (PyErr_Occurred()) SWIG_fail
;
11721 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
11760 static PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11761 PyObject
*resultobj
;
11762 wxArrayString
*arg1
= 0 ;
11763 wxFileTypeInfo
*result
;
11764 bool temp1
= False
;
11765 PyObject
* obj0
= 0 ;
11766 char *kwnames
[] = {
11767 (char *) "sArray", NULL
11770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) goto fail
;
11772 if (! PySequence_Check(obj0
)) {
11773 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11776 arg1
= new wxArrayString
;
11778 int i
, len
=PySequence_Length(obj0
);
11779 for (i
=0; i
<len
; i
++) {
11780 PyObject
* item
= PySequence_GetItem(obj0
, i
);
11782 PyObject
* str
= PyObject_Unicode(item
);
11784 PyObject
* str
= PyObject_Str(item
);
11786 arg1
->Add(Py2wxString(str
));
11792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11793 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
11795 wxPyEndAllowThreads(__tstate
);
11796 if (PyErr_Occurred()) SWIG_fail
;
11798 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
11800 if (temp1
) delete arg1
;
11805 if (temp1
) delete arg1
;
11811 static PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11812 PyObject
*resultobj
;
11813 wxFileTypeInfo
*result
;
11814 char *kwnames
[] = {
11818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NullFileTypeInfo",kwnames
)) goto fail
;
11820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11821 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
11823 wxPyEndAllowThreads(__tstate
);
11824 if (PyErr_Occurred()) SWIG_fail
;
11826 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
11833 static PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11834 PyObject
*resultobj
;
11835 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11837 PyObject
* obj0
= 0 ;
11838 char *kwnames
[] = {
11839 (char *) "self", NULL
11842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_IsValid",kwnames
,&obj0
)) goto fail
;
11843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
11844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11847 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
11849 wxPyEndAllowThreads(__tstate
);
11850 if (PyErr_Occurred()) SWIG_fail
;
11852 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11859 static PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11860 PyObject
*resultobj
;
11861 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11862 wxString
*arg2
= 0 ;
11863 int arg3
= (int) 0 ;
11864 bool temp2
= False
;
11865 PyObject
* obj0
= 0 ;
11866 PyObject
* obj1
= 0 ;
11867 PyObject
* obj2
= 0 ;
11868 char *kwnames
[] = {
11869 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
11872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
11874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11876 arg2
= wxString_in_helper(obj1
);
11877 if (arg2
== NULL
) SWIG_fail
;
11881 arg3
= (int) SWIG_AsInt(obj2
);
11882 if (PyErr_Occurred()) SWIG_fail
;
11885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11886 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
11888 wxPyEndAllowThreads(__tstate
);
11889 if (PyErr_Occurred()) SWIG_fail
;
11891 Py_INCREF(Py_None
); resultobj
= Py_None
;
11906 static PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11907 PyObject
*resultobj
;
11908 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11909 wxString
*arg2
= 0 ;
11910 bool temp2
= False
;
11911 PyObject
* obj0
= 0 ;
11912 PyObject
* obj1
= 0 ;
11913 char *kwnames
[] = {
11914 (char *) "self",(char *) "shortDesc", NULL
11917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
11918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
11919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11921 arg2
= wxString_in_helper(obj1
);
11922 if (arg2
== NULL
) SWIG_fail
;
11926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11927 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
11929 wxPyEndAllowThreads(__tstate
);
11930 if (PyErr_Occurred()) SWIG_fail
;
11932 Py_INCREF(Py_None
); resultobj
= Py_None
;
11947 static PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11948 PyObject
*resultobj
;
11949 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11951 PyObject
* obj0
= 0 ;
11952 char *kwnames
[] = {
11953 (char *) "self", NULL
11956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetMimeType",kwnames
,&obj0
)) goto fail
;
11957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
11958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11962 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
11963 result
= (wxString
*) &_result_ref
;
11966 wxPyEndAllowThreads(__tstate
);
11967 if (PyErr_Occurred()) SWIG_fail
;
11971 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
11973 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
11982 static PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11983 PyObject
*resultobj
;
11984 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11986 PyObject
* obj0
= 0 ;
11987 char *kwnames
[] = {
11988 (char *) "self", NULL
11991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames
,&obj0
)) goto fail
;
11992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
11993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11997 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
11998 result
= (wxString
*) &_result_ref
;
12001 wxPyEndAllowThreads(__tstate
);
12002 if (PyErr_Occurred()) SWIG_fail
;
12006 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12008 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12017 static PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12018 PyObject
*resultobj
;
12019 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12021 PyObject
* obj0
= 0 ;
12022 char *kwnames
[] = {
12023 (char *) "self", NULL
12026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames
,&obj0
)) goto fail
;
12027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12032 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
12033 result
= (wxString
*) &_result_ref
;
12036 wxPyEndAllowThreads(__tstate
);
12037 if (PyErr_Occurred()) SWIG_fail
;
12041 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12043 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12052 static PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12053 PyObject
*resultobj
;
12054 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12056 PyObject
* obj0
= 0 ;
12057 char *kwnames
[] = {
12058 (char *) "self", NULL
12061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetShortDesc",kwnames
,&obj0
)) goto fail
;
12062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12067 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
12068 result
= (wxString
*) &_result_ref
;
12071 wxPyEndAllowThreads(__tstate
);
12072 if (PyErr_Occurred()) SWIG_fail
;
12076 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12078 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12087 static PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12088 PyObject
*resultobj
;
12089 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12091 PyObject
* obj0
= 0 ;
12092 char *kwnames
[] = {
12093 (char *) "self", NULL
12096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetDescription",kwnames
,&obj0
)) goto fail
;
12097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12102 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
12103 result
= (wxString
*) &_result_ref
;
12106 wxPyEndAllowThreads(__tstate
);
12107 if (PyErr_Occurred()) SWIG_fail
;
12111 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12113 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12122 static PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12123 PyObject
*resultobj
;
12124 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12125 wxArrayString
*result
;
12126 PyObject
* obj0
= 0 ;
12127 char *kwnames
[] = {
12128 (char *) "self", NULL
12131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensions",kwnames
,&obj0
)) goto fail
;
12132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12137 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
12138 result
= (wxArrayString
*) &_result_ref
;
12141 wxPyEndAllowThreads(__tstate
);
12142 if (PyErr_Occurred()) SWIG_fail
;
12145 resultobj
= wxArrayString2PyList_helper(*result
);
12153 static PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12154 PyObject
*resultobj
;
12155 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12157 PyObject
* obj0
= 0 ;
12158 char *kwnames
[] = {
12159 (char *) "self", NULL
12162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames
,&obj0
)) goto fail
;
12163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12167 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
12169 wxPyEndAllowThreads(__tstate
);
12170 if (PyErr_Occurred()) SWIG_fail
;
12172 resultobj
= SWIG_FromInt((int)result
);
12179 static PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12180 PyObject
*resultobj
;
12181 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12183 PyObject
* obj0
= 0 ;
12184 char *kwnames
[] = {
12185 (char *) "self", NULL
12188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconFile",kwnames
,&obj0
)) goto fail
;
12189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12194 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
12195 result
= (wxString
*) &_result_ref
;
12198 wxPyEndAllowThreads(__tstate
);
12199 if (PyErr_Occurred()) SWIG_fail
;
12203 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12205 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12214 static PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12215 PyObject
*resultobj
;
12216 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12218 PyObject
* obj0
= 0 ;
12219 char *kwnames
[] = {
12220 (char *) "self", NULL
12223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconIndex",kwnames
,&obj0
)) goto fail
;
12224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12228 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
12230 wxPyEndAllowThreads(__tstate
);
12231 if (PyErr_Occurred()) SWIG_fail
;
12233 resultobj
= SWIG_FromInt((int)result
);
12240 static PyObject
* FileTypeInfo_swigregister(PyObject
*, PyObject
*args
) {
12242 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12243 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo
, obj
);
12245 return Py_BuildValue((char *)"");
12247 static PyObject
*_wrap_new_FileType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12248 PyObject
*resultobj
;
12249 wxFileTypeInfo
*arg1
= 0 ;
12250 wxFileType
*result
;
12251 PyObject
* obj0
= 0 ;
12252 char *kwnames
[] = {
12253 (char *) "ftInfo", NULL
12256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) goto fail
;
12257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12258 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12260 if (arg1
== NULL
) {
12261 PyErr_SetString(PyExc_TypeError
,"null reference");
12265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12266 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
12268 wxPyEndAllowThreads(__tstate
);
12269 if (PyErr_Occurred()) SWIG_fail
;
12271 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
12278 static PyObject
*_wrap_delete_FileType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12279 PyObject
*resultobj
;
12280 wxFileType
*arg1
= (wxFileType
*) 0 ;
12281 PyObject
* obj0
= 0 ;
12282 char *kwnames
[] = {
12283 (char *) "self", NULL
12286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileType",kwnames
,&obj0
)) goto fail
;
12287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12293 wxPyEndAllowThreads(__tstate
);
12294 if (PyErr_Occurred()) SWIG_fail
;
12296 Py_INCREF(Py_None
); resultobj
= Py_None
;
12303 static PyObject
*_wrap_FileType_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12304 PyObject
*resultobj
;
12305 wxFileType
*arg1
= (wxFileType
*) 0 ;
12307 PyObject
* obj0
= 0 ;
12308 char *kwnames
[] = {
12309 (char *) "self", NULL
12312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeType",kwnames
,&obj0
)) goto fail
;
12313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12317 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
12319 wxPyEndAllowThreads(__tstate
);
12320 if (PyErr_Occurred()) SWIG_fail
;
12322 resultobj
= result
;
12329 static PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12330 PyObject
*resultobj
;
12331 wxFileType
*arg1
= (wxFileType
*) 0 ;
12333 PyObject
* obj0
= 0 ;
12334 char *kwnames
[] = {
12335 (char *) "self", NULL
12338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeTypes",kwnames
,&obj0
)) goto fail
;
12339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12343 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
12345 wxPyEndAllowThreads(__tstate
);
12346 if (PyErr_Occurred()) SWIG_fail
;
12348 resultobj
= result
;
12355 static PyObject
*_wrap_FileType_GetExtensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12356 PyObject
*resultobj
;
12357 wxFileType
*arg1
= (wxFileType
*) 0 ;
12359 PyObject
* obj0
= 0 ;
12360 char *kwnames
[] = {
12361 (char *) "self", NULL
12364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetExtensions",kwnames
,&obj0
)) goto fail
;
12365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12369 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
12371 wxPyEndAllowThreads(__tstate
);
12372 if (PyErr_Occurred()) SWIG_fail
;
12374 resultobj
= result
;
12381 static PyObject
*_wrap_FileType_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12382 PyObject
*resultobj
;
12383 wxFileType
*arg1
= (wxFileType
*) 0 ;
12385 PyObject
* obj0
= 0 ;
12386 char *kwnames
[] = {
12387 (char *) "self", NULL
12390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIcon",kwnames
,&obj0
)) goto fail
;
12391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12395 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
12397 wxPyEndAllowThreads(__tstate
);
12398 if (PyErr_Occurred()) SWIG_fail
;
12400 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
12407 static PyObject
*_wrap_FileType_GetIconInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12408 PyObject
*resultobj
;
12409 wxFileType
*arg1
= (wxFileType
*) 0 ;
12411 PyObject
* obj0
= 0 ;
12412 char *kwnames
[] = {
12413 (char *) "self", NULL
12416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIconInfo",kwnames
,&obj0
)) goto fail
;
12417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12421 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
12423 wxPyEndAllowThreads(__tstate
);
12424 if (PyErr_Occurred()) SWIG_fail
;
12426 resultobj
= result
;
12433 static PyObject
*_wrap_FileType_GetDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12434 PyObject
*resultobj
;
12435 wxFileType
*arg1
= (wxFileType
*) 0 ;
12437 PyObject
* obj0
= 0 ;
12438 char *kwnames
[] = {
12439 (char *) "self", NULL
12442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetDescription",kwnames
,&obj0
)) goto fail
;
12443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12447 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
12449 wxPyEndAllowThreads(__tstate
);
12450 if (PyErr_Occurred()) SWIG_fail
;
12452 resultobj
= result
;
12459 static PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12460 PyObject
*resultobj
;
12461 wxFileType
*arg1
= (wxFileType
*) 0 ;
12462 wxString
*arg2
= 0 ;
12463 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12464 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12466 bool temp2
= False
;
12467 bool temp3
= False
;
12468 PyObject
* obj0
= 0 ;
12469 PyObject
* obj1
= 0 ;
12470 PyObject
* obj2
= 0 ;
12471 char *kwnames
[] = {
12472 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12479 arg2
= wxString_in_helper(obj1
);
12480 if (arg2
== NULL
) SWIG_fail
;
12485 arg3
= wxString_in_helper(obj2
);
12486 if (arg3
== NULL
) SWIG_fail
;
12491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12492 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12494 wxPyEndAllowThreads(__tstate
);
12495 if (PyErr_Occurred()) SWIG_fail
;
12497 resultobj
= result
;
12520 static PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12521 PyObject
*resultobj
;
12522 wxFileType
*arg1
= (wxFileType
*) 0 ;
12523 wxString
*arg2
= 0 ;
12524 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12525 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12527 bool temp2
= False
;
12528 bool temp3
= False
;
12529 PyObject
* obj0
= 0 ;
12530 PyObject
* obj1
= 0 ;
12531 PyObject
* obj2
= 0 ;
12532 char *kwnames
[] = {
12533 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12540 arg2
= wxString_in_helper(obj1
);
12541 if (arg2
== NULL
) SWIG_fail
;
12546 arg3
= wxString_in_helper(obj2
);
12547 if (arg3
== NULL
) SWIG_fail
;
12552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12553 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12555 wxPyEndAllowThreads(__tstate
);
12556 if (PyErr_Occurred()) SWIG_fail
;
12558 resultobj
= result
;
12581 static PyObject
*_wrap_FileType_GetAllCommands(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12582 PyObject
*resultobj
;
12583 wxFileType
*arg1
= (wxFileType
*) 0 ;
12584 wxString
*arg2
= 0 ;
12585 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12586 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12588 bool temp2
= False
;
12589 bool temp3
= False
;
12590 PyObject
* obj0
= 0 ;
12591 PyObject
* obj1
= 0 ;
12592 PyObject
* obj2
= 0 ;
12593 char *kwnames
[] = {
12594 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12601 arg2
= wxString_in_helper(obj1
);
12602 if (arg2
== NULL
) SWIG_fail
;
12607 arg3
= wxString_in_helper(obj2
);
12608 if (arg3
== NULL
) SWIG_fail
;
12613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12614 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12616 wxPyEndAllowThreads(__tstate
);
12617 if (PyErr_Occurred()) SWIG_fail
;
12619 resultobj
= result
;
12642 static PyObject
*_wrap_FileType_SetCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12643 PyObject
*resultobj
;
12644 wxFileType
*arg1
= (wxFileType
*) 0 ;
12645 wxString
*arg2
= 0 ;
12646 wxString
*arg3
= 0 ;
12647 bool arg4
= (bool) True
;
12649 bool temp2
= False
;
12650 bool temp3
= False
;
12651 PyObject
* obj0
= 0 ;
12652 PyObject
* obj1
= 0 ;
12653 PyObject
* obj2
= 0 ;
12654 PyObject
* obj3
= 0 ;
12655 char *kwnames
[] = {
12656 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
12659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12663 arg2
= wxString_in_helper(obj1
);
12664 if (arg2
== NULL
) SWIG_fail
;
12668 arg3
= wxString_in_helper(obj2
);
12669 if (arg3
== NULL
) SWIG_fail
;
12673 arg4
= (bool) SWIG_AsBool(obj3
);
12674 if (PyErr_Occurred()) SWIG_fail
;
12677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12678 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
12680 wxPyEndAllowThreads(__tstate
);
12681 if (PyErr_Occurred()) SWIG_fail
;
12683 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12706 static PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12707 PyObject
*resultobj
;
12708 wxFileType
*arg1
= (wxFileType
*) 0 ;
12709 wxString
const &arg2_defvalue
= wxPyEmptyString
;
12710 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12711 int arg3
= (int) 0 ;
12713 bool temp2
= False
;
12714 PyObject
* obj0
= 0 ;
12715 PyObject
* obj1
= 0 ;
12716 PyObject
* obj2
= 0 ;
12717 char *kwnames
[] = {
12718 (char *) "self",(char *) "cmd",(char *) "index", NULL
12721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12726 arg2
= wxString_in_helper(obj1
);
12727 if (arg2
== NULL
) SWIG_fail
;
12732 arg3
= (int) SWIG_AsInt(obj2
);
12733 if (PyErr_Occurred()) SWIG_fail
;
12736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12737 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
12739 wxPyEndAllowThreads(__tstate
);
12740 if (PyErr_Occurred()) SWIG_fail
;
12742 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12757 static PyObject
*_wrap_FileType_Unassociate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12758 PyObject
*resultobj
;
12759 wxFileType
*arg1
= (wxFileType
*) 0 ;
12761 PyObject
* obj0
= 0 ;
12762 char *kwnames
[] = {
12763 (char *) "self", NULL
12766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_Unassociate",kwnames
,&obj0
)) goto fail
;
12767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12771 result
= (bool)(arg1
)->Unassociate();
12773 wxPyEndAllowThreads(__tstate
);
12774 if (PyErr_Occurred()) SWIG_fail
;
12776 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12783 static PyObject
*_wrap_FileType_ExpandCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12784 PyObject
*resultobj
;
12785 wxString
*arg1
= 0 ;
12786 wxString
*arg2
= 0 ;
12787 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12788 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12790 bool temp1
= False
;
12791 bool temp2
= False
;
12792 bool temp3
= False
;
12793 PyObject
* obj0
= 0 ;
12794 PyObject
* obj1
= 0 ;
12795 PyObject
* obj2
= 0 ;
12796 char *kwnames
[] = {
12797 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
12800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12802 arg1
= wxString_in_helper(obj0
);
12803 if (arg1
== NULL
) SWIG_fail
;
12807 arg2
= wxString_in_helper(obj1
);
12808 if (arg2
== NULL
) SWIG_fail
;
12813 arg3
= wxString_in_helper(obj2
);
12814 if (arg3
== NULL
) SWIG_fail
;
12819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12820 result
= FileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12822 wxPyEndAllowThreads(__tstate
);
12823 if (PyErr_Occurred()) SWIG_fail
;
12827 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12829 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12862 static PyObject
* FileType_swigregister(PyObject
*, PyObject
*args
) {
12864 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12865 SWIG_TypeClientData(SWIGTYPE_p_wxFileType
, obj
);
12867 return Py_BuildValue((char *)"");
12869 static int _wrap_TheMimeTypesManager_set(PyObject
*) {
12870 PyErr_SetString(PyExc_TypeError
,"Variable TheMimeTypesManager is read-only.");
12875 static PyObject
*_wrap_TheMimeTypesManager_get() {
12878 pyobj
= SWIG_NewPointerObj((void *)(wxTheMimeTypesManager
), SWIGTYPE_p_wxMimeTypesManager
, 0);
12883 static PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12884 PyObject
*resultobj
;
12885 wxString
*arg1
= 0 ;
12886 wxString
*arg2
= 0 ;
12888 bool temp1
= False
;
12889 bool temp2
= False
;
12890 PyObject
* obj0
= 0 ;
12891 PyObject
* obj1
= 0 ;
12892 char *kwnames
[] = {
12893 (char *) "mimeType",(char *) "wildcard", NULL
12896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) goto fail
;
12898 arg1
= wxString_in_helper(obj0
);
12899 if (arg1
== NULL
) SWIG_fail
;
12903 arg2
= wxString_in_helper(obj1
);
12904 if (arg2
== NULL
) SWIG_fail
;
12908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12909 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
12911 wxPyEndAllowThreads(__tstate
);
12912 if (PyErr_Occurred()) SWIG_fail
;
12914 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12937 static PyObject
*_wrap_new_MimeTypesManager(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12938 PyObject
*resultobj
;
12939 wxMimeTypesManager
*result
;
12940 char *kwnames
[] = {
12944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MimeTypesManager",kwnames
)) goto fail
;
12946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12947 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
12949 wxPyEndAllowThreads(__tstate
);
12950 if (PyErr_Occurred()) SWIG_fail
;
12952 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMimeTypesManager
, 1);
12959 static PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12960 PyObject
*resultobj
;
12961 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
12962 int arg2
= (int) wxMAILCAP_ALL
;
12963 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12964 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12965 bool temp3
= False
;
12966 PyObject
* obj0
= 0 ;
12967 PyObject
* obj1
= 0 ;
12968 PyObject
* obj2
= 0 ;
12969 char *kwnames
[] = {
12970 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
12973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MimeTypesManager_Initialize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
12975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12977 arg2
= (int) SWIG_AsInt(obj1
);
12978 if (PyErr_Occurred()) SWIG_fail
;
12982 arg3
= wxString_in_helper(obj2
);
12983 if (arg3
== NULL
) SWIG_fail
;
12988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12989 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
12991 wxPyEndAllowThreads(__tstate
);
12992 if (PyErr_Occurred()) SWIG_fail
;
12994 Py_INCREF(Py_None
); resultobj
= Py_None
;
13009 static PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13010 PyObject
*resultobj
;
13011 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13012 PyObject
* obj0
= 0 ;
13013 char *kwnames
[] = {
13014 (char *) "self", NULL
13017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_ClearData",kwnames
,&obj0
)) goto fail
;
13018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13022 (arg1
)->ClearData();
13024 wxPyEndAllowThreads(__tstate
);
13025 if (PyErr_Occurred()) SWIG_fail
;
13027 Py_INCREF(Py_None
); resultobj
= Py_None
;
13034 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13035 PyObject
*resultobj
;
13036 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13037 wxString
*arg2
= 0 ;
13038 wxFileType
*result
;
13039 bool temp2
= False
;
13040 PyObject
* obj0
= 0 ;
13041 PyObject
* obj1
= 0 ;
13042 char *kwnames
[] = {
13043 (char *) "self",(char *) "ext", NULL
13046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
13047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13050 arg2
= wxString_in_helper(obj1
);
13051 if (arg2
== NULL
) SWIG_fail
;
13055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13056 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
13058 wxPyEndAllowThreads(__tstate
);
13059 if (PyErr_Occurred()) SWIG_fail
;
13061 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13076 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13077 PyObject
*resultobj
;
13078 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13079 wxString
*arg2
= 0 ;
13080 wxFileType
*result
;
13081 bool temp2
= False
;
13082 PyObject
* obj0
= 0 ;
13083 PyObject
* obj1
= 0 ;
13084 char *kwnames
[] = {
13085 (char *) "self",(char *) "mimeType", NULL
13088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
13089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13092 arg2
= wxString_in_helper(obj1
);
13093 if (arg2
== NULL
) SWIG_fail
;
13097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13098 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
13100 wxPyEndAllowThreads(__tstate
);
13101 if (PyErr_Occurred()) SWIG_fail
;
13103 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13118 static PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13119 PyObject
*resultobj
;
13120 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13121 wxString
*arg2
= 0 ;
13122 bool arg3
= (bool) False
;
13124 bool temp2
= False
;
13125 PyObject
* obj0
= 0 ;
13126 PyObject
* obj1
= 0 ;
13127 PyObject
* obj2
= 0 ;
13128 char *kwnames
[] = {
13129 (char *) "self",(char *) "filename",(char *) "fallback", NULL
13132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13136 arg2
= wxString_in_helper(obj1
);
13137 if (arg2
== NULL
) SWIG_fail
;
13141 arg3
= (bool) SWIG_AsBool(obj2
);
13142 if (PyErr_Occurred()) SWIG_fail
;
13145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13146 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
13148 wxPyEndAllowThreads(__tstate
);
13149 if (PyErr_Occurred()) SWIG_fail
;
13151 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13166 static PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13167 PyObject
*resultobj
;
13168 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13169 wxString
*arg2
= 0 ;
13171 bool temp2
= False
;
13172 PyObject
* obj0
= 0 ;
13173 PyObject
* obj1
= 0 ;
13174 char *kwnames
[] = {
13175 (char *) "self",(char *) "filename", NULL
13178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) goto fail
;
13179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13182 arg2
= wxString_in_helper(obj1
);
13183 if (arg2
== NULL
) SWIG_fail
;
13187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13188 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
13190 wxPyEndAllowThreads(__tstate
);
13191 if (PyErr_Occurred()) SWIG_fail
;
13193 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13208 static PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13209 PyObject
*resultobj
;
13210 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13212 PyObject
* obj0
= 0 ;
13213 char *kwnames
[] = {
13214 (char *) "self", NULL
13217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames
,&obj0
)) goto fail
;
13218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13222 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
13224 wxPyEndAllowThreads(__tstate
);
13225 if (PyErr_Occurred()) SWIG_fail
;
13227 resultobj
= result
;
13234 static PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13235 PyObject
*resultobj
;
13236 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13237 wxFileTypeInfo
*arg2
= 0 ;
13238 PyObject
* obj0
= 0 ;
13239 PyObject
* obj1
= 0 ;
13240 char *kwnames
[] = {
13241 (char *) "self",(char *) "ft", NULL
13244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) goto fail
;
13245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13247 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileTypeInfo
,
13248 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13250 if (arg2
== NULL
) {
13251 PyErr_SetString(PyExc_TypeError
,"null reference");
13255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13256 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
13258 wxPyEndAllowThreads(__tstate
);
13259 if (PyErr_Occurred()) SWIG_fail
;
13261 Py_INCREF(Py_None
); resultobj
= Py_None
;
13268 static PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13269 PyObject
*resultobj
;
13270 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13271 wxFileTypeInfo
*arg2
= 0 ;
13272 wxFileType
*result
;
13273 PyObject
* obj0
= 0 ;
13274 PyObject
* obj1
= 0 ;
13275 char *kwnames
[] = {
13276 (char *) "self",(char *) "ftInfo", NULL
13279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) goto fail
;
13280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13282 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileTypeInfo
,
13283 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13285 if (arg2
== NULL
) {
13286 PyErr_SetString(PyExc_TypeError
,"null reference");
13290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13291 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
13293 wxPyEndAllowThreads(__tstate
);
13294 if (PyErr_Occurred()) SWIG_fail
;
13296 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13303 static PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13304 PyObject
*resultobj
;
13305 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13306 wxFileType
*arg2
= (wxFileType
*) 0 ;
13308 PyObject
* obj0
= 0 ;
13309 PyObject
* obj1
= 0 ;
13310 char *kwnames
[] = {
13311 (char *) "self",(char *) "ft", NULL
13314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) goto fail
;
13315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13317 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileType
,
13318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13321 result
= (bool)(arg1
)->Unassociate(arg2
);
13323 wxPyEndAllowThreads(__tstate
);
13324 if (PyErr_Occurred()) SWIG_fail
;
13326 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13333 static PyObject
*_wrap_delete_MimeTypesManager(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13334 PyObject
*resultobj
;
13335 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13336 PyObject
* obj0
= 0 ;
13337 char *kwnames
[] = {
13338 (char *) "self", NULL
13341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MimeTypesManager",kwnames
,&obj0
)) goto fail
;
13342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13348 wxPyEndAllowThreads(__tstate
);
13349 if (PyErr_Occurred()) SWIG_fail
;
13351 Py_INCREF(Py_None
); resultobj
= Py_None
;
13358 static PyObject
* MimeTypesManager_swigregister(PyObject
*, PyObject
*args
) {
13360 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13361 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager
, obj
);
13363 return Py_BuildValue((char *)"");
13365 static int _wrap_ART_TOOLBAR_set(PyObject
*) {
13366 PyErr_SetString(PyExc_TypeError
,"Variable ART_TOOLBAR is read-only.");
13371 static PyObject
*_wrap_ART_TOOLBAR_get() {
13376 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
13378 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
13385 static int _wrap_ART_MENU_set(PyObject
*) {
13386 PyErr_SetString(PyExc_TypeError
,"Variable ART_MENU is read-only.");
13391 static PyObject
*_wrap_ART_MENU_get() {
13396 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
13398 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
13405 static int _wrap_ART_FRAME_ICON_set(PyObject
*) {
13406 PyErr_SetString(PyExc_TypeError
,"Variable ART_FRAME_ICON is read-only.");
13411 static PyObject
*_wrap_ART_FRAME_ICON_get() {
13416 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
13418 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
13425 static int _wrap_ART_CMN_DIALOG_set(PyObject
*) {
13426 PyErr_SetString(PyExc_TypeError
,"Variable ART_CMN_DIALOG is read-only.");
13431 static PyObject
*_wrap_ART_CMN_DIALOG_get() {
13436 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
13438 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
13445 static int _wrap_ART_HELP_BROWSER_set(PyObject
*) {
13446 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BROWSER is read-only.");
13451 static PyObject
*_wrap_ART_HELP_BROWSER_get() {
13456 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
13458 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
13465 static int _wrap_ART_MESSAGE_BOX_set(PyObject
*) {
13466 PyErr_SetString(PyExc_TypeError
,"Variable ART_MESSAGE_BOX is read-only.");
13471 static PyObject
*_wrap_ART_MESSAGE_BOX_get() {
13476 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
13478 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
13485 static int _wrap_ART_OTHER_set(PyObject
*) {
13486 PyErr_SetString(PyExc_TypeError
,"Variable ART_OTHER is read-only.");
13491 static PyObject
*_wrap_ART_OTHER_get() {
13496 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
13498 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
13505 static int _wrap_ART_ADD_BOOKMARK_set(PyObject
*) {
13506 PyErr_SetString(PyExc_TypeError
,"Variable ART_ADD_BOOKMARK is read-only.");
13511 static PyObject
*_wrap_ART_ADD_BOOKMARK_get() {
13516 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
13518 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
13525 static int _wrap_ART_DEL_BOOKMARK_set(PyObject
*) {
13526 PyErr_SetString(PyExc_TypeError
,"Variable ART_DEL_BOOKMARK is read-only.");
13531 static PyObject
*_wrap_ART_DEL_BOOKMARK_get() {
13536 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
13538 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
13545 static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject
*) {
13546 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
13551 static PyObject
*_wrap_ART_HELP_SIDE_PANEL_get() {
13556 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
13558 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
13565 static int _wrap_ART_HELP_SETTINGS_set(PyObject
*) {
13566 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SETTINGS is read-only.");
13571 static PyObject
*_wrap_ART_HELP_SETTINGS_get() {
13576 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
13578 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
13585 static int _wrap_ART_HELP_BOOK_set(PyObject
*) {
13586 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BOOK is read-only.");
13591 static PyObject
*_wrap_ART_HELP_BOOK_get() {
13596 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
13598 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
13605 static int _wrap_ART_HELP_FOLDER_set(PyObject
*) {
13606 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_FOLDER is read-only.");
13611 static PyObject
*_wrap_ART_HELP_FOLDER_get() {
13616 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
13618 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
13625 static int _wrap_ART_HELP_PAGE_set(PyObject
*) {
13626 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_PAGE is read-only.");
13631 static PyObject
*_wrap_ART_HELP_PAGE_get() {
13636 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
13638 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
13645 static int _wrap_ART_GO_BACK_set(PyObject
*) {
13646 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_BACK is read-only.");
13651 static PyObject
*_wrap_ART_GO_BACK_get() {
13656 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
13658 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
13665 static int _wrap_ART_GO_FORWARD_set(PyObject
*) {
13666 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_FORWARD is read-only.");
13671 static PyObject
*_wrap_ART_GO_FORWARD_get() {
13676 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
13678 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
13685 static int _wrap_ART_GO_UP_set(PyObject
*) {
13686 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_UP is read-only.");
13691 static PyObject
*_wrap_ART_GO_UP_get() {
13696 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
13698 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
13705 static int _wrap_ART_GO_DOWN_set(PyObject
*) {
13706 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DOWN is read-only.");
13711 static PyObject
*_wrap_ART_GO_DOWN_get() {
13716 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
13718 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
13725 static int _wrap_ART_GO_TO_PARENT_set(PyObject
*) {
13726 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_TO_PARENT is read-only.");
13731 static PyObject
*_wrap_ART_GO_TO_PARENT_get() {
13736 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
13738 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
13745 static int _wrap_ART_GO_HOME_set(PyObject
*) {
13746 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_HOME is read-only.");
13751 static PyObject
*_wrap_ART_GO_HOME_get() {
13756 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
13758 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
13765 static int _wrap_ART_FILE_OPEN_set(PyObject
*) {
13766 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_OPEN is read-only.");
13771 static PyObject
*_wrap_ART_FILE_OPEN_get() {
13776 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
13778 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
13785 static int _wrap_ART_PRINT_set(PyObject
*) {
13786 PyErr_SetString(PyExc_TypeError
,"Variable ART_PRINT is read-only.");
13791 static PyObject
*_wrap_ART_PRINT_get() {
13796 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
13798 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
13805 static int _wrap_ART_HELP_set(PyObject
*) {
13806 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP is read-only.");
13811 static PyObject
*_wrap_ART_HELP_get() {
13816 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
13818 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
13825 static int _wrap_ART_TIP_set(PyObject
*) {
13826 PyErr_SetString(PyExc_TypeError
,"Variable ART_TIP is read-only.");
13831 static PyObject
*_wrap_ART_TIP_get() {
13836 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
13838 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
13845 static int _wrap_ART_REPORT_VIEW_set(PyObject
*) {
13846 PyErr_SetString(PyExc_TypeError
,"Variable ART_REPORT_VIEW is read-only.");
13851 static PyObject
*_wrap_ART_REPORT_VIEW_get() {
13856 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
13858 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
13865 static int _wrap_ART_LIST_VIEW_set(PyObject
*) {
13866 PyErr_SetString(PyExc_TypeError
,"Variable ART_LIST_VIEW is read-only.");
13871 static PyObject
*_wrap_ART_LIST_VIEW_get() {
13876 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
13878 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
13885 static int _wrap_ART_NEW_DIR_set(PyObject
*) {
13886 PyErr_SetString(PyExc_TypeError
,"Variable ART_NEW_DIR is read-only.");
13891 static PyObject
*_wrap_ART_NEW_DIR_get() {
13896 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
13898 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
13905 static int _wrap_ART_FOLDER_set(PyObject
*) {
13906 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER is read-only.");
13911 static PyObject
*_wrap_ART_FOLDER_get() {
13916 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
13918 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
13925 static int _wrap_ART_GO_DIR_UP_set(PyObject
*) {
13926 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DIR_UP is read-only.");
13931 static PyObject
*_wrap_ART_GO_DIR_UP_get() {
13936 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
13938 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
13945 static int _wrap_ART_EXECUTABLE_FILE_set(PyObject
*) {
13946 PyErr_SetString(PyExc_TypeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
13951 static PyObject
*_wrap_ART_EXECUTABLE_FILE_get() {
13956 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
13958 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
13965 static int _wrap_ART_NORMAL_FILE_set(PyObject
*) {
13966 PyErr_SetString(PyExc_TypeError
,"Variable ART_NORMAL_FILE is read-only.");
13971 static PyObject
*_wrap_ART_NORMAL_FILE_get() {
13976 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
13978 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
13985 static int _wrap_ART_TICK_MARK_set(PyObject
*) {
13986 PyErr_SetString(PyExc_TypeError
,"Variable ART_TICK_MARK is read-only.");
13991 static PyObject
*_wrap_ART_TICK_MARK_get() {
13996 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
13998 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
14005 static int _wrap_ART_CROSS_MARK_set(PyObject
*) {
14006 PyErr_SetString(PyExc_TypeError
,"Variable ART_CROSS_MARK is read-only.");
14011 static PyObject
*_wrap_ART_CROSS_MARK_get() {
14016 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
14018 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
14025 static int _wrap_ART_ERROR_set(PyObject
*) {
14026 PyErr_SetString(PyExc_TypeError
,"Variable ART_ERROR is read-only.");
14031 static PyObject
*_wrap_ART_ERROR_get() {
14036 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
14038 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
14045 static int _wrap_ART_QUESTION_set(PyObject
*) {
14046 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUESTION is read-only.");
14051 static PyObject
*_wrap_ART_QUESTION_get() {
14056 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
14058 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
14065 static int _wrap_ART_WARNING_set(PyObject
*) {
14066 PyErr_SetString(PyExc_TypeError
,"Variable ART_WARNING is read-only.");
14071 static PyObject
*_wrap_ART_WARNING_get() {
14076 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
14078 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
14085 static int _wrap_ART_INFORMATION_set(PyObject
*) {
14086 PyErr_SetString(PyExc_TypeError
,"Variable ART_INFORMATION is read-only.");
14091 static PyObject
*_wrap_ART_INFORMATION_get() {
14096 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
14098 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
14105 static int _wrap_ART_MISSING_IMAGE_set(PyObject
*) {
14106 PyErr_SetString(PyExc_TypeError
,"Variable ART_MISSING_IMAGE is read-only.");
14111 static PyObject
*_wrap_ART_MISSING_IMAGE_get() {
14116 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
14118 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
14125 static PyObject
*_wrap_new_ArtProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14126 PyObject
*resultobj
;
14127 wxPyArtProvider
*result
;
14128 char *kwnames
[] = {
14132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ArtProvider",kwnames
)) goto fail
;
14134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14135 result
= (wxPyArtProvider
*)new wxPyArtProvider();
14137 wxPyEndAllowThreads(__tstate
);
14138 if (PyErr_Occurred()) SWIG_fail
;
14140 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyArtProvider
, 1);
14147 static PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14148 PyObject
*resultobj
;
14149 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14150 PyObject
*arg2
= (PyObject
*) 0 ;
14151 PyObject
*arg3
= (PyObject
*) 0 ;
14152 PyObject
* obj0
= 0 ;
14153 PyObject
* obj1
= 0 ;
14154 PyObject
* obj2
= 0 ;
14155 char *kwnames
[] = {
14156 (char *) "self",(char *) "self",(char *) "_class", NULL
14159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14166 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14168 wxPyEndAllowThreads(__tstate
);
14169 if (PyErr_Occurred()) SWIG_fail
;
14171 Py_INCREF(Py_None
); resultobj
= Py_None
;
14178 static PyObject
*_wrap_ArtProvider_PushProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14179 PyObject
*resultobj
;
14180 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14181 PyObject
* obj0
= 0 ;
14182 char *kwnames
[] = {
14183 (char *) "provider", NULL
14186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_PushProvider",kwnames
,&obj0
)) goto fail
;
14187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14191 wxPyArtProvider::PushProvider(arg1
);
14193 wxPyEndAllowThreads(__tstate
);
14194 if (PyErr_Occurred()) SWIG_fail
;
14196 Py_INCREF(Py_None
); resultobj
= Py_None
;
14203 static PyObject
*_wrap_ArtProvider_PopProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14204 PyObject
*resultobj
;
14206 char *kwnames
[] = {
14210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ArtProvider_PopProvider",kwnames
)) goto fail
;
14212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14213 result
= (bool)wxPyArtProvider::PopProvider();
14215 wxPyEndAllowThreads(__tstate
);
14216 if (PyErr_Occurred()) SWIG_fail
;
14218 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14225 static PyObject
*_wrap_ArtProvider_RemoveProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14226 PyObject
*resultobj
;
14227 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14229 PyObject
* obj0
= 0 ;
14230 char *kwnames
[] = {
14231 (char *) "provider", NULL
14234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",kwnames
,&obj0
)) goto fail
;
14235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14239 result
= (bool)wxPyArtProvider::RemoveProvider(arg1
);
14241 wxPyEndAllowThreads(__tstate
);
14242 if (PyErr_Occurred()) SWIG_fail
;
14244 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14251 static PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14252 PyObject
*resultobj
;
14253 wxString
*arg1
= 0 ;
14254 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
14255 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14256 wxSize
const &arg3_defvalue
= wxDefaultSize
;
14257 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
14259 bool temp1
= False
;
14260 bool temp2
= False
;
14262 PyObject
* obj0
= 0 ;
14263 PyObject
* obj1
= 0 ;
14264 PyObject
* obj2
= 0 ;
14265 char *kwnames
[] = {
14266 (char *) "id",(char *) "client",(char *) "size", NULL
14269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14271 arg1
= wxString_in_helper(obj0
);
14272 if (arg1
== NULL
) SWIG_fail
;
14277 arg2
= wxString_in_helper(obj1
);
14278 if (arg2
== NULL
) SWIG_fail
;
14285 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14290 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
14292 wxPyEndAllowThreads(__tstate
);
14293 if (PyErr_Occurred()) SWIG_fail
;
14296 wxBitmap
* resultptr
;
14297 resultptr
= new wxBitmap((wxBitmap
&) result
);
14298 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
14322 static PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14323 PyObject
*resultobj
;
14324 wxString
*arg1
= 0 ;
14325 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
14326 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14327 wxSize
const &arg3_defvalue
= wxDefaultSize
;
14328 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
14330 bool temp1
= False
;
14331 bool temp2
= False
;
14333 PyObject
* obj0
= 0 ;
14334 PyObject
* obj1
= 0 ;
14335 PyObject
* obj2
= 0 ;
14336 char *kwnames
[] = {
14337 (char *) "id",(char *) "client",(char *) "size", NULL
14340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14342 arg1
= wxString_in_helper(obj0
);
14343 if (arg1
== NULL
) SWIG_fail
;
14348 arg2
= wxString_in_helper(obj1
);
14349 if (arg2
== NULL
) SWIG_fail
;
14356 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14361 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
14363 wxPyEndAllowThreads(__tstate
);
14364 if (PyErr_Occurred()) SWIG_fail
;
14367 wxIcon
* resultptr
;
14368 resultptr
= new wxIcon((wxIcon
&) result
);
14369 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
14393 static PyObject
*_wrap_ArtProvider_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14394 PyObject
*resultobj
;
14395 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14396 PyObject
* obj0
= 0 ;
14397 char *kwnames
[] = {
14398 (char *) "self", NULL
14401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Destroy",kwnames
,&obj0
)) goto fail
;
14402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14406 wxPyArtProvider_Destroy(arg1
);
14408 wxPyEndAllowThreads(__tstate
);
14409 if (PyErr_Occurred()) SWIG_fail
;
14411 Py_INCREF(Py_None
); resultobj
= Py_None
;
14418 static PyObject
* ArtProvider_swigregister(PyObject
*, PyObject
*args
) {
14420 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14421 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider
, obj
);
14423 return Py_BuildValue((char *)"");
14425 static PyObject
*_wrap_delete_ConfigBase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14426 PyObject
*resultobj
;
14427 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14428 PyObject
* obj0
= 0 ;
14429 char *kwnames
[] = {
14430 (char *) "self", NULL
14433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigBase",kwnames
,&obj0
)) goto fail
;
14434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14440 wxPyEndAllowThreads(__tstate
);
14441 if (PyErr_Occurred()) SWIG_fail
;
14443 Py_INCREF(Py_None
); resultobj
= Py_None
;
14450 static PyObject
*_wrap_ConfigBase_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14451 PyObject
*resultobj
;
14452 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14453 wxConfigBase
*result
;
14454 PyObject
* obj0
= 0 ;
14455 char *kwnames
[] = {
14456 (char *) "config", NULL
14459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) goto fail
;
14460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14464 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
14466 wxPyEndAllowThreads(__tstate
);
14467 if (PyErr_Occurred()) SWIG_fail
;
14469 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
14476 static PyObject
*_wrap_ConfigBase_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14477 PyObject
*resultobj
;
14478 bool arg1
= (bool) True
;
14479 wxConfigBase
*result
;
14480 PyObject
* obj0
= 0 ;
14481 char *kwnames
[] = {
14482 (char *) "createOnDemand", NULL
14485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) goto fail
;
14487 arg1
= (bool) SWIG_AsBool(obj0
);
14488 if (PyErr_Occurred()) SWIG_fail
;
14491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14492 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
14494 wxPyEndAllowThreads(__tstate
);
14495 if (PyErr_Occurred()) SWIG_fail
;
14497 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
14504 static PyObject
*_wrap_ConfigBase_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14505 PyObject
*resultobj
;
14506 wxConfigBase
*result
;
14507 char *kwnames
[] = {
14511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_Create",kwnames
)) goto fail
;
14513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14514 result
= (wxConfigBase
*)wxConfigBase::Create();
14516 wxPyEndAllowThreads(__tstate
);
14517 if (PyErr_Occurred()) SWIG_fail
;
14519 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
14526 static PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14527 PyObject
*resultobj
;
14528 char *kwnames
[] = {
14532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_DontCreateOnDemand",kwnames
)) goto fail
;
14534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14535 wxConfigBase::DontCreateOnDemand();
14537 wxPyEndAllowThreads(__tstate
);
14538 if (PyErr_Occurred()) SWIG_fail
;
14540 Py_INCREF(Py_None
); resultobj
= Py_None
;
14547 static PyObject
*_wrap_ConfigBase_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14548 PyObject
*resultobj
;
14549 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14550 wxString
*arg2
= 0 ;
14551 bool temp2
= False
;
14552 PyObject
* obj0
= 0 ;
14553 PyObject
* obj1
= 0 ;
14554 char *kwnames
[] = {
14555 (char *) "self",(char *) "path", NULL
14558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
14559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14562 arg2
= wxString_in_helper(obj1
);
14563 if (arg2
== NULL
) SWIG_fail
;
14567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14568 (arg1
)->SetPath((wxString
const &)*arg2
);
14570 wxPyEndAllowThreads(__tstate
);
14571 if (PyErr_Occurred()) SWIG_fail
;
14573 Py_INCREF(Py_None
); resultobj
= Py_None
;
14588 static PyObject
*_wrap_ConfigBase_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14589 PyObject
*resultobj
;
14590 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14592 PyObject
* obj0
= 0 ;
14593 char *kwnames
[] = {
14594 (char *) "self", NULL
14597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetPath",kwnames
,&obj0
)) goto fail
;
14598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14603 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
14604 result
= (wxString
*) &_result_ref
;
14607 wxPyEndAllowThreads(__tstate
);
14608 if (PyErr_Occurred()) SWIG_fail
;
14612 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14614 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14623 static PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14624 PyObject
*resultobj
;
14625 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14627 PyObject
* obj0
= 0 ;
14628 char *kwnames
[] = {
14629 (char *) "self", NULL
14632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstGroup",kwnames
,&obj0
)) goto fail
;
14633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14637 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
14639 wxPyEndAllowThreads(__tstate
);
14640 if (PyErr_Occurred()) SWIG_fail
;
14642 resultobj
= result
;
14649 static PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14650 PyObject
*resultobj
;
14651 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14654 PyObject
* obj0
= 0 ;
14655 PyObject
* obj1
= 0 ;
14656 char *kwnames
[] = {
14657 (char *) "self",(char *) "index", NULL
14660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
14661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14663 arg2
= (long) SWIG_AsLong(obj1
);
14664 if (PyErr_Occurred()) SWIG_fail
;
14666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14667 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
14669 wxPyEndAllowThreads(__tstate
);
14670 if (PyErr_Occurred()) SWIG_fail
;
14672 resultobj
= result
;
14679 static PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14680 PyObject
*resultobj
;
14681 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14683 PyObject
* obj0
= 0 ;
14684 char *kwnames
[] = {
14685 (char *) "self", NULL
14688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstEntry",kwnames
,&obj0
)) goto fail
;
14689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14693 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
14695 wxPyEndAllowThreads(__tstate
);
14696 if (PyErr_Occurred()) SWIG_fail
;
14698 resultobj
= result
;
14705 static PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14706 PyObject
*resultobj
;
14707 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14710 PyObject
* obj0
= 0 ;
14711 PyObject
* obj1
= 0 ;
14712 char *kwnames
[] = {
14713 (char *) "self",(char *) "index", NULL
14716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
14717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14719 arg2
= (long) SWIG_AsLong(obj1
);
14720 if (PyErr_Occurred()) SWIG_fail
;
14722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14723 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
14725 wxPyEndAllowThreads(__tstate
);
14726 if (PyErr_Occurred()) SWIG_fail
;
14728 resultobj
= result
;
14735 static PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14736 PyObject
*resultobj
;
14737 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14738 bool arg2
= (bool) False
;
14740 PyObject
* obj0
= 0 ;
14741 PyObject
* obj1
= 0 ;
14742 char *kwnames
[] = {
14743 (char *) "self",(char *) "recursive", NULL
14746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) goto fail
;
14747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14750 arg2
= (bool) SWIG_AsBool(obj1
);
14751 if (PyErr_Occurred()) SWIG_fail
;
14754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14755 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
14757 wxPyEndAllowThreads(__tstate
);
14758 if (PyErr_Occurred()) SWIG_fail
;
14760 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
14767 static PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14768 PyObject
*resultobj
;
14769 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14770 bool arg2
= (bool) False
;
14772 PyObject
* obj0
= 0 ;
14773 PyObject
* obj1
= 0 ;
14774 char *kwnames
[] = {
14775 (char *) "self",(char *) "recursive", NULL
14778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) goto fail
;
14779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14782 arg2
= (bool) SWIG_AsBool(obj1
);
14783 if (PyErr_Occurred()) SWIG_fail
;
14786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14787 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
14789 wxPyEndAllowThreads(__tstate
);
14790 if (PyErr_Occurred()) SWIG_fail
;
14792 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
14799 static PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14800 PyObject
*resultobj
;
14801 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14802 wxString
*arg2
= 0 ;
14804 bool temp2
= False
;
14805 PyObject
* obj0
= 0 ;
14806 PyObject
* obj1
= 0 ;
14807 char *kwnames
[] = {
14808 (char *) "self",(char *) "name", NULL
14811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
14812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14815 arg2
= wxString_in_helper(obj1
);
14816 if (arg2
== NULL
) SWIG_fail
;
14820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14821 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
14823 wxPyEndAllowThreads(__tstate
);
14824 if (PyErr_Occurred()) SWIG_fail
;
14826 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14841 static PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14842 PyObject
*resultobj
;
14843 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14844 wxString
*arg2
= 0 ;
14846 bool temp2
= False
;
14847 PyObject
* obj0
= 0 ;
14848 PyObject
* obj1
= 0 ;
14849 char *kwnames
[] = {
14850 (char *) "self",(char *) "name", NULL
14853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
14854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14857 arg2
= wxString_in_helper(obj1
);
14858 if (arg2
== NULL
) SWIG_fail
;
14862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14863 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
14865 wxPyEndAllowThreads(__tstate
);
14866 if (PyErr_Occurred()) SWIG_fail
;
14868 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14883 static PyObject
*_wrap_ConfigBase_Exists(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14884 PyObject
*resultobj
;
14885 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14886 wxString
*arg2
= 0 ;
14888 bool temp2
= False
;
14889 PyObject
* obj0
= 0 ;
14890 PyObject
* obj1
= 0 ;
14891 char *kwnames
[] = {
14892 (char *) "self",(char *) "name", NULL
14895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) goto fail
;
14896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14899 arg2
= wxString_in_helper(obj1
);
14900 if (arg2
== NULL
) SWIG_fail
;
14904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14905 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
14907 wxPyEndAllowThreads(__tstate
);
14908 if (PyErr_Occurred()) SWIG_fail
;
14910 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14925 static PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14926 PyObject
*resultobj
;
14927 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14928 wxString
*arg2
= 0 ;
14930 bool temp2
= False
;
14931 PyObject
* obj0
= 0 ;
14932 PyObject
* obj1
= 0 ;
14933 char *kwnames
[] = {
14934 (char *) "self",(char *) "name", NULL
14937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) goto fail
;
14938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14941 arg2
= wxString_in_helper(obj1
);
14942 if (arg2
== NULL
) SWIG_fail
;
14946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14947 result
= (int)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
14949 wxPyEndAllowThreads(__tstate
);
14950 if (PyErr_Occurred()) SWIG_fail
;
14952 resultobj
= SWIG_FromInt((int)result
);
14967 static PyObject
*_wrap_ConfigBase_Read(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14968 PyObject
*resultobj
;
14969 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14970 wxString
*arg2
= 0 ;
14971 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14972 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14974 bool temp2
= False
;
14975 bool temp3
= False
;
14976 PyObject
* obj0
= 0 ;
14977 PyObject
* obj1
= 0 ;
14978 PyObject
* obj2
= 0 ;
14979 char *kwnames
[] = {
14980 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
14983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14987 arg2
= wxString_in_helper(obj1
);
14988 if (arg2
== NULL
) SWIG_fail
;
14993 arg3
= wxString_in_helper(obj2
);
14994 if (arg3
== NULL
) SWIG_fail
;
14999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15000 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15002 wxPyEndAllowThreads(__tstate
);
15003 if (PyErr_Occurred()) SWIG_fail
;
15007 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15009 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15034 static PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15035 PyObject
*resultobj
;
15036 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15037 wxString
*arg2
= 0 ;
15038 long arg3
= (long) 0 ;
15040 bool temp2
= False
;
15041 PyObject
* obj0
= 0 ;
15042 PyObject
* obj1
= 0 ;
15043 PyObject
* obj2
= 0 ;
15044 char *kwnames
[] = {
15045 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15052 arg2
= wxString_in_helper(obj1
);
15053 if (arg2
== NULL
) SWIG_fail
;
15057 arg3
= (long) SWIG_AsLong(obj2
);
15058 if (PyErr_Occurred()) SWIG_fail
;
15061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15062 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
15064 wxPyEndAllowThreads(__tstate
);
15065 if (PyErr_Occurred()) SWIG_fail
;
15067 resultobj
= SWIG_FromLong((long)result
);
15082 static PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15083 PyObject
*resultobj
;
15084 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15085 wxString
*arg2
= 0 ;
15086 double arg3
= (double) 0.0 ;
15088 bool temp2
= False
;
15089 PyObject
* obj0
= 0 ;
15090 PyObject
* obj1
= 0 ;
15091 PyObject
* obj2
= 0 ;
15092 char *kwnames
[] = {
15093 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15100 arg2
= wxString_in_helper(obj1
);
15101 if (arg2
== NULL
) SWIG_fail
;
15105 arg3
= (double) SWIG_AsDouble(obj2
);
15106 if (PyErr_Occurred()) SWIG_fail
;
15109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15110 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
15112 wxPyEndAllowThreads(__tstate
);
15113 if (PyErr_Occurred()) SWIG_fail
;
15115 resultobj
= SWIG_FromDouble((double)result
);
15130 static PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15131 PyObject
*resultobj
;
15132 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15133 wxString
*arg2
= 0 ;
15134 bool arg3
= (bool) False
;
15136 bool temp2
= False
;
15137 PyObject
* obj0
= 0 ;
15138 PyObject
* obj1
= 0 ;
15139 PyObject
* obj2
= 0 ;
15140 char *kwnames
[] = {
15141 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15148 arg2
= wxString_in_helper(obj1
);
15149 if (arg2
== NULL
) SWIG_fail
;
15153 arg3
= (bool) SWIG_AsBool(obj2
);
15154 if (PyErr_Occurred()) SWIG_fail
;
15157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15158 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
15160 wxPyEndAllowThreads(__tstate
);
15161 if (PyErr_Occurred()) SWIG_fail
;
15163 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15178 static PyObject
*_wrap_ConfigBase_Write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15179 PyObject
*resultobj
;
15180 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15181 wxString
*arg2
= 0 ;
15182 wxString
*arg3
= 0 ;
15184 bool temp2
= False
;
15185 bool temp3
= False
;
15186 PyObject
* obj0
= 0 ;
15187 PyObject
* obj1
= 0 ;
15188 PyObject
* obj2
= 0 ;
15189 char *kwnames
[] = {
15190 (char *) "self",(char *) "key",(char *) "value", NULL
15193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15197 arg2
= wxString_in_helper(obj1
);
15198 if (arg2
== NULL
) SWIG_fail
;
15202 arg3
= wxString_in_helper(obj2
);
15203 if (arg3
== NULL
) SWIG_fail
;
15207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15208 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15210 wxPyEndAllowThreads(__tstate
);
15211 if (PyErr_Occurred()) SWIG_fail
;
15213 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15236 static PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15237 PyObject
*resultobj
;
15238 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15239 wxString
*arg2
= 0 ;
15242 bool temp2
= False
;
15243 PyObject
* obj0
= 0 ;
15244 PyObject
* obj1
= 0 ;
15245 PyObject
* obj2
= 0 ;
15246 char *kwnames
[] = {
15247 (char *) "self",(char *) "key",(char *) "value", NULL
15250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15254 arg2
= wxString_in_helper(obj1
);
15255 if (arg2
== NULL
) SWIG_fail
;
15258 arg3
= (long) SWIG_AsLong(obj2
);
15259 if (PyErr_Occurred()) SWIG_fail
;
15261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15262 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15264 wxPyEndAllowThreads(__tstate
);
15265 if (PyErr_Occurred()) SWIG_fail
;
15267 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15282 static PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15283 PyObject
*resultobj
;
15284 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15285 wxString
*arg2
= 0 ;
15288 bool temp2
= False
;
15289 PyObject
* obj0
= 0 ;
15290 PyObject
* obj1
= 0 ;
15291 PyObject
* obj2
= 0 ;
15292 char *kwnames
[] = {
15293 (char *) "self",(char *) "key",(char *) "value", NULL
15296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15300 arg2
= wxString_in_helper(obj1
);
15301 if (arg2
== NULL
) SWIG_fail
;
15304 arg3
= (double) SWIG_AsDouble(obj2
);
15305 if (PyErr_Occurred()) SWIG_fail
;
15307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15308 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15310 wxPyEndAllowThreads(__tstate
);
15311 if (PyErr_Occurred()) SWIG_fail
;
15313 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15328 static PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15329 PyObject
*resultobj
;
15330 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15331 wxString
*arg2
= 0 ;
15334 bool temp2
= False
;
15335 PyObject
* obj0
= 0 ;
15336 PyObject
* obj1
= 0 ;
15337 PyObject
* obj2
= 0 ;
15338 char *kwnames
[] = {
15339 (char *) "self",(char *) "key",(char *) "value", NULL
15342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15346 arg2
= wxString_in_helper(obj1
);
15347 if (arg2
== NULL
) SWIG_fail
;
15350 arg3
= (bool) SWIG_AsBool(obj2
);
15351 if (PyErr_Occurred()) SWIG_fail
;
15353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15354 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15356 wxPyEndAllowThreads(__tstate
);
15357 if (PyErr_Occurred()) SWIG_fail
;
15359 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15374 static PyObject
*_wrap_ConfigBase_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15375 PyObject
*resultobj
;
15376 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15377 bool arg2
= (bool) False
;
15379 PyObject
* obj0
= 0 ;
15380 PyObject
* obj1
= 0 ;
15381 char *kwnames
[] = {
15382 (char *) "self",(char *) "currentOnly", NULL
15385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) goto fail
;
15386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15389 arg2
= (bool) SWIG_AsBool(obj1
);
15390 if (PyErr_Occurred()) SWIG_fail
;
15393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15394 result
= (bool)(arg1
)->Flush(arg2
);
15396 wxPyEndAllowThreads(__tstate
);
15397 if (PyErr_Occurred()) SWIG_fail
;
15399 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15406 static PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15407 PyObject
*resultobj
;
15408 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15409 wxString
*arg2
= 0 ;
15410 wxString
*arg3
= 0 ;
15412 bool temp2
= False
;
15413 bool temp3
= False
;
15414 PyObject
* obj0
= 0 ;
15415 PyObject
* obj1
= 0 ;
15416 PyObject
* obj2
= 0 ;
15417 char *kwnames
[] = {
15418 (char *) "self",(char *) "oldName",(char *) "newName", NULL
15421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15425 arg2
= wxString_in_helper(obj1
);
15426 if (arg2
== NULL
) SWIG_fail
;
15430 arg3
= wxString_in_helper(obj2
);
15431 if (arg3
== NULL
) SWIG_fail
;
15435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15436 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15438 wxPyEndAllowThreads(__tstate
);
15439 if (PyErr_Occurred()) SWIG_fail
;
15441 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15464 static PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15465 PyObject
*resultobj
;
15466 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15467 wxString
*arg2
= 0 ;
15468 wxString
*arg3
= 0 ;
15470 bool temp2
= False
;
15471 bool temp3
= False
;
15472 PyObject
* obj0
= 0 ;
15473 PyObject
* obj1
= 0 ;
15474 PyObject
* obj2
= 0 ;
15475 char *kwnames
[] = {
15476 (char *) "self",(char *) "oldName",(char *) "newName", NULL
15479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15483 arg2
= wxString_in_helper(obj1
);
15484 if (arg2
== NULL
) SWIG_fail
;
15488 arg3
= wxString_in_helper(obj2
);
15489 if (arg3
== NULL
) SWIG_fail
;
15493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15494 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15496 wxPyEndAllowThreads(__tstate
);
15497 if (PyErr_Occurred()) SWIG_fail
;
15499 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15522 static PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15523 PyObject
*resultobj
;
15524 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15525 wxString
*arg2
= 0 ;
15526 bool arg3
= (bool) True
;
15528 bool temp2
= False
;
15529 PyObject
* obj0
= 0 ;
15530 PyObject
* obj1
= 0 ;
15531 PyObject
* obj2
= 0 ;
15532 char *kwnames
[] = {
15533 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
15536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15540 arg2
= wxString_in_helper(obj1
);
15541 if (arg2
== NULL
) SWIG_fail
;
15545 arg3
= (bool) SWIG_AsBool(obj2
);
15546 if (PyErr_Occurred()) SWIG_fail
;
15549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15550 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
15552 wxPyEndAllowThreads(__tstate
);
15553 if (PyErr_Occurred()) SWIG_fail
;
15555 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15570 static PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15571 PyObject
*resultobj
;
15572 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15573 wxString
*arg2
= 0 ;
15575 bool temp2
= False
;
15576 PyObject
* obj0
= 0 ;
15577 PyObject
* obj1
= 0 ;
15578 char *kwnames
[] = {
15579 (char *) "self",(char *) "key", NULL
15582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
15583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15586 arg2
= wxString_in_helper(obj1
);
15587 if (arg2
== NULL
) SWIG_fail
;
15591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15592 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
15594 wxPyEndAllowThreads(__tstate
);
15595 if (PyErr_Occurred()) SWIG_fail
;
15597 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15612 static PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15613 PyObject
*resultobj
;
15614 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15616 PyObject
* obj0
= 0 ;
15617 char *kwnames
[] = {
15618 (char *) "self", NULL
15621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_DeleteAll",kwnames
,&obj0
)) goto fail
;
15622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15626 result
= (bool)(arg1
)->DeleteAll();
15628 wxPyEndAllowThreads(__tstate
);
15629 if (PyErr_Occurred()) SWIG_fail
;
15631 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15638 static PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15639 PyObject
*resultobj
;
15640 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15641 bool arg2
= (bool) True
;
15642 PyObject
* obj0
= 0 ;
15643 PyObject
* obj1
= 0 ;
15644 char *kwnames
[] = {
15645 (char *) "self",(char *) "doIt", NULL
15648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
15649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15652 arg2
= (bool) SWIG_AsBool(obj1
);
15653 if (PyErr_Occurred()) SWIG_fail
;
15656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15657 (arg1
)->SetExpandEnvVars(arg2
);
15659 wxPyEndAllowThreads(__tstate
);
15660 if (PyErr_Occurred()) SWIG_fail
;
15662 Py_INCREF(Py_None
); resultobj
= Py_None
;
15669 static PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15670 PyObject
*resultobj
;
15671 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15673 PyObject
* obj0
= 0 ;
15674 char *kwnames
[] = {
15675 (char *) "self", NULL
15678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames
,&obj0
)) goto fail
;
15679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15683 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
15685 wxPyEndAllowThreads(__tstate
);
15686 if (PyErr_Occurred()) SWIG_fail
;
15688 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15695 static PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15696 PyObject
*resultobj
;
15697 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15698 bool arg2
= (bool) True
;
15699 PyObject
* obj0
= 0 ;
15700 PyObject
* obj1
= 0 ;
15701 char *kwnames
[] = {
15702 (char *) "self",(char *) "doIt", NULL
15705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
15706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15709 arg2
= (bool) SWIG_AsBool(obj1
);
15710 if (PyErr_Occurred()) SWIG_fail
;
15713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15714 (arg1
)->SetRecordDefaults(arg2
);
15716 wxPyEndAllowThreads(__tstate
);
15717 if (PyErr_Occurred()) SWIG_fail
;
15719 Py_INCREF(Py_None
); resultobj
= Py_None
;
15726 static PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15727 PyObject
*resultobj
;
15728 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15730 PyObject
* obj0
= 0 ;
15731 char *kwnames
[] = {
15732 (char *) "self", NULL
15735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames
,&obj0
)) goto fail
;
15736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15740 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
15742 wxPyEndAllowThreads(__tstate
);
15743 if (PyErr_Occurred()) SWIG_fail
;
15745 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15752 static PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15753 PyObject
*resultobj
;
15754 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15755 wxString
*arg2
= 0 ;
15757 bool temp2
= False
;
15758 PyObject
* obj0
= 0 ;
15759 PyObject
* obj1
= 0 ;
15760 char *kwnames
[] = {
15761 (char *) "self",(char *) "str", NULL
15764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
15765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15768 arg2
= wxString_in_helper(obj1
);
15769 if (arg2
== NULL
) SWIG_fail
;
15773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15774 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
15776 wxPyEndAllowThreads(__tstate
);
15777 if (PyErr_Occurred()) SWIG_fail
;
15781 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15783 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15800 static PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15801 PyObject
*resultobj
;
15802 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15804 PyObject
* obj0
= 0 ;
15805 char *kwnames
[] = {
15806 (char *) "self", NULL
15809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetAppName",kwnames
,&obj0
)) goto fail
;
15810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15814 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
15816 wxPyEndAllowThreads(__tstate
);
15817 if (PyErr_Occurred()) SWIG_fail
;
15821 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15823 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15832 static PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15833 PyObject
*resultobj
;
15834 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15836 PyObject
* obj0
= 0 ;
15837 char *kwnames
[] = {
15838 (char *) "self", NULL
15841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetVendorName",kwnames
,&obj0
)) goto fail
;
15842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15846 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
15848 wxPyEndAllowThreads(__tstate
);
15849 if (PyErr_Occurred()) SWIG_fail
;
15853 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15855 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15864 static PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15865 PyObject
*resultobj
;
15866 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15867 wxString
*arg2
= 0 ;
15868 bool temp2
= False
;
15869 PyObject
* obj0
= 0 ;
15870 PyObject
* obj1
= 0 ;
15871 char *kwnames
[] = {
15872 (char *) "self",(char *) "appName", NULL
15875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
15876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15879 arg2
= wxString_in_helper(obj1
);
15880 if (arg2
== NULL
) SWIG_fail
;
15884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15885 (arg1
)->SetAppName((wxString
const &)*arg2
);
15887 wxPyEndAllowThreads(__tstate
);
15888 if (PyErr_Occurred()) SWIG_fail
;
15890 Py_INCREF(Py_None
); resultobj
= Py_None
;
15905 static PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15906 PyObject
*resultobj
;
15907 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15908 wxString
*arg2
= 0 ;
15909 bool temp2
= False
;
15910 PyObject
* obj0
= 0 ;
15911 PyObject
* obj1
= 0 ;
15912 char *kwnames
[] = {
15913 (char *) "self",(char *) "vendorName", NULL
15916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
15917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15920 arg2
= wxString_in_helper(obj1
);
15921 if (arg2
== NULL
) SWIG_fail
;
15925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15926 (arg1
)->SetVendorName((wxString
const &)*arg2
);
15928 wxPyEndAllowThreads(__tstate
);
15929 if (PyErr_Occurred()) SWIG_fail
;
15931 Py_INCREF(Py_None
); resultobj
= Py_None
;
15946 static PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15947 PyObject
*resultobj
;
15948 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15950 PyObject
* obj0
= 0 ;
15951 PyObject
* obj1
= 0 ;
15952 char *kwnames
[] = {
15953 (char *) "self",(char *) "style", NULL
15956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
15957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15959 arg2
= (long) SWIG_AsLong(obj1
);
15960 if (PyErr_Occurred()) SWIG_fail
;
15962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15963 (arg1
)->SetStyle(arg2
);
15965 wxPyEndAllowThreads(__tstate
);
15966 if (PyErr_Occurred()) SWIG_fail
;
15968 Py_INCREF(Py_None
); resultobj
= Py_None
;
15975 static PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15976 PyObject
*resultobj
;
15977 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15979 PyObject
* obj0
= 0 ;
15980 char *kwnames
[] = {
15981 (char *) "self", NULL
15984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetStyle",kwnames
,&obj0
)) goto fail
;
15985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15989 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
15991 wxPyEndAllowThreads(__tstate
);
15992 if (PyErr_Occurred()) SWIG_fail
;
15994 resultobj
= SWIG_FromLong((long)result
);
16001 static PyObject
* ConfigBase_swigregister(PyObject
*, PyObject
*args
) {
16003 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16004 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase
, obj
);
16006 return Py_BuildValue((char *)"");
16008 static PyObject
*_wrap_new_Config(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16009 PyObject
*resultobj
;
16010 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16011 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16012 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16013 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16014 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16015 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16016 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16017 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16018 long arg5
= (long) 0 ;
16020 bool temp1
= False
;
16021 bool temp2
= False
;
16022 bool temp3
= False
;
16023 bool temp4
= False
;
16024 PyObject
* obj0
= 0 ;
16025 PyObject
* obj1
= 0 ;
16026 PyObject
* obj2
= 0 ;
16027 PyObject
* obj3
= 0 ;
16028 PyObject
* obj4
= 0 ;
16029 char *kwnames
[] = {
16030 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16036 arg1
= wxString_in_helper(obj0
);
16037 if (arg1
== NULL
) SWIG_fail
;
16043 arg2
= wxString_in_helper(obj1
);
16044 if (arg2
== NULL
) SWIG_fail
;
16050 arg3
= wxString_in_helper(obj2
);
16051 if (arg3
== NULL
) SWIG_fail
;
16057 arg4
= wxString_in_helper(obj3
);
16058 if (arg4
== NULL
) SWIG_fail
;
16063 arg5
= (long) SWIG_AsLong(obj4
);
16064 if (PyErr_Occurred()) SWIG_fail
;
16067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16068 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
16070 wxPyEndAllowThreads(__tstate
);
16071 if (PyErr_Occurred()) SWIG_fail
;
16073 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfig
, 1);
16112 static PyObject
*_wrap_delete_Config(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16113 PyObject
*resultobj
;
16114 wxConfig
*arg1
= (wxConfig
*) 0 ;
16115 PyObject
* obj0
= 0 ;
16116 char *kwnames
[] = {
16117 (char *) "self", NULL
16120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Config",kwnames
,&obj0
)) goto fail
;
16121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfig
,
16122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16127 wxPyEndAllowThreads(__tstate
);
16128 if (PyErr_Occurred()) SWIG_fail
;
16130 Py_INCREF(Py_None
); resultobj
= Py_None
;
16137 static PyObject
* Config_swigregister(PyObject
*, PyObject
*args
) {
16139 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16140 SWIG_TypeClientData(SWIGTYPE_p_wxConfig
, obj
);
16142 return Py_BuildValue((char *)"");
16144 static PyObject
*_wrap_new_FileConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16145 PyObject
*resultobj
;
16146 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16147 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16148 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16149 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16150 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16151 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16152 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16153 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16154 long arg5
= (long) 0 ;
16155 wxFileConfig
*result
;
16156 bool temp1
= False
;
16157 bool temp2
= False
;
16158 bool temp3
= False
;
16159 bool temp4
= False
;
16160 PyObject
* obj0
= 0 ;
16161 PyObject
* obj1
= 0 ;
16162 PyObject
* obj2
= 0 ;
16163 PyObject
* obj3
= 0 ;
16164 PyObject
* obj4
= 0 ;
16165 char *kwnames
[] = {
16166 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16172 arg1
= wxString_in_helper(obj0
);
16173 if (arg1
== NULL
) SWIG_fail
;
16179 arg2
= wxString_in_helper(obj1
);
16180 if (arg2
== NULL
) SWIG_fail
;
16186 arg3
= wxString_in_helper(obj2
);
16187 if (arg3
== NULL
) SWIG_fail
;
16193 arg4
= wxString_in_helper(obj3
);
16194 if (arg4
== NULL
) SWIG_fail
;
16199 arg5
= (long) SWIG_AsLong(obj4
);
16200 if (PyErr_Occurred()) SWIG_fail
;
16203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16204 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
16206 wxPyEndAllowThreads(__tstate
);
16207 if (PyErr_Occurred()) SWIG_fail
;
16209 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileConfig
, 1);
16248 static PyObject
*_wrap_delete_FileConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16249 PyObject
*resultobj
;
16250 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
16251 PyObject
* obj0
= 0 ;
16252 char *kwnames
[] = {
16253 (char *) "self", NULL
16256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileConfig",kwnames
,&obj0
)) goto fail
;
16257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileConfig
,
16258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16263 wxPyEndAllowThreads(__tstate
);
16264 if (PyErr_Occurred()) SWIG_fail
;
16266 Py_INCREF(Py_None
); resultobj
= Py_None
;
16273 static PyObject
* FileConfig_swigregister(PyObject
*, PyObject
*args
) {
16275 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16276 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig
, obj
);
16278 return Py_BuildValue((char *)"");
16280 static PyObject
*_wrap_new_ConfigPathChanger(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16281 PyObject
*resultobj
;
16282 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16283 wxString
*arg2
= 0 ;
16284 wxConfigPathChanger
*result
;
16285 bool temp2
= False
;
16286 PyObject
* obj0
= 0 ;
16287 PyObject
* obj1
= 0 ;
16288 char *kwnames
[] = {
16289 (char *) "config",(char *) "entry", NULL
16292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) goto fail
;
16293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16296 arg2
= wxString_in_helper(obj1
);
16297 if (arg2
== NULL
) SWIG_fail
;
16301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16302 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
16304 wxPyEndAllowThreads(__tstate
);
16305 if (PyErr_Occurred()) SWIG_fail
;
16307 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigPathChanger
, 1);
16322 static PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16323 PyObject
*resultobj
;
16324 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
16325 PyObject
* obj0
= 0 ;
16326 char *kwnames
[] = {
16327 (char *) "self", NULL
16330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigPathChanger",kwnames
,&obj0
)) goto fail
;
16331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigPathChanger
,
16332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16337 wxPyEndAllowThreads(__tstate
);
16338 if (PyErr_Occurred()) SWIG_fail
;
16340 Py_INCREF(Py_None
); resultobj
= Py_None
;
16347 static PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16348 PyObject
*resultobj
;
16349 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
16351 PyObject
* obj0
= 0 ;
16352 char *kwnames
[] = {
16353 (char *) "self", NULL
16356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigPathChanger_Name",kwnames
,&obj0
)) goto fail
;
16357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigPathChanger
,
16358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16362 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
16363 result
= (wxString
*) &_result_ref
;
16366 wxPyEndAllowThreads(__tstate
);
16367 if (PyErr_Occurred()) SWIG_fail
;
16371 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16373 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16382 static PyObject
* ConfigPathChanger_swigregister(PyObject
*, PyObject
*args
) {
16384 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16385 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger
, obj
);
16387 return Py_BuildValue((char *)"");
16389 static PyObject
*_wrap_ExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16390 PyObject
*resultobj
;
16391 wxString
*arg1
= 0 ;
16393 bool temp1
= False
;
16394 PyObject
* obj0
= 0 ;
16395 char *kwnames
[] = {
16396 (char *) "sz", NULL
16399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) goto fail
;
16401 arg1
= wxString_in_helper(obj0
);
16402 if (arg1
== NULL
) SWIG_fail
;
16406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16407 result
= wxExpandEnvVars((wxString
const &)*arg1
);
16409 wxPyEndAllowThreads(__tstate
);
16410 if (PyErr_Occurred()) SWIG_fail
;
16414 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16416 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16433 static int _wrap_DateFormatStr_set(PyObject
*) {
16434 PyErr_SetString(PyExc_TypeError
,"Variable DateFormatStr is read-only.");
16439 static PyObject
*_wrap_DateFormatStr_get() {
16444 pyobj
= PyUnicode_FromWideChar((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
16446 pyobj
= PyString_FromStringAndSize((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
16453 static int _wrap_TimeSpanFormatStr_set(PyObject
*) {
16454 PyErr_SetString(PyExc_TypeError
,"Variable TimeSpanFormatStr is read-only.");
16459 static PyObject
*_wrap_TimeSpanFormatStr_get() {
16464 pyobj
= PyUnicode_FromWideChar((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
16466 pyobj
= PyString_FromStringAndSize((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
16473 static PyObject
*_wrap_DateTime_SetCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16474 PyObject
*resultobj
;
16476 PyObject
* obj0
= 0 ;
16477 char *kwnames
[] = {
16478 (char *) "country", NULL
16481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) goto fail
;
16482 arg1
= (wxDateTime::Country
) SWIG_AsInt(obj0
);
16483 if (PyErr_Occurred()) SWIG_fail
;
16485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16486 wxDateTime::SetCountry((wxDateTime::Country
)arg1
);
16488 wxPyEndAllowThreads(__tstate
);
16489 if (PyErr_Occurred()) SWIG_fail
;
16491 Py_INCREF(Py_None
); resultobj
= Py_None
;
16498 static PyObject
*_wrap_DateTime_GetCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16499 PyObject
*resultobj
;
16501 char *kwnames
[] = {
16505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetCountry",kwnames
)) goto fail
;
16507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16508 result
= (int)wxDateTime::GetCountry();
16510 wxPyEndAllowThreads(__tstate
);
16511 if (PyErr_Occurred()) SWIG_fail
;
16513 resultobj
= SWIG_FromInt((int)result
);
16520 static PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16521 PyObject
*resultobj
;
16522 int arg1
= (int) wxDateTime::Country_Default
;
16524 PyObject
* obj0
= 0 ;
16525 char *kwnames
[] = {
16526 (char *) "country", NULL
16529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) goto fail
;
16531 arg1
= (wxDateTime::Country
) SWIG_AsInt(obj0
);
16532 if (PyErr_Occurred()) SWIG_fail
;
16535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16536 result
= (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country
)arg1
);
16538 wxPyEndAllowThreads(__tstate
);
16539 if (PyErr_Occurred()) SWIG_fail
;
16541 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16548 static PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16549 PyObject
*resultobj
;
16550 int arg1
= (int) wxDateTime::Gregorian
;
16552 PyObject
* obj0
= 0 ;
16553 char *kwnames
[] = {
16554 (char *) "cal", NULL
16557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) goto fail
;
16559 arg1
= (wxDateTime::Calendar
) SWIG_AsInt(obj0
);
16560 if (PyErr_Occurred()) SWIG_fail
;
16563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16564 result
= (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar
)arg1
);
16566 wxPyEndAllowThreads(__tstate
);
16567 if (PyErr_Occurred()) SWIG_fail
;
16569 resultobj
= SWIG_FromInt((int)result
);
16576 static PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16577 PyObject
*resultobj
;
16580 PyObject
* obj0
= 0 ;
16581 char *kwnames
[] = {
16582 (char *) "year", NULL
16585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) goto fail
;
16586 arg1
= (int) SWIG_AsInt(obj0
);
16587 if (PyErr_Occurred()) SWIG_fail
;
16589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16590 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
16592 wxPyEndAllowThreads(__tstate
);
16593 if (PyErr_Occurred()) SWIG_fail
;
16595 resultobj
= SWIG_FromInt((int)result
);
16602 static PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16603 PyObject
*resultobj
;
16604 int arg1
= (int) wxDateTime::Gregorian
;
16606 PyObject
* obj0
= 0 ;
16607 char *kwnames
[] = {
16608 (char *) "cal", NULL
16611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",kwnames
,&obj0
)) goto fail
;
16613 arg1
= (wxDateTime::Calendar
) SWIG_AsInt(obj0
);
16614 if (PyErr_Occurred()) SWIG_fail
;
16617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16618 result
= (int)wxDateTime::GetCurrentMonth((wxDateTime::Calendar
)arg1
);
16620 wxPyEndAllowThreads(__tstate
);
16621 if (PyErr_Occurred()) SWIG_fail
;
16623 resultobj
= SWIG_FromInt((int)result
);
16630 static PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16631 PyObject
*resultobj
;
16632 int arg1
= (int) wxDateTime::Inv_Year
;
16633 int arg2
= (int) wxDateTime::Gregorian
;
16635 PyObject
* obj0
= 0 ;
16636 PyObject
* obj1
= 0 ;
16637 char *kwnames
[] = {
16638 (char *) "year",(char *) "cal", NULL
16641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) goto fail
;
16643 arg1
= (int) SWIG_AsInt(obj0
);
16644 if (PyErr_Occurred()) SWIG_fail
;
16647 arg2
= (wxDateTime::Calendar
) SWIG_AsInt(obj1
);
16648 if (PyErr_Occurred()) SWIG_fail
;
16651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16652 result
= (bool)wxDateTime::IsLeapYear(arg1
,(wxDateTime::Calendar
)arg2
);
16654 wxPyEndAllowThreads(__tstate
);
16655 if (PyErr_Occurred()) SWIG_fail
;
16657 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16664 static PyObject
*_wrap_DateTime_GetCentury(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16665 PyObject
*resultobj
;
16666 int arg1
= (int) wxDateTime::Inv_Year
;
16668 PyObject
* obj0
= 0 ;
16669 char *kwnames
[] = {
16670 (char *) "year", NULL
16673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) goto fail
;
16675 arg1
= (int) SWIG_AsInt(obj0
);
16676 if (PyErr_Occurred()) SWIG_fail
;
16679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16680 result
= (int)wxDateTime::GetCentury(arg1
);
16682 wxPyEndAllowThreads(__tstate
);
16683 if (PyErr_Occurred()) SWIG_fail
;
16685 resultobj
= SWIG_FromInt((int)result
);
16692 static PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16693 PyObject
*resultobj
;
16695 int arg2
= (int) wxDateTime::Gregorian
;
16697 PyObject
* obj0
= 0 ;
16698 PyObject
* obj1
= 0 ;
16699 char *kwnames
[] = {
16700 (char *) "year",(char *) "cal", NULL
16703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) goto fail
;
16704 arg1
= (int) SWIG_AsInt(obj0
);
16705 if (PyErr_Occurred()) SWIG_fail
;
16707 arg2
= (wxDateTime::Calendar
) SWIG_AsInt(obj1
);
16708 if (PyErr_Occurred()) SWIG_fail
;
16711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16712 result
= (int)wxDateTime::GetNumberOfDays(arg1
,(wxDateTime::Calendar
)arg2
);
16714 wxPyEndAllowThreads(__tstate
);
16715 if (PyErr_Occurred()) SWIG_fail
;
16717 resultobj
= SWIG_FromInt((int)result
);
16724 static PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16725 PyObject
*resultobj
;
16727 int arg2
= (int) wxDateTime::Inv_Year
;
16728 int arg3
= (int) wxDateTime::Gregorian
;
16730 PyObject
* obj0
= 0 ;
16731 PyObject
* obj1
= 0 ;
16732 PyObject
* obj2
= 0 ;
16733 char *kwnames
[] = {
16734 (char *) "month",(char *) "year",(char *) "cal", NULL
16737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16738 arg1
= (wxDateTime::Month
) SWIG_AsInt(obj0
);
16739 if (PyErr_Occurred()) SWIG_fail
;
16741 arg2
= (int) SWIG_AsInt(obj1
);
16742 if (PyErr_Occurred()) SWIG_fail
;
16745 arg3
= (wxDateTime::Calendar
) SWIG_AsInt(obj2
);
16746 if (PyErr_Occurred()) SWIG_fail
;
16749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16750 result
= (int)wxDateTime::GetNumberOfDays((wxDateTime::Month
)arg1
,arg2
,(wxDateTime::Calendar
)arg3
);
16752 wxPyEndAllowThreads(__tstate
);
16753 if (PyErr_Occurred()) SWIG_fail
;
16755 resultobj
= SWIG_FromInt((int)result
);
16762 static PyObject
*_wrap_DateTime_GetMonthName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16763 PyObject
*resultobj
;
16765 int arg2
= (int) wxDateTime::Name_Full
;
16767 PyObject
* obj0
= 0 ;
16768 PyObject
* obj1
= 0 ;
16769 char *kwnames
[] = {
16770 (char *) "month",(char *) "flags", NULL
16773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) goto fail
;
16774 arg1
= (wxDateTime::Month
) SWIG_AsInt(obj0
);
16775 if (PyErr_Occurred()) SWIG_fail
;
16777 arg2
= (wxDateTime::NameFlags
) SWIG_AsInt(obj1
);
16778 if (PyErr_Occurred()) SWIG_fail
;
16781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16782 result
= wxDateTime::GetMonthName((wxDateTime::Month
)arg1
,(wxDateTime::NameFlags
)arg2
);
16784 wxPyEndAllowThreads(__tstate
);
16785 if (PyErr_Occurred()) SWIG_fail
;
16789 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16791 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16800 static PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16801 PyObject
*resultobj
;
16803 int arg2
= (int) wxDateTime::Name_Full
;
16805 PyObject
* obj0
= 0 ;
16806 PyObject
* obj1
= 0 ;
16807 char *kwnames
[] = {
16808 (char *) "weekday",(char *) "flags", NULL
16811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) goto fail
;
16812 arg1
= (wxDateTime::WeekDay
) SWIG_AsInt(obj0
);
16813 if (PyErr_Occurred()) SWIG_fail
;
16815 arg2
= (wxDateTime::NameFlags
) SWIG_AsInt(obj1
);
16816 if (PyErr_Occurred()) SWIG_fail
;
16819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16820 result
= wxDateTime::GetWeekDayName((wxDateTime::WeekDay
)arg1
,(wxDateTime::NameFlags
)arg2
);
16822 wxPyEndAllowThreads(__tstate
);
16823 if (PyErr_Occurred()) SWIG_fail
;
16827 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16829 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16838 static PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16839 PyObject
*resultobj
;
16840 wxString
*arg1
= (wxString
*) 0 ;
16841 wxString
*arg2
= (wxString
*) 0 ;
16842 bool temp1
= False
;
16843 bool temp2
= False
;
16844 PyObject
* obj0
= 0 ;
16845 PyObject
* obj1
= 0 ;
16846 char *kwnames
[] = {
16847 (char *) "OUTPUT",(char *) "OUTPUT", NULL
16850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetAmPmStrings",kwnames
,&obj0
,&obj1
)) goto fail
;
16852 arg1
= wxString_in_helper(obj0
);
16853 if (arg1
== NULL
) SWIG_fail
;
16857 arg2
= wxString_in_helper(obj1
);
16858 if (arg2
== NULL
) SWIG_fail
;
16862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16863 wxDateTime::GetAmPmStrings(arg1
,arg2
);
16865 wxPyEndAllowThreads(__tstate
);
16866 if (PyErr_Occurred()) SWIG_fail
;
16868 Py_INCREF(Py_None
); resultobj
= Py_None
;
16891 static PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16892 PyObject
*resultobj
;
16893 int arg1
= (int) wxDateTime::Inv_Year
;
16894 int arg2
= (int) wxDateTime::Country_Default
;
16896 PyObject
* obj0
= 0 ;
16897 PyObject
* obj1
= 0 ;
16898 char *kwnames
[] = {
16899 (char *) "year",(char *) "country", NULL
16902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) goto fail
;
16904 arg1
= (int) SWIG_AsInt(obj0
);
16905 if (PyErr_Occurred()) SWIG_fail
;
16908 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
16909 if (PyErr_Occurred()) SWIG_fail
;
16912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16913 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,(wxDateTime::Country
)arg2
);
16915 wxPyEndAllowThreads(__tstate
);
16916 if (PyErr_Occurred()) SWIG_fail
;
16918 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16925 static PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16926 PyObject
*resultobj
;
16927 int arg1
= (int) wxDateTime::Inv_Year
;
16928 int arg2
= (int) wxDateTime::Country_Default
;
16930 PyObject
* obj0
= 0 ;
16931 PyObject
* obj1
= 0 ;
16932 char *kwnames
[] = {
16933 (char *) "year",(char *) "country", NULL
16936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetBeginDST",kwnames
,&obj0
,&obj1
)) goto fail
;
16938 arg1
= (int) SWIG_AsInt(obj0
);
16939 if (PyErr_Occurred()) SWIG_fail
;
16942 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
16943 if (PyErr_Occurred()) SWIG_fail
;
16946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16947 result
= wxDateTime::GetBeginDST(arg1
,(wxDateTime::Country
)arg2
);
16949 wxPyEndAllowThreads(__tstate
);
16950 if (PyErr_Occurred()) SWIG_fail
;
16953 wxDateTime
* resultptr
;
16954 resultptr
= new wxDateTime((wxDateTime
&) result
);
16955 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
16963 static PyObject
*_wrap_DateTime_GetEndDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16964 PyObject
*resultobj
;
16965 int arg1
= (int) wxDateTime::Inv_Year
;
16966 int arg2
= (int) wxDateTime::Country_Default
;
16968 PyObject
* obj0
= 0 ;
16969 PyObject
* obj1
= 0 ;
16970 char *kwnames
[] = {
16971 (char *) "year",(char *) "country", NULL
16974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) goto fail
;
16976 arg1
= (int) SWIG_AsInt(obj0
);
16977 if (PyErr_Occurred()) SWIG_fail
;
16980 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
16981 if (PyErr_Occurred()) SWIG_fail
;
16984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16985 result
= wxDateTime::GetEndDST(arg1
,(wxDateTime::Country
)arg2
);
16987 wxPyEndAllowThreads(__tstate
);
16988 if (PyErr_Occurred()) SWIG_fail
;
16991 wxDateTime
* resultptr
;
16992 resultptr
= new wxDateTime((wxDateTime
&) result
);
16993 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17001 static PyObject
*_wrap_DateTime_Now(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17002 PyObject
*resultobj
;
17004 char *kwnames
[] = {
17008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Now",kwnames
)) goto fail
;
17010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17011 result
= wxDateTime::Now();
17013 wxPyEndAllowThreads(__tstate
);
17014 if (PyErr_Occurred()) SWIG_fail
;
17017 wxDateTime
* resultptr
;
17018 resultptr
= new wxDateTime((wxDateTime
&) result
);
17019 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17027 static PyObject
*_wrap_DateTime_UNow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17028 PyObject
*resultobj
;
17030 char *kwnames
[] = {
17034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_UNow",kwnames
)) goto fail
;
17036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17037 result
= wxDateTime::UNow();
17039 wxPyEndAllowThreads(__tstate
);
17040 if (PyErr_Occurred()) SWIG_fail
;
17043 wxDateTime
* resultptr
;
17044 resultptr
= new wxDateTime((wxDateTime
&) result
);
17045 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17053 static PyObject
*_wrap_DateTime_Today(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17054 PyObject
*resultobj
;
17056 char *kwnames
[] = {
17060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Today",kwnames
)) goto fail
;
17062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17063 result
= wxDateTime::Today();
17065 wxPyEndAllowThreads(__tstate
);
17066 if (PyErr_Occurred()) SWIG_fail
;
17069 wxDateTime
* resultptr
;
17070 resultptr
= new wxDateTime((wxDateTime
&) result
);
17071 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17079 static PyObject
*_wrap_new_DateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17080 PyObject
*resultobj
;
17081 wxDateTime
*result
;
17082 char *kwnames
[] = {
17086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DateTime",kwnames
)) goto fail
;
17088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17089 result
= (wxDateTime
*)new wxDateTime();
17091 wxPyEndAllowThreads(__tstate
);
17092 if (PyErr_Occurred()) SWIG_fail
;
17094 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17101 static PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17102 PyObject
*resultobj
;
17104 wxDateTime
*result
;
17105 PyObject
* obj0
= 0 ;
17106 char *kwnames
[] = {
17107 (char *) "timet", NULL
17110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) goto fail
;
17111 arg1
= (time_t) SWIG_AsUnsignedInt(obj0
);
17112 if (PyErr_Occurred()) SWIG_fail
;
17114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17115 result
= (wxDateTime
*)new wxDateTime(arg1
);
17117 wxPyEndAllowThreads(__tstate
);
17118 if (PyErr_Occurred()) SWIG_fail
;
17120 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17127 static PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17128 PyObject
*resultobj
;
17130 wxDateTime
*result
;
17131 PyObject
* obj0
= 0 ;
17132 char *kwnames
[] = {
17133 (char *) "jdn", NULL
17136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) goto fail
;
17137 arg1
= (double) SWIG_AsDouble(obj0
);
17138 if (PyErr_Occurred()) SWIG_fail
;
17140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17141 result
= (wxDateTime
*)new wxDateTime(arg1
);
17143 wxPyEndAllowThreads(__tstate
);
17144 if (PyErr_Occurred()) SWIG_fail
;
17146 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17153 static PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17154 PyObject
*resultobj
;
17156 int arg2
= (int) 0 ;
17157 int arg3
= (int) 0 ;
17158 int arg4
= (int) 0 ;
17159 wxDateTime
*result
;
17160 PyObject
* obj0
= 0 ;
17161 PyObject
* obj1
= 0 ;
17162 PyObject
* obj2
= 0 ;
17163 PyObject
* obj3
= 0 ;
17164 char *kwnames
[] = {
17165 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17169 arg1
= (int) SWIG_AsInt(obj0
);
17170 if (PyErr_Occurred()) SWIG_fail
;
17172 arg2
= (int) SWIG_AsInt(obj1
);
17173 if (PyErr_Occurred()) SWIG_fail
;
17176 arg3
= (int) SWIG_AsInt(obj2
);
17177 if (PyErr_Occurred()) SWIG_fail
;
17180 arg4
= (int) SWIG_AsInt(obj3
);
17181 if (PyErr_Occurred()) SWIG_fail
;
17184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17185 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
17187 wxPyEndAllowThreads(__tstate
);
17188 if (PyErr_Occurred()) SWIG_fail
;
17190 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17197 static PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17198 PyObject
*resultobj
;
17200 int arg2
= (int) wxDateTime::Inv_Month
;
17201 int arg3
= (int) wxDateTime::Inv_Year
;
17202 int arg4
= (int) 0 ;
17203 int arg5
= (int) 0 ;
17204 int arg6
= (int) 0 ;
17205 int arg7
= (int) 0 ;
17206 wxDateTime
*result
;
17207 PyObject
* obj0
= 0 ;
17208 PyObject
* obj1
= 0 ;
17209 PyObject
* obj2
= 0 ;
17210 PyObject
* obj3
= 0 ;
17211 PyObject
* obj4
= 0 ;
17212 PyObject
* obj5
= 0 ;
17213 PyObject
* obj6
= 0 ;
17214 char *kwnames
[] = {
17215 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17219 arg1
= (int) SWIG_AsInt(obj0
);
17220 if (PyErr_Occurred()) SWIG_fail
;
17222 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
17223 if (PyErr_Occurred()) SWIG_fail
;
17226 arg3
= (int) SWIG_AsInt(obj2
);
17227 if (PyErr_Occurred()) SWIG_fail
;
17230 arg4
= (int) SWIG_AsInt(obj3
);
17231 if (PyErr_Occurred()) SWIG_fail
;
17234 arg5
= (int) SWIG_AsInt(obj4
);
17235 if (PyErr_Occurred()) SWIG_fail
;
17238 arg6
= (int) SWIG_AsInt(obj5
);
17239 if (PyErr_Occurred()) SWIG_fail
;
17242 arg7
= (int) SWIG_AsInt(obj6
);
17243 if (PyErr_Occurred()) SWIG_fail
;
17246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17247 result
= (wxDateTime
*)new wxDateTime(arg1
,(wxDateTime::Month
)arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
17249 wxPyEndAllowThreads(__tstate
);
17250 if (PyErr_Occurred()) SWIG_fail
;
17252 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17259 static PyObject
*_wrap_delete_DateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17260 PyObject
*resultobj
;
17261 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17262 PyObject
* obj0
= 0 ;
17263 char *kwnames
[] = {
17264 (char *) "self", NULL
17267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateTime",kwnames
,&obj0
)) goto fail
;
17268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17274 wxPyEndAllowThreads(__tstate
);
17275 if (PyErr_Occurred()) SWIG_fail
;
17277 Py_INCREF(Py_None
); resultobj
= Py_None
;
17284 static PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17285 PyObject
*resultobj
;
17286 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17287 wxDateTime
*result
;
17288 PyObject
* obj0
= 0 ;
17289 char *kwnames
[] = {
17290 (char *) "self", NULL
17293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetToCurrent",kwnames
,&obj0
)) goto fail
;
17294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17299 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
17300 result
= (wxDateTime
*) &_result_ref
;
17303 wxPyEndAllowThreads(__tstate
);
17304 if (PyErr_Occurred()) SWIG_fail
;
17306 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17313 static PyObject
*_wrap_DateTime_SetTimeT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17314 PyObject
*resultobj
;
17315 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17317 wxDateTime
*result
;
17318 PyObject
* obj0
= 0 ;
17319 PyObject
* obj1
= 0 ;
17320 char *kwnames
[] = {
17321 (char *) "self",(char *) "timet", NULL
17324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) goto fail
;
17325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17327 arg2
= (time_t) SWIG_AsUnsignedInt(obj1
);
17328 if (PyErr_Occurred()) SWIG_fail
;
17330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17332 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
17333 result
= (wxDateTime
*) &_result_ref
;
17336 wxPyEndAllowThreads(__tstate
);
17337 if (PyErr_Occurred()) SWIG_fail
;
17339 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17346 static PyObject
*_wrap_DateTime_SetJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17347 PyObject
*resultobj
;
17348 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17350 wxDateTime
*result
;
17351 PyObject
* obj0
= 0 ;
17352 PyObject
* obj1
= 0 ;
17353 char *kwnames
[] = {
17354 (char *) "self",(char *) "jdn", NULL
17357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) goto fail
;
17358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17360 arg2
= (double) SWIG_AsDouble(obj1
);
17361 if (PyErr_Occurred()) SWIG_fail
;
17363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17365 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
17366 result
= (wxDateTime
*) &_result_ref
;
17369 wxPyEndAllowThreads(__tstate
);
17370 if (PyErr_Occurred()) SWIG_fail
;
17372 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17379 static PyObject
*_wrap_DateTime_SetHMS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17380 PyObject
*resultobj
;
17381 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17383 int arg3
= (int) 0 ;
17384 int arg4
= (int) 0 ;
17385 int arg5
= (int) 0 ;
17386 wxDateTime
*result
;
17387 PyObject
* obj0
= 0 ;
17388 PyObject
* obj1
= 0 ;
17389 PyObject
* obj2
= 0 ;
17390 PyObject
* obj3
= 0 ;
17391 PyObject
* obj4
= 0 ;
17392 char *kwnames
[] = {
17393 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17399 arg2
= (int) SWIG_AsInt(obj1
);
17400 if (PyErr_Occurred()) SWIG_fail
;
17402 arg3
= (int) SWIG_AsInt(obj2
);
17403 if (PyErr_Occurred()) SWIG_fail
;
17406 arg4
= (int) SWIG_AsInt(obj3
);
17407 if (PyErr_Occurred()) SWIG_fail
;
17410 arg5
= (int) SWIG_AsInt(obj4
);
17411 if (PyErr_Occurred()) SWIG_fail
;
17414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17416 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
17417 result
= (wxDateTime
*) &_result_ref
;
17420 wxPyEndAllowThreads(__tstate
);
17421 if (PyErr_Occurred()) SWIG_fail
;
17423 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17430 static PyObject
*_wrap_DateTime_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17431 PyObject
*resultobj
;
17432 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17434 int arg3
= (int) wxDateTime::Inv_Month
;
17435 int arg4
= (int) wxDateTime::Inv_Year
;
17436 int arg5
= (int) 0 ;
17437 int arg6
= (int) 0 ;
17438 int arg7
= (int) 0 ;
17439 int arg8
= (int) 0 ;
17440 wxDateTime
*result
;
17441 PyObject
* obj0
= 0 ;
17442 PyObject
* obj1
= 0 ;
17443 PyObject
* obj2
= 0 ;
17444 PyObject
* obj3
= 0 ;
17445 PyObject
* obj4
= 0 ;
17446 PyObject
* obj5
= 0 ;
17447 PyObject
* obj6
= 0 ;
17448 PyObject
* obj7
= 0 ;
17449 char *kwnames
[] = {
17450 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
17454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17456 arg2
= (int) SWIG_AsInt(obj1
);
17457 if (PyErr_Occurred()) SWIG_fail
;
17459 arg3
= (wxDateTime::Month
) SWIG_AsInt(obj2
);
17460 if (PyErr_Occurred()) SWIG_fail
;
17463 arg4
= (int) SWIG_AsInt(obj3
);
17464 if (PyErr_Occurred()) SWIG_fail
;
17467 arg5
= (int) SWIG_AsInt(obj4
);
17468 if (PyErr_Occurred()) SWIG_fail
;
17471 arg6
= (int) SWIG_AsInt(obj5
);
17472 if (PyErr_Occurred()) SWIG_fail
;
17475 arg7
= (int) SWIG_AsInt(obj6
);
17476 if (PyErr_Occurred()) SWIG_fail
;
17479 arg8
= (int) SWIG_AsInt(obj7
);
17480 if (PyErr_Occurred()) SWIG_fail
;
17483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17485 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,(wxDateTime::Month
)arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
17486 result
= (wxDateTime
*) &_result_ref
;
17489 wxPyEndAllowThreads(__tstate
);
17490 if (PyErr_Occurred()) SWIG_fail
;
17492 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17499 static PyObject
*_wrap_DateTime_ResetTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17500 PyObject
*resultobj
;
17501 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17502 wxDateTime
*result
;
17503 PyObject
* obj0
= 0 ;
17504 char *kwnames
[] = {
17505 (char *) "self", NULL
17508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ResetTime",kwnames
,&obj0
)) goto fail
;
17509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17514 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
17515 result
= (wxDateTime
*) &_result_ref
;
17518 wxPyEndAllowThreads(__tstate
);
17519 if (PyErr_Occurred()) SWIG_fail
;
17521 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17528 static PyObject
*_wrap_DateTime_SetYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17529 PyObject
*resultobj
;
17530 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17532 wxDateTime
*result
;
17533 PyObject
* obj0
= 0 ;
17534 PyObject
* obj1
= 0 ;
17535 char *kwnames
[] = {
17536 (char *) "self",(char *) "year", NULL
17539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
17540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17542 arg2
= (int) SWIG_AsInt(obj1
);
17543 if (PyErr_Occurred()) SWIG_fail
;
17545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17547 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
17548 result
= (wxDateTime
*) &_result_ref
;
17551 wxPyEndAllowThreads(__tstate
);
17552 if (PyErr_Occurred()) SWIG_fail
;
17554 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17561 static PyObject
*_wrap_DateTime_SetMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17562 PyObject
*resultobj
;
17563 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17565 wxDateTime
*result
;
17566 PyObject
* obj0
= 0 ;
17567 PyObject
* obj1
= 0 ;
17568 char *kwnames
[] = {
17569 (char *) "self",(char *) "month", NULL
17572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
17573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17575 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
17576 if (PyErr_Occurred()) SWIG_fail
;
17578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17580 wxDateTime
&_result_ref
= (arg1
)->SetMonth((wxDateTime::Month
)arg2
);
17581 result
= (wxDateTime
*) &_result_ref
;
17584 wxPyEndAllowThreads(__tstate
);
17585 if (PyErr_Occurred()) SWIG_fail
;
17587 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17594 static PyObject
*_wrap_DateTime_SetDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17595 PyObject
*resultobj
;
17596 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17598 wxDateTime
*result
;
17599 PyObject
* obj0
= 0 ;
17600 PyObject
* obj1
= 0 ;
17601 char *kwnames
[] = {
17602 (char *) "self",(char *) "day", NULL
17605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
17606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17608 arg2
= (int) SWIG_AsInt(obj1
);
17609 if (PyErr_Occurred()) SWIG_fail
;
17611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17613 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
17614 result
= (wxDateTime
*) &_result_ref
;
17617 wxPyEndAllowThreads(__tstate
);
17618 if (PyErr_Occurred()) SWIG_fail
;
17620 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17627 static PyObject
*_wrap_DateTime_SetHour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17628 PyObject
*resultobj
;
17629 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17631 wxDateTime
*result
;
17632 PyObject
* obj0
= 0 ;
17633 PyObject
* obj1
= 0 ;
17634 char *kwnames
[] = {
17635 (char *) "self",(char *) "hour", NULL
17638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
17639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17641 arg2
= (int) SWIG_AsInt(obj1
);
17642 if (PyErr_Occurred()) SWIG_fail
;
17644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17646 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
17647 result
= (wxDateTime
*) &_result_ref
;
17650 wxPyEndAllowThreads(__tstate
);
17651 if (PyErr_Occurred()) SWIG_fail
;
17653 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17660 static PyObject
*_wrap_DateTime_SetMinute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17661 PyObject
*resultobj
;
17662 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17664 wxDateTime
*result
;
17665 PyObject
* obj0
= 0 ;
17666 PyObject
* obj1
= 0 ;
17667 char *kwnames
[] = {
17668 (char *) "self",(char *) "minute", NULL
17671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
17672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17674 arg2
= (int) SWIG_AsInt(obj1
);
17675 if (PyErr_Occurred()) SWIG_fail
;
17677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17679 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
17680 result
= (wxDateTime
*) &_result_ref
;
17683 wxPyEndAllowThreads(__tstate
);
17684 if (PyErr_Occurred()) SWIG_fail
;
17686 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17693 static PyObject
*_wrap_DateTime_SetSecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17694 PyObject
*resultobj
;
17695 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17697 wxDateTime
*result
;
17698 PyObject
* obj0
= 0 ;
17699 PyObject
* obj1
= 0 ;
17700 char *kwnames
[] = {
17701 (char *) "self",(char *) "second", NULL
17704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
17705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17707 arg2
= (int) SWIG_AsInt(obj1
);
17708 if (PyErr_Occurred()) SWIG_fail
;
17710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17712 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
17713 result
= (wxDateTime
*) &_result_ref
;
17716 wxPyEndAllowThreads(__tstate
);
17717 if (PyErr_Occurred()) SWIG_fail
;
17719 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17726 static PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17727 PyObject
*resultobj
;
17728 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17730 wxDateTime
*result
;
17731 PyObject
* obj0
= 0 ;
17732 PyObject
* obj1
= 0 ;
17733 char *kwnames
[] = {
17734 (char *) "self",(char *) "millisecond", NULL
17737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
17738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17740 arg2
= (int) SWIG_AsInt(obj1
);
17741 if (PyErr_Occurred()) SWIG_fail
;
17743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17745 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
17746 result
= (wxDateTime
*) &_result_ref
;
17749 wxPyEndAllowThreads(__tstate
);
17750 if (PyErr_Occurred()) SWIG_fail
;
17752 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17759 static PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17760 PyObject
*resultobj
;
17761 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17763 int arg3
= (int) wxDateTime::Monday_First
;
17764 wxDateTime
*result
;
17765 PyObject
* obj0
= 0 ;
17766 PyObject
* obj1
= 0 ;
17767 PyObject
* obj2
= 0 ;
17768 char *kwnames
[] = {
17769 (char *) "self",(char *) "weekday",(char *) "flags", NULL
17772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17775 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
17776 if (PyErr_Occurred()) SWIG_fail
;
17778 arg3
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj2
);
17779 if (PyErr_Occurred()) SWIG_fail
;
17782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17784 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
17785 result
= (wxDateTime
*) &_result_ref
;
17788 wxPyEndAllowThreads(__tstate
);
17789 if (PyErr_Occurred()) SWIG_fail
;
17791 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17798 static PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17799 PyObject
*resultobj
;
17800 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17802 int arg3
= (int) wxDateTime::Monday_First
;
17804 PyObject
* obj0
= 0 ;
17805 PyObject
* obj1
= 0 ;
17806 PyObject
* obj2
= 0 ;
17807 char *kwnames
[] = {
17808 (char *) "self",(char *) "weekday",(char *) "flags", NULL
17811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17814 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
17815 if (PyErr_Occurred()) SWIG_fail
;
17817 arg3
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj2
);
17818 if (PyErr_Occurred()) SWIG_fail
;
17821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17822 result
= (arg1
)->GetWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
17824 wxPyEndAllowThreads(__tstate
);
17825 if (PyErr_Occurred()) SWIG_fail
;
17828 wxDateTime
* resultptr
;
17829 resultptr
= new wxDateTime((wxDateTime
&) result
);
17830 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17838 static PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17839 PyObject
*resultobj
;
17840 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17842 wxDateTime
*result
;
17843 PyObject
* obj0
= 0 ;
17844 PyObject
* obj1
= 0 ;
17845 char *kwnames
[] = {
17846 (char *) "self",(char *) "weekday", NULL
17849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
17850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17852 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
17853 if (PyErr_Occurred()) SWIG_fail
;
17855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17857 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay((wxDateTime::WeekDay
)arg2
);
17858 result
= (wxDateTime
*) &_result_ref
;
17861 wxPyEndAllowThreads(__tstate
);
17862 if (PyErr_Occurred()) SWIG_fail
;
17864 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17871 static PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17872 PyObject
*resultobj
;
17873 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17876 PyObject
* obj0
= 0 ;
17877 PyObject
* obj1
= 0 ;
17878 char *kwnames
[] = {
17879 (char *) "self",(char *) "weekday", NULL
17882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
17883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17885 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
17886 if (PyErr_Occurred()) SWIG_fail
;
17888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17889 result
= (arg1
)->GetNextWeekDay((wxDateTime::WeekDay
)arg2
);
17891 wxPyEndAllowThreads(__tstate
);
17892 if (PyErr_Occurred()) SWIG_fail
;
17895 wxDateTime
* resultptr
;
17896 resultptr
= new wxDateTime((wxDateTime
&) result
);
17897 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17905 static PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17906 PyObject
*resultobj
;
17907 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17909 wxDateTime
*result
;
17910 PyObject
* obj0
= 0 ;
17911 PyObject
* obj1
= 0 ;
17912 char *kwnames
[] = {
17913 (char *) "self",(char *) "weekday", NULL
17916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
17917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17919 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
17920 if (PyErr_Occurred()) SWIG_fail
;
17922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17924 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay((wxDateTime::WeekDay
)arg2
);
17925 result
= (wxDateTime
*) &_result_ref
;
17928 wxPyEndAllowThreads(__tstate
);
17929 if (PyErr_Occurred()) SWIG_fail
;
17931 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17938 static PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17939 PyObject
*resultobj
;
17940 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17943 PyObject
* obj0
= 0 ;
17944 PyObject
* obj1
= 0 ;
17945 char *kwnames
[] = {
17946 (char *) "self",(char *) "weekday", NULL
17949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
17950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17952 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
17953 if (PyErr_Occurred()) SWIG_fail
;
17955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17956 result
= (arg1
)->GetPrevWeekDay((wxDateTime::WeekDay
)arg2
);
17958 wxPyEndAllowThreads(__tstate
);
17959 if (PyErr_Occurred()) SWIG_fail
;
17962 wxDateTime
* resultptr
;
17963 resultptr
= new wxDateTime((wxDateTime
&) result
);
17964 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17972 static PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17973 PyObject
*resultobj
;
17974 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17976 int arg3
= (int) 1 ;
17977 int arg4
= (int) wxDateTime::Inv_Month
;
17978 int arg5
= (int) wxDateTime::Inv_Year
;
17980 PyObject
* obj0
= 0 ;
17981 PyObject
* obj1
= 0 ;
17982 PyObject
* obj2
= 0 ;
17983 PyObject
* obj3
= 0 ;
17984 PyObject
* obj4
= 0 ;
17985 char *kwnames
[] = {
17986 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
17989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17992 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
17993 if (PyErr_Occurred()) SWIG_fail
;
17995 arg3
= (int) SWIG_AsInt(obj2
);
17996 if (PyErr_Occurred()) SWIG_fail
;
17999 arg4
= (wxDateTime::Month
) SWIG_AsInt(obj3
);
18000 if (PyErr_Occurred()) SWIG_fail
;
18003 arg5
= (int) SWIG_AsInt(obj4
);
18004 if (PyErr_Occurred()) SWIG_fail
;
18007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18008 result
= (bool)(arg1
)->SetToWeekDay((wxDateTime::WeekDay
)arg2
,arg3
,(wxDateTime::Month
)arg4
,arg5
);
18010 wxPyEndAllowThreads(__tstate
);
18011 if (PyErr_Occurred()) SWIG_fail
;
18013 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18020 static PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18021 PyObject
*resultobj
;
18022 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18024 int arg3
= (int) wxDateTime::Inv_Month
;
18025 int arg4
= (int) wxDateTime::Inv_Year
;
18027 PyObject
* obj0
= 0 ;
18028 PyObject
* obj1
= 0 ;
18029 PyObject
* obj2
= 0 ;
18030 PyObject
* obj3
= 0 ;
18031 char *kwnames
[] = {
18032 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18038 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18039 if (PyErr_Occurred()) SWIG_fail
;
18041 arg3
= (wxDateTime::Month
) SWIG_AsInt(obj2
);
18042 if (PyErr_Occurred()) SWIG_fail
;
18045 arg4
= (int) SWIG_AsInt(obj3
);
18046 if (PyErr_Occurred()) SWIG_fail
;
18049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18050 result
= (bool)(arg1
)->SetToLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
18052 wxPyEndAllowThreads(__tstate
);
18053 if (PyErr_Occurred()) SWIG_fail
;
18055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18062 static PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18063 PyObject
*resultobj
;
18064 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18066 int arg3
= (int) wxDateTime::Inv_Month
;
18067 int arg4
= (int) wxDateTime::Inv_Year
;
18069 PyObject
* obj0
= 0 ;
18070 PyObject
* obj1
= 0 ;
18071 PyObject
* obj2
= 0 ;
18072 PyObject
* obj3
= 0 ;
18073 char *kwnames
[] = {
18074 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18080 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18081 if (PyErr_Occurred()) SWIG_fail
;
18083 arg3
= (wxDateTime::Month
) SWIG_AsInt(obj2
);
18084 if (PyErr_Occurred()) SWIG_fail
;
18087 arg4
= (int) SWIG_AsInt(obj3
);
18088 if (PyErr_Occurred()) SWIG_fail
;
18091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18092 result
= (arg1
)->GetLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
18094 wxPyEndAllowThreads(__tstate
);
18095 if (PyErr_Occurred()) SWIG_fail
;
18098 wxDateTime
* resultptr
;
18099 resultptr
= new wxDateTime((wxDateTime
&) result
);
18100 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18108 static PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18109 PyObject
*resultobj
;
18110 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18112 int arg3
= (int) wxDateTime::Mon
;
18113 int arg4
= (int) wxDateTime::Monday_First
;
18115 PyObject
* obj0
= 0 ;
18116 PyObject
* obj1
= 0 ;
18117 PyObject
* obj2
= 0 ;
18118 PyObject
* obj3
= 0 ;
18119 char *kwnames
[] = {
18120 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18126 arg2
= (int) SWIG_AsInt(obj1
);
18127 if (PyErr_Occurred()) SWIG_fail
;
18129 arg3
= (wxDateTime::WeekDay
) SWIG_AsInt(obj2
);
18130 if (PyErr_Occurred()) SWIG_fail
;
18133 arg4
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj3
);
18134 if (PyErr_Occurred()) SWIG_fail
;
18137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18138 result
= (bool)(arg1
)->SetToTheWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
18140 wxPyEndAllowThreads(__tstate
);
18141 if (PyErr_Occurred()) SWIG_fail
;
18143 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18150 static PyObject
*_wrap_DateTime_GetWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18151 PyObject
*resultobj
;
18152 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18154 int arg3
= (int) wxDateTime::Mon
;
18155 int arg4
= (int) wxDateTime::Monday_First
;
18157 PyObject
* obj0
= 0 ;
18158 PyObject
* obj1
= 0 ;
18159 PyObject
* obj2
= 0 ;
18160 PyObject
* obj3
= 0 ;
18161 char *kwnames
[] = {
18162 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18168 arg2
= (int) SWIG_AsInt(obj1
);
18169 if (PyErr_Occurred()) SWIG_fail
;
18171 arg3
= (wxDateTime::WeekDay
) SWIG_AsInt(obj2
);
18172 if (PyErr_Occurred()) SWIG_fail
;
18175 arg4
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj3
);
18176 if (PyErr_Occurred()) SWIG_fail
;
18179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18180 result
= (arg1
)->GetWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
18182 wxPyEndAllowThreads(__tstate
);
18183 if (PyErr_Occurred()) SWIG_fail
;
18186 wxDateTime
* resultptr
;
18187 resultptr
= new wxDateTime((wxDateTime
&) result
);
18188 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18196 static PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18197 PyObject
*resultobj
;
18198 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18199 int arg2
= (int) wxDateTime::Inv_Month
;
18200 int arg3
= (int) wxDateTime::Inv_Year
;
18201 wxDateTime
*result
;
18202 PyObject
* obj0
= 0 ;
18203 PyObject
* obj1
= 0 ;
18204 PyObject
* obj2
= 0 ;
18205 char *kwnames
[] = {
18206 (char *) "self",(char *) "month",(char *) "year", NULL
18209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18213 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
18214 if (PyErr_Occurred()) SWIG_fail
;
18217 arg3
= (int) SWIG_AsInt(obj2
);
18218 if (PyErr_Occurred()) SWIG_fail
;
18221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18223 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
18224 result
= (wxDateTime
*) &_result_ref
;
18227 wxPyEndAllowThreads(__tstate
);
18228 if (PyErr_Occurred()) SWIG_fail
;
18230 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18237 static PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18238 PyObject
*resultobj
;
18239 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18240 int arg2
= (int) wxDateTime::Inv_Month
;
18241 int arg3
= (int) wxDateTime::Inv_Year
;
18243 PyObject
* obj0
= 0 ;
18244 PyObject
* obj1
= 0 ;
18245 PyObject
* obj2
= 0 ;
18246 char *kwnames
[] = {
18247 (char *) "self",(char *) "month",(char *) "year", NULL
18250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18254 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
18255 if (PyErr_Occurred()) SWIG_fail
;
18258 arg3
= (int) SWIG_AsInt(obj2
);
18259 if (PyErr_Occurred()) SWIG_fail
;
18262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18263 result
= (arg1
)->GetLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
18265 wxPyEndAllowThreads(__tstate
);
18266 if (PyErr_Occurred()) SWIG_fail
;
18269 wxDateTime
* resultptr
;
18270 resultptr
= new wxDateTime((wxDateTime
&) result
);
18271 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18279 static PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18280 PyObject
*resultobj
;
18281 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18283 wxDateTime
*result
;
18284 PyObject
* obj0
= 0 ;
18285 PyObject
* obj1
= 0 ;
18286 char *kwnames
[] = {
18287 (char *) "self",(char *) "yday", NULL
18290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18293 arg2
= (int) SWIG_AsInt(obj1
);
18294 if (PyErr_Occurred()) SWIG_fail
;
18296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18298 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
18299 result
= (wxDateTime
*) &_result_ref
;
18302 wxPyEndAllowThreads(__tstate
);
18303 if (PyErr_Occurred()) SWIG_fail
;
18305 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18312 static PyObject
*_wrap_DateTime_GetYearDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18313 PyObject
*resultobj
;
18314 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18317 PyObject
* obj0
= 0 ;
18318 PyObject
* obj1
= 0 ;
18319 char *kwnames
[] = {
18320 (char *) "self",(char *) "yday", NULL
18323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18326 arg2
= (int) SWIG_AsInt(obj1
);
18327 if (PyErr_Occurred()) SWIG_fail
;
18329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18330 result
= (arg1
)->GetYearDay(arg2
);
18332 wxPyEndAllowThreads(__tstate
);
18333 if (PyErr_Occurred()) SWIG_fail
;
18336 wxDateTime
* resultptr
;
18337 resultptr
= new wxDateTime((wxDateTime
&) result
);
18338 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18346 static PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18347 PyObject
*resultobj
;
18348 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18350 PyObject
* obj0
= 0 ;
18351 char *kwnames
[] = {
18352 (char *) "self", NULL
18355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJulianDayNumber",kwnames
,&obj0
)) goto fail
;
18356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18360 result
= (double)(arg1
)->GetJulianDayNumber();
18362 wxPyEndAllowThreads(__tstate
);
18363 if (PyErr_Occurred()) SWIG_fail
;
18365 resultobj
= SWIG_FromDouble((double)result
);
18372 static PyObject
*_wrap_DateTime_GetJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18373 PyObject
*resultobj
;
18374 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18376 PyObject
* obj0
= 0 ;
18377 char *kwnames
[] = {
18378 (char *) "self", NULL
18381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJDN",kwnames
,&obj0
)) goto fail
;
18382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18386 result
= (double)(arg1
)->GetJDN();
18388 wxPyEndAllowThreads(__tstate
);
18389 if (PyErr_Occurred()) SWIG_fail
;
18391 resultobj
= SWIG_FromDouble((double)result
);
18398 static PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18399 PyObject
*resultobj
;
18400 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18402 PyObject
* obj0
= 0 ;
18403 char *kwnames
[] = {
18404 (char *) "self", NULL
18407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames
,&obj0
)) goto fail
;
18408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18412 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
18414 wxPyEndAllowThreads(__tstate
);
18415 if (PyErr_Occurred()) SWIG_fail
;
18417 resultobj
= SWIG_FromDouble((double)result
);
18424 static PyObject
*_wrap_DateTime_GetMJD(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18425 PyObject
*resultobj
;
18426 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18428 PyObject
* obj0
= 0 ;
18429 char *kwnames
[] = {
18430 (char *) "self", NULL
18433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetMJD",kwnames
,&obj0
)) goto fail
;
18434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18438 result
= (double)(arg1
)->GetMJD();
18440 wxPyEndAllowThreads(__tstate
);
18441 if (PyErr_Occurred()) SWIG_fail
;
18443 resultobj
= SWIG_FromDouble((double)result
);
18450 static PyObject
*_wrap_DateTime_GetRataDie(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18451 PyObject
*resultobj
;
18452 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18454 PyObject
* obj0
= 0 ;
18455 char *kwnames
[] = {
18456 (char *) "self", NULL
18459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetRataDie",kwnames
,&obj0
)) goto fail
;
18460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18464 result
= (double)(arg1
)->GetRataDie();
18466 wxPyEndAllowThreads(__tstate
);
18467 if (PyErr_Occurred()) SWIG_fail
;
18469 resultobj
= SWIG_FromDouble((double)result
);
18476 static PyObject
*_wrap_DateTime_ToTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18477 PyObject
*resultobj
;
18478 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18479 wxDateTime::TimeZone
*arg2
= 0 ;
18480 bool arg3
= (bool) False
;
18482 bool temp2
= False
;
18483 PyObject
* obj0
= 0 ;
18484 PyObject
* obj1
= 0 ;
18485 PyObject
* obj2
= 0 ;
18486 char *kwnames
[] = {
18487 (char *) "self",(char *) "tz",(char *) "noDST", NULL
18490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18494 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18498 arg3
= (bool) SWIG_AsBool(obj2
);
18499 if (PyErr_Occurred()) SWIG_fail
;
18502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18503 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
18505 wxPyEndAllowThreads(__tstate
);
18506 if (PyErr_Occurred()) SWIG_fail
;
18509 wxDateTime
* resultptr
;
18510 resultptr
= new wxDateTime((wxDateTime
&) result
);
18511 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18514 if (temp2
) delete arg2
;
18519 if (temp2
) delete arg2
;
18525 static PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18526 PyObject
*resultobj
;
18527 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18528 wxDateTime::TimeZone
*arg2
= 0 ;
18529 bool arg3
= (bool) False
;
18530 wxDateTime
*result
;
18531 bool temp2
= False
;
18532 PyObject
* obj0
= 0 ;
18533 PyObject
* obj1
= 0 ;
18534 PyObject
* obj2
= 0 ;
18535 char *kwnames
[] = {
18536 (char *) "self",(char *) "tz",(char *) "noDST", NULL
18539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18543 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18547 arg3
= (bool) SWIG_AsBool(obj2
);
18548 if (PyErr_Occurred()) SWIG_fail
;
18551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18553 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
18554 result
= (wxDateTime
*) &_result_ref
;
18557 wxPyEndAllowThreads(__tstate
);
18558 if (PyErr_Occurred()) SWIG_fail
;
18560 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18562 if (temp2
) delete arg2
;
18567 if (temp2
) delete arg2
;
18573 static PyObject
*_wrap_DateTime_ToGMT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18574 PyObject
*resultobj
;
18575 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18576 bool arg2
= (bool) False
;
18578 PyObject
* obj0
= 0 ;
18579 PyObject
* obj1
= 0 ;
18580 char *kwnames
[] = {
18581 (char *) "self",(char *) "noDST", NULL
18584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
18585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18588 arg2
= (bool) SWIG_AsBool(obj1
);
18589 if (PyErr_Occurred()) SWIG_fail
;
18592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18593 result
= (arg1
)->ToGMT(arg2
);
18595 wxPyEndAllowThreads(__tstate
);
18596 if (PyErr_Occurred()) SWIG_fail
;
18599 wxDateTime
* resultptr
;
18600 resultptr
= new wxDateTime((wxDateTime
&) result
);
18601 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18609 static PyObject
*_wrap_DateTime_MakeGMT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18610 PyObject
*resultobj
;
18611 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18612 bool arg2
= (bool) False
;
18613 wxDateTime
*result
;
18614 PyObject
* obj0
= 0 ;
18615 PyObject
* obj1
= 0 ;
18616 char *kwnames
[] = {
18617 (char *) "self",(char *) "noDST", NULL
18620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
18621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18624 arg2
= (bool) SWIG_AsBool(obj1
);
18625 if (PyErr_Occurred()) SWIG_fail
;
18628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18630 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
18631 result
= (wxDateTime
*) &_result_ref
;
18634 wxPyEndAllowThreads(__tstate
);
18635 if (PyErr_Occurred()) SWIG_fail
;
18637 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18644 static PyObject
*_wrap_DateTime_IsDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18645 PyObject
*resultobj
;
18646 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18647 int arg2
= (int) wxDateTime::Country_Default
;
18649 PyObject
* obj0
= 0 ;
18650 PyObject
* obj1
= 0 ;
18651 char *kwnames
[] = {
18652 (char *) "self",(char *) "country", NULL
18655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) goto fail
;
18656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18659 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
18660 if (PyErr_Occurred()) SWIG_fail
;
18663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18664 result
= (int)(arg1
)->IsDST((wxDateTime::Country
)arg2
);
18666 wxPyEndAllowThreads(__tstate
);
18667 if (PyErr_Occurred()) SWIG_fail
;
18669 resultobj
= SWIG_FromInt((int)result
);
18676 static PyObject
*_wrap_DateTime_IsValid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18677 PyObject
*resultobj
;
18678 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18680 PyObject
* obj0
= 0 ;
18681 char *kwnames
[] = {
18682 (char *) "self", NULL
18685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_IsValid",kwnames
,&obj0
)) goto fail
;
18686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18690 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
18692 wxPyEndAllowThreads(__tstate
);
18693 if (PyErr_Occurred()) SWIG_fail
;
18695 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18702 static PyObject
*_wrap_DateTime_GetTicks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18703 PyObject
*resultobj
;
18704 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18706 PyObject
* obj0
= 0 ;
18707 char *kwnames
[] = {
18708 (char *) "self", NULL
18711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetTicks",kwnames
,&obj0
)) goto fail
;
18712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18716 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
18718 wxPyEndAllowThreads(__tstate
);
18719 if (PyErr_Occurred()) SWIG_fail
;
18721 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
18728 static PyObject
*_wrap_DateTime_GetYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18729 PyObject
*resultobj
;
18730 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18731 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
18732 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
18734 bool temp2
= False
;
18735 PyObject
* obj0
= 0 ;
18736 PyObject
* obj1
= 0 ;
18737 char *kwnames
[] = {
18738 (char *) "self",(char *) "tz", NULL
18741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
18742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18746 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18752 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
18754 wxPyEndAllowThreads(__tstate
);
18755 if (PyErr_Occurred()) SWIG_fail
;
18757 resultobj
= SWIG_FromInt((int)result
);
18759 if (temp2
) delete arg2
;
18764 if (temp2
) delete arg2
;
18770 static PyObject
*_wrap_DateTime_GetMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18771 PyObject
*resultobj
;
18772 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18773 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
18774 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
18776 bool temp2
= False
;
18777 PyObject
* obj0
= 0 ;
18778 PyObject
* obj1
= 0 ;
18779 char *kwnames
[] = {
18780 (char *) "self",(char *) "tz", NULL
18783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
18784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18788 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18794 result
= (int)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
18796 wxPyEndAllowThreads(__tstate
);
18797 if (PyErr_Occurred()) SWIG_fail
;
18799 resultobj
= SWIG_FromInt((int)result
);
18801 if (temp2
) delete arg2
;
18806 if (temp2
) delete arg2
;
18812 static PyObject
*_wrap_DateTime_GetDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18813 PyObject
*resultobj
;
18814 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18815 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
18816 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
18818 bool temp2
= False
;
18819 PyObject
* obj0
= 0 ;
18820 PyObject
* obj1
= 0 ;
18821 char *kwnames
[] = {
18822 (char *) "self",(char *) "tz", NULL
18825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18830 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18836 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
18838 wxPyEndAllowThreads(__tstate
);
18839 if (PyErr_Occurred()) SWIG_fail
;
18841 resultobj
= SWIG_FromInt((int)result
);
18843 if (temp2
) delete arg2
;
18848 if (temp2
) delete arg2
;
18854 static PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18855 PyObject
*resultobj
;
18856 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18857 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
18858 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
18860 bool temp2
= False
;
18861 PyObject
* obj0
= 0 ;
18862 PyObject
* obj1
= 0 ;
18863 char *kwnames
[] = {
18864 (char *) "self",(char *) "tz", NULL
18867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18872 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18878 result
= (int)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
18880 wxPyEndAllowThreads(__tstate
);
18881 if (PyErr_Occurred()) SWIG_fail
;
18883 resultobj
= SWIG_FromInt((int)result
);
18885 if (temp2
) delete arg2
;
18890 if (temp2
) delete arg2
;
18896 static PyObject
*_wrap_DateTime_GetHour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18897 PyObject
*resultobj
;
18898 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18899 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
18900 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
18902 bool temp2
= False
;
18903 PyObject
* obj0
= 0 ;
18904 PyObject
* obj1
= 0 ;
18905 char *kwnames
[] = {
18906 (char *) "self",(char *) "tz", NULL
18909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
18910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18914 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18920 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
18922 wxPyEndAllowThreads(__tstate
);
18923 if (PyErr_Occurred()) SWIG_fail
;
18925 resultobj
= SWIG_FromInt((int)result
);
18927 if (temp2
) delete arg2
;
18932 if (temp2
) delete arg2
;
18938 static PyObject
*_wrap_DateTime_GetMinute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18939 PyObject
*resultobj
;
18940 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18941 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
18942 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
18944 bool temp2
= False
;
18945 PyObject
* obj0
= 0 ;
18946 PyObject
* obj1
= 0 ;
18947 char *kwnames
[] = {
18948 (char *) "self",(char *) "tz", NULL
18951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
18952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18956 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18962 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
18964 wxPyEndAllowThreads(__tstate
);
18965 if (PyErr_Occurred()) SWIG_fail
;
18967 resultobj
= SWIG_FromInt((int)result
);
18969 if (temp2
) delete arg2
;
18974 if (temp2
) delete arg2
;
18980 static PyObject
*_wrap_DateTime_GetSecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18981 PyObject
*resultobj
;
18982 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18983 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
18984 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
18986 bool temp2
= False
;
18987 PyObject
* obj0
= 0 ;
18988 PyObject
* obj1
= 0 ;
18989 char *kwnames
[] = {
18990 (char *) "self",(char *) "tz", NULL
18993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
18994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18998 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19004 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
19006 wxPyEndAllowThreads(__tstate
);
19007 if (PyErr_Occurred()) SWIG_fail
;
19009 resultobj
= SWIG_FromInt((int)result
);
19011 if (temp2
) delete arg2
;
19016 if (temp2
) delete arg2
;
19022 static PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19023 PyObject
*resultobj
;
19024 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19025 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19026 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19028 bool temp2
= False
;
19029 PyObject
* obj0
= 0 ;
19030 PyObject
* obj1
= 0 ;
19031 char *kwnames
[] = {
19032 (char *) "self",(char *) "tz", NULL
19035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
19036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19040 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19046 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
19048 wxPyEndAllowThreads(__tstate
);
19049 if (PyErr_Occurred()) SWIG_fail
;
19051 resultobj
= SWIG_FromInt((int)result
);
19053 if (temp2
) delete arg2
;
19058 if (temp2
) delete arg2
;
19064 static PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19065 PyObject
*resultobj
;
19066 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19067 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19068 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19070 bool temp2
= False
;
19071 PyObject
* obj0
= 0 ;
19072 PyObject
* obj1
= 0 ;
19073 char *kwnames
[] = {
19074 (char *) "self",(char *) "tz", NULL
19077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19082 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19088 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
19090 wxPyEndAllowThreads(__tstate
);
19091 if (PyErr_Occurred()) SWIG_fail
;
19093 resultobj
= SWIG_FromInt((int)result
);
19095 if (temp2
) delete arg2
;
19100 if (temp2
) delete arg2
;
19106 static PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19107 PyObject
*resultobj
;
19108 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19109 int arg2
= (int) wxDateTime::Monday_First
;
19110 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
19111 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
19113 bool temp3
= False
;
19114 PyObject
* obj0
= 0 ;
19115 PyObject
* obj1
= 0 ;
19116 PyObject
* obj2
= 0 ;
19117 char *kwnames
[] = {
19118 (char *) "self",(char *) "flags",(char *) "tz", NULL
19121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19125 arg2
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj1
);
19126 if (PyErr_Occurred()) SWIG_fail
;
19130 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
19135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19136 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
19138 wxPyEndAllowThreads(__tstate
);
19139 if (PyErr_Occurred()) SWIG_fail
;
19141 resultobj
= SWIG_FromInt((int)result
);
19143 if (temp3
) delete arg3
;
19148 if (temp3
) delete arg3
;
19154 static PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19155 PyObject
*resultobj
;
19156 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19157 int arg2
= (int) wxDateTime::Monday_First
;
19158 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
19159 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
19161 bool temp3
= False
;
19162 PyObject
* obj0
= 0 ;
19163 PyObject
* obj1
= 0 ;
19164 PyObject
* obj2
= 0 ;
19165 char *kwnames
[] = {
19166 (char *) "self",(char *) "flags",(char *) "tz", NULL
19169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19173 arg2
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj1
);
19174 if (PyErr_Occurred()) SWIG_fail
;
19178 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
19183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19184 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
19186 wxPyEndAllowThreads(__tstate
);
19187 if (PyErr_Occurred()) SWIG_fail
;
19189 resultobj
= SWIG_FromInt((int)result
);
19191 if (temp3
) delete arg3
;
19196 if (temp3
) delete arg3
;
19202 static PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19203 PyObject
*resultobj
;
19204 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19205 int arg2
= (int) wxDateTime::Country_Default
;
19207 PyObject
* obj0
= 0 ;
19208 PyObject
* obj1
= 0 ;
19209 char *kwnames
[] = {
19210 (char *) "self",(char *) "country", NULL
19213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19217 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
19218 if (PyErr_Occurred()) SWIG_fail
;
19221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19222 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay((wxDateTime::Country
)arg2
);
19224 wxPyEndAllowThreads(__tstate
);
19225 if (PyErr_Occurred()) SWIG_fail
;
19227 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19234 static PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19235 PyObject
*resultobj
;
19236 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19237 wxDateTime
*arg2
= 0 ;
19239 PyObject
* obj0
= 0 ;
19240 PyObject
* obj1
= 0 ;
19241 char *kwnames
[] = {
19242 (char *) "self",(char *) "datetime", NULL
19245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
19246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19248 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19249 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19251 if (arg2
== NULL
) {
19252 PyErr_SetString(PyExc_TypeError
,"null reference");
19256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19257 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
19259 wxPyEndAllowThreads(__tstate
);
19260 if (PyErr_Occurred()) SWIG_fail
;
19262 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19269 static PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19270 PyObject
*resultobj
;
19271 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19272 wxDateTime
*arg2
= 0 ;
19274 PyObject
* obj0
= 0 ;
19275 PyObject
* obj1
= 0 ;
19276 char *kwnames
[] = {
19277 (char *) "self",(char *) "datetime", NULL
19280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) goto fail
;
19281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19283 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19284 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19286 if (arg2
== NULL
) {
19287 PyErr_SetString(PyExc_TypeError
,"null reference");
19291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19292 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
19294 wxPyEndAllowThreads(__tstate
);
19295 if (PyErr_Occurred()) SWIG_fail
;
19297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19304 static PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19305 PyObject
*resultobj
;
19306 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19307 wxDateTime
*arg2
= 0 ;
19309 PyObject
* obj0
= 0 ;
19310 PyObject
* obj1
= 0 ;
19311 char *kwnames
[] = {
19312 (char *) "self",(char *) "datetime", NULL
19315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
19316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19318 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19319 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19321 if (arg2
== NULL
) {
19322 PyErr_SetString(PyExc_TypeError
,"null reference");
19326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19327 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
19329 wxPyEndAllowThreads(__tstate
);
19330 if (PyErr_Occurred()) SWIG_fail
;
19332 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19339 static PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19340 PyObject
*resultobj
;
19341 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19342 wxDateTime
*arg2
= 0 ;
19343 wxDateTime
*arg3
= 0 ;
19345 PyObject
* obj0
= 0 ;
19346 PyObject
* obj1
= 0 ;
19347 PyObject
* obj2
= 0 ;
19348 char *kwnames
[] = {
19349 (char *) "self",(char *) "t1",(char *) "t2", NULL
19352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19355 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19356 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19358 if (arg2
== NULL
) {
19359 PyErr_SetString(PyExc_TypeError
,"null reference");
19362 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
,
19363 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19365 if (arg3
== NULL
) {
19366 PyErr_SetString(PyExc_TypeError
,"null reference");
19370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19371 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
19373 wxPyEndAllowThreads(__tstate
);
19374 if (PyErr_Occurred()) SWIG_fail
;
19376 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19383 static PyObject
*_wrap_DateTime_IsBetween(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19384 PyObject
*resultobj
;
19385 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19386 wxDateTime
*arg2
= 0 ;
19387 wxDateTime
*arg3
= 0 ;
19389 PyObject
* obj0
= 0 ;
19390 PyObject
* obj1
= 0 ;
19391 PyObject
* obj2
= 0 ;
19392 char *kwnames
[] = {
19393 (char *) "self",(char *) "t1",(char *) "t2", NULL
19396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19399 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19400 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19402 if (arg2
== NULL
) {
19403 PyErr_SetString(PyExc_TypeError
,"null reference");
19406 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
,
19407 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19409 if (arg3
== NULL
) {
19410 PyErr_SetString(PyExc_TypeError
,"null reference");
19414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19415 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
19417 wxPyEndAllowThreads(__tstate
);
19418 if (PyErr_Occurred()) SWIG_fail
;
19420 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19427 static PyObject
*_wrap_DateTime_IsSameDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19428 PyObject
*resultobj
;
19429 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19430 wxDateTime
*arg2
= 0 ;
19432 PyObject
* obj0
= 0 ;
19433 PyObject
* obj1
= 0 ;
19434 char *kwnames
[] = {
19435 (char *) "self",(char *) "dt", NULL
19438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) goto fail
;
19439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19441 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19442 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19444 if (arg2
== NULL
) {
19445 PyErr_SetString(PyExc_TypeError
,"null reference");
19449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19450 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
19452 wxPyEndAllowThreads(__tstate
);
19453 if (PyErr_Occurred()) SWIG_fail
;
19455 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19462 static PyObject
*_wrap_DateTime_IsSameTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19463 PyObject
*resultobj
;
19464 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19465 wxDateTime
*arg2
= 0 ;
19467 PyObject
* obj0
= 0 ;
19468 PyObject
* obj1
= 0 ;
19469 char *kwnames
[] = {
19470 (char *) "self",(char *) "dt", NULL
19473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) goto fail
;
19474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19476 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19477 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19479 if (arg2
== NULL
) {
19480 PyErr_SetString(PyExc_TypeError
,"null reference");
19484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19485 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
19487 wxPyEndAllowThreads(__tstate
);
19488 if (PyErr_Occurred()) SWIG_fail
;
19490 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19497 static PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19498 PyObject
*resultobj
;
19499 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19500 wxDateTime
*arg2
= 0 ;
19501 wxTimeSpan
*arg3
= 0 ;
19503 PyObject
* obj0
= 0 ;
19504 PyObject
* obj1
= 0 ;
19505 PyObject
* obj2
= 0 ;
19506 char *kwnames
[] = {
19507 (char *) "self",(char *) "dt",(char *) "ts", NULL
19510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19513 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19514 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19516 if (arg2
== NULL
) {
19517 PyErr_SetString(PyExc_TypeError
,"null reference");
19520 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTimeSpan
,
19521 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19523 if (arg3
== NULL
) {
19524 PyErr_SetString(PyExc_TypeError
,"null reference");
19528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19529 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
19531 wxPyEndAllowThreads(__tstate
);
19532 if (PyErr_Occurred()) SWIG_fail
;
19534 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19541 static PyObject
*_wrap_DateTime_AddTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19542 PyObject
*resultobj
;
19543 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19544 wxTimeSpan
*arg2
= 0 ;
19545 wxDateTime
*result
;
19546 PyObject
* obj0
= 0 ;
19547 PyObject
* obj1
= 0 ;
19548 char *kwnames
[] = {
19549 (char *) "self",(char *) "diff", NULL
19552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) goto fail
;
19553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19555 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
19556 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19558 if (arg2
== NULL
) {
19559 PyErr_SetString(PyExc_TypeError
,"null reference");
19563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19565 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
19566 result
= (wxDateTime
*) &_result_ref
;
19569 wxPyEndAllowThreads(__tstate
);
19570 if (PyErr_Occurred()) SWIG_fail
;
19572 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19579 static PyObject
*_wrap_DateTime_AddDS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19580 PyObject
*resultobj
;
19581 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19582 wxDateSpan
*arg2
= 0 ;
19583 wxDateTime
*result
;
19584 PyObject
* obj0
= 0 ;
19585 PyObject
* obj1
= 0 ;
19586 char *kwnames
[] = {
19587 (char *) "self",(char *) "diff", NULL
19590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) goto fail
;
19591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19593 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
19594 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19596 if (arg2
== NULL
) {
19597 PyErr_SetString(PyExc_TypeError
,"null reference");
19601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19603 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
19604 result
= (wxDateTime
*) &_result_ref
;
19607 wxPyEndAllowThreads(__tstate
);
19608 if (PyErr_Occurred()) SWIG_fail
;
19610 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19617 static PyObject
*_wrap_DateTime_SubtractTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19618 PyObject
*resultobj
;
19619 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19620 wxTimeSpan
*arg2
= 0 ;
19621 wxDateTime
*result
;
19622 PyObject
* obj0
= 0 ;
19623 PyObject
* obj1
= 0 ;
19624 char *kwnames
[] = {
19625 (char *) "self",(char *) "diff", NULL
19628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) goto fail
;
19629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19631 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
19632 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19634 if (arg2
== NULL
) {
19635 PyErr_SetString(PyExc_TypeError
,"null reference");
19639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19641 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
19642 result
= (wxDateTime
*) &_result_ref
;
19645 wxPyEndAllowThreads(__tstate
);
19646 if (PyErr_Occurred()) SWIG_fail
;
19648 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19655 static PyObject
*_wrap_DateTime_SubtractDS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19656 PyObject
*resultobj
;
19657 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19658 wxDateSpan
*arg2
= 0 ;
19659 wxDateTime
*result
;
19660 PyObject
* obj0
= 0 ;
19661 PyObject
* obj1
= 0 ;
19662 char *kwnames
[] = {
19663 (char *) "self",(char *) "diff", NULL
19666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) goto fail
;
19667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19669 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
19670 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19672 if (arg2
== NULL
) {
19673 PyErr_SetString(PyExc_TypeError
,"null reference");
19677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19679 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
19680 result
= (wxDateTime
*) &_result_ref
;
19683 wxPyEndAllowThreads(__tstate
);
19684 if (PyErr_Occurred()) SWIG_fail
;
19686 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19693 static PyObject
*_wrap_DateTime_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19694 PyObject
*resultobj
;
19695 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19696 wxDateTime
*arg2
= 0 ;
19698 PyObject
* obj0
= 0 ;
19699 PyObject
* obj1
= 0 ;
19700 char *kwnames
[] = {
19701 (char *) "self",(char *) "dt", NULL
19704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
19705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19707 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19708 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19710 if (arg2
== NULL
) {
19711 PyErr_SetString(PyExc_TypeError
,"null reference");
19715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19716 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
19718 wxPyEndAllowThreads(__tstate
);
19719 if (PyErr_Occurred()) SWIG_fail
;
19722 wxTimeSpan
* resultptr
;
19723 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19724 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
19732 static PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*, PyObject
*args
) {
19733 PyObject
*resultobj
;
19734 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19735 wxTimeSpan
*arg2
= 0 ;
19736 wxDateTime
*result
;
19737 PyObject
* obj0
= 0 ;
19738 PyObject
* obj1
= 0 ;
19740 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
19741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19743 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
19744 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19746 if (arg2
== NULL
) {
19747 PyErr_SetString(PyExc_TypeError
,"null reference");
19751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19753 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
19754 result
= (wxDateTime
*) &_result_ref
;
19757 wxPyEndAllowThreads(__tstate
);
19758 if (PyErr_Occurred()) SWIG_fail
;
19760 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19767 static PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*, PyObject
*args
) {
19768 PyObject
*resultobj
;
19769 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19770 wxDateSpan
*arg2
= 0 ;
19771 wxDateTime
*result
;
19772 PyObject
* obj0
= 0 ;
19773 PyObject
* obj1
= 0 ;
19775 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
19776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19778 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
19779 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19781 if (arg2
== NULL
) {
19782 PyErr_SetString(PyExc_TypeError
,"null reference");
19786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19788 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
19789 result
= (wxDateTime
*) &_result_ref
;
19792 wxPyEndAllowThreads(__tstate
);
19793 if (PyErr_Occurred()) SWIG_fail
;
19795 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19802 static PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
19807 argc
= PyObject_Length(args
);
19808 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
19809 argv
[ii
] = PyTuple_GetItem(args
,ii
);
19815 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
19825 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
19833 return _wrap_DateTime___iadd____SWIG_0(self
,args
);
19841 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
19851 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
19859 return _wrap_DateTime___iadd____SWIG_1(self
,args
);
19864 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___iadd__'");
19869 static PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*, PyObject
*args
) {
19870 PyObject
*resultobj
;
19871 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19872 wxTimeSpan
*arg2
= 0 ;
19873 wxDateTime
*result
;
19874 PyObject
* obj0
= 0 ;
19875 PyObject
* obj1
= 0 ;
19877 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
19878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19880 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
19881 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19883 if (arg2
== NULL
) {
19884 PyErr_SetString(PyExc_TypeError
,"null reference");
19888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19890 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
19891 result
= (wxDateTime
*) &_result_ref
;
19894 wxPyEndAllowThreads(__tstate
);
19895 if (PyErr_Occurred()) SWIG_fail
;
19897 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19904 static PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*, PyObject
*args
) {
19905 PyObject
*resultobj
;
19906 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19907 wxDateSpan
*arg2
= 0 ;
19908 wxDateTime
*result
;
19909 PyObject
* obj0
= 0 ;
19910 PyObject
* obj1
= 0 ;
19912 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
19913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19915 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
19916 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19918 if (arg2
== NULL
) {
19919 PyErr_SetString(PyExc_TypeError
,"null reference");
19923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19925 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
19926 result
= (wxDateTime
*) &_result_ref
;
19929 wxPyEndAllowThreads(__tstate
);
19930 if (PyErr_Occurred()) SWIG_fail
;
19932 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19939 static PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
19944 argc
= PyObject_Length(args
);
19945 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
19946 argv
[ii
] = PyTuple_GetItem(args
,ii
);
19952 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
19962 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
19970 return _wrap_DateTime___isub____SWIG_0(self
,args
);
19978 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
19988 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
19996 return _wrap_DateTime___isub____SWIG_1(self
,args
);
20001 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___isub__'");
20006 static PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*, PyObject
*args
) {
20007 PyObject
*resultobj
;
20008 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20009 wxTimeSpan
*arg2
= 0 ;
20011 PyObject
* obj0
= 0 ;
20012 PyObject
* obj1
= 0 ;
20014 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
20015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20017 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20018 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20020 if (arg2
== NULL
) {
20021 PyErr_SetString(PyExc_TypeError
,"null reference");
20025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20026 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
20028 wxPyEndAllowThreads(__tstate
);
20029 if (PyErr_Occurred()) SWIG_fail
;
20032 wxDateTime
* resultptr
;
20033 resultptr
= new wxDateTime((wxDateTime
&) result
);
20034 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20042 static PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*, PyObject
*args
) {
20043 PyObject
*resultobj
;
20044 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20045 wxDateSpan
*arg2
= 0 ;
20047 PyObject
* obj0
= 0 ;
20048 PyObject
* obj1
= 0 ;
20050 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
20051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20053 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20054 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20056 if (arg2
== NULL
) {
20057 PyErr_SetString(PyExc_TypeError
,"null reference");
20061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20062 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
20064 wxPyEndAllowThreads(__tstate
);
20065 if (PyErr_Occurred()) SWIG_fail
;
20068 wxDateTime
* resultptr
;
20069 resultptr
= new wxDateTime((wxDateTime
&) result
);
20070 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20078 static PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
20083 argc
= PyObject_Length(args
);
20084 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20085 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20091 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20101 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20109 return _wrap_DateTime___add____SWIG_0(self
,args
);
20117 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20127 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20135 return _wrap_DateTime___add____SWIG_1(self
,args
);
20140 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___add__'");
20145 static PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*, PyObject
*args
) {
20146 PyObject
*resultobj
;
20147 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20148 wxDateTime
*arg2
= 0 ;
20150 PyObject
* obj0
= 0 ;
20151 PyObject
* obj1
= 0 ;
20153 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20156 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20157 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20159 if (arg2
== NULL
) {
20160 PyErr_SetString(PyExc_TypeError
,"null reference");
20164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20165 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
20167 wxPyEndAllowThreads(__tstate
);
20168 if (PyErr_Occurred()) SWIG_fail
;
20171 wxTimeSpan
* resultptr
;
20172 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
20173 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
20181 static PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*, PyObject
*args
) {
20182 PyObject
*resultobj
;
20183 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20184 wxTimeSpan
*arg2
= 0 ;
20186 PyObject
* obj0
= 0 ;
20187 PyObject
* obj1
= 0 ;
20189 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20192 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20193 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20195 if (arg2
== NULL
) {
20196 PyErr_SetString(PyExc_TypeError
,"null reference");
20200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20201 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
20203 wxPyEndAllowThreads(__tstate
);
20204 if (PyErr_Occurred()) SWIG_fail
;
20207 wxDateTime
* resultptr
;
20208 resultptr
= new wxDateTime((wxDateTime
&) result
);
20209 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20217 static PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*, PyObject
*args
) {
20218 PyObject
*resultobj
;
20219 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20220 wxDateSpan
*arg2
= 0 ;
20222 PyObject
* obj0
= 0 ;
20223 PyObject
* obj1
= 0 ;
20225 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20228 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20229 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20231 if (arg2
== NULL
) {
20232 PyErr_SetString(PyExc_TypeError
,"null reference");
20236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20237 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
20239 wxPyEndAllowThreads(__tstate
);
20240 if (PyErr_Occurred()) SWIG_fail
;
20243 wxDateTime
* resultptr
;
20244 resultptr
= new wxDateTime((wxDateTime
&) result
);
20245 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20253 static PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
20258 argc
= PyObject_Length(args
);
20259 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20260 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20266 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20276 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20284 return _wrap_DateTime___sub____SWIG_0(self
,args
);
20292 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20302 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20310 return _wrap_DateTime___sub____SWIG_1(self
,args
);
20318 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20328 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20336 return _wrap_DateTime___sub____SWIG_2(self
,args
);
20341 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___sub__'");
20346 static PyObject
*_wrap_DateTime___lt__(PyObject
*, PyObject
*args
) {
20347 PyObject
*resultobj
;
20348 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20349 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20351 PyObject
* obj0
= 0 ;
20352 PyObject
* obj1
= 0 ;
20354 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___lt__",&obj0
,&obj1
)) goto fail
;
20355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20357 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20361 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const *)arg2
);
20363 wxPyEndAllowThreads(__tstate
);
20364 if (PyErr_Occurred()) SWIG_fail
;
20366 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20373 static PyObject
*_wrap_DateTime___le__(PyObject
*, PyObject
*args
) {
20374 PyObject
*resultobj
;
20375 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20376 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20378 PyObject
* obj0
= 0 ;
20379 PyObject
* obj1
= 0 ;
20381 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___le__",&obj0
,&obj1
)) goto fail
;
20382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20384 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20388 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const *)arg2
);
20390 wxPyEndAllowThreads(__tstate
);
20391 if (PyErr_Occurred()) SWIG_fail
;
20393 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20400 static PyObject
*_wrap_DateTime___gt__(PyObject
*, PyObject
*args
) {
20401 PyObject
*resultobj
;
20402 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20403 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20405 PyObject
* obj0
= 0 ;
20406 PyObject
* obj1
= 0 ;
20408 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___gt__",&obj0
,&obj1
)) goto fail
;
20409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20411 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20415 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const *)arg2
);
20417 wxPyEndAllowThreads(__tstate
);
20418 if (PyErr_Occurred()) SWIG_fail
;
20420 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20427 static PyObject
*_wrap_DateTime___ge__(PyObject
*, PyObject
*args
) {
20428 PyObject
*resultobj
;
20429 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20430 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20432 PyObject
* obj0
= 0 ;
20433 PyObject
* obj1
= 0 ;
20435 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ge__",&obj0
,&obj1
)) goto fail
;
20436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20438 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20442 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const *)arg2
);
20444 wxPyEndAllowThreads(__tstate
);
20445 if (PyErr_Occurred()) SWIG_fail
;
20447 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20454 static PyObject
*_wrap_DateTime___eq__(PyObject
*, PyObject
*args
) {
20455 PyObject
*resultobj
;
20456 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20457 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20459 PyObject
* obj0
= 0 ;
20460 PyObject
* obj1
= 0 ;
20462 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___eq__",&obj0
,&obj1
)) goto fail
;
20463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20465 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20469 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const *)arg2
);
20471 wxPyEndAllowThreads(__tstate
);
20472 if (PyErr_Occurred()) SWIG_fail
;
20474 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20481 static PyObject
*_wrap_DateTime___ne__(PyObject
*, PyObject
*args
) {
20482 PyObject
*resultobj
;
20483 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20484 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20486 PyObject
* obj0
= 0 ;
20487 PyObject
* obj1
= 0 ;
20489 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ne__",&obj0
,&obj1
)) goto fail
;
20490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20492 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20496 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const *)arg2
);
20498 wxPyEndAllowThreads(__tstate
);
20499 if (PyErr_Occurred()) SWIG_fail
;
20501 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20508 static PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20509 PyObject
*resultobj
;
20510 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20511 wxString
*arg2
= 0 ;
20513 bool temp2
= False
;
20514 PyObject
* obj0
= 0 ;
20515 PyObject
* obj1
= 0 ;
20516 char *kwnames
[] = {
20517 (char *) "self",(char *) "date", NULL
20520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) goto fail
;
20521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20524 arg2
= wxString_in_helper(obj1
);
20525 if (arg2
== NULL
) SWIG_fail
;
20529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20530 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
20532 wxPyEndAllowThreads(__tstate
);
20533 if (PyErr_Occurred()) SWIG_fail
;
20535 resultobj
= SWIG_FromInt((int)result
);
20550 static PyObject
*_wrap_DateTime_ParseFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20551 PyObject
*resultobj
;
20552 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20553 wxString
*arg2
= 0 ;
20554 wxString
const &arg3_defvalue
= wxPyDateFormatStr
;
20555 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20556 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
20557 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
20559 bool temp2
= False
;
20560 bool temp3
= False
;
20561 PyObject
* obj0
= 0 ;
20562 PyObject
* obj1
= 0 ;
20563 PyObject
* obj2
= 0 ;
20564 PyObject
* obj3
= 0 ;
20565 char *kwnames
[] = {
20566 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
20569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20573 arg2
= wxString_in_helper(obj1
);
20574 if (arg2
== NULL
) SWIG_fail
;
20579 arg3
= wxString_in_helper(obj2
);
20580 if (arg3
== NULL
) SWIG_fail
;
20585 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDateTime
,
20586 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20588 if (arg4
== NULL
) {
20589 PyErr_SetString(PyExc_TypeError
,"null reference");
20594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20595 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
20597 wxPyEndAllowThreads(__tstate
);
20598 if (PyErr_Occurred()) SWIG_fail
;
20600 resultobj
= SWIG_FromInt((int)result
);
20623 static PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20624 PyObject
*resultobj
;
20625 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20626 wxString
*arg2
= 0 ;
20628 bool temp2
= False
;
20629 PyObject
* obj0
= 0 ;
20630 PyObject
* obj1
= 0 ;
20631 char *kwnames
[] = {
20632 (char *) "self",(char *) "datetime", NULL
20635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) goto fail
;
20636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20639 arg2
= wxString_in_helper(obj1
);
20640 if (arg2
== NULL
) SWIG_fail
;
20644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20645 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
20647 wxPyEndAllowThreads(__tstate
);
20648 if (PyErr_Occurred()) SWIG_fail
;
20650 resultobj
= SWIG_FromInt((int)result
);
20665 static PyObject
*_wrap_DateTime_ParseDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20666 PyObject
*resultobj
;
20667 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20668 wxString
*arg2
= 0 ;
20670 bool temp2
= False
;
20671 PyObject
* obj0
= 0 ;
20672 PyObject
* obj1
= 0 ;
20673 char *kwnames
[] = {
20674 (char *) "self",(char *) "date", NULL
20677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) goto fail
;
20678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20681 arg2
= wxString_in_helper(obj1
);
20682 if (arg2
== NULL
) SWIG_fail
;
20686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20687 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
20689 wxPyEndAllowThreads(__tstate
);
20690 if (PyErr_Occurred()) SWIG_fail
;
20692 resultobj
= SWIG_FromInt((int)result
);
20707 static PyObject
*_wrap_DateTime_ParseTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20708 PyObject
*resultobj
;
20709 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20710 wxString
*arg2
= 0 ;
20712 bool temp2
= False
;
20713 PyObject
* obj0
= 0 ;
20714 PyObject
* obj1
= 0 ;
20715 char *kwnames
[] = {
20716 (char *) "self",(char *) "time", NULL
20719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) goto fail
;
20720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20723 arg2
= wxString_in_helper(obj1
);
20724 if (arg2
== NULL
) SWIG_fail
;
20728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20729 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
20731 wxPyEndAllowThreads(__tstate
);
20732 if (PyErr_Occurred()) SWIG_fail
;
20734 resultobj
= SWIG_FromInt((int)result
);
20749 static PyObject
*_wrap_DateTime_Format(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20750 PyObject
*resultobj
;
20751 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20752 wxString
const &arg2_defvalue
= wxPyDateFormatStr
;
20753 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
20754 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
20755 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
20757 bool temp2
= False
;
20758 bool temp3
= False
;
20759 PyObject
* obj0
= 0 ;
20760 PyObject
* obj1
= 0 ;
20761 PyObject
* obj2
= 0 ;
20762 char *kwnames
[] = {
20763 (char *) "self",(char *) "format",(char *) "tz", NULL
20766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20771 arg2
= wxString_in_helper(obj1
);
20772 if (arg2
== NULL
) SWIG_fail
;
20778 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
20783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20784 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
20786 wxPyEndAllowThreads(__tstate
);
20787 if (PyErr_Occurred()) SWIG_fail
;
20791 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20793 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20801 if (temp3
) delete arg3
;
20810 if (temp3
) delete arg3
;
20816 static PyObject
*_wrap_DateTime_FormatDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20817 PyObject
*resultobj
;
20818 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20820 PyObject
* obj0
= 0 ;
20821 char *kwnames
[] = {
20822 (char *) "self", NULL
20825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatDate",kwnames
,&obj0
)) goto fail
;
20826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20830 result
= ((wxDateTime
const *)arg1
)->FormatDate();
20832 wxPyEndAllowThreads(__tstate
);
20833 if (PyErr_Occurred()) SWIG_fail
;
20837 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20839 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20848 static PyObject
*_wrap_DateTime_FormatTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20849 PyObject
*resultobj
;
20850 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20852 PyObject
* obj0
= 0 ;
20853 char *kwnames
[] = {
20854 (char *) "self", NULL
20857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatTime",kwnames
,&obj0
)) goto fail
;
20858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20862 result
= ((wxDateTime
const *)arg1
)->FormatTime();
20864 wxPyEndAllowThreads(__tstate
);
20865 if (PyErr_Occurred()) SWIG_fail
;
20869 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20871 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20880 static PyObject
*_wrap_DateTime_FormatISODate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20881 PyObject
*resultobj
;
20882 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20884 PyObject
* obj0
= 0 ;
20885 char *kwnames
[] = {
20886 (char *) "self", NULL
20889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISODate",kwnames
,&obj0
)) goto fail
;
20890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20894 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
20896 wxPyEndAllowThreads(__tstate
);
20897 if (PyErr_Occurred()) SWIG_fail
;
20901 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20903 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20912 static PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20913 PyObject
*resultobj
;
20914 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20916 PyObject
* obj0
= 0 ;
20917 char *kwnames
[] = {
20918 (char *) "self", NULL
20921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISOTime",kwnames
,&obj0
)) goto fail
;
20922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20926 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
20928 wxPyEndAllowThreads(__tstate
);
20929 if (PyErr_Occurred()) SWIG_fail
;
20933 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20935 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20944 static PyObject
* DateTime_swigregister(PyObject
*, PyObject
*args
) {
20946 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20947 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime
, obj
);
20949 return Py_BuildValue((char *)"");
20951 static PyObject
*_wrap_TimeSpan_Seconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20952 PyObject
*resultobj
;
20955 PyObject
* obj0
= 0 ;
20956 char *kwnames
[] = {
20957 (char *) "sec", NULL
20960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",kwnames
,&obj0
)) goto fail
;
20961 arg1
= (long) SWIG_AsLong(obj0
);
20962 if (PyErr_Occurred()) SWIG_fail
;
20964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20965 result
= wxTimeSpan::Seconds(arg1
);
20967 wxPyEndAllowThreads(__tstate
);
20968 if (PyErr_Occurred()) SWIG_fail
;
20971 wxTimeSpan
* resultptr
;
20972 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
20973 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
20981 static PyObject
*_wrap_TimeSpan_Second(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20982 PyObject
*resultobj
;
20984 char *kwnames
[] = {
20988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Second",kwnames
)) goto fail
;
20990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20991 result
= wxTimeSpan::Second();
20993 wxPyEndAllowThreads(__tstate
);
20994 if (PyErr_Occurred()) SWIG_fail
;
20997 wxTimeSpan
* resultptr
;
20998 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
20999 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21007 static PyObject
*_wrap_TimeSpan_Minutes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21008 PyObject
*resultobj
;
21011 PyObject
* obj0
= 0 ;
21012 char *kwnames
[] = {
21013 (char *) "min", NULL
21016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",kwnames
,&obj0
)) goto fail
;
21017 arg1
= (long) SWIG_AsLong(obj0
);
21018 if (PyErr_Occurred()) SWIG_fail
;
21020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21021 result
= wxTimeSpan::Minutes(arg1
);
21023 wxPyEndAllowThreads(__tstate
);
21024 if (PyErr_Occurred()) SWIG_fail
;
21027 wxTimeSpan
* resultptr
;
21028 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21029 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21037 static PyObject
*_wrap_TimeSpan_Minute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21038 PyObject
*resultobj
;
21040 char *kwnames
[] = {
21044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Minute",kwnames
)) goto fail
;
21046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21047 result
= wxTimeSpan::Minute();
21049 wxPyEndAllowThreads(__tstate
);
21050 if (PyErr_Occurred()) SWIG_fail
;
21053 wxTimeSpan
* resultptr
;
21054 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21055 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21063 static PyObject
*_wrap_TimeSpan_Hours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21064 PyObject
*resultobj
;
21067 PyObject
* obj0
= 0 ;
21068 char *kwnames
[] = {
21069 (char *) "hours", NULL
21072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",kwnames
,&obj0
)) goto fail
;
21073 arg1
= (long) SWIG_AsLong(obj0
);
21074 if (PyErr_Occurred()) SWIG_fail
;
21076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21077 result
= wxTimeSpan::Hours(arg1
);
21079 wxPyEndAllowThreads(__tstate
);
21080 if (PyErr_Occurred()) SWIG_fail
;
21083 wxTimeSpan
* resultptr
;
21084 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21085 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21093 static PyObject
*_wrap_TimeSpan_Hour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21094 PyObject
*resultobj
;
21096 char *kwnames
[] = {
21100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Hour",kwnames
)) goto fail
;
21102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21103 result
= wxTimeSpan::Hour();
21105 wxPyEndAllowThreads(__tstate
);
21106 if (PyErr_Occurred()) SWIG_fail
;
21109 wxTimeSpan
* resultptr
;
21110 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21111 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21119 static PyObject
*_wrap_TimeSpan_Days(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21120 PyObject
*resultobj
;
21123 PyObject
* obj0
= 0 ;
21124 char *kwnames
[] = {
21125 (char *) "days", NULL
21128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Days",kwnames
,&obj0
)) goto fail
;
21129 arg1
= (long) SWIG_AsLong(obj0
);
21130 if (PyErr_Occurred()) SWIG_fail
;
21132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21133 result
= wxTimeSpan::Days(arg1
);
21135 wxPyEndAllowThreads(__tstate
);
21136 if (PyErr_Occurred()) SWIG_fail
;
21139 wxTimeSpan
* resultptr
;
21140 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21141 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21149 static PyObject
*_wrap_TimeSpan_Day(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21150 PyObject
*resultobj
;
21152 char *kwnames
[] = {
21156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Day",kwnames
)) goto fail
;
21158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21159 result
= wxTimeSpan::Day();
21161 wxPyEndAllowThreads(__tstate
);
21162 if (PyErr_Occurred()) SWIG_fail
;
21165 wxTimeSpan
* resultptr
;
21166 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21167 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21175 static PyObject
*_wrap_TimeSpan_Weeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21176 PyObject
*resultobj
;
21179 PyObject
* obj0
= 0 ;
21180 char *kwnames
[] = {
21181 (char *) "days", NULL
21184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) goto fail
;
21185 arg1
= (long) SWIG_AsLong(obj0
);
21186 if (PyErr_Occurred()) SWIG_fail
;
21188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21189 result
= wxTimeSpan::Weeks(arg1
);
21191 wxPyEndAllowThreads(__tstate
);
21192 if (PyErr_Occurred()) SWIG_fail
;
21195 wxTimeSpan
* resultptr
;
21196 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21197 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21205 static PyObject
*_wrap_TimeSpan_Week(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21206 PyObject
*resultobj
;
21208 char *kwnames
[] = {
21212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Week",kwnames
)) goto fail
;
21214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21215 result
= wxTimeSpan::Week();
21217 wxPyEndAllowThreads(__tstate
);
21218 if (PyErr_Occurred()) SWIG_fail
;
21221 wxTimeSpan
* resultptr
;
21222 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21223 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21231 static PyObject
*_wrap_new_TimeSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21232 PyObject
*resultobj
;
21233 long arg1
= (long) 0 ;
21234 long arg2
= (long) 0 ;
21235 long arg3
= (long) 0 ;
21236 long arg4
= (long) 0 ;
21237 wxTimeSpan
*result
;
21238 PyObject
* obj0
= 0 ;
21239 PyObject
* obj1
= 0 ;
21240 PyObject
* obj2
= 0 ;
21241 PyObject
* obj3
= 0 ;
21242 char *kwnames
[] = {
21243 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
21246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21248 arg1
= (long) SWIG_AsLong(obj0
);
21249 if (PyErr_Occurred()) SWIG_fail
;
21252 arg2
= (long) SWIG_AsLong(obj1
);
21253 if (PyErr_Occurred()) SWIG_fail
;
21256 arg3
= (long) SWIG_AsLong(obj2
);
21257 if (PyErr_Occurred()) SWIG_fail
;
21260 arg4
= (long) SWIG_AsLong(obj3
);
21261 if (PyErr_Occurred()) SWIG_fail
;
21264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21265 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
21267 wxPyEndAllowThreads(__tstate
);
21268 if (PyErr_Occurred()) SWIG_fail
;
21270 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
21277 static PyObject
*_wrap_delete_TimeSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21278 PyObject
*resultobj
;
21279 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21280 PyObject
* obj0
= 0 ;
21281 char *kwnames
[] = {
21282 (char *) "self", NULL
21285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimeSpan",kwnames
,&obj0
)) goto fail
;
21286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21292 wxPyEndAllowThreads(__tstate
);
21293 if (PyErr_Occurred()) SWIG_fail
;
21295 Py_INCREF(Py_None
); resultobj
= Py_None
;
21302 static PyObject
*_wrap_TimeSpan_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21303 PyObject
*resultobj
;
21304 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21305 wxTimeSpan
*arg2
= 0 ;
21306 wxTimeSpan
*result
;
21307 PyObject
* obj0
= 0 ;
21308 PyObject
* obj1
= 0 ;
21309 char *kwnames
[] = {
21310 (char *) "self",(char *) "diff", NULL
21313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
21314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21316 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21317 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21319 if (arg2
== NULL
) {
21320 PyErr_SetString(PyExc_TypeError
,"null reference");
21324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21326 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
21327 result
= (wxTimeSpan
*) &_result_ref
;
21330 wxPyEndAllowThreads(__tstate
);
21331 if (PyErr_Occurred()) SWIG_fail
;
21333 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21340 static PyObject
*_wrap_TimeSpan_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21341 PyObject
*resultobj
;
21342 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21343 wxTimeSpan
*arg2
= 0 ;
21344 wxTimeSpan
*result
;
21345 PyObject
* obj0
= 0 ;
21346 PyObject
* obj1
= 0 ;
21347 char *kwnames
[] = {
21348 (char *) "self",(char *) "diff", NULL
21351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
21352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21354 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21355 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21357 if (arg2
== NULL
) {
21358 PyErr_SetString(PyExc_TypeError
,"null reference");
21362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21364 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
21365 result
= (wxTimeSpan
*) &_result_ref
;
21368 wxPyEndAllowThreads(__tstate
);
21369 if (PyErr_Occurred()) SWIG_fail
;
21371 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21378 static PyObject
*_wrap_TimeSpan_Multiply(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21379 PyObject
*resultobj
;
21380 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21382 wxTimeSpan
*result
;
21383 PyObject
* obj0
= 0 ;
21384 PyObject
* obj1
= 0 ;
21385 char *kwnames
[] = {
21386 (char *) "self",(char *) "n", NULL
21389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
21390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21392 arg2
= (int) SWIG_AsInt(obj1
);
21393 if (PyErr_Occurred()) SWIG_fail
;
21395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21397 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
21398 result
= (wxTimeSpan
*) &_result_ref
;
21401 wxPyEndAllowThreads(__tstate
);
21402 if (PyErr_Occurred()) SWIG_fail
;
21404 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21411 static PyObject
*_wrap_TimeSpan_Neg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21412 PyObject
*resultobj
;
21413 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21414 wxTimeSpan
*result
;
21415 PyObject
* obj0
= 0 ;
21416 char *kwnames
[] = {
21417 (char *) "self", NULL
21420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Neg",kwnames
,&obj0
)) goto fail
;
21421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21426 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
21427 result
= (wxTimeSpan
*) &_result_ref
;
21430 wxPyEndAllowThreads(__tstate
);
21431 if (PyErr_Occurred()) SWIG_fail
;
21433 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21440 static PyObject
*_wrap_TimeSpan_Abs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21441 PyObject
*resultobj
;
21442 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21444 PyObject
* obj0
= 0 ;
21445 char *kwnames
[] = {
21446 (char *) "self", NULL
21449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Abs",kwnames
,&obj0
)) goto fail
;
21450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21454 result
= ((wxTimeSpan
const *)arg1
)->Abs();
21456 wxPyEndAllowThreads(__tstate
);
21457 if (PyErr_Occurred()) SWIG_fail
;
21460 wxTimeSpan
* resultptr
;
21461 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21462 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21470 static PyObject
*_wrap_TimeSpan___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21471 PyObject
*resultobj
;
21472 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21473 wxTimeSpan
*arg2
= 0 ;
21474 wxTimeSpan
*result
;
21475 PyObject
* obj0
= 0 ;
21476 PyObject
* obj1
= 0 ;
21477 char *kwnames
[] = {
21478 (char *) "self",(char *) "diff", NULL
21481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
21482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21484 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21485 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21487 if (arg2
== NULL
) {
21488 PyErr_SetString(PyExc_TypeError
,"null reference");
21492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21494 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
21495 result
= (wxTimeSpan
*) &_result_ref
;
21498 wxPyEndAllowThreads(__tstate
);
21499 if (PyErr_Occurred()) SWIG_fail
;
21501 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21508 static PyObject
*_wrap_TimeSpan___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21509 PyObject
*resultobj
;
21510 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21511 wxTimeSpan
*arg2
= 0 ;
21512 wxTimeSpan
*result
;
21513 PyObject
* obj0
= 0 ;
21514 PyObject
* obj1
= 0 ;
21515 char *kwnames
[] = {
21516 (char *) "self",(char *) "diff", NULL
21519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
21520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21522 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21523 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21525 if (arg2
== NULL
) {
21526 PyErr_SetString(PyExc_TypeError
,"null reference");
21530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21532 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
21533 result
= (wxTimeSpan
*) &_result_ref
;
21536 wxPyEndAllowThreads(__tstate
);
21537 if (PyErr_Occurred()) SWIG_fail
;
21539 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21546 static PyObject
*_wrap_TimeSpan___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21547 PyObject
*resultobj
;
21548 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21550 wxTimeSpan
*result
;
21551 PyObject
* obj0
= 0 ;
21552 PyObject
* obj1
= 0 ;
21553 char *kwnames
[] = {
21554 (char *) "self",(char *) "n", NULL
21557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
21558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21560 arg2
= (int) SWIG_AsInt(obj1
);
21561 if (PyErr_Occurred()) SWIG_fail
;
21563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21565 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
21566 result
= (wxTimeSpan
*) &_result_ref
;
21569 wxPyEndAllowThreads(__tstate
);
21570 if (PyErr_Occurred()) SWIG_fail
;
21572 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21579 static PyObject
*_wrap_TimeSpan___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21580 PyObject
*resultobj
;
21581 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21582 wxTimeSpan
*result
;
21583 PyObject
* obj0
= 0 ;
21584 char *kwnames
[] = {
21585 (char *) "self", NULL
21588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan___neg__",kwnames
,&obj0
)) goto fail
;
21589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21594 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
21595 result
= (wxTimeSpan
*) &_result_ref
;
21598 wxPyEndAllowThreads(__tstate
);
21599 if (PyErr_Occurred()) SWIG_fail
;
21601 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21608 static PyObject
*_wrap_TimeSpan___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21609 PyObject
*resultobj
;
21610 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21611 wxTimeSpan
*arg2
= 0 ;
21613 PyObject
* obj0
= 0 ;
21614 PyObject
* obj1
= 0 ;
21615 char *kwnames
[] = {
21616 (char *) "self",(char *) "other", NULL
21619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
21620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21622 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21623 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21625 if (arg2
== NULL
) {
21626 PyErr_SetString(PyExc_TypeError
,"null reference");
21630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21631 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
21633 wxPyEndAllowThreads(__tstate
);
21634 if (PyErr_Occurred()) SWIG_fail
;
21637 wxTimeSpan
* resultptr
;
21638 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21639 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21647 static PyObject
*_wrap_TimeSpan___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21648 PyObject
*resultobj
;
21649 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21650 wxTimeSpan
*arg2
= 0 ;
21652 PyObject
* obj0
= 0 ;
21653 PyObject
* obj1
= 0 ;
21654 char *kwnames
[] = {
21655 (char *) "self",(char *) "other", NULL
21658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
21659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21661 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21662 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21664 if (arg2
== NULL
) {
21665 PyErr_SetString(PyExc_TypeError
,"null reference");
21669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21670 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
21672 wxPyEndAllowThreads(__tstate
);
21673 if (PyErr_Occurred()) SWIG_fail
;
21676 wxTimeSpan
* resultptr
;
21677 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21678 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21686 static PyObject
*_wrap_TimeSpan___mul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21687 PyObject
*resultobj
;
21688 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21691 PyObject
* obj0
= 0 ;
21692 PyObject
* obj1
= 0 ;
21693 char *kwnames
[] = {
21694 (char *) "self",(char *) "n", NULL
21697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
21698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21700 arg2
= (int) SWIG_AsInt(obj1
);
21701 if (PyErr_Occurred()) SWIG_fail
;
21703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21704 result
= wxTimeSpan___mul__(arg1
,arg2
);
21706 wxPyEndAllowThreads(__tstate
);
21707 if (PyErr_Occurred()) SWIG_fail
;
21710 wxTimeSpan
* resultptr
;
21711 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21712 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21720 static PyObject
*_wrap_TimeSpan___rmul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21721 PyObject
*resultobj
;
21722 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21725 PyObject
* obj0
= 0 ;
21726 PyObject
* obj1
= 0 ;
21727 char *kwnames
[] = {
21728 (char *) "self",(char *) "n", NULL
21731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
21732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21734 arg2
= (int) SWIG_AsInt(obj1
);
21735 if (PyErr_Occurred()) SWIG_fail
;
21737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21738 result
= wxTimeSpan___rmul__(arg1
,arg2
);
21740 wxPyEndAllowThreads(__tstate
);
21741 if (PyErr_Occurred()) SWIG_fail
;
21744 wxTimeSpan
* resultptr
;
21745 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21746 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21754 static PyObject
*_wrap_TimeSpan___lt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21755 PyObject
*resultobj
;
21756 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21757 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
21759 PyObject
* obj0
= 0 ;
21760 PyObject
* obj1
= 0 ;
21761 char *kwnames
[] = {
21762 (char *) "self",(char *) "other", NULL
21765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
21766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21768 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21772 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const *)arg2
);
21774 wxPyEndAllowThreads(__tstate
);
21775 if (PyErr_Occurred()) SWIG_fail
;
21777 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21784 static PyObject
*_wrap_TimeSpan___le__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21785 PyObject
*resultobj
;
21786 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21787 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
21789 PyObject
* obj0
= 0 ;
21790 PyObject
* obj1
= 0 ;
21791 char *kwnames
[] = {
21792 (char *) "self",(char *) "other", NULL
21795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
21796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21798 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21802 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const *)arg2
);
21804 wxPyEndAllowThreads(__tstate
);
21805 if (PyErr_Occurred()) SWIG_fail
;
21807 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21814 static PyObject
*_wrap_TimeSpan___gt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21815 PyObject
*resultobj
;
21816 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21817 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
21819 PyObject
* obj0
= 0 ;
21820 PyObject
* obj1
= 0 ;
21821 char *kwnames
[] = {
21822 (char *) "self",(char *) "other", NULL
21825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
21826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21828 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21832 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const *)arg2
);
21834 wxPyEndAllowThreads(__tstate
);
21835 if (PyErr_Occurred()) SWIG_fail
;
21837 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21844 static PyObject
*_wrap_TimeSpan___ge__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21845 PyObject
*resultobj
;
21846 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21847 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
21849 PyObject
* obj0
= 0 ;
21850 PyObject
* obj1
= 0 ;
21851 char *kwnames
[] = {
21852 (char *) "self",(char *) "other", NULL
21855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
21856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21858 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21862 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const *)arg2
);
21864 wxPyEndAllowThreads(__tstate
);
21865 if (PyErr_Occurred()) SWIG_fail
;
21867 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21874 static PyObject
*_wrap_TimeSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21875 PyObject
*resultobj
;
21876 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21877 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
21879 PyObject
* obj0
= 0 ;
21880 PyObject
* obj1
= 0 ;
21881 char *kwnames
[] = {
21882 (char *) "self",(char *) "other", NULL
21885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
21886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21888 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21892 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const *)arg2
);
21894 wxPyEndAllowThreads(__tstate
);
21895 if (PyErr_Occurred()) SWIG_fail
;
21897 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21904 static PyObject
*_wrap_TimeSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21905 PyObject
*resultobj
;
21906 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21907 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
21909 PyObject
* obj0
= 0 ;
21910 PyObject
* obj1
= 0 ;
21911 char *kwnames
[] = {
21912 (char *) "self",(char *) "other", NULL
21915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
21916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21918 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21922 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const *)arg2
);
21924 wxPyEndAllowThreads(__tstate
);
21925 if (PyErr_Occurred()) SWIG_fail
;
21927 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21934 static PyObject
*_wrap_TimeSpan_IsNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21935 PyObject
*resultobj
;
21936 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21938 PyObject
* obj0
= 0 ;
21939 char *kwnames
[] = {
21940 (char *) "self", NULL
21943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNull",kwnames
,&obj0
)) goto fail
;
21944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21948 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
21950 wxPyEndAllowThreads(__tstate
);
21951 if (PyErr_Occurred()) SWIG_fail
;
21953 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21960 static PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21961 PyObject
*resultobj
;
21962 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21964 PyObject
* obj0
= 0 ;
21965 char *kwnames
[] = {
21966 (char *) "self", NULL
21969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsPositive",kwnames
,&obj0
)) goto fail
;
21970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21974 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
21976 wxPyEndAllowThreads(__tstate
);
21977 if (PyErr_Occurred()) SWIG_fail
;
21979 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21986 static PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21987 PyObject
*resultobj
;
21988 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21990 PyObject
* obj0
= 0 ;
21991 char *kwnames
[] = {
21992 (char *) "self", NULL
21995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNegative",kwnames
,&obj0
)) goto fail
;
21996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22000 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
22002 wxPyEndAllowThreads(__tstate
);
22003 if (PyErr_Occurred()) SWIG_fail
;
22005 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22012 static PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22013 PyObject
*resultobj
;
22014 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22015 wxTimeSpan
*arg2
= 0 ;
22017 PyObject
* obj0
= 0 ;
22018 PyObject
* obj1
= 0 ;
22019 char *kwnames
[] = {
22020 (char *) "self",(char *) "ts", NULL
22023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
22024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22026 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22027 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22029 if (arg2
== NULL
) {
22030 PyErr_SetString(PyExc_TypeError
,"null reference");
22034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22035 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
22037 wxPyEndAllowThreads(__tstate
);
22038 if (PyErr_Occurred()) SWIG_fail
;
22040 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22047 static PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22048 PyObject
*resultobj
;
22049 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22050 wxTimeSpan
*arg2
= 0 ;
22052 PyObject
* obj0
= 0 ;
22053 PyObject
* obj1
= 0 ;
22054 char *kwnames
[] = {
22055 (char *) "self",(char *) "ts", NULL
22058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22061 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22062 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22064 if (arg2
== NULL
) {
22065 PyErr_SetString(PyExc_TypeError
,"null reference");
22069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22070 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
22072 wxPyEndAllowThreads(__tstate
);
22073 if (PyErr_Occurred()) SWIG_fail
;
22075 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22082 static PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22083 PyObject
*resultobj
;
22084 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22085 wxTimeSpan
*arg2
= 0 ;
22087 PyObject
* obj0
= 0 ;
22088 PyObject
* obj1
= 0 ;
22089 char *kwnames
[] = {
22090 (char *) "self",(char *) "t", NULL
22093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22096 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22097 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22099 if (arg2
== NULL
) {
22100 PyErr_SetString(PyExc_TypeError
,"null reference");
22104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22105 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
22107 wxPyEndAllowThreads(__tstate
);
22108 if (PyErr_Occurred()) SWIG_fail
;
22110 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22117 static PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22118 PyObject
*resultobj
;
22119 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22121 PyObject
* obj0
= 0 ;
22122 char *kwnames
[] = {
22123 (char *) "self", NULL
22126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
22127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22131 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
22133 wxPyEndAllowThreads(__tstate
);
22134 if (PyErr_Occurred()) SWIG_fail
;
22136 resultobj
= SWIG_FromInt((int)result
);
22143 static PyObject
*_wrap_TimeSpan_GetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22144 PyObject
*resultobj
;
22145 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22147 PyObject
* obj0
= 0 ;
22148 char *kwnames
[] = {
22149 (char *) "self", NULL
22152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetDays",kwnames
,&obj0
)) goto fail
;
22153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22157 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
22159 wxPyEndAllowThreads(__tstate
);
22160 if (PyErr_Occurred()) SWIG_fail
;
22162 resultobj
= SWIG_FromInt((int)result
);
22169 static PyObject
*_wrap_TimeSpan_GetHours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22170 PyObject
*resultobj
;
22171 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22173 PyObject
* obj0
= 0 ;
22174 char *kwnames
[] = {
22175 (char *) "self", NULL
22178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetHours",kwnames
,&obj0
)) goto fail
;
22179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22183 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
22185 wxPyEndAllowThreads(__tstate
);
22186 if (PyErr_Occurred()) SWIG_fail
;
22188 resultobj
= SWIG_FromInt((int)result
);
22195 static PyObject
*_wrap_TimeSpan_GetMinutes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22196 PyObject
*resultobj
;
22197 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22199 PyObject
* obj0
= 0 ;
22200 char *kwnames
[] = {
22201 (char *) "self", NULL
22204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMinutes",kwnames
,&obj0
)) goto fail
;
22205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22209 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
22211 wxPyEndAllowThreads(__tstate
);
22212 if (PyErr_Occurred()) SWIG_fail
;
22214 resultobj
= SWIG_FromInt((int)result
);
22221 static PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22222 PyObject
*resultobj
;
22223 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22225 PyObject
* obj0
= 0 ;
22226 char *kwnames
[] = {
22227 (char *) "self", NULL
22230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetSeconds",kwnames
,&obj0
)) goto fail
;
22231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22235 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
22237 wxPyEndAllowThreads(__tstate
);
22238 if (PyErr_Occurred()) SWIG_fail
;
22241 PyObject
*hi
, *lo
, *shifter
, *shifted
;
22242 hi
= PyLong_FromLong( (&result
)->GetHi() );
22243 lo
= PyLong_FromLong( (&result
)->GetLo() );
22244 shifter
= PyLong_FromLong(32);
22245 shifted
= PyNumber_Lshift(hi
, shifter
);
22246 resultobj
= PyNumber_Or(shifted
, lo
);
22249 Py_DECREF(shifter
);
22250 Py_DECREF(shifted
);
22258 static PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22259 PyObject
*resultobj
;
22260 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22262 PyObject
* obj0
= 0 ;
22263 char *kwnames
[] = {
22264 (char *) "self", NULL
22267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMilliseconds",kwnames
,&obj0
)) goto fail
;
22268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22272 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
22274 wxPyEndAllowThreads(__tstate
);
22275 if (PyErr_Occurred()) SWIG_fail
;
22278 PyObject
*hi
, *lo
, *shifter
, *shifted
;
22279 hi
= PyLong_FromLong( (&result
)->GetHi() );
22280 lo
= PyLong_FromLong( (&result
)->GetLo() );
22281 shifter
= PyLong_FromLong(32);
22282 shifted
= PyNumber_Lshift(hi
, shifter
);
22283 resultobj
= PyNumber_Or(shifted
, lo
);
22286 Py_DECREF(shifter
);
22287 Py_DECREF(shifted
);
22295 static PyObject
*_wrap_TimeSpan_Format(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22296 PyObject
*resultobj
;
22297 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22298 wxString
const &arg2_defvalue
= wxPyTimeSpanFormatStr
;
22299 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
22301 bool temp2
= False
;
22302 PyObject
* obj0
= 0 ;
22303 PyObject
* obj1
= 0 ;
22304 char *kwnames
[] = {
22305 (char *) "self",(char *) "format", NULL
22308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) goto fail
;
22309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22313 arg2
= wxString_in_helper(obj1
);
22314 if (arg2
== NULL
) SWIG_fail
;
22319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22320 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
22322 wxPyEndAllowThreads(__tstate
);
22323 if (PyErr_Occurred()) SWIG_fail
;
22327 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22329 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22346 static PyObject
* TimeSpan_swigregister(PyObject
*, PyObject
*args
) {
22348 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22349 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan
, obj
);
22351 return Py_BuildValue((char *)"");
22353 static PyObject
*_wrap_new_DateSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22354 PyObject
*resultobj
;
22355 int arg1
= (int) 0 ;
22356 int arg2
= (int) 0 ;
22357 int arg3
= (int) 0 ;
22358 int arg4
= (int) 0 ;
22359 wxDateSpan
*result
;
22360 PyObject
* obj0
= 0 ;
22361 PyObject
* obj1
= 0 ;
22362 PyObject
* obj2
= 0 ;
22363 PyObject
* obj3
= 0 ;
22364 char *kwnames
[] = {
22365 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
22368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22370 arg1
= (int) SWIG_AsInt(obj0
);
22371 if (PyErr_Occurred()) SWIG_fail
;
22374 arg2
= (int) SWIG_AsInt(obj1
);
22375 if (PyErr_Occurred()) SWIG_fail
;
22378 arg3
= (int) SWIG_AsInt(obj2
);
22379 if (PyErr_Occurred()) SWIG_fail
;
22382 arg4
= (int) SWIG_AsInt(obj3
);
22383 if (PyErr_Occurred()) SWIG_fail
;
22386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22387 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
22389 wxPyEndAllowThreads(__tstate
);
22390 if (PyErr_Occurred()) SWIG_fail
;
22392 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
22399 static PyObject
*_wrap_delete_DateSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22400 PyObject
*resultobj
;
22401 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22402 PyObject
* obj0
= 0 ;
22403 char *kwnames
[] = {
22404 (char *) "self", NULL
22407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateSpan",kwnames
,&obj0
)) goto fail
;
22408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22414 wxPyEndAllowThreads(__tstate
);
22415 if (PyErr_Occurred()) SWIG_fail
;
22417 Py_INCREF(Py_None
); resultobj
= Py_None
;
22424 static PyObject
*_wrap_DateSpan_Days(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22425 PyObject
*resultobj
;
22428 PyObject
* obj0
= 0 ;
22429 char *kwnames
[] = {
22430 (char *) "days", NULL
22433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",kwnames
,&obj0
)) goto fail
;
22434 arg1
= (int) SWIG_AsInt(obj0
);
22435 if (PyErr_Occurred()) SWIG_fail
;
22437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22438 result
= wxDateSpan::Days(arg1
);
22440 wxPyEndAllowThreads(__tstate
);
22441 if (PyErr_Occurred()) SWIG_fail
;
22444 wxDateSpan
* resultptr
;
22445 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22446 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22454 static PyObject
*_wrap_DateSpan_Day(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22455 PyObject
*resultobj
;
22457 char *kwnames
[] = {
22461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Day",kwnames
)) goto fail
;
22463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22464 result
= wxDateSpan::Day();
22466 wxPyEndAllowThreads(__tstate
);
22467 if (PyErr_Occurred()) SWIG_fail
;
22470 wxDateSpan
* resultptr
;
22471 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22472 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22480 static PyObject
*_wrap_DateSpan_Weeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22481 PyObject
*resultobj
;
22484 PyObject
* obj0
= 0 ;
22485 char *kwnames
[] = {
22486 (char *) "weeks", NULL
22489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",kwnames
,&obj0
)) goto fail
;
22490 arg1
= (int) SWIG_AsInt(obj0
);
22491 if (PyErr_Occurred()) SWIG_fail
;
22493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22494 result
= wxDateSpan::Weeks(arg1
);
22496 wxPyEndAllowThreads(__tstate
);
22497 if (PyErr_Occurred()) SWIG_fail
;
22500 wxDateSpan
* resultptr
;
22501 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22502 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22510 static PyObject
*_wrap_DateSpan_Week(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22511 PyObject
*resultobj
;
22513 char *kwnames
[] = {
22517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Week",kwnames
)) goto fail
;
22519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22520 result
= wxDateSpan::Week();
22522 wxPyEndAllowThreads(__tstate
);
22523 if (PyErr_Occurred()) SWIG_fail
;
22526 wxDateSpan
* resultptr
;
22527 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22528 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22536 static PyObject
*_wrap_DateSpan_Months(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22537 PyObject
*resultobj
;
22540 PyObject
* obj0
= 0 ;
22541 char *kwnames
[] = {
22542 (char *) "mon", NULL
22545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",kwnames
,&obj0
)) goto fail
;
22546 arg1
= (int) SWIG_AsInt(obj0
);
22547 if (PyErr_Occurred()) SWIG_fail
;
22549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22550 result
= wxDateSpan::Months(arg1
);
22552 wxPyEndAllowThreads(__tstate
);
22553 if (PyErr_Occurred()) SWIG_fail
;
22556 wxDateSpan
* resultptr
;
22557 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22558 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22566 static PyObject
*_wrap_DateSpan_Month(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22567 PyObject
*resultobj
;
22569 char *kwnames
[] = {
22573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Month",kwnames
)) goto fail
;
22575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22576 result
= wxDateSpan::Month();
22578 wxPyEndAllowThreads(__tstate
);
22579 if (PyErr_Occurred()) SWIG_fail
;
22582 wxDateSpan
* resultptr
;
22583 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22584 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22592 static PyObject
*_wrap_DateSpan_Years(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22593 PyObject
*resultobj
;
22596 PyObject
* obj0
= 0 ;
22597 char *kwnames
[] = {
22598 (char *) "years", NULL
22601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) goto fail
;
22602 arg1
= (int) SWIG_AsInt(obj0
);
22603 if (PyErr_Occurred()) SWIG_fail
;
22605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22606 result
= wxDateSpan::Years(arg1
);
22608 wxPyEndAllowThreads(__tstate
);
22609 if (PyErr_Occurred()) SWIG_fail
;
22612 wxDateSpan
* resultptr
;
22613 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22614 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22622 static PyObject
*_wrap_DateSpan_Year(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22623 PyObject
*resultobj
;
22625 char *kwnames
[] = {
22629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Year",kwnames
)) goto fail
;
22631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22632 result
= wxDateSpan::Year();
22634 wxPyEndAllowThreads(__tstate
);
22635 if (PyErr_Occurred()) SWIG_fail
;
22638 wxDateSpan
* resultptr
;
22639 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22640 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22648 static PyObject
*_wrap_DateSpan_SetYears(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22649 PyObject
*resultobj
;
22650 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22652 wxDateSpan
*result
;
22653 PyObject
* obj0
= 0 ;
22654 PyObject
* obj1
= 0 ;
22655 char *kwnames
[] = {
22656 (char *) "self",(char *) "n", NULL
22659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetYears",kwnames
,&obj0
,&obj1
)) goto fail
;
22660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22662 arg2
= (int) SWIG_AsInt(obj1
);
22663 if (PyErr_Occurred()) SWIG_fail
;
22665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22667 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
22668 result
= (wxDateSpan
*) &_result_ref
;
22671 wxPyEndAllowThreads(__tstate
);
22672 if (PyErr_Occurred()) SWIG_fail
;
22674 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
22681 static PyObject
*_wrap_DateSpan_SetMonths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22682 PyObject
*resultobj
;
22683 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22685 wxDateSpan
*result
;
22686 PyObject
* obj0
= 0 ;
22687 PyObject
* obj1
= 0 ;
22688 char *kwnames
[] = {
22689 (char *) "self",(char *) "n", NULL
22692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetMonths",kwnames
,&obj0
,&obj1
)) goto fail
;
22693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22695 arg2
= (int) SWIG_AsInt(obj1
);
22696 if (PyErr_Occurred()) SWIG_fail
;
22698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22700 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
22701 result
= (wxDateSpan
*) &_result_ref
;
22704 wxPyEndAllowThreads(__tstate
);
22705 if (PyErr_Occurred()) SWIG_fail
;
22707 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
22714 static PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22715 PyObject
*resultobj
;
22716 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22718 wxDateSpan
*result
;
22719 PyObject
* obj0
= 0 ;
22720 PyObject
* obj1
= 0 ;
22721 char *kwnames
[] = {
22722 (char *) "self",(char *) "n", NULL
22725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) goto fail
;
22726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22728 arg2
= (int) SWIG_AsInt(obj1
);
22729 if (PyErr_Occurred()) SWIG_fail
;
22731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22733 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
22734 result
= (wxDateSpan
*) &_result_ref
;
22737 wxPyEndAllowThreads(__tstate
);
22738 if (PyErr_Occurred()) SWIG_fail
;
22740 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
22747 static PyObject
*_wrap_DateSpan_SetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22748 PyObject
*resultobj
;
22749 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22751 wxDateSpan
*result
;
22752 PyObject
* obj0
= 0 ;
22753 PyObject
* obj1
= 0 ;
22754 char *kwnames
[] = {
22755 (char *) "self",(char *) "n", NULL
22758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) goto fail
;
22759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22761 arg2
= (int) SWIG_AsInt(obj1
);
22762 if (PyErr_Occurred()) SWIG_fail
;
22764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22766 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
22767 result
= (wxDateSpan
*) &_result_ref
;
22770 wxPyEndAllowThreads(__tstate
);
22771 if (PyErr_Occurred()) SWIG_fail
;
22773 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
22780 static PyObject
*_wrap_DateSpan_GetYears(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22781 PyObject
*resultobj
;
22782 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22784 PyObject
* obj0
= 0 ;
22785 char *kwnames
[] = {
22786 (char *) "self", NULL
22789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetYears",kwnames
,&obj0
)) goto fail
;
22790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22794 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
22796 wxPyEndAllowThreads(__tstate
);
22797 if (PyErr_Occurred()) SWIG_fail
;
22799 resultobj
= SWIG_FromInt((int)result
);
22806 static PyObject
*_wrap_DateSpan_GetMonths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22807 PyObject
*resultobj
;
22808 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22810 PyObject
* obj0
= 0 ;
22811 char *kwnames
[] = {
22812 (char *) "self", NULL
22815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetMonths",kwnames
,&obj0
)) goto fail
;
22816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22820 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
22822 wxPyEndAllowThreads(__tstate
);
22823 if (PyErr_Occurred()) SWIG_fail
;
22825 resultobj
= SWIG_FromInt((int)result
);
22832 static PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22833 PyObject
*resultobj
;
22834 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22836 PyObject
* obj0
= 0 ;
22837 char *kwnames
[] = {
22838 (char *) "self", NULL
22841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
22842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22846 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
22848 wxPyEndAllowThreads(__tstate
);
22849 if (PyErr_Occurred()) SWIG_fail
;
22851 resultobj
= SWIG_FromInt((int)result
);
22858 static PyObject
*_wrap_DateSpan_GetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22859 PyObject
*resultobj
;
22860 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22862 PyObject
* obj0
= 0 ;
22863 char *kwnames
[] = {
22864 (char *) "self", NULL
22867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetDays",kwnames
,&obj0
)) goto fail
;
22868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22872 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
22874 wxPyEndAllowThreads(__tstate
);
22875 if (PyErr_Occurred()) SWIG_fail
;
22877 resultobj
= SWIG_FromInt((int)result
);
22884 static PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22885 PyObject
*resultobj
;
22886 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22888 PyObject
* obj0
= 0 ;
22889 char *kwnames
[] = {
22890 (char *) "self", NULL
22893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetTotalDays",kwnames
,&obj0
)) goto fail
;
22894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22898 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
22900 wxPyEndAllowThreads(__tstate
);
22901 if (PyErr_Occurred()) SWIG_fail
;
22903 resultobj
= SWIG_FromInt((int)result
);
22910 static PyObject
*_wrap_DateSpan_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22911 PyObject
*resultobj
;
22912 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22913 wxDateSpan
*arg2
= 0 ;
22914 wxDateSpan
*result
;
22915 PyObject
* obj0
= 0 ;
22916 PyObject
* obj1
= 0 ;
22917 char *kwnames
[] = {
22918 (char *) "self",(char *) "other", NULL
22921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
22922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22924 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
22925 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22927 if (arg2
== NULL
) {
22928 PyErr_SetString(PyExc_TypeError
,"null reference");
22932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22934 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
22935 result
= (wxDateSpan
*) &_result_ref
;
22938 wxPyEndAllowThreads(__tstate
);
22939 if (PyErr_Occurred()) SWIG_fail
;
22941 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
22948 static PyObject
*_wrap_DateSpan_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22949 PyObject
*resultobj
;
22950 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22951 wxDateSpan
*arg2
= 0 ;
22952 wxDateSpan
*result
;
22953 PyObject
* obj0
= 0 ;
22954 PyObject
* obj1
= 0 ;
22955 char *kwnames
[] = {
22956 (char *) "self",(char *) "other", NULL
22959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
22960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22962 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
22963 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22965 if (arg2
== NULL
) {
22966 PyErr_SetString(PyExc_TypeError
,"null reference");
22970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22972 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
22973 result
= (wxDateSpan
*) &_result_ref
;
22976 wxPyEndAllowThreads(__tstate
);
22977 if (PyErr_Occurred()) SWIG_fail
;
22979 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
22986 static PyObject
*_wrap_DateSpan_Neg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22987 PyObject
*resultobj
;
22988 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22989 wxDateSpan
*result
;
22990 PyObject
* obj0
= 0 ;
22991 char *kwnames
[] = {
22992 (char *) "self", NULL
22995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Neg",kwnames
,&obj0
)) goto fail
;
22996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23001 wxDateSpan
&_result_ref
= (arg1
)->Neg();
23002 result
= (wxDateSpan
*) &_result_ref
;
23005 wxPyEndAllowThreads(__tstate
);
23006 if (PyErr_Occurred()) SWIG_fail
;
23008 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23015 static PyObject
*_wrap_DateSpan_Multiply(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23016 PyObject
*resultobj
;
23017 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23019 wxDateSpan
*result
;
23020 PyObject
* obj0
= 0 ;
23021 PyObject
* obj1
= 0 ;
23022 char *kwnames
[] = {
23023 (char *) "self",(char *) "factor", NULL
23026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
23027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23029 arg2
= (int) SWIG_AsInt(obj1
);
23030 if (PyErr_Occurred()) SWIG_fail
;
23032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23034 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
23035 result
= (wxDateSpan
*) &_result_ref
;
23038 wxPyEndAllowThreads(__tstate
);
23039 if (PyErr_Occurred()) SWIG_fail
;
23041 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23048 static PyObject
*_wrap_DateSpan___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23049 PyObject
*resultobj
;
23050 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23051 wxDateSpan
*arg2
= 0 ;
23052 wxDateSpan
*result
;
23053 PyObject
* obj0
= 0 ;
23054 PyObject
* obj1
= 0 ;
23055 char *kwnames
[] = {
23056 (char *) "self",(char *) "other", NULL
23059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
23060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23062 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23063 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23065 if (arg2
== NULL
) {
23066 PyErr_SetString(PyExc_TypeError
,"null reference");
23070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23072 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
23073 result
= (wxDateSpan
*) &_result_ref
;
23076 wxPyEndAllowThreads(__tstate
);
23077 if (PyErr_Occurred()) SWIG_fail
;
23079 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23086 static PyObject
*_wrap_DateSpan___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23087 PyObject
*resultobj
;
23088 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23089 wxDateSpan
*arg2
= 0 ;
23090 wxDateSpan
*result
;
23091 PyObject
* obj0
= 0 ;
23092 PyObject
* obj1
= 0 ;
23093 char *kwnames
[] = {
23094 (char *) "self",(char *) "other", NULL
23097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
23098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23100 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23101 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23103 if (arg2
== NULL
) {
23104 PyErr_SetString(PyExc_TypeError
,"null reference");
23108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23110 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
23111 result
= (wxDateSpan
*) &_result_ref
;
23114 wxPyEndAllowThreads(__tstate
);
23115 if (PyErr_Occurred()) SWIG_fail
;
23117 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23124 static PyObject
*_wrap_DateSpan___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23125 PyObject
*resultobj
;
23126 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23127 wxDateSpan
*result
;
23128 PyObject
* obj0
= 0 ;
23129 char *kwnames
[] = {
23130 (char *) "self", NULL
23133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan___neg__",kwnames
,&obj0
)) goto fail
;
23134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23139 wxDateSpan
&_result_ref
= (arg1
)->operator -();
23140 result
= (wxDateSpan
*) &_result_ref
;
23143 wxPyEndAllowThreads(__tstate
);
23144 if (PyErr_Occurred()) SWIG_fail
;
23146 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23153 static PyObject
*_wrap_DateSpan___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23154 PyObject
*resultobj
;
23155 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23157 wxDateSpan
*result
;
23158 PyObject
* obj0
= 0 ;
23159 PyObject
* obj1
= 0 ;
23160 char *kwnames
[] = {
23161 (char *) "self",(char *) "factor", NULL
23164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23167 arg2
= (int) SWIG_AsInt(obj1
);
23168 if (PyErr_Occurred()) SWIG_fail
;
23170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23172 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
23173 result
= (wxDateSpan
*) &_result_ref
;
23176 wxPyEndAllowThreads(__tstate
);
23177 if (PyErr_Occurred()) SWIG_fail
;
23179 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23186 static PyObject
*_wrap_DateSpan___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23187 PyObject
*resultobj
;
23188 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23189 wxDateSpan
*arg2
= 0 ;
23191 PyObject
* obj0
= 0 ;
23192 PyObject
* obj1
= 0 ;
23193 char *kwnames
[] = {
23194 (char *) "self",(char *) "other", NULL
23197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
23198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23200 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23201 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23203 if (arg2
== NULL
) {
23204 PyErr_SetString(PyExc_TypeError
,"null reference");
23208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23209 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
23211 wxPyEndAllowThreads(__tstate
);
23212 if (PyErr_Occurred()) SWIG_fail
;
23215 wxDateSpan
* resultptr
;
23216 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23217 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23225 static PyObject
*_wrap_DateSpan___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23226 PyObject
*resultobj
;
23227 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23228 wxDateSpan
*arg2
= 0 ;
23230 PyObject
* obj0
= 0 ;
23231 PyObject
* obj1
= 0 ;
23232 char *kwnames
[] = {
23233 (char *) "self",(char *) "other", NULL
23236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
23237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23239 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23240 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23242 if (arg2
== NULL
) {
23243 PyErr_SetString(PyExc_TypeError
,"null reference");
23247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23248 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
23250 wxPyEndAllowThreads(__tstate
);
23251 if (PyErr_Occurred()) SWIG_fail
;
23254 wxDateSpan
* resultptr
;
23255 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23256 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23264 static PyObject
*_wrap_DateSpan___mul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23265 PyObject
*resultobj
;
23266 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23269 PyObject
* obj0
= 0 ;
23270 PyObject
* obj1
= 0 ;
23271 char *kwnames
[] = {
23272 (char *) "self",(char *) "n", NULL
23275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23278 arg2
= (int) SWIG_AsInt(obj1
);
23279 if (PyErr_Occurred()) SWIG_fail
;
23281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23282 result
= wxDateSpan___mul__(arg1
,arg2
);
23284 wxPyEndAllowThreads(__tstate
);
23285 if (PyErr_Occurred()) SWIG_fail
;
23288 wxDateSpan
* resultptr
;
23289 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23290 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23298 static PyObject
*_wrap_DateSpan___rmul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23299 PyObject
*resultobj
;
23300 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23303 PyObject
* obj0
= 0 ;
23304 PyObject
* obj1
= 0 ;
23305 char *kwnames
[] = {
23306 (char *) "self",(char *) "n", NULL
23309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23312 arg2
= (int) SWIG_AsInt(obj1
);
23313 if (PyErr_Occurred()) SWIG_fail
;
23315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23316 result
= wxDateSpan___rmul__(arg1
,arg2
);
23318 wxPyEndAllowThreads(__tstate
);
23319 if (PyErr_Occurred()) SWIG_fail
;
23322 wxDateSpan
* resultptr
;
23323 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23324 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23332 static PyObject
*_wrap_DateSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23333 PyObject
*resultobj
;
23334 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23335 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
23337 PyObject
* obj0
= 0 ;
23338 PyObject
* obj1
= 0 ;
23339 char *kwnames
[] = {
23340 (char *) "self",(char *) "other", NULL
23343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
23344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23346 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23350 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const *)arg2
);
23352 wxPyEndAllowThreads(__tstate
);
23353 if (PyErr_Occurred()) SWIG_fail
;
23355 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23362 static PyObject
*_wrap_DateSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23363 PyObject
*resultobj
;
23364 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23365 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
23367 PyObject
* obj0
= 0 ;
23368 PyObject
* obj1
= 0 ;
23369 char *kwnames
[] = {
23370 (char *) "self",(char *) "other", NULL
23373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
23374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23376 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23380 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const *)arg2
);
23382 wxPyEndAllowThreads(__tstate
);
23383 if (PyErr_Occurred()) SWIG_fail
;
23385 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23392 static PyObject
* DateSpan_swigregister(PyObject
*, PyObject
*args
) {
23394 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23395 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan
, obj
);
23397 return Py_BuildValue((char *)"");
23399 static PyObject
*_wrap_GetLocalTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23400 PyObject
*resultobj
;
23402 char *kwnames
[] = {
23406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTime",kwnames
)) goto fail
;
23408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23409 result
= (long)wxGetLocalTime();
23411 wxPyEndAllowThreads(__tstate
);
23412 if (PyErr_Occurred()) SWIG_fail
;
23414 resultobj
= SWIG_FromLong((long)result
);
23421 static PyObject
*_wrap_GetUTCTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23422 PyObject
*resultobj
;
23424 char *kwnames
[] = {
23428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUTCTime",kwnames
)) goto fail
;
23430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23431 result
= (long)wxGetUTCTime();
23433 wxPyEndAllowThreads(__tstate
);
23434 if (PyErr_Occurred()) SWIG_fail
;
23436 resultobj
= SWIG_FromLong((long)result
);
23443 static PyObject
*_wrap_GetCurrentTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23444 PyObject
*resultobj
;
23446 char *kwnames
[] = {
23450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentTime",kwnames
)) goto fail
;
23452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23453 result
= (long)wxGetCurrentTime();
23455 wxPyEndAllowThreads(__tstate
);
23456 if (PyErr_Occurred()) SWIG_fail
;
23458 resultobj
= SWIG_FromLong((long)result
);
23465 static PyObject
*_wrap_GetLocalTimeMillis(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23466 PyObject
*resultobj
;
23468 char *kwnames
[] = {
23472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTimeMillis",kwnames
)) goto fail
;
23474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23475 result
= wxGetLocalTimeMillis();
23477 wxPyEndAllowThreads(__tstate
);
23478 if (PyErr_Occurred()) SWIG_fail
;
23481 PyObject
*hi
, *lo
, *shifter
, *shifted
;
23482 hi
= PyLong_FromLong( (&result
)->GetHi() );
23483 lo
= PyLong_FromLong( (&result
)->GetLo() );
23484 shifter
= PyLong_FromLong(32);
23485 shifted
= PyNumber_Lshift(hi
, shifter
);
23486 resultobj
= PyNumber_Or(shifted
, lo
);
23489 Py_DECREF(shifter
);
23490 Py_DECREF(shifted
);
23498 static int _wrap_DefaultDateTime_set(PyObject
*) {
23499 PyErr_SetString(PyExc_TypeError
,"Variable DefaultDateTime is read-only.");
23504 static PyObject
*_wrap_DefaultDateTime_get() {
23507 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultDateTime
), SWIGTYPE_p_wxDateTime
, 0);
23512 static PyObject
*_wrap_new_DataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23513 PyObject
*resultobj
;
23515 wxDataFormat
*result
;
23516 PyObject
* obj0
= 0 ;
23517 char *kwnames
[] = {
23518 (char *) "type", NULL
23521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) goto fail
;
23522 arg1
= (wxDataFormatId
) SWIG_AsInt(obj0
);
23523 if (PyErr_Occurred()) SWIG_fail
;
23525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23526 result
= (wxDataFormat
*)new wxDataFormat((wxDataFormatId
)arg1
);
23528 wxPyEndAllowThreads(__tstate
);
23529 if (PyErr_Occurred()) SWIG_fail
;
23531 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
23538 static PyObject
*_wrap_new_CustomDataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23539 PyObject
*resultobj
;
23540 wxString
*arg1
= 0 ;
23541 wxDataFormat
*result
;
23542 bool temp1
= False
;
23543 PyObject
* obj0
= 0 ;
23544 char *kwnames
[] = {
23545 (char *) "format", NULL
23548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) goto fail
;
23550 arg1
= wxString_in_helper(obj0
);
23551 if (arg1
== NULL
) SWIG_fail
;
23555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23556 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
23558 wxPyEndAllowThreads(__tstate
);
23559 if (PyErr_Occurred()) SWIG_fail
;
23561 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
23576 static PyObject
*_wrap_delete_DataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23577 PyObject
*resultobj
;
23578 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23579 PyObject
* obj0
= 0 ;
23580 char *kwnames
[] = {
23581 (char *) "self", NULL
23584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataFormat",kwnames
,&obj0
)) goto fail
;
23585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23591 wxPyEndAllowThreads(__tstate
);
23592 if (PyErr_Occurred()) SWIG_fail
;
23594 Py_INCREF(Py_None
); resultobj
= Py_None
;
23601 static PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*, PyObject
*args
) {
23602 PyObject
*resultobj
;
23603 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23606 PyObject
* obj0
= 0 ;
23607 PyObject
* obj1
= 0 ;
23609 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
23610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23612 arg2
= (wxDataFormatId
) SWIG_AsInt(obj1
);
23613 if (PyErr_Occurred()) SWIG_fail
;
23615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23616 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormatId
)arg2
);
23618 wxPyEndAllowThreads(__tstate
);
23619 if (PyErr_Occurred()) SWIG_fail
;
23621 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23628 static PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*, PyObject
*args
) {
23629 PyObject
*resultobj
;
23630 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23633 PyObject
* obj0
= 0 ;
23634 PyObject
* obj1
= 0 ;
23636 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
23637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23639 arg2
= (wxDataFormatId
) SWIG_AsInt(obj1
);
23640 if (PyErr_Occurred()) SWIG_fail
;
23642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23643 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormatId
)arg2
);
23645 wxPyEndAllowThreads(__tstate
);
23646 if (PyErr_Occurred()) SWIG_fail
;
23648 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23655 static PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*, PyObject
*args
) {
23656 PyObject
*resultobj
;
23657 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23658 wxDataFormat
*arg2
= 0 ;
23660 PyObject
* obj0
= 0 ;
23661 PyObject
* obj1
= 0 ;
23663 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
23664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23666 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
23667 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23669 if (arg2
== NULL
) {
23670 PyErr_SetString(PyExc_TypeError
,"null reference");
23674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23675 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
23677 wxPyEndAllowThreads(__tstate
);
23678 if (PyErr_Occurred()) SWIG_fail
;
23680 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23687 static PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
23692 argc
= PyObject_Length(args
);
23693 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
23694 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23700 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
23710 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
23718 return _wrap_DataFormat___eq____SWIG_1(self
,args
);
23726 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
23734 _v
= SWIG_CheckInt(argv
[1]);
23736 return _wrap_DataFormat___eq____SWIG_0(self
,args
);
23741 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___eq__'");
23746 static PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*, PyObject
*args
) {
23747 PyObject
*resultobj
;
23748 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23749 wxDataFormat
*arg2
= 0 ;
23751 PyObject
* obj0
= 0 ;
23752 PyObject
* obj1
= 0 ;
23754 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
23755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23757 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
23758 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23760 if (arg2
== NULL
) {
23761 PyErr_SetString(PyExc_TypeError
,"null reference");
23765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23766 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
23768 wxPyEndAllowThreads(__tstate
);
23769 if (PyErr_Occurred()) SWIG_fail
;
23771 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23778 static PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
23783 argc
= PyObject_Length(args
);
23784 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
23785 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23791 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
23801 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
23809 return _wrap_DataFormat___ne____SWIG_1(self
,args
);
23817 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
23825 _v
= SWIG_CheckInt(argv
[1]);
23827 return _wrap_DataFormat___ne____SWIG_0(self
,args
);
23832 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___ne__'");
23837 static PyObject
*_wrap_DataFormat_SetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23838 PyObject
*resultobj
;
23839 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23841 PyObject
* obj0
= 0 ;
23842 PyObject
* obj1
= 0 ;
23843 char *kwnames
[] = {
23844 (char *) "self",(char *) "format", NULL
23847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
23848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23850 arg2
= (wxDataFormatId
) SWIG_AsInt(obj1
);
23851 if (PyErr_Occurred()) SWIG_fail
;
23853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23854 (arg1
)->SetType((wxDataFormatId
)arg2
);
23856 wxPyEndAllowThreads(__tstate
);
23857 if (PyErr_Occurred()) SWIG_fail
;
23859 Py_INCREF(Py_None
); resultobj
= Py_None
;
23866 static PyObject
*_wrap_DataFormat_GetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23867 PyObject
*resultobj
;
23868 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23870 PyObject
* obj0
= 0 ;
23871 char *kwnames
[] = {
23872 (char *) "self", NULL
23875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetType",kwnames
,&obj0
)) goto fail
;
23876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23880 result
= (int)((wxDataFormat
const *)arg1
)->GetType();
23882 wxPyEndAllowThreads(__tstate
);
23883 if (PyErr_Occurred()) SWIG_fail
;
23885 resultobj
= SWIG_FromInt((int)result
);
23892 static PyObject
*_wrap_DataFormat_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23893 PyObject
*resultobj
;
23894 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23896 PyObject
* obj0
= 0 ;
23897 char *kwnames
[] = {
23898 (char *) "self", NULL
23901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetId",kwnames
,&obj0
)) goto fail
;
23902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23906 result
= ((wxDataFormat
const *)arg1
)->GetId();
23908 wxPyEndAllowThreads(__tstate
);
23909 if (PyErr_Occurred()) SWIG_fail
;
23913 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23915 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23924 static PyObject
*_wrap_DataFormat_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23925 PyObject
*resultobj
;
23926 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23927 wxString
*arg2
= 0 ;
23928 bool temp2
= False
;
23929 PyObject
* obj0
= 0 ;
23930 PyObject
* obj1
= 0 ;
23931 char *kwnames
[] = {
23932 (char *) "self",(char *) "format", NULL
23935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
23936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23939 arg2
= wxString_in_helper(obj1
);
23940 if (arg2
== NULL
) SWIG_fail
;
23944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23945 (arg1
)->SetId((wxString
const &)*arg2
);
23947 wxPyEndAllowThreads(__tstate
);
23948 if (PyErr_Occurred()) SWIG_fail
;
23950 Py_INCREF(Py_None
); resultobj
= Py_None
;
23965 static PyObject
* DataFormat_swigregister(PyObject
*, PyObject
*args
) {
23967 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23968 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat
, obj
);
23970 return Py_BuildValue((char *)"");
23972 static int _wrap_FormatInvalid_set(PyObject
*) {
23973 PyErr_SetString(PyExc_TypeError
,"Variable FormatInvalid is read-only.");
23978 static PyObject
*_wrap_FormatInvalid_get() {
23981 pyobj
= SWIG_NewPointerObj((void *)(&wxFormatInvalid
), SWIGTYPE_p_wxDataFormat
, 0);
23986 static PyObject
*_wrap_delete_DataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23987 PyObject
*resultobj
;
23988 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
23989 PyObject
* obj0
= 0 ;
23990 char *kwnames
[] = {
23991 (char *) "self", NULL
23994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataObject",kwnames
,&obj0
)) goto fail
;
23995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
23996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24001 wxPyEndAllowThreads(__tstate
);
24002 if (PyErr_Occurred()) SWIG_fail
;
24004 Py_INCREF(Py_None
); resultobj
= Py_None
;
24011 static PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24012 PyObject
*resultobj
;
24013 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24014 int arg2
= (int) wxDataObject::Get
;
24015 SwigValueWrapper
< wxDataFormat
> result
;
24016 PyObject
* obj0
= 0 ;
24017 PyObject
* obj1
= 0 ;
24018 char *kwnames
[] = {
24019 (char *) "self",(char *) "dir", NULL
24022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
24023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24026 arg2
= (wxDataObject::Direction
) SWIG_AsInt(obj1
);
24027 if (PyErr_Occurred()) SWIG_fail
;
24030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24031 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat((wxDataObject::Direction
)arg2
);
24033 wxPyEndAllowThreads(__tstate
);
24034 if (PyErr_Occurred()) SWIG_fail
;
24037 wxDataFormat
* resultptr
;
24038 resultptr
= new wxDataFormat((wxDataFormat
&) result
);
24039 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDataFormat
, 1);
24047 static PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24048 PyObject
*resultobj
;
24049 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24050 int arg2
= (int) wxDataObject::Get
;
24052 PyObject
* obj0
= 0 ;
24053 PyObject
* obj1
= 0 ;
24054 char *kwnames
[] = {
24055 (char *) "self",(char *) "dir", NULL
24058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) goto fail
;
24059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24062 arg2
= (wxDataObject::Direction
) SWIG_AsInt(obj1
);
24063 if (PyErr_Occurred()) SWIG_fail
;
24066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24067 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount((wxDataObject::Direction
)arg2
);
24069 wxPyEndAllowThreads(__tstate
);
24070 if (PyErr_Occurred()) SWIG_fail
;
24072 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24079 static PyObject
*_wrap_DataObject_IsSupported(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24080 PyObject
*resultobj
;
24081 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24082 wxDataFormat
*arg2
= 0 ;
24083 int arg3
= (int) wxDataObject::Get
;
24085 PyObject
* obj0
= 0 ;
24086 PyObject
* obj1
= 0 ;
24087 PyObject
* obj2
= 0 ;
24088 char *kwnames
[] = {
24089 (char *) "self",(char *) "format",(char *) "dir", NULL
24092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24095 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24096 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24098 if (arg2
== NULL
) {
24099 PyErr_SetString(PyExc_TypeError
,"null reference");
24103 arg3
= (wxDataObject::Direction
) SWIG_AsInt(obj2
);
24104 if (PyErr_Occurred()) SWIG_fail
;
24107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24108 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,(wxDataObject::Direction
)arg3
);
24110 wxPyEndAllowThreads(__tstate
);
24111 if (PyErr_Occurred()) SWIG_fail
;
24113 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24120 static PyObject
*_wrap_DataObject_GetDataSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24121 PyObject
*resultobj
;
24122 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24123 wxDataFormat
*arg2
= 0 ;
24125 PyObject
* obj0
= 0 ;
24126 PyObject
* obj1
= 0 ;
24127 char *kwnames
[] = {
24128 (char *) "self",(char *) "format", NULL
24131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) goto fail
;
24132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24134 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24135 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24137 if (arg2
== NULL
) {
24138 PyErr_SetString(PyExc_TypeError
,"null reference");
24142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24143 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
24145 wxPyEndAllowThreads(__tstate
);
24146 if (PyErr_Occurred()) SWIG_fail
;
24148 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24155 static PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24156 PyObject
*resultobj
;
24157 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24158 wxDataFormat
*arg2
= (wxDataFormat
*) 0 ;
24159 int arg3
= (int) wxDataObject::Get
;
24160 PyObject
* obj0
= 0 ;
24161 PyObject
* obj1
= 0 ;
24162 PyObject
* obj2
= 0 ;
24163 char *kwnames
[] = {
24164 (char *) "self",(char *) "formats",(char *) "dir", NULL
24167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24170 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24173 arg3
= (wxDataObject::Direction
) SWIG_AsInt(obj2
);
24174 if (PyErr_Occurred()) SWIG_fail
;
24177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24178 ((wxDataObject
const *)arg1
)->GetAllFormats(arg2
,(wxDataObject::Direction
)arg3
);
24180 wxPyEndAllowThreads(__tstate
);
24181 if (PyErr_Occurred()) SWIG_fail
;
24183 Py_INCREF(Py_None
); resultobj
= Py_None
;
24190 static PyObject
*_wrap_DataObject_GetDataHere(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24191 PyObject
*resultobj
;
24192 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24193 wxDataFormat
*arg2
= 0 ;
24194 void *arg3
= (void *) 0 ;
24196 PyObject
* obj0
= 0 ;
24197 PyObject
* obj1
= 0 ;
24198 PyObject
* obj2
= 0 ;
24199 char *kwnames
[] = {
24200 (char *) "self",(char *) "format",(char *) "buf", NULL
24203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24206 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24207 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24209 if (arg2
== NULL
) {
24210 PyErr_SetString(PyExc_TypeError
,"null reference");
24213 if ((SWIG_ConvertPtr(obj2
,&arg3
,0,SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24216 result
= (bool)((wxDataObject
const *)arg1
)->GetDataHere((wxDataFormat
const &)*arg2
,arg3
);
24218 wxPyEndAllowThreads(__tstate
);
24219 if (PyErr_Occurred()) SWIG_fail
;
24221 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24228 static PyObject
*_wrap_DataObject_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24229 PyObject
*resultobj
;
24230 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24231 wxDataFormat
*arg2
= 0 ;
24233 void *arg4
= (void *) 0 ;
24235 PyObject
* obj0
= 0 ;
24236 PyObject
* obj1
= 0 ;
24237 PyObject
* obj2
= 0 ;
24238 PyObject
* obj3
= 0 ;
24239 char *kwnames
[] = {
24240 (char *) "self",(char *) "format",(char *) "len",(char *) "buf", NULL
24243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24246 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24247 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24249 if (arg2
== NULL
) {
24250 PyErr_SetString(PyExc_TypeError
,"null reference");
24253 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
24254 if (PyErr_Occurred()) SWIG_fail
;
24255 if ((SWIG_ConvertPtr(obj3
,&arg4
,0,SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24258 result
= (bool)(arg1
)->SetData((wxDataFormat
const &)*arg2
,arg3
,(void const *)arg4
);
24260 wxPyEndAllowThreads(__tstate
);
24261 if (PyErr_Occurred()) SWIG_fail
;
24263 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24270 static PyObject
* DataObject_swigregister(PyObject
*, PyObject
*args
) {
24272 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24273 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject
, obj
);
24275 return Py_BuildValue((char *)"");
24277 static PyObject
*_wrap_new_DataObjectSimple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24278 PyObject
*resultobj
;
24279 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
24280 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
24281 wxDataObjectSimple
*result
;
24282 PyObject
* obj0
= 0 ;
24283 char *kwnames
[] = {
24284 (char *) "format", NULL
24287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) goto fail
;
24289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24290 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24292 if (arg1
== NULL
) {
24293 PyErr_SetString(PyExc_TypeError
,"null reference");
24298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24299 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
24301 wxPyEndAllowThreads(__tstate
);
24302 if (PyErr_Occurred()) SWIG_fail
;
24304 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectSimple
, 1);
24311 static PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24312 PyObject
*resultobj
;
24313 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24314 wxDataFormat
*result
;
24315 PyObject
* obj0
= 0 ;
24316 char *kwnames
[] = {
24317 (char *) "self", NULL
24320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetFormat",kwnames
,&obj0
)) goto fail
;
24321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24326 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
24327 result
= (wxDataFormat
*) &_result_ref
;
24330 wxPyEndAllowThreads(__tstate
);
24331 if (PyErr_Occurred()) SWIG_fail
;
24333 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 0);
24340 static PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24341 PyObject
*resultobj
;
24342 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24343 wxDataFormat
*arg2
= 0 ;
24344 PyObject
* obj0
= 0 ;
24345 PyObject
* obj1
= 0 ;
24346 char *kwnames
[] = {
24347 (char *) "self",(char *) "format", NULL
24350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
24351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24353 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24354 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24356 if (arg2
== NULL
) {
24357 PyErr_SetString(PyExc_TypeError
,"null reference");
24361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24362 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
24364 wxPyEndAllowThreads(__tstate
);
24365 if (PyErr_Occurred()) SWIG_fail
;
24367 Py_INCREF(Py_None
); resultobj
= Py_None
;
24374 static PyObject
* DataObjectSimple_swigregister(PyObject
*, PyObject
*args
) {
24376 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24377 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple
, obj
);
24379 return Py_BuildValue((char *)"");
24381 static PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24382 PyObject
*resultobj
;
24383 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
24384 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
24385 wxPyDataObjectSimple
*result
;
24386 PyObject
* obj0
= 0 ;
24387 char *kwnames
[] = {
24388 (char *) "format", NULL
24391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) goto fail
;
24393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24394 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24396 if (arg1
== NULL
) {
24397 PyErr_SetString(PyExc_TypeError
,"null reference");
24402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24403 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
24405 wxPyEndAllowThreads(__tstate
);
24406 if (PyErr_Occurred()) SWIG_fail
;
24408 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDataObjectSimple
, 1);
24415 static PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24416 PyObject
*resultobj
;
24417 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
24418 PyObject
*arg2
= (PyObject
*) 0 ;
24419 PyObject
*arg3
= (PyObject
*) 0 ;
24420 PyObject
* obj0
= 0 ;
24421 PyObject
* obj1
= 0 ;
24422 PyObject
* obj2
= 0 ;
24423 char *kwnames
[] = {
24424 (char *) "self",(char *) "self",(char *) "_class", NULL
24427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDataObjectSimple
,
24429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24434 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24436 wxPyEndAllowThreads(__tstate
);
24437 if (PyErr_Occurred()) SWIG_fail
;
24439 Py_INCREF(Py_None
); resultobj
= Py_None
;
24446 static PyObject
* PyDataObjectSimple_swigregister(PyObject
*, PyObject
*args
) {
24448 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24449 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple
, obj
);
24451 return Py_BuildValue((char *)"");
24453 static PyObject
*_wrap_new_DataObjectComposite(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24454 PyObject
*resultobj
;
24455 wxDataObjectComposite
*result
;
24456 char *kwnames
[] = {
24460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DataObjectComposite",kwnames
)) goto fail
;
24462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24463 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
24465 wxPyEndAllowThreads(__tstate
);
24466 if (PyErr_Occurred()) SWIG_fail
;
24468 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectComposite
, 1);
24475 static PyObject
*_wrap_DataObjectComposite_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24476 PyObject
*resultobj
;
24477 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
24478 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
24479 int arg3
= (int) False
;
24480 PyObject
* obj0
= 0 ;
24481 PyObject
* obj1
= 0 ;
24482 PyObject
* obj2
= 0 ;
24483 char *kwnames
[] = {
24484 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
24487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectComposite
,
24489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24490 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObjectSimple
,
24491 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24493 arg3
= (int) SWIG_AsInt(obj2
);
24494 if (PyErr_Occurred()) SWIG_fail
;
24497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24498 (arg1
)->Add(arg2
,arg3
);
24500 wxPyEndAllowThreads(__tstate
);
24501 if (PyErr_Occurred()) SWIG_fail
;
24503 Py_INCREF(Py_None
); resultobj
= Py_None
;
24510 static PyObject
* DataObjectComposite_swigregister(PyObject
*, PyObject
*args
) {
24512 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24513 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite
, obj
);
24515 return Py_BuildValue((char *)"");
24517 static PyObject
*_wrap_new_TextDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24518 PyObject
*resultobj
;
24519 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24520 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24521 wxTextDataObject
*result
;
24522 bool temp1
= False
;
24523 PyObject
* obj0
= 0 ;
24524 char *kwnames
[] = {
24525 (char *) "text", NULL
24528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) goto fail
;
24531 arg1
= wxString_in_helper(obj0
);
24532 if (arg1
== NULL
) SWIG_fail
;
24537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24538 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
24540 wxPyEndAllowThreads(__tstate
);
24541 if (PyErr_Occurred()) SWIG_fail
;
24543 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextDataObject
, 1);
24558 static PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24559 PyObject
*resultobj
;
24560 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
24562 PyObject
* obj0
= 0 ;
24563 char *kwnames
[] = {
24564 (char *) "self", NULL
24567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetTextLength",kwnames
,&obj0
)) goto fail
;
24568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
24569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24572 result
= (size_t)(arg1
)->GetTextLength();
24574 wxPyEndAllowThreads(__tstate
);
24575 if (PyErr_Occurred()) SWIG_fail
;
24577 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24584 static PyObject
*_wrap_TextDataObject_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24585 PyObject
*resultobj
;
24586 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
24588 PyObject
* obj0
= 0 ;
24589 char *kwnames
[] = {
24590 (char *) "self", NULL
24593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetText",kwnames
,&obj0
)) goto fail
;
24594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
24595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24598 result
= (arg1
)->GetText();
24600 wxPyEndAllowThreads(__tstate
);
24601 if (PyErr_Occurred()) SWIG_fail
;
24605 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24607 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24616 static PyObject
*_wrap_TextDataObject_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24617 PyObject
*resultobj
;
24618 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
24619 wxString
*arg2
= 0 ;
24620 bool temp2
= False
;
24621 PyObject
* obj0
= 0 ;
24622 PyObject
* obj1
= 0 ;
24623 char *kwnames
[] = {
24624 (char *) "self",(char *) "text", NULL
24627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
24628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
24629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24631 arg2
= wxString_in_helper(obj1
);
24632 if (arg2
== NULL
) SWIG_fail
;
24636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24637 (arg1
)->SetText((wxString
const &)*arg2
);
24639 wxPyEndAllowThreads(__tstate
);
24640 if (PyErr_Occurred()) SWIG_fail
;
24642 Py_INCREF(Py_None
); resultobj
= Py_None
;
24657 static PyObject
* TextDataObject_swigregister(PyObject
*, PyObject
*args
) {
24659 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24660 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject
, obj
);
24662 return Py_BuildValue((char *)"");
24664 static PyObject
*_wrap_new_PyTextDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24665 PyObject
*resultobj
;
24666 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24667 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24668 wxPyTextDataObject
*result
;
24669 bool temp1
= False
;
24670 PyObject
* obj0
= 0 ;
24671 char *kwnames
[] = {
24672 (char *) "text", NULL
24675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) goto fail
;
24678 arg1
= wxString_in_helper(obj0
);
24679 if (arg1
== NULL
) SWIG_fail
;
24684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24685 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
24687 wxPyEndAllowThreads(__tstate
);
24688 if (PyErr_Occurred()) SWIG_fail
;
24690 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDataObject
, 1);
24705 static PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24706 PyObject
*resultobj
;
24707 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
24708 PyObject
*arg2
= (PyObject
*) 0 ;
24709 PyObject
*arg3
= (PyObject
*) 0 ;
24710 PyObject
* obj0
= 0 ;
24711 PyObject
* obj1
= 0 ;
24712 PyObject
* obj2
= 0 ;
24713 char *kwnames
[] = {
24714 (char *) "self",(char *) "self",(char *) "_class", NULL
24717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDataObject
,
24719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24724 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24726 wxPyEndAllowThreads(__tstate
);
24727 if (PyErr_Occurred()) SWIG_fail
;
24729 Py_INCREF(Py_None
); resultobj
= Py_None
;
24736 static PyObject
* PyTextDataObject_swigregister(PyObject
*, PyObject
*args
) {
24738 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24739 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject
, obj
);
24741 return Py_BuildValue((char *)"");
24743 static PyObject
*_wrap_new_BitmapDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24744 PyObject
*resultobj
;
24745 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
24746 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
24747 wxBitmapDataObject
*result
;
24748 PyObject
* obj0
= 0 ;
24749 char *kwnames
[] = {
24750 (char *) "bitmap", NULL
24753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) goto fail
;
24755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
24756 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24758 if (arg1
== NULL
) {
24759 PyErr_SetString(PyExc_TypeError
,"null reference");
24764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24765 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
24767 wxPyEndAllowThreads(__tstate
);
24768 if (PyErr_Occurred()) SWIG_fail
;
24770 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapDataObject
, 1);
24777 static PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24778 PyObject
*resultobj
;
24779 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
24781 PyObject
* obj0
= 0 ;
24782 char *kwnames
[] = {
24783 (char *) "self", NULL
24786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapDataObject_GetBitmap",kwnames
,&obj0
)) goto fail
;
24787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapDataObject
,
24788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24791 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
24793 wxPyEndAllowThreads(__tstate
);
24794 if (PyErr_Occurred()) SWIG_fail
;
24797 wxBitmap
* resultptr
;
24798 resultptr
= new wxBitmap((wxBitmap
&) result
);
24799 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
24807 static PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24808 PyObject
*resultobj
;
24809 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
24810 wxBitmap
*arg2
= 0 ;
24811 PyObject
* obj0
= 0 ;
24812 PyObject
* obj1
= 0 ;
24813 char *kwnames
[] = {
24814 (char *) "self",(char *) "bitmap", NULL
24817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
24818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapDataObject
,
24819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24820 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
24821 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24823 if (arg2
== NULL
) {
24824 PyErr_SetString(PyExc_TypeError
,"null reference");
24828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24829 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
24831 wxPyEndAllowThreads(__tstate
);
24832 if (PyErr_Occurred()) SWIG_fail
;
24834 Py_INCREF(Py_None
); resultobj
= Py_None
;
24841 static PyObject
* BitmapDataObject_swigregister(PyObject
*, PyObject
*args
) {
24843 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24844 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject
, obj
);
24846 return Py_BuildValue((char *)"");
24848 static PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24849 PyObject
*resultobj
;
24850 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
24851 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
24852 wxPyBitmapDataObject
*result
;
24853 PyObject
* obj0
= 0 ;
24854 char *kwnames
[] = {
24855 (char *) "bitmap", NULL
24858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) goto fail
;
24860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
24861 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24863 if (arg1
== NULL
) {
24864 PyErr_SetString(PyExc_TypeError
,"null reference");
24869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24870 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
24872 wxPyEndAllowThreads(__tstate
);
24873 if (PyErr_Occurred()) SWIG_fail
;
24875 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyBitmapDataObject
, 1);
24882 static PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24883 PyObject
*resultobj
;
24884 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
24885 PyObject
*arg2
= (PyObject
*) 0 ;
24886 PyObject
*arg3
= (PyObject
*) 0 ;
24887 PyObject
* obj0
= 0 ;
24888 PyObject
* obj1
= 0 ;
24889 PyObject
* obj2
= 0 ;
24890 char *kwnames
[] = {
24891 (char *) "self",(char *) "self",(char *) "_class", NULL
24894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapDataObject
,
24896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24901 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24903 wxPyEndAllowThreads(__tstate
);
24904 if (PyErr_Occurred()) SWIG_fail
;
24906 Py_INCREF(Py_None
); resultobj
= Py_None
;
24913 static PyObject
* PyBitmapDataObject_swigregister(PyObject
*, PyObject
*args
) {
24915 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24916 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject
, obj
);
24918 return Py_BuildValue((char *)"");
24920 static PyObject
*_wrap_new_FileDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24921 PyObject
*resultobj
;
24922 wxFileDataObject
*result
;
24923 char *kwnames
[] = {
24927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDataObject",kwnames
)) goto fail
;
24929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24930 result
= (wxFileDataObject
*)new wxFileDataObject();
24932 wxPyEndAllowThreads(__tstate
);
24933 if (PyErr_Occurred()) SWIG_fail
;
24935 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDataObject
, 1);
24942 static PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24943 PyObject
*resultobj
;
24944 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
24945 wxArrayString
*result
;
24946 PyObject
* obj0
= 0 ;
24947 char *kwnames
[] = {
24948 (char *) "self", NULL
24951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDataObject_GetFilenames",kwnames
,&obj0
)) goto fail
;
24952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDataObject
,
24953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24957 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
24958 result
= (wxArrayString
*) &_result_ref
;
24961 wxPyEndAllowThreads(__tstate
);
24962 if (PyErr_Occurred()) SWIG_fail
;
24965 resultobj
= wxArrayString2PyList_helper(*result
);
24973 static PyObject
*_wrap_FileDataObject_AddFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24974 PyObject
*resultobj
;
24975 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
24976 wxString
*arg2
= 0 ;
24977 bool temp2
= False
;
24978 PyObject
* obj0
= 0 ;
24979 PyObject
* obj1
= 0 ;
24980 char *kwnames
[] = {
24981 (char *) "self",(char *) "filename", NULL
24984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDataObject_AddFile",kwnames
,&obj0
,&obj1
)) goto fail
;
24985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDataObject
,
24986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24988 arg2
= wxString_in_helper(obj1
);
24989 if (arg2
== NULL
) SWIG_fail
;
24993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24994 (arg1
)->AddFile((wxString
const &)*arg2
);
24996 wxPyEndAllowThreads(__tstate
);
24997 if (PyErr_Occurred()) SWIG_fail
;
24999 Py_INCREF(Py_None
); resultobj
= Py_None
;
25014 static PyObject
* FileDataObject_swigregister(PyObject
*, PyObject
*args
) {
25016 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25017 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject
, obj
);
25019 return Py_BuildValue((char *)"");
25021 static PyObject
*_wrap_new_CustomDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25022 PyObject
*resultobj
;
25023 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
25024 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
25025 wxCustomDataObject
*result
;
25026 PyObject
* obj0
= 0 ;
25027 char *kwnames
[] = {
25028 (char *) "format", NULL
25031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CustomDataObject",kwnames
,&obj0
)) goto fail
;
25033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
25034 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25036 if (arg1
== NULL
) {
25037 PyErr_SetString(PyExc_TypeError
,"null reference");
25042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25043 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
25045 wxPyEndAllowThreads(__tstate
);
25046 if (PyErr_Occurred()) SWIG_fail
;
25048 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
25055 static PyObject
*_wrap_CustomDataObject_TakeData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25056 PyObject
*resultobj
;
25057 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25058 PyObject
*arg2
= (PyObject
*) 0 ;
25059 PyObject
* obj0
= 0 ;
25060 PyObject
* obj1
= 0 ;
25061 char *kwnames
[] = {
25062 (char *) "self",(char *) "data", NULL
25065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_TakeData",kwnames
,&obj0
,&obj1
)) goto fail
;
25066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25071 wxCustomDataObject_TakeData(arg1
,arg2
);
25073 wxPyEndAllowThreads(__tstate
);
25074 if (PyErr_Occurred()) SWIG_fail
;
25076 Py_INCREF(Py_None
); resultobj
= Py_None
;
25083 static PyObject
*_wrap_CustomDataObject_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25084 PyObject
*resultobj
;
25085 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25086 PyObject
*arg2
= (PyObject
*) 0 ;
25088 PyObject
* obj0
= 0 ;
25089 PyObject
* obj1
= 0 ;
25090 char *kwnames
[] = {
25091 (char *) "self",(char *) "data", NULL
25094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
25095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25100 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
25102 wxPyEndAllowThreads(__tstate
);
25103 if (PyErr_Occurred()) SWIG_fail
;
25105 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25112 static PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25113 PyObject
*resultobj
;
25114 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25116 PyObject
* obj0
= 0 ;
25117 char *kwnames
[] = {
25118 (char *) "self", NULL
25121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetSize",kwnames
,&obj0
)) goto fail
;
25122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25126 result
= (size_t)(arg1
)->GetSize();
25128 wxPyEndAllowThreads(__tstate
);
25129 if (PyErr_Occurred()) SWIG_fail
;
25131 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
25138 static PyObject
*_wrap_CustomDataObject_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25139 PyObject
*resultobj
;
25140 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25142 PyObject
* obj0
= 0 ;
25143 char *kwnames
[] = {
25144 (char *) "self", NULL
25147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetData",kwnames
,&obj0
)) goto fail
;
25148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25152 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
25154 wxPyEndAllowThreads(__tstate
);
25155 if (PyErr_Occurred()) SWIG_fail
;
25157 resultobj
= result
;
25164 static PyObject
* CustomDataObject_swigregister(PyObject
*, PyObject
*args
) {
25166 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25167 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject
, obj
);
25169 return Py_BuildValue((char *)"");
25171 static PyObject
*_wrap_new_URLDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25172 PyObject
*resultobj
;
25173 wxURLDataObject
*result
;
25174 char *kwnames
[] = {
25178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_URLDataObject",kwnames
)) goto fail
;
25180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25181 result
= (wxURLDataObject
*)new wxURLDataObject();
25183 wxPyEndAllowThreads(__tstate
);
25184 if (PyErr_Occurred()) SWIG_fail
;
25186 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxURLDataObject
, 1);
25193 static PyObject
*_wrap_URLDataObject_GetURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25194 PyObject
*resultobj
;
25195 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
25197 PyObject
* obj0
= 0 ;
25198 char *kwnames
[] = {
25199 (char *) "self", NULL
25202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:URLDataObject_GetURL",kwnames
,&obj0
)) goto fail
;
25203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxURLDataObject
,
25204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25207 result
= (arg1
)->GetURL();
25209 wxPyEndAllowThreads(__tstate
);
25210 if (PyErr_Occurred()) SWIG_fail
;
25214 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25216 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25225 static PyObject
*_wrap_URLDataObject_SetURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25226 PyObject
*resultobj
;
25227 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
25228 wxString
*arg2
= 0 ;
25229 bool temp2
= False
;
25230 PyObject
* obj0
= 0 ;
25231 PyObject
* obj1
= 0 ;
25232 char *kwnames
[] = {
25233 (char *) "self",(char *) "url", NULL
25236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) goto fail
;
25237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxURLDataObject
,
25238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25240 arg2
= wxString_in_helper(obj1
);
25241 if (arg2
== NULL
) SWIG_fail
;
25245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25246 (arg1
)->SetURL((wxString
const &)*arg2
);
25248 wxPyEndAllowThreads(__tstate
);
25249 if (PyErr_Occurred()) SWIG_fail
;
25251 Py_INCREF(Py_None
); resultobj
= Py_None
;
25266 static PyObject
* URLDataObject_swigregister(PyObject
*, PyObject
*args
) {
25268 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25269 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject
, obj
);
25271 return Py_BuildValue((char *)"");
25273 static PyObject
*_wrap_new_MetafileDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25274 PyObject
*resultobj
;
25275 wxMetafileDataObject
*result
;
25276 char *kwnames
[] = {
25280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MetafileDataObject",kwnames
)) goto fail
;
25282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25283 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
25285 wxPyEndAllowThreads(__tstate
);
25286 if (PyErr_Occurred()) SWIG_fail
;
25288 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetafileDataObject
, 1);
25295 static PyObject
*_wrap_MetafileDataObject_SetMetafile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25296 PyObject
*resultobj
;
25297 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
25298 wxMetafile
*arg2
= 0 ;
25299 PyObject
* obj0
= 0 ;
25300 PyObject
* obj1
= 0 ;
25301 char *kwnames
[] = {
25302 (char *) "self",(char *) "metafile", NULL
25305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MetafileDataObject_SetMetafile",kwnames
,&obj0
,&obj1
)) goto fail
;
25306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetafileDataObject
,
25307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25308 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMetafile
,
25309 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25311 if (arg2
== NULL
) {
25312 PyErr_SetString(PyExc_TypeError
,"null reference");
25316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25317 (arg1
)->SetMetafile((wxMetafile
const &)*arg2
);
25319 wxPyEndAllowThreads(__tstate
);
25320 if (PyErr_Occurred()) SWIG_fail
;
25322 Py_INCREF(Py_None
); resultobj
= Py_None
;
25329 static PyObject
*_wrap_MetafileDataObject_GetMetafile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25330 PyObject
*resultobj
;
25331 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
25333 PyObject
* obj0
= 0 ;
25334 char *kwnames
[] = {
25335 (char *) "self", NULL
25338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetafileDataObject_GetMetafile",kwnames
,&obj0
)) goto fail
;
25339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetafileDataObject
,
25340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25343 result
= ((wxMetafileDataObject
const *)arg1
)->GetMetafile();
25345 wxPyEndAllowThreads(__tstate
);
25346 if (PyErr_Occurred()) SWIG_fail
;
25349 wxMetafile
* resultptr
;
25350 resultptr
= new wxMetafile((wxMetafile
&) result
);
25351 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxMetafile
, 1);
25359 static PyObject
* MetafileDataObject_swigregister(PyObject
*, PyObject
*args
) {
25361 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25362 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject
, obj
);
25364 return Py_BuildValue((char *)"");
25366 static PyObject
*_wrap_IsDragResultOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25367 PyObject
*resultobj
;
25370 PyObject
* obj0
= 0 ;
25371 char *kwnames
[] = {
25372 (char *) "res", NULL
25375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) goto fail
;
25376 arg1
= (wxDragResult
) SWIG_AsInt(obj0
);
25377 if (PyErr_Occurred()) SWIG_fail
;
25379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25380 result
= (bool)wxIsDragResultOk((wxDragResult
)arg1
);
25382 wxPyEndAllowThreads(__tstate
);
25383 if (PyErr_Occurred()) SWIG_fail
;
25385 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25392 static PyObject
*_wrap_new_DropSource(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25393 PyObject
*resultobj
;
25394 wxWindow
*arg1
= (wxWindow
*) 0 ;
25395 wxCursor
const &arg2_defvalue
= wxNullCursor
;
25396 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
25397 wxCursor
const &arg3_defvalue
= wxNullCursor
;
25398 wxCursor
*arg3
= (wxCursor
*) &arg3_defvalue
;
25399 wxCursor
const &arg4_defvalue
= wxNullCursor
;
25400 wxCursor
*arg4
= (wxCursor
*) &arg4_defvalue
;
25401 wxPyDropSource
*result
;
25402 PyObject
* obj0
= 0 ;
25403 PyObject
* obj1
= 0 ;
25404 PyObject
* obj2
= 0 ;
25405 PyObject
* obj3
= 0 ;
25406 char *kwnames
[] = {
25407 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
25410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25414 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
25415 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25417 if (arg2
== NULL
) {
25418 PyErr_SetString(PyExc_TypeError
,"null reference");
25423 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxCursor
,
25424 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25426 if (arg3
== NULL
) {
25427 PyErr_SetString(PyExc_TypeError
,"null reference");
25432 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxCursor
,
25433 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25435 if (arg4
== NULL
) {
25436 PyErr_SetString(PyExc_TypeError
,"null reference");
25441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25442 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxCursor
const &)*arg2
,(wxCursor
const &)*arg3
,(wxCursor
const &)*arg4
);
25444 wxPyEndAllowThreads(__tstate
);
25445 if (PyErr_Occurred()) SWIG_fail
;
25447 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropSource
, 1);
25454 static PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25455 PyObject
*resultobj
;
25456 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25457 PyObject
*arg2
= (PyObject
*) 0 ;
25458 PyObject
*arg3
= (PyObject
*) 0 ;
25460 PyObject
* obj0
= 0 ;
25461 PyObject
* obj1
= 0 ;
25462 PyObject
* obj2
= 0 ;
25463 PyObject
* obj3
= 0 ;
25464 char *kwnames
[] = {
25465 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
25468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25473 arg4
= (int) SWIG_AsInt(obj3
);
25474 if (PyErr_Occurred()) SWIG_fail
;
25476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25477 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
25479 wxPyEndAllowThreads(__tstate
);
25480 if (PyErr_Occurred()) SWIG_fail
;
25482 Py_INCREF(Py_None
); resultobj
= Py_None
;
25489 static PyObject
*_wrap_delete_DropSource(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25490 PyObject
*resultobj
;
25491 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25492 PyObject
* obj0
= 0 ;
25493 char *kwnames
[] = {
25494 (char *) "self", NULL
25497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropSource",kwnames
,&obj0
)) goto fail
;
25498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25504 wxPyEndAllowThreads(__tstate
);
25505 if (PyErr_Occurred()) SWIG_fail
;
25507 Py_INCREF(Py_None
); resultobj
= Py_None
;
25514 static PyObject
*_wrap_DropSource_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25515 PyObject
*resultobj
;
25516 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25517 wxDataObject
*arg2
= 0 ;
25518 PyObject
* obj0
= 0 ;
25519 PyObject
* obj1
= 0 ;
25520 char *kwnames
[] = {
25521 (char *) "self",(char *) "data", NULL
25524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
25525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25527 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
25528 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25530 if (arg2
== NULL
) {
25531 PyErr_SetString(PyExc_TypeError
,"null reference");
25535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25536 (arg1
)->SetData(*arg2
);
25538 wxPyEndAllowThreads(__tstate
);
25539 if (PyErr_Occurred()) SWIG_fail
;
25541 Py_INCREF(Py_None
); resultobj
= Py_None
;
25548 static PyObject
*_wrap_DropSource_GetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25549 PyObject
*resultobj
;
25550 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25551 wxDataObject
*result
;
25552 PyObject
* obj0
= 0 ;
25553 char *kwnames
[] = {
25554 (char *) "self", NULL
25557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropSource_GetDataObject",kwnames
,&obj0
)) goto fail
;
25558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25562 result
= (wxDataObject
*)(arg1
)->GetDataObject();
25564 wxPyEndAllowThreads(__tstate
);
25565 if (PyErr_Occurred()) SWIG_fail
;
25567 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
25574 static PyObject
*_wrap_DropSource_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25575 PyObject
*resultobj
;
25576 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25578 wxCursor
*arg3
= 0 ;
25579 PyObject
* obj0
= 0 ;
25580 PyObject
* obj1
= 0 ;
25581 PyObject
* obj2
= 0 ;
25582 char *kwnames
[] = {
25583 (char *) "self",(char *) "res",(char *) "cursor", NULL
25586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25589 arg2
= (wxDragResult
) SWIG_AsInt(obj1
);
25590 if (PyErr_Occurred()) SWIG_fail
;
25591 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxCursor
,
25592 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25594 if (arg3
== NULL
) {
25595 PyErr_SetString(PyExc_TypeError
,"null reference");
25599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25600 (arg1
)->SetCursor((wxDragResult
)arg2
,(wxCursor
const &)*arg3
);
25602 wxPyEndAllowThreads(__tstate
);
25603 if (PyErr_Occurred()) SWIG_fail
;
25605 Py_INCREF(Py_None
); resultobj
= Py_None
;
25612 static PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25613 PyObject
*resultobj
;
25614 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25615 int arg2
= (int) wxDrag_CopyOnly
;
25617 PyObject
* obj0
= 0 ;
25618 PyObject
* obj1
= 0 ;
25619 char *kwnames
[] = {
25620 (char *) "self",(char *) "flags", NULL
25623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) goto fail
;
25624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25627 arg2
= (int) SWIG_AsInt(obj1
);
25628 if (PyErr_Occurred()) SWIG_fail
;
25631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25632 result
= (int)(arg1
)->DoDragDrop(arg2
);
25634 wxPyEndAllowThreads(__tstate
);
25635 if (PyErr_Occurred()) SWIG_fail
;
25637 resultobj
= SWIG_FromInt((int)result
);
25644 static PyObject
*_wrap_DropSource_base_GiveFeedback(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25645 PyObject
*resultobj
;
25646 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25649 PyObject
* obj0
= 0 ;
25650 PyObject
* obj1
= 0 ;
25651 char *kwnames
[] = {
25652 (char *) "self",(char *) "effect", NULL
25655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_base_GiveFeedback",kwnames
,&obj0
,&obj1
)) goto fail
;
25656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25658 arg2
= (wxDragResult
) SWIG_AsInt(obj1
);
25659 if (PyErr_Occurred()) SWIG_fail
;
25661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25662 result
= (bool)(arg1
)->base_GiveFeedback((wxDragResult
)arg2
);
25664 wxPyEndAllowThreads(__tstate
);
25665 if (PyErr_Occurred()) SWIG_fail
;
25667 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25674 static PyObject
* DropSource_swigregister(PyObject
*, PyObject
*args
) {
25676 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25677 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource
, obj
);
25679 return Py_BuildValue((char *)"");
25681 static PyObject
*_wrap_new_DropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25682 PyObject
*resultobj
;
25683 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
25684 wxPyDropTarget
*result
;
25685 PyObject
* obj0
= 0 ;
25686 char *kwnames
[] = {
25687 (char *) "dataObject", NULL
25690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DropTarget",kwnames
,&obj0
)) goto fail
;
25692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
25693 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25697 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
25699 wxPyEndAllowThreads(__tstate
);
25700 if (PyErr_Occurred()) SWIG_fail
;
25702 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 1);
25709 static PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25710 PyObject
*resultobj
;
25711 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25712 PyObject
*arg2
= (PyObject
*) 0 ;
25713 PyObject
*arg3
= (PyObject
*) 0 ;
25714 PyObject
* obj0
= 0 ;
25715 PyObject
* obj1
= 0 ;
25716 PyObject
* obj2
= 0 ;
25717 char *kwnames
[] = {
25718 (char *) "self",(char *) "self",(char *) "_class", NULL
25721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
25723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25728 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25730 wxPyEndAllowThreads(__tstate
);
25731 if (PyErr_Occurred()) SWIG_fail
;
25733 Py_INCREF(Py_None
); resultobj
= Py_None
;
25740 static PyObject
*_wrap_delete_DropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25741 PyObject
*resultobj
;
25742 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25743 PyObject
* obj0
= 0 ;
25744 char *kwnames
[] = {
25745 (char *) "self", NULL
25748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropTarget",kwnames
,&obj0
)) goto fail
;
25749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
25750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25755 wxPyEndAllowThreads(__tstate
);
25756 if (PyErr_Occurred()) SWIG_fail
;
25758 Py_INCREF(Py_None
); resultobj
= Py_None
;
25765 static PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25766 PyObject
*resultobj
;
25767 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25768 wxDataObject
*result
;
25769 PyObject
* obj0
= 0 ;
25770 char *kwnames
[] = {
25771 (char *) "self", NULL
25774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDataObject",kwnames
,&obj0
)) goto fail
;
25775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
25776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25779 result
= (wxDataObject
*)(arg1
)->GetDataObject();
25781 wxPyEndAllowThreads(__tstate
);
25782 if (PyErr_Occurred()) SWIG_fail
;
25784 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
25791 static PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25792 PyObject
*resultobj
;
25793 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25794 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
25795 PyObject
* obj0
= 0 ;
25796 PyObject
* obj1
= 0 ;
25797 char *kwnames
[] = {
25798 (char *) "self",(char *) "dataObject", NULL
25801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) goto fail
;
25802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
25803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25804 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
25805 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25808 (arg1
)->SetDataObject(arg2
);
25810 wxPyEndAllowThreads(__tstate
);
25811 if (PyErr_Occurred()) SWIG_fail
;
25813 Py_INCREF(Py_None
); resultobj
= Py_None
;
25820 static PyObject
*_wrap_DropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25821 PyObject
*resultobj
;
25822 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25827 PyObject
* obj0
= 0 ;
25828 PyObject
* obj1
= 0 ;
25829 PyObject
* obj2
= 0 ;
25830 PyObject
* obj3
= 0 ;
25831 char *kwnames
[] = {
25832 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
25835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
25837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25838 arg2
= (int) SWIG_AsInt(obj1
);
25839 if (PyErr_Occurred()) SWIG_fail
;
25840 arg3
= (int) SWIG_AsInt(obj2
);
25841 if (PyErr_Occurred()) SWIG_fail
;
25842 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
25843 if (PyErr_Occurred()) SWIG_fail
;
25845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25846 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
25848 wxPyEndAllowThreads(__tstate
);
25849 if (PyErr_Occurred()) SWIG_fail
;
25851 resultobj
= SWIG_FromInt((int)result
);
25858 static PyObject
*_wrap_DropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25859 PyObject
*resultobj
;
25860 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25865 PyObject
* obj0
= 0 ;
25866 PyObject
* obj1
= 0 ;
25867 PyObject
* obj2
= 0 ;
25868 PyObject
* obj3
= 0 ;
25869 char *kwnames
[] = {
25870 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
25873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
25875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25876 arg2
= (int) SWIG_AsInt(obj1
);
25877 if (PyErr_Occurred()) SWIG_fail
;
25878 arg3
= (int) SWIG_AsInt(obj2
);
25879 if (PyErr_Occurred()) SWIG_fail
;
25880 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
25881 if (PyErr_Occurred()) SWIG_fail
;
25883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25884 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
25886 wxPyEndAllowThreads(__tstate
);
25887 if (PyErr_Occurred()) SWIG_fail
;
25889 resultobj
= SWIG_FromInt((int)result
);
25896 static PyObject
*_wrap_DropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25897 PyObject
*resultobj
;
25898 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25899 PyObject
* obj0
= 0 ;
25900 char *kwnames
[] = {
25901 (char *) "self", NULL
25904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
25905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
25906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25909 (arg1
)->base_OnLeave();
25911 wxPyEndAllowThreads(__tstate
);
25912 if (PyErr_Occurred()) SWIG_fail
;
25914 Py_INCREF(Py_None
); resultobj
= Py_None
;
25921 static PyObject
*_wrap_DropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25922 PyObject
*resultobj
;
25923 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25927 PyObject
* obj0
= 0 ;
25928 PyObject
* obj1
= 0 ;
25929 PyObject
* obj2
= 0 ;
25930 char *kwnames
[] = {
25931 (char *) "self",(char *) "x",(char *) "y", NULL
25934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
25936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25937 arg2
= (int) SWIG_AsInt(obj1
);
25938 if (PyErr_Occurred()) SWIG_fail
;
25939 arg3
= (int) SWIG_AsInt(obj2
);
25940 if (PyErr_Occurred()) SWIG_fail
;
25942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25943 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
25945 wxPyEndAllowThreads(__tstate
);
25946 if (PyErr_Occurred()) SWIG_fail
;
25948 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25955 static PyObject
*_wrap_DropTarget_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25956 PyObject
*resultobj
;
25957 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25959 PyObject
* obj0
= 0 ;
25960 char *kwnames
[] = {
25961 (char *) "self", NULL
25964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetData",kwnames
,&obj0
)) goto fail
;
25965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
25966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25969 result
= (bool)(arg1
)->GetData();
25971 wxPyEndAllowThreads(__tstate
);
25972 if (PyErr_Occurred()) SWIG_fail
;
25974 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25981 static PyObject
* DropTarget_swigregister(PyObject
*, PyObject
*args
) {
25983 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25984 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget
, obj
);
25986 return Py_BuildValue((char *)"");
25988 static PyObject
*_wrap_new_TextDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25989 PyObject
*resultobj
;
25990 wxPyTextDropTarget
*result
;
25991 char *kwnames
[] = {
25995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TextDropTarget",kwnames
)) goto fail
;
25997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25998 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
26000 wxPyEndAllowThreads(__tstate
);
26001 if (PyErr_Occurred()) SWIG_fail
;
26003 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDropTarget
, 1);
26010 static PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26011 PyObject
*resultobj
;
26012 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26013 PyObject
*arg2
= (PyObject
*) 0 ;
26014 PyObject
*arg3
= (PyObject
*) 0 ;
26015 PyObject
* obj0
= 0 ;
26016 PyObject
* obj1
= 0 ;
26017 PyObject
* obj2
= 0 ;
26018 char *kwnames
[] = {
26019 (char *) "self",(char *) "self",(char *) "_class", NULL
26022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26029 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26031 wxPyEndAllowThreads(__tstate
);
26032 if (PyErr_Occurred()) SWIG_fail
;
26034 Py_INCREF(Py_None
); resultobj
= Py_None
;
26041 static PyObject
*_wrap_TextDropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26042 PyObject
*resultobj
;
26043 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26048 PyObject
* obj0
= 0 ;
26049 PyObject
* obj1
= 0 ;
26050 PyObject
* obj2
= 0 ;
26051 PyObject
* obj3
= 0 ;
26052 char *kwnames
[] = {
26053 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26059 arg2
= (int) SWIG_AsInt(obj1
);
26060 if (PyErr_Occurred()) SWIG_fail
;
26061 arg3
= (int) SWIG_AsInt(obj2
);
26062 if (PyErr_Occurred()) SWIG_fail
;
26063 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26064 if (PyErr_Occurred()) SWIG_fail
;
26066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26067 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26069 wxPyEndAllowThreads(__tstate
);
26070 if (PyErr_Occurred()) SWIG_fail
;
26072 resultobj
= SWIG_FromInt((int)result
);
26079 static PyObject
*_wrap_TextDropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26080 PyObject
*resultobj
;
26081 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26086 PyObject
* obj0
= 0 ;
26087 PyObject
* obj1
= 0 ;
26088 PyObject
* obj2
= 0 ;
26089 PyObject
* obj3
= 0 ;
26090 char *kwnames
[] = {
26091 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26097 arg2
= (int) SWIG_AsInt(obj1
);
26098 if (PyErr_Occurred()) SWIG_fail
;
26099 arg3
= (int) SWIG_AsInt(obj2
);
26100 if (PyErr_Occurred()) SWIG_fail
;
26101 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26102 if (PyErr_Occurred()) SWIG_fail
;
26104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26105 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26107 wxPyEndAllowThreads(__tstate
);
26108 if (PyErr_Occurred()) SWIG_fail
;
26110 resultobj
= SWIG_FromInt((int)result
);
26117 static PyObject
*_wrap_TextDropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26118 PyObject
*resultobj
;
26119 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26120 PyObject
* obj0
= 0 ;
26121 char *kwnames
[] = {
26122 (char *) "self", NULL
26125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26130 (arg1
)->base_OnLeave();
26132 wxPyEndAllowThreads(__tstate
);
26133 if (PyErr_Occurred()) SWIG_fail
;
26135 Py_INCREF(Py_None
); resultobj
= Py_None
;
26142 static PyObject
*_wrap_TextDropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26143 PyObject
*resultobj
;
26144 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26148 PyObject
* obj0
= 0 ;
26149 PyObject
* obj1
= 0 ;
26150 PyObject
* obj2
= 0 ;
26151 char *kwnames
[] = {
26152 (char *) "self",(char *) "x",(char *) "y", NULL
26155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26158 arg2
= (int) SWIG_AsInt(obj1
);
26159 if (PyErr_Occurred()) SWIG_fail
;
26160 arg3
= (int) SWIG_AsInt(obj2
);
26161 if (PyErr_Occurred()) SWIG_fail
;
26163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26164 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26166 wxPyEndAllowThreads(__tstate
);
26167 if (PyErr_Occurred()) SWIG_fail
;
26169 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26176 static PyObject
*_wrap_TextDropTarget_base_OnData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26177 PyObject
*resultobj
;
26178 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26183 PyObject
* obj0
= 0 ;
26184 PyObject
* obj1
= 0 ;
26185 PyObject
* obj2
= 0 ;
26186 PyObject
* obj3
= 0 ;
26187 char *kwnames
[] = {
26188 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26194 arg2
= (int) SWIG_AsInt(obj1
);
26195 if (PyErr_Occurred()) SWIG_fail
;
26196 arg3
= (int) SWIG_AsInt(obj2
);
26197 if (PyErr_Occurred()) SWIG_fail
;
26198 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26199 if (PyErr_Occurred()) SWIG_fail
;
26201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26202 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
26204 wxPyEndAllowThreads(__tstate
);
26205 if (PyErr_Occurred()) SWIG_fail
;
26207 resultobj
= SWIG_FromInt((int)result
);
26214 static PyObject
* TextDropTarget_swigregister(PyObject
*, PyObject
*args
) {
26216 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26217 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget
, obj
);
26219 return Py_BuildValue((char *)"");
26221 static PyObject
*_wrap_new_FileDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26222 PyObject
*resultobj
;
26223 wxPyFileDropTarget
*result
;
26224 char *kwnames
[] = {
26228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDropTarget",kwnames
)) goto fail
;
26230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26231 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
26233 wxPyEndAllowThreads(__tstate
);
26234 if (PyErr_Occurred()) SWIG_fail
;
26236 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileDropTarget
, 1);
26243 static PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26244 PyObject
*resultobj
;
26245 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26246 PyObject
*arg2
= (PyObject
*) 0 ;
26247 PyObject
*arg3
= (PyObject
*) 0 ;
26248 PyObject
* obj0
= 0 ;
26249 PyObject
* obj1
= 0 ;
26250 PyObject
* obj2
= 0 ;
26251 char *kwnames
[] = {
26252 (char *) "self",(char *) "self",(char *) "_class", NULL
26255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26262 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26264 wxPyEndAllowThreads(__tstate
);
26265 if (PyErr_Occurred()) SWIG_fail
;
26267 Py_INCREF(Py_None
); resultobj
= Py_None
;
26274 static PyObject
*_wrap_FileDropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26275 PyObject
*resultobj
;
26276 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26281 PyObject
* obj0
= 0 ;
26282 PyObject
* obj1
= 0 ;
26283 PyObject
* obj2
= 0 ;
26284 PyObject
* obj3
= 0 ;
26285 char *kwnames
[] = {
26286 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26292 arg2
= (int) SWIG_AsInt(obj1
);
26293 if (PyErr_Occurred()) SWIG_fail
;
26294 arg3
= (int) SWIG_AsInt(obj2
);
26295 if (PyErr_Occurred()) SWIG_fail
;
26296 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26297 if (PyErr_Occurred()) SWIG_fail
;
26299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26300 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26302 wxPyEndAllowThreads(__tstate
);
26303 if (PyErr_Occurred()) SWIG_fail
;
26305 resultobj
= SWIG_FromInt((int)result
);
26312 static PyObject
*_wrap_FileDropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26313 PyObject
*resultobj
;
26314 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26319 PyObject
* obj0
= 0 ;
26320 PyObject
* obj1
= 0 ;
26321 PyObject
* obj2
= 0 ;
26322 PyObject
* obj3
= 0 ;
26323 char *kwnames
[] = {
26324 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26330 arg2
= (int) SWIG_AsInt(obj1
);
26331 if (PyErr_Occurred()) SWIG_fail
;
26332 arg3
= (int) SWIG_AsInt(obj2
);
26333 if (PyErr_Occurred()) SWIG_fail
;
26334 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26335 if (PyErr_Occurred()) SWIG_fail
;
26337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26338 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26340 wxPyEndAllowThreads(__tstate
);
26341 if (PyErr_Occurred()) SWIG_fail
;
26343 resultobj
= SWIG_FromInt((int)result
);
26350 static PyObject
*_wrap_FileDropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26351 PyObject
*resultobj
;
26352 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26353 PyObject
* obj0
= 0 ;
26354 char *kwnames
[] = {
26355 (char *) "self", NULL
26358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26363 (arg1
)->base_OnLeave();
26365 wxPyEndAllowThreads(__tstate
);
26366 if (PyErr_Occurred()) SWIG_fail
;
26368 Py_INCREF(Py_None
); resultobj
= Py_None
;
26375 static PyObject
*_wrap_FileDropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26376 PyObject
*resultobj
;
26377 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26381 PyObject
* obj0
= 0 ;
26382 PyObject
* obj1
= 0 ;
26383 PyObject
* obj2
= 0 ;
26384 char *kwnames
[] = {
26385 (char *) "self",(char *) "x",(char *) "y", NULL
26388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26391 arg2
= (int) SWIG_AsInt(obj1
);
26392 if (PyErr_Occurred()) SWIG_fail
;
26393 arg3
= (int) SWIG_AsInt(obj2
);
26394 if (PyErr_Occurred()) SWIG_fail
;
26396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26397 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26399 wxPyEndAllowThreads(__tstate
);
26400 if (PyErr_Occurred()) SWIG_fail
;
26402 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26409 static PyObject
*_wrap_FileDropTarget_base_OnData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26410 PyObject
*resultobj
;
26411 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26416 PyObject
* obj0
= 0 ;
26417 PyObject
* obj1
= 0 ;
26418 PyObject
* obj2
= 0 ;
26419 PyObject
* obj3
= 0 ;
26420 char *kwnames
[] = {
26421 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26427 arg2
= (int) SWIG_AsInt(obj1
);
26428 if (PyErr_Occurred()) SWIG_fail
;
26429 arg3
= (int) SWIG_AsInt(obj2
);
26430 if (PyErr_Occurred()) SWIG_fail
;
26431 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26432 if (PyErr_Occurred()) SWIG_fail
;
26434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26435 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
26437 wxPyEndAllowThreads(__tstate
);
26438 if (PyErr_Occurred()) SWIG_fail
;
26440 resultobj
= SWIG_FromInt((int)result
);
26447 static PyObject
* FileDropTarget_swigregister(PyObject
*, PyObject
*args
) {
26449 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26450 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget
, obj
);
26452 return Py_BuildValue((char *)"");
26454 static PyObject
*_wrap_new_Clipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26455 PyObject
*resultobj
;
26456 wxClipboard
*result
;
26457 char *kwnames
[] = {
26461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Clipboard",kwnames
)) goto fail
;
26463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26464 result
= (wxClipboard
*)new wxClipboard();
26466 wxPyEndAllowThreads(__tstate
);
26467 if (PyErr_Occurred()) SWIG_fail
;
26469 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 1);
26476 static PyObject
*_wrap_delete_Clipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26477 PyObject
*resultobj
;
26478 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26479 PyObject
* obj0
= 0 ;
26480 char *kwnames
[] = {
26481 (char *) "self", NULL
26484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Clipboard",kwnames
,&obj0
)) goto fail
;
26485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26491 wxPyEndAllowThreads(__tstate
);
26492 if (PyErr_Occurred()) SWIG_fail
;
26494 Py_INCREF(Py_None
); resultobj
= Py_None
;
26501 static PyObject
*_wrap_Clipboard_Open(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26502 PyObject
*resultobj
;
26503 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26505 PyObject
* obj0
= 0 ;
26506 char *kwnames
[] = {
26507 (char *) "self", NULL
26510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Open",kwnames
,&obj0
)) goto fail
;
26511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26515 result
= (bool)(arg1
)->Open();
26517 wxPyEndAllowThreads(__tstate
);
26518 if (PyErr_Occurred()) SWIG_fail
;
26520 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26527 static PyObject
*_wrap_Clipboard_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26528 PyObject
*resultobj
;
26529 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26530 PyObject
* obj0
= 0 ;
26531 char *kwnames
[] = {
26532 (char *) "self", NULL
26535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Close",kwnames
,&obj0
)) goto fail
;
26536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26542 wxPyEndAllowThreads(__tstate
);
26543 if (PyErr_Occurred()) SWIG_fail
;
26545 Py_INCREF(Py_None
); resultobj
= Py_None
;
26552 static PyObject
*_wrap_Clipboard_IsOpened(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26553 PyObject
*resultobj
;
26554 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26556 PyObject
* obj0
= 0 ;
26557 char *kwnames
[] = {
26558 (char *) "self", NULL
26561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_IsOpened",kwnames
,&obj0
)) goto fail
;
26562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26566 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
26568 wxPyEndAllowThreads(__tstate
);
26569 if (PyErr_Occurred()) SWIG_fail
;
26571 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26578 static PyObject
*_wrap_Clipboard_AddData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26579 PyObject
*resultobj
;
26580 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26581 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
26583 PyObject
* obj0
= 0 ;
26584 PyObject
* obj1
= 0 ;
26585 char *kwnames
[] = {
26586 (char *) "self",(char *) "data", NULL
26589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) goto fail
;
26590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26592 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26593 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26596 result
= (bool)(arg1
)->AddData(arg2
);
26598 wxPyEndAllowThreads(__tstate
);
26599 if (PyErr_Occurred()) SWIG_fail
;
26601 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26608 static PyObject
*_wrap_Clipboard_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26609 PyObject
*resultobj
;
26610 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26611 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
26613 PyObject
* obj0
= 0 ;
26614 PyObject
* obj1
= 0 ;
26615 char *kwnames
[] = {
26616 (char *) "self",(char *) "data", NULL
26619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
26620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26622 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26623 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26626 result
= (bool)(arg1
)->SetData(arg2
);
26628 wxPyEndAllowThreads(__tstate
);
26629 if (PyErr_Occurred()) SWIG_fail
;
26631 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26638 static PyObject
*_wrap_Clipboard_IsSupported(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26639 PyObject
*resultobj
;
26640 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26641 wxDataFormat
*arg2
= 0 ;
26643 PyObject
* obj0
= 0 ;
26644 PyObject
* obj1
= 0 ;
26645 char *kwnames
[] = {
26646 (char *) "self",(char *) "format", NULL
26649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) goto fail
;
26650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26652 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
26653 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26655 if (arg2
== NULL
) {
26656 PyErr_SetString(PyExc_TypeError
,"null reference");
26660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26661 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
26663 wxPyEndAllowThreads(__tstate
);
26664 if (PyErr_Occurred()) SWIG_fail
;
26666 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26673 static PyObject
*_wrap_Clipboard_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26674 PyObject
*resultobj
;
26675 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26676 wxDataObject
*arg2
= 0 ;
26678 PyObject
* obj0
= 0 ;
26679 PyObject
* obj1
= 0 ;
26680 char *kwnames
[] = {
26681 (char *) "self",(char *) "data", NULL
26684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) goto fail
;
26685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26687 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26688 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26690 if (arg2
== NULL
) {
26691 PyErr_SetString(PyExc_TypeError
,"null reference");
26695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26696 result
= (bool)(arg1
)->GetData(*arg2
);
26698 wxPyEndAllowThreads(__tstate
);
26699 if (PyErr_Occurred()) SWIG_fail
;
26701 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26708 static PyObject
*_wrap_Clipboard_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26709 PyObject
*resultobj
;
26710 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26711 PyObject
* obj0
= 0 ;
26712 char *kwnames
[] = {
26713 (char *) "self", NULL
26716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Clear",kwnames
,&obj0
)) goto fail
;
26717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26723 wxPyEndAllowThreads(__tstate
);
26724 if (PyErr_Occurred()) SWIG_fail
;
26726 Py_INCREF(Py_None
); resultobj
= Py_None
;
26733 static PyObject
*_wrap_Clipboard_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26734 PyObject
*resultobj
;
26735 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26737 PyObject
* obj0
= 0 ;
26738 char *kwnames
[] = {
26739 (char *) "self", NULL
26742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Flush",kwnames
,&obj0
)) goto fail
;
26743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26747 result
= (bool)(arg1
)->Flush();
26749 wxPyEndAllowThreads(__tstate
);
26750 if (PyErr_Occurred()) SWIG_fail
;
26752 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26759 static PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26760 PyObject
*resultobj
;
26761 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26762 bool arg2
= (bool) True
;
26763 PyObject
* obj0
= 0 ;
26764 PyObject
* obj1
= 0 ;
26765 char *kwnames
[] = {
26766 (char *) "self",(char *) "primary", NULL
26769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) goto fail
;
26770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26773 arg2
= (bool) SWIG_AsBool(obj1
);
26774 if (PyErr_Occurred()) SWIG_fail
;
26777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26778 (arg1
)->UsePrimarySelection(arg2
);
26780 wxPyEndAllowThreads(__tstate
);
26781 if (PyErr_Occurred()) SWIG_fail
;
26783 Py_INCREF(Py_None
); resultobj
= Py_None
;
26790 static PyObject
* Clipboard_swigregister(PyObject
*, PyObject
*args
) {
26792 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26793 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard
, obj
);
26795 return Py_BuildValue((char *)"");
26797 static int _wrap_TheClipboard_set(PyObject
*) {
26798 PyErr_SetString(PyExc_TypeError
,"Variable TheClipboard is read-only.");
26803 static PyObject
*_wrap_TheClipboard_get() {
26806 pyobj
= SWIG_NewPointerObj((void *)(wxTheClipboard
), SWIGTYPE_p_wxClipboard
, 0);
26811 static PyObject
*_wrap_new_ClipboardLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26812 PyObject
*resultobj
;
26813 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
26814 wxClipboardLocker
*result
;
26815 PyObject
* obj0
= 0 ;
26816 char *kwnames
[] = {
26817 (char *) "clipboard", NULL
26820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
26822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26827 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
26829 wxPyEndAllowThreads(__tstate
);
26830 if (PyErr_Occurred()) SWIG_fail
;
26832 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboardLocker
, 1);
26839 static PyObject
*_wrap_delete_ClipboardLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26840 PyObject
*resultobj
;
26841 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
26842 PyObject
* obj0
= 0 ;
26843 char *kwnames
[] = {
26844 (char *) "self", NULL
26847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
26848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboardLocker
,
26849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26854 wxPyEndAllowThreads(__tstate
);
26855 if (PyErr_Occurred()) SWIG_fail
;
26857 Py_INCREF(Py_None
); resultobj
= Py_None
;
26864 static PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26865 PyObject
*resultobj
;
26866 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
26868 PyObject
* obj0
= 0 ;
26869 char *kwnames
[] = {
26870 (char *) "self", NULL
26873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ClipboardLocker___nonzero__",kwnames
,&obj0
)) goto fail
;
26874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboardLocker
,
26875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26878 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
26880 wxPyEndAllowThreads(__tstate
);
26881 if (PyErr_Occurred()) SWIG_fail
;
26883 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26890 static PyObject
* ClipboardLocker_swigregister(PyObject
*, PyObject
*args
) {
26892 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26893 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker
, obj
);
26895 return Py_BuildValue((char *)"");
26897 static PyMethodDef SwigMethods
[] = {
26898 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26899 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26900 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26901 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26902 { (char *)"SystemSettings_GetScreenType", (PyCFunction
) _wrap_SystemSettings_GetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26903 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26904 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
, NULL
},
26905 { (char *)"new_SystemOptions", (PyCFunction
) _wrap_new_SystemOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26906 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26907 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26908 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26909 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26910 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26911 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
, NULL
},
26912 { (char *)"NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26913 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26914 { (char *)"GetCurrentId", (PyCFunction
) _wrap_GetCurrentId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26915 { (char *)"Bell", (PyCFunction
) _wrap_Bell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26916 { (char *)"EndBusyCursor", (PyCFunction
) _wrap_EndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26917 { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26918 { (char *)"GetMousePosition", (PyCFunction
) _wrap_GetMousePosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26919 { (char *)"IsBusy", (PyCFunction
) _wrap_IsBusy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26920 { (char *)"Now", (PyCFunction
) _wrap_Now
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26921 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26922 { (char *)"StartTimer", (PyCFunction
) _wrap_StartTimer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26923 { (char *)"GetOsVersion", (PyCFunction
) _wrap_GetOsVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26924 { (char *)"GetOsDescription", (PyCFunction
) _wrap_GetOsDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26925 { (char *)"GetFreeMemory", (PyCFunction
) _wrap_GetFreeMemory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26926 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26927 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26928 { (char *)"Usleep", (PyCFunction
) _wrap_Usleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26929 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26930 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26931 { (char *)"GetEmailAddress", (PyCFunction
) _wrap_GetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26932 { (char *)"GetHostName", (PyCFunction
) _wrap_GetHostName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26933 { (char *)"GetFullHostName", (PyCFunction
) _wrap_GetFullHostName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26934 { (char *)"GetUserId", (PyCFunction
) _wrap_GetUserId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26935 { (char *)"GetUserName", (PyCFunction
) _wrap_GetUserName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26936 { (char *)"GetHomeDir", (PyCFunction
) _wrap_GetHomeDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26937 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26938 { (char *)"GetProcessId", (PyCFunction
) _wrap_GetProcessId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26939 { (char *)"Trap", (PyCFunction
) _wrap_Trap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26940 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26941 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26942 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26943 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26944 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26945 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26946 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26947 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26948 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26949 { (char *)"GetNumberFromUser", (PyCFunction
) _wrap_GetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26950 { (char *)"ColourDisplay", (PyCFunction
) _wrap_ColourDisplay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26951 { (char *)"DisplayDepth", (PyCFunction
) _wrap_DisplayDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26952 { (char *)"GetDisplayDepth", (PyCFunction
) _wrap_GetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26953 { (char *)"DisplaySize", (PyCFunction
) _wrap_DisplaySize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26954 { (char *)"GetDisplaySize", (PyCFunction
) _wrap_GetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26955 { (char *)"DisplaySizeMM", (PyCFunction
) _wrap_DisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26956 { (char *)"GetDisplaySizeMM", (PyCFunction
) _wrap_GetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26957 { (char *)"ClientDisplayRect", (PyCFunction
) _wrap_ClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26958 { (char *)"GetClientDisplayRect", (PyCFunction
) _wrap_GetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26959 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26960 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26961 { (char *)"GetActiveWindow", (PyCFunction
) _wrap_GetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26962 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26963 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26964 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26965 { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26966 { (char *)"WakeUpMainThread", (PyCFunction
) _wrap_WakeUpMainThread
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26967 { (char *)"MutexGuiEnter", (PyCFunction
) _wrap_MutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26968 { (char *)"MutexGuiLeave", (PyCFunction
) _wrap_MutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26969 { (char *)"new_MutexGuiLocker", (PyCFunction
) _wrap_new_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26970 { (char *)"delete_MutexGuiLocker", (PyCFunction
) _wrap_delete_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26971 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
, NULL
},
26972 { (char *)"Thread_IsMain", (PyCFunction
) _wrap_Thread_IsMain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26973 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26974 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26975 { (char *)"ToolTip_GetTip", (PyCFunction
) _wrap_ToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26976 { (char *)"ToolTip_GetWindow", (PyCFunction
) _wrap_ToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26977 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26978 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26979 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
, NULL
},
26980 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26981 { (char *)"delete_Caret", (PyCFunction
) _wrap_delete_Caret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26982 { (char *)"Caret_IsOk", (PyCFunction
) _wrap_Caret_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26983 { (char *)"Caret_IsVisible", (PyCFunction
) _wrap_Caret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26984 { (char *)"Caret_GetPosition", (PyCFunction
) _wrap_Caret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26985 { (char *)"Caret_GetPositionTuple", (PyCFunction
) _wrap_Caret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26986 { (char *)"Caret_GetSize", (PyCFunction
) _wrap_Caret_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26987 { (char *)"Caret_GetSizeTuple", (PyCFunction
) _wrap_Caret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26988 { (char *)"Caret_GetWindow", (PyCFunction
) _wrap_Caret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26989 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26990 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26991 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26992 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26993 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26994 { (char *)"Caret_Hide", (PyCFunction
) _wrap_Caret_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26995 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
, NULL
},
26996 { (char *)"Caret_GetBlinkTime", (PyCFunction
) _wrap_Caret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26997 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26998 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26999 { (char *)"delete_BusyCursor", (PyCFunction
) _wrap_delete_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27000 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
, NULL
},
27001 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27002 { (char *)"delete_WindowDisabler", (PyCFunction
) _wrap_delete_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27003 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
, NULL
},
27004 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27005 { (char *)"delete_BusyInfo", (PyCFunction
) _wrap_delete_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27006 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
, NULL
},
27007 { (char *)"new_StopWatch", (PyCFunction
) _wrap_new_StopWatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27008 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27009 { (char *)"StopWatch_Pause", (PyCFunction
) _wrap_StopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27010 { (char *)"StopWatch_Resume", (PyCFunction
) _wrap_StopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27011 { (char *)"StopWatch_Time", (PyCFunction
) _wrap_StopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27012 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
, NULL
},
27013 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27014 { (char *)"delete_FileHistory", (PyCFunction
) _wrap_delete_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27015 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27016 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27017 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
) _wrap_FileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27018 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27019 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27020 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27021 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27022 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27023 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27024 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27025 { (char *)"FileHistory_GetCount", (PyCFunction
) _wrap_FileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27026 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
, NULL
},
27027 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27028 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
) _wrap_new_PreSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27029 { (char *)"delete_SingleInstanceChecker", (PyCFunction
) _wrap_delete_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27030 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27031 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
) _wrap_SingleInstanceChecker_IsAnotherRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27032 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
, NULL
},
27033 { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27034 { (char *)"delete_TipProvider", (PyCFunction
) _wrap_delete_TipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27035 { (char *)"TipProvider_GetTip", (PyCFunction
) _wrap_TipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27036 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
) _wrap_TipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27037 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27038 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
, NULL
},
27039 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27040 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27041 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
, NULL
},
27042 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27043 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27044 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27045 { (char *)"delete_Timer", (PyCFunction
) _wrap_delete_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27046 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27047 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27048 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27049 { (char *)"Timer_Stop", (PyCFunction
) _wrap_Timer_Stop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27050 { (char *)"Timer_IsRunning", (PyCFunction
) _wrap_Timer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27051 { (char *)"Timer_GetInterval", (PyCFunction
) _wrap_Timer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27052 { (char *)"Timer_IsOneShot", (PyCFunction
) _wrap_Timer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27053 { (char *)"Timer_GetId", (PyCFunction
) _wrap_Timer_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27054 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
, NULL
},
27055 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27056 { (char *)"TimerEvent_GetInterval", (PyCFunction
) _wrap_TimerEvent_GetInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27057 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
, NULL
},
27058 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
, NULL
},
27059 { (char *)"delete_TimerRunner", (PyCFunction
) _wrap_delete_TimerRunner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27060 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27061 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
, NULL
},
27062 { (char *)"new_Log", (PyCFunction
) _wrap_new_Log
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27063 { (char *)"Log_IsEnabled", (PyCFunction
) _wrap_Log_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27064 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27065 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27066 { (char *)"Log_Flush", (PyCFunction
) _wrap_Log_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27067 { (char *)"Log_FlushActive", (PyCFunction
) _wrap_Log_FlushActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27068 { (char *)"Log_GetActiveTarget", (PyCFunction
) _wrap_Log_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27069 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27070 { (char *)"Log_Suspend", (PyCFunction
) _wrap_Log_Suspend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27071 { (char *)"Log_Resume", (PyCFunction
) _wrap_Log_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27072 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27073 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27074 { (char *)"Log_DontCreateOnDemand", (PyCFunction
) _wrap_Log_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27075 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27076 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27077 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27078 { (char *)"Log_ClearTraceMasks", (PyCFunction
) _wrap_Log_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27079 { (char *)"Log_GetTraceMasks", (PyCFunction
) _wrap_Log_GetTraceMasks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27080 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27081 { (char *)"Log_GetVerbose", (PyCFunction
) _wrap_Log_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27082 { (char *)"Log_GetTraceMask", (PyCFunction
) _wrap_Log_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27083 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27084 { (char *)"Log_GetLogLevel", (PyCFunction
) _wrap_Log_GetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27085 { (char *)"Log_GetTimestamp", (PyCFunction
) _wrap_Log_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27086 { (char *)"Log_TimeStamp", (PyCFunction
) _wrap_Log_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27087 { (char *)"Log_Destroy", (PyCFunction
) _wrap_Log_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27088 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
, NULL
},
27089 { (char *)"new_LogStderr", (PyCFunction
) _wrap_new_LogStderr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27090 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
, NULL
},
27091 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27092 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
, NULL
},
27093 { (char *)"new_LogGui", (PyCFunction
) _wrap_new_LogGui
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27094 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
, NULL
},
27095 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27096 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27097 { (char *)"LogWindow_GetFrame", (PyCFunction
) _wrap_LogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27098 { (char *)"LogWindow_GetOldLog", (PyCFunction
) _wrap_LogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27099 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
) _wrap_LogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27100 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27101 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
, NULL
},
27102 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27103 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27104 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27105 { (char *)"LogChain_IsPassingMessages", (PyCFunction
) _wrap_LogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27106 { (char *)"LogChain_GetOldLog", (PyCFunction
) _wrap_LogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27107 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
, NULL
},
27108 { (char *)"SysErrorCode", (PyCFunction
) _wrap_SysErrorCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27109 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27110 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27111 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27112 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27113 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27114 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27115 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27116 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27117 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27118 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27119 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27120 { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS
, NULL
},
27121 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27122 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27123 { (char *)"new_LogNull", (PyCFunction
) _wrap_new_LogNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27124 { (char *)"delete_LogNull", (PyCFunction
) _wrap_delete_LogNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27125 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
, NULL
},
27126 { (char *)"new_PyLog", (PyCFunction
) _wrap_new_PyLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27127 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27128 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
, NULL
},
27129 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27130 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27131 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27132 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27133 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27134 { (char *)"Process_base_OnTerminate", (PyCFunction
) _wrap_Process_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27135 { (char *)"Process_Redirect", (PyCFunction
) _wrap_Process_Redirect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27136 { (char *)"Process_IsRedirected", (PyCFunction
) _wrap_Process_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27137 { (char *)"Process_Detach", (PyCFunction
) _wrap_Process_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27138 { (char *)"Process_GetInputStream", (PyCFunction
) _wrap_Process_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27139 { (char *)"Process_GetErrorStream", (PyCFunction
) _wrap_Process_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27140 { (char *)"Process_GetOutputStream", (PyCFunction
) _wrap_Process_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27141 { (char *)"Process_CloseOutput", (PyCFunction
) _wrap_Process_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27142 { (char *)"Process_IsInputOpened", (PyCFunction
) _wrap_Process_IsInputOpened
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27143 { (char *)"Process_IsInputAvailable", (PyCFunction
) _wrap_Process_IsInputAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27144 { (char *)"Process_IsErrorAvailable", (PyCFunction
) _wrap_Process_IsErrorAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27145 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
, NULL
},
27146 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27147 { (char *)"ProcessEvent_GetPid", (PyCFunction
) _wrap_ProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27148 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
) _wrap_ProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27149 { (char *)"ProcessEvent_m_pid_set", (PyCFunction
) _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27150 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
) _wrap_ProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27151 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27152 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27153 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
, NULL
},
27154 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27155 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27156 { (char *)"delete_Joystick", (PyCFunction
) _wrap_delete_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27157 { (char *)"Joystick_GetPosition", (PyCFunction
) _wrap_Joystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27158 { (char *)"Joystick_GetZPosition", (PyCFunction
) _wrap_Joystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27159 { (char *)"Joystick_GetButtonState", (PyCFunction
) _wrap_Joystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27160 { (char *)"Joystick_GetPOVPosition", (PyCFunction
) _wrap_Joystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27161 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
) _wrap_Joystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27162 { (char *)"Joystick_GetRudderPosition", (PyCFunction
) _wrap_Joystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27163 { (char *)"Joystick_GetUPosition", (PyCFunction
) _wrap_Joystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27164 { (char *)"Joystick_GetVPosition", (PyCFunction
) _wrap_Joystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27165 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
) _wrap_Joystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27166 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27167 { (char *)"Joystick_IsOk", (PyCFunction
) _wrap_Joystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27168 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
) _wrap_Joystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27169 { (char *)"Joystick_GetManufacturerId", (PyCFunction
) _wrap_Joystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27170 { (char *)"Joystick_GetProductId", (PyCFunction
) _wrap_Joystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27171 { (char *)"Joystick_GetProductName", (PyCFunction
) _wrap_Joystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27172 { (char *)"Joystick_GetXMin", (PyCFunction
) _wrap_Joystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27173 { (char *)"Joystick_GetYMin", (PyCFunction
) _wrap_Joystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27174 { (char *)"Joystick_GetZMin", (PyCFunction
) _wrap_Joystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27175 { (char *)"Joystick_GetXMax", (PyCFunction
) _wrap_Joystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27176 { (char *)"Joystick_GetYMax", (PyCFunction
) _wrap_Joystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27177 { (char *)"Joystick_GetZMax", (PyCFunction
) _wrap_Joystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27178 { (char *)"Joystick_GetNumberButtons", (PyCFunction
) _wrap_Joystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27179 { (char *)"Joystick_GetNumberAxes", (PyCFunction
) _wrap_Joystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27180 { (char *)"Joystick_GetMaxButtons", (PyCFunction
) _wrap_Joystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27181 { (char *)"Joystick_GetMaxAxes", (PyCFunction
) _wrap_Joystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27182 { (char *)"Joystick_GetPollingMin", (PyCFunction
) _wrap_Joystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27183 { (char *)"Joystick_GetPollingMax", (PyCFunction
) _wrap_Joystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27184 { (char *)"Joystick_GetRudderMin", (PyCFunction
) _wrap_Joystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27185 { (char *)"Joystick_GetRudderMax", (PyCFunction
) _wrap_Joystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27186 { (char *)"Joystick_GetUMin", (PyCFunction
) _wrap_Joystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27187 { (char *)"Joystick_GetUMax", (PyCFunction
) _wrap_Joystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27188 { (char *)"Joystick_GetVMin", (PyCFunction
) _wrap_Joystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27189 { (char *)"Joystick_GetVMax", (PyCFunction
) _wrap_Joystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27190 { (char *)"Joystick_HasRudder", (PyCFunction
) _wrap_Joystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27191 { (char *)"Joystick_HasZ", (PyCFunction
) _wrap_Joystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27192 { (char *)"Joystick_HasU", (PyCFunction
) _wrap_Joystick_HasU
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27193 { (char *)"Joystick_HasV", (PyCFunction
) _wrap_Joystick_HasV
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27194 { (char *)"Joystick_HasPOV", (PyCFunction
) _wrap_Joystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27195 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
) _wrap_Joystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27196 { (char *)"Joystick_HasPOVCTS", (PyCFunction
) _wrap_Joystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27197 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27198 { (char *)"Joystick_ReleaseCapture", (PyCFunction
) _wrap_Joystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27199 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
, NULL
},
27200 { (char *)"JoystickEvent_m_pos_set", (PyCFunction
) _wrap_JoystickEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27201 { (char *)"JoystickEvent_m_pos_get", (PyCFunction
) _wrap_JoystickEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27202 { (char *)"JoystickEvent_m_zPosition_set", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27203 { (char *)"JoystickEvent_m_zPosition_get", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27204 { (char *)"JoystickEvent_m_buttonChange_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27205 { (char *)"JoystickEvent_m_buttonChange_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27206 { (char *)"JoystickEvent_m_buttonState_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27207 { (char *)"JoystickEvent_m_buttonState_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27208 { (char *)"JoystickEvent_m_joyStick_set", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27209 { (char *)"JoystickEvent_m_joyStick_get", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27210 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27211 { (char *)"JoystickEvent_GetPosition", (PyCFunction
) _wrap_JoystickEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27212 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
) _wrap_JoystickEvent_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27213 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
) _wrap_JoystickEvent_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27214 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
) _wrap_JoystickEvent_GetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27215 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
) _wrap_JoystickEvent_GetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27216 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27217 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27218 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27219 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27220 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27221 { (char *)"JoystickEvent_IsButton", (PyCFunction
) _wrap_JoystickEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27222 { (char *)"JoystickEvent_IsMove", (PyCFunction
) _wrap_JoystickEvent_IsMove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27223 { (char *)"JoystickEvent_IsZMove", (PyCFunction
) _wrap_JoystickEvent_IsZMove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27224 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27225 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27226 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27227 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
, NULL
},
27228 { (char *)"new_Sound", _wrap_new_Sound
, METH_VARARGS
, NULL
},
27229 { (char *)"delete_Sound", (PyCFunction
) _wrap_delete_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27230 { (char *)"Sound_Create", _wrap_Sound_Create
, METH_VARARGS
, NULL
},
27231 { (char *)"Sound_IsOk", (PyCFunction
) _wrap_Sound_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27232 { (char *)"Sound_Play", _wrap_Sound_Play
, METH_VARARGS
, NULL
},
27233 { (char *)"Sound_PlaySound", _wrap_Sound_PlaySound
, METH_VARARGS
, NULL
},
27234 { (char *)"Sound_Stop", (PyCFunction
) _wrap_Sound_Stop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27235 { (char *)"Sound_swigregister", Sound_swigregister
, METH_VARARGS
, NULL
},
27236 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27237 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27238 { (char *)"new_NullFileTypeInfo", (PyCFunction
) _wrap_new_NullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27239 { (char *)"FileTypeInfo_IsValid", (PyCFunction
) _wrap_FileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27240 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27241 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27242 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
) _wrap_FileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27243 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_FileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27244 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_FileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27245 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27246 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
) _wrap_FileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27247 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
) _wrap_FileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27248 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_FileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27249 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
) _wrap_FileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27250 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_FileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27251 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
, NULL
},
27252 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27253 { (char *)"delete_FileType", (PyCFunction
) _wrap_delete_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27254 { (char *)"FileType_GetMimeType", (PyCFunction
) _wrap_FileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27255 { (char *)"FileType_GetMimeTypes", (PyCFunction
) _wrap_FileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27256 { (char *)"FileType_GetExtensions", (PyCFunction
) _wrap_FileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27257 { (char *)"FileType_GetIcon", (PyCFunction
) _wrap_FileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27258 { (char *)"FileType_GetIconInfo", (PyCFunction
) _wrap_FileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27259 { (char *)"FileType_GetDescription", (PyCFunction
) _wrap_FileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27260 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27261 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27262 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27263 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27264 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27265 { (char *)"FileType_Unassociate", (PyCFunction
) _wrap_FileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27266 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27267 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
, NULL
},
27268 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27269 { (char *)"new_MimeTypesManager", (PyCFunction
) _wrap_new_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27270 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27271 { (char *)"MimeTypesManager_ClearData", (PyCFunction
) _wrap_MimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27272 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27273 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27274 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27275 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27276 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_MimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27277 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27278 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27279 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27280 { (char *)"delete_MimeTypesManager", (PyCFunction
) _wrap_delete_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27281 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
, NULL
},
27282 { (char *)"new_ArtProvider", (PyCFunction
) _wrap_new_ArtProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27283 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27284 { (char *)"ArtProvider_PushProvider", (PyCFunction
) _wrap_ArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27285 { (char *)"ArtProvider_PopProvider", (PyCFunction
) _wrap_ArtProvider_PopProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27286 { (char *)"ArtProvider_RemoveProvider", (PyCFunction
) _wrap_ArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27287 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27288 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27289 { (char *)"ArtProvider_Destroy", (PyCFunction
) _wrap_ArtProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27290 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
, NULL
},
27291 { (char *)"delete_ConfigBase", (PyCFunction
) _wrap_delete_ConfigBase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27292 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27293 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27294 { (char *)"ConfigBase_Create", (PyCFunction
) _wrap_ConfigBase_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27295 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
) _wrap_ConfigBase_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27296 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27297 { (char *)"ConfigBase_GetPath", (PyCFunction
) _wrap_ConfigBase_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27298 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
) _wrap_ConfigBase_GetFirstGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27299 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27300 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
) _wrap_ConfigBase_GetFirstEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27301 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27302 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27303 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27304 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27305 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27306 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27307 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27308 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27309 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27310 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27311 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27312 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27313 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27314 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27315 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27316 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27317 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27318 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27319 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27320 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27321 { (char *)"ConfigBase_DeleteAll", (PyCFunction
) _wrap_ConfigBase_DeleteAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27322 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27323 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
) _wrap_ConfigBase_IsExpandingEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27324 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27325 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
) _wrap_ConfigBase_IsRecordingDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27326 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27327 { (char *)"ConfigBase_GetAppName", (PyCFunction
) _wrap_ConfigBase_GetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27328 { (char *)"ConfigBase_GetVendorName", (PyCFunction
) _wrap_ConfigBase_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27329 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27330 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27331 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27332 { (char *)"ConfigBase_GetStyle", (PyCFunction
) _wrap_ConfigBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27333 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
, NULL
},
27334 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27335 { (char *)"delete_Config", (PyCFunction
) _wrap_delete_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27336 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
, NULL
},
27337 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27338 { (char *)"delete_FileConfig", (PyCFunction
) _wrap_delete_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27339 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
, NULL
},
27340 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27341 { (char *)"delete_ConfigPathChanger", (PyCFunction
) _wrap_delete_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27342 { (char *)"ConfigPathChanger_Name", (PyCFunction
) _wrap_ConfigPathChanger_Name
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27343 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
, NULL
},
27344 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27345 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27346 { (char *)"DateTime_GetCountry", (PyCFunction
) _wrap_DateTime_GetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27347 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27348 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27349 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27350 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27351 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27352 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27353 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27354 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27355 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27356 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27357 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
) _wrap_DateTime_GetAmPmStrings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27358 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27359 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27360 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27361 { (char *)"DateTime_Now", (PyCFunction
) _wrap_DateTime_Now
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27362 { (char *)"DateTime_UNow", (PyCFunction
) _wrap_DateTime_UNow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27363 { (char *)"DateTime_Today", (PyCFunction
) _wrap_DateTime_Today
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27364 { (char *)"new_DateTime", (PyCFunction
) _wrap_new_DateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27365 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27366 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27367 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27368 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27369 { (char *)"delete_DateTime", (PyCFunction
) _wrap_delete_DateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27370 { (char *)"DateTime_SetToCurrent", (PyCFunction
) _wrap_DateTime_SetToCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27371 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27372 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27373 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27374 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27375 { (char *)"DateTime_ResetTime", (PyCFunction
) _wrap_DateTime_ResetTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27376 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27377 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27378 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27379 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27380 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27381 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27382 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27383 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27384 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27385 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27386 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27387 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27388 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27389 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27390 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27391 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27392 { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27393 { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27394 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27395 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27396 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27397 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27398 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27399 { (char *)"DateTime_GetJDN", (PyCFunction
) _wrap_DateTime_GetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27400 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetModifiedJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27401 { (char *)"DateTime_GetMJD", (PyCFunction
) _wrap_DateTime_GetMJD
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27402 { (char *)"DateTime_GetRataDie", (PyCFunction
) _wrap_DateTime_GetRataDie
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27403 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27404 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27405 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27406 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27407 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27408 { (char *)"DateTime_IsValid", (PyCFunction
) _wrap_DateTime_IsValid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27409 { (char *)"DateTime_GetTicks", (PyCFunction
) _wrap_DateTime_GetTicks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27410 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27411 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27412 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27413 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27414 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27415 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27416 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27417 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27418 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27419 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27420 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27421 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27422 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27423 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27424 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27425 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27426 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27427 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27428 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27429 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27430 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27431 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27432 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27433 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27434 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27435 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
, NULL
},
27436 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
, NULL
},
27437 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
, NULL
},
27438 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
, NULL
},
27439 { (char *)"DateTime___lt__", _wrap_DateTime___lt__
, METH_VARARGS
, NULL
},
27440 { (char *)"DateTime___le__", _wrap_DateTime___le__
, METH_VARARGS
, NULL
},
27441 { (char *)"DateTime___gt__", _wrap_DateTime___gt__
, METH_VARARGS
, NULL
},
27442 { (char *)"DateTime___ge__", _wrap_DateTime___ge__
, METH_VARARGS
, NULL
},
27443 { (char *)"DateTime___eq__", _wrap_DateTime___eq__
, METH_VARARGS
, NULL
},
27444 { (char *)"DateTime___ne__", _wrap_DateTime___ne__
, METH_VARARGS
, NULL
},
27445 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27446 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27447 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27448 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27449 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27450 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27451 { (char *)"DateTime_FormatDate", (PyCFunction
) _wrap_DateTime_FormatDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27452 { (char *)"DateTime_FormatTime", (PyCFunction
) _wrap_DateTime_FormatTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27453 { (char *)"DateTime_FormatISODate", (PyCFunction
) _wrap_DateTime_FormatISODate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27454 { (char *)"DateTime_FormatISOTime", (PyCFunction
) _wrap_DateTime_FormatISOTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27455 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
, NULL
},
27456 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27457 { (char *)"TimeSpan_Second", (PyCFunction
) _wrap_TimeSpan_Second
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27458 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27459 { (char *)"TimeSpan_Minute", (PyCFunction
) _wrap_TimeSpan_Minute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27460 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27461 { (char *)"TimeSpan_Hour", (PyCFunction
) _wrap_TimeSpan_Hour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27462 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27463 { (char *)"TimeSpan_Day", (PyCFunction
) _wrap_TimeSpan_Day
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27464 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27465 { (char *)"TimeSpan_Week", (PyCFunction
) _wrap_TimeSpan_Week
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27466 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27467 { (char *)"delete_TimeSpan", (PyCFunction
) _wrap_delete_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27468 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27469 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27470 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27471 { (char *)"TimeSpan_Neg", (PyCFunction
) _wrap_TimeSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27472 { (char *)"TimeSpan_Abs", (PyCFunction
) _wrap_TimeSpan_Abs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27473 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27474 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27475 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27476 { (char *)"TimeSpan___neg__", (PyCFunction
) _wrap_TimeSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27477 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27478 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27479 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27480 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27481 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27482 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27483 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27484 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27485 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27486 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27487 { (char *)"TimeSpan_IsNull", (PyCFunction
) _wrap_TimeSpan_IsNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27488 { (char *)"TimeSpan_IsPositive", (PyCFunction
) _wrap_TimeSpan_IsPositive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27489 { (char *)"TimeSpan_IsNegative", (PyCFunction
) _wrap_TimeSpan_IsNegative
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27490 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27491 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27492 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27493 { (char *)"TimeSpan_GetWeeks", (PyCFunction
) _wrap_TimeSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27494 { (char *)"TimeSpan_GetDays", (PyCFunction
) _wrap_TimeSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27495 { (char *)"TimeSpan_GetHours", (PyCFunction
) _wrap_TimeSpan_GetHours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27496 { (char *)"TimeSpan_GetMinutes", (PyCFunction
) _wrap_TimeSpan_GetMinutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27497 { (char *)"TimeSpan_GetSeconds", (PyCFunction
) _wrap_TimeSpan_GetSeconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27498 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
) _wrap_TimeSpan_GetMilliseconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27499 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27500 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
, NULL
},
27501 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27502 { (char *)"delete_DateSpan", (PyCFunction
) _wrap_delete_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27503 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27504 { (char *)"DateSpan_Day", (PyCFunction
) _wrap_DateSpan_Day
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27505 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27506 { (char *)"DateSpan_Week", (PyCFunction
) _wrap_DateSpan_Week
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27507 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27508 { (char *)"DateSpan_Month", (PyCFunction
) _wrap_DateSpan_Month
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27509 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27510 { (char *)"DateSpan_Year", (PyCFunction
) _wrap_DateSpan_Year
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27511 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27512 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27513 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27514 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27515 { (char *)"DateSpan_GetYears", (PyCFunction
) _wrap_DateSpan_GetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27516 { (char *)"DateSpan_GetMonths", (PyCFunction
) _wrap_DateSpan_GetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27517 { (char *)"DateSpan_GetWeeks", (PyCFunction
) _wrap_DateSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27518 { (char *)"DateSpan_GetDays", (PyCFunction
) _wrap_DateSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27519 { (char *)"DateSpan_GetTotalDays", (PyCFunction
) _wrap_DateSpan_GetTotalDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27520 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27521 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27522 { (char *)"DateSpan_Neg", (PyCFunction
) _wrap_DateSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27523 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27524 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27525 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27526 { (char *)"DateSpan___neg__", (PyCFunction
) _wrap_DateSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27527 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27528 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27529 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27530 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27531 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27532 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27533 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27534 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
, NULL
},
27535 { (char *)"GetLocalTime", (PyCFunction
) _wrap_GetLocalTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27536 { (char *)"GetUTCTime", (PyCFunction
) _wrap_GetUTCTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27537 { (char *)"GetCurrentTime", (PyCFunction
) _wrap_GetCurrentTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27538 { (char *)"GetLocalTimeMillis", (PyCFunction
) _wrap_GetLocalTimeMillis
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27539 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27540 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27541 { (char *)"delete_DataFormat", (PyCFunction
) _wrap_delete_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27542 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
, NULL
},
27543 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
, NULL
},
27544 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27545 { (char *)"DataFormat_GetType", (PyCFunction
) _wrap_DataFormat_GetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27546 { (char *)"DataFormat_GetId", (PyCFunction
) _wrap_DataFormat_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27547 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27548 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
, NULL
},
27549 { (char *)"delete_DataObject", (PyCFunction
) _wrap_delete_DataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27550 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27551 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27552 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27553 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27554 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27555 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27556 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27557 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
, NULL
},
27558 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27559 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
) _wrap_DataObjectSimple_GetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27560 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27561 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
27562 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27563 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27564 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
27565 { (char *)"new_DataObjectComposite", (PyCFunction
) _wrap_new_DataObjectComposite
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27566 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27567 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
, NULL
},
27568 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27569 { (char *)"TextDataObject_GetTextLength", (PyCFunction
) _wrap_TextDataObject_GetTextLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27570 { (char *)"TextDataObject_GetText", (PyCFunction
) _wrap_TextDataObject_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27571 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27572 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
, NULL
},
27573 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27574 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27575 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
, NULL
},
27576 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27577 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
) _wrap_BitmapDataObject_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27578 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27579 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
27580 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27581 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27582 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
27583 { (char *)"new_FileDataObject", (PyCFunction
) _wrap_new_FileDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27584 { (char *)"FileDataObject_GetFilenames", (PyCFunction
) _wrap_FileDataObject_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27585 { (char *)"FileDataObject_AddFile", (PyCFunction
) _wrap_FileDataObject_AddFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27586 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
, NULL
},
27587 { (char *)"new_CustomDataObject", (PyCFunction
) _wrap_new_CustomDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27588 { (char *)"CustomDataObject_TakeData", (PyCFunction
) _wrap_CustomDataObject_TakeData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27589 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27590 { (char *)"CustomDataObject_GetSize", (PyCFunction
) _wrap_CustomDataObject_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27591 { (char *)"CustomDataObject_GetData", (PyCFunction
) _wrap_CustomDataObject_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27592 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
, NULL
},
27593 { (char *)"new_URLDataObject", (PyCFunction
) _wrap_new_URLDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27594 { (char *)"URLDataObject_GetURL", (PyCFunction
) _wrap_URLDataObject_GetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27595 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27596 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
, NULL
},
27597 { (char *)"new_MetafileDataObject", (PyCFunction
) _wrap_new_MetafileDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27598 { (char *)"MetafileDataObject_SetMetafile", (PyCFunction
) _wrap_MetafileDataObject_SetMetafile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27599 { (char *)"MetafileDataObject_GetMetafile", (PyCFunction
) _wrap_MetafileDataObject_GetMetafile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27600 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
, NULL
},
27601 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27602 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27603 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27604 { (char *)"delete_DropSource", (PyCFunction
) _wrap_delete_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27605 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27606 { (char *)"DropSource_GetDataObject", (PyCFunction
) _wrap_DropSource_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27607 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27608 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27609 { (char *)"DropSource_base_GiveFeedback", (PyCFunction
) _wrap_DropSource_base_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27610 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
, NULL
},
27611 { (char *)"new_DropTarget", (PyCFunction
) _wrap_new_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27612 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27613 { (char *)"delete_DropTarget", (PyCFunction
) _wrap_delete_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27614 { (char *)"DropTarget_GetDataObject", (PyCFunction
) _wrap_DropTarget_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27615 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27616 { (char *)"DropTarget_base_OnEnter", (PyCFunction
) _wrap_DropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27617 { (char *)"DropTarget_base_OnDragOver", (PyCFunction
) _wrap_DropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27618 { (char *)"DropTarget_base_OnLeave", (PyCFunction
) _wrap_DropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27619 { (char *)"DropTarget_base_OnDrop", (PyCFunction
) _wrap_DropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27620 { (char *)"DropTarget_GetData", (PyCFunction
) _wrap_DropTarget_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27621 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
, NULL
},
27622 { (char *)"new_TextDropTarget", (PyCFunction
) _wrap_new_TextDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27623 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27624 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction
) _wrap_TextDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27625 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27626 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction
) _wrap_TextDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27627 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction
) _wrap_TextDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27628 { (char *)"TextDropTarget_base_OnData", (PyCFunction
) _wrap_TextDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27629 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
, NULL
},
27630 { (char *)"new_FileDropTarget", (PyCFunction
) _wrap_new_FileDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27631 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27632 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction
) _wrap_FileDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27633 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27634 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction
) _wrap_FileDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27635 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction
) _wrap_FileDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27636 { (char *)"FileDropTarget_base_OnData", (PyCFunction
) _wrap_FileDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27637 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
, NULL
},
27638 { (char *)"new_Clipboard", (PyCFunction
) _wrap_new_Clipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27639 { (char *)"delete_Clipboard", (PyCFunction
) _wrap_delete_Clipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27640 { (char *)"Clipboard_Open", (PyCFunction
) _wrap_Clipboard_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27641 { (char *)"Clipboard_Close", (PyCFunction
) _wrap_Clipboard_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27642 { (char *)"Clipboard_IsOpened", (PyCFunction
) _wrap_Clipboard_IsOpened
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27643 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27644 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27645 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27646 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27647 { (char *)"Clipboard_Clear", (PyCFunction
) _wrap_Clipboard_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27648 { (char *)"Clipboard_Flush", (PyCFunction
) _wrap_Clipboard_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27649 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27650 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
, NULL
},
27651 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27652 { (char *)"delete_ClipboardLocker", (PyCFunction
) _wrap_delete_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27653 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
) _wrap_ClipboardLocker___nonzero__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27654 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
, NULL
},
27655 { NULL
, NULL
, 0, NULL
}
27659 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
27661 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
27662 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
27664 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
27665 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
27667 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
27668 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
27670 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
27671 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
27673 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
27674 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
27676 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
27677 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
27679 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
27680 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
27682 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
27683 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
27685 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
27686 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
27688 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
27689 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
27691 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
27692 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
27694 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
27695 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
27697 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
27698 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
27700 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
27701 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
27703 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
27704 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
27706 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
27707 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
27709 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
27710 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
27712 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
27713 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
27715 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
27716 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
27718 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
27719 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
27721 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
27722 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
27724 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
27725 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
27727 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
27728 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
27730 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
27731 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
27733 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
27734 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
27736 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
27737 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
27739 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
27740 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
27742 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
27743 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
27745 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
27746 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
27748 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
27749 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
27751 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
27752 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
27754 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
27755 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
27757 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
27758 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
27760 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
27761 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
27763 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
27764 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
27766 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
27767 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
27769 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
27770 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
27772 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
27773 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
27775 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
27776 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
27778 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
27779 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
27781 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
27782 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
27784 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
27785 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
27787 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
27788 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
27790 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
27791 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
27793 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
27794 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
27796 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
27797 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
27799 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
27800 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
27802 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
27803 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
27805 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
27806 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
27808 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
27809 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
27811 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
27812 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
27814 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
27815 return (void *)((wxDataObject
*) (wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
27817 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
27818 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
27820 static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x
) {
27821 return (void *)((wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
27823 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
27824 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
27826 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
27827 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
27829 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
27830 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
27832 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
27833 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
27835 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
27836 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
27838 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
27839 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
27841 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
27842 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
27844 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
27845 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
27847 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
27848 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
27850 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
27851 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
27853 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
27854 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
27856 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
27857 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
27859 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
27860 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
27862 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
27863 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
27865 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
27866 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
27868 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
27869 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
27871 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
27872 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
27874 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
27875 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
27877 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
27878 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
27880 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
27881 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
27883 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
27884 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
27886 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
27887 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
27889 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
27890 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
27892 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
27893 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
27895 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
27896 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
27898 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
27899 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
27901 static void *_p_wxSizerTo_p_wxObject(void *x
) {
27902 return (void *)((wxObject
*) ((wxSizer
*) x
));
27904 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
27905 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
27907 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
27908 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
27910 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
27911 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
27913 static void *_p_wxEventTo_p_wxObject(void *x
) {
27914 return (void *)((wxObject
*) ((wxEvent
*) x
));
27916 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
27917 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
27919 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
27920 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
27922 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
27923 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
27925 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
27926 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
27928 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
27929 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
27931 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
27932 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
27934 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
27935 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
27937 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
27938 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
27940 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
27941 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
27943 static void *_p_wxControlTo_p_wxObject(void *x
) {
27944 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
27946 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
27947 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
27949 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
27950 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
27952 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
27953 return (void *)((wxObject
*) ((wxFSFile
*) x
));
27955 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
27956 return (void *)((wxObject
*) ((wxClipboard
*) x
));
27958 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
27959 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
27961 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
27962 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
27964 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
27965 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
27967 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
27968 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
27970 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
27971 return (void *)((wxObject
*) ((wxToolTip
*) x
));
27973 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
27974 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
27976 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
27977 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
27979 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
27980 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
27982 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
27983 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
27985 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
27986 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
27988 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
27989 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
27991 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
27992 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
27994 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
27995 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
27997 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
27998 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
28000 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
28001 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
28003 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
28004 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
28006 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
28007 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
28009 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
28010 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
28012 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
28013 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
28015 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
28016 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
28018 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
28019 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
28021 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
28022 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
28024 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
28025 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
28027 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
28028 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
28030 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
28031 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
28033 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
28034 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
28036 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
28037 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
28039 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
28040 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
28042 static void *_p_wxImageTo_p_wxObject(void *x
) {
28043 return (void *)((wxObject
*) ((wxImage
*) x
));
28045 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
28046 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
28048 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
28049 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
28051 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
28052 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
28054 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
28055 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
28057 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
28058 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
28060 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
28061 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
28063 static void *_p_wxWindowTo_p_wxObject(void *x
) {
28064 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
28066 static void *_p_wxMenuTo_p_wxObject(void *x
) {
28067 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
28069 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
28070 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
28072 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
28073 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
28075 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
28076 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
28078 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
28079 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
28081 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
28082 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
28084 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
28085 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
28087 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
28088 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
28090 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
28091 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
28093 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
28094 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
28096 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
28097 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
28099 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
28100 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
28102 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
28103 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
28105 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
28106 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
28108 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
28109 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
28111 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
28112 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
28114 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
28115 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
28117 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
28118 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
28120 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
28121 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
28123 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
28124 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
28126 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
28127 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
28129 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
28130 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
28132 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
28133 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
28135 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
28136 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
28138 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
28139 return (void *)((wxLog
*) ((wxLogChain
*) x
));
28141 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
28142 return (void *)((wxLog
*) ((wxLogGui
*) x
));
28144 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
28145 return (void *)((wxLog
*) ((wxPyLog
*) x
));
28147 static void *_p_wxControlTo_p_wxWindow(void *x
) {
28148 return (void *)((wxWindow
*) ((wxControl
*) x
));
28150 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
28151 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
28153 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
28154 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
28156 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
28157 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
28159 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
28160 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
28162 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}};
28163 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}};
28164 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}};
28165 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}};
28166 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}};
28167 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}};
28168 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}};
28169 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}};
28170 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}};
28171 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}};
28172 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}};
28173 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}};
28174 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}};
28175 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}};
28176 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}};
28177 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}};
28178 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}};
28179 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}};
28180 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}};
28181 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}};
28182 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}};
28183 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}};
28184 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}};
28185 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}};
28186 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}};
28187 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}};
28188 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}};
28189 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}};
28190 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}};
28191 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}};
28192 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}};
28193 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}};
28194 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}};
28195 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}};
28196 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}};
28197 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}};
28198 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}};
28199 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}};
28200 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}};
28201 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}};
28202 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}};
28203 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}};
28204 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}};
28205 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}};
28206 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}};
28207 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}};
28208 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}};
28209 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}};
28210 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}};
28211 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}};
28212 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}};
28213 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}};
28214 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}};
28215 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}};
28216 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}};
28217 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}};
28218 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}};
28219 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}};
28220 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}};
28221 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}};
28222 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}};
28223 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}};
28224 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}};
28225 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}};
28226 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}};
28227 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}};
28228 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}};
28229 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}};
28230 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}};
28231 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}};
28232 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}};
28233 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}};
28234 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}};
28235 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}};
28236 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}};
28237 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}};
28238 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}};
28239 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}};
28240 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}};
28241 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}};
28242 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}};
28243 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}};
28244 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}};
28245 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}};
28246 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}};
28248 static swig_type_info
*swig_types_initial
[] = {
28249 _swigt__p_wxLogChain
,
28250 _swigt__p_wxMutexGuiLocker
,
28251 _swigt__p_wxMetafile
,
28252 _swigt__p_wxFileHistory
,
28254 _swigt__p_wxDateTime__TimeZone
,
28257 _swigt__p_wxConfigBase
,
28258 _swigt__p_wxFileType
,
28259 _swigt__p_wxLogGui
,
28261 _swigt__p_wxDataFormat
,
28262 _swigt__p_wxTimerEvent
,
28266 _swigt__p_wxClipboard
,
28267 _swigt__p_wxStopWatch
,
28269 _swigt__p_wxClipboardLocker
,
28271 _swigt__p_wxLogStderr
,
28272 _swigt__p_wxLogTextCtrl
,
28273 _swigt__p_wxTextCtrl
,
28274 _swigt__p_wxBusyCursor
,
28275 _swigt__p_wxPyTextDataObject
,
28276 _swigt__p_wxBitmapDataObject
,
28277 _swigt__p_wxTextDataObject
,
28278 _swigt__p_wxDataObject
,
28279 _swigt__p_wxPyBitmapDataObject
,
28280 _swigt__p_wxFileDataObject
,
28281 _swigt__p_wxCustomDataObject
,
28282 _swigt__p_wxURLDataObject
,
28283 _swigt__p_wxMetafileDataObject
,
28285 _swigt__p_wxTimerRunner
,
28286 _swigt__p_wxLogWindow
,
28287 _swigt__p_wxTimeSpan
,
28288 _swigt__p_wxArrayString
,
28289 _swigt__p_wxWindowDisabler
,
28290 _swigt__p_wxToolTip
,
28291 _swigt__p_wxDataObjectComposite
,
28292 _swigt__p_wxFileConfig
,
28293 _swigt__p_wxSystemSettings
,
28294 _swigt__p_wxPyDataObjectSimple
,
28295 _swigt__p_wxDataObjectSimple
,
28296 _swigt__p_wxEvtHandler
,
28299 _swigt__p_wxSingleInstanceChecker
,
28300 _swigt__p_wxFileTypeInfo
,
28303 _swigt__p_wxMimeTypesManager
,
28304 _swigt__p_wxPyArtProvider
,
28305 _swigt__p_wxPyTipProvider
,
28306 _swigt__p_wxTipProvider
,
28307 _swigt__p_wxJoystick
,
28308 _swigt__p_wxSystemOptions
,
28310 _swigt__p_wxJoystickEvent
,
28311 _swigt__p_wxCursor
,
28312 _swigt__p_wxObject
,
28313 _swigt__p_wxOutputStream
,
28314 _swigt__p_wxDateTime
,
28315 _swigt__p_wxPyDropSource
,
28316 _swigt__p_wxWindow
,
28317 _swigt__p_wxString
,
28318 _swigt__p_wxPyProcess
,
28319 _swigt__p_wxBitmap
,
28320 _swigt__p_wxConfig
,
28322 _swigt__p_wxBusyInfo
,
28323 _swigt__p_wxPyDropTarget
,
28324 _swigt__p_wxPyTextDropTarget
,
28325 _swigt__p_wxPyFileDropTarget
,
28326 _swigt__p_wxProcessEvent
,
28328 _swigt__p_wxLogNull
,
28329 _swigt__p_wxColour
,
28331 _swigt__p_wxConfigPathChanger
,
28332 _swigt__p_wxPyTimer
,
28333 _swigt__p_wxDateSpan
,
28338 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
28340 static swig_const_info swig_const_table
[] = {
28341 { SWIG_PY_POINTER
, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", &SWIGTYPE_p_char
},
28342 { SWIG_PY_POINTER
, (char*)"TRACE_Messages", 0, 0, (void *)"messages", &SWIGTYPE_p_char
},
28343 { SWIG_PY_POINTER
, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", &SWIGTYPE_p_char
},
28344 { SWIG_PY_POINTER
, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", &SWIGTYPE_p_char
},
28345 { SWIG_PY_POINTER
, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", &SWIGTYPE_p_char
},
28346 {0, 0, 0, 0.0, 0, 0}};
28355 SWIGEXPORT(void) SWIG_init(void) {
28356 static PyObject
*SWIG_globals
= 0;
28357 static int typeinit
= 0;
28360 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
28361 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
28362 d
= PyModule_GetDict(m
);
28365 for (i
= 0; swig_types_initial
[i
]; i
++) {
28366 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
28370 SWIG_InstallConstants(d
,swig_const_table
);
28372 PyDict_SetItemString(d
,"SYS_OEM_FIXED_FONT", SWIG_FromInt((int)wxSYS_OEM_FIXED_FONT
));
28373 PyDict_SetItemString(d
,"SYS_ANSI_FIXED_FONT", SWIG_FromInt((int)wxSYS_ANSI_FIXED_FONT
));
28374 PyDict_SetItemString(d
,"SYS_ANSI_VAR_FONT", SWIG_FromInt((int)wxSYS_ANSI_VAR_FONT
));
28375 PyDict_SetItemString(d
,"SYS_SYSTEM_FONT", SWIG_FromInt((int)wxSYS_SYSTEM_FONT
));
28376 PyDict_SetItemString(d
,"SYS_DEVICE_DEFAULT_FONT", SWIG_FromInt((int)wxSYS_DEVICE_DEFAULT_FONT
));
28377 PyDict_SetItemString(d
,"SYS_DEFAULT_PALETTE", SWIG_FromInt((int)wxSYS_DEFAULT_PALETTE
));
28378 PyDict_SetItemString(d
,"SYS_SYSTEM_FIXED_FONT", SWIG_FromInt((int)wxSYS_SYSTEM_FIXED_FONT
));
28379 PyDict_SetItemString(d
,"SYS_DEFAULT_GUI_FONT", SWIG_FromInt((int)wxSYS_DEFAULT_GUI_FONT
));
28380 PyDict_SetItemString(d
,"SYS_ICONTITLE_FONT", SWIG_FromInt((int)wxSYS_ICONTITLE_FONT
));
28381 PyDict_SetItemString(d
,"SYS_COLOUR_SCROLLBAR", SWIG_FromInt((int)wxSYS_COLOUR_SCROLLBAR
));
28382 PyDict_SetItemString(d
,"SYS_COLOUR_BACKGROUND", SWIG_FromInt((int)wxSYS_COLOUR_BACKGROUND
));
28383 PyDict_SetItemString(d
,"SYS_COLOUR_DESKTOP", SWIG_FromInt((int)wxSYS_COLOUR_DESKTOP
));
28384 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_ACTIVECAPTION
));
28385 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVECAPTION
));
28386 PyDict_SetItemString(d
,"SYS_COLOUR_MENU", SWIG_FromInt((int)wxSYS_COLOUR_MENU
));
28387 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOW", SWIG_FromInt((int)wxSYS_COLOUR_WINDOW
));
28388 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWFRAME", SWIG_FromInt((int)wxSYS_COLOUR_WINDOWFRAME
));
28389 PyDict_SetItemString(d
,"SYS_COLOUR_MENUTEXT", SWIG_FromInt((int)wxSYS_COLOUR_MENUTEXT
));
28390 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWTEXT", SWIG_FromInt((int)wxSYS_COLOUR_WINDOWTEXT
));
28391 PyDict_SetItemString(d
,"SYS_COLOUR_CAPTIONTEXT", SWIG_FromInt((int)wxSYS_COLOUR_CAPTIONTEXT
));
28392 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVEBORDER", SWIG_FromInt((int)wxSYS_COLOUR_ACTIVEBORDER
));
28393 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVEBORDER", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVEBORDER
));
28394 PyDict_SetItemString(d
,"SYS_COLOUR_APPWORKSPACE", SWIG_FromInt((int)wxSYS_COLOUR_APPWORKSPACE
));
28395 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_HIGHLIGHT
));
28396 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_FromInt((int)wxSYS_COLOUR_HIGHLIGHTTEXT
));
28397 PyDict_SetItemString(d
,"SYS_COLOUR_BTNFACE", SWIG_FromInt((int)wxSYS_COLOUR_BTNFACE
));
28398 PyDict_SetItemString(d
,"SYS_COLOUR_3DFACE", SWIG_FromInt((int)wxSYS_COLOUR_3DFACE
));
28399 PyDict_SetItemString(d
,"SYS_COLOUR_BTNSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_BTNSHADOW
));
28400 PyDict_SetItemString(d
,"SYS_COLOUR_3DSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_3DSHADOW
));
28401 PyDict_SetItemString(d
,"SYS_COLOUR_GRAYTEXT", SWIG_FromInt((int)wxSYS_COLOUR_GRAYTEXT
));
28402 PyDict_SetItemString(d
,"SYS_COLOUR_BTNTEXT", SWIG_FromInt((int)wxSYS_COLOUR_BTNTEXT
));
28403 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVECAPTIONTEXT
));
28404 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_BTNHIGHLIGHT
));
28405 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_BTNHILIGHT
));
28406 PyDict_SetItemString(d
,"SYS_COLOUR_3DHIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DHIGHLIGHT
));
28407 PyDict_SetItemString(d
,"SYS_COLOUR_3DHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DHILIGHT
));
28408 PyDict_SetItemString(d
,"SYS_COLOUR_3DDKSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_3DDKSHADOW
));
28409 PyDict_SetItemString(d
,"SYS_COLOUR_3DLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DLIGHT
));
28410 PyDict_SetItemString(d
,"SYS_COLOUR_INFOTEXT", SWIG_FromInt((int)wxSYS_COLOUR_INFOTEXT
));
28411 PyDict_SetItemString(d
,"SYS_COLOUR_INFOBK", SWIG_FromInt((int)wxSYS_COLOUR_INFOBK
));
28412 PyDict_SetItemString(d
,"SYS_COLOUR_LISTBOX", SWIG_FromInt((int)wxSYS_COLOUR_LISTBOX
));
28413 PyDict_SetItemString(d
,"SYS_COLOUR_HOTLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_HOTLIGHT
));
28414 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_GRADIENTACTIVECAPTION
));
28415 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_GRADIENTINACTIVECAPTION
));
28416 PyDict_SetItemString(d
,"SYS_COLOUR_MENUHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_MENUHILIGHT
));
28417 PyDict_SetItemString(d
,"SYS_COLOUR_MENUBAR", SWIG_FromInt((int)wxSYS_COLOUR_MENUBAR
));
28418 PyDict_SetItemString(d
,"SYS_COLOUR_MAX", SWIG_FromInt((int)wxSYS_COLOUR_MAX
));
28419 PyDict_SetItemString(d
,"SYS_MOUSE_BUTTONS", SWIG_FromInt((int)wxSYS_MOUSE_BUTTONS
));
28420 PyDict_SetItemString(d
,"SYS_BORDER_X", SWIG_FromInt((int)wxSYS_BORDER_X
));
28421 PyDict_SetItemString(d
,"SYS_BORDER_Y", SWIG_FromInt((int)wxSYS_BORDER_Y
));
28422 PyDict_SetItemString(d
,"SYS_CURSOR_X", SWIG_FromInt((int)wxSYS_CURSOR_X
));
28423 PyDict_SetItemString(d
,"SYS_CURSOR_Y", SWIG_FromInt((int)wxSYS_CURSOR_Y
));
28424 PyDict_SetItemString(d
,"SYS_DCLICK_X", SWIG_FromInt((int)wxSYS_DCLICK_X
));
28425 PyDict_SetItemString(d
,"SYS_DCLICK_Y", SWIG_FromInt((int)wxSYS_DCLICK_Y
));
28426 PyDict_SetItemString(d
,"SYS_DRAG_X", SWIG_FromInt((int)wxSYS_DRAG_X
));
28427 PyDict_SetItemString(d
,"SYS_DRAG_Y", SWIG_FromInt((int)wxSYS_DRAG_Y
));
28428 PyDict_SetItemString(d
,"SYS_EDGE_X", SWIG_FromInt((int)wxSYS_EDGE_X
));
28429 PyDict_SetItemString(d
,"SYS_EDGE_Y", SWIG_FromInt((int)wxSYS_EDGE_Y
));
28430 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_X", SWIG_FromInt((int)wxSYS_HSCROLL_ARROW_X
));
28431 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_Y", SWIG_FromInt((int)wxSYS_HSCROLL_ARROW_Y
));
28432 PyDict_SetItemString(d
,"SYS_HTHUMB_X", SWIG_FromInt((int)wxSYS_HTHUMB_X
));
28433 PyDict_SetItemString(d
,"SYS_ICON_X", SWIG_FromInt((int)wxSYS_ICON_X
));
28434 PyDict_SetItemString(d
,"SYS_ICON_Y", SWIG_FromInt((int)wxSYS_ICON_Y
));
28435 PyDict_SetItemString(d
,"SYS_ICONSPACING_X", SWIG_FromInt((int)wxSYS_ICONSPACING_X
));
28436 PyDict_SetItemString(d
,"SYS_ICONSPACING_Y", SWIG_FromInt((int)wxSYS_ICONSPACING_Y
));
28437 PyDict_SetItemString(d
,"SYS_WINDOWMIN_X", SWIG_FromInt((int)wxSYS_WINDOWMIN_X
));
28438 PyDict_SetItemString(d
,"SYS_WINDOWMIN_Y", SWIG_FromInt((int)wxSYS_WINDOWMIN_Y
));
28439 PyDict_SetItemString(d
,"SYS_SCREEN_X", SWIG_FromInt((int)wxSYS_SCREEN_X
));
28440 PyDict_SetItemString(d
,"SYS_SCREEN_Y", SWIG_FromInt((int)wxSYS_SCREEN_Y
));
28441 PyDict_SetItemString(d
,"SYS_FRAMESIZE_X", SWIG_FromInt((int)wxSYS_FRAMESIZE_X
));
28442 PyDict_SetItemString(d
,"SYS_FRAMESIZE_Y", SWIG_FromInt((int)wxSYS_FRAMESIZE_Y
));
28443 PyDict_SetItemString(d
,"SYS_SMALLICON_X", SWIG_FromInt((int)wxSYS_SMALLICON_X
));
28444 PyDict_SetItemString(d
,"SYS_SMALLICON_Y", SWIG_FromInt((int)wxSYS_SMALLICON_Y
));
28445 PyDict_SetItemString(d
,"SYS_HSCROLL_Y", SWIG_FromInt((int)wxSYS_HSCROLL_Y
));
28446 PyDict_SetItemString(d
,"SYS_VSCROLL_X", SWIG_FromInt((int)wxSYS_VSCROLL_X
));
28447 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_X", SWIG_FromInt((int)wxSYS_VSCROLL_ARROW_X
));
28448 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_Y", SWIG_FromInt((int)wxSYS_VSCROLL_ARROW_Y
));
28449 PyDict_SetItemString(d
,"SYS_VTHUMB_Y", SWIG_FromInt((int)wxSYS_VTHUMB_Y
));
28450 PyDict_SetItemString(d
,"SYS_CAPTION_Y", SWIG_FromInt((int)wxSYS_CAPTION_Y
));
28451 PyDict_SetItemString(d
,"SYS_MENU_Y", SWIG_FromInt((int)wxSYS_MENU_Y
));
28452 PyDict_SetItemString(d
,"SYS_NETWORK_PRESENT", SWIG_FromInt((int)wxSYS_NETWORK_PRESENT
));
28453 PyDict_SetItemString(d
,"SYS_PENWINDOWS_PRESENT", SWIG_FromInt((int)wxSYS_PENWINDOWS_PRESENT
));
28454 PyDict_SetItemString(d
,"SYS_SHOW_SOUNDS", SWIG_FromInt((int)wxSYS_SHOW_SOUNDS
));
28455 PyDict_SetItemString(d
,"SYS_SWAP_BUTTONS", SWIG_FromInt((int)wxSYS_SWAP_BUTTONS
));
28456 PyDict_SetItemString(d
,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_FromInt((int)wxSYS_CAN_DRAW_FRAME_DECORATIONS
));
28457 PyDict_SetItemString(d
,"SYS_CAN_ICONIZE_FRAME", SWIG_FromInt((int)wxSYS_CAN_ICONIZE_FRAME
));
28458 PyDict_SetItemString(d
,"SYS_SCREEN_NONE", SWIG_FromInt((int)wxSYS_SCREEN_NONE
));
28459 PyDict_SetItemString(d
,"SYS_SCREEN_TINY", SWIG_FromInt((int)wxSYS_SCREEN_TINY
));
28460 PyDict_SetItemString(d
,"SYS_SCREEN_PDA", SWIG_FromInt((int)wxSYS_SCREEN_PDA
));
28461 PyDict_SetItemString(d
,"SYS_SCREEN_SMALL", SWIG_FromInt((int)wxSYS_SCREEN_SMALL
));
28462 PyDict_SetItemString(d
,"SYS_SCREEN_DESKTOP", SWIG_FromInt((int)wxSYS_SCREEN_DESKTOP
));
28463 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
28464 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
28465 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
28466 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
28467 PyDict_SetItemString(d
,"SHUTDOWN_POWEROFF", SWIG_FromInt((int)wxSHUTDOWN_POWEROFF
));
28468 PyDict_SetItemString(d
,"SHUTDOWN_REBOOT", SWIG_FromInt((int)wxSHUTDOWN_REBOOT
));
28469 PyDict_SetItemString(d
,"TIMER_CONTINUOUS", SWIG_FromInt((int)wxTIMER_CONTINUOUS
));
28470 PyDict_SetItemString(d
,"TIMER_ONE_SHOT", SWIG_FromInt((int)wxTIMER_ONE_SHOT
));
28471 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
28472 PyDict_SetItemString(d
,"LOG_FatalError", SWIG_FromInt((int)wxLOG_FatalError
));
28473 PyDict_SetItemString(d
,"LOG_Error", SWIG_FromInt((int)wxLOG_Error
));
28474 PyDict_SetItemString(d
,"LOG_Warning", SWIG_FromInt((int)wxLOG_Warning
));
28475 PyDict_SetItemString(d
,"LOG_Message", SWIG_FromInt((int)wxLOG_Message
));
28476 PyDict_SetItemString(d
,"LOG_Status", SWIG_FromInt((int)wxLOG_Status
));
28477 PyDict_SetItemString(d
,"LOG_Info", SWIG_FromInt((int)wxLOG_Info
));
28478 PyDict_SetItemString(d
,"LOG_Debug", SWIG_FromInt((int)wxLOG_Debug
));
28479 PyDict_SetItemString(d
,"LOG_Trace", SWIG_FromInt((int)wxLOG_Trace
));
28480 PyDict_SetItemString(d
,"LOG_Progress", SWIG_FromInt((int)wxLOG_Progress
));
28481 PyDict_SetItemString(d
,"LOG_User", SWIG_FromInt((int)wxLOG_User
));
28482 PyDict_SetItemString(d
,"LOG_Max", SWIG_FromInt((int)wxLOG_Max
));
28483 PyDict_SetItemString(d
,"TRACE_MemAlloc", SWIG_FromCharPtr("memalloc"));
28484 PyDict_SetItemString(d
,"TRACE_Messages", SWIG_FromCharPtr("messages"));
28485 PyDict_SetItemString(d
,"TRACE_ResAlloc", SWIG_FromCharPtr("resalloc"));
28486 PyDict_SetItemString(d
,"TRACE_RefCount", SWIG_FromCharPtr("refcount"));
28487 PyDict_SetItemString(d
,"TRACE_OleCalls", SWIG_FromCharPtr("ole"));
28488 PyDict_SetItemString(d
,"TraceMemAlloc", SWIG_FromInt((int)0x0001));
28489 PyDict_SetItemString(d
,"TraceMessages", SWIG_FromInt((int)0x0002));
28490 PyDict_SetItemString(d
,"TraceResAlloc", SWIG_FromInt((int)0x0004));
28491 PyDict_SetItemString(d
,"TraceRefCount", SWIG_FromInt((int)0x0008));
28492 PyDict_SetItemString(d
,"TraceOleCalls", SWIG_FromInt((int)0x0100));
28493 PyDict_SetItemString(d
,"PROCESS_DEFAULT", SWIG_FromInt((int)wxPROCESS_DEFAULT
));
28494 PyDict_SetItemString(d
,"PROCESS_REDIRECT", SWIG_FromInt((int)wxPROCESS_REDIRECT
));
28495 PyDict_SetItemString(d
,"KILL_OK", SWIG_FromInt((int)wxKILL_OK
));
28496 PyDict_SetItemString(d
,"KILL_BAD_SIGNAL", SWIG_FromInt((int)wxKILL_BAD_SIGNAL
));
28497 PyDict_SetItemString(d
,"KILL_ACCESS_DENIED", SWIG_FromInt((int)wxKILL_ACCESS_DENIED
));
28498 PyDict_SetItemString(d
,"KILL_NO_PROCESS", SWIG_FromInt((int)wxKILL_NO_PROCESS
));
28499 PyDict_SetItemString(d
,"KILL_ERROR", SWIG_FromInt((int)wxKILL_ERROR
));
28500 PyDict_SetItemString(d
,"SIGNONE", SWIG_FromInt((int)wxSIGNONE
));
28501 PyDict_SetItemString(d
,"SIGHUP", SWIG_FromInt((int)wxSIGHUP
));
28502 PyDict_SetItemString(d
,"SIGINT", SWIG_FromInt((int)wxSIGINT
));
28503 PyDict_SetItemString(d
,"SIGQUIT", SWIG_FromInt((int)wxSIGQUIT
));
28504 PyDict_SetItemString(d
,"SIGILL", SWIG_FromInt((int)wxSIGILL
));
28505 PyDict_SetItemString(d
,"SIGTRAP", SWIG_FromInt((int)wxSIGTRAP
));
28506 PyDict_SetItemString(d
,"SIGABRT", SWIG_FromInt((int)wxSIGABRT
));
28507 PyDict_SetItemString(d
,"SIGIOT", SWIG_FromInt((int)wxSIGIOT
));
28508 PyDict_SetItemString(d
,"SIGEMT", SWIG_FromInt((int)wxSIGEMT
));
28509 PyDict_SetItemString(d
,"SIGFPE", SWIG_FromInt((int)wxSIGFPE
));
28510 PyDict_SetItemString(d
,"SIGKILL", SWIG_FromInt((int)wxSIGKILL
));
28511 PyDict_SetItemString(d
,"SIGBUS", SWIG_FromInt((int)wxSIGBUS
));
28512 PyDict_SetItemString(d
,"SIGSEGV", SWIG_FromInt((int)wxSIGSEGV
));
28513 PyDict_SetItemString(d
,"SIGSYS", SWIG_FromInt((int)wxSIGSYS
));
28514 PyDict_SetItemString(d
,"SIGPIPE", SWIG_FromInt((int)wxSIGPIPE
));
28515 PyDict_SetItemString(d
,"SIGALRM", SWIG_FromInt((int)wxSIGALRM
));
28516 PyDict_SetItemString(d
,"SIGTERM", SWIG_FromInt((int)wxSIGTERM
));
28517 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
28518 PyDict_SetItemString(d
,"EXEC_ASYNC", SWIG_FromInt((int)wxEXEC_ASYNC
));
28519 PyDict_SetItemString(d
,"EXEC_SYNC", SWIG_FromInt((int)wxEXEC_SYNC
));
28520 PyDict_SetItemString(d
,"EXEC_NOHIDE", SWIG_FromInt((int)wxEXEC_NOHIDE
));
28521 PyDict_SetItemString(d
,"EXEC_MAKE_GROUP_LEADER", SWIG_FromInt((int)wxEXEC_MAKE_GROUP_LEADER
));
28523 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
28525 PyDict_SetItemString(d
,"JOYSTICK1", SWIG_FromInt((int)wxJOYSTICK1
));
28526 PyDict_SetItemString(d
,"JOYSTICK2", SWIG_FromInt((int)wxJOYSTICK2
));
28527 PyDict_SetItemString(d
,"JOY_BUTTON_ANY", SWIG_FromInt((int)wxJOY_BUTTON_ANY
));
28528 PyDict_SetItemString(d
,"JOY_BUTTON1", SWIG_FromInt((int)wxJOY_BUTTON1
));
28529 PyDict_SetItemString(d
,"JOY_BUTTON2", SWIG_FromInt((int)wxJOY_BUTTON2
));
28530 PyDict_SetItemString(d
,"JOY_BUTTON3", SWIG_FromInt((int)wxJOY_BUTTON3
));
28531 PyDict_SetItemString(d
,"JOY_BUTTON4", SWIG_FromInt((int)wxJOY_BUTTON4
));
28532 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
28533 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
28534 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
28535 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
28536 PyDict_SetItemString(d
,"SOUND_SYNC", SWIG_FromInt((int)wxSOUND_SYNC
));
28537 PyDict_SetItemString(d
,"SOUND_ASYNC", SWIG_FromInt((int)wxSOUND_ASYNC
));
28538 PyDict_SetItemString(d
,"SOUND_LOOP", SWIG_FromInt((int)wxSOUND_LOOP
));
28539 PyDict_SetItemString(d
,"MAILCAP_STANDARD", SWIG_FromInt((int)wxMAILCAP_STANDARD
));
28540 PyDict_SetItemString(d
,"MAILCAP_NETSCAPE", SWIG_FromInt((int)wxMAILCAP_NETSCAPE
));
28541 PyDict_SetItemString(d
,"MAILCAP_KDE", SWIG_FromInt((int)wxMAILCAP_KDE
));
28542 PyDict_SetItemString(d
,"MAILCAP_GNOME", SWIG_FromInt((int)wxMAILCAP_GNOME
));
28543 PyDict_SetItemString(d
,"MAILCAP_ALL", SWIG_FromInt((int)wxMAILCAP_ALL
));
28544 SWIG_addvarlink(SWIG_globals
,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get
, _wrap_TheMimeTypesManager_set
);
28545 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get
, _wrap_ART_TOOLBAR_set
);
28546 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MENU",_wrap_ART_MENU_get
, _wrap_ART_MENU_set
);
28547 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get
, _wrap_ART_FRAME_ICON_set
);
28548 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get
, _wrap_ART_CMN_DIALOG_set
);
28549 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get
, _wrap_ART_HELP_BROWSER_set
);
28550 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get
, _wrap_ART_MESSAGE_BOX_set
);
28551 SWIG_addvarlink(SWIG_globals
,(char*)"ART_OTHER",_wrap_ART_OTHER_get
, _wrap_ART_OTHER_set
);
28552 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get
, _wrap_ART_ADD_BOOKMARK_set
);
28553 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get
, _wrap_ART_DEL_BOOKMARK_set
);
28554 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get
, _wrap_ART_HELP_SIDE_PANEL_set
);
28555 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get
, _wrap_ART_HELP_SETTINGS_set
);
28556 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get
, _wrap_ART_HELP_BOOK_set
);
28557 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get
, _wrap_ART_HELP_FOLDER_set
);
28558 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get
, _wrap_ART_HELP_PAGE_set
);
28559 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get
, _wrap_ART_GO_BACK_set
);
28560 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get
, _wrap_ART_GO_FORWARD_set
);
28561 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get
, _wrap_ART_GO_UP_set
);
28562 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get
, _wrap_ART_GO_DOWN_set
);
28563 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get
, _wrap_ART_GO_TO_PARENT_set
);
28564 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get
, _wrap_ART_GO_HOME_set
);
28565 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get
, _wrap_ART_FILE_OPEN_set
);
28566 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PRINT",_wrap_ART_PRINT_get
, _wrap_ART_PRINT_set
);
28567 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP",_wrap_ART_HELP_get
, _wrap_ART_HELP_set
);
28568 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TIP",_wrap_ART_TIP_get
, _wrap_ART_TIP_set
);
28569 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get
, _wrap_ART_REPORT_VIEW_set
);
28570 SWIG_addvarlink(SWIG_globals
,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get
, _wrap_ART_LIST_VIEW_set
);
28571 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get
, _wrap_ART_NEW_DIR_set
);
28572 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get
, _wrap_ART_FOLDER_set
);
28573 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get
, _wrap_ART_GO_DIR_UP_set
);
28574 SWIG_addvarlink(SWIG_globals
,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get
, _wrap_ART_EXECUTABLE_FILE_set
);
28575 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get
, _wrap_ART_NORMAL_FILE_set
);
28576 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get
, _wrap_ART_TICK_MARK_set
);
28577 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get
, _wrap_ART_CROSS_MARK_set
);
28578 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ERROR",_wrap_ART_ERROR_get
, _wrap_ART_ERROR_set
);
28579 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get
, _wrap_ART_QUESTION_set
);
28580 SWIG_addvarlink(SWIG_globals
,(char*)"ART_WARNING",_wrap_ART_WARNING_get
, _wrap_ART_WARNING_set
);
28581 SWIG_addvarlink(SWIG_globals
,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get
, _wrap_ART_INFORMATION_set
);
28582 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get
, _wrap_ART_MISSING_IMAGE_set
);
28584 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
28586 PyDict_SetItemString(d
,"CONFIG_USE_LOCAL_FILE", SWIG_FromInt((int)wxCONFIG_USE_LOCAL_FILE
));
28587 PyDict_SetItemString(d
,"CONFIG_USE_GLOBAL_FILE", SWIG_FromInt((int)wxCONFIG_USE_GLOBAL_FILE
));
28588 PyDict_SetItemString(d
,"CONFIG_USE_RELATIVE_PATH", SWIG_FromInt((int)wxCONFIG_USE_RELATIVE_PATH
));
28589 PyDict_SetItemString(d
,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_FromInt((int)wxCONFIG_USE_NO_ESCAPE_CHARACTERS
));
28590 PyDict_SetItemString(d
,"ConfigBase_Type_Unknown", SWIG_FromInt((int)wxConfigBase::Type_Unknown
));
28591 PyDict_SetItemString(d
,"ConfigBase_Type_String", SWIG_FromInt((int)wxConfigBase::Type_String
));
28592 PyDict_SetItemString(d
,"ConfigBase_Type_Boolean", SWIG_FromInt((int)wxConfigBase::Type_Boolean
));
28593 PyDict_SetItemString(d
,"ConfigBase_Type_Integer", SWIG_FromInt((int)wxConfigBase::Type_Integer
));
28594 PyDict_SetItemString(d
,"ConfigBase_Type_Float", SWIG_FromInt((int)wxConfigBase::Type_Float
));
28595 SWIG_addvarlink(SWIG_globals
,(char*)"DateFormatStr",_wrap_DateFormatStr_get
, _wrap_DateFormatStr_set
);
28596 SWIG_addvarlink(SWIG_globals
,(char*)"TimeSpanFormatStr",_wrap_TimeSpanFormatStr_get
, _wrap_TimeSpanFormatStr_set
);
28597 PyDict_SetItemString(d
,"DateTime_Local", SWIG_FromInt((int)wxDateTime::Local
));
28598 PyDict_SetItemString(d
,"DateTime_GMT_12", SWIG_FromInt((int)wxDateTime::GMT_12
));
28599 PyDict_SetItemString(d
,"DateTime_GMT_11", SWIG_FromInt((int)wxDateTime::GMT_11
));
28600 PyDict_SetItemString(d
,"DateTime_GMT_10", SWIG_FromInt((int)wxDateTime::GMT_10
));
28601 PyDict_SetItemString(d
,"DateTime_GMT_9", SWIG_FromInt((int)wxDateTime::GMT_9
));
28602 PyDict_SetItemString(d
,"DateTime_GMT_8", SWIG_FromInt((int)wxDateTime::GMT_8
));
28603 PyDict_SetItemString(d
,"DateTime_GMT_7", SWIG_FromInt((int)wxDateTime::GMT_7
));
28604 PyDict_SetItemString(d
,"DateTime_GMT_6", SWIG_FromInt((int)wxDateTime::GMT_6
));
28605 PyDict_SetItemString(d
,"DateTime_GMT_5", SWIG_FromInt((int)wxDateTime::GMT_5
));
28606 PyDict_SetItemString(d
,"DateTime_GMT_4", SWIG_FromInt((int)wxDateTime::GMT_4
));
28607 PyDict_SetItemString(d
,"DateTime_GMT_3", SWIG_FromInt((int)wxDateTime::GMT_3
));
28608 PyDict_SetItemString(d
,"DateTime_GMT_2", SWIG_FromInt((int)wxDateTime::GMT_2
));
28609 PyDict_SetItemString(d
,"DateTime_GMT_1", SWIG_FromInt((int)wxDateTime::GMT_1
));
28610 PyDict_SetItemString(d
,"DateTime_GMT0", SWIG_FromInt((int)wxDateTime::GMT0
));
28611 PyDict_SetItemString(d
,"DateTime_GMT1", SWIG_FromInt((int)wxDateTime::GMT1
));
28612 PyDict_SetItemString(d
,"DateTime_GMT2", SWIG_FromInt((int)wxDateTime::GMT2
));
28613 PyDict_SetItemString(d
,"DateTime_GMT3", SWIG_FromInt((int)wxDateTime::GMT3
));
28614 PyDict_SetItemString(d
,"DateTime_GMT4", SWIG_FromInt((int)wxDateTime::GMT4
));
28615 PyDict_SetItemString(d
,"DateTime_GMT5", SWIG_FromInt((int)wxDateTime::GMT5
));
28616 PyDict_SetItemString(d
,"DateTime_GMT6", SWIG_FromInt((int)wxDateTime::GMT6
));
28617 PyDict_SetItemString(d
,"DateTime_GMT7", SWIG_FromInt((int)wxDateTime::GMT7
));
28618 PyDict_SetItemString(d
,"DateTime_GMT8", SWIG_FromInt((int)wxDateTime::GMT8
));
28619 PyDict_SetItemString(d
,"DateTime_GMT9", SWIG_FromInt((int)wxDateTime::GMT9
));
28620 PyDict_SetItemString(d
,"DateTime_GMT10", SWIG_FromInt((int)wxDateTime::GMT10
));
28621 PyDict_SetItemString(d
,"DateTime_GMT11", SWIG_FromInt((int)wxDateTime::GMT11
));
28622 PyDict_SetItemString(d
,"DateTime_GMT12", SWIG_FromInt((int)wxDateTime::GMT12
));
28623 PyDict_SetItemString(d
,"DateTime_WET", SWIG_FromInt((int)wxDateTime::WET
));
28624 PyDict_SetItemString(d
,"DateTime_WEST", SWIG_FromInt((int)wxDateTime::WEST
));
28625 PyDict_SetItemString(d
,"DateTime_CET", SWIG_FromInt((int)wxDateTime::CET
));
28626 PyDict_SetItemString(d
,"DateTime_CEST", SWIG_FromInt((int)wxDateTime::CEST
));
28627 PyDict_SetItemString(d
,"DateTime_EET", SWIG_FromInt((int)wxDateTime::EET
));
28628 PyDict_SetItemString(d
,"DateTime_EEST", SWIG_FromInt((int)wxDateTime::EEST
));
28629 PyDict_SetItemString(d
,"DateTime_MSK", SWIG_FromInt((int)wxDateTime::MSK
));
28630 PyDict_SetItemString(d
,"DateTime_MSD", SWIG_FromInt((int)wxDateTime::MSD
));
28631 PyDict_SetItemString(d
,"DateTime_AST", SWIG_FromInt((int)wxDateTime::AST
));
28632 PyDict_SetItemString(d
,"DateTime_ADT", SWIG_FromInt((int)wxDateTime::ADT
));
28633 PyDict_SetItemString(d
,"DateTime_EST", SWIG_FromInt((int)wxDateTime::EST
));
28634 PyDict_SetItemString(d
,"DateTime_EDT", SWIG_FromInt((int)wxDateTime::EDT
));
28635 PyDict_SetItemString(d
,"DateTime_CST", SWIG_FromInt((int)wxDateTime::CST
));
28636 PyDict_SetItemString(d
,"DateTime_CDT", SWIG_FromInt((int)wxDateTime::CDT
));
28637 PyDict_SetItemString(d
,"DateTime_MST", SWIG_FromInt((int)wxDateTime::MST
));
28638 PyDict_SetItemString(d
,"DateTime_MDT", SWIG_FromInt((int)wxDateTime::MDT
));
28639 PyDict_SetItemString(d
,"DateTime_PST", SWIG_FromInt((int)wxDateTime::PST
));
28640 PyDict_SetItemString(d
,"DateTime_PDT", SWIG_FromInt((int)wxDateTime::PDT
));
28641 PyDict_SetItemString(d
,"DateTime_HST", SWIG_FromInt((int)wxDateTime::HST
));
28642 PyDict_SetItemString(d
,"DateTime_AKST", SWIG_FromInt((int)wxDateTime::AKST
));
28643 PyDict_SetItemString(d
,"DateTime_AKDT", SWIG_FromInt((int)wxDateTime::AKDT
));
28644 PyDict_SetItemString(d
,"DateTime_A_WST", SWIG_FromInt((int)wxDateTime::A_WST
));
28645 PyDict_SetItemString(d
,"DateTime_A_CST", SWIG_FromInt((int)wxDateTime::A_CST
));
28646 PyDict_SetItemString(d
,"DateTime_A_EST", SWIG_FromInt((int)wxDateTime::A_EST
));
28647 PyDict_SetItemString(d
,"DateTime_A_ESST", SWIG_FromInt((int)wxDateTime::A_ESST
));
28648 PyDict_SetItemString(d
,"DateTime_UTC", SWIG_FromInt((int)wxDateTime::UTC
));
28649 PyDict_SetItemString(d
,"DateTime_Gregorian", SWIG_FromInt((int)wxDateTime::Gregorian
));
28650 PyDict_SetItemString(d
,"DateTime_Julian", SWIG_FromInt((int)wxDateTime::Julian
));
28651 PyDict_SetItemString(d
,"DateTime_Gr_Unknown", SWIG_FromInt((int)wxDateTime::Gr_Unknown
));
28652 PyDict_SetItemString(d
,"DateTime_Gr_Standard", SWIG_FromInt((int)wxDateTime::Gr_Standard
));
28653 PyDict_SetItemString(d
,"DateTime_Gr_Alaska", SWIG_FromInt((int)wxDateTime::Gr_Alaska
));
28654 PyDict_SetItemString(d
,"DateTime_Gr_Albania", SWIG_FromInt((int)wxDateTime::Gr_Albania
));
28655 PyDict_SetItemString(d
,"DateTime_Gr_Austria", SWIG_FromInt((int)wxDateTime::Gr_Austria
));
28656 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Brixen", SWIG_FromInt((int)wxDateTime::Gr_Austria_Brixen
));
28657 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Salzburg", SWIG_FromInt((int)wxDateTime::Gr_Austria_Salzburg
));
28658 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Tyrol", SWIG_FromInt((int)wxDateTime::Gr_Austria_Tyrol
));
28659 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Carinthia", SWIG_FromInt((int)wxDateTime::Gr_Austria_Carinthia
));
28660 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Styria", SWIG_FromInt((int)wxDateTime::Gr_Austria_Styria
));
28661 PyDict_SetItemString(d
,"DateTime_Gr_Belgium", SWIG_FromInt((int)wxDateTime::Gr_Belgium
));
28662 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria
));
28663 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_1", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_1
));
28664 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_2", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_2
));
28665 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_3", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_3
));
28666 PyDict_SetItemString(d
,"DateTime_Gr_Canada", SWIG_FromInt((int)wxDateTime::Gr_Canada
));
28667 PyDict_SetItemString(d
,"DateTime_Gr_China", SWIG_FromInt((int)wxDateTime::Gr_China
));
28668 PyDict_SetItemString(d
,"DateTime_Gr_China_1", SWIG_FromInt((int)wxDateTime::Gr_China_1
));
28669 PyDict_SetItemString(d
,"DateTime_Gr_China_2", SWIG_FromInt((int)wxDateTime::Gr_China_2
));
28670 PyDict_SetItemString(d
,"DateTime_Gr_Czechoslovakia", SWIG_FromInt((int)wxDateTime::Gr_Czechoslovakia
));
28671 PyDict_SetItemString(d
,"DateTime_Gr_Denmark", SWIG_FromInt((int)wxDateTime::Gr_Denmark
));
28672 PyDict_SetItemString(d
,"DateTime_Gr_Egypt", SWIG_FromInt((int)wxDateTime::Gr_Egypt
));
28673 PyDict_SetItemString(d
,"DateTime_Gr_Estonia", SWIG_FromInt((int)wxDateTime::Gr_Estonia
));
28674 PyDict_SetItemString(d
,"DateTime_Gr_Finland", SWIG_FromInt((int)wxDateTime::Gr_Finland
));
28675 PyDict_SetItemString(d
,"DateTime_Gr_France", SWIG_FromInt((int)wxDateTime::Gr_France
));
28676 PyDict_SetItemString(d
,"DateTime_Gr_France_Alsace", SWIG_FromInt((int)wxDateTime::Gr_France_Alsace
));
28677 PyDict_SetItemString(d
,"DateTime_Gr_France_Lorraine", SWIG_FromInt((int)wxDateTime::Gr_France_Lorraine
));
28678 PyDict_SetItemString(d
,"DateTime_Gr_France_Strasbourg", SWIG_FromInt((int)wxDateTime::Gr_France_Strasbourg
));
28679 PyDict_SetItemString(d
,"DateTime_Gr_Germany", SWIG_FromInt((int)wxDateTime::Gr_Germany
));
28680 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Catholic", SWIG_FromInt((int)wxDateTime::Gr_Germany_Catholic
));
28681 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Prussia", SWIG_FromInt((int)wxDateTime::Gr_Germany_Prussia
));
28682 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Protestant", SWIG_FromInt((int)wxDateTime::Gr_Germany_Protestant
));
28683 PyDict_SetItemString(d
,"DateTime_Gr_GreatBritain", SWIG_FromInt((int)wxDateTime::Gr_GreatBritain
));
28684 PyDict_SetItemString(d
,"DateTime_Gr_Greece", SWIG_FromInt((int)wxDateTime::Gr_Greece
));
28685 PyDict_SetItemString(d
,"DateTime_Gr_Hungary", SWIG_FromInt((int)wxDateTime::Gr_Hungary
));
28686 PyDict_SetItemString(d
,"DateTime_Gr_Ireland", SWIG_FromInt((int)wxDateTime::Gr_Ireland
));
28687 PyDict_SetItemString(d
,"DateTime_Gr_Italy", SWIG_FromInt((int)wxDateTime::Gr_Italy
));
28688 PyDict_SetItemString(d
,"DateTime_Gr_Japan", SWIG_FromInt((int)wxDateTime::Gr_Japan
));
28689 PyDict_SetItemString(d
,"DateTime_Gr_Japan_1", SWIG_FromInt((int)wxDateTime::Gr_Japan_1
));
28690 PyDict_SetItemString(d
,"DateTime_Gr_Japan_2", SWIG_FromInt((int)wxDateTime::Gr_Japan_2
));
28691 PyDict_SetItemString(d
,"DateTime_Gr_Japan_3", SWIG_FromInt((int)wxDateTime::Gr_Japan_3
));
28692 PyDict_SetItemString(d
,"DateTime_Gr_Latvia", SWIG_FromInt((int)wxDateTime::Gr_Latvia
));
28693 PyDict_SetItemString(d
,"DateTime_Gr_Lithuania", SWIG_FromInt((int)wxDateTime::Gr_Lithuania
));
28694 PyDict_SetItemString(d
,"DateTime_Gr_Luxemburg", SWIG_FromInt((int)wxDateTime::Gr_Luxemburg
));
28695 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands", SWIG_FromInt((int)wxDateTime::Gr_Netherlands
));
28696 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Groningen", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Groningen
));
28697 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Gelderland", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Gelderland
));
28698 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Utrecht", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Utrecht
));
28699 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Friesland", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Friesland
));
28700 PyDict_SetItemString(d
,"DateTime_Gr_Norway", SWIG_FromInt((int)wxDateTime::Gr_Norway
));
28701 PyDict_SetItemString(d
,"DateTime_Gr_Poland", SWIG_FromInt((int)wxDateTime::Gr_Poland
));
28702 PyDict_SetItemString(d
,"DateTime_Gr_Portugal", SWIG_FromInt((int)wxDateTime::Gr_Portugal
));
28703 PyDict_SetItemString(d
,"DateTime_Gr_Romania", SWIG_FromInt((int)wxDateTime::Gr_Romania
));
28704 PyDict_SetItemString(d
,"DateTime_Gr_Russia", SWIG_FromInt((int)wxDateTime::Gr_Russia
));
28705 PyDict_SetItemString(d
,"DateTime_Gr_Scotland", SWIG_FromInt((int)wxDateTime::Gr_Scotland
));
28706 PyDict_SetItemString(d
,"DateTime_Gr_Spain", SWIG_FromInt((int)wxDateTime::Gr_Spain
));
28707 PyDict_SetItemString(d
,"DateTime_Gr_Sweden", SWIG_FromInt((int)wxDateTime::Gr_Sweden
));
28708 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland", SWIG_FromInt((int)wxDateTime::Gr_Switzerland
));
28709 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Catholic", SWIG_FromInt((int)wxDateTime::Gr_Switzerland_Catholic
));
28710 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Protestant", SWIG_FromInt((int)wxDateTime::Gr_Switzerland_Protestant
));
28711 PyDict_SetItemString(d
,"DateTime_Gr_Turkey", SWIG_FromInt((int)wxDateTime::Gr_Turkey
));
28712 PyDict_SetItemString(d
,"DateTime_Gr_USA", SWIG_FromInt((int)wxDateTime::Gr_USA
));
28713 PyDict_SetItemString(d
,"DateTime_Gr_Wales", SWIG_FromInt((int)wxDateTime::Gr_Wales
));
28714 PyDict_SetItemString(d
,"DateTime_Gr_Yugoslavia", SWIG_FromInt((int)wxDateTime::Gr_Yugoslavia
));
28715 PyDict_SetItemString(d
,"DateTime_Country_Unknown", SWIG_FromInt((int)wxDateTime::Country_Unknown
));
28716 PyDict_SetItemString(d
,"DateTime_Country_Default", SWIG_FromInt((int)wxDateTime::Country_Default
));
28717 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_Start", SWIG_FromInt((int)wxDateTime::Country_WesternEurope_Start
));
28718 PyDict_SetItemString(d
,"DateTime_Country_EEC", SWIG_FromInt((int)wxDateTime::Country_EEC
));
28719 PyDict_SetItemString(d
,"DateTime_France", SWIG_FromInt((int)wxDateTime::France
));
28720 PyDict_SetItemString(d
,"DateTime_Germany", SWIG_FromInt((int)wxDateTime::Germany
));
28721 PyDict_SetItemString(d
,"DateTime_UK", SWIG_FromInt((int)wxDateTime::UK
));
28722 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_End", SWIG_FromInt((int)wxDateTime::Country_WesternEurope_End
));
28723 PyDict_SetItemString(d
,"DateTime_Russia", SWIG_FromInt((int)wxDateTime::Russia
));
28724 PyDict_SetItemString(d
,"DateTime_USA", SWIG_FromInt((int)wxDateTime::USA
));
28725 PyDict_SetItemString(d
,"DateTime_Jan", SWIG_FromInt((int)wxDateTime::Jan
));
28726 PyDict_SetItemString(d
,"DateTime_Feb", SWIG_FromInt((int)wxDateTime::Feb
));
28727 PyDict_SetItemString(d
,"DateTime_Mar", SWIG_FromInt((int)wxDateTime::Mar
));
28728 PyDict_SetItemString(d
,"DateTime_Apr", SWIG_FromInt((int)wxDateTime::Apr
));
28729 PyDict_SetItemString(d
,"DateTime_May", SWIG_FromInt((int)wxDateTime::May
));
28730 PyDict_SetItemString(d
,"DateTime_Jun", SWIG_FromInt((int)wxDateTime::Jun
));
28731 PyDict_SetItemString(d
,"DateTime_Jul", SWIG_FromInt((int)wxDateTime::Jul
));
28732 PyDict_SetItemString(d
,"DateTime_Aug", SWIG_FromInt((int)wxDateTime::Aug
));
28733 PyDict_SetItemString(d
,"DateTime_Sep", SWIG_FromInt((int)wxDateTime::Sep
));
28734 PyDict_SetItemString(d
,"DateTime_Oct", SWIG_FromInt((int)wxDateTime::Oct
));
28735 PyDict_SetItemString(d
,"DateTime_Nov", SWIG_FromInt((int)wxDateTime::Nov
));
28736 PyDict_SetItemString(d
,"DateTime_Dec", SWIG_FromInt((int)wxDateTime::Dec
));
28737 PyDict_SetItemString(d
,"DateTime_Inv_Month", SWIG_FromInt((int)wxDateTime::Inv_Month
));
28738 PyDict_SetItemString(d
,"DateTime_Sun", SWIG_FromInt((int)wxDateTime::Sun
));
28739 PyDict_SetItemString(d
,"DateTime_Mon", SWIG_FromInt((int)wxDateTime::Mon
));
28740 PyDict_SetItemString(d
,"DateTime_Tue", SWIG_FromInt((int)wxDateTime::Tue
));
28741 PyDict_SetItemString(d
,"DateTime_Wed", SWIG_FromInt((int)wxDateTime::Wed
));
28742 PyDict_SetItemString(d
,"DateTime_Thu", SWIG_FromInt((int)wxDateTime::Thu
));
28743 PyDict_SetItemString(d
,"DateTime_Fri", SWIG_FromInt((int)wxDateTime::Fri
));
28744 PyDict_SetItemString(d
,"DateTime_Sat", SWIG_FromInt((int)wxDateTime::Sat
));
28745 PyDict_SetItemString(d
,"DateTime_Inv_WeekDay", SWIG_FromInt((int)wxDateTime::Inv_WeekDay
));
28746 PyDict_SetItemString(d
,"DateTime_Inv_Year", SWIG_FromInt((int)wxDateTime::Inv_Year
));
28747 PyDict_SetItemString(d
,"DateTime_Name_Full", SWIG_FromInt((int)wxDateTime::Name_Full
));
28748 PyDict_SetItemString(d
,"DateTime_Name_Abbr", SWIG_FromInt((int)wxDateTime::Name_Abbr
));
28749 PyDict_SetItemString(d
,"DateTime_Default_First", SWIG_FromInt((int)wxDateTime::Default_First
));
28750 PyDict_SetItemString(d
,"DateTime_Monday_First", SWIG_FromInt((int)wxDateTime::Monday_First
));
28751 PyDict_SetItemString(d
,"DateTime_Sunday_First", SWIG_FromInt((int)wxDateTime::Sunday_First
));
28752 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultDateTime",_wrap_DefaultDateTime_get
, _wrap_DefaultDateTime_set
);
28753 PyDict_SetItemString(d
,"DF_INVALID", SWIG_FromInt((int)wxDF_INVALID
));
28754 PyDict_SetItemString(d
,"DF_TEXT", SWIG_FromInt((int)wxDF_TEXT
));
28755 PyDict_SetItemString(d
,"DF_BITMAP", SWIG_FromInt((int)wxDF_BITMAP
));
28756 PyDict_SetItemString(d
,"DF_METAFILE", SWIG_FromInt((int)wxDF_METAFILE
));
28757 PyDict_SetItemString(d
,"DF_SYLK", SWIG_FromInt((int)wxDF_SYLK
));
28758 PyDict_SetItemString(d
,"DF_DIF", SWIG_FromInt((int)wxDF_DIF
));
28759 PyDict_SetItemString(d
,"DF_TIFF", SWIG_FromInt((int)wxDF_TIFF
));
28760 PyDict_SetItemString(d
,"DF_OEMTEXT", SWIG_FromInt((int)wxDF_OEMTEXT
));
28761 PyDict_SetItemString(d
,"DF_DIB", SWIG_FromInt((int)wxDF_DIB
));
28762 PyDict_SetItemString(d
,"DF_PALETTE", SWIG_FromInt((int)wxDF_PALETTE
));
28763 PyDict_SetItemString(d
,"DF_PENDATA", SWIG_FromInt((int)wxDF_PENDATA
));
28764 PyDict_SetItemString(d
,"DF_RIFF", SWIG_FromInt((int)wxDF_RIFF
));
28765 PyDict_SetItemString(d
,"DF_WAVE", SWIG_FromInt((int)wxDF_WAVE
));
28766 PyDict_SetItemString(d
,"DF_UNICODETEXT", SWIG_FromInt((int)wxDF_UNICODETEXT
));
28767 PyDict_SetItemString(d
,"DF_ENHMETAFILE", SWIG_FromInt((int)wxDF_ENHMETAFILE
));
28768 PyDict_SetItemString(d
,"DF_FILENAME", SWIG_FromInt((int)wxDF_FILENAME
));
28769 PyDict_SetItemString(d
,"DF_LOCALE", SWIG_FromInt((int)wxDF_LOCALE
));
28770 PyDict_SetItemString(d
,"DF_PRIVATE", SWIG_FromInt((int)wxDF_PRIVATE
));
28771 PyDict_SetItemString(d
,"DF_HTML", SWIG_FromInt((int)wxDF_HTML
));
28772 PyDict_SetItemString(d
,"DF_MAX", SWIG_FromInt((int)wxDF_MAX
));
28773 SWIG_addvarlink(SWIG_globals
,(char*)"FormatInvalid",_wrap_FormatInvalid_get
, _wrap_FormatInvalid_set
);
28774 PyDict_SetItemString(d
,"DataObject_Get", SWIG_FromInt((int)wxDataObject::Get
));
28775 PyDict_SetItemString(d
,"DataObject_Set", SWIG_FromInt((int)wxDataObject::Set
));
28776 PyDict_SetItemString(d
,"DataObject_Both", SWIG_FromInt((int)wxDataObject::Both
));
28777 PyDict_SetItemString(d
,"Drag_CopyOnly", SWIG_FromInt((int)wxDrag_CopyOnly
));
28778 PyDict_SetItemString(d
,"Drag_AllowMove", SWIG_FromInt((int)wxDrag_AllowMove
));
28779 PyDict_SetItemString(d
,"Drag_DefaultMove", SWIG_FromInt((int)wxDrag_DefaultMove
));
28780 PyDict_SetItemString(d
,"DragError", SWIG_FromInt((int)wxDragError
));
28781 PyDict_SetItemString(d
,"DragNone", SWIG_FromInt((int)wxDragNone
));
28782 PyDict_SetItemString(d
,"DragCopy", SWIG_FromInt((int)wxDragCopy
));
28783 PyDict_SetItemString(d
,"DragMove", SWIG_FromInt((int)wxDragMove
));
28784 PyDict_SetItemString(d
,"DragLink", SWIG_FromInt((int)wxDragLink
));
28785 PyDict_SetItemString(d
,"DragCancel", SWIG_FromInt((int)wxDragCancel
));
28787 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
28788 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
28789 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
28790 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
28792 SWIG_addvarlink(SWIG_globals
,(char*)"TheClipboard",_wrap_TheClipboard_get
, _wrap_TheClipboard_set
);