1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
52 /***********************************************************************
53 * common.swg for wxPython
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
60 ************************************************************************/
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
90 # define SWIGRUNTIME(a) static a
97 typedef void *(*swig_converter_func
)(void *);
98 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
100 typedef struct swig_type_info
{
102 swig_converter_func converter
;
105 swig_dycast_func dcast
;
106 struct swig_type_info
*next
;
107 struct swig_type_info
*prev
;
111 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
114 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
116 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
126 /***********************************************************************
127 * pyrun.swg for wxPython
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
134 ************************************************************************/
142 #define SWIG_PY_INT 1
143 #define SWIG_PY_FLOAT 2
144 #define SWIG_PY_STRING 3
145 #define SWIG_PY_POINTER 4
146 #define SWIG_PY_BINARY 5
148 /* Flags for pointer conversion */
150 #define SWIG_POINTER_EXCEPTION 0x1
151 #define SWIG_POINTER_DISOWN 0x2
153 /* Exception handling in wrappers */
154 #define SWIG_fail goto fail
156 /* Constant information structure */
157 typedef struct swig_const_info
{
163 swig_type_info
**ptype
;
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183 #define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
186 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
189 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
191 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
194 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
198 /* Contract support */
200 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
207 /* -------- TYPES TABLE (BEGIN) -------- */
209 #define SWIGTYPE_p_wxLogChain swig_types[0]
210 #define SWIGTYPE_p_wxMutexGuiLocker swig_types[1]
211 #define SWIGTYPE_p_wxMetafile swig_types[2]
212 #define SWIGTYPE_p_wxFileHistory swig_types[3]
213 #define SWIGTYPE_p_wxLog swig_types[4]
214 #define SWIGTYPE_p_wxDateTime__TimeZone swig_types[5]
215 #define SWIGTYPE_p_wxMenu swig_types[6]
216 #define SWIGTYPE_p_wxEvent swig_types[7]
217 #define SWIGTYPE_p_wxConfigBase swig_types[8]
218 #define SWIGTYPE_p_wxDisplay swig_types[9]
219 #define SWIGTYPE_p_wxFileType swig_types[10]
220 #define SWIGTYPE_p_wxLogGui swig_types[11]
221 #define SWIGTYPE_p_wxFont swig_types[12]
222 #define SWIGTYPE_p_wxDataFormat swig_types[13]
223 #define SWIGTYPE_p_wxTimerEvent swig_types[14]
224 #define SWIGTYPE_p_wxCaret swig_types[15]
225 #define SWIGTYPE_p_int swig_types[16]
226 #define SWIGTYPE_p_wxSize swig_types[17]
227 #define SWIGTYPE_p_wxClipboard swig_types[18]
228 #define SWIGTYPE_p_wxStopWatch swig_types[19]
229 #define SWIGTYPE_p_wxDC swig_types[20]
230 #define SWIGTYPE_p_wxClipboardLocker swig_types[21]
231 #define SWIGTYPE_p_wxIcon swig_types[22]
232 #define SWIGTYPE_p_wxLogStderr swig_types[23]
233 #define SWIGTYPE_p_wxLogTextCtrl swig_types[24]
234 #define SWIGTYPE_p_wxTextCtrl swig_types[25]
235 #define SWIGTYPE_p_wxBusyCursor swig_types[26]
236 #define SWIGTYPE_p_wxPyBitmapDataObject swig_types[27]
237 #define SWIGTYPE_p_wxPyTextDataObject swig_types[28]
238 #define SWIGTYPE_p_wxBitmapDataObject swig_types[29]
239 #define SWIGTYPE_p_wxTextDataObject swig_types[30]
240 #define SWIGTYPE_p_wxDataObject swig_types[31]
241 #define SWIGTYPE_p_wxFileDataObject swig_types[32]
242 #define SWIGTYPE_p_wxCustomDataObject swig_types[33]
243 #define SWIGTYPE_p_wxURLDataObject swig_types[34]
244 #define SWIGTYPE_p_wxMetafileDataObject swig_types[35]
245 #define SWIGTYPE_p_wxSound swig_types[36]
246 #define SWIGTYPE_p_wxTimerRunner swig_types[37]
247 #define SWIGTYPE_p_wxLogWindow swig_types[38]
248 #define SWIGTYPE_p_wxTimeSpan swig_types[39]
249 #define SWIGTYPE_p_wxArrayString swig_types[40]
250 #define SWIGTYPE_p_wxWindowDisabler swig_types[41]
251 #define SWIGTYPE_p_wxToolTip swig_types[42]
252 #define SWIGTYPE_p_wxDataObjectComposite swig_types[43]
253 #define SWIGTYPE_p_wxFileConfig swig_types[44]
254 #define SWIGTYPE_p_wxSystemSettings swig_types[45]
255 #define SWIGTYPE_p_wxVideoMode swig_types[46]
256 #define SWIGTYPE_p_wxPyDataObjectSimple swig_types[47]
257 #define SWIGTYPE_p_wxDataObjectSimple swig_types[48]
258 #define SWIGTYPE_p_wxEvtHandler swig_types[49]
259 #define SWIGTYPE_p_wxRect swig_types[50]
260 #define SWIGTYPE_p_char swig_types[51]
261 #define SWIGTYPE_p_wxSingleInstanceChecker swig_types[52]
262 #define SWIGTYPE_p_wxFileTypeInfo swig_types[53]
263 #define SWIGTYPE_p_wxFrame swig_types[54]
264 #define SWIGTYPE_p_wxTimer swig_types[55]
265 #define SWIGTYPE_p_wxMimeTypesManager swig_types[56]
266 #define SWIGTYPE_p_wxPyArtProvider swig_types[57]
267 #define SWIGTYPE_p_wxPyTipProvider swig_types[58]
268 #define SWIGTYPE_p_wxTipProvider swig_types[59]
269 #define SWIGTYPE_p_wxJoystick swig_types[60]
270 #define SWIGTYPE_p_wxSystemOptions swig_types[61]
271 #define SWIGTYPE_p_wxPoint swig_types[62]
272 #define SWIGTYPE_p_wxJoystickEvent swig_types[63]
273 #define SWIGTYPE_p_wxCursor swig_types[64]
274 #define SWIGTYPE_p_wxObject swig_types[65]
275 #define SWIGTYPE_p_wxOutputStream swig_types[66]
276 #define SWIGTYPE_p_wxDateTime swig_types[67]
277 #define SWIGTYPE_p_wxPyDropSource swig_types[68]
278 #define SWIGTYPE_p_wxWindow swig_types[69]
279 #define SWIGTYPE_p_wxString swig_types[70]
280 #define SWIGTYPE_p_wxPyProcess swig_types[71]
281 #define SWIGTYPE_p_wxBitmap swig_types[72]
282 #define SWIGTYPE_p_wxConfig swig_types[73]
283 #define SWIGTYPE_p_wxChar swig_types[74]
284 #define SWIGTYPE_p_wxBusyInfo swig_types[75]
285 #define SWIGTYPE_p_wxPyDropTarget swig_types[76]
286 #define SWIGTYPE_p_wxPyTextDropTarget swig_types[77]
287 #define SWIGTYPE_p_wxPyFileDropTarget swig_types[78]
288 #define SWIGTYPE_p_wxProcessEvent swig_types[79]
289 #define SWIGTYPE_p_wxPyLog swig_types[80]
290 #define SWIGTYPE_p_wxLogNull swig_types[81]
291 #define SWIGTYPE_p_wxColour swig_types[82]
292 #define SWIGTYPE_p_wxConfigPathChanger swig_types[83]
293 #define SWIGTYPE_p_wxPyTimer swig_types[84]
294 #define SWIGTYPE_p_wxDateSpan swig_types[85]
295 static swig_type_info
*swig_types
[87];
297 /* -------- TYPES TABLE (END) -------- */
300 /*-----------------------------------------------
301 @(target):= _misc_.so
302 ------------------------------------------------*/
303 #define SWIG_init init_misc_
305 #define SWIG_name "_misc_"
307 /* Auxiliar swig macros */
310 #define SWIGSTATICINLINE(a) static inline a
311 #define SWIGSTATIC(a) static a
312 #define swig_new_array(type, size) (new type[(size)])
313 #define swig_delete_array(cptr) delete[] cptr
314 #define swig_const_cast(type,a) const_cast<type>(a)
315 #define swig_static_cast(type,a) static_cast<type>(a)
316 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
318 #ifdef HAVE_NUMERIC_CAST
319 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
321 #define swig_numeric_cast(type,a) static_cast<type>(a)
326 #define SWIGSTATICINLINE(a) static a
327 #define SWIGSTATIC(a) static a
328 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
329 #define swig_delete_array(cptr) free((char*)cptr)
330 #define swig_const_cast(type,a) (type)(a)
331 #define swig_static_cast(type,a) (type)(a)
332 #define swig_reinterpret_cast(type,a) (type)(a)
333 #define swig_numeric_cast(type,a) (type)(a)
335 #endif /* __cplusplus */
338 #define SWIG_FromSignedChar PyInt_FromLong
339 #define SWIG_FromUnsignedChar PyInt_FromLong
340 #define SWIG_FromShort PyInt_FromLong
341 #define SWIG_FromUnsignedShort PyInt_FromLong
342 #define SWIG_FromInt PyInt_FromLong
343 #define SWIG_FromLong PyInt_FromLong
344 #define SWIG_FromFloat PyFloat_FromDouble
345 #define SWIG_FromDouble PyFloat_FromDouble
346 #define SWIG_FromFloat PyFloat_FromDouble
347 #define SWIG_FromDouble PyFloat_FromDouble
350 #include "wx/wxPython/wxPython.h"
351 #include "wx/wxPython/pyclasses.h"
352 #include "wx/wxPython/pyistream.h"
355 static const wxString
wxPyEmptyString(wxEmptyString
);
362 SWIGSTATICINLINE(long)
363 SWIG_CheckLongInRange(long value
, const char* type
,
364 long min_value
, long max_value
)
366 if (!PyErr_Occurred()) {
367 if (value
< min_value
) {
369 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
370 value
, type
, min_value
);
372 PyErr_SetObject(PyExc_OverflowError
, err
);
374 } else if (value
> max_value
) {
376 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
377 value
, type
, max_value
);
378 PyErr_SetObject(PyExc_OverflowError
, err
);
386 SWIGSTATICINLINE(long)
387 SWIG_AsLong(PyObject
* obj
)
389 if (PyNumber_Check(obj
))
390 return PyInt_AsLong(obj
);
392 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
393 obj
->ob_type
->tp_name
);
394 PyErr_SetObject(PyExc_TypeError
, errmsg
);
401 #if INT_MAX != LONG_MAX
402 SWIGSTATICINLINE(int)
403 SWIG_AsInt(PyObject
*obj
)
405 return swig_numeric_cast(int,
406 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
407 "int", INT_MIN
, INT_MAX
));
410 #define SWIG_AsInt SWIG_AsLong
414 SWIGSTATICINLINE(int)
415 SWIG_CheckInt(PyObject
* obj
)
418 if (PyErr_Occurred()) {
426 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
427 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
428 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
430 SWIGSTATICINLINE(int)
431 SWIG_CheckLong(PyObject
* obj
)
434 if (PyErr_Occurred()) {
443 SWIGSTATICINLINE(bool)
444 SWIG_AsBool(PyObject
*obj
)
446 return PyObject_IsTrue(obj
) ? true : false;
450 SWIGSTATICINLINE(int)
451 SWIG_CheckBool(PyObject
* obj
)
454 if (PyErr_Occurred()) {
463 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
469 } else if (target
== Py_None
) {
473 if (!PyTuple_Check(target
)) {
475 target
= PyTuple_New(1);
476 PyTuple_SetItem(target
, 0, o2
);
479 PyTuple_SetItem(o3
, 0, o
);
482 target
= PySequence_Concat(o2
, o3
);
490 SWIGSTATICINLINE(unsigned long)
491 SWIG_AsUnsignedLong(PyObject
* obj
)
493 if (PyLong_Check(obj
)) {
494 return PyLong_AsUnsignedLong(obj
);
496 long i
= SWIG_AsLong(obj
);
497 if ( !PyErr_Occurred() && (i
< 0)) {
498 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
505 SWIGSTATICINLINE(int)
506 SWIG_CheckUnsignedLong(PyObject
* obj
)
508 SWIG_AsUnsignedLong(obj
);
509 if (PyErr_Occurred()) {
518 SWIGSTATICINLINE(PyObject
* )
519 SWIG_FromUnsignedLong(unsigned long value
)
521 return (value
> LONG_MAX
) ?
522 PyLong_FromUnsignedLong(value
)
523 : PyInt_FromLong(swig_numeric_cast(long,value
));
527 bool wxThread_IsMain() {
528 #ifdef WXP_WITH_THREAD
529 return wxThread::IsMain();
536 int wxCaret_GetBlinkTime() {
537 return wxCaret::GetBlinkTime();
540 void wxCaret_SetBlinkTime(int milliseconds
) {
541 wxCaret::SetBlinkTime(milliseconds
);
545 #include <wx/snglinst.h>
549 #include <wx/msw/private.h>
550 #include <wx/dynload.h>
555 void wxDrawWindowOnDC(wxWindow
* window
, const wxDC
& dc
, int method
)
562 // This one only partially works. Appears to be an undocumented
563 // "standard" convention that not all widgets adhear to. For
564 // example, for some widgets backgrounds or non-client areas may
566 ::SendMessage(GetHwndOf(window
), WM_PAINT
, (long)GetHdcOf(dc
), 0);
570 // This one works much better, except for on XP. On Win2k nearly
571 // all widgets and their children are captured correctly[**]. On
572 // XP with Themes activated most native widgets draw only
573 // partially, if at all. Without themes it works just like on
576 // ** For example the radio buttons in a wxRadioBox are not its
577 // children by default, but you can capture it via the panel
578 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
579 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
580 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
581 PRF_ERASEBKGND
| PRF_OWNED
);
585 // This one is only defined in the latest SDK and is only
586 // available on XP. MSDN says it is similar to sending WM_PRINT
587 // so I expect that it will work similar to the above. Since it
588 // is avaialble only on XP, it can't be compiled like this and
589 // will have to be loaded dynamically.
590 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
595 // Use PrintWindow if available, or fallback to WM_PRINT
596 // otherwise. Unfortunately using PrintWindow is even worse than
597 // WM_PRINT. For most native widgets nothing is drawn to the dc
598 // at all, with or without Themes.
599 typedef BOOL (WINAPI
*PrintWindow_t
)(HWND
, HDC
, UINT
);
600 static bool s_triedToLoad
= False
;
601 static PrintWindow_t pfnPrintWindow
= NULL
;
602 if ( !s_triedToLoad
)
605 s_triedToLoad
= True
;
606 wxDynamicLibrary
dllUser32(_T("user32.dll"));
607 if ( dllUser32
.IsLoaded() )
609 wxLogNull nolog
; // Don't report errors here
610 pfnPrintWindow
= (PrintWindow_t
)dllUser32
.GetSymbol(_T("PrintWindow"));
615 printf("Using PrintWindow\n");
616 pfnPrintWindow(GetHwndOf(window
), GetHdcOf(dc
), 0);
620 printf("Using WM_PRINT\n");
621 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
622 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
| PRF_ERASEBKGND
| PRF_OWNED
);
630 #include <wx/tipdlg.h>
633 class wxPyTipProvider
: public wxTipProvider
{
635 wxPyTipProvider(size_t currentTip
)
636 : wxTipProvider(currentTip
) {}
638 DEC_PYCALLBACK_STRING__pure(GetTip
);
639 DEC_PYCALLBACK_STRING_STRING(PreprocessTip
);
643 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
644 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider
, wxTipProvider
, PreprocessTip
);
647 //IMP_PYCALLBACK__(wxPyTimer, wxTimer, Notify);
649 IMPLEMENT_ABSTRACT_CLASS(wxPyTimer
, wxTimer
);
651 void wxPyTimer::Notify() {
653 bool blocked
= wxPyBeginBlockThreads();
654 if ((found
= wxPyCBH_findCallback(m_myInst
, "Notify")))
655 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("()"));
656 wxPyEndBlockThreads(blocked
);
660 void wxPyTimer::base_Notify() {
666 SWIGSTATICINLINE(PyObject
*)
667 SWIG_FromCharPtr(const char* cptr
)
669 size_t size
= cptr
? strlen(cptr
) : 0;
671 if (size
> INT_MAX
) {
672 return SWIG_NewPointerObj(swig_const_cast(char*,cptr
),
673 SWIG_TypeQuery("char *"), 0);
675 return PyString_FromStringAndSize(cptr
, swig_numeric_cast(int,size
));
684 SWIGSTATICINLINE(unsigned long)
685 SWIG_CheckUnsignedLongInRange(unsigned long value
, const char* type
,
686 unsigned long max_value
)
688 if (!PyErr_Occurred()) {
689 if (value
> max_value
) {
691 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
692 value
, type
, max_value
);
693 PyErr_SetObject(PyExc_OverflowError
, err
);
701 #if UINT_MAX != ULONG_MAX
702 SWIGSTATICINLINE(unsigned int)
703 SWIG_AsUnsignedInt(PyObject
*obj
)
705 return swig_numeric_cast(unsigned int,
706 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj
),
707 "unsigned int", UINT_MAX
));
710 #define SWIG_AsUnsignedInt SWIG_AsUnsignedLong
714 SWIGSTATICINLINE(int)
715 SWIG_CheckUnsignedInt(PyObject
* obj
)
717 SWIG_AsUnsignedInt(obj
);
718 if (PyErr_Occurred()) {
726 wxString
Log_TimeStamp(){
728 wxLog::TimeStamp(&msg
);
731 void wxLog_Destroy(wxLog
*self
){ delete self
; }
733 // A wxLog class that can be derived from in wxPython
734 class wxPyLog
: public wxLog
{
736 wxPyLog() : wxLog() {}
738 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
740 bool blocked
= wxPyBeginBlockThreads();
741 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog"))) {
742 PyObject
* s
= wx2PyString(szString
);
743 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iOi)", level
, s
, t
));
746 wxPyEndBlockThreads(blocked
);
748 wxLog::DoLog(level
, szString
, t
);
751 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
753 bool blocked
= wxPyBeginBlockThreads();
754 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString"))) {
755 PyObject
* s
= wx2PyString(szString
);
756 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(Oi)", s
, t
));
759 wxPyEndBlockThreads(blocked
);
761 wxLog::DoLogString(szString
, t
);
770 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
773 #include <wx/joystick.h>
776 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
777 // A C++ stub class for wxJoystick for platforms that don't have it.
778 class wxJoystick
: public wxObject
{
780 wxJoystick(int joystick
= wxJOYSTICK1
) {
781 bool blocked
= wxPyBeginBlockThreads();
782 PyErr_SetString(PyExc_NotImplementedError
,
783 "wxJoystick is not available on this platform.");
784 wxPyEndBlockThreads(blocked
);
786 wxPoint
GetPosition() { return wxPoint(-1,-1); }
787 int GetZPosition() { return -1; }
788 int GetButtonState() { return -1; }
789 int GetPOVPosition() { return -1; }
790 int GetPOVCTSPosition() { return -1; }
791 int GetRudderPosition() { return -1; }
792 int GetUPosition() { return -1; }
793 int GetVPosition() { return -1; }
794 int GetMovementThreshold() { return -1; }
795 void SetMovementThreshold(int threshold
) {}
797 bool IsOk(void) { return False
; }
798 int GetNumberJoysticks() { return -1; }
799 int GetManufacturerId() { return -1; }
800 int GetProductId() { return -1; }
801 wxString
GetProductName() { return wxEmptyString
; }
802 int GetXMin() { return -1; }
803 int GetYMin() { return -1; }
804 int GetZMin() { return -1; }
805 int GetXMax() { return -1; }
806 int GetYMax() { return -1; }
807 int GetZMax() { return -1; }
808 int GetNumberButtons() { return -1; }
809 int GetNumberAxes() { return -1; }
810 int GetMaxButtons() { return -1; }
811 int GetMaxAxes() { return -1; }
812 int GetPollingMin() { return -1; }
813 int GetPollingMax() { return -1; }
814 int GetRudderMin() { return -1; }
815 int GetRudderMax() { return -1; }
816 int GetUMin() { return -1; }
817 int GetUMax() { return -1; }
818 int GetVMin() { return -1; }
819 int GetVMax() { return -1; }
821 bool HasRudder() { return False
; }
822 bool HasZ() { return False
; }
823 bool HasU() { return False
; }
824 bool HasV() { return False
; }
825 bool HasPOV() { return False
; }
826 bool HasPOV4Dir() { return False
; }
827 bool HasPOVCTS() { return False
; }
829 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return False
; }
830 bool ReleaseCapture() { return False
; }
835 #include <wx/sound.h>
839 // A C++ stub class for wxWave for platforms that don't have it.
840 class wxSound
: public wxObject
844 bool blocked
= wxPyBeginBlockThreads();
845 PyErr_SetString(PyExc_NotImplementedError
,
846 "wxSound is not available on this platform.");
847 wxPyEndBlockThreads(blocked
);
849 wxSound(const wxString
&/*, bool*/) {
850 bool blocked
= wxPyBeginBlockThreads();
851 PyErr_SetString(PyExc_NotImplementedError
,
852 "wxSound is not available on this platform.");
853 wxPyEndBlockThreads(blocked
);
855 wxSound(int, const wxByte
*) {
856 bool blocked
= wxPyBeginBlockThreads();
857 PyErr_SetString(PyExc_NotImplementedError
,
858 "wxSound is not available on this platform.");
859 wxPyEndBlockThreads(blocked
);
864 bool Create(const wxString
&/*, bool*/) { return false; }
865 bool Create(int, const wxByte
*) { return false; };
866 bool IsOk() { return false; };
867 bool Play(unsigned) const { return false; }
868 static bool Play(const wxString
&, unsigned) { return false; }
869 static void Stop() {}
874 wxSound
*new_wxSound(wxString
const &fileName
){
875 if (fileName
.Length() == 0)
878 return new wxSound(fileName
);
880 wxSound
*new_wxSound(PyObject
*data
){
881 unsigned char* buffer
; int size
;
882 wxSound
*sound
= NULL
;
884 bool blocked
= wxPyBeginBlockThreads();
885 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
887 sound
= new wxSound(size
, buffer
);
889 wxPyEndBlockThreads(blocked
);
892 bool wxSound_CreateFromData(wxSound
*self
,PyObject
*data
){
894 unsigned char* buffer
;
898 bool blocked
= wxPyBeginBlockThreads();
899 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
901 rv
= self
->Create(size
, buffer
);
903 wxPyEndBlockThreads(blocked
);
906 bool blocked
= wxPyBeginBlockThreads();
907 PyErr_SetString(PyExc_NotImplementedError
,
908 "Create from data is not available on this platform.");
909 wxPyEndBlockThreads(blocked
);
914 #include <wx/mimetype.h>
916 PyObject
*wxFileType_GetMimeType(wxFileType
*self
){
918 if (self
->GetMimeType(&str
))
919 return wx2PyString(str
);
923 PyObject
*wxFileType_GetMimeTypes(wxFileType
*self
){
925 if (self
->GetMimeTypes(arr
))
926 return wxArrayString2PyList_helper(arr
);
930 PyObject
*wxFileType_GetExtensions(wxFileType
*self
){
932 if (self
->GetExtensions(arr
))
933 return wxArrayString2PyList_helper(arr
);
937 wxIcon
*wxFileType_GetIcon(wxFileType
*self
){
939 if (self
->GetIcon(&loc
))
940 return new wxIcon(loc
);
944 PyObject
*wxFileType_GetIconInfo(wxFileType
*self
){
946 if (self
->GetIcon(&loc
)) {
947 wxString iconFile
= loc
.GetFileName();
950 iconIndex
= loc
.GetIndex();
952 // Make a tuple and put the values in it
953 bool blocked
= wxPyBeginBlockThreads();
954 PyObject
* tuple
= PyTuple_New(3);
955 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(loc
),
956 wxT("wxIcon"), True
));
957 PyTuple_SetItem(tuple
, 1, wx2PyString(iconFile
));
958 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
959 wxPyEndBlockThreads(blocked
);
965 PyObject
*wxFileType_GetDescription(wxFileType
*self
){
967 if (self
->GetDescription(&str
))
968 return wx2PyString(str
);
972 PyObject
*wxFileType_GetOpenCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
974 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
975 return wx2PyString(str
);
979 PyObject
*wxFileType_GetPrintCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
981 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
982 return wx2PyString(str
);
986 PyObject
*wxFileType_GetAllCommands(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
988 wxArrayString commands
;
989 if (self
->GetAllCommands(&verbs
, &commands
,
990 wxFileType::MessageParameters(filename
, mimetype
))) {
991 bool blocked
= wxPyBeginBlockThreads();
992 PyObject
* tuple
= PyTuple_New(2);
993 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
994 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
995 wxPyEndBlockThreads(blocked
);
1001 wxString
FileType_ExpandCommand(wxString
const &command
,wxString
const &filename
,wxString
const &mimetype
){
1002 return wxFileType::ExpandCommand(command
,
1003 wxFileType::MessageParameters(filename
, mimetype
));
1005 PyObject
*wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
){
1007 self
->EnumAllFileTypes(arr
);
1008 return wxArrayString2PyList_helper(arr
);
1011 #include <wx/artprov.h>
1013 static const wxString
wxPyART_TOOLBAR(wxART_TOOLBAR
);
1014 static const wxString
wxPyART_MENU(wxART_MENU
);
1015 static const wxString
wxPyART_FRAME_ICON(wxART_FRAME_ICON
);
1016 static const wxString
wxPyART_CMN_DIALOG(wxART_CMN_DIALOG
);
1017 static const wxString
wxPyART_HELP_BROWSER(wxART_HELP_BROWSER
);
1018 static const wxString
wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX
);
1019 static const wxString
wxPyART_OTHER(wxART_OTHER
);
1020 static const wxString
wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK
);
1021 static const wxString
wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK
);
1022 static const wxString
wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL
);
1023 static const wxString
wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS
);
1024 static const wxString
wxPyART_HELP_BOOK(wxART_HELP_BOOK
);
1025 static const wxString
wxPyART_HELP_FOLDER(wxART_HELP_FOLDER
);
1026 static const wxString
wxPyART_HELP_PAGE(wxART_HELP_PAGE
);
1027 static const wxString
wxPyART_GO_BACK(wxART_GO_BACK
);
1028 static const wxString
wxPyART_GO_FORWARD(wxART_GO_FORWARD
);
1029 static const wxString
wxPyART_GO_UP(wxART_GO_UP
);
1030 static const wxString
wxPyART_GO_DOWN(wxART_GO_DOWN
);
1031 static const wxString
wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT
);
1032 static const wxString
wxPyART_GO_HOME(wxART_GO_HOME
);
1033 static const wxString
wxPyART_FILE_OPEN(wxART_FILE_OPEN
);
1034 static const wxString
wxPyART_PRINT(wxART_PRINT
);
1035 static const wxString
wxPyART_HELP(wxART_HELP
);
1036 static const wxString
wxPyART_TIP(wxART_TIP
);
1037 static const wxString
wxPyART_REPORT_VIEW(wxART_REPORT_VIEW
);
1038 static const wxString
wxPyART_LIST_VIEW(wxART_LIST_VIEW
);
1039 static const wxString
wxPyART_NEW_DIR(wxART_NEW_DIR
);
1040 static const wxString
wxPyART_FOLDER(wxART_FOLDER
);
1041 static const wxString
wxPyART_GO_DIR_UP(wxART_GO_DIR_UP
);
1042 static const wxString
wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE
);
1043 static const wxString
wxPyART_NORMAL_FILE(wxART_NORMAL_FILE
);
1044 static const wxString
wxPyART_TICK_MARK(wxART_TICK_MARK
);
1045 static const wxString
wxPyART_CROSS_MARK(wxART_CROSS_MARK
);
1046 static const wxString
wxPyART_ERROR(wxART_ERROR
);
1047 static const wxString
wxPyART_QUESTION(wxART_QUESTION
);
1048 static const wxString
wxPyART_WARNING(wxART_WARNING
);
1049 static const wxString
wxPyART_INFORMATION(wxART_INFORMATION
);
1050 static const wxString
wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE
);
1051 // Python aware wxArtProvider
1052 class wxPyArtProvider
: public wxArtProvider
{
1055 virtual wxBitmap
CreateBitmap(const wxArtID
& id
,
1056 const wxArtClient
& client
,
1057 const wxSize
& size
) {
1058 wxBitmap rval
= wxNullBitmap
;
1059 bool blocked
= wxPyBeginBlockThreads();
1060 if ((wxPyCBH_findCallback(m_myInst
, "CreateBitmap"))) {
1061 PyObject
* so
= wxPyConstructObject((void*)&size
, wxT("wxSize"), 0);
1065 s1
= wx2PyString(id
);
1066 s2
= wx2PyString(client
);
1067 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOO)", s1
, s2
, so
));
1072 if (wxPyConvertSwigPtr(ro
, (void**)&ptr
, wxT("wxBitmap")))
1077 wxPyEndBlockThreads(blocked
);
1084 void wxPyArtProvider_Destroy(wxPyArtProvider
*self
){ delete self
; }
1088 static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) {
1089 PyObject
* ret
= PyTuple_New(3);
1091 PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
));
1092 PyTuple_SET_ITEM(ret
, 1, wx2PyString(str
));
1093 PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
));
1098 PyObject
*wxConfigBase_GetFirstGroup(wxConfigBase
*self
){
1103 cont
= self
->GetFirstGroup(value
, index
);
1104 return __EnumerationHelper(cont
, value
, index
);
1106 PyObject
*wxConfigBase_GetNextGroup(wxConfigBase
*self
,long index
){
1110 cont
= self
->GetNextGroup(value
, index
);
1111 return __EnumerationHelper(cont
, value
, index
);
1113 PyObject
*wxConfigBase_GetFirstEntry(wxConfigBase
*self
){
1118 cont
= self
->GetFirstEntry(value
, index
);
1119 return __EnumerationHelper(cont
, value
, index
);
1121 PyObject
*wxConfigBase_GetNextEntry(wxConfigBase
*self
,long index
){
1125 cont
= self
->GetNextEntry(value
, index
);
1126 return __EnumerationHelper(cont
, value
, index
);
1128 long wxConfigBase_ReadInt(wxConfigBase
*self
,wxString
const &key
,long defaultVal
){
1130 self
->Read(key
, &rv
, defaultVal
);
1134 SWIGSTATICINLINE(double)
1135 SWIG_AsDouble(PyObject
*obj
)
1137 if (PyNumber_Check(obj
))
1138 return PyFloat_AsDouble(obj
);
1140 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
1141 obj
->ob_type
->tp_name
);
1142 PyErr_SetObject(PyExc_TypeError
, errmsg
);
1149 SWIGSTATICINLINE(int)
1150 SWIG_CheckDouble(PyObject
* obj
)
1153 if (PyErr_Occurred()) {
1161 double wxConfigBase_ReadFloat(wxConfigBase
*self
,wxString
const &key
,double defaultVal
){
1163 self
->Read(key
, &rv
, defaultVal
);
1166 bool wxConfigBase_ReadBool(wxConfigBase
*self
,wxString
const &key
,bool defaultVal
){
1168 self
->Read(key
, &rv
, defaultVal
);
1172 #include <wx/datetime.h>
1175 static const wxString
wxPyDateFormatStr(wxT("%c"));
1176 static const wxString
wxPyTimeSpanFormatStr(wxT("%H:%M:%S"));
1178 #define LOCAL_TZ wxDateTime::Local
1181 #if UINT_MAX < LONG_MAX
1182 #define SWIG_FromUnsignedInt SWIG_FromLong
1184 #define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
1187 wxDateTime
wxDateTime___add____SWIG_0(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
1188 wxDateTime
wxDateTime___add____SWIG_1(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
1189 wxTimeSpan
wxDateTime___sub____SWIG_0(wxDateTime
*self
,wxDateTime
const &other
){ return *self
- other
; }
1190 wxDateTime
wxDateTime___sub____SWIG_1(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
1191 wxDateTime
wxDateTime___sub____SWIG_2(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
- other
; }
1192 bool wxDateTime___lt__(wxDateTime
*self
,wxDateTime
const *other
){
1193 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
< other
;
1194 return (*self
< *other
);
1196 bool wxDateTime___le__(wxDateTime
*self
,wxDateTime
const *other
){
1197 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
<= other
;
1198 return (*self
<= *other
);
1200 bool wxDateTime___gt__(wxDateTime
*self
,wxDateTime
const *other
){
1201 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
> other
;
1202 return (*self
> *other
);
1204 bool wxDateTime___ge__(wxDateTime
*self
,wxDateTime
const *other
){
1205 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
>= other
;
1206 return (*self
>= *other
);
1208 bool wxDateTime___eq__(wxDateTime
*self
,wxDateTime
const *other
){
1209 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
== other
;
1210 return (*self
== *other
);
1212 bool wxDateTime___ne__(wxDateTime
*self
,wxDateTime
const *other
){
1213 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
!= other
;
1214 return (*self
!= *other
);
1216 int wxDateTime_ParseRfc822Date(wxDateTime
*self
,wxString
const &date
){
1218 const wxChar
* _date
= date
;
1219 rv
= self
->ParseRfc822Date(_date
);
1220 if (rv
== NULL
) return -1;
1223 int wxDateTime_ParseFormat(wxDateTime
*self
,wxString
const &date
,wxString
const &format
,wxDateTime
const &dateDef
){
1225 const wxChar
* _date
= date
;
1226 rv
= self
->ParseFormat(_date
, format
, dateDef
);
1227 if (rv
== NULL
) return -1;
1230 int wxDateTime_ParseDateTime(wxDateTime
*self
,wxString
const &datetime
){
1232 const wxChar
* _datetime
= datetime
;
1233 rv
= self
->ParseDateTime(_datetime
);
1234 if (rv
== NULL
) return -1;
1235 return rv
- _datetime
;
1237 int wxDateTime_ParseDate(wxDateTime
*self
,wxString
const &date
){
1239 const wxChar
* _date
= date
;
1240 rv
= self
->ParseDate(_date
);
1241 if (rv
== NULL
) return -1;
1244 int wxDateTime_ParseTime(wxDateTime
*self
,wxString
const &time
){
1246 const wxChar
* _time
= time
;
1247 rv
= self
->ParseTime(_time
);
1248 if (rv
== NULL
) return -1;
1251 wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
1252 wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
1253 wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
){ return *self
* n
; }
1254 wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
){ return n
* *self
; }
1255 bool wxTimeSpan___lt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
< *other
) : False
; }
1256 bool wxTimeSpan___le__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
<= *other
) : False
; }
1257 bool wxTimeSpan___gt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
> *other
) : True
; }
1258 bool wxTimeSpan___ge__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
>= *other
) : True
; }
1259 bool wxTimeSpan___eq__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
== *other
) : False
; }
1260 bool wxTimeSpan___ne__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
!= *other
) : True
; }
1261 wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
1262 wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
- other
; }
1263 wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
){ return *self
* n
; }
1264 wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
){ return n
* *self
; }
1265 bool wxDateSpan___eq__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
== *other
) : False
; }
1266 bool wxDateSpan___ne__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
!= *other
) : True
; }
1268 #include <wx/dataobj.h>
1270 // Create a new class for wxPython to use
1271 class wxPyDataObjectSimple
: public wxDataObjectSimple
{
1273 wxPyDataObjectSimple(const wxDataFormat
& format
= wxFormatInvalid
)
1274 : wxDataObjectSimple(format
) {}
1276 DEC_PYCALLBACK_SIZET__const(GetDataSize
);
1277 bool GetDataHere(void *buf
) const;
1278 bool SetData(size_t len
, const void *buf
) const;
1282 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple
, wxDataObjectSimple
, GetDataSize
);
1284 bool wxPyDataObjectSimple::GetDataHere(void *buf
) const {
1285 // We need to get the data for this object and write it to buf. I think
1286 // the best way to do this for wxPython is to have the Python method
1287 // return either a string or None and then act appropriately with the
1291 bool blocked
= wxPyBeginBlockThreads();
1292 if (wxPyCBH_findCallback(m_myInst
, "GetDataHere")) {
1294 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1296 rval
= (ro
!= Py_None
&& PyString_Check(ro
));
1298 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
));
1302 wxPyEndBlockThreads(blocked
);
1306 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) const{
1307 // For this one we simply need to make a string from buf and len
1308 // and send it to the Python method.
1310 bool blocked
= wxPyBeginBlockThreads();
1311 if (wxPyCBH_findCallback(m_myInst
, "SetData")) {
1312 PyObject
* data
= PyString_FromStringAndSize((char*)buf
, len
);
1313 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", data
));
1316 wxPyEndBlockThreads(blocked
);
1320 // Create a new class for wxPython to use
1321 class wxPyTextDataObject
: public wxTextDataObject
{
1323 wxPyTextDataObject(const wxString
& text
= wxPyEmptyString
)
1324 : wxTextDataObject(text
) {}
1326 DEC_PYCALLBACK_SIZET__const(GetTextLength
);
1327 DEC_PYCALLBACK_STRING__const(GetText
);
1328 DEC_PYCALLBACK__STRING(SetText
);
1332 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
);
1333 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject
, wxTextDataObject
, GetText
);
1334 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
);
1337 // Create a new class for wxPython to use
1338 class wxPyBitmapDataObject
: public wxBitmapDataObject
{
1340 wxPyBitmapDataObject(const wxBitmap
& bitmap
= wxNullBitmap
)
1341 : wxBitmapDataObject(bitmap
) {}
1343 wxBitmap
GetBitmap() const;
1344 void SetBitmap(const wxBitmap
& bitmap
);
1348 wxBitmap
wxPyBitmapDataObject::GetBitmap() const {
1349 wxBitmap
* rval
= &wxNullBitmap
;
1350 bool blocked
= wxPyBeginBlockThreads();
1351 if (wxPyCBH_findCallback(m_myInst
, "GetBitmap")) {
1354 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1356 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxBitmap")))
1361 wxPyEndBlockThreads(blocked
);
1365 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) {
1366 bool blocked
= wxPyBeginBlockThreads();
1367 if (wxPyCBH_findCallback(m_myInst
, "SetBitmap")) {
1368 PyObject
* bo
= wxPyConstructObject((void*)&bitmap
, wxT("wxBitmap"), False
);
1369 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", bo
));
1372 wxPyEndBlockThreads(blocked
);
1375 void wxCustomDataObject_TakeData(wxCustomDataObject
*self
,PyObject
*data
){
1376 if (PyString_Check(data
)) {
1377 // for Python we just call SetData here since we always need it to make a copy.
1378 self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1381 // raise a TypeError if not a string
1382 PyErr_SetString(PyExc_TypeError
, "String expected.");
1385 bool wxCustomDataObject_SetData(wxCustomDataObject
*self
,PyObject
*data
){
1386 if (PyString_Check(data
)) {
1387 return self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1390 // raise a TypeError if not a string
1391 PyErr_SetString(PyExc_TypeError
, "String expected.");
1395 PyObject
*wxCustomDataObject_GetData(wxCustomDataObject
*self
){
1396 return PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize());
1399 #include <wx/metafile.h>
1402 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
1405 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
1406 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
1407 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
1408 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
1409 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
1412 class wxPyTextDropTarget
: public wxTextDropTarget
{
1414 wxPyTextDropTarget() {}
1416 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
1418 DEC_PYCALLBACK__(OnLeave
);
1419 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1420 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1421 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
1422 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1427 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
1428 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
1429 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
1430 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
1431 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
1432 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
1436 class wxPyFileDropTarget
: public wxFileDropTarget
{
1438 wxPyFileDropTarget() {}
1440 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
1442 DEC_PYCALLBACK__(OnLeave
);
1443 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1444 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1445 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
1446 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1451 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
1452 const wxArrayString
& filenames
) {
1454 bool blocked
= wxPyBeginBlockThreads();
1455 if (wxPyCBH_findCallback(m_myInst
, "OnDropFiles")) {
1456 PyObject
* list
= wxArrayString2PyList_helper(filenames
);
1457 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",x
,y
,list
));
1460 wxPyEndBlockThreads(blocked
);
1466 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
1467 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
1468 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
1469 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
1470 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
1475 bool wxClipboardLocker___nonzero__(wxClipboardLocker
*self
){ return !!(*self
); }
1477 #include "wx/display.h"
1479 bool wxVideoMode___eq__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
== *other
) : False
; }
1480 bool wxVideoMode___ne__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
!= *other
) : True
; }
1481 PyObject
*wxDisplay_GetModes(wxDisplay
*self
,wxVideoMode
const &mode
){
1482 PyObject
* pyList
= NULL
;
1483 wxArrayVideoModes arr
= self
->GetModes(mode
);
1484 bool blocked
= wxPyBeginBlockThreads();
1485 pyList
= PyList_New(0);
1486 for (int i
=0; i
< arr
.GetCount(); i
++) {
1487 wxVideoMode
* m
= new wxVideoMode(arr
.Item(i
));
1488 PyObject
* pyObj
= wxPyConstructObject(m
, wxT("wxVideoMode"), true);
1489 PyList_Append(pyList
, pyObj
);
1491 wxPyEndBlockThreads(blocked
);
1497 static PyObject
*_wrap_SystemSettings_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1498 PyObject
*resultobj
;
1501 PyObject
* obj0
= 0 ;
1503 (char *) "index", NULL
1506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetColour",kwnames
,&obj0
)) goto fail
;
1507 arg1
= (wxSystemColour
) SWIG_AsInt(obj0
);
1508 if (PyErr_Occurred()) SWIG_fail
;
1510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1511 result
= wxSystemSettings::GetColour((wxSystemColour
)arg1
);
1513 wxPyEndAllowThreads(__tstate
);
1514 if (PyErr_Occurred()) SWIG_fail
;
1517 wxColour
* resultptr
;
1518 resultptr
= new wxColour((wxColour
&) result
);
1519 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
1527 static PyObject
*_wrap_SystemSettings_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1528 PyObject
*resultobj
;
1531 PyObject
* obj0
= 0 ;
1533 (char *) "index", NULL
1536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetFont",kwnames
,&obj0
)) goto fail
;
1537 arg1
= (wxSystemFont
) SWIG_AsInt(obj0
);
1538 if (PyErr_Occurred()) SWIG_fail
;
1540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1541 result
= wxSystemSettings::GetFont((wxSystemFont
)arg1
);
1543 wxPyEndAllowThreads(__tstate
);
1544 if (PyErr_Occurred()) SWIG_fail
;
1548 resultptr
= new wxFont((wxFont
&) result
);
1549 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
1557 static PyObject
*_wrap_SystemSettings_GetMetric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1558 PyObject
*resultobj
;
1561 PyObject
* obj0
= 0 ;
1563 (char *) "index", NULL
1566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetMetric",kwnames
,&obj0
)) goto fail
;
1567 arg1
= (wxSystemMetric
) SWIG_AsInt(obj0
);
1568 if (PyErr_Occurred()) SWIG_fail
;
1570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1571 result
= (int)wxSystemSettings::GetMetric((wxSystemMetric
)arg1
);
1573 wxPyEndAllowThreads(__tstate
);
1574 if (PyErr_Occurred()) SWIG_fail
;
1576 resultobj
= SWIG_FromInt((int)result
);
1583 static PyObject
*_wrap_SystemSettings_HasFeature(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1584 PyObject
*resultobj
;
1587 PyObject
* obj0
= 0 ;
1589 (char *) "index", NULL
1592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_HasFeature",kwnames
,&obj0
)) goto fail
;
1593 arg1
= (wxSystemFeature
) SWIG_AsInt(obj0
);
1594 if (PyErr_Occurred()) SWIG_fail
;
1596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1597 result
= (bool)wxSystemSettings::HasFeature((wxSystemFeature
)arg1
);
1599 wxPyEndAllowThreads(__tstate
);
1600 if (PyErr_Occurred()) SWIG_fail
;
1603 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1611 static PyObject
*_wrap_SystemSettings_GetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1612 PyObject
*resultobj
;
1618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SystemSettings_GetScreenType",kwnames
)) goto fail
;
1620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1621 result
= (int)wxSystemSettings::GetScreenType();
1623 wxPyEndAllowThreads(__tstate
);
1624 if (PyErr_Occurred()) SWIG_fail
;
1626 resultobj
= SWIG_FromInt((int)result
);
1633 static PyObject
*_wrap_SystemSettings_SetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1634 PyObject
*resultobj
;
1636 PyObject
* obj0
= 0 ;
1638 (char *) "screen", NULL
1641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_SetScreenType",kwnames
,&obj0
)) goto fail
;
1642 arg1
= (wxSystemScreenType
) SWIG_AsInt(obj0
);
1643 if (PyErr_Occurred()) SWIG_fail
;
1645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1646 wxSystemSettings::SetScreenType((wxSystemScreenType
)arg1
);
1648 wxPyEndAllowThreads(__tstate
);
1649 if (PyErr_Occurred()) SWIG_fail
;
1651 Py_INCREF(Py_None
); resultobj
= Py_None
;
1658 static PyObject
* SystemSettings_swigregister(PyObject
*self
, PyObject
*args
) {
1660 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1661 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings
, obj
);
1663 return Py_BuildValue((char *)"");
1665 static PyObject
*_wrap_new_SystemOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1666 PyObject
*resultobj
;
1667 wxSystemOptions
*result
;
1672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SystemOptions",kwnames
)) goto fail
;
1674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1675 result
= (wxSystemOptions
*)new wxSystemOptions();
1677 wxPyEndAllowThreads(__tstate
);
1678 if (PyErr_Occurred()) SWIG_fail
;
1680 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSystemOptions
, 1);
1687 static PyObject
*_wrap_SystemOptions_SetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1688 PyObject
*resultobj
;
1689 wxString
*arg1
= 0 ;
1690 wxString
*arg2
= 0 ;
1691 bool temp1
= False
;
1692 bool temp2
= False
;
1693 PyObject
* obj0
= 0 ;
1694 PyObject
* obj1
= 0 ;
1696 (char *) "name",(char *) "value", NULL
1699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
1701 arg1
= wxString_in_helper(obj0
);
1702 if (arg1
== NULL
) SWIG_fail
;
1706 arg2
= wxString_in_helper(obj1
);
1707 if (arg2
== NULL
) SWIG_fail
;
1711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1712 wxSystemOptions::SetOption((wxString
const &)*arg1
,(wxString
const &)*arg2
);
1714 wxPyEndAllowThreads(__tstate
);
1715 if (PyErr_Occurred()) SWIG_fail
;
1717 Py_INCREF(Py_None
); resultobj
= Py_None
;
1740 static PyObject
*_wrap_SystemOptions_SetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1741 PyObject
*resultobj
;
1742 wxString
*arg1
= 0 ;
1744 bool temp1
= False
;
1745 PyObject
* obj0
= 0 ;
1746 PyObject
* obj1
= 0 ;
1748 (char *) "name",(char *) "value", NULL
1751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
1753 arg1
= wxString_in_helper(obj0
);
1754 if (arg1
== NULL
) SWIG_fail
;
1757 arg2
= (int) SWIG_AsInt(obj1
);
1758 if (PyErr_Occurred()) SWIG_fail
;
1760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1761 wxSystemOptions::SetOption((wxString
const &)*arg1
,arg2
);
1763 wxPyEndAllowThreads(__tstate
);
1764 if (PyErr_Occurred()) SWIG_fail
;
1766 Py_INCREF(Py_None
); resultobj
= Py_None
;
1781 static PyObject
*_wrap_SystemOptions_GetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1782 PyObject
*resultobj
;
1783 wxString
*arg1
= 0 ;
1785 bool temp1
= False
;
1786 PyObject
* obj0
= 0 ;
1788 (char *) "name", NULL
1791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) goto fail
;
1793 arg1
= wxString_in_helper(obj0
);
1794 if (arg1
== NULL
) SWIG_fail
;
1798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1799 result
= wxSystemOptions::GetOption((wxString
const &)*arg1
);
1801 wxPyEndAllowThreads(__tstate
);
1802 if (PyErr_Occurred()) SWIG_fail
;
1806 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1808 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1825 static PyObject
*_wrap_SystemOptions_GetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1826 PyObject
*resultobj
;
1827 wxString
*arg1
= 0 ;
1829 bool temp1
= False
;
1830 PyObject
* obj0
= 0 ;
1832 (char *) "name", NULL
1835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) goto fail
;
1837 arg1
= wxString_in_helper(obj0
);
1838 if (arg1
== NULL
) SWIG_fail
;
1842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1843 result
= (int)wxSystemOptions::GetOptionInt((wxString
const &)*arg1
);
1845 wxPyEndAllowThreads(__tstate
);
1846 if (PyErr_Occurred()) SWIG_fail
;
1848 resultobj
= SWIG_FromInt((int)result
);
1863 static PyObject
*_wrap_SystemOptions_HasOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1864 PyObject
*resultobj
;
1865 wxString
*arg1
= 0 ;
1867 bool temp1
= False
;
1868 PyObject
* obj0
= 0 ;
1870 (char *) "name", NULL
1873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) goto fail
;
1875 arg1
= wxString_in_helper(obj0
);
1876 if (arg1
== NULL
) SWIG_fail
;
1880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1881 result
= (bool)wxSystemOptions::HasOption((wxString
const &)*arg1
);
1883 wxPyEndAllowThreads(__tstate
);
1884 if (PyErr_Occurred()) SWIG_fail
;
1887 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1903 static PyObject
* SystemOptions_swigregister(PyObject
*self
, PyObject
*args
) {
1905 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1906 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions
, obj
);
1908 return Py_BuildValue((char *)"");
1910 static int _wrap_FileSelectorPromptStr_set(PyObject
*_val
) {
1911 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
1916 static PyObject
*_wrap_FileSelectorPromptStr_get() {
1921 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
1923 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
1930 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*_val
) {
1931 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
1936 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
1941 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
1943 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
1950 static int _wrap_DirSelectorPromptStr_set(PyObject
*_val
) {
1951 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
1956 static PyObject
*_wrap_DirSelectorPromptStr_get() {
1961 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
1963 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
1970 static PyObject
*_wrap_NewId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1971 PyObject
*resultobj
;
1977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewId",kwnames
)) goto fail
;
1979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1980 result
= (long)wxNewId();
1982 wxPyEndAllowThreads(__tstate
);
1983 if (PyErr_Occurred()) SWIG_fail
;
1985 resultobj
= SWIG_FromLong((long)result
);
1992 static PyObject
*_wrap_RegisterId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1993 PyObject
*resultobj
;
1995 PyObject
* obj0
= 0 ;
2000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegisterId",kwnames
,&obj0
)) goto fail
;
2001 arg1
= (long) SWIG_AsLong(obj0
);
2002 if (PyErr_Occurred()) SWIG_fail
;
2004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2007 wxPyEndAllowThreads(__tstate
);
2008 if (PyErr_Occurred()) SWIG_fail
;
2010 Py_INCREF(Py_None
); resultobj
= Py_None
;
2017 static PyObject
*_wrap_GetCurrentId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2018 PyObject
*resultobj
;
2024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentId",kwnames
)) goto fail
;
2026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2027 result
= (long)wxGetCurrentId();
2029 wxPyEndAllowThreads(__tstate
);
2030 if (PyErr_Occurred()) SWIG_fail
;
2032 resultobj
= SWIG_FromLong((long)result
);
2039 static PyObject
*_wrap_Bell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2040 PyObject
*resultobj
;
2045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Bell",kwnames
)) goto fail
;
2047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2050 wxPyEndAllowThreads(__tstate
);
2051 if (PyErr_Occurred()) SWIG_fail
;
2053 Py_INCREF(Py_None
); resultobj
= Py_None
;
2060 static PyObject
*_wrap_EndBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2061 PyObject
*resultobj
;
2066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EndBusyCursor",kwnames
)) goto fail
;
2068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2071 wxPyEndAllowThreads(__tstate
);
2072 if (PyErr_Occurred()) SWIG_fail
;
2074 Py_INCREF(Py_None
); resultobj
= Py_None
;
2081 static PyObject
*_wrap_GetElapsedTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2082 PyObject
*resultobj
;
2083 bool arg1
= (bool) True
;
2085 PyObject
* obj0
= 0 ;
2087 (char *) "resetTimer", NULL
2090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) goto fail
;
2092 arg1
= (bool) SWIG_AsBool(obj0
);
2093 if (PyErr_Occurred()) SWIG_fail
;
2096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2097 result
= (long)wxGetElapsedTime(arg1
);
2099 wxPyEndAllowThreads(__tstate
);
2100 if (PyErr_Occurred()) SWIG_fail
;
2102 resultobj
= SWIG_FromLong((long)result
);
2109 static PyObject
*_wrap_GetMousePosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2110 PyObject
*resultobj
;
2111 int *arg1
= (int *) 0 ;
2112 int *arg2
= (int *) 0 ;
2121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetMousePosition",kwnames
)) goto fail
;
2123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2124 wxGetMousePosition(arg1
,arg2
);
2126 wxPyEndAllowThreads(__tstate
);
2127 if (PyErr_Occurred()) SWIG_fail
;
2129 Py_INCREF(Py_None
); resultobj
= Py_None
;
2131 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
2132 resultobj
= t_output_helper(resultobj
,o
);
2135 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
2136 resultobj
= t_output_helper(resultobj
,o
);
2144 static PyObject
*_wrap_IsBusy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2145 PyObject
*resultobj
;
2151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IsBusy",kwnames
)) goto fail
;
2153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2154 result
= (bool)wxIsBusy();
2156 wxPyEndAllowThreads(__tstate
);
2157 if (PyErr_Occurred()) SWIG_fail
;
2160 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2168 static PyObject
*_wrap_Now(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2169 PyObject
*resultobj
;
2175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Now",kwnames
)) goto fail
;
2177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2180 wxPyEndAllowThreads(__tstate
);
2181 if (PyErr_Occurred()) SWIG_fail
;
2185 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2187 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2196 static PyObject
*_wrap_Shell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2197 PyObject
*resultobj
;
2198 wxString
const &arg1_defvalue
= wxPyEmptyString
;
2199 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2201 bool temp1
= False
;
2202 PyObject
* obj0
= 0 ;
2204 (char *) "command", NULL
2207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) goto fail
;
2210 arg1
= wxString_in_helper(obj0
);
2211 if (arg1
== NULL
) SWIG_fail
;
2216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2217 result
= (bool)wxShell((wxString
const &)*arg1
);
2219 wxPyEndAllowThreads(__tstate
);
2220 if (PyErr_Occurred()) SWIG_fail
;
2223 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2239 static PyObject
*_wrap_StartTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2240 PyObject
*resultobj
;
2245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StartTimer",kwnames
)) goto fail
;
2247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2250 wxPyEndAllowThreads(__tstate
);
2251 if (PyErr_Occurred()) SWIG_fail
;
2253 Py_INCREF(Py_None
); resultobj
= Py_None
;
2260 static PyObject
*_wrap_GetOsVersion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2261 PyObject
*resultobj
;
2262 int *arg1
= (int *) 0 ;
2263 int *arg2
= (int *) 0 ;
2273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsVersion",kwnames
)) goto fail
;
2275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2276 result
= (int)wxGetOsVersion(arg1
,arg2
);
2278 wxPyEndAllowThreads(__tstate
);
2279 if (PyErr_Occurred()) SWIG_fail
;
2281 resultobj
= SWIG_FromInt((int)result
);
2283 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
2284 resultobj
= t_output_helper(resultobj
,o
);
2287 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
2288 resultobj
= t_output_helper(resultobj
,o
);
2296 static PyObject
*_wrap_GetOsDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2297 PyObject
*resultobj
;
2303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsDescription",kwnames
)) goto fail
;
2305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2306 result
= wxGetOsDescription();
2308 wxPyEndAllowThreads(__tstate
);
2309 if (PyErr_Occurred()) SWIG_fail
;
2313 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2315 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2324 static PyObject
*_wrap_GetFreeMemory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2325 PyObject
*resultobj
;
2331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFreeMemory",kwnames
)) goto fail
;
2333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2334 result
= (long)wxGetFreeMemory();
2336 wxPyEndAllowThreads(__tstate
);
2337 if (PyErr_Occurred()) SWIG_fail
;
2339 resultobj
= SWIG_FromLong((long)result
);
2346 static PyObject
*_wrap_Shutdown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2347 PyObject
*resultobj
;
2350 PyObject
* obj0
= 0 ;
2352 (char *) "wFlags", NULL
2355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Shutdown",kwnames
,&obj0
)) goto fail
;
2356 arg1
= (wxShutdownFlags
) SWIG_AsInt(obj0
);
2357 if (PyErr_Occurred()) SWIG_fail
;
2359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2360 result
= (bool)wxShutdown((wxShutdownFlags
)arg1
);
2362 wxPyEndAllowThreads(__tstate
);
2363 if (PyErr_Occurred()) SWIG_fail
;
2366 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2374 static PyObject
*_wrap_Sleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2375 PyObject
*resultobj
;
2377 PyObject
* obj0
= 0 ;
2379 (char *) "secs", NULL
2382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sleep",kwnames
,&obj0
)) goto fail
;
2383 arg1
= (int) SWIG_AsInt(obj0
);
2384 if (PyErr_Occurred()) SWIG_fail
;
2386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2389 wxPyEndAllowThreads(__tstate
);
2390 if (PyErr_Occurred()) SWIG_fail
;
2392 Py_INCREF(Py_None
); resultobj
= Py_None
;
2399 static PyObject
*_wrap_Usleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2400 PyObject
*resultobj
;
2401 unsigned long arg1
;
2402 PyObject
* obj0
= 0 ;
2404 (char *) "milliseconds", NULL
2407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Usleep",kwnames
,&obj0
)) goto fail
;
2408 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
2409 if (PyErr_Occurred()) SWIG_fail
;
2411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2414 wxPyEndAllowThreads(__tstate
);
2415 if (PyErr_Occurred()) SWIG_fail
;
2417 Py_INCREF(Py_None
); resultobj
= Py_None
;
2424 static PyObject
*_wrap_EnableTopLevelWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2425 PyObject
*resultobj
;
2427 PyObject
* obj0
= 0 ;
2429 (char *) "enable", NULL
2432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) goto fail
;
2433 arg1
= (bool) SWIG_AsBool(obj0
);
2434 if (PyErr_Occurred()) SWIG_fail
;
2436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2437 wxEnableTopLevelWindows(arg1
);
2439 wxPyEndAllowThreads(__tstate
);
2440 if (PyErr_Occurred()) SWIG_fail
;
2442 Py_INCREF(Py_None
); resultobj
= Py_None
;
2449 static PyObject
*_wrap_StripMenuCodes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2450 PyObject
*resultobj
;
2451 wxString
*arg1
= 0 ;
2453 bool temp1
= False
;
2454 PyObject
* obj0
= 0 ;
2459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) goto fail
;
2461 arg1
= wxString_in_helper(obj0
);
2462 if (arg1
== NULL
) SWIG_fail
;
2466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2467 result
= wxStripMenuCodes((wxString
const &)*arg1
);
2469 wxPyEndAllowThreads(__tstate
);
2470 if (PyErr_Occurred()) SWIG_fail
;
2474 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2476 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2493 static PyObject
*_wrap_GetEmailAddress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2494 PyObject
*resultobj
;
2500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetEmailAddress",kwnames
)) goto fail
;
2502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2503 result
= wxGetEmailAddress();
2505 wxPyEndAllowThreads(__tstate
);
2506 if (PyErr_Occurred()) SWIG_fail
;
2510 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2512 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2521 static PyObject
*_wrap_GetHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2522 PyObject
*resultobj
;
2528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHostName",kwnames
)) goto fail
;
2530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2531 result
= wxGetHostName();
2533 wxPyEndAllowThreads(__tstate
);
2534 if (PyErr_Occurred()) SWIG_fail
;
2538 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2540 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2549 static PyObject
*_wrap_GetFullHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2550 PyObject
*resultobj
;
2556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFullHostName",kwnames
)) goto fail
;
2558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2559 result
= wxGetFullHostName();
2561 wxPyEndAllowThreads(__tstate
);
2562 if (PyErr_Occurred()) SWIG_fail
;
2566 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2568 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2577 static PyObject
*_wrap_GetUserId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2578 PyObject
*resultobj
;
2584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserId",kwnames
)) goto fail
;
2586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2587 result
= wxGetUserId();
2589 wxPyEndAllowThreads(__tstate
);
2590 if (PyErr_Occurred()) SWIG_fail
;
2594 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2596 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2605 static PyObject
*_wrap_GetUserName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2606 PyObject
*resultobj
;
2612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserName",kwnames
)) goto fail
;
2614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2615 result
= wxGetUserName();
2617 wxPyEndAllowThreads(__tstate
);
2618 if (PyErr_Occurred()) SWIG_fail
;
2622 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2624 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2633 static PyObject
*_wrap_GetHomeDir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2634 PyObject
*resultobj
;
2640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHomeDir",kwnames
)) goto fail
;
2642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2643 result
= wxGetHomeDir();
2645 wxPyEndAllowThreads(__tstate
);
2646 if (PyErr_Occurred()) SWIG_fail
;
2650 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2652 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2661 static PyObject
*_wrap_GetUserHome(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2662 PyObject
*resultobj
;
2663 wxString
const &arg1_defvalue
= wxPyEmptyString
;
2664 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2666 bool temp1
= False
;
2667 PyObject
* obj0
= 0 ;
2669 (char *) "user", NULL
2672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) goto fail
;
2675 arg1
= wxString_in_helper(obj0
);
2676 if (arg1
== NULL
) SWIG_fail
;
2681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2682 result
= wxGetUserHome((wxString
const &)*arg1
);
2684 wxPyEndAllowThreads(__tstate
);
2685 if (PyErr_Occurred()) SWIG_fail
;
2689 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2691 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2708 static PyObject
*_wrap_GetProcessId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2709 PyObject
*resultobj
;
2710 unsigned long result
;
2715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetProcessId",kwnames
)) goto fail
;
2717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2718 result
= (unsigned long)wxGetProcessId();
2720 wxPyEndAllowThreads(__tstate
);
2721 if (PyErr_Occurred()) SWIG_fail
;
2723 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
2730 static PyObject
*_wrap_Trap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2731 PyObject
*resultobj
;
2736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Trap",kwnames
)) goto fail
;
2738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2741 wxPyEndAllowThreads(__tstate
);
2742 if (PyErr_Occurred()) SWIG_fail
;
2744 Py_INCREF(Py_None
); resultobj
= Py_None
;
2751 static PyObject
*_wrap_FileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2752 PyObject
*resultobj
;
2753 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
2754 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2755 wxString
const &arg2_defvalue
= wxPyEmptyString
;
2756 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
2757 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2758 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2759 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2760 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2761 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
2762 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
2763 int arg6
= (int) 0 ;
2764 wxWindow
*arg7
= (wxWindow
*) NULL
;
2765 int arg8
= (int) -1 ;
2766 int arg9
= (int) -1 ;
2768 bool temp1
= False
;
2769 bool temp2
= False
;
2770 bool temp3
= False
;
2771 bool temp4
= False
;
2772 bool temp5
= False
;
2773 PyObject
* obj0
= 0 ;
2774 PyObject
* obj1
= 0 ;
2775 PyObject
* obj2
= 0 ;
2776 PyObject
* obj3
= 0 ;
2777 PyObject
* obj4
= 0 ;
2778 PyObject
* obj5
= 0 ;
2779 PyObject
* obj6
= 0 ;
2780 PyObject
* obj7
= 0 ;
2781 PyObject
* obj8
= 0 ;
2783 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
2786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOOOO:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2789 arg1
= wxString_in_helper(obj0
);
2790 if (arg1
== NULL
) SWIG_fail
;
2796 arg2
= wxString_in_helper(obj1
);
2797 if (arg2
== NULL
) SWIG_fail
;
2803 arg3
= wxString_in_helper(obj2
);
2804 if (arg3
== NULL
) SWIG_fail
;
2810 arg4
= wxString_in_helper(obj3
);
2811 if (arg4
== NULL
) SWIG_fail
;
2817 arg5
= wxString_in_helper(obj4
);
2818 if (arg5
== NULL
) SWIG_fail
;
2823 arg6
= (int) SWIG_AsInt(obj5
);
2824 if (PyErr_Occurred()) SWIG_fail
;
2827 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxWindow
,
2828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2831 arg8
= (int) SWIG_AsInt(obj7
);
2832 if (PyErr_Occurred()) SWIG_fail
;
2835 arg9
= (int) SWIG_AsInt(obj8
);
2836 if (PyErr_Occurred()) SWIG_fail
;
2839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2840 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
2842 wxPyEndAllowThreads(__tstate
);
2843 if (PyErr_Occurred()) SWIG_fail
;
2847 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2849 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2898 static PyObject
*_wrap_LoadFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2899 PyObject
*resultobj
;
2900 wxString
*arg1
= 0 ;
2901 wxString
*arg2
= 0 ;
2902 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2903 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2904 wxWindow
*arg4
= (wxWindow
*) NULL
;
2906 bool temp1
= False
;
2907 bool temp2
= False
;
2908 bool temp3
= False
;
2909 PyObject
* obj0
= 0 ;
2910 PyObject
* obj1
= 0 ;
2911 PyObject
* obj2
= 0 ;
2912 PyObject
* obj3
= 0 ;
2914 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
2917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2919 arg1
= wxString_in_helper(obj0
);
2920 if (arg1
== NULL
) SWIG_fail
;
2924 arg2
= wxString_in_helper(obj1
);
2925 if (arg2
== NULL
) SWIG_fail
;
2930 arg3
= wxString_in_helper(obj2
);
2931 if (arg3
== NULL
) SWIG_fail
;
2936 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
2937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2941 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
2943 wxPyEndAllowThreads(__tstate
);
2944 if (PyErr_Occurred()) SWIG_fail
;
2948 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2950 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2983 static PyObject
*_wrap_SaveFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2984 PyObject
*resultobj
;
2985 wxString
*arg1
= 0 ;
2986 wxString
*arg2
= 0 ;
2987 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2988 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2989 wxWindow
*arg4
= (wxWindow
*) NULL
;
2991 bool temp1
= False
;
2992 bool temp2
= False
;
2993 bool temp3
= False
;
2994 PyObject
* obj0
= 0 ;
2995 PyObject
* obj1
= 0 ;
2996 PyObject
* obj2
= 0 ;
2997 PyObject
* obj3
= 0 ;
2999 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
3002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3004 arg1
= wxString_in_helper(obj0
);
3005 if (arg1
== NULL
) SWIG_fail
;
3009 arg2
= wxString_in_helper(obj1
);
3010 if (arg2
== NULL
) SWIG_fail
;
3015 arg3
= wxString_in_helper(obj2
);
3016 if (arg3
== NULL
) SWIG_fail
;
3021 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3026 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3028 wxPyEndAllowThreads(__tstate
);
3029 if (PyErr_Occurred()) SWIG_fail
;
3033 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3035 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3068 static PyObject
*_wrap_DirSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3069 PyObject
*resultobj
;
3070 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
3071 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3072 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3073 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3074 long arg3
= (long) wxDD_DEFAULT_STYLE
;
3075 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3076 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3077 wxWindow
*arg5
= (wxWindow
*) NULL
;
3079 bool temp1
= False
;
3080 bool temp2
= False
;
3082 PyObject
* obj0
= 0 ;
3083 PyObject
* obj1
= 0 ;
3084 PyObject
* obj2
= 0 ;
3085 PyObject
* obj3
= 0 ;
3086 PyObject
* obj4
= 0 ;
3088 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
3091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:DirSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3094 arg1
= wxString_in_helper(obj0
);
3095 if (arg1
== NULL
) SWIG_fail
;
3101 arg2
= wxString_in_helper(obj1
);
3102 if (arg2
== NULL
) SWIG_fail
;
3107 arg3
= (long) SWIG_AsLong(obj2
);
3108 if (PyErr_Occurred()) SWIG_fail
;
3113 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3117 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3122 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
3124 wxPyEndAllowThreads(__tstate
);
3125 if (PyErr_Occurred()) SWIG_fail
;
3129 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3131 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3156 static PyObject
*_wrap_GetTextFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3157 PyObject
*resultobj
;
3158 wxString
*arg1
= 0 ;
3159 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3160 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3161 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3162 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3163 wxWindow
*arg4
= (wxWindow
*) NULL
;
3164 int arg5
= (int) -1 ;
3165 int arg6
= (int) -1 ;
3166 bool arg7
= (bool) True
;
3168 bool temp1
= False
;
3169 bool temp2
= False
;
3170 bool temp3
= False
;
3171 PyObject
* obj0
= 0 ;
3172 PyObject
* obj1
= 0 ;
3173 PyObject
* obj2
= 0 ;
3174 PyObject
* obj3
= 0 ;
3175 PyObject
* obj4
= 0 ;
3176 PyObject
* obj5
= 0 ;
3177 PyObject
* obj6
= 0 ;
3179 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
3182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3184 arg1
= wxString_in_helper(obj0
);
3185 if (arg1
== NULL
) SWIG_fail
;
3190 arg2
= wxString_in_helper(obj1
);
3191 if (arg2
== NULL
) SWIG_fail
;
3197 arg3
= wxString_in_helper(obj2
);
3198 if (arg3
== NULL
) SWIG_fail
;
3203 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3207 arg5
= (int) SWIG_AsInt(obj4
);
3208 if (PyErr_Occurred()) SWIG_fail
;
3211 arg6
= (int) SWIG_AsInt(obj5
);
3212 if (PyErr_Occurred()) SWIG_fail
;
3215 arg7
= (bool) SWIG_AsBool(obj6
);
3216 if (PyErr_Occurred()) SWIG_fail
;
3219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3220 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
3222 wxPyEndAllowThreads(__tstate
);
3223 if (PyErr_Occurred()) SWIG_fail
;
3227 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3229 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3262 static PyObject
*_wrap_GetPasswordFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3263 PyObject
*resultobj
;
3264 wxString
*arg1
= 0 ;
3265 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3266 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3267 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3268 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3269 wxWindow
*arg4
= (wxWindow
*) NULL
;
3271 bool temp1
= False
;
3272 bool temp2
= False
;
3273 bool temp3
= False
;
3274 PyObject
* obj0
= 0 ;
3275 PyObject
* obj1
= 0 ;
3276 PyObject
* obj2
= 0 ;
3277 PyObject
* obj3
= 0 ;
3279 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
3282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3284 arg1
= wxString_in_helper(obj0
);
3285 if (arg1
== NULL
) SWIG_fail
;
3290 arg2
= wxString_in_helper(obj1
);
3291 if (arg2
== NULL
) SWIG_fail
;
3297 arg3
= wxString_in_helper(obj2
);
3298 if (arg3
== NULL
) SWIG_fail
;
3303 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3308 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3310 wxPyEndAllowThreads(__tstate
);
3311 if (PyErr_Occurred()) SWIG_fail
;
3315 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3317 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3350 static PyObject
*_wrap_GetSingleChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3351 PyObject
*resultobj
;
3352 wxString
*arg1
= 0 ;
3353 wxString
*arg2
= 0 ;
3355 wxString
*arg4
= (wxString
*) 0 ;
3356 wxWindow
*arg5
= (wxWindow
*) NULL
;
3357 int arg6
= (int) -1 ;
3358 int arg7
= (int) -1 ;
3359 bool arg8
= (bool) True
;
3360 int arg9
= (int) 150 ;
3361 int arg10
= (int) 200 ;
3363 bool temp1
= False
;
3364 bool temp2
= False
;
3365 PyObject
* obj0
= 0 ;
3366 PyObject
* obj1
= 0 ;
3367 PyObject
* obj2
= 0 ;
3368 PyObject
* obj3
= 0 ;
3369 PyObject
* obj4
= 0 ;
3370 PyObject
* obj5
= 0 ;
3371 PyObject
* obj6
= 0 ;
3372 PyObject
* obj7
= 0 ;
3373 PyObject
* obj8
= 0 ;
3375 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3380 arg1
= wxString_in_helper(obj0
);
3381 if (arg1
== NULL
) SWIG_fail
;
3385 arg2
= wxString_in_helper(obj1
);
3386 if (arg2
== NULL
) SWIG_fail
;
3390 arg3
= PyList_Size(obj2
);
3391 arg4
= wxString_LIST_helper(obj2
);
3392 if (arg4
== NULL
) SWIG_fail
;
3395 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3399 arg6
= (int) SWIG_AsInt(obj4
);
3400 if (PyErr_Occurred()) SWIG_fail
;
3403 arg7
= (int) SWIG_AsInt(obj5
);
3404 if (PyErr_Occurred()) SWIG_fail
;
3407 arg8
= (bool) SWIG_AsBool(obj6
);
3408 if (PyErr_Occurred()) SWIG_fail
;
3411 arg9
= (int) SWIG_AsInt(obj7
);
3412 if (PyErr_Occurred()) SWIG_fail
;
3415 arg10
= (int) SWIG_AsInt(obj8
);
3416 if (PyErr_Occurred()) SWIG_fail
;
3419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3420 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
3422 wxPyEndAllowThreads(__tstate
);
3423 if (PyErr_Occurred()) SWIG_fail
;
3427 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3429 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3441 if (arg4
) delete [] arg4
;
3454 if (arg4
) delete [] arg4
;
3460 static PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3461 PyObject
*resultobj
;
3462 wxString
*arg1
= 0 ;
3463 wxString
*arg2
= 0 ;
3465 wxString
*arg4
= (wxString
*) 0 ;
3466 wxWindow
*arg5
= (wxWindow
*) NULL
;
3467 int arg6
= (int) -1 ;
3468 int arg7
= (int) -1 ;
3469 bool arg8
= (bool) True
;
3470 int arg9
= (int) 150 ;
3471 int arg10
= (int) 200 ;
3473 bool temp1
= False
;
3474 bool temp2
= False
;
3475 PyObject
* obj0
= 0 ;
3476 PyObject
* obj1
= 0 ;
3477 PyObject
* obj2
= 0 ;
3478 PyObject
* obj3
= 0 ;
3479 PyObject
* obj4
= 0 ;
3480 PyObject
* obj5
= 0 ;
3481 PyObject
* obj6
= 0 ;
3482 PyObject
* obj7
= 0 ;
3483 PyObject
* obj8
= 0 ;
3485 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3490 arg1
= wxString_in_helper(obj0
);
3491 if (arg1
== NULL
) SWIG_fail
;
3495 arg2
= wxString_in_helper(obj1
);
3496 if (arg2
== NULL
) SWIG_fail
;
3500 arg3
= PyList_Size(obj2
);
3501 arg4
= wxString_LIST_helper(obj2
);
3502 if (arg4
== NULL
) SWIG_fail
;
3505 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3509 arg6
= (int) SWIG_AsInt(obj4
);
3510 if (PyErr_Occurred()) SWIG_fail
;
3513 arg7
= (int) SWIG_AsInt(obj5
);
3514 if (PyErr_Occurred()) SWIG_fail
;
3517 arg8
= (bool) SWIG_AsBool(obj6
);
3518 if (PyErr_Occurred()) SWIG_fail
;
3521 arg9
= (int) SWIG_AsInt(obj7
);
3522 if (PyErr_Occurred()) SWIG_fail
;
3525 arg10
= (int) SWIG_AsInt(obj8
);
3526 if (PyErr_Occurred()) SWIG_fail
;
3529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3530 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
3532 wxPyEndAllowThreads(__tstate
);
3533 if (PyErr_Occurred()) SWIG_fail
;
3535 resultobj
= SWIG_FromInt((int)result
);
3545 if (arg4
) delete [] arg4
;
3558 if (arg4
) delete [] arg4
;
3564 static PyObject
*_wrap_MessageBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3565 PyObject
*resultobj
;
3566 wxString
*arg1
= 0 ;
3567 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3568 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3569 int arg3
= (int) wxOK
|wxCENTRE
;
3570 wxWindow
*arg4
= (wxWindow
*) NULL
;
3571 int arg5
= (int) -1 ;
3572 int arg6
= (int) -1 ;
3574 bool temp1
= False
;
3575 bool temp2
= False
;
3576 PyObject
* obj0
= 0 ;
3577 PyObject
* obj1
= 0 ;
3578 PyObject
* obj2
= 0 ;
3579 PyObject
* obj3
= 0 ;
3580 PyObject
* obj4
= 0 ;
3581 PyObject
* obj5
= 0 ;
3583 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
3586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:MessageBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
3588 arg1
= wxString_in_helper(obj0
);
3589 if (arg1
== NULL
) SWIG_fail
;
3594 arg2
= wxString_in_helper(obj1
);
3595 if (arg2
== NULL
) SWIG_fail
;
3600 arg3
= (int) SWIG_AsInt(obj2
);
3601 if (PyErr_Occurred()) SWIG_fail
;
3604 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3608 arg5
= (int) SWIG_AsInt(obj4
);
3609 if (PyErr_Occurred()) SWIG_fail
;
3612 arg6
= (int) SWIG_AsInt(obj5
);
3613 if (PyErr_Occurred()) SWIG_fail
;
3616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3617 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
3619 wxPyEndAllowThreads(__tstate
);
3620 if (PyErr_Occurred()) SWIG_fail
;
3622 resultobj
= SWIG_FromInt((int)result
);
3645 static PyObject
*_wrap_GetNumberFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3646 PyObject
*resultobj
;
3647 wxString
*arg1
= 0 ;
3648 wxString
*arg2
= 0 ;
3649 wxString
*arg3
= 0 ;
3651 long arg5
= (long) 0 ;
3652 long arg6
= (long) 100 ;
3653 wxWindow
*arg7
= (wxWindow
*) NULL
;
3654 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
3655 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
3657 bool temp1
= False
;
3658 bool temp2
= False
;
3659 bool temp3
= False
;
3661 PyObject
* obj0
= 0 ;
3662 PyObject
* obj1
= 0 ;
3663 PyObject
* obj2
= 0 ;
3664 PyObject
* obj3
= 0 ;
3665 PyObject
* obj4
= 0 ;
3666 PyObject
* obj5
= 0 ;
3667 PyObject
* obj6
= 0 ;
3668 PyObject
* obj7
= 0 ;
3670 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
3673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3675 arg1
= wxString_in_helper(obj0
);
3676 if (arg1
== NULL
) SWIG_fail
;
3680 arg2
= wxString_in_helper(obj1
);
3681 if (arg2
== NULL
) SWIG_fail
;
3685 arg3
= wxString_in_helper(obj2
);
3686 if (arg3
== NULL
) SWIG_fail
;
3689 arg4
= (long) SWIG_AsLong(obj3
);
3690 if (PyErr_Occurred()) SWIG_fail
;
3692 arg5
= (long) SWIG_AsLong(obj4
);
3693 if (PyErr_Occurred()) SWIG_fail
;
3696 arg6
= (long) SWIG_AsLong(obj5
);
3697 if (PyErr_Occurred()) SWIG_fail
;
3700 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxWindow
,
3701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3706 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
3710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3711 result
= (long)wxGetNumberFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
3713 wxPyEndAllowThreads(__tstate
);
3714 if (PyErr_Occurred()) SWIG_fail
;
3716 resultobj
= SWIG_FromLong((long)result
);
3747 static PyObject
*_wrap_ColourDisplay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3748 PyObject
*resultobj
;
3754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ColourDisplay",kwnames
)) goto fail
;
3756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3757 result
= (bool)wxColourDisplay();
3759 wxPyEndAllowThreads(__tstate
);
3760 if (PyErr_Occurred()) SWIG_fail
;
3763 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3771 static PyObject
*_wrap_DisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3772 PyObject
*resultobj
;
3778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplayDepth",kwnames
)) goto fail
;
3780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3781 result
= (int)wxDisplayDepth();
3783 wxPyEndAllowThreads(__tstate
);
3784 if (PyErr_Occurred()) SWIG_fail
;
3786 resultobj
= SWIG_FromInt((int)result
);
3793 static PyObject
*_wrap_GetDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3794 PyObject
*resultobj
;
3800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplayDepth",kwnames
)) goto fail
;
3802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3803 result
= (int)wxGetDisplayDepth();
3805 wxPyEndAllowThreads(__tstate
);
3806 if (PyErr_Occurred()) SWIG_fail
;
3808 resultobj
= SWIG_FromInt((int)result
);
3815 static PyObject
*_wrap_DisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3816 PyObject
*resultobj
;
3817 int *arg1
= (int *) 0 ;
3818 int *arg2
= (int *) 0 ;
3827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySize",kwnames
)) goto fail
;
3829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3830 wxDisplaySize(arg1
,arg2
);
3832 wxPyEndAllowThreads(__tstate
);
3833 if (PyErr_Occurred()) SWIG_fail
;
3835 Py_INCREF(Py_None
); resultobj
= Py_None
;
3837 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
3838 resultobj
= t_output_helper(resultobj
,o
);
3841 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3842 resultobj
= t_output_helper(resultobj
,o
);
3850 static PyObject
*_wrap_GetDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3851 PyObject
*resultobj
;
3857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySize",kwnames
)) goto fail
;
3859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3860 result
= wxGetDisplaySize();
3862 wxPyEndAllowThreads(__tstate
);
3863 if (PyErr_Occurred()) SWIG_fail
;
3867 resultptr
= new wxSize((wxSize
&) result
);
3868 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3876 static PyObject
*_wrap_DisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3877 PyObject
*resultobj
;
3878 int *arg1
= (int *) 0 ;
3879 int *arg2
= (int *) 0 ;
3888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySizeMM",kwnames
)) goto fail
;
3890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3891 wxDisplaySizeMM(arg1
,arg2
);
3893 wxPyEndAllowThreads(__tstate
);
3894 if (PyErr_Occurred()) SWIG_fail
;
3896 Py_INCREF(Py_None
); resultobj
= Py_None
;
3898 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
3899 resultobj
= t_output_helper(resultobj
,o
);
3902 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3903 resultobj
= t_output_helper(resultobj
,o
);
3911 static PyObject
*_wrap_GetDisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3912 PyObject
*resultobj
;
3918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySizeMM",kwnames
)) goto fail
;
3920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3921 result
= wxGetDisplaySizeMM();
3923 wxPyEndAllowThreads(__tstate
);
3924 if (PyErr_Occurred()) SWIG_fail
;
3928 resultptr
= new wxSize((wxSize
&) result
);
3929 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3937 static PyObject
*_wrap_ClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3938 PyObject
*resultobj
;
3939 int *arg1
= (int *) 0 ;
3940 int *arg2
= (int *) 0 ;
3941 int *arg3
= (int *) 0 ;
3942 int *arg4
= (int *) 0 ;
3955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ClientDisplayRect",kwnames
)) goto fail
;
3957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3958 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
3960 wxPyEndAllowThreads(__tstate
);
3961 if (PyErr_Occurred()) SWIG_fail
;
3963 Py_INCREF(Py_None
); resultobj
= Py_None
;
3965 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
3966 resultobj
= t_output_helper(resultobj
,o
);
3969 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3970 resultobj
= t_output_helper(resultobj
,o
);
3973 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
3974 resultobj
= t_output_helper(resultobj
,o
);
3977 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
3978 resultobj
= t_output_helper(resultobj
,o
);
3986 static PyObject
*_wrap_GetClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3987 PyObject
*resultobj
;
3993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetClientDisplayRect",kwnames
)) goto fail
;
3995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3996 result
= wxGetClientDisplayRect();
3998 wxPyEndAllowThreads(__tstate
);
3999 if (PyErr_Occurred()) SWIG_fail
;
4003 resultptr
= new wxRect((wxRect
&) result
);
4004 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
4012 static PyObject
*_wrap_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4013 PyObject
*resultobj
;
4014 wxCursor
*arg1
= 0 ;
4015 PyObject
* obj0
= 0 ;
4017 (char *) "cursor", NULL
4020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) goto fail
;
4021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4022 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4025 PyErr_SetString(PyExc_TypeError
,"null reference");
4029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4032 wxPyEndAllowThreads(__tstate
);
4033 if (PyErr_Occurred()) SWIG_fail
;
4035 Py_INCREF(Py_None
); resultobj
= Py_None
;
4042 static PyObject
*_wrap_BeginBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4043 PyObject
*resultobj
;
4044 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
4045 PyObject
* obj0
= 0 ;
4047 (char *) "cursor", NULL
4050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) goto fail
;
4052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4057 wxBeginBusyCursor(arg1
);
4059 wxPyEndAllowThreads(__tstate
);
4060 if (PyErr_Occurred()) SWIG_fail
;
4062 Py_INCREF(Py_None
); resultobj
= Py_None
;
4069 static PyObject
*_wrap_GetActiveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4070 PyObject
*resultobj
;
4076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetActiveWindow",kwnames
)) goto fail
;
4078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4079 result
= (wxWindow
*)wxGetActiveWindow();
4081 wxPyEndAllowThreads(__tstate
);
4082 if (PyErr_Occurred()) SWIG_fail
;
4085 resultobj
= wxPyMake_wxObject(result
);
4093 static PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4094 PyObject
*resultobj
;
4098 PyObject
* obj0
= 0 ;
4103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
4106 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4110 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
4112 wxPyEndAllowThreads(__tstate
);
4113 if (PyErr_Occurred()) SWIG_fail
;
4116 resultobj
= wxPyMake_wxObject(result
);
4124 static PyObject
*_wrap_FindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4125 PyObject
*resultobj
;
4129 PyObject
* obj0
= 0 ;
4134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
4137 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4141 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
4143 wxPyEndAllowThreads(__tstate
);
4144 if (PyErr_Occurred()) SWIG_fail
;
4147 resultobj
= wxPyMake_wxObject(result
);
4155 static PyObject
*_wrap_GetTopLevelParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4156 PyObject
*resultobj
;
4157 wxWindow
*arg1
= (wxWindow
*) 0 ;
4159 PyObject
* obj0
= 0 ;
4161 (char *) "win", NULL
4164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) goto fail
;
4165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4169 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
4171 wxPyEndAllowThreads(__tstate
);
4172 if (PyErr_Occurred()) SWIG_fail
;
4175 resultobj
= wxPyMake_wxObject(result
);
4183 static PyObject
*_wrap_GetKeyState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4184 PyObject
*resultobj
;
4187 PyObject
* obj0
= 0 ;
4189 (char *) "key", NULL
4192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetKeyState",kwnames
,&obj0
)) goto fail
;
4193 arg1
= (wxKeyCode
) SWIG_AsInt(obj0
);
4194 if (PyErr_Occurred()) SWIG_fail
;
4196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4197 result
= (bool)wxGetKeyState((wxKeyCode
)arg1
);
4199 wxPyEndAllowThreads(__tstate
);
4200 if (PyErr_Occurred()) SWIG_fail
;
4203 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4211 static PyObject
*_wrap_WakeUpMainThread(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4212 PyObject
*resultobj
;
4217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpMainThread",kwnames
)) goto fail
;
4219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4220 wxWakeUpMainThread();
4222 wxPyEndAllowThreads(__tstate
);
4223 if (PyErr_Occurred()) SWIG_fail
;
4225 Py_INCREF(Py_None
); resultobj
= Py_None
;
4232 static PyObject
*_wrap_MutexGuiEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4233 PyObject
*resultobj
;
4238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiEnter",kwnames
)) goto fail
;
4240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4243 wxPyEndAllowThreads(__tstate
);
4244 if (PyErr_Occurred()) SWIG_fail
;
4246 Py_INCREF(Py_None
); resultobj
= Py_None
;
4253 static PyObject
*_wrap_MutexGuiLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4254 PyObject
*resultobj
;
4259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiLeave",kwnames
)) goto fail
;
4261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4264 wxPyEndAllowThreads(__tstate
);
4265 if (PyErr_Occurred()) SWIG_fail
;
4267 Py_INCREF(Py_None
); resultobj
= Py_None
;
4274 static PyObject
*_wrap_new_MutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4275 PyObject
*resultobj
;
4276 wxMutexGuiLocker
*result
;
4281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MutexGuiLocker",kwnames
)) goto fail
;
4283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4284 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
4286 wxPyEndAllowThreads(__tstate
);
4287 if (PyErr_Occurred()) SWIG_fail
;
4289 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMutexGuiLocker
, 1);
4296 static PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4297 PyObject
*resultobj
;
4298 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
4299 PyObject
* obj0
= 0 ;
4301 (char *) "self", NULL
4304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MutexGuiLocker",kwnames
,&obj0
)) goto fail
;
4305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMutexGuiLocker
,
4306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4311 wxPyEndAllowThreads(__tstate
);
4312 if (PyErr_Occurred()) SWIG_fail
;
4314 Py_INCREF(Py_None
); resultobj
= Py_None
;
4321 static PyObject
* MutexGuiLocker_swigregister(PyObject
*self
, PyObject
*args
) {
4323 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4324 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker
, obj
);
4326 return Py_BuildValue((char *)"");
4328 static PyObject
*_wrap_Thread_IsMain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4329 PyObject
*resultobj
;
4335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Thread_IsMain",kwnames
)) goto fail
;
4337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4338 result
= (bool)wxThread_IsMain();
4340 wxPyEndAllowThreads(__tstate
);
4341 if (PyErr_Occurred()) SWIG_fail
;
4344 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4352 static PyObject
*_wrap_new_ToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4353 PyObject
*resultobj
;
4354 wxString
*arg1
= 0 ;
4356 bool temp1
= False
;
4357 PyObject
* obj0
= 0 ;
4359 (char *) "tip", NULL
4362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) goto fail
;
4364 arg1
= wxString_in_helper(obj0
);
4365 if (arg1
== NULL
) SWIG_fail
;
4369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4370 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
4372 wxPyEndAllowThreads(__tstate
);
4373 if (PyErr_Occurred()) SWIG_fail
;
4376 resultobj
= wxPyMake_wxObject(result
);
4392 static PyObject
*_wrap_ToolTip_SetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4393 PyObject
*resultobj
;
4394 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4395 wxString
*arg2
= 0 ;
4396 bool temp2
= False
;
4397 PyObject
* obj0
= 0 ;
4398 PyObject
* obj1
= 0 ;
4400 (char *) "self",(char *) "tip", NULL
4403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) goto fail
;
4404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4407 arg2
= wxString_in_helper(obj1
);
4408 if (arg2
== NULL
) SWIG_fail
;
4412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4413 (arg1
)->SetTip((wxString
const &)*arg2
);
4415 wxPyEndAllowThreads(__tstate
);
4416 if (PyErr_Occurred()) SWIG_fail
;
4418 Py_INCREF(Py_None
); resultobj
= Py_None
;
4433 static PyObject
*_wrap_ToolTip_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4434 PyObject
*resultobj
;
4435 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4437 PyObject
* obj0
= 0 ;
4439 (char *) "self", NULL
4442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetTip",kwnames
,&obj0
)) goto fail
;
4443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4447 result
= (arg1
)->GetTip();
4449 wxPyEndAllowThreads(__tstate
);
4450 if (PyErr_Occurred()) SWIG_fail
;
4454 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4456 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4465 static PyObject
*_wrap_ToolTip_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4466 PyObject
*resultobj
;
4467 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4469 PyObject
* obj0
= 0 ;
4471 (char *) "self", NULL
4474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetWindow",kwnames
,&obj0
)) goto fail
;
4475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4479 result
= (wxWindow
*)(arg1
)->GetWindow();
4481 wxPyEndAllowThreads(__tstate
);
4482 if (PyErr_Occurred()) SWIG_fail
;
4485 resultobj
= wxPyMake_wxObject(result
);
4493 static PyObject
*_wrap_ToolTip_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4494 PyObject
*resultobj
;
4496 PyObject
* obj0
= 0 ;
4498 (char *) "flag", NULL
4501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) goto fail
;
4502 arg1
= (bool) SWIG_AsBool(obj0
);
4503 if (PyErr_Occurred()) SWIG_fail
;
4505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4506 wxToolTip::Enable(arg1
);
4508 wxPyEndAllowThreads(__tstate
);
4509 if (PyErr_Occurred()) SWIG_fail
;
4511 Py_INCREF(Py_None
); resultobj
= Py_None
;
4518 static PyObject
*_wrap_ToolTip_SetDelay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4519 PyObject
*resultobj
;
4521 PyObject
* obj0
= 0 ;
4523 (char *) "milliseconds", NULL
4526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_SetDelay",kwnames
,&obj0
)) goto fail
;
4527 arg1
= (long) SWIG_AsLong(obj0
);
4528 if (PyErr_Occurred()) SWIG_fail
;
4530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4531 wxToolTip::SetDelay(arg1
);
4533 wxPyEndAllowThreads(__tstate
);
4534 if (PyErr_Occurred()) SWIG_fail
;
4536 Py_INCREF(Py_None
); resultobj
= Py_None
;
4543 static PyObject
* ToolTip_swigregister(PyObject
*self
, PyObject
*args
) {
4545 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4546 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip
, obj
);
4548 return Py_BuildValue((char *)"");
4550 static PyObject
*_wrap_new_Caret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4551 PyObject
*resultobj
;
4552 wxWindow
*arg1
= (wxWindow
*) 0 ;
4556 PyObject
* obj0
= 0 ;
4557 PyObject
* obj1
= 0 ;
4559 (char *) "window",(char *) "size", NULL
4562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) goto fail
;
4563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4567 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4571 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
4573 wxPyEndAllowThreads(__tstate
);
4574 if (PyErr_Occurred()) SWIG_fail
;
4576 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 1);
4583 static PyObject
*_wrap_delete_Caret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4584 PyObject
*resultobj
;
4585 wxCaret
*arg1
= (wxCaret
*) 0 ;
4586 PyObject
* obj0
= 0 ;
4588 (char *) "self", NULL
4591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Caret",kwnames
,&obj0
)) goto fail
;
4592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4598 wxPyEndAllowThreads(__tstate
);
4599 if (PyErr_Occurred()) SWIG_fail
;
4601 Py_INCREF(Py_None
); resultobj
= Py_None
;
4608 static PyObject
*_wrap_Caret_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4609 PyObject
*resultobj
;
4610 wxCaret
*arg1
= (wxCaret
*) 0 ;
4612 PyObject
* obj0
= 0 ;
4614 (char *) "self", NULL
4617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsOk",kwnames
,&obj0
)) goto fail
;
4618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4622 result
= (bool)(arg1
)->IsOk();
4624 wxPyEndAllowThreads(__tstate
);
4625 if (PyErr_Occurred()) SWIG_fail
;
4628 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4636 static PyObject
*_wrap_Caret_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4637 PyObject
*resultobj
;
4638 wxCaret
*arg1
= (wxCaret
*) 0 ;
4640 PyObject
* obj0
= 0 ;
4642 (char *) "self", NULL
4645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsVisible",kwnames
,&obj0
)) goto fail
;
4646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4650 result
= (bool)(arg1
)->IsVisible();
4652 wxPyEndAllowThreads(__tstate
);
4653 if (PyErr_Occurred()) SWIG_fail
;
4656 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4664 static PyObject
*_wrap_Caret_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4665 PyObject
*resultobj
;
4666 wxCaret
*arg1
= (wxCaret
*) 0 ;
4668 PyObject
* obj0
= 0 ;
4670 (char *) "self", NULL
4673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPosition",kwnames
,&obj0
)) goto fail
;
4674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4678 result
= (arg1
)->GetPosition();
4680 wxPyEndAllowThreads(__tstate
);
4681 if (PyErr_Occurred()) SWIG_fail
;
4684 wxPoint
* resultptr
;
4685 resultptr
= new wxPoint((wxPoint
&) result
);
4686 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4694 static PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4695 PyObject
*resultobj
;
4696 wxCaret
*arg1
= (wxCaret
*) 0 ;
4697 int *arg2
= (int *) 0 ;
4698 int *arg3
= (int *) 0 ;
4701 PyObject
* obj0
= 0 ;
4703 (char *) "self", NULL
4708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
4709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4713 (arg1
)->GetPosition(arg2
,arg3
);
4715 wxPyEndAllowThreads(__tstate
);
4716 if (PyErr_Occurred()) SWIG_fail
;
4718 Py_INCREF(Py_None
); resultobj
= Py_None
;
4720 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4721 resultobj
= t_output_helper(resultobj
,o
);
4724 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4725 resultobj
= t_output_helper(resultobj
,o
);
4733 static PyObject
*_wrap_Caret_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4734 PyObject
*resultobj
;
4735 wxCaret
*arg1
= (wxCaret
*) 0 ;
4737 PyObject
* obj0
= 0 ;
4739 (char *) "self", NULL
4742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSize",kwnames
,&obj0
)) goto fail
;
4743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4747 result
= (arg1
)->GetSize();
4749 wxPyEndAllowThreads(__tstate
);
4750 if (PyErr_Occurred()) SWIG_fail
;
4754 resultptr
= new wxSize((wxSize
&) result
);
4755 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
4763 static PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4764 PyObject
*resultobj
;
4765 wxCaret
*arg1
= (wxCaret
*) 0 ;
4766 int *arg2
= (int *) 0 ;
4767 int *arg3
= (int *) 0 ;
4770 PyObject
* obj0
= 0 ;
4772 (char *) "self", NULL
4777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
4778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4782 (arg1
)->GetSize(arg2
,arg3
);
4784 wxPyEndAllowThreads(__tstate
);
4785 if (PyErr_Occurred()) SWIG_fail
;
4787 Py_INCREF(Py_None
); resultobj
= Py_None
;
4789 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4790 resultobj
= t_output_helper(resultobj
,o
);
4793 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4794 resultobj
= t_output_helper(resultobj
,o
);
4802 static PyObject
*_wrap_Caret_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4803 PyObject
*resultobj
;
4804 wxCaret
*arg1
= (wxCaret
*) 0 ;
4806 PyObject
* obj0
= 0 ;
4808 (char *) "self", NULL
4811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetWindow",kwnames
,&obj0
)) goto fail
;
4812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4816 result
= (wxWindow
*)(arg1
)->GetWindow();
4818 wxPyEndAllowThreads(__tstate
);
4819 if (PyErr_Occurred()) SWIG_fail
;
4822 resultobj
= wxPyMake_wxObject(result
);
4830 static PyObject
*_wrap_Caret_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4831 PyObject
*resultobj
;
4832 wxCaret
*arg1
= (wxCaret
*) 0 ;
4835 PyObject
* obj0
= 0 ;
4836 PyObject
* obj1
= 0 ;
4837 PyObject
* obj2
= 0 ;
4839 (char *) "self",(char *) "x",(char *) "y", NULL
4842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4845 arg2
= (int) SWIG_AsInt(obj1
);
4846 if (PyErr_Occurred()) SWIG_fail
;
4847 arg3
= (int) SWIG_AsInt(obj2
);
4848 if (PyErr_Occurred()) SWIG_fail
;
4850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4851 (arg1
)->Move(arg2
,arg3
);
4853 wxPyEndAllowThreads(__tstate
);
4854 if (PyErr_Occurred()) SWIG_fail
;
4856 Py_INCREF(Py_None
); resultobj
= Py_None
;
4863 static PyObject
*_wrap_Caret_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4864 PyObject
*resultobj
;
4865 wxCaret
*arg1
= (wxCaret
*) 0 ;
4868 PyObject
* obj0
= 0 ;
4869 PyObject
* obj1
= 0 ;
4871 (char *) "self",(char *) "pt", NULL
4874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
4875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4879 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4883 (arg1
)->Move((wxPoint
const &)*arg2
);
4885 wxPyEndAllowThreads(__tstate
);
4886 if (PyErr_Occurred()) SWIG_fail
;
4888 Py_INCREF(Py_None
); resultobj
= Py_None
;
4895 static PyObject
*_wrap_Caret_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4896 PyObject
*resultobj
;
4897 wxCaret
*arg1
= (wxCaret
*) 0 ;
4900 PyObject
* obj0
= 0 ;
4901 PyObject
* obj1
= 0 ;
4902 PyObject
* obj2
= 0 ;
4904 (char *) "self",(char *) "width",(char *) "height", NULL
4907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4910 arg2
= (int) SWIG_AsInt(obj1
);
4911 if (PyErr_Occurred()) SWIG_fail
;
4912 arg3
= (int) SWIG_AsInt(obj2
);
4913 if (PyErr_Occurred()) SWIG_fail
;
4915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4916 (arg1
)->SetSize(arg2
,arg3
);
4918 wxPyEndAllowThreads(__tstate
);
4919 if (PyErr_Occurred()) SWIG_fail
;
4921 Py_INCREF(Py_None
); resultobj
= Py_None
;
4928 static PyObject
*_wrap_Caret_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4929 PyObject
*resultobj
;
4930 wxCaret
*arg1
= (wxCaret
*) 0 ;
4933 PyObject
* obj0
= 0 ;
4934 PyObject
* obj1
= 0 ;
4936 (char *) "self",(char *) "size", NULL
4939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
4940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4944 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4948 (arg1
)->SetSize((wxSize
const &)*arg2
);
4950 wxPyEndAllowThreads(__tstate
);
4951 if (PyErr_Occurred()) SWIG_fail
;
4953 Py_INCREF(Py_None
); resultobj
= Py_None
;
4960 static PyObject
*_wrap_Caret_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4961 PyObject
*resultobj
;
4962 wxCaret
*arg1
= (wxCaret
*) 0 ;
4963 int arg2
= (int) True
;
4964 PyObject
* obj0
= 0 ;
4965 PyObject
* obj1
= 0 ;
4967 (char *) "self",(char *) "show", NULL
4970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Caret_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
4971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4974 arg2
= (int) SWIG_AsInt(obj1
);
4975 if (PyErr_Occurred()) SWIG_fail
;
4978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4981 wxPyEndAllowThreads(__tstate
);
4982 if (PyErr_Occurred()) SWIG_fail
;
4984 Py_INCREF(Py_None
); resultobj
= Py_None
;
4991 static PyObject
*_wrap_Caret_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4992 PyObject
*resultobj
;
4993 wxCaret
*arg1
= (wxCaret
*) 0 ;
4994 PyObject
* obj0
= 0 ;
4996 (char *) "self", NULL
4999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Hide",kwnames
,&obj0
)) goto fail
;
5000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5006 wxPyEndAllowThreads(__tstate
);
5007 if (PyErr_Occurred()) SWIG_fail
;
5009 Py_INCREF(Py_None
); resultobj
= Py_None
;
5016 static PyObject
* Caret_swigregister(PyObject
*self
, PyObject
*args
) {
5018 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5019 SWIG_TypeClientData(SWIGTYPE_p_wxCaret
, obj
);
5021 return Py_BuildValue((char *)"");
5023 static PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5024 PyObject
*resultobj
;
5030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Caret_GetBlinkTime",kwnames
)) goto fail
;
5032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5033 result
= (int)wxCaret_GetBlinkTime();
5035 wxPyEndAllowThreads(__tstate
);
5036 if (PyErr_Occurred()) SWIG_fail
;
5038 resultobj
= SWIG_FromInt((int)result
);
5045 static PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5046 PyObject
*resultobj
;
5048 PyObject
* obj0
= 0 ;
5050 (char *) "milliseconds", NULL
5053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_SetBlinkTime",kwnames
,&obj0
)) goto fail
;
5054 arg1
= (int) SWIG_AsInt(obj0
);
5055 if (PyErr_Occurred()) SWIG_fail
;
5057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5058 wxCaret_SetBlinkTime(arg1
);
5060 wxPyEndAllowThreads(__tstate
);
5061 if (PyErr_Occurred()) SWIG_fail
;
5063 Py_INCREF(Py_None
); resultobj
= Py_None
;
5070 static PyObject
*_wrap_new_BusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5071 PyObject
*resultobj
;
5072 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
5073 wxBusyCursor
*result
;
5074 PyObject
* obj0
= 0 ;
5076 (char *) "cursor", NULL
5079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) goto fail
;
5081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5086 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
5088 wxPyEndAllowThreads(__tstate
);
5089 if (PyErr_Occurred()) SWIG_fail
;
5091 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyCursor
, 1);
5098 static PyObject
*_wrap_delete_BusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5099 PyObject
*resultobj
;
5100 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
5101 PyObject
* obj0
= 0 ;
5103 (char *) "self", NULL
5106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyCursor",kwnames
,&obj0
)) goto fail
;
5107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBusyCursor
,
5108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5113 wxPyEndAllowThreads(__tstate
);
5114 if (PyErr_Occurred()) SWIG_fail
;
5116 Py_INCREF(Py_None
); resultobj
= Py_None
;
5123 static PyObject
* BusyCursor_swigregister(PyObject
*self
, PyObject
*args
) {
5125 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5126 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor
, obj
);
5128 return Py_BuildValue((char *)"");
5130 static PyObject
*_wrap_new_WindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5131 PyObject
*resultobj
;
5132 wxWindow
*arg1
= (wxWindow
*) NULL
;
5133 wxWindowDisabler
*result
;
5134 PyObject
* obj0
= 0 ;
5136 (char *) "winToSkip", NULL
5139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) goto fail
;
5141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5146 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
5148 wxPyEndAllowThreads(__tstate
);
5149 if (PyErr_Occurred()) SWIG_fail
;
5151 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDisabler
, 1);
5158 static PyObject
*_wrap_delete_WindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5159 PyObject
*resultobj
;
5160 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
5161 PyObject
* obj0
= 0 ;
5163 (char *) "self", NULL
5166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_WindowDisabler",kwnames
,&obj0
)) goto fail
;
5167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowDisabler
,
5168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5173 wxPyEndAllowThreads(__tstate
);
5174 if (PyErr_Occurred()) SWIG_fail
;
5176 Py_INCREF(Py_None
); resultobj
= Py_None
;
5183 static PyObject
* WindowDisabler_swigregister(PyObject
*self
, PyObject
*args
) {
5185 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5186 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler
, obj
);
5188 return Py_BuildValue((char *)"");
5190 static PyObject
*_wrap_new_BusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5191 PyObject
*resultobj
;
5192 wxString
*arg1
= 0 ;
5194 bool temp1
= False
;
5195 PyObject
* obj0
= 0 ;
5197 (char *) "message", NULL
5200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) goto fail
;
5202 arg1
= wxString_in_helper(obj0
);
5203 if (arg1
== NULL
) SWIG_fail
;
5207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5208 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
);
5210 wxPyEndAllowThreads(__tstate
);
5211 if (PyErr_Occurred()) SWIG_fail
;
5213 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyInfo
, 1);
5228 static PyObject
*_wrap_delete_BusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5229 PyObject
*resultobj
;
5230 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
5231 PyObject
* obj0
= 0 ;
5233 (char *) "self", NULL
5236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyInfo",kwnames
,&obj0
)) goto fail
;
5237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBusyInfo
,
5238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5243 wxPyEndAllowThreads(__tstate
);
5244 if (PyErr_Occurred()) SWIG_fail
;
5246 Py_INCREF(Py_None
); resultobj
= Py_None
;
5253 static PyObject
* BusyInfo_swigregister(PyObject
*self
, PyObject
*args
) {
5255 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5256 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo
, obj
);
5258 return Py_BuildValue((char *)"");
5260 static PyObject
*_wrap_new_StopWatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5261 PyObject
*resultobj
;
5262 wxStopWatch
*result
;
5267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StopWatch",kwnames
)) goto fail
;
5269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5270 result
= (wxStopWatch
*)new wxStopWatch();
5272 wxPyEndAllowThreads(__tstate
);
5273 if (PyErr_Occurred()) SWIG_fail
;
5275 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStopWatch
, 1);
5282 static PyObject
*_wrap_StopWatch_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5283 PyObject
*resultobj
;
5284 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5285 long arg2
= (long) 0 ;
5286 PyObject
* obj0
= 0 ;
5287 PyObject
* obj1
= 0 ;
5289 (char *) "self",(char *) "t0", NULL
5292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StopWatch_Start",kwnames
,&obj0
,&obj1
)) goto fail
;
5293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5296 arg2
= (long) SWIG_AsLong(obj1
);
5297 if (PyErr_Occurred()) SWIG_fail
;
5300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5301 (arg1
)->Start(arg2
);
5303 wxPyEndAllowThreads(__tstate
);
5304 if (PyErr_Occurred()) SWIG_fail
;
5306 Py_INCREF(Py_None
); resultobj
= Py_None
;
5313 static PyObject
*_wrap_StopWatch_Pause(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5314 PyObject
*resultobj
;
5315 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5316 PyObject
* obj0
= 0 ;
5318 (char *) "self", NULL
5321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Pause",kwnames
,&obj0
)) goto fail
;
5322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5328 wxPyEndAllowThreads(__tstate
);
5329 if (PyErr_Occurred()) SWIG_fail
;
5331 Py_INCREF(Py_None
); resultobj
= Py_None
;
5338 static PyObject
*_wrap_StopWatch_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5339 PyObject
*resultobj
;
5340 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5341 PyObject
* obj0
= 0 ;
5343 (char *) "self", NULL
5346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Resume",kwnames
,&obj0
)) goto fail
;
5347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5353 wxPyEndAllowThreads(__tstate
);
5354 if (PyErr_Occurred()) SWIG_fail
;
5356 Py_INCREF(Py_None
); resultobj
= Py_None
;
5363 static PyObject
*_wrap_StopWatch_Time(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5364 PyObject
*resultobj
;
5365 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5367 PyObject
* obj0
= 0 ;
5369 (char *) "self", NULL
5372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Time",kwnames
,&obj0
)) goto fail
;
5373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5377 result
= (long)((wxStopWatch
const *)arg1
)->Time();
5379 wxPyEndAllowThreads(__tstate
);
5380 if (PyErr_Occurred()) SWIG_fail
;
5382 resultobj
= SWIG_FromLong((long)result
);
5389 static PyObject
* StopWatch_swigregister(PyObject
*self
, PyObject
*args
) {
5391 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5392 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch
, obj
);
5394 return Py_BuildValue((char *)"");
5396 static PyObject
*_wrap_new_FileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5397 PyObject
*resultobj
;
5398 int arg1
= (int) 9 ;
5399 wxFileHistory
*result
;
5400 PyObject
* obj0
= 0 ;
5402 (char *) "maxFiles", NULL
5405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FileHistory",kwnames
,&obj0
)) goto fail
;
5407 arg1
= (int) SWIG_AsInt(obj0
);
5408 if (PyErr_Occurred()) SWIG_fail
;
5411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5412 result
= (wxFileHistory
*)new wxFileHistory(arg1
);
5414 wxPyEndAllowThreads(__tstate
);
5415 if (PyErr_Occurred()) SWIG_fail
;
5417 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileHistory
, 1);
5424 static PyObject
*_wrap_delete_FileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5425 PyObject
*resultobj
;
5426 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5427 PyObject
* obj0
= 0 ;
5429 (char *) "self", NULL
5432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileHistory",kwnames
,&obj0
)) goto fail
;
5433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5439 wxPyEndAllowThreads(__tstate
);
5440 if (PyErr_Occurred()) SWIG_fail
;
5442 Py_INCREF(Py_None
); resultobj
= Py_None
;
5449 static PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5450 PyObject
*resultobj
;
5451 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5452 wxString
*arg2
= 0 ;
5453 bool temp2
= False
;
5454 PyObject
* obj0
= 0 ;
5455 PyObject
* obj1
= 0 ;
5457 (char *) "self",(char *) "file", NULL
5460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
5461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5464 arg2
= wxString_in_helper(obj1
);
5465 if (arg2
== NULL
) SWIG_fail
;
5469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5470 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
5472 wxPyEndAllowThreads(__tstate
);
5473 if (PyErr_Occurred()) SWIG_fail
;
5475 Py_INCREF(Py_None
); resultobj
= Py_None
;
5490 static PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5491 PyObject
*resultobj
;
5492 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5494 PyObject
* obj0
= 0 ;
5495 PyObject
* obj1
= 0 ;
5497 (char *) "self",(char *) "i", NULL
5500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
5501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5503 arg2
= (int) SWIG_AsInt(obj1
);
5504 if (PyErr_Occurred()) SWIG_fail
;
5506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5507 (arg1
)->RemoveFileFromHistory(arg2
);
5509 wxPyEndAllowThreads(__tstate
);
5510 if (PyErr_Occurred()) SWIG_fail
;
5512 Py_INCREF(Py_None
); resultobj
= Py_None
;
5519 static PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5520 PyObject
*resultobj
;
5521 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5523 PyObject
* obj0
= 0 ;
5525 (char *) "self", NULL
5528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetMaxFiles",kwnames
,&obj0
)) goto fail
;
5529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5533 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
5535 wxPyEndAllowThreads(__tstate
);
5536 if (PyErr_Occurred()) SWIG_fail
;
5538 resultobj
= SWIG_FromInt((int)result
);
5545 static PyObject
*_wrap_FileHistory_UseMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5546 PyObject
*resultobj
;
5547 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5548 wxMenu
*arg2
= (wxMenu
*) 0 ;
5549 PyObject
* obj0
= 0 ;
5550 PyObject
* obj1
= 0 ;
5552 (char *) "self",(char *) "menu", NULL
5555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5558 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
5559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5562 (arg1
)->UseMenu(arg2
);
5564 wxPyEndAllowThreads(__tstate
);
5565 if (PyErr_Occurred()) SWIG_fail
;
5567 Py_INCREF(Py_None
); resultobj
= Py_None
;
5574 static PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5575 PyObject
*resultobj
;
5576 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5577 wxMenu
*arg2
= (wxMenu
*) 0 ;
5578 PyObject
* obj0
= 0 ;
5579 PyObject
* obj1
= 0 ;
5581 (char *) "self",(char *) "menu", NULL
5584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5587 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
5588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5591 (arg1
)->RemoveMenu(arg2
);
5593 wxPyEndAllowThreads(__tstate
);
5594 if (PyErr_Occurred()) SWIG_fail
;
5596 Py_INCREF(Py_None
); resultobj
= Py_None
;
5603 static PyObject
*_wrap_FileHistory_Load(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5604 PyObject
*resultobj
;
5605 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5606 wxConfigBase
*arg2
= 0 ;
5607 PyObject
* obj0
= 0 ;
5608 PyObject
* obj1
= 0 ;
5610 (char *) "self",(char *) "config", NULL
5613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) goto fail
;
5614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5616 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
5617 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5620 PyErr_SetString(PyExc_TypeError
,"null reference");
5624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5625 (arg1
)->Load(*arg2
);
5627 wxPyEndAllowThreads(__tstate
);
5628 if (PyErr_Occurred()) SWIG_fail
;
5630 Py_INCREF(Py_None
); resultobj
= Py_None
;
5637 static PyObject
*_wrap_FileHistory_Save(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5638 PyObject
*resultobj
;
5639 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5640 wxConfigBase
*arg2
= 0 ;
5641 PyObject
* obj0
= 0 ;
5642 PyObject
* obj1
= 0 ;
5644 (char *) "self",(char *) "config", NULL
5647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) goto fail
;
5648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5650 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
5651 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5654 PyErr_SetString(PyExc_TypeError
,"null reference");
5658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5659 (arg1
)->Save(*arg2
);
5661 wxPyEndAllowThreads(__tstate
);
5662 if (PyErr_Occurred()) SWIG_fail
;
5664 Py_INCREF(Py_None
); resultobj
= Py_None
;
5671 static PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5672 PyObject
*resultobj
;
5673 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5674 PyObject
* obj0
= 0 ;
5676 (char *) "self", NULL
5679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_AddFilesToMenu",kwnames
,&obj0
)) goto fail
;
5680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5684 (arg1
)->AddFilesToMenu();
5686 wxPyEndAllowThreads(__tstate
);
5687 if (PyErr_Occurred()) SWIG_fail
;
5689 Py_INCREF(Py_None
); resultobj
= Py_None
;
5696 static PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5697 PyObject
*resultobj
;
5698 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5699 wxMenu
*arg2
= (wxMenu
*) 0 ;
5700 PyObject
* obj0
= 0 ;
5701 PyObject
* obj1
= 0 ;
5703 (char *) "self",(char *) "menu", NULL
5706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5709 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
5710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5713 (arg1
)->AddFilesToMenu(arg2
);
5715 wxPyEndAllowThreads(__tstate
);
5716 if (PyErr_Occurred()) SWIG_fail
;
5718 Py_INCREF(Py_None
); resultobj
= Py_None
;
5725 static PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5726 PyObject
*resultobj
;
5727 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5730 PyObject
* obj0
= 0 ;
5731 PyObject
* obj1
= 0 ;
5733 (char *) "self",(char *) "i", NULL
5736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_GetHistoryFile",kwnames
,&obj0
,&obj1
)) goto fail
;
5737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5739 arg2
= (int) SWIG_AsInt(obj1
);
5740 if (PyErr_Occurred()) SWIG_fail
;
5742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5743 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
5745 wxPyEndAllowThreads(__tstate
);
5746 if (PyErr_Occurred()) SWIG_fail
;
5750 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5752 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5761 static PyObject
*_wrap_FileHistory_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5762 PyObject
*resultobj
;
5763 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5765 PyObject
* obj0
= 0 ;
5767 (char *) "self", NULL
5770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetCount",kwnames
,&obj0
)) goto fail
;
5771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5775 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
5777 wxPyEndAllowThreads(__tstate
);
5778 if (PyErr_Occurred()) SWIG_fail
;
5780 resultobj
= SWIG_FromInt((int)result
);
5787 static PyObject
* FileHistory_swigregister(PyObject
*self
, PyObject
*args
) {
5789 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5790 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory
, obj
);
5792 return Py_BuildValue((char *)"");
5794 static PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5795 PyObject
*resultobj
;
5796 wxString
*arg1
= 0 ;
5797 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5798 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5799 wxSingleInstanceChecker
*result
;
5800 bool temp1
= False
;
5801 bool temp2
= False
;
5802 PyObject
* obj0
= 0 ;
5803 PyObject
* obj1
= 0 ;
5805 (char *) "name",(char *) "path", NULL
5808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) goto fail
;
5810 arg1
= wxString_in_helper(obj0
);
5811 if (arg1
== NULL
) SWIG_fail
;
5816 arg2
= wxString_in_helper(obj1
);
5817 if (arg2
== NULL
) SWIG_fail
;
5822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5823 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
5825 wxPyEndAllowThreads(__tstate
);
5826 if (PyErr_Occurred()) SWIG_fail
;
5828 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
5851 static PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5852 PyObject
*resultobj
;
5853 wxSingleInstanceChecker
*result
;
5858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSingleInstanceChecker",kwnames
)) goto fail
;
5860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5861 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
5863 wxPyEndAllowThreads(__tstate
);
5864 if (PyErr_Occurred()) SWIG_fail
;
5866 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
5873 static PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5874 PyObject
*resultobj
;
5875 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
5876 PyObject
* obj0
= 0 ;
5878 (char *) "self", NULL
5881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_SingleInstanceChecker",kwnames
,&obj0
)) goto fail
;
5882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
5883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5888 wxPyEndAllowThreads(__tstate
);
5889 if (PyErr_Occurred()) SWIG_fail
;
5891 Py_INCREF(Py_None
); resultobj
= Py_None
;
5898 static PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5899 PyObject
*resultobj
;
5900 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
5901 wxString
*arg2
= 0 ;
5902 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5903 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5905 bool temp2
= False
;
5906 bool temp3
= False
;
5907 PyObject
* obj0
= 0 ;
5908 PyObject
* obj1
= 0 ;
5909 PyObject
* obj2
= 0 ;
5911 (char *) "self",(char *) "name",(char *) "path", NULL
5914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
5916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5918 arg2
= wxString_in_helper(obj1
);
5919 if (arg2
== NULL
) SWIG_fail
;
5924 arg3
= wxString_in_helper(obj2
);
5925 if (arg3
== NULL
) SWIG_fail
;
5930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5931 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
5933 wxPyEndAllowThreads(__tstate
);
5934 if (PyErr_Occurred()) SWIG_fail
;
5937 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5961 static PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5962 PyObject
*resultobj
;
5963 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
5965 PyObject
* obj0
= 0 ;
5967 (char *) "self", NULL
5970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames
,&obj0
)) goto fail
;
5971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
5972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5975 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
5977 wxPyEndAllowThreads(__tstate
);
5978 if (PyErr_Occurred()) SWIG_fail
;
5981 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5989 static PyObject
* SingleInstanceChecker_swigregister(PyObject
*self
, PyObject
*args
) {
5991 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5992 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker
, obj
);
5994 return Py_BuildValue((char *)"");
5996 static PyObject
*_wrap_DrawWindowOnDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5997 PyObject
*resultobj
;
5998 wxWindow
*arg1
= (wxWindow
*) 0 ;
6001 PyObject
* obj0
= 0 ;
6002 PyObject
* obj1
= 0 ;
6003 PyObject
* obj2
= 0 ;
6005 (char *) "window",(char *) "dc",(char *) "method", NULL
6008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DrawWindowOnDC",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6011 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
6012 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6015 PyErr_SetString(PyExc_TypeError
,"null reference");
6018 arg3
= (int) SWIG_AsInt(obj2
);
6019 if (PyErr_Occurred()) SWIG_fail
;
6021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6022 wxDrawWindowOnDC(arg1
,(wxDC
const &)*arg2
,arg3
);
6024 wxPyEndAllowThreads(__tstate
);
6025 if (PyErr_Occurred()) SWIG_fail
;
6027 Py_INCREF(Py_None
); resultobj
= Py_None
;
6034 static PyObject
*_wrap_delete_TipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6035 PyObject
*resultobj
;
6036 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6037 PyObject
* obj0
= 0 ;
6039 (char *) "self", NULL
6042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TipProvider",kwnames
,&obj0
)) goto fail
;
6043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6049 wxPyEndAllowThreads(__tstate
);
6050 if (PyErr_Occurred()) SWIG_fail
;
6052 Py_INCREF(Py_None
); resultobj
= Py_None
;
6059 static PyObject
*_wrap_TipProvider_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6060 PyObject
*resultobj
;
6061 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6063 PyObject
* obj0
= 0 ;
6065 (char *) "self", NULL
6068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetTip",kwnames
,&obj0
)) goto fail
;
6069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6073 result
= (arg1
)->GetTip();
6075 wxPyEndAllowThreads(__tstate
);
6076 if (PyErr_Occurred()) SWIG_fail
;
6080 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6082 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6091 static PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6092 PyObject
*resultobj
;
6093 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6095 PyObject
* obj0
= 0 ;
6097 (char *) "self", NULL
6100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetCurrentTip",kwnames
,&obj0
)) goto fail
;
6101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6105 result
= (size_t)(arg1
)->GetCurrentTip();
6107 wxPyEndAllowThreads(__tstate
);
6108 if (PyErr_Occurred()) SWIG_fail
;
6110 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
6117 static PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6118 PyObject
*resultobj
;
6119 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6120 wxString
*arg2
= 0 ;
6122 bool temp2
= False
;
6123 PyObject
* obj0
= 0 ;
6124 PyObject
* obj1
= 0 ;
6126 (char *) "self",(char *) "tip", NULL
6129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) goto fail
;
6130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6133 arg2
= wxString_in_helper(obj1
);
6134 if (arg2
== NULL
) SWIG_fail
;
6138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6139 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
6141 wxPyEndAllowThreads(__tstate
);
6142 if (PyErr_Occurred()) SWIG_fail
;
6146 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6148 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6165 static PyObject
* TipProvider_swigregister(PyObject
*self
, PyObject
*args
) {
6167 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6168 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider
, obj
);
6170 return Py_BuildValue((char *)"");
6172 static PyObject
*_wrap_new_PyTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6173 PyObject
*resultobj
;
6175 wxPyTipProvider
*result
;
6176 PyObject
* obj0
= 0 ;
6178 (char *) "currentTip", NULL
6181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) goto fail
;
6182 arg1
= (size_t) SWIG_AsUnsignedLong(obj0
);
6183 if (PyErr_Occurred()) SWIG_fail
;
6185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6186 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
6188 wxPyEndAllowThreads(__tstate
);
6189 if (PyErr_Occurred()) SWIG_fail
;
6191 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTipProvider
, 1);
6198 static PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6199 PyObject
*resultobj
;
6200 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
6201 PyObject
*arg2
= (PyObject
*) 0 ;
6202 PyObject
*arg3
= (PyObject
*) 0 ;
6203 PyObject
* obj0
= 0 ;
6204 PyObject
* obj1
= 0 ;
6205 PyObject
* obj2
= 0 ;
6207 (char *) "self",(char *) "self",(char *) "_class", NULL
6210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTipProvider
,
6212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6217 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6219 wxPyEndAllowThreads(__tstate
);
6220 if (PyErr_Occurred()) SWIG_fail
;
6222 Py_INCREF(Py_None
); resultobj
= Py_None
;
6229 static PyObject
* PyTipProvider_swigregister(PyObject
*self
, PyObject
*args
) {
6231 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6232 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider
, obj
);
6234 return Py_BuildValue((char *)"");
6236 static PyObject
*_wrap_ShowTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6237 PyObject
*resultobj
;
6238 wxWindow
*arg1
= (wxWindow
*) 0 ;
6239 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
6240 bool arg3
= (bool) True
;
6242 PyObject
* obj0
= 0 ;
6243 PyObject
* obj1
= 0 ;
6244 PyObject
* obj2
= 0 ;
6246 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
6249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6252 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTipProvider
,
6253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6255 arg3
= (bool) SWIG_AsBool(obj2
);
6256 if (PyErr_Occurred()) SWIG_fail
;
6259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6260 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
6262 wxPyEndAllowThreads(__tstate
);
6263 if (PyErr_Occurred()) SWIG_fail
;
6266 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6274 static PyObject
*_wrap_CreateFileTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6275 PyObject
*resultobj
;
6276 wxString
*arg1
= 0 ;
6278 wxTipProvider
*result
;
6279 bool temp1
= False
;
6280 PyObject
* obj0
= 0 ;
6281 PyObject
* obj1
= 0 ;
6283 (char *) "filename",(char *) "currentTip", NULL
6286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) goto fail
;
6288 arg1
= wxString_in_helper(obj0
);
6289 if (arg1
== NULL
) SWIG_fail
;
6292 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
6293 if (PyErr_Occurred()) SWIG_fail
;
6295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6296 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
6298 wxPyEndAllowThreads(__tstate
);
6299 if (PyErr_Occurred()) SWIG_fail
;
6301 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipProvider
, 1);
6316 static PyObject
*_wrap_new_Timer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6317 PyObject
*resultobj
;
6318 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
6319 int arg2
= (int) -1 ;
6321 PyObject
* obj0
= 0 ;
6322 PyObject
* obj1
= 0 ;
6324 (char *) "owner",(char *) "id", NULL
6327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Timer",kwnames
,&obj0
,&obj1
)) goto fail
;
6329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
6330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6333 arg2
= (int) SWIG_AsInt(obj1
);
6334 if (PyErr_Occurred()) SWIG_fail
;
6337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6338 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
6340 wxPyEndAllowThreads(__tstate
);
6341 if (PyErr_Occurred()) SWIG_fail
;
6343 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTimer
, 1);
6350 static PyObject
*_wrap_delete_Timer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6351 PyObject
*resultobj
;
6352 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6353 PyObject
* obj0
= 0 ;
6355 (char *) "self", NULL
6358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Timer",kwnames
,&obj0
)) goto fail
;
6359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6365 wxPyEndAllowThreads(__tstate
);
6366 if (PyErr_Occurred()) SWIG_fail
;
6368 Py_INCREF(Py_None
); resultobj
= Py_None
;
6375 static PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6376 PyObject
*resultobj
;
6377 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6378 PyObject
*arg2
= (PyObject
*) 0 ;
6379 PyObject
*arg3
= (PyObject
*) 0 ;
6380 int arg4
= (int) 1 ;
6381 PyObject
* obj0
= 0 ;
6382 PyObject
* obj1
= 0 ;
6383 PyObject
* obj2
= 0 ;
6384 PyObject
* obj3
= 0 ;
6386 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
6389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6395 arg4
= (int) SWIG_AsInt(obj3
);
6396 if (PyErr_Occurred()) SWIG_fail
;
6399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6400 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
6402 wxPyEndAllowThreads(__tstate
);
6403 if (PyErr_Occurred()) SWIG_fail
;
6405 Py_INCREF(Py_None
); resultobj
= Py_None
;
6412 static PyObject
*_wrap_Timer_SetOwner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6413 PyObject
*resultobj
;
6414 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6415 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
6416 int arg3
= (int) -1 ;
6417 PyObject
* obj0
= 0 ;
6418 PyObject
* obj1
= 0 ;
6419 PyObject
* obj2
= 0 ;
6421 (char *) "self",(char *) "owner",(char *) "id", NULL
6424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6427 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
6428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6430 arg3
= (int) SWIG_AsInt(obj2
);
6431 if (PyErr_Occurred()) SWIG_fail
;
6434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6435 (arg1
)->SetOwner(arg2
,arg3
);
6437 wxPyEndAllowThreads(__tstate
);
6438 if (PyErr_Occurred()) SWIG_fail
;
6440 Py_INCREF(Py_None
); resultobj
= Py_None
;
6447 static PyObject
*_wrap_Timer_GetOwner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6448 PyObject
*resultobj
;
6449 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6450 wxEvtHandler
*result
;
6451 PyObject
* obj0
= 0 ;
6453 (char *) "self", NULL
6456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetOwner",kwnames
,&obj0
)) goto fail
;
6457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6461 result
= (wxEvtHandler
*)(arg1
)->GetOwner();
6463 wxPyEndAllowThreads(__tstate
);
6464 if (PyErr_Occurred()) SWIG_fail
;
6467 resultobj
= wxPyMake_wxObject(result
);
6475 static PyObject
*_wrap_Timer_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6476 PyObject
*resultobj
;
6477 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6478 int arg2
= (int) -1 ;
6479 bool arg3
= (bool) False
;
6481 PyObject
* obj0
= 0 ;
6482 PyObject
* obj1
= 0 ;
6483 PyObject
* obj2
= 0 ;
6485 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
6488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Timer_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6492 arg2
= (int) SWIG_AsInt(obj1
);
6493 if (PyErr_Occurred()) SWIG_fail
;
6496 arg3
= (bool) SWIG_AsBool(obj2
);
6497 if (PyErr_Occurred()) SWIG_fail
;
6500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6501 result
= (bool)(arg1
)->Start(arg2
,arg3
);
6503 wxPyEndAllowThreads(__tstate
);
6504 if (PyErr_Occurred()) SWIG_fail
;
6507 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6515 static PyObject
*_wrap_Timer_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6516 PyObject
*resultobj
;
6517 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6518 PyObject
* obj0
= 0 ;
6520 (char *) "self", NULL
6523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_Stop",kwnames
,&obj0
)) goto fail
;
6524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6530 wxPyEndAllowThreads(__tstate
);
6531 if (PyErr_Occurred()) SWIG_fail
;
6533 Py_INCREF(Py_None
); resultobj
= Py_None
;
6540 static PyObject
*_wrap_Timer_IsRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6541 PyObject
*resultobj
;
6542 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6544 PyObject
* obj0
= 0 ;
6546 (char *) "self", NULL
6549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsRunning",kwnames
,&obj0
)) goto fail
;
6550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6554 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
6556 wxPyEndAllowThreads(__tstate
);
6557 if (PyErr_Occurred()) SWIG_fail
;
6560 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6568 static PyObject
*_wrap_Timer_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6569 PyObject
*resultobj
;
6570 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6572 PyObject
* obj0
= 0 ;
6574 (char *) "self", NULL
6577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetInterval",kwnames
,&obj0
)) goto fail
;
6578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6582 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
6584 wxPyEndAllowThreads(__tstate
);
6585 if (PyErr_Occurred()) SWIG_fail
;
6587 resultobj
= SWIG_FromInt((int)result
);
6594 static PyObject
*_wrap_Timer_IsOneShot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6595 PyObject
*resultobj
;
6596 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6598 PyObject
* obj0
= 0 ;
6600 (char *) "self", NULL
6603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsOneShot",kwnames
,&obj0
)) goto fail
;
6604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6608 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
6610 wxPyEndAllowThreads(__tstate
);
6611 if (PyErr_Occurred()) SWIG_fail
;
6614 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6622 static PyObject
*_wrap_Timer_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6623 PyObject
*resultobj
;
6624 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6626 PyObject
* obj0
= 0 ;
6628 (char *) "self", NULL
6631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetId",kwnames
,&obj0
)) goto fail
;
6632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6636 result
= (int)((wxPyTimer
const *)arg1
)->GetId();
6638 wxPyEndAllowThreads(__tstate
);
6639 if (PyErr_Occurred()) SWIG_fail
;
6641 resultobj
= SWIG_FromInt((int)result
);
6648 static PyObject
* Timer_swigregister(PyObject
*self
, PyObject
*args
) {
6650 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6651 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer
, obj
);
6653 return Py_BuildValue((char *)"");
6655 static PyObject
*_wrap_new_TimerEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6656 PyObject
*resultobj
;
6657 int arg1
= (int) 0 ;
6658 int arg2
= (int) 0 ;
6659 wxTimerEvent
*result
;
6660 PyObject
* obj0
= 0 ;
6661 PyObject
* obj1
= 0 ;
6663 (char *) "timerid",(char *) "interval", NULL
6666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TimerEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
6668 arg1
= (int) SWIG_AsInt(obj0
);
6669 if (PyErr_Occurred()) SWIG_fail
;
6672 arg2
= (int) SWIG_AsInt(obj1
);
6673 if (PyErr_Occurred()) SWIG_fail
;
6676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6677 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
6679 wxPyEndAllowThreads(__tstate
);
6680 if (PyErr_Occurred()) SWIG_fail
;
6682 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerEvent
, 1);
6689 static PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6690 PyObject
*resultobj
;
6691 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
6693 PyObject
* obj0
= 0 ;
6695 (char *) "self", NULL
6698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimerEvent_GetInterval",kwnames
,&obj0
)) goto fail
;
6699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerEvent
,
6700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6703 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
6705 wxPyEndAllowThreads(__tstate
);
6706 if (PyErr_Occurred()) SWIG_fail
;
6708 resultobj
= SWIG_FromInt((int)result
);
6715 static PyObject
* TimerEvent_swigregister(PyObject
*self
, PyObject
*args
) {
6717 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6718 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent
, obj
);
6720 return Py_BuildValue((char *)"");
6722 static PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*self
, PyObject
*args
) {
6723 PyObject
*resultobj
;
6725 wxTimerRunner
*result
;
6726 PyObject
* obj0
= 0 ;
6728 if(!PyArg_ParseTuple(args
,(char *)"O:new_TimerRunner",&obj0
)) goto fail
;
6729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimer
,
6730 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6733 PyErr_SetString(PyExc_TypeError
,"null reference");
6737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6738 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
6740 wxPyEndAllowThreads(__tstate
);
6741 if (PyErr_Occurred()) SWIG_fail
;
6743 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
6750 static PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*self
, PyObject
*args
) {
6751 PyObject
*resultobj
;
6754 bool arg3
= (bool) False
;
6755 wxTimerRunner
*result
;
6756 PyObject
* obj0
= 0 ;
6757 PyObject
* obj1
= 0 ;
6758 PyObject
* obj2
= 0 ;
6760 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_TimerRunner",&obj0
,&obj1
,&obj2
)) goto fail
;
6761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimer
,
6762 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6765 PyErr_SetString(PyExc_TypeError
,"null reference");
6768 arg2
= (int) SWIG_AsInt(obj1
);
6769 if (PyErr_Occurred()) SWIG_fail
;
6771 arg3
= (bool) SWIG_AsBool(obj2
);
6772 if (PyErr_Occurred()) SWIG_fail
;
6775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6776 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
6778 wxPyEndAllowThreads(__tstate
);
6779 if (PyErr_Occurred()) SWIG_fail
;
6781 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
6788 static PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
6793 argc
= PyObject_Length(args
);
6794 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
6795 argv
[ii
] = PyTuple_GetItem(args
,ii
);
6801 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
6809 return _wrap_new_TimerRunner__SWIG_0(self
,args
);
6812 if ((argc
>= 2) && (argc
<= 3)) {
6816 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
6824 _v
= SWIG_CheckInt(argv
[1]);
6827 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
6829 _v
= SWIG_CheckBool(argv
[2]);
6831 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
6837 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TimerRunner'");
6842 static PyObject
*_wrap_delete_TimerRunner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6843 PyObject
*resultobj
;
6844 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
6845 PyObject
* obj0
= 0 ;
6847 (char *) "self", NULL
6850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimerRunner",kwnames
,&obj0
)) goto fail
;
6851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerRunner
,
6852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6857 wxPyEndAllowThreads(__tstate
);
6858 if (PyErr_Occurred()) SWIG_fail
;
6860 Py_INCREF(Py_None
); resultobj
= Py_None
;
6867 static PyObject
*_wrap_TimerRunner_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6868 PyObject
*resultobj
;
6869 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
6871 bool arg3
= (bool) False
;
6872 PyObject
* obj0
= 0 ;
6873 PyObject
* obj1
= 0 ;
6874 PyObject
* obj2
= 0 ;
6876 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
6879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TimerRunner_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerRunner
,
6881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6882 arg2
= (int) SWIG_AsInt(obj1
);
6883 if (PyErr_Occurred()) SWIG_fail
;
6885 arg3
= (bool) SWIG_AsBool(obj2
);
6886 if (PyErr_Occurred()) SWIG_fail
;
6889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6890 (arg1
)->Start(arg2
,arg3
);
6892 wxPyEndAllowThreads(__tstate
);
6893 if (PyErr_Occurred()) SWIG_fail
;
6895 Py_INCREF(Py_None
); resultobj
= Py_None
;
6902 static PyObject
* TimerRunner_swigregister(PyObject
*self
, PyObject
*args
) {
6904 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6905 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner
, obj
);
6907 return Py_BuildValue((char *)"");
6909 static PyObject
*_wrap_new_Log(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6910 PyObject
*resultobj
;
6916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Log",kwnames
)) goto fail
;
6918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6919 result
= (wxLog
*)new wxLog();
6921 wxPyEndAllowThreads(__tstate
);
6922 if (PyErr_Occurred()) SWIG_fail
;
6924 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 1);
6931 static PyObject
*_wrap_Log_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6932 PyObject
*resultobj
;
6938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_IsEnabled",kwnames
)) goto fail
;
6940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6941 result
= (bool)wxLog::IsEnabled();
6943 wxPyEndAllowThreads(__tstate
);
6944 if (PyErr_Occurred()) SWIG_fail
;
6947 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6955 static PyObject
*_wrap_Log_EnableLogging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6956 PyObject
*resultobj
;
6957 bool arg1
= (bool) True
;
6959 PyObject
* obj0
= 0 ;
6961 (char *) "doIt", NULL
6964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) goto fail
;
6966 arg1
= (bool) SWIG_AsBool(obj0
);
6967 if (PyErr_Occurred()) SWIG_fail
;
6970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6971 result
= (bool)wxLog::EnableLogging(arg1
);
6973 wxPyEndAllowThreads(__tstate
);
6974 if (PyErr_Occurred()) SWIG_fail
;
6977 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6985 static PyObject
*_wrap_Log_OnLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6986 PyObject
*resultobj
;
6988 wxChar
*arg2
= (wxChar
*) 0 ;
6990 PyObject
* obj0
= 0 ;
6991 PyObject
* obj1
= 0 ;
6992 PyObject
* obj2
= 0 ;
6994 (char *) "level",(char *) "szString",(char *) "t", NULL
6997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6998 arg1
= (wxLogLevel
) SWIG_AsUnsignedLong(obj0
);
6999 if (PyErr_Occurred()) SWIG_fail
;
7000 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxChar
,
7001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7002 arg3
= (time_t) SWIG_AsUnsignedInt(obj2
);
7003 if (PyErr_Occurred()) SWIG_fail
;
7005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7006 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
7008 wxPyEndAllowThreads(__tstate
);
7009 if (PyErr_Occurred()) SWIG_fail
;
7011 Py_INCREF(Py_None
); resultobj
= Py_None
;
7018 static PyObject
*_wrap_Log_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7019 PyObject
*resultobj
;
7020 wxLog
*arg1
= (wxLog
*) 0 ;
7021 PyObject
* obj0
= 0 ;
7023 (char *) "self", NULL
7026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Flush",kwnames
,&obj0
)) goto fail
;
7027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7033 wxPyEndAllowThreads(__tstate
);
7034 if (PyErr_Occurred()) SWIG_fail
;
7036 Py_INCREF(Py_None
); resultobj
= Py_None
;
7043 static PyObject
*_wrap_Log_FlushActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7044 PyObject
*resultobj
;
7049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_FlushActive",kwnames
)) goto fail
;
7051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7052 wxLog::FlushActive();
7054 wxPyEndAllowThreads(__tstate
);
7055 if (PyErr_Occurred()) SWIG_fail
;
7057 Py_INCREF(Py_None
); resultobj
= Py_None
;
7064 static PyObject
*_wrap_Log_GetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7065 PyObject
*resultobj
;
7071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetActiveTarget",kwnames
)) goto fail
;
7073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7074 result
= (wxLog
*)wxLog::GetActiveTarget();
7076 wxPyEndAllowThreads(__tstate
);
7077 if (PyErr_Occurred()) SWIG_fail
;
7079 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7086 static PyObject
*_wrap_Log_SetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7087 PyObject
*resultobj
;
7088 wxLog
*arg1
= (wxLog
*) 0 ;
7090 PyObject
* obj0
= 0 ;
7092 (char *) "pLogger", NULL
7095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) goto fail
;
7096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7100 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
7102 wxPyEndAllowThreads(__tstate
);
7103 if (PyErr_Occurred()) SWIG_fail
;
7105 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7112 static PyObject
*_wrap_Log_Suspend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7113 PyObject
*resultobj
;
7118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Suspend",kwnames
)) goto fail
;
7120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7123 wxPyEndAllowThreads(__tstate
);
7124 if (PyErr_Occurred()) SWIG_fail
;
7126 Py_INCREF(Py_None
); resultobj
= Py_None
;
7133 static PyObject
*_wrap_Log_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7134 PyObject
*resultobj
;
7139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Resume",kwnames
)) goto fail
;
7141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7144 wxPyEndAllowThreads(__tstate
);
7145 if (PyErr_Occurred()) SWIG_fail
;
7147 Py_INCREF(Py_None
); resultobj
= Py_None
;
7154 static PyObject
*_wrap_Log_SetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7155 PyObject
*resultobj
;
7156 bool arg1
= (bool) True
;
7157 PyObject
* obj0
= 0 ;
7159 (char *) "bVerbose", NULL
7162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) goto fail
;
7164 arg1
= (bool) SWIG_AsBool(obj0
);
7165 if (PyErr_Occurred()) SWIG_fail
;
7168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7169 wxLog::SetVerbose(arg1
);
7171 wxPyEndAllowThreads(__tstate
);
7172 if (PyErr_Occurred()) SWIG_fail
;
7174 Py_INCREF(Py_None
); resultobj
= Py_None
;
7181 static PyObject
*_wrap_Log_SetLogLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7182 PyObject
*resultobj
;
7184 PyObject
* obj0
= 0 ;
7186 (char *) "logLevel", NULL
7189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) goto fail
;
7190 arg1
= (wxLogLevel
) SWIG_AsUnsignedLong(obj0
);
7191 if (PyErr_Occurred()) SWIG_fail
;
7193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7194 wxLog::SetLogLevel(arg1
);
7196 wxPyEndAllowThreads(__tstate
);
7197 if (PyErr_Occurred()) SWIG_fail
;
7199 Py_INCREF(Py_None
); resultobj
= Py_None
;
7206 static PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7207 PyObject
*resultobj
;
7212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_DontCreateOnDemand",kwnames
)) goto fail
;
7214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7215 wxLog::DontCreateOnDemand();
7217 wxPyEndAllowThreads(__tstate
);
7218 if (PyErr_Occurred()) SWIG_fail
;
7220 Py_INCREF(Py_None
); resultobj
= Py_None
;
7227 static PyObject
*_wrap_Log_SetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7228 PyObject
*resultobj
;
7230 PyObject
* obj0
= 0 ;
7232 (char *) "ulMask", NULL
7235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) goto fail
;
7236 arg1
= (wxTraceMask
) SWIG_AsUnsignedLong(obj0
);
7237 if (PyErr_Occurred()) SWIG_fail
;
7239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7240 wxLog::SetTraceMask(arg1
);
7242 wxPyEndAllowThreads(__tstate
);
7243 if (PyErr_Occurred()) SWIG_fail
;
7245 Py_INCREF(Py_None
); resultobj
= Py_None
;
7252 static PyObject
*_wrap_Log_AddTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7253 PyObject
*resultobj
;
7254 wxString
*arg1
= 0 ;
7255 bool temp1
= False
;
7256 PyObject
* obj0
= 0 ;
7258 (char *) "str", NULL
7261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) goto fail
;
7263 arg1
= wxString_in_helper(obj0
);
7264 if (arg1
== NULL
) SWIG_fail
;
7268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7269 wxLog::AddTraceMask((wxString
const &)*arg1
);
7271 wxPyEndAllowThreads(__tstate
);
7272 if (PyErr_Occurred()) SWIG_fail
;
7274 Py_INCREF(Py_None
); resultobj
= Py_None
;
7289 static PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7290 PyObject
*resultobj
;
7291 wxString
*arg1
= 0 ;
7292 bool temp1
= False
;
7293 PyObject
* obj0
= 0 ;
7295 (char *) "str", NULL
7298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) goto fail
;
7300 arg1
= wxString_in_helper(obj0
);
7301 if (arg1
== NULL
) SWIG_fail
;
7305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7306 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
7308 wxPyEndAllowThreads(__tstate
);
7309 if (PyErr_Occurred()) SWIG_fail
;
7311 Py_INCREF(Py_None
); resultobj
= Py_None
;
7326 static PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7327 PyObject
*resultobj
;
7332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_ClearTraceMasks",kwnames
)) goto fail
;
7334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7335 wxLog::ClearTraceMasks();
7337 wxPyEndAllowThreads(__tstate
);
7338 if (PyErr_Occurred()) SWIG_fail
;
7340 Py_INCREF(Py_None
); resultobj
= Py_None
;
7347 static PyObject
*_wrap_Log_GetTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7348 PyObject
*resultobj
;
7349 wxArrayString
*result
;
7354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMasks",kwnames
)) goto fail
;
7356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7358 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
7359 result
= (wxArrayString
*) &_result_ref
;
7362 wxPyEndAllowThreads(__tstate
);
7363 if (PyErr_Occurred()) SWIG_fail
;
7366 resultobj
= wxArrayString2PyList_helper(*result
);
7374 static PyObject
*_wrap_Log_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7375 PyObject
*resultobj
;
7376 wxChar
*arg1
= (wxChar
*) 0 ;
7377 PyObject
* obj0
= 0 ;
7382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) goto fail
;
7383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChar
,
7384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7387 wxLog::SetTimestamp((wxChar
const *)arg1
);
7389 wxPyEndAllowThreads(__tstate
);
7390 if (PyErr_Occurred()) SWIG_fail
;
7392 Py_INCREF(Py_None
); resultobj
= Py_None
;
7399 static PyObject
*_wrap_Log_GetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7400 PyObject
*resultobj
;
7406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetVerbose",kwnames
)) goto fail
;
7408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7409 result
= (bool)wxLog::GetVerbose();
7411 wxPyEndAllowThreads(__tstate
);
7412 if (PyErr_Occurred()) SWIG_fail
;
7415 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7423 static PyObject
*_wrap_Log_GetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7424 PyObject
*resultobj
;
7430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMask",kwnames
)) goto fail
;
7432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7433 result
= (wxTraceMask
)wxLog::GetTraceMask();
7435 wxPyEndAllowThreads(__tstate
);
7436 if (PyErr_Occurred()) SWIG_fail
;
7438 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
7445 static PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7446 PyObject
*resultobj
;
7447 wxChar
*arg1
= (wxChar
*) 0 ;
7449 PyObject
* obj0
= 0 ;
7451 (char *) "mask", NULL
7454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) goto fail
;
7455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChar
,
7456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7459 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
7461 wxPyEndAllowThreads(__tstate
);
7462 if (PyErr_Occurred()) SWIG_fail
;
7465 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7473 static PyObject
*_wrap_Log_GetLogLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7474 PyObject
*resultobj
;
7480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetLogLevel",kwnames
)) goto fail
;
7482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7483 result
= (wxLogLevel
)wxLog::GetLogLevel();
7485 wxPyEndAllowThreads(__tstate
);
7486 if (PyErr_Occurred()) SWIG_fail
;
7488 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
7495 static PyObject
*_wrap_Log_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7496 PyObject
*resultobj
;
7502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTimestamp",kwnames
)) goto fail
;
7504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7505 result
= (wxChar
*)wxLog::GetTimestamp();
7507 wxPyEndAllowThreads(__tstate
);
7508 if (PyErr_Occurred()) SWIG_fail
;
7510 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChar
, 0);
7517 static PyObject
*_wrap_Log_TimeStamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7518 PyObject
*resultobj
;
7524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_TimeStamp",kwnames
)) goto fail
;
7526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7527 result
= Log_TimeStamp();
7529 wxPyEndAllowThreads(__tstate
);
7530 if (PyErr_Occurred()) SWIG_fail
;
7534 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7536 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7545 static PyObject
*_wrap_Log_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7546 PyObject
*resultobj
;
7547 wxLog
*arg1
= (wxLog
*) 0 ;
7548 PyObject
* obj0
= 0 ;
7550 (char *) "self", NULL
7553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Destroy",kwnames
,&obj0
)) goto fail
;
7554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7558 wxLog_Destroy(arg1
);
7560 wxPyEndAllowThreads(__tstate
);
7561 if (PyErr_Occurred()) SWIG_fail
;
7563 Py_INCREF(Py_None
); resultobj
= Py_None
;
7570 static PyObject
* Log_swigregister(PyObject
*self
, PyObject
*args
) {
7572 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7573 SWIG_TypeClientData(SWIGTYPE_p_wxLog
, obj
);
7575 return Py_BuildValue((char *)"");
7577 static PyObject
*_wrap_new_LogStderr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7578 PyObject
*resultobj
;
7579 wxLogStderr
*result
;
7584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogStderr",kwnames
)) goto fail
;
7586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7587 result
= (wxLogStderr
*)new wxLogStderr();
7589 wxPyEndAllowThreads(__tstate
);
7590 if (PyErr_Occurred()) SWIG_fail
;
7592 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogStderr
, 1);
7599 static PyObject
* LogStderr_swigregister(PyObject
*self
, PyObject
*args
) {
7601 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7602 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr
, obj
);
7604 return Py_BuildValue((char *)"");
7606 static PyObject
*_wrap_new_LogTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7607 PyObject
*resultobj
;
7608 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7609 wxLogTextCtrl
*result
;
7610 PyObject
* obj0
= 0 ;
7612 (char *) "pTextCtrl", NULL
7615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) goto fail
;
7616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7620 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
7622 wxPyEndAllowThreads(__tstate
);
7623 if (PyErr_Occurred()) SWIG_fail
;
7625 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogTextCtrl
, 1);
7632 static PyObject
* LogTextCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
7634 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7635 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl
, obj
);
7637 return Py_BuildValue((char *)"");
7639 static PyObject
*_wrap_new_LogGui(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7640 PyObject
*resultobj
;
7646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogGui",kwnames
)) goto fail
;
7648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7649 result
= (wxLogGui
*)new wxLogGui();
7651 wxPyEndAllowThreads(__tstate
);
7652 if (PyErr_Occurred()) SWIG_fail
;
7654 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogGui
, 1);
7661 static PyObject
* LogGui_swigregister(PyObject
*self
, PyObject
*args
) {
7663 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7664 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui
, obj
);
7666 return Py_BuildValue((char *)"");
7668 static PyObject
*_wrap_new_LogWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7669 PyObject
*resultobj
;
7670 wxFrame
*arg1
= (wxFrame
*) 0 ;
7671 wxString
*arg2
= 0 ;
7672 bool arg3
= (bool) True
;
7673 bool arg4
= (bool) True
;
7674 wxLogWindow
*result
;
7675 bool temp2
= False
;
7676 PyObject
* obj0
= 0 ;
7677 PyObject
* obj1
= 0 ;
7678 PyObject
* obj2
= 0 ;
7679 PyObject
* obj3
= 0 ;
7681 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
7684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
7686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7688 arg2
= wxString_in_helper(obj1
);
7689 if (arg2
== NULL
) SWIG_fail
;
7693 arg3
= (bool) SWIG_AsBool(obj2
);
7694 if (PyErr_Occurred()) SWIG_fail
;
7697 arg4
= (bool) SWIG_AsBool(obj3
);
7698 if (PyErr_Occurred()) SWIG_fail
;
7701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7702 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
7704 wxPyEndAllowThreads(__tstate
);
7705 if (PyErr_Occurred()) SWIG_fail
;
7707 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogWindow
, 1);
7722 static PyObject
*_wrap_LogWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7723 PyObject
*resultobj
;
7724 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7725 bool arg2
= (bool) True
;
7726 PyObject
* obj0
= 0 ;
7727 PyObject
* obj1
= 0 ;
7729 (char *) "self",(char *) "bShow", NULL
7732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
7733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7736 arg2
= (bool) SWIG_AsBool(obj1
);
7737 if (PyErr_Occurred()) SWIG_fail
;
7740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7743 wxPyEndAllowThreads(__tstate
);
7744 if (PyErr_Occurred()) SWIG_fail
;
7746 Py_INCREF(Py_None
); resultobj
= Py_None
;
7753 static PyObject
*_wrap_LogWindow_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7754 PyObject
*resultobj
;
7755 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7757 PyObject
* obj0
= 0 ;
7759 (char *) "self", NULL
7762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetFrame",kwnames
,&obj0
)) goto fail
;
7763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7767 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
7769 wxPyEndAllowThreads(__tstate
);
7770 if (PyErr_Occurred()) SWIG_fail
;
7773 resultobj
= wxPyMake_wxObject(result
);
7781 static PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7782 PyObject
*resultobj
;
7783 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7785 PyObject
* obj0
= 0 ;
7787 (char *) "self", NULL
7790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetOldLog",kwnames
,&obj0
)) goto fail
;
7791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7795 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
7797 wxPyEndAllowThreads(__tstate
);
7798 if (PyErr_Occurred()) SWIG_fail
;
7800 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7807 static PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7808 PyObject
*resultobj
;
7809 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7811 PyObject
* obj0
= 0 ;
7813 (char *) "self", NULL
7816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
7817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7821 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
7823 wxPyEndAllowThreads(__tstate
);
7824 if (PyErr_Occurred()) SWIG_fail
;
7827 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7835 static PyObject
*_wrap_LogWindow_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7836 PyObject
*resultobj
;
7837 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7839 PyObject
* obj0
= 0 ;
7840 PyObject
* obj1
= 0 ;
7842 (char *) "self",(char *) "bDoPass", NULL
7845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
7846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7848 arg2
= (bool) SWIG_AsBool(obj1
);
7849 if (PyErr_Occurred()) SWIG_fail
;
7851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7852 (arg1
)->PassMessages(arg2
);
7854 wxPyEndAllowThreads(__tstate
);
7855 if (PyErr_Occurred()) SWIG_fail
;
7857 Py_INCREF(Py_None
); resultobj
= Py_None
;
7864 static PyObject
* LogWindow_swigregister(PyObject
*self
, PyObject
*args
) {
7866 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7867 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow
, obj
);
7869 return Py_BuildValue((char *)"");
7871 static PyObject
*_wrap_new_LogChain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7872 PyObject
*resultobj
;
7873 wxLog
*arg1
= (wxLog
*) 0 ;
7875 PyObject
* obj0
= 0 ;
7877 (char *) "logger", NULL
7880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) goto fail
;
7881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7885 result
= (wxLogChain
*)new wxLogChain(arg1
);
7887 wxPyEndAllowThreads(__tstate
);
7888 if (PyErr_Occurred()) SWIG_fail
;
7890 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogChain
, 1);
7897 static PyObject
*_wrap_LogChain_SetLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7898 PyObject
*resultobj
;
7899 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7900 wxLog
*arg2
= (wxLog
*) 0 ;
7901 PyObject
* obj0
= 0 ;
7902 PyObject
* obj1
= 0 ;
7904 (char *) "self",(char *) "logger", NULL
7907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) goto fail
;
7908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
7909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7910 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLog
,
7911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7914 (arg1
)->SetLog(arg2
);
7916 wxPyEndAllowThreads(__tstate
);
7917 if (PyErr_Occurred()) SWIG_fail
;
7919 Py_INCREF(Py_None
); resultobj
= Py_None
;
7926 static PyObject
*_wrap_LogChain_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7927 PyObject
*resultobj
;
7928 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7930 PyObject
* obj0
= 0 ;
7931 PyObject
* obj1
= 0 ;
7933 (char *) "self",(char *) "bDoPass", NULL
7936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
7937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
7938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7939 arg2
= (bool) SWIG_AsBool(obj1
);
7940 if (PyErr_Occurred()) SWIG_fail
;
7942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7943 (arg1
)->PassMessages(arg2
);
7945 wxPyEndAllowThreads(__tstate
);
7946 if (PyErr_Occurred()) SWIG_fail
;
7948 Py_INCREF(Py_None
); resultobj
= Py_None
;
7955 static PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7956 PyObject
*resultobj
;
7957 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7959 PyObject
* obj0
= 0 ;
7961 (char *) "self", NULL
7964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
7965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
7966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7969 result
= (bool)(arg1
)->IsPassingMessages();
7971 wxPyEndAllowThreads(__tstate
);
7972 if (PyErr_Occurred()) SWIG_fail
;
7975 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7983 static PyObject
*_wrap_LogChain_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7984 PyObject
*resultobj
;
7985 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7987 PyObject
* obj0
= 0 ;
7989 (char *) "self", NULL
7992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_GetOldLog",kwnames
,&obj0
)) goto fail
;
7993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
7994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7997 result
= (wxLog
*)(arg1
)->GetOldLog();
7999 wxPyEndAllowThreads(__tstate
);
8000 if (PyErr_Occurred()) SWIG_fail
;
8002 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
8009 static PyObject
* LogChain_swigregister(PyObject
*self
, PyObject
*args
) {
8011 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8012 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain
, obj
);
8014 return Py_BuildValue((char *)"");
8016 static PyObject
*_wrap_SysErrorCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8017 PyObject
*resultobj
;
8018 unsigned long result
;
8023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SysErrorCode",kwnames
)) goto fail
;
8025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8026 result
= (unsigned long)wxSysErrorCode();
8028 wxPyEndAllowThreads(__tstate
);
8029 if (PyErr_Occurred()) SWIG_fail
;
8031 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
8038 static PyObject
*_wrap_SysErrorMsg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8039 PyObject
*resultobj
;
8040 unsigned long arg1
= (unsigned long) 0 ;
8042 PyObject
* obj0
= 0 ;
8044 (char *) "nErrCode", NULL
8047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) goto fail
;
8049 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
8050 if (PyErr_Occurred()) SWIG_fail
;
8053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8054 result
= wxSysErrorMsg(arg1
);
8056 wxPyEndAllowThreads(__tstate
);
8057 if (PyErr_Occurred()) SWIG_fail
;
8061 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8063 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8072 static PyObject
*_wrap_LogFatalError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8073 PyObject
*resultobj
;
8074 wxString
*arg1
= 0 ;
8075 bool temp1
= False
;
8076 PyObject
* obj0
= 0 ;
8078 (char *) "msg", NULL
8081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) goto fail
;
8083 arg1
= wxString_in_helper(obj0
);
8084 if (arg1
== NULL
) SWIG_fail
;
8088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8089 wxLogFatalError((wxString
const &)*arg1
);
8091 wxPyEndAllowThreads(__tstate
);
8092 if (PyErr_Occurred()) SWIG_fail
;
8094 Py_INCREF(Py_None
); resultobj
= Py_None
;
8109 static PyObject
*_wrap_LogError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8110 PyObject
*resultobj
;
8111 wxString
*arg1
= 0 ;
8112 bool temp1
= False
;
8113 PyObject
* obj0
= 0 ;
8115 (char *) "msg", NULL
8118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) goto fail
;
8120 arg1
= wxString_in_helper(obj0
);
8121 if (arg1
== NULL
) SWIG_fail
;
8125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8126 wxLogError((wxString
const &)*arg1
);
8128 wxPyEndAllowThreads(__tstate
);
8129 if (PyErr_Occurred()) SWIG_fail
;
8131 Py_INCREF(Py_None
); resultobj
= Py_None
;
8146 static PyObject
*_wrap_LogWarning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8147 PyObject
*resultobj
;
8148 wxString
*arg1
= 0 ;
8149 bool temp1
= False
;
8150 PyObject
* obj0
= 0 ;
8152 (char *) "msg", NULL
8155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) goto fail
;
8157 arg1
= wxString_in_helper(obj0
);
8158 if (arg1
== NULL
) SWIG_fail
;
8162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8163 wxLogWarning((wxString
const &)*arg1
);
8165 wxPyEndAllowThreads(__tstate
);
8166 if (PyErr_Occurred()) SWIG_fail
;
8168 Py_INCREF(Py_None
); resultobj
= Py_None
;
8183 static PyObject
*_wrap_LogMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8184 PyObject
*resultobj
;
8185 wxString
*arg1
= 0 ;
8186 bool temp1
= False
;
8187 PyObject
* obj0
= 0 ;
8189 (char *) "msg", NULL
8192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) goto fail
;
8194 arg1
= wxString_in_helper(obj0
);
8195 if (arg1
== NULL
) SWIG_fail
;
8199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8200 wxLogMessage((wxString
const &)*arg1
);
8202 wxPyEndAllowThreads(__tstate
);
8203 if (PyErr_Occurred()) SWIG_fail
;
8205 Py_INCREF(Py_None
); resultobj
= Py_None
;
8220 static PyObject
*_wrap_LogInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8221 PyObject
*resultobj
;
8222 wxString
*arg1
= 0 ;
8223 bool temp1
= False
;
8224 PyObject
* obj0
= 0 ;
8226 (char *) "msg", NULL
8229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) goto fail
;
8231 arg1
= wxString_in_helper(obj0
);
8232 if (arg1
== NULL
) SWIG_fail
;
8236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8237 wxLogInfo((wxString
const &)*arg1
);
8239 wxPyEndAllowThreads(__tstate
);
8240 if (PyErr_Occurred()) SWIG_fail
;
8242 Py_INCREF(Py_None
); resultobj
= Py_None
;
8257 static PyObject
*_wrap_LogDebug(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8258 PyObject
*resultobj
;
8259 wxString
*arg1
= 0 ;
8260 bool temp1
= False
;
8261 PyObject
* obj0
= 0 ;
8263 (char *) "msg", NULL
8266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) goto fail
;
8268 arg1
= wxString_in_helper(obj0
);
8269 if (arg1
== NULL
) SWIG_fail
;
8273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8274 wxLogDebug((wxString
const &)*arg1
);
8276 wxPyEndAllowThreads(__tstate
);
8277 if (PyErr_Occurred()) SWIG_fail
;
8279 Py_INCREF(Py_None
); resultobj
= Py_None
;
8294 static PyObject
*_wrap_LogVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8295 PyObject
*resultobj
;
8296 wxString
*arg1
= 0 ;
8297 bool temp1
= False
;
8298 PyObject
* obj0
= 0 ;
8300 (char *) "msg", NULL
8303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) goto fail
;
8305 arg1
= wxString_in_helper(obj0
);
8306 if (arg1
== NULL
) SWIG_fail
;
8310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8311 wxLogVerbose((wxString
const &)*arg1
);
8313 wxPyEndAllowThreads(__tstate
);
8314 if (PyErr_Occurred()) SWIG_fail
;
8316 Py_INCREF(Py_None
); resultobj
= Py_None
;
8331 static PyObject
*_wrap_LogStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8332 PyObject
*resultobj
;
8333 wxString
*arg1
= 0 ;
8334 bool temp1
= False
;
8335 PyObject
* obj0
= 0 ;
8337 (char *) "msg", NULL
8340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) goto fail
;
8342 arg1
= wxString_in_helper(obj0
);
8343 if (arg1
== NULL
) SWIG_fail
;
8347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8348 wxLogStatus((wxString
const &)*arg1
);
8350 wxPyEndAllowThreads(__tstate
);
8351 if (PyErr_Occurred()) SWIG_fail
;
8353 Py_INCREF(Py_None
); resultobj
= Py_None
;
8368 static PyObject
*_wrap_LogStatusFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8369 PyObject
*resultobj
;
8370 wxFrame
*arg1
= (wxFrame
*) 0 ;
8371 wxString
*arg2
= 0 ;
8372 bool temp2
= False
;
8373 PyObject
* obj0
= 0 ;
8374 PyObject
* obj1
= 0 ;
8376 (char *) "pFrame",(char *) "msg", NULL
8379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
8380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
8381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8383 arg2
= wxString_in_helper(obj1
);
8384 if (arg2
== NULL
) SWIG_fail
;
8388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8389 wxLogStatus(arg1
,(wxString
const &)*arg2
);
8391 wxPyEndAllowThreads(__tstate
);
8392 if (PyErr_Occurred()) SWIG_fail
;
8394 Py_INCREF(Py_None
); resultobj
= Py_None
;
8409 static PyObject
*_wrap_LogSysError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8410 PyObject
*resultobj
;
8411 wxString
*arg1
= 0 ;
8412 bool temp1
= False
;
8413 PyObject
* obj0
= 0 ;
8415 (char *) "msg", NULL
8418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) goto fail
;
8420 arg1
= wxString_in_helper(obj0
);
8421 if (arg1
== NULL
) SWIG_fail
;
8425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8426 wxLogSysError((wxString
const &)*arg1
);
8428 wxPyEndAllowThreads(__tstate
);
8429 if (PyErr_Occurred()) SWIG_fail
;
8431 Py_INCREF(Py_None
); resultobj
= Py_None
;
8446 static PyObject
*_wrap_LogTrace__SWIG_0(PyObject
*self
, PyObject
*args
) {
8447 PyObject
*resultobj
;
8448 unsigned long arg1
;
8449 wxString
*arg2
= 0 ;
8450 bool temp2
= False
;
8451 PyObject
* obj0
= 0 ;
8452 PyObject
* obj1
= 0 ;
8454 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
8455 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
8456 if (PyErr_Occurred()) SWIG_fail
;
8458 arg2
= wxString_in_helper(obj1
);
8459 if (arg2
== NULL
) SWIG_fail
;
8463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8464 wxLogTrace(arg1
,(wxString
const &)*arg2
);
8466 wxPyEndAllowThreads(__tstate
);
8467 if (PyErr_Occurred()) SWIG_fail
;
8469 Py_INCREF(Py_None
); resultobj
= Py_None
;
8484 static PyObject
*_wrap_LogTrace__SWIG_1(PyObject
*self
, PyObject
*args
) {
8485 PyObject
*resultobj
;
8486 wxString
*arg1
= 0 ;
8487 wxString
*arg2
= 0 ;
8488 bool temp1
= False
;
8489 bool temp2
= False
;
8490 PyObject
* obj0
= 0 ;
8491 PyObject
* obj1
= 0 ;
8493 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
8495 arg1
= wxString_in_helper(obj0
);
8496 if (arg1
== NULL
) SWIG_fail
;
8500 arg2
= wxString_in_helper(obj1
);
8501 if (arg2
== NULL
) SWIG_fail
;
8505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8506 wxLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
8508 wxPyEndAllowThreads(__tstate
);
8509 if (PyErr_Occurred()) SWIG_fail
;
8511 Py_INCREF(Py_None
); resultobj
= Py_None
;
8534 static PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
) {
8539 argc
= PyObject_Length(args
);
8540 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
8541 argv
[ii
] = PyTuple_GetItem(args
,ii
);
8546 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
8550 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
8553 return _wrap_LogTrace__SWIG_1(self
,args
);
8559 _v
= SWIG_CheckUnsignedLong(argv
[0]);
8562 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
8565 return _wrap_LogTrace__SWIG_0(self
,args
);
8570 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'LogTrace'");
8575 static PyObject
*_wrap_LogGeneric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8576 PyObject
*resultobj
;
8577 unsigned long arg1
;
8578 wxString
*arg2
= 0 ;
8579 bool temp2
= False
;
8580 PyObject
* obj0
= 0 ;
8581 PyObject
* obj1
= 0 ;
8583 (char *) "level",(char *) "msg", NULL
8586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) goto fail
;
8587 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
8588 if (PyErr_Occurred()) SWIG_fail
;
8590 arg2
= wxString_in_helper(obj1
);
8591 if (arg2
== NULL
) SWIG_fail
;
8595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8596 wxLogGeneric(arg1
,(wxString
const &)*arg2
);
8598 wxPyEndAllowThreads(__tstate
);
8599 if (PyErr_Occurred()) SWIG_fail
;
8601 Py_INCREF(Py_None
); resultobj
= Py_None
;
8616 static PyObject
*_wrap_SafeShowMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8617 PyObject
*resultobj
;
8618 wxString
*arg1
= 0 ;
8619 wxString
*arg2
= 0 ;
8620 bool temp1
= False
;
8621 bool temp2
= False
;
8622 PyObject
* obj0
= 0 ;
8623 PyObject
* obj1
= 0 ;
8625 (char *) "title",(char *) "text", NULL
8628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
8630 arg1
= wxString_in_helper(obj0
);
8631 if (arg1
== NULL
) SWIG_fail
;
8635 arg2
= wxString_in_helper(obj1
);
8636 if (arg2
== NULL
) SWIG_fail
;
8640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8641 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
8643 wxPyEndAllowThreads(__tstate
);
8644 if (PyErr_Occurred()) SWIG_fail
;
8646 Py_INCREF(Py_None
); resultobj
= Py_None
;
8669 static PyObject
*_wrap_new_LogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8670 PyObject
*resultobj
;
8676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogNull",kwnames
)) goto fail
;
8678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8679 result
= (wxLogNull
*)new wxLogNull();
8681 wxPyEndAllowThreads(__tstate
);
8682 if (PyErr_Occurred()) SWIG_fail
;
8684 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogNull
, 1);
8691 static PyObject
*_wrap_delete_LogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8692 PyObject
*resultobj
;
8693 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
8694 PyObject
* obj0
= 0 ;
8696 (char *) "self", NULL
8699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LogNull",kwnames
,&obj0
)) goto fail
;
8700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogNull
,
8701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8706 wxPyEndAllowThreads(__tstate
);
8707 if (PyErr_Occurred()) SWIG_fail
;
8709 Py_INCREF(Py_None
); resultobj
= Py_None
;
8716 static PyObject
* LogNull_swigregister(PyObject
*self
, PyObject
*args
) {
8718 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8719 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull
, obj
);
8721 return Py_BuildValue((char *)"");
8723 static PyObject
*_wrap_new_PyLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8724 PyObject
*resultobj
;
8730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyLog",kwnames
)) goto fail
;
8732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8733 result
= (wxPyLog
*)new wxPyLog();
8735 wxPyEndAllowThreads(__tstate
);
8736 if (PyErr_Occurred()) SWIG_fail
;
8738 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyLog
, 1);
8745 static PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8746 PyObject
*resultobj
;
8747 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
8748 PyObject
*arg2
= (PyObject
*) 0 ;
8749 PyObject
*arg3
= (PyObject
*) 0 ;
8750 PyObject
* obj0
= 0 ;
8751 PyObject
* obj1
= 0 ;
8752 PyObject
* obj2
= 0 ;
8754 (char *) "self",(char *) "self",(char *) "_class", NULL
8757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLog
,
8759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8764 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8766 wxPyEndAllowThreads(__tstate
);
8767 if (PyErr_Occurred()) SWIG_fail
;
8769 Py_INCREF(Py_None
); resultobj
= Py_None
;
8776 static PyObject
* PyLog_swigregister(PyObject
*self
, PyObject
*args
) {
8778 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8779 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog
, obj
);
8781 return Py_BuildValue((char *)"");
8783 static PyObject
*_wrap_Process_Kill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8784 PyObject
*resultobj
;
8786 int arg2
= (int) wxSIGTERM
;
8788 PyObject
* obj0
= 0 ;
8789 PyObject
* obj1
= 0 ;
8791 (char *) "pid",(char *) "sig", NULL
8794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Kill",kwnames
,&obj0
,&obj1
)) goto fail
;
8795 arg1
= (int) SWIG_AsInt(obj0
);
8796 if (PyErr_Occurred()) SWIG_fail
;
8798 arg2
= (wxSignal
) SWIG_AsInt(obj1
);
8799 if (PyErr_Occurred()) SWIG_fail
;
8802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8803 result
= (int)wxPyProcess::Kill(arg1
,(wxSignal
)arg2
);
8805 wxPyEndAllowThreads(__tstate
);
8806 if (PyErr_Occurred()) SWIG_fail
;
8808 resultobj
= SWIG_FromInt((int)result
);
8815 static PyObject
*_wrap_Process_Exists(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8816 PyObject
*resultobj
;
8819 PyObject
* obj0
= 0 ;
8821 (char *) "pid", NULL
8824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Exists",kwnames
,&obj0
)) goto fail
;
8825 arg1
= (int) SWIG_AsInt(obj0
);
8826 if (PyErr_Occurred()) SWIG_fail
;
8828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8829 result
= (bool)wxPyProcess::Exists(arg1
);
8831 wxPyEndAllowThreads(__tstate
);
8832 if (PyErr_Occurred()) SWIG_fail
;
8835 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8843 static PyObject
*_wrap_Process_Open(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8844 PyObject
*resultobj
;
8845 wxString
*arg1
= 0 ;
8846 int arg2
= (int) wxEXEC_ASYNC
;
8847 wxPyProcess
*result
;
8848 bool temp1
= False
;
8849 PyObject
* obj0
= 0 ;
8850 PyObject
* obj1
= 0 ;
8852 (char *) "cmd",(char *) "flags", NULL
8855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Open",kwnames
,&obj0
,&obj1
)) goto fail
;
8857 arg1
= wxString_in_helper(obj0
);
8858 if (arg1
== NULL
) SWIG_fail
;
8862 arg2
= (int) SWIG_AsInt(obj1
);
8863 if (PyErr_Occurred()) SWIG_fail
;
8866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8867 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
8869 wxPyEndAllowThreads(__tstate
);
8870 if (PyErr_Occurred()) SWIG_fail
;
8872 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 0);
8887 static PyObject
*_wrap_new_Process(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8888 PyObject
*resultobj
;
8889 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
8890 int arg2
= (int) -1 ;
8891 wxPyProcess
*result
;
8892 PyObject
* obj0
= 0 ;
8893 PyObject
* obj1
= 0 ;
8895 (char *) "parent",(char *) "id", NULL
8898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Process",kwnames
,&obj0
,&obj1
)) goto fail
;
8900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
8901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8904 arg2
= (int) SWIG_AsInt(obj1
);
8905 if (PyErr_Occurred()) SWIG_fail
;
8908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8909 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
8911 wxPyEndAllowThreads(__tstate
);
8912 if (PyErr_Occurred()) SWIG_fail
;
8914 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 1);
8921 static PyObject
*_wrap_Process__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8922 PyObject
*resultobj
;
8923 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8924 PyObject
*arg2
= (PyObject
*) 0 ;
8925 PyObject
*arg3
= (PyObject
*) 0 ;
8926 PyObject
* obj0
= 0 ;
8927 PyObject
* obj1
= 0 ;
8928 PyObject
* obj2
= 0 ;
8930 (char *) "self",(char *) "self",(char *) "_class", NULL
8933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
8935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8940 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8942 wxPyEndAllowThreads(__tstate
);
8943 if (PyErr_Occurred()) SWIG_fail
;
8945 Py_INCREF(Py_None
); resultobj
= Py_None
;
8952 static PyObject
*_wrap_Process_base_OnTerminate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8953 PyObject
*resultobj
;
8954 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8957 PyObject
* obj0
= 0 ;
8958 PyObject
* obj1
= 0 ;
8959 PyObject
* obj2
= 0 ;
8961 (char *) "self",(char *) "pid",(char *) "status", NULL
8964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process_base_OnTerminate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
8966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8967 arg2
= (int) SWIG_AsInt(obj1
);
8968 if (PyErr_Occurred()) SWIG_fail
;
8969 arg3
= (int) SWIG_AsInt(obj2
);
8970 if (PyErr_Occurred()) SWIG_fail
;
8972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8973 (arg1
)->base_OnTerminate(arg2
,arg3
);
8975 wxPyEndAllowThreads(__tstate
);
8976 if (PyErr_Occurred()) SWIG_fail
;
8978 Py_INCREF(Py_None
); resultobj
= Py_None
;
8985 static PyObject
*_wrap_Process_Redirect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8986 PyObject
*resultobj
;
8987 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8988 PyObject
* obj0
= 0 ;
8990 (char *) "self", NULL
8993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Redirect",kwnames
,&obj0
)) goto fail
;
8994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
8995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9000 wxPyEndAllowThreads(__tstate
);
9001 if (PyErr_Occurred()) SWIG_fail
;
9003 Py_INCREF(Py_None
); resultobj
= Py_None
;
9010 static PyObject
*_wrap_Process_IsRedirected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9011 PyObject
*resultobj
;
9012 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9014 PyObject
* obj0
= 0 ;
9016 (char *) "self", NULL
9019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsRedirected",kwnames
,&obj0
)) goto fail
;
9020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9024 result
= (bool)(arg1
)->IsRedirected();
9026 wxPyEndAllowThreads(__tstate
);
9027 if (PyErr_Occurred()) SWIG_fail
;
9030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9038 static PyObject
*_wrap_Process_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9039 PyObject
*resultobj
;
9040 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9041 PyObject
* obj0
= 0 ;
9043 (char *) "self", NULL
9046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Detach",kwnames
,&obj0
)) goto fail
;
9047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9053 wxPyEndAllowThreads(__tstate
);
9054 if (PyErr_Occurred()) SWIG_fail
;
9056 Py_INCREF(Py_None
); resultobj
= Py_None
;
9063 static PyObject
*_wrap_Process_GetInputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9064 PyObject
*resultobj
;
9065 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9066 wxInputStream
*result
;
9067 PyObject
* obj0
= 0 ;
9069 (char *) "self", NULL
9072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetInputStream",kwnames
,&obj0
)) goto fail
;
9073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9077 result
= (wxInputStream
*)(arg1
)->GetInputStream();
9079 wxPyEndAllowThreads(__tstate
);
9080 if (PyErr_Occurred()) SWIG_fail
;
9083 wxPyInputStream
* _ptr
= NULL
;
9086 _ptr
= new wxPyInputStream(result
);
9088 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
9096 static PyObject
*_wrap_Process_GetErrorStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9097 PyObject
*resultobj
;
9098 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9099 wxInputStream
*result
;
9100 PyObject
* obj0
= 0 ;
9102 (char *) "self", NULL
9105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetErrorStream",kwnames
,&obj0
)) goto fail
;
9106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9110 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
9112 wxPyEndAllowThreads(__tstate
);
9113 if (PyErr_Occurred()) SWIG_fail
;
9116 wxPyInputStream
* _ptr
= NULL
;
9119 _ptr
= new wxPyInputStream(result
);
9121 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
9129 static PyObject
*_wrap_Process_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9130 PyObject
*resultobj
;
9131 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9132 wxOutputStream
*result
;
9133 PyObject
* obj0
= 0 ;
9135 (char *) "self", NULL
9138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetOutputStream",kwnames
,&obj0
)) goto fail
;
9139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9143 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
9145 wxPyEndAllowThreads(__tstate
);
9146 if (PyErr_Occurred()) SWIG_fail
;
9148 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
9155 static PyObject
*_wrap_Process_CloseOutput(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9156 PyObject
*resultobj
;
9157 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9158 PyObject
* obj0
= 0 ;
9160 (char *) "self", NULL
9163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_CloseOutput",kwnames
,&obj0
)) goto fail
;
9164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9168 (arg1
)->CloseOutput();
9170 wxPyEndAllowThreads(__tstate
);
9171 if (PyErr_Occurred()) SWIG_fail
;
9173 Py_INCREF(Py_None
); resultobj
= Py_None
;
9180 static PyObject
*_wrap_Process_IsInputOpened(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9181 PyObject
*resultobj
;
9182 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9184 PyObject
* obj0
= 0 ;
9186 (char *) "self", NULL
9189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputOpened",kwnames
,&obj0
)) goto fail
;
9190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9194 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
9196 wxPyEndAllowThreads(__tstate
);
9197 if (PyErr_Occurred()) SWIG_fail
;
9200 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9208 static PyObject
*_wrap_Process_IsInputAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9209 PyObject
*resultobj
;
9210 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9212 PyObject
* obj0
= 0 ;
9214 (char *) "self", NULL
9217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputAvailable",kwnames
,&obj0
)) goto fail
;
9218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9222 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
9224 wxPyEndAllowThreads(__tstate
);
9225 if (PyErr_Occurred()) SWIG_fail
;
9228 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9236 static PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9237 PyObject
*resultobj
;
9238 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9240 PyObject
* obj0
= 0 ;
9242 (char *) "self", NULL
9245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsErrorAvailable",kwnames
,&obj0
)) goto fail
;
9246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9250 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
9252 wxPyEndAllowThreads(__tstate
);
9253 if (PyErr_Occurred()) SWIG_fail
;
9256 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9264 static PyObject
* Process_swigregister(PyObject
*self
, PyObject
*args
) {
9266 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9267 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess
, obj
);
9269 return Py_BuildValue((char *)"");
9271 static PyObject
*_wrap_new_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9272 PyObject
*resultobj
;
9273 int arg1
= (int) 0 ;
9274 int arg2
= (int) 0 ;
9275 int arg3
= (int) 0 ;
9276 wxProcessEvent
*result
;
9277 PyObject
* obj0
= 0 ;
9278 PyObject
* obj1
= 0 ;
9279 PyObject
* obj2
= 0 ;
9281 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
9284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ProcessEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9286 arg1
= (int) SWIG_AsInt(obj0
);
9287 if (PyErr_Occurred()) SWIG_fail
;
9290 arg2
= (int) SWIG_AsInt(obj1
);
9291 if (PyErr_Occurred()) SWIG_fail
;
9294 arg3
= (int) SWIG_AsInt(obj2
);
9295 if (PyErr_Occurred()) SWIG_fail
;
9298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9299 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
9301 wxPyEndAllowThreads(__tstate
);
9302 if (PyErr_Occurred()) SWIG_fail
;
9304 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProcessEvent
, 1);
9311 static PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9312 PyObject
*resultobj
;
9313 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9315 PyObject
* obj0
= 0 ;
9317 (char *) "self", NULL
9320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetPid",kwnames
,&obj0
)) goto fail
;
9321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9325 result
= (int)(arg1
)->GetPid();
9327 wxPyEndAllowThreads(__tstate
);
9328 if (PyErr_Occurred()) SWIG_fail
;
9330 resultobj
= SWIG_FromInt((int)result
);
9337 static PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9338 PyObject
*resultobj
;
9339 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9341 PyObject
* obj0
= 0 ;
9343 (char *) "self", NULL
9346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetExitCode",kwnames
,&obj0
)) goto fail
;
9347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9351 result
= (int)(arg1
)->GetExitCode();
9353 wxPyEndAllowThreads(__tstate
);
9354 if (PyErr_Occurred()) SWIG_fail
;
9356 resultobj
= SWIG_FromInt((int)result
);
9363 static PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9364 PyObject
*resultobj
;
9365 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9367 PyObject
* obj0
= 0 ;
9368 PyObject
* obj1
= 0 ;
9370 (char *) "self",(char *) "m_pid", NULL
9373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_pid_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9376 arg2
= (int) SWIG_AsInt(obj1
);
9377 if (PyErr_Occurred()) SWIG_fail
;
9378 if (arg1
) (arg1
)->m_pid
= arg2
;
9380 Py_INCREF(Py_None
); resultobj
= Py_None
;
9387 static PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9388 PyObject
*resultobj
;
9389 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9391 PyObject
* obj0
= 0 ;
9393 (char *) "self", NULL
9396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_pid_get",kwnames
,&obj0
)) goto fail
;
9397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9399 result
= (int) ((arg1
)->m_pid
);
9401 resultobj
= SWIG_FromInt((int)result
);
9408 static PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9409 PyObject
*resultobj
;
9410 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9412 PyObject
* obj0
= 0 ;
9413 PyObject
* obj1
= 0 ;
9415 (char *) "self",(char *) "m_exitcode", NULL
9418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9421 arg2
= (int) SWIG_AsInt(obj1
);
9422 if (PyErr_Occurred()) SWIG_fail
;
9423 if (arg1
) (arg1
)->m_exitcode
= arg2
;
9425 Py_INCREF(Py_None
); resultobj
= Py_None
;
9432 static PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9433 PyObject
*resultobj
;
9434 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9436 PyObject
* obj0
= 0 ;
9438 (char *) "self", NULL
9441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_exitcode_get",kwnames
,&obj0
)) goto fail
;
9442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9444 result
= (int) ((arg1
)->m_exitcode
);
9446 resultobj
= SWIG_FromInt((int)result
);
9453 static PyObject
* ProcessEvent_swigregister(PyObject
*self
, PyObject
*args
) {
9455 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9456 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent
, obj
);
9458 return Py_BuildValue((char *)"");
9460 static PyObject
*_wrap_Execute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9461 PyObject
*resultobj
;
9462 wxString
*arg1
= 0 ;
9463 int arg2
= (int) wxEXEC_ASYNC
;
9464 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
9466 bool temp1
= False
;
9467 PyObject
* obj0
= 0 ;
9468 PyObject
* obj1
= 0 ;
9469 PyObject
* obj2
= 0 ;
9471 (char *) "command",(char *) "flags",(char *) "process", NULL
9474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Execute",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9476 arg1
= wxString_in_helper(obj0
);
9477 if (arg1
== NULL
) SWIG_fail
;
9481 arg2
= (int) SWIG_AsInt(obj1
);
9482 if (PyErr_Occurred()) SWIG_fail
;
9485 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyProcess
,
9486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9490 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
9492 wxPyEndAllowThreads(__tstate
);
9493 if (PyErr_Occurred()) SWIG_fail
;
9495 resultobj
= SWIG_FromLong((long)result
);
9510 static PyObject
*_wrap_new_Joystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9511 PyObject
*resultobj
;
9512 int arg1
= (int) wxJOYSTICK1
;
9514 PyObject
* obj0
= 0 ;
9516 (char *) "joystick", NULL
9519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Joystick",kwnames
,&obj0
)) goto fail
;
9521 arg1
= (int) SWIG_AsInt(obj0
);
9522 if (PyErr_Occurred()) SWIG_fail
;
9525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9526 result
= (wxJoystick
*)new wxJoystick(arg1
);
9528 wxPyEndAllowThreads(__tstate
);
9529 if (PyErr_Occurred()) SWIG_fail
;
9531 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystick
, 1);
9538 static PyObject
*_wrap_delete_Joystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9539 PyObject
*resultobj
;
9540 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9541 PyObject
* obj0
= 0 ;
9543 (char *) "self", NULL
9546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Joystick",kwnames
,&obj0
)) goto fail
;
9547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9553 wxPyEndAllowThreads(__tstate
);
9554 if (PyErr_Occurred()) SWIG_fail
;
9556 Py_INCREF(Py_None
); resultobj
= Py_None
;
9563 static PyObject
*_wrap_Joystick_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9564 PyObject
*resultobj
;
9565 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9567 PyObject
* obj0
= 0 ;
9569 (char *) "self", NULL
9572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPosition",kwnames
,&obj0
)) goto fail
;
9573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9577 result
= (arg1
)->GetPosition();
9579 wxPyEndAllowThreads(__tstate
);
9580 if (PyErr_Occurred()) SWIG_fail
;
9583 wxPoint
* resultptr
;
9584 resultptr
= new wxPoint((wxPoint
&) result
);
9585 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
9593 static PyObject
*_wrap_Joystick_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9594 PyObject
*resultobj
;
9595 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9597 PyObject
* obj0
= 0 ;
9599 (char *) "self", NULL
9602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZPosition",kwnames
,&obj0
)) goto fail
;
9603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9607 result
= (int)(arg1
)->GetZPosition();
9609 wxPyEndAllowThreads(__tstate
);
9610 if (PyErr_Occurred()) SWIG_fail
;
9612 resultobj
= SWIG_FromInt((int)result
);
9619 static PyObject
*_wrap_Joystick_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9620 PyObject
*resultobj
;
9621 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9623 PyObject
* obj0
= 0 ;
9625 (char *) "self", NULL
9628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetButtonState",kwnames
,&obj0
)) goto fail
;
9629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9633 result
= (int)(arg1
)->GetButtonState();
9635 wxPyEndAllowThreads(__tstate
);
9636 if (PyErr_Occurred()) SWIG_fail
;
9638 resultobj
= SWIG_FromInt((int)result
);
9645 static PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9646 PyObject
*resultobj
;
9647 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9649 PyObject
* obj0
= 0 ;
9651 (char *) "self", NULL
9654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVPosition",kwnames
,&obj0
)) goto fail
;
9655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9659 result
= (int)(arg1
)->GetPOVPosition();
9661 wxPyEndAllowThreads(__tstate
);
9662 if (PyErr_Occurred()) SWIG_fail
;
9664 resultobj
= SWIG_FromInt((int)result
);
9671 static PyObject
*_wrap_Joystick_GetPOVCTSPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9672 PyObject
*resultobj
;
9673 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9675 PyObject
* obj0
= 0 ;
9677 (char *) "self", NULL
9680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVCTSPosition",kwnames
,&obj0
)) goto fail
;
9681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9685 result
= (int)(arg1
)->GetPOVCTSPosition();
9687 wxPyEndAllowThreads(__tstate
);
9688 if (PyErr_Occurred()) SWIG_fail
;
9690 resultobj
= SWIG_FromInt((int)result
);
9697 static PyObject
*_wrap_Joystick_GetRudderPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9698 PyObject
*resultobj
;
9699 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9701 PyObject
* obj0
= 0 ;
9703 (char *) "self", NULL
9706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderPosition",kwnames
,&obj0
)) goto fail
;
9707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9711 result
= (int)(arg1
)->GetRudderPosition();
9713 wxPyEndAllowThreads(__tstate
);
9714 if (PyErr_Occurred()) SWIG_fail
;
9716 resultobj
= SWIG_FromInt((int)result
);
9723 static PyObject
*_wrap_Joystick_GetUPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9724 PyObject
*resultobj
;
9725 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9727 PyObject
* obj0
= 0 ;
9729 (char *) "self", NULL
9732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUPosition",kwnames
,&obj0
)) goto fail
;
9733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9737 result
= (int)(arg1
)->GetUPosition();
9739 wxPyEndAllowThreads(__tstate
);
9740 if (PyErr_Occurred()) SWIG_fail
;
9742 resultobj
= SWIG_FromInt((int)result
);
9749 static PyObject
*_wrap_Joystick_GetVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9750 PyObject
*resultobj
;
9751 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9753 PyObject
* obj0
= 0 ;
9755 (char *) "self", NULL
9758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVPosition",kwnames
,&obj0
)) goto fail
;
9759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9763 result
= (int)(arg1
)->GetVPosition();
9765 wxPyEndAllowThreads(__tstate
);
9766 if (PyErr_Occurred()) SWIG_fail
;
9768 resultobj
= SWIG_FromInt((int)result
);
9775 static PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9776 PyObject
*resultobj
;
9777 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9779 PyObject
* obj0
= 0 ;
9781 (char *) "self", NULL
9784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMovementThreshold",kwnames
,&obj0
)) goto fail
;
9785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9789 result
= (int)(arg1
)->GetMovementThreshold();
9791 wxPyEndAllowThreads(__tstate
);
9792 if (PyErr_Occurred()) SWIG_fail
;
9794 resultobj
= SWIG_FromInt((int)result
);
9801 static PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9802 PyObject
*resultobj
;
9803 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9805 PyObject
* obj0
= 0 ;
9806 PyObject
* obj1
= 0 ;
9808 (char *) "self",(char *) "threshold", NULL
9811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Joystick_SetMovementThreshold",kwnames
,&obj0
,&obj1
)) goto fail
;
9812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9814 arg2
= (int) SWIG_AsInt(obj1
);
9815 if (PyErr_Occurred()) SWIG_fail
;
9817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9818 (arg1
)->SetMovementThreshold(arg2
);
9820 wxPyEndAllowThreads(__tstate
);
9821 if (PyErr_Occurred()) SWIG_fail
;
9823 Py_INCREF(Py_None
); resultobj
= Py_None
;
9830 static PyObject
*_wrap_Joystick_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9831 PyObject
*resultobj
;
9832 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9834 PyObject
* obj0
= 0 ;
9836 (char *) "self", NULL
9839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_IsOk",kwnames
,&obj0
)) goto fail
;
9840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9844 result
= (bool)(arg1
)->IsOk();
9846 wxPyEndAllowThreads(__tstate
);
9847 if (PyErr_Occurred()) SWIG_fail
;
9850 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9858 static PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9859 PyObject
*resultobj
;
9860 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9862 PyObject
* obj0
= 0 ;
9864 (char *) "self", NULL
9867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberJoysticks",kwnames
,&obj0
)) goto fail
;
9868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9872 result
= (int)(arg1
)->GetNumberJoysticks();
9874 wxPyEndAllowThreads(__tstate
);
9875 if (PyErr_Occurred()) SWIG_fail
;
9877 resultobj
= SWIG_FromInt((int)result
);
9884 static PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9885 PyObject
*resultobj
;
9886 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9888 PyObject
* obj0
= 0 ;
9890 (char *) "self", NULL
9893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetManufacturerId",kwnames
,&obj0
)) goto fail
;
9894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9898 result
= (int)(arg1
)->GetManufacturerId();
9900 wxPyEndAllowThreads(__tstate
);
9901 if (PyErr_Occurred()) SWIG_fail
;
9903 resultobj
= SWIG_FromInt((int)result
);
9910 static PyObject
*_wrap_Joystick_GetProductId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9911 PyObject
*resultobj
;
9912 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9914 PyObject
* obj0
= 0 ;
9916 (char *) "self", NULL
9919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductId",kwnames
,&obj0
)) goto fail
;
9920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9924 result
= (int)(arg1
)->GetProductId();
9926 wxPyEndAllowThreads(__tstate
);
9927 if (PyErr_Occurred()) SWIG_fail
;
9929 resultobj
= SWIG_FromInt((int)result
);
9936 static PyObject
*_wrap_Joystick_GetProductName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9937 PyObject
*resultobj
;
9938 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9940 PyObject
* obj0
= 0 ;
9942 (char *) "self", NULL
9945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductName",kwnames
,&obj0
)) goto fail
;
9946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9950 result
= (arg1
)->GetProductName();
9952 wxPyEndAllowThreads(__tstate
);
9953 if (PyErr_Occurred()) SWIG_fail
;
9957 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9959 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9968 static PyObject
*_wrap_Joystick_GetXMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9969 PyObject
*resultobj
;
9970 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9972 PyObject
* obj0
= 0 ;
9974 (char *) "self", NULL
9977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMin",kwnames
,&obj0
)) goto fail
;
9978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9982 result
= (int)(arg1
)->GetXMin();
9984 wxPyEndAllowThreads(__tstate
);
9985 if (PyErr_Occurred()) SWIG_fail
;
9987 resultobj
= SWIG_FromInt((int)result
);
9994 static PyObject
*_wrap_Joystick_GetYMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9995 PyObject
*resultobj
;
9996 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9998 PyObject
* obj0
= 0 ;
10000 (char *) "self", NULL
10003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMin",kwnames
,&obj0
)) goto fail
;
10004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10008 result
= (int)(arg1
)->GetYMin();
10010 wxPyEndAllowThreads(__tstate
);
10011 if (PyErr_Occurred()) SWIG_fail
;
10013 resultobj
= SWIG_FromInt((int)result
);
10020 static PyObject
*_wrap_Joystick_GetZMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10021 PyObject
*resultobj
;
10022 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10024 PyObject
* obj0
= 0 ;
10025 char *kwnames
[] = {
10026 (char *) "self", NULL
10029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMin",kwnames
,&obj0
)) goto fail
;
10030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10034 result
= (int)(arg1
)->GetZMin();
10036 wxPyEndAllowThreads(__tstate
);
10037 if (PyErr_Occurred()) SWIG_fail
;
10039 resultobj
= SWIG_FromInt((int)result
);
10046 static PyObject
*_wrap_Joystick_GetXMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10047 PyObject
*resultobj
;
10048 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10050 PyObject
* obj0
= 0 ;
10051 char *kwnames
[] = {
10052 (char *) "self", NULL
10055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMax",kwnames
,&obj0
)) goto fail
;
10056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10060 result
= (int)(arg1
)->GetXMax();
10062 wxPyEndAllowThreads(__tstate
);
10063 if (PyErr_Occurred()) SWIG_fail
;
10065 resultobj
= SWIG_FromInt((int)result
);
10072 static PyObject
*_wrap_Joystick_GetYMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10073 PyObject
*resultobj
;
10074 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10076 PyObject
* obj0
= 0 ;
10077 char *kwnames
[] = {
10078 (char *) "self", NULL
10081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMax",kwnames
,&obj0
)) goto fail
;
10082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10086 result
= (int)(arg1
)->GetYMax();
10088 wxPyEndAllowThreads(__tstate
);
10089 if (PyErr_Occurred()) SWIG_fail
;
10091 resultobj
= SWIG_FromInt((int)result
);
10098 static PyObject
*_wrap_Joystick_GetZMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10099 PyObject
*resultobj
;
10100 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10102 PyObject
* obj0
= 0 ;
10103 char *kwnames
[] = {
10104 (char *) "self", NULL
10107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMax",kwnames
,&obj0
)) goto fail
;
10108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10112 result
= (int)(arg1
)->GetZMax();
10114 wxPyEndAllowThreads(__tstate
);
10115 if (PyErr_Occurred()) SWIG_fail
;
10117 resultobj
= SWIG_FromInt((int)result
);
10124 static PyObject
*_wrap_Joystick_GetNumberButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10125 PyObject
*resultobj
;
10126 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10128 PyObject
* obj0
= 0 ;
10129 char *kwnames
[] = {
10130 (char *) "self", NULL
10133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberButtons",kwnames
,&obj0
)) goto fail
;
10134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10138 result
= (int)(arg1
)->GetNumberButtons();
10140 wxPyEndAllowThreads(__tstate
);
10141 if (PyErr_Occurred()) SWIG_fail
;
10143 resultobj
= SWIG_FromInt((int)result
);
10150 static PyObject
*_wrap_Joystick_GetNumberAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10151 PyObject
*resultobj
;
10152 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10154 PyObject
* obj0
= 0 ;
10155 char *kwnames
[] = {
10156 (char *) "self", NULL
10159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberAxes",kwnames
,&obj0
)) goto fail
;
10160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10164 result
= (int)(arg1
)->GetNumberAxes();
10166 wxPyEndAllowThreads(__tstate
);
10167 if (PyErr_Occurred()) SWIG_fail
;
10169 resultobj
= SWIG_FromInt((int)result
);
10176 static PyObject
*_wrap_Joystick_GetMaxButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10177 PyObject
*resultobj
;
10178 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10180 PyObject
* obj0
= 0 ;
10181 char *kwnames
[] = {
10182 (char *) "self", NULL
10185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxButtons",kwnames
,&obj0
)) goto fail
;
10186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10190 result
= (int)(arg1
)->GetMaxButtons();
10192 wxPyEndAllowThreads(__tstate
);
10193 if (PyErr_Occurred()) SWIG_fail
;
10195 resultobj
= SWIG_FromInt((int)result
);
10202 static PyObject
*_wrap_Joystick_GetMaxAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10203 PyObject
*resultobj
;
10204 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10206 PyObject
* obj0
= 0 ;
10207 char *kwnames
[] = {
10208 (char *) "self", NULL
10211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxAxes",kwnames
,&obj0
)) goto fail
;
10212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10216 result
= (int)(arg1
)->GetMaxAxes();
10218 wxPyEndAllowThreads(__tstate
);
10219 if (PyErr_Occurred()) SWIG_fail
;
10221 resultobj
= SWIG_FromInt((int)result
);
10228 static PyObject
*_wrap_Joystick_GetPollingMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10229 PyObject
*resultobj
;
10230 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10232 PyObject
* obj0
= 0 ;
10233 char *kwnames
[] = {
10234 (char *) "self", NULL
10237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMin",kwnames
,&obj0
)) goto fail
;
10238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10242 result
= (int)(arg1
)->GetPollingMin();
10244 wxPyEndAllowThreads(__tstate
);
10245 if (PyErr_Occurred()) SWIG_fail
;
10247 resultobj
= SWIG_FromInt((int)result
);
10254 static PyObject
*_wrap_Joystick_GetPollingMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10255 PyObject
*resultobj
;
10256 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10258 PyObject
* obj0
= 0 ;
10259 char *kwnames
[] = {
10260 (char *) "self", NULL
10263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMax",kwnames
,&obj0
)) goto fail
;
10264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10268 result
= (int)(arg1
)->GetPollingMax();
10270 wxPyEndAllowThreads(__tstate
);
10271 if (PyErr_Occurred()) SWIG_fail
;
10273 resultobj
= SWIG_FromInt((int)result
);
10280 static PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10281 PyObject
*resultobj
;
10282 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10284 PyObject
* obj0
= 0 ;
10285 char *kwnames
[] = {
10286 (char *) "self", NULL
10289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMin",kwnames
,&obj0
)) goto fail
;
10290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10294 result
= (int)(arg1
)->GetRudderMin();
10296 wxPyEndAllowThreads(__tstate
);
10297 if (PyErr_Occurred()) SWIG_fail
;
10299 resultobj
= SWIG_FromInt((int)result
);
10306 static PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10307 PyObject
*resultobj
;
10308 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10310 PyObject
* obj0
= 0 ;
10311 char *kwnames
[] = {
10312 (char *) "self", NULL
10315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMax",kwnames
,&obj0
)) goto fail
;
10316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10320 result
= (int)(arg1
)->GetRudderMax();
10322 wxPyEndAllowThreads(__tstate
);
10323 if (PyErr_Occurred()) SWIG_fail
;
10325 resultobj
= SWIG_FromInt((int)result
);
10332 static PyObject
*_wrap_Joystick_GetUMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10333 PyObject
*resultobj
;
10334 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10336 PyObject
* obj0
= 0 ;
10337 char *kwnames
[] = {
10338 (char *) "self", NULL
10341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMin",kwnames
,&obj0
)) goto fail
;
10342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10346 result
= (int)(arg1
)->GetUMin();
10348 wxPyEndAllowThreads(__tstate
);
10349 if (PyErr_Occurred()) SWIG_fail
;
10351 resultobj
= SWIG_FromInt((int)result
);
10358 static PyObject
*_wrap_Joystick_GetUMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10359 PyObject
*resultobj
;
10360 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10362 PyObject
* obj0
= 0 ;
10363 char *kwnames
[] = {
10364 (char *) "self", NULL
10367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMax",kwnames
,&obj0
)) goto fail
;
10368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10372 result
= (int)(arg1
)->GetUMax();
10374 wxPyEndAllowThreads(__tstate
);
10375 if (PyErr_Occurred()) SWIG_fail
;
10377 resultobj
= SWIG_FromInt((int)result
);
10384 static PyObject
*_wrap_Joystick_GetVMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10385 PyObject
*resultobj
;
10386 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10388 PyObject
* obj0
= 0 ;
10389 char *kwnames
[] = {
10390 (char *) "self", NULL
10393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMin",kwnames
,&obj0
)) goto fail
;
10394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10398 result
= (int)(arg1
)->GetVMin();
10400 wxPyEndAllowThreads(__tstate
);
10401 if (PyErr_Occurred()) SWIG_fail
;
10403 resultobj
= SWIG_FromInt((int)result
);
10410 static PyObject
*_wrap_Joystick_GetVMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10411 PyObject
*resultobj
;
10412 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10414 PyObject
* obj0
= 0 ;
10415 char *kwnames
[] = {
10416 (char *) "self", NULL
10419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMax",kwnames
,&obj0
)) goto fail
;
10420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10424 result
= (int)(arg1
)->GetVMax();
10426 wxPyEndAllowThreads(__tstate
);
10427 if (PyErr_Occurred()) SWIG_fail
;
10429 resultobj
= SWIG_FromInt((int)result
);
10436 static PyObject
*_wrap_Joystick_HasRudder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10437 PyObject
*resultobj
;
10438 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10440 PyObject
* obj0
= 0 ;
10441 char *kwnames
[] = {
10442 (char *) "self", NULL
10445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasRudder",kwnames
,&obj0
)) goto fail
;
10446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10450 result
= (bool)(arg1
)->HasRudder();
10452 wxPyEndAllowThreads(__tstate
);
10453 if (PyErr_Occurred()) SWIG_fail
;
10456 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10464 static PyObject
*_wrap_Joystick_HasZ(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10465 PyObject
*resultobj
;
10466 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10468 PyObject
* obj0
= 0 ;
10469 char *kwnames
[] = {
10470 (char *) "self", NULL
10473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasZ",kwnames
,&obj0
)) goto fail
;
10474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10478 result
= (bool)(arg1
)->HasZ();
10480 wxPyEndAllowThreads(__tstate
);
10481 if (PyErr_Occurred()) SWIG_fail
;
10484 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10492 static PyObject
*_wrap_Joystick_HasU(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10493 PyObject
*resultobj
;
10494 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10496 PyObject
* obj0
= 0 ;
10497 char *kwnames
[] = {
10498 (char *) "self", NULL
10501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasU",kwnames
,&obj0
)) goto fail
;
10502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10506 result
= (bool)(arg1
)->HasU();
10508 wxPyEndAllowThreads(__tstate
);
10509 if (PyErr_Occurred()) SWIG_fail
;
10512 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10520 static PyObject
*_wrap_Joystick_HasV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10521 PyObject
*resultobj
;
10522 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10524 PyObject
* obj0
= 0 ;
10525 char *kwnames
[] = {
10526 (char *) "self", NULL
10529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasV",kwnames
,&obj0
)) goto fail
;
10530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10534 result
= (bool)(arg1
)->HasV();
10536 wxPyEndAllowThreads(__tstate
);
10537 if (PyErr_Occurred()) SWIG_fail
;
10540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10548 static PyObject
*_wrap_Joystick_HasPOV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10549 PyObject
*resultobj
;
10550 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10552 PyObject
* obj0
= 0 ;
10553 char *kwnames
[] = {
10554 (char *) "self", NULL
10557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV",kwnames
,&obj0
)) goto fail
;
10558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10562 result
= (bool)(arg1
)->HasPOV();
10564 wxPyEndAllowThreads(__tstate
);
10565 if (PyErr_Occurred()) SWIG_fail
;
10568 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10576 static PyObject
*_wrap_Joystick_HasPOV4Dir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10577 PyObject
*resultobj
;
10578 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10580 PyObject
* obj0
= 0 ;
10581 char *kwnames
[] = {
10582 (char *) "self", NULL
10585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV4Dir",kwnames
,&obj0
)) goto fail
;
10586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10590 result
= (bool)(arg1
)->HasPOV4Dir();
10592 wxPyEndAllowThreads(__tstate
);
10593 if (PyErr_Occurred()) SWIG_fail
;
10596 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10604 static PyObject
*_wrap_Joystick_HasPOVCTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10605 PyObject
*resultobj
;
10606 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10608 PyObject
* obj0
= 0 ;
10609 char *kwnames
[] = {
10610 (char *) "self", NULL
10613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOVCTS",kwnames
,&obj0
)) goto fail
;
10614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10618 result
= (bool)(arg1
)->HasPOVCTS();
10620 wxPyEndAllowThreads(__tstate
);
10621 if (PyErr_Occurred()) SWIG_fail
;
10624 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10632 static PyObject
*_wrap_Joystick_SetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10633 PyObject
*resultobj
;
10634 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10635 wxWindow
*arg2
= (wxWindow
*) 0 ;
10636 int arg3
= (int) 0 ;
10638 PyObject
* obj0
= 0 ;
10639 PyObject
* obj1
= 0 ;
10640 PyObject
* obj2
= 0 ;
10641 char *kwnames
[] = {
10642 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
10645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10648 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10651 arg3
= (int) SWIG_AsInt(obj2
);
10652 if (PyErr_Occurred()) SWIG_fail
;
10655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10656 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
10658 wxPyEndAllowThreads(__tstate
);
10659 if (PyErr_Occurred()) SWIG_fail
;
10662 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10670 static PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10671 PyObject
*resultobj
;
10672 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10674 PyObject
* obj0
= 0 ;
10675 char *kwnames
[] = {
10676 (char *) "self", NULL
10679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_ReleaseCapture",kwnames
,&obj0
)) goto fail
;
10680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10684 result
= (bool)(arg1
)->ReleaseCapture();
10686 wxPyEndAllowThreads(__tstate
);
10687 if (PyErr_Occurred()) SWIG_fail
;
10690 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10698 static PyObject
* Joystick_swigregister(PyObject
*self
, PyObject
*args
) {
10700 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10701 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick
, obj
);
10703 return Py_BuildValue((char *)"");
10705 static PyObject
*_wrap_JoystickEvent_m_pos_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10706 PyObject
*resultobj
;
10707 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10708 wxPoint
*arg2
= (wxPoint
*) 0 ;
10709 PyObject
* obj0
= 0 ;
10710 PyObject
* obj1
= 0 ;
10711 char *kwnames
[] = {
10712 (char *) "self",(char *) "m_pos", NULL
10715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10718 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
10719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10720 if (arg1
) (arg1
)->m_pos
= *arg2
;
10722 Py_INCREF(Py_None
); resultobj
= Py_None
;
10729 static PyObject
*_wrap_JoystickEvent_m_pos_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10730 PyObject
*resultobj
;
10731 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10733 PyObject
* obj0
= 0 ;
10734 char *kwnames
[] = {
10735 (char *) "self", NULL
10738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
10739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10741 result
= (wxPoint
*)& ((arg1
)->m_pos
);
10743 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
10750 static PyObject
*_wrap_JoystickEvent_m_zPosition_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10751 PyObject
*resultobj
;
10752 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10754 PyObject
* obj0
= 0 ;
10755 PyObject
* obj1
= 0 ;
10756 char *kwnames
[] = {
10757 (char *) "self",(char *) "m_zPosition", NULL
10760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_zPosition_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10763 arg2
= (int) SWIG_AsInt(obj1
);
10764 if (PyErr_Occurred()) SWIG_fail
;
10765 if (arg1
) (arg1
)->m_zPosition
= arg2
;
10767 Py_INCREF(Py_None
); resultobj
= Py_None
;
10774 static PyObject
*_wrap_JoystickEvent_m_zPosition_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10775 PyObject
*resultobj
;
10776 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10778 PyObject
* obj0
= 0 ;
10779 char *kwnames
[] = {
10780 (char *) "self", NULL
10783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_zPosition_get",kwnames
,&obj0
)) goto fail
;
10784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10786 result
= (int) ((arg1
)->m_zPosition
);
10788 resultobj
= SWIG_FromInt((int)result
);
10795 static PyObject
*_wrap_JoystickEvent_m_buttonChange_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10796 PyObject
*resultobj
;
10797 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10799 PyObject
* obj0
= 0 ;
10800 PyObject
* obj1
= 0 ;
10801 char *kwnames
[] = {
10802 (char *) "self",(char *) "m_buttonChange", NULL
10805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonChange_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10808 arg2
= (int) SWIG_AsInt(obj1
);
10809 if (PyErr_Occurred()) SWIG_fail
;
10810 if (arg1
) (arg1
)->m_buttonChange
= arg2
;
10812 Py_INCREF(Py_None
); resultobj
= Py_None
;
10819 static PyObject
*_wrap_JoystickEvent_m_buttonChange_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10820 PyObject
*resultobj
;
10821 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10823 PyObject
* obj0
= 0 ;
10824 char *kwnames
[] = {
10825 (char *) "self", NULL
10828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonChange_get",kwnames
,&obj0
)) goto fail
;
10829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10831 result
= (int) ((arg1
)->m_buttonChange
);
10833 resultobj
= SWIG_FromInt((int)result
);
10840 static PyObject
*_wrap_JoystickEvent_m_buttonState_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10841 PyObject
*resultobj
;
10842 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10844 PyObject
* obj0
= 0 ;
10845 PyObject
* obj1
= 0 ;
10846 char *kwnames
[] = {
10847 (char *) "self",(char *) "m_buttonState", NULL
10850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonState_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10853 arg2
= (int) SWIG_AsInt(obj1
);
10854 if (PyErr_Occurred()) SWIG_fail
;
10855 if (arg1
) (arg1
)->m_buttonState
= arg2
;
10857 Py_INCREF(Py_None
); resultobj
= Py_None
;
10864 static PyObject
*_wrap_JoystickEvent_m_buttonState_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10865 PyObject
*resultobj
;
10866 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10868 PyObject
* obj0
= 0 ;
10869 char *kwnames
[] = {
10870 (char *) "self", NULL
10873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonState_get",kwnames
,&obj0
)) goto fail
;
10874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10876 result
= (int) ((arg1
)->m_buttonState
);
10878 resultobj
= SWIG_FromInt((int)result
);
10885 static PyObject
*_wrap_JoystickEvent_m_joyStick_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10886 PyObject
*resultobj
;
10887 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10889 PyObject
* obj0
= 0 ;
10890 PyObject
* obj1
= 0 ;
10891 char *kwnames
[] = {
10892 (char *) "self",(char *) "m_joyStick", NULL
10895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_joyStick_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10898 arg2
= (int) SWIG_AsInt(obj1
);
10899 if (PyErr_Occurred()) SWIG_fail
;
10900 if (arg1
) (arg1
)->m_joyStick
= arg2
;
10902 Py_INCREF(Py_None
); resultobj
= Py_None
;
10909 static PyObject
*_wrap_JoystickEvent_m_joyStick_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10910 PyObject
*resultobj
;
10911 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10913 PyObject
* obj0
= 0 ;
10914 char *kwnames
[] = {
10915 (char *) "self", NULL
10918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_joyStick_get",kwnames
,&obj0
)) goto fail
;
10919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10921 result
= (int) ((arg1
)->m_joyStick
);
10923 resultobj
= SWIG_FromInt((int)result
);
10930 static PyObject
*_wrap_new_JoystickEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10931 PyObject
*resultobj
;
10932 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
10933 int arg2
= (int) 0 ;
10934 int arg3
= (int) wxJOYSTICK1
;
10935 int arg4
= (int) 0 ;
10936 wxJoystickEvent
*result
;
10937 PyObject
* obj0
= 0 ;
10938 PyObject
* obj1
= 0 ;
10939 PyObject
* obj2
= 0 ;
10940 PyObject
* obj3
= 0 ;
10941 char *kwnames
[] = {
10942 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
10945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_JoystickEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10947 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
10948 if (PyErr_Occurred()) SWIG_fail
;
10951 arg2
= (int) SWIG_AsInt(obj1
);
10952 if (PyErr_Occurred()) SWIG_fail
;
10955 arg3
= (int) SWIG_AsInt(obj2
);
10956 if (PyErr_Occurred()) SWIG_fail
;
10959 arg4
= (int) SWIG_AsInt(obj3
);
10960 if (PyErr_Occurred()) SWIG_fail
;
10963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10964 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
10966 wxPyEndAllowThreads(__tstate
);
10967 if (PyErr_Occurred()) SWIG_fail
;
10969 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystickEvent
, 1);
10976 static PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10977 PyObject
*resultobj
;
10978 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10980 PyObject
* obj0
= 0 ;
10981 char *kwnames
[] = {
10982 (char *) "self", NULL
10985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
10986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10990 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
10992 wxPyEndAllowThreads(__tstate
);
10993 if (PyErr_Occurred()) SWIG_fail
;
10996 wxPoint
* resultptr
;
10997 resultptr
= new wxPoint((wxPoint
&) result
);
10998 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
11006 static PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11007 PyObject
*resultobj
;
11008 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11010 PyObject
* obj0
= 0 ;
11011 char *kwnames
[] = {
11012 (char *) "self", NULL
11015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetZPosition",kwnames
,&obj0
)) goto fail
;
11016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11020 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
11022 wxPyEndAllowThreads(__tstate
);
11023 if (PyErr_Occurred()) SWIG_fail
;
11025 resultobj
= SWIG_FromInt((int)result
);
11032 static PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11033 PyObject
*resultobj
;
11034 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11036 PyObject
* obj0
= 0 ;
11037 char *kwnames
[] = {
11038 (char *) "self", NULL
11041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonState",kwnames
,&obj0
)) goto fail
;
11042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11046 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
11048 wxPyEndAllowThreads(__tstate
);
11049 if (PyErr_Occurred()) SWIG_fail
;
11051 resultobj
= SWIG_FromInt((int)result
);
11058 static PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11059 PyObject
*resultobj
;
11060 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11062 PyObject
* obj0
= 0 ;
11063 char *kwnames
[] = {
11064 (char *) "self", NULL
11067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonChange",kwnames
,&obj0
)) goto fail
;
11068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11072 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
11074 wxPyEndAllowThreads(__tstate
);
11075 if (PyErr_Occurred()) SWIG_fail
;
11077 resultobj
= SWIG_FromInt((int)result
);
11084 static PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11085 PyObject
*resultobj
;
11086 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11088 PyObject
* obj0
= 0 ;
11089 char *kwnames
[] = {
11090 (char *) "self", NULL
11093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetJoystick",kwnames
,&obj0
)) goto fail
;
11094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11098 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
11100 wxPyEndAllowThreads(__tstate
);
11101 if (PyErr_Occurred()) SWIG_fail
;
11103 resultobj
= SWIG_FromInt((int)result
);
11110 static PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11111 PyObject
*resultobj
;
11112 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11114 PyObject
* obj0
= 0 ;
11115 PyObject
* obj1
= 0 ;
11116 char *kwnames
[] = {
11117 (char *) "self",(char *) "stick", NULL
11120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetJoystick",kwnames
,&obj0
,&obj1
)) goto fail
;
11121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11123 arg2
= (int) SWIG_AsInt(obj1
);
11124 if (PyErr_Occurred()) SWIG_fail
;
11126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11127 (arg1
)->SetJoystick(arg2
);
11129 wxPyEndAllowThreads(__tstate
);
11130 if (PyErr_Occurred()) SWIG_fail
;
11132 Py_INCREF(Py_None
); resultobj
= Py_None
;
11139 static PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11140 PyObject
*resultobj
;
11141 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11143 PyObject
* obj0
= 0 ;
11144 PyObject
* obj1
= 0 ;
11145 char *kwnames
[] = {
11146 (char *) "self",(char *) "state", NULL
11149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonState",kwnames
,&obj0
,&obj1
)) goto fail
;
11150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11152 arg2
= (int) SWIG_AsInt(obj1
);
11153 if (PyErr_Occurred()) SWIG_fail
;
11155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11156 (arg1
)->SetButtonState(arg2
);
11158 wxPyEndAllowThreads(__tstate
);
11159 if (PyErr_Occurred()) SWIG_fail
;
11161 Py_INCREF(Py_None
); resultobj
= Py_None
;
11168 static PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11169 PyObject
*resultobj
;
11170 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11172 PyObject
* obj0
= 0 ;
11173 PyObject
* obj1
= 0 ;
11174 char *kwnames
[] = {
11175 (char *) "self",(char *) "change", NULL
11178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&obj1
)) goto fail
;
11179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11181 arg2
= (int) SWIG_AsInt(obj1
);
11182 if (PyErr_Occurred()) SWIG_fail
;
11184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11185 (arg1
)->SetButtonChange(arg2
);
11187 wxPyEndAllowThreads(__tstate
);
11188 if (PyErr_Occurred()) SWIG_fail
;
11190 Py_INCREF(Py_None
); resultobj
= Py_None
;
11197 static PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11198 PyObject
*resultobj
;
11199 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11200 wxPoint
*arg2
= 0 ;
11202 PyObject
* obj0
= 0 ;
11203 PyObject
* obj1
= 0 ;
11204 char *kwnames
[] = {
11205 (char *) "self",(char *) "pos", NULL
11208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11213 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11217 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
11219 wxPyEndAllowThreads(__tstate
);
11220 if (PyErr_Occurred()) SWIG_fail
;
11222 Py_INCREF(Py_None
); resultobj
= Py_None
;
11229 static PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11230 PyObject
*resultobj
;
11231 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11233 PyObject
* obj0
= 0 ;
11234 PyObject
* obj1
= 0 ;
11235 char *kwnames
[] = {
11236 (char *) "self",(char *) "zPos", NULL
11239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetZPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11242 arg2
= (int) SWIG_AsInt(obj1
);
11243 if (PyErr_Occurred()) SWIG_fail
;
11245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11246 (arg1
)->SetZPosition(arg2
);
11248 wxPyEndAllowThreads(__tstate
);
11249 if (PyErr_Occurred()) SWIG_fail
;
11251 Py_INCREF(Py_None
); resultobj
= Py_None
;
11258 static PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11259 PyObject
*resultobj
;
11260 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11262 PyObject
* obj0
= 0 ;
11263 char *kwnames
[] = {
11264 (char *) "self", NULL
11267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsButton",kwnames
,&obj0
)) goto fail
;
11268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11272 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
11274 wxPyEndAllowThreads(__tstate
);
11275 if (PyErr_Occurred()) SWIG_fail
;
11278 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11286 static PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11287 PyObject
*resultobj
;
11288 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11290 PyObject
* obj0
= 0 ;
11291 char *kwnames
[] = {
11292 (char *) "self", NULL
11295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsMove",kwnames
,&obj0
)) goto fail
;
11296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11300 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
11302 wxPyEndAllowThreads(__tstate
);
11303 if (PyErr_Occurred()) SWIG_fail
;
11306 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11314 static PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11315 PyObject
*resultobj
;
11316 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11318 PyObject
* obj0
= 0 ;
11319 char *kwnames
[] = {
11320 (char *) "self", NULL
11323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsZMove",kwnames
,&obj0
)) goto fail
;
11324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11328 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
11330 wxPyEndAllowThreads(__tstate
);
11331 if (PyErr_Occurred()) SWIG_fail
;
11334 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11342 static PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11343 PyObject
*resultobj
;
11344 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11345 int arg2
= (int) wxJOY_BUTTON_ANY
;
11347 PyObject
* obj0
= 0 ;
11348 PyObject
* obj1
= 0 ;
11349 char *kwnames
[] = {
11350 (char *) "self",(char *) "but", NULL
11353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
11354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11357 arg2
= (int) SWIG_AsInt(obj1
);
11358 if (PyErr_Occurred()) SWIG_fail
;
11361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11362 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
11364 wxPyEndAllowThreads(__tstate
);
11365 if (PyErr_Occurred()) SWIG_fail
;
11368 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11376 static PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11377 PyObject
*resultobj
;
11378 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11379 int arg2
= (int) wxJOY_BUTTON_ANY
;
11381 PyObject
* obj0
= 0 ;
11382 PyObject
* obj1
= 0 ;
11383 char *kwnames
[] = {
11384 (char *) "self",(char *) "but", NULL
11387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
11388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11391 arg2
= (int) SWIG_AsInt(obj1
);
11392 if (PyErr_Occurred()) SWIG_fail
;
11395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11396 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
11398 wxPyEndAllowThreads(__tstate
);
11399 if (PyErr_Occurred()) SWIG_fail
;
11402 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11410 static PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11411 PyObject
*resultobj
;
11412 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11413 int arg2
= (int) wxJOY_BUTTON_ANY
;
11415 PyObject
* obj0
= 0 ;
11416 PyObject
* obj1
= 0 ;
11417 char *kwnames
[] = {
11418 (char *) "self",(char *) "but", NULL
11421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
11422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11425 arg2
= (int) SWIG_AsInt(obj1
);
11426 if (PyErr_Occurred()) SWIG_fail
;
11429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11430 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
11432 wxPyEndAllowThreads(__tstate
);
11433 if (PyErr_Occurred()) SWIG_fail
;
11436 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11444 static PyObject
* JoystickEvent_swigregister(PyObject
*self
, PyObject
*args
) {
11446 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11447 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent
, obj
);
11449 return Py_BuildValue((char *)"");
11451 static PyObject
*_wrap_new_Sound(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11452 PyObject
*resultobj
;
11453 wxString
const &arg1_defvalue
= wxPyEmptyString
;
11454 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
11456 bool temp1
= False
;
11457 PyObject
* obj0
= 0 ;
11458 char *kwnames
[] = {
11459 (char *) "fileName", NULL
11462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Sound",kwnames
,&obj0
)) goto fail
;
11465 arg1
= wxString_in_helper(obj0
);
11466 if (arg1
== NULL
) SWIG_fail
;
11471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11472 result
= (wxSound
*)new_wxSound((wxString
const &)*arg1
);
11474 wxPyEndAllowThreads(__tstate
);
11475 if (PyErr_Occurred()) SWIG_fail
;
11477 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
11492 static PyObject
*_wrap_new_SoundFromData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11493 PyObject
*resultobj
;
11494 PyObject
*arg1
= (PyObject
*) 0 ;
11496 PyObject
* obj0
= 0 ;
11497 char *kwnames
[] = {
11498 (char *) "data", NULL
11501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_SoundFromData",kwnames
,&obj0
)) goto fail
;
11504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11505 result
= (wxSound
*)new_wxSound(arg1
);
11507 wxPyEndAllowThreads(__tstate
);
11508 if (PyErr_Occurred()) SWIG_fail
;
11510 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
11517 static PyObject
*_wrap_delete_Sound(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11518 PyObject
*resultobj
;
11519 wxSound
*arg1
= (wxSound
*) 0 ;
11520 PyObject
* obj0
= 0 ;
11521 char *kwnames
[] = {
11522 (char *) "self", NULL
11525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Sound",kwnames
,&obj0
)) goto fail
;
11526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11532 wxPyEndAllowThreads(__tstate
);
11533 if (PyErr_Occurred()) SWIG_fail
;
11535 Py_INCREF(Py_None
); resultobj
= Py_None
;
11542 static PyObject
*_wrap_Sound_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11543 PyObject
*resultobj
;
11544 wxSound
*arg1
= (wxSound
*) 0 ;
11545 wxString
*arg2
= 0 ;
11547 bool temp2
= False
;
11548 PyObject
* obj0
= 0 ;
11549 PyObject
* obj1
= 0 ;
11550 char *kwnames
[] = {
11551 (char *) "self",(char *) "fileName", NULL
11554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_Create",kwnames
,&obj0
,&obj1
)) goto fail
;
11555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11558 arg2
= wxString_in_helper(obj1
);
11559 if (arg2
== NULL
) SWIG_fail
;
11563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11564 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
);
11566 wxPyEndAllowThreads(__tstate
);
11567 if (PyErr_Occurred()) SWIG_fail
;
11570 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11586 static PyObject
*_wrap_Sound_CreateFromData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11587 PyObject
*resultobj
;
11588 wxSound
*arg1
= (wxSound
*) 0 ;
11589 PyObject
*arg2
= (PyObject
*) 0 ;
11591 PyObject
* obj0
= 0 ;
11592 PyObject
* obj1
= 0 ;
11593 char *kwnames
[] = {
11594 (char *) "self",(char *) "data", NULL
11597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_CreateFromData",kwnames
,&obj0
,&obj1
)) goto fail
;
11598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11603 result
= (bool)wxSound_CreateFromData(arg1
,arg2
);
11605 wxPyEndAllowThreads(__tstate
);
11606 if (PyErr_Occurred()) SWIG_fail
;
11609 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11617 static PyObject
*_wrap_Sound_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11618 PyObject
*resultobj
;
11619 wxSound
*arg1
= (wxSound
*) 0 ;
11621 PyObject
* obj0
= 0 ;
11622 char *kwnames
[] = {
11623 (char *) "self", NULL
11626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sound_IsOk",kwnames
,&obj0
)) goto fail
;
11627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11631 result
= (bool)(arg1
)->IsOk();
11633 wxPyEndAllowThreads(__tstate
);
11634 if (PyErr_Occurred()) SWIG_fail
;
11637 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11645 static PyObject
*_wrap_Sound_Play(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11646 PyObject
*resultobj
;
11647 wxSound
*arg1
= (wxSound
*) 0 ;
11648 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
11650 PyObject
* obj0
= 0 ;
11651 PyObject
* obj1
= 0 ;
11652 char *kwnames
[] = {
11653 (char *) "self",(char *) "flags", NULL
11656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_Play",kwnames
,&obj0
,&obj1
)) goto fail
;
11657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11660 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
11661 if (PyErr_Occurred()) SWIG_fail
;
11664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11665 result
= (bool)((wxSound
const *)arg1
)->Play(arg2
);
11667 wxPyEndAllowThreads(__tstate
);
11668 if (PyErr_Occurred()) SWIG_fail
;
11671 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11679 static PyObject
*_wrap_Sound_PlaySound(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11680 PyObject
*resultobj
;
11681 wxString
*arg1
= 0 ;
11682 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
11684 bool temp1
= False
;
11685 PyObject
* obj0
= 0 ;
11686 PyObject
* obj1
= 0 ;
11687 char *kwnames
[] = {
11688 (char *) "filename",(char *) "flags", NULL
11691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_PlaySound",kwnames
,&obj0
,&obj1
)) goto fail
;
11693 arg1
= wxString_in_helper(obj0
);
11694 if (arg1
== NULL
) SWIG_fail
;
11698 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
11699 if (PyErr_Occurred()) SWIG_fail
;
11702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11703 result
= (bool)wxSound::Play((wxString
const &)*arg1
,arg2
);
11705 wxPyEndAllowThreads(__tstate
);
11706 if (PyErr_Occurred()) SWIG_fail
;
11709 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11725 static PyObject
*_wrap_Sound_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11726 PyObject
*resultobj
;
11727 char *kwnames
[] = {
11731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Sound_Stop",kwnames
)) goto fail
;
11733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11736 wxPyEndAllowThreads(__tstate
);
11737 if (PyErr_Occurred()) SWIG_fail
;
11739 Py_INCREF(Py_None
); resultobj
= Py_None
;
11746 static PyObject
* Sound_swigregister(PyObject
*self
, PyObject
*args
) {
11748 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11749 SWIG_TypeClientData(SWIGTYPE_p_wxSound
, obj
);
11751 return Py_BuildValue((char *)"");
11753 static PyObject
*_wrap_new_FileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11754 PyObject
*resultobj
;
11755 wxString
*arg1
= 0 ;
11756 wxString
*arg2
= 0 ;
11757 wxString
*arg3
= 0 ;
11758 wxString
*arg4
= 0 ;
11759 wxFileTypeInfo
*result
;
11760 bool temp1
= False
;
11761 bool temp2
= False
;
11762 bool temp3
= False
;
11763 bool temp4
= False
;
11764 PyObject
* obj0
= 0 ;
11765 PyObject
* obj1
= 0 ;
11766 PyObject
* obj2
= 0 ;
11767 PyObject
* obj3
= 0 ;
11768 char *kwnames
[] = {
11769 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
11772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11774 arg1
= wxString_in_helper(obj0
);
11775 if (arg1
== NULL
) SWIG_fail
;
11779 arg2
= wxString_in_helper(obj1
);
11780 if (arg2
== NULL
) SWIG_fail
;
11784 arg3
= wxString_in_helper(obj2
);
11785 if (arg3
== NULL
) SWIG_fail
;
11789 arg4
= wxString_in_helper(obj3
);
11790 if (arg4
== NULL
) SWIG_fail
;
11794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11795 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
11797 wxPyEndAllowThreads(__tstate
);
11798 if (PyErr_Occurred()) SWIG_fail
;
11800 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
11839 static PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11840 PyObject
*resultobj
;
11841 wxArrayString
*arg1
= 0 ;
11842 wxFileTypeInfo
*result
;
11843 bool temp1
= False
;
11844 PyObject
* obj0
= 0 ;
11845 char *kwnames
[] = {
11846 (char *) "sArray", NULL
11849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) goto fail
;
11851 if (! PySequence_Check(obj0
)) {
11852 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11855 arg1
= new wxArrayString
;
11857 int i
, len
=PySequence_Length(obj0
);
11858 for (i
=0; i
<len
; i
++) {
11859 PyObject
* item
= PySequence_GetItem(obj0
, i
);
11861 PyObject
* str
= PyObject_Unicode(item
);
11863 PyObject
* str
= PyObject_Str(item
);
11865 if (PyErr_Occurred()) SWIG_fail
;
11866 arg1
->Add(Py2wxString(str
));
11872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11873 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
11875 wxPyEndAllowThreads(__tstate
);
11876 if (PyErr_Occurred()) SWIG_fail
;
11878 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
11880 if (temp1
) delete arg1
;
11885 if (temp1
) delete arg1
;
11891 static PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11892 PyObject
*resultobj
;
11893 wxFileTypeInfo
*result
;
11894 char *kwnames
[] = {
11898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NullFileTypeInfo",kwnames
)) goto fail
;
11900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11901 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
11903 wxPyEndAllowThreads(__tstate
);
11904 if (PyErr_Occurred()) SWIG_fail
;
11906 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
11913 static PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11914 PyObject
*resultobj
;
11915 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11917 PyObject
* obj0
= 0 ;
11918 char *kwnames
[] = {
11919 (char *) "self", NULL
11922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_IsValid",kwnames
,&obj0
)) goto fail
;
11923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
11924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11927 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
11929 wxPyEndAllowThreads(__tstate
);
11930 if (PyErr_Occurred()) SWIG_fail
;
11933 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11941 static PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11942 PyObject
*resultobj
;
11943 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11944 wxString
*arg2
= 0 ;
11945 int arg3
= (int) 0 ;
11946 bool temp2
= False
;
11947 PyObject
* obj0
= 0 ;
11948 PyObject
* obj1
= 0 ;
11949 PyObject
* obj2
= 0 ;
11950 char *kwnames
[] = {
11951 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
11954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
11956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11958 arg2
= wxString_in_helper(obj1
);
11959 if (arg2
== NULL
) SWIG_fail
;
11963 arg3
= (int) SWIG_AsInt(obj2
);
11964 if (PyErr_Occurred()) SWIG_fail
;
11967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11968 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
11970 wxPyEndAllowThreads(__tstate
);
11971 if (PyErr_Occurred()) SWIG_fail
;
11973 Py_INCREF(Py_None
); resultobj
= Py_None
;
11988 static PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11989 PyObject
*resultobj
;
11990 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11991 wxString
*arg2
= 0 ;
11992 bool temp2
= False
;
11993 PyObject
* obj0
= 0 ;
11994 PyObject
* obj1
= 0 ;
11995 char *kwnames
[] = {
11996 (char *) "self",(char *) "shortDesc", NULL
11999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
12000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12003 arg2
= wxString_in_helper(obj1
);
12004 if (arg2
== NULL
) SWIG_fail
;
12008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12009 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
12011 wxPyEndAllowThreads(__tstate
);
12012 if (PyErr_Occurred()) SWIG_fail
;
12014 Py_INCREF(Py_None
); resultobj
= Py_None
;
12029 static PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12030 PyObject
*resultobj
;
12031 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12033 PyObject
* obj0
= 0 ;
12034 char *kwnames
[] = {
12035 (char *) "self", NULL
12038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetMimeType",kwnames
,&obj0
)) goto fail
;
12039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12044 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
12045 result
= (wxString
*) &_result_ref
;
12048 wxPyEndAllowThreads(__tstate
);
12049 if (PyErr_Occurred()) SWIG_fail
;
12053 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12055 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12064 static PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12065 PyObject
*resultobj
;
12066 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12068 PyObject
* obj0
= 0 ;
12069 char *kwnames
[] = {
12070 (char *) "self", NULL
12073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames
,&obj0
)) goto fail
;
12074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12079 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
12080 result
= (wxString
*) &_result_ref
;
12083 wxPyEndAllowThreads(__tstate
);
12084 if (PyErr_Occurred()) SWIG_fail
;
12088 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12090 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12099 static PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12100 PyObject
*resultobj
;
12101 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12103 PyObject
* obj0
= 0 ;
12104 char *kwnames
[] = {
12105 (char *) "self", NULL
12108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames
,&obj0
)) goto fail
;
12109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12114 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
12115 result
= (wxString
*) &_result_ref
;
12118 wxPyEndAllowThreads(__tstate
);
12119 if (PyErr_Occurred()) SWIG_fail
;
12123 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12125 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12134 static PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12135 PyObject
*resultobj
;
12136 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12138 PyObject
* obj0
= 0 ;
12139 char *kwnames
[] = {
12140 (char *) "self", NULL
12143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetShortDesc",kwnames
,&obj0
)) goto fail
;
12144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12149 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
12150 result
= (wxString
*) &_result_ref
;
12153 wxPyEndAllowThreads(__tstate
);
12154 if (PyErr_Occurred()) SWIG_fail
;
12158 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12160 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12169 static PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12170 PyObject
*resultobj
;
12171 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12173 PyObject
* obj0
= 0 ;
12174 char *kwnames
[] = {
12175 (char *) "self", NULL
12178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetDescription",kwnames
,&obj0
)) goto fail
;
12179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12184 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
12185 result
= (wxString
*) &_result_ref
;
12188 wxPyEndAllowThreads(__tstate
);
12189 if (PyErr_Occurred()) SWIG_fail
;
12193 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12195 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12204 static PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12205 PyObject
*resultobj
;
12206 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12207 wxArrayString
*result
;
12208 PyObject
* obj0
= 0 ;
12209 char *kwnames
[] = {
12210 (char *) "self", NULL
12213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensions",kwnames
,&obj0
)) goto fail
;
12214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12219 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
12220 result
= (wxArrayString
*) &_result_ref
;
12223 wxPyEndAllowThreads(__tstate
);
12224 if (PyErr_Occurred()) SWIG_fail
;
12227 resultobj
= wxArrayString2PyList_helper(*result
);
12235 static PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12236 PyObject
*resultobj
;
12237 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12239 PyObject
* obj0
= 0 ;
12240 char *kwnames
[] = {
12241 (char *) "self", NULL
12244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames
,&obj0
)) goto fail
;
12245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12249 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
12251 wxPyEndAllowThreads(__tstate
);
12252 if (PyErr_Occurred()) SWIG_fail
;
12254 resultobj
= SWIG_FromInt((int)result
);
12261 static PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12262 PyObject
*resultobj
;
12263 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12265 PyObject
* obj0
= 0 ;
12266 char *kwnames
[] = {
12267 (char *) "self", NULL
12270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconFile",kwnames
,&obj0
)) goto fail
;
12271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12276 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
12277 result
= (wxString
*) &_result_ref
;
12280 wxPyEndAllowThreads(__tstate
);
12281 if (PyErr_Occurred()) SWIG_fail
;
12285 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12287 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12296 static PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12297 PyObject
*resultobj
;
12298 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12300 PyObject
* obj0
= 0 ;
12301 char *kwnames
[] = {
12302 (char *) "self", NULL
12305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconIndex",kwnames
,&obj0
)) goto fail
;
12306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12310 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
12312 wxPyEndAllowThreads(__tstate
);
12313 if (PyErr_Occurred()) SWIG_fail
;
12315 resultobj
= SWIG_FromInt((int)result
);
12322 static PyObject
* FileTypeInfo_swigregister(PyObject
*self
, PyObject
*args
) {
12324 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12325 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo
, obj
);
12327 return Py_BuildValue((char *)"");
12329 static PyObject
*_wrap_new_FileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12330 PyObject
*resultobj
;
12331 wxFileTypeInfo
*arg1
= 0 ;
12332 wxFileType
*result
;
12333 PyObject
* obj0
= 0 ;
12334 char *kwnames
[] = {
12335 (char *) "ftInfo", NULL
12338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) goto fail
;
12339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12340 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12342 if (arg1
== NULL
) {
12343 PyErr_SetString(PyExc_TypeError
,"null reference");
12347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12348 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
12350 wxPyEndAllowThreads(__tstate
);
12351 if (PyErr_Occurred()) SWIG_fail
;
12353 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
12360 static PyObject
*_wrap_delete_FileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12361 PyObject
*resultobj
;
12362 wxFileType
*arg1
= (wxFileType
*) 0 ;
12363 PyObject
* obj0
= 0 ;
12364 char *kwnames
[] = {
12365 (char *) "self", NULL
12368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileType",kwnames
,&obj0
)) goto fail
;
12369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12375 wxPyEndAllowThreads(__tstate
);
12376 if (PyErr_Occurred()) SWIG_fail
;
12378 Py_INCREF(Py_None
); resultobj
= Py_None
;
12385 static PyObject
*_wrap_FileType_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12386 PyObject
*resultobj
;
12387 wxFileType
*arg1
= (wxFileType
*) 0 ;
12389 PyObject
* obj0
= 0 ;
12390 char *kwnames
[] = {
12391 (char *) "self", NULL
12394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeType",kwnames
,&obj0
)) goto fail
;
12395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12399 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
12401 wxPyEndAllowThreads(__tstate
);
12402 if (PyErr_Occurred()) SWIG_fail
;
12404 resultobj
= result
;
12411 static PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12412 PyObject
*resultobj
;
12413 wxFileType
*arg1
= (wxFileType
*) 0 ;
12415 PyObject
* obj0
= 0 ;
12416 char *kwnames
[] = {
12417 (char *) "self", NULL
12420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeTypes",kwnames
,&obj0
)) goto fail
;
12421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12425 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
12427 wxPyEndAllowThreads(__tstate
);
12428 if (PyErr_Occurred()) SWIG_fail
;
12430 resultobj
= result
;
12437 static PyObject
*_wrap_FileType_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12438 PyObject
*resultobj
;
12439 wxFileType
*arg1
= (wxFileType
*) 0 ;
12441 PyObject
* obj0
= 0 ;
12442 char *kwnames
[] = {
12443 (char *) "self", NULL
12446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetExtensions",kwnames
,&obj0
)) goto fail
;
12447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12451 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
12453 wxPyEndAllowThreads(__tstate
);
12454 if (PyErr_Occurred()) SWIG_fail
;
12456 resultobj
= result
;
12463 static PyObject
*_wrap_FileType_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12464 PyObject
*resultobj
;
12465 wxFileType
*arg1
= (wxFileType
*) 0 ;
12467 PyObject
* obj0
= 0 ;
12468 char *kwnames
[] = {
12469 (char *) "self", NULL
12472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIcon",kwnames
,&obj0
)) goto fail
;
12473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12477 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
12479 wxPyEndAllowThreads(__tstate
);
12480 if (PyErr_Occurred()) SWIG_fail
;
12482 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
12489 static PyObject
*_wrap_FileType_GetIconInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12490 PyObject
*resultobj
;
12491 wxFileType
*arg1
= (wxFileType
*) 0 ;
12493 PyObject
* obj0
= 0 ;
12494 char *kwnames
[] = {
12495 (char *) "self", NULL
12498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIconInfo",kwnames
,&obj0
)) goto fail
;
12499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12503 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
12505 wxPyEndAllowThreads(__tstate
);
12506 if (PyErr_Occurred()) SWIG_fail
;
12508 resultobj
= result
;
12515 static PyObject
*_wrap_FileType_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12516 PyObject
*resultobj
;
12517 wxFileType
*arg1
= (wxFileType
*) 0 ;
12519 PyObject
* obj0
= 0 ;
12520 char *kwnames
[] = {
12521 (char *) "self", NULL
12524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetDescription",kwnames
,&obj0
)) goto fail
;
12525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12529 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
12531 wxPyEndAllowThreads(__tstate
);
12532 if (PyErr_Occurred()) SWIG_fail
;
12534 resultobj
= result
;
12541 static PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12542 PyObject
*resultobj
;
12543 wxFileType
*arg1
= (wxFileType
*) 0 ;
12544 wxString
*arg2
= 0 ;
12545 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12546 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12548 bool temp2
= False
;
12549 bool temp3
= False
;
12550 PyObject
* obj0
= 0 ;
12551 PyObject
* obj1
= 0 ;
12552 PyObject
* obj2
= 0 ;
12553 char *kwnames
[] = {
12554 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12561 arg2
= wxString_in_helper(obj1
);
12562 if (arg2
== NULL
) SWIG_fail
;
12567 arg3
= wxString_in_helper(obj2
);
12568 if (arg3
== NULL
) SWIG_fail
;
12573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12574 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12576 wxPyEndAllowThreads(__tstate
);
12577 if (PyErr_Occurred()) SWIG_fail
;
12579 resultobj
= result
;
12602 static PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12603 PyObject
*resultobj
;
12604 wxFileType
*arg1
= (wxFileType
*) 0 ;
12605 wxString
*arg2
= 0 ;
12606 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12607 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12609 bool temp2
= False
;
12610 bool temp3
= False
;
12611 PyObject
* obj0
= 0 ;
12612 PyObject
* obj1
= 0 ;
12613 PyObject
* obj2
= 0 ;
12614 char *kwnames
[] = {
12615 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12622 arg2
= wxString_in_helper(obj1
);
12623 if (arg2
== NULL
) SWIG_fail
;
12628 arg3
= wxString_in_helper(obj2
);
12629 if (arg3
== NULL
) SWIG_fail
;
12634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12635 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12637 wxPyEndAllowThreads(__tstate
);
12638 if (PyErr_Occurred()) SWIG_fail
;
12640 resultobj
= result
;
12663 static PyObject
*_wrap_FileType_GetAllCommands(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12664 PyObject
*resultobj
;
12665 wxFileType
*arg1
= (wxFileType
*) 0 ;
12666 wxString
*arg2
= 0 ;
12667 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12668 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12670 bool temp2
= False
;
12671 bool temp3
= False
;
12672 PyObject
* obj0
= 0 ;
12673 PyObject
* obj1
= 0 ;
12674 PyObject
* obj2
= 0 ;
12675 char *kwnames
[] = {
12676 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12683 arg2
= wxString_in_helper(obj1
);
12684 if (arg2
== NULL
) SWIG_fail
;
12689 arg3
= wxString_in_helper(obj2
);
12690 if (arg3
== NULL
) SWIG_fail
;
12695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12696 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12698 wxPyEndAllowThreads(__tstate
);
12699 if (PyErr_Occurred()) SWIG_fail
;
12701 resultobj
= result
;
12724 static PyObject
*_wrap_FileType_SetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12725 PyObject
*resultobj
;
12726 wxFileType
*arg1
= (wxFileType
*) 0 ;
12727 wxString
*arg2
= 0 ;
12728 wxString
*arg3
= 0 ;
12729 bool arg4
= (bool) True
;
12731 bool temp2
= False
;
12732 bool temp3
= False
;
12733 PyObject
* obj0
= 0 ;
12734 PyObject
* obj1
= 0 ;
12735 PyObject
* obj2
= 0 ;
12736 PyObject
* obj3
= 0 ;
12737 char *kwnames
[] = {
12738 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
12741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12745 arg2
= wxString_in_helper(obj1
);
12746 if (arg2
== NULL
) SWIG_fail
;
12750 arg3
= wxString_in_helper(obj2
);
12751 if (arg3
== NULL
) SWIG_fail
;
12755 arg4
= (bool) SWIG_AsBool(obj3
);
12756 if (PyErr_Occurred()) SWIG_fail
;
12759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12760 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
12762 wxPyEndAllowThreads(__tstate
);
12763 if (PyErr_Occurred()) SWIG_fail
;
12766 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12790 static PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12791 PyObject
*resultobj
;
12792 wxFileType
*arg1
= (wxFileType
*) 0 ;
12793 wxString
const &arg2_defvalue
= wxPyEmptyString
;
12794 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12795 int arg3
= (int) 0 ;
12797 bool temp2
= False
;
12798 PyObject
* obj0
= 0 ;
12799 PyObject
* obj1
= 0 ;
12800 PyObject
* obj2
= 0 ;
12801 char *kwnames
[] = {
12802 (char *) "self",(char *) "cmd",(char *) "index", NULL
12805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12810 arg2
= wxString_in_helper(obj1
);
12811 if (arg2
== NULL
) SWIG_fail
;
12816 arg3
= (int) SWIG_AsInt(obj2
);
12817 if (PyErr_Occurred()) SWIG_fail
;
12820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12821 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
12823 wxPyEndAllowThreads(__tstate
);
12824 if (PyErr_Occurred()) SWIG_fail
;
12827 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12843 static PyObject
*_wrap_FileType_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12844 PyObject
*resultobj
;
12845 wxFileType
*arg1
= (wxFileType
*) 0 ;
12847 PyObject
* obj0
= 0 ;
12848 char *kwnames
[] = {
12849 (char *) "self", NULL
12852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_Unassociate",kwnames
,&obj0
)) goto fail
;
12853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12857 result
= (bool)(arg1
)->Unassociate();
12859 wxPyEndAllowThreads(__tstate
);
12860 if (PyErr_Occurred()) SWIG_fail
;
12863 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12871 static PyObject
*_wrap_FileType_ExpandCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12872 PyObject
*resultobj
;
12873 wxString
*arg1
= 0 ;
12874 wxString
*arg2
= 0 ;
12875 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12876 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12878 bool temp1
= False
;
12879 bool temp2
= False
;
12880 bool temp3
= False
;
12881 PyObject
* obj0
= 0 ;
12882 PyObject
* obj1
= 0 ;
12883 PyObject
* obj2
= 0 ;
12884 char *kwnames
[] = {
12885 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
12888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12890 arg1
= wxString_in_helper(obj0
);
12891 if (arg1
== NULL
) SWIG_fail
;
12895 arg2
= wxString_in_helper(obj1
);
12896 if (arg2
== NULL
) SWIG_fail
;
12901 arg3
= wxString_in_helper(obj2
);
12902 if (arg3
== NULL
) SWIG_fail
;
12907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12908 result
= FileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12910 wxPyEndAllowThreads(__tstate
);
12911 if (PyErr_Occurred()) SWIG_fail
;
12915 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12917 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12950 static PyObject
* FileType_swigregister(PyObject
*self
, PyObject
*args
) {
12952 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12953 SWIG_TypeClientData(SWIGTYPE_p_wxFileType
, obj
);
12955 return Py_BuildValue((char *)"");
12957 static int _wrap_TheMimeTypesManager_set(PyObject
*_val
) {
12958 PyErr_SetString(PyExc_TypeError
,"Variable TheMimeTypesManager is read-only.");
12963 static PyObject
*_wrap_TheMimeTypesManager_get() {
12966 pyobj
= SWIG_NewPointerObj((void *)(wxTheMimeTypesManager
), SWIGTYPE_p_wxMimeTypesManager
, 0);
12971 static PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12972 PyObject
*resultobj
;
12973 wxString
*arg1
= 0 ;
12974 wxString
*arg2
= 0 ;
12976 bool temp1
= False
;
12977 bool temp2
= False
;
12978 PyObject
* obj0
= 0 ;
12979 PyObject
* obj1
= 0 ;
12980 char *kwnames
[] = {
12981 (char *) "mimeType",(char *) "wildcard", NULL
12984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) goto fail
;
12986 arg1
= wxString_in_helper(obj0
);
12987 if (arg1
== NULL
) SWIG_fail
;
12991 arg2
= wxString_in_helper(obj1
);
12992 if (arg2
== NULL
) SWIG_fail
;
12996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12997 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
12999 wxPyEndAllowThreads(__tstate
);
13000 if (PyErr_Occurred()) SWIG_fail
;
13003 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13027 static PyObject
*_wrap_new_MimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13028 PyObject
*resultobj
;
13029 wxMimeTypesManager
*result
;
13030 char *kwnames
[] = {
13034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MimeTypesManager",kwnames
)) goto fail
;
13036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13037 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
13039 wxPyEndAllowThreads(__tstate
);
13040 if (PyErr_Occurred()) SWIG_fail
;
13042 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMimeTypesManager
, 1);
13049 static PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13050 PyObject
*resultobj
;
13051 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13052 int arg2
= (int) wxMAILCAP_ALL
;
13053 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13054 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13055 bool temp3
= False
;
13056 PyObject
* obj0
= 0 ;
13057 PyObject
* obj1
= 0 ;
13058 PyObject
* obj2
= 0 ;
13059 char *kwnames
[] = {
13060 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
13063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MimeTypesManager_Initialize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13067 arg2
= (int) SWIG_AsInt(obj1
);
13068 if (PyErr_Occurred()) SWIG_fail
;
13072 arg3
= wxString_in_helper(obj2
);
13073 if (arg3
== NULL
) SWIG_fail
;
13078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13079 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
13081 wxPyEndAllowThreads(__tstate
);
13082 if (PyErr_Occurred()) SWIG_fail
;
13084 Py_INCREF(Py_None
); resultobj
= Py_None
;
13099 static PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13100 PyObject
*resultobj
;
13101 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13102 PyObject
* obj0
= 0 ;
13103 char *kwnames
[] = {
13104 (char *) "self", NULL
13107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_ClearData",kwnames
,&obj0
)) goto fail
;
13108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13112 (arg1
)->ClearData();
13114 wxPyEndAllowThreads(__tstate
);
13115 if (PyErr_Occurred()) SWIG_fail
;
13117 Py_INCREF(Py_None
); resultobj
= Py_None
;
13124 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13125 PyObject
*resultobj
;
13126 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13127 wxString
*arg2
= 0 ;
13128 wxFileType
*result
;
13129 bool temp2
= False
;
13130 PyObject
* obj0
= 0 ;
13131 PyObject
* obj1
= 0 ;
13132 char *kwnames
[] = {
13133 (char *) "self",(char *) "ext", NULL
13136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
13137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13140 arg2
= wxString_in_helper(obj1
);
13141 if (arg2
== NULL
) SWIG_fail
;
13145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13146 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
13148 wxPyEndAllowThreads(__tstate
);
13149 if (PyErr_Occurred()) SWIG_fail
;
13151 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13166 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13167 PyObject
*resultobj
;
13168 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13169 wxString
*arg2
= 0 ;
13170 wxFileType
*result
;
13171 bool temp2
= False
;
13172 PyObject
* obj0
= 0 ;
13173 PyObject
* obj1
= 0 ;
13174 char *kwnames
[] = {
13175 (char *) "self",(char *) "mimeType", NULL
13178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",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
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
13190 wxPyEndAllowThreads(__tstate
);
13191 if (PyErr_Occurred()) SWIG_fail
;
13193 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13208 static PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13209 PyObject
*resultobj
;
13210 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13211 wxString
*arg2
= 0 ;
13212 bool arg3
= (bool) False
;
13214 bool temp2
= False
;
13215 PyObject
* obj0
= 0 ;
13216 PyObject
* obj1
= 0 ;
13217 PyObject
* obj2
= 0 ;
13218 char *kwnames
[] = {
13219 (char *) "self",(char *) "filename",(char *) "fallback", NULL
13222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13226 arg2
= wxString_in_helper(obj1
);
13227 if (arg2
== NULL
) SWIG_fail
;
13231 arg3
= (bool) SWIG_AsBool(obj2
);
13232 if (PyErr_Occurred()) SWIG_fail
;
13235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13236 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
13238 wxPyEndAllowThreads(__tstate
);
13239 if (PyErr_Occurred()) SWIG_fail
;
13242 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13258 static PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13259 PyObject
*resultobj
;
13260 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13261 wxString
*arg2
= 0 ;
13263 bool temp2
= False
;
13264 PyObject
* obj0
= 0 ;
13265 PyObject
* obj1
= 0 ;
13266 char *kwnames
[] = {
13267 (char *) "self",(char *) "filename", NULL
13270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) goto fail
;
13271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13274 arg2
= wxString_in_helper(obj1
);
13275 if (arg2
== NULL
) SWIG_fail
;
13279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13280 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
13282 wxPyEndAllowThreads(__tstate
);
13283 if (PyErr_Occurred()) SWIG_fail
;
13286 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13302 static PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13303 PyObject
*resultobj
;
13304 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13306 PyObject
* obj0
= 0 ;
13307 char *kwnames
[] = {
13308 (char *) "self", NULL
13311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames
,&obj0
)) goto fail
;
13312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13316 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
13318 wxPyEndAllowThreads(__tstate
);
13319 if (PyErr_Occurred()) SWIG_fail
;
13321 resultobj
= result
;
13328 static PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13329 PyObject
*resultobj
;
13330 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13331 wxFileTypeInfo
*arg2
= 0 ;
13332 PyObject
* obj0
= 0 ;
13333 PyObject
* obj1
= 0 ;
13334 char *kwnames
[] = {
13335 (char *) "self",(char *) "ft", NULL
13338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) goto fail
;
13339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13341 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileTypeInfo
,
13342 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13344 if (arg2
== NULL
) {
13345 PyErr_SetString(PyExc_TypeError
,"null reference");
13349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13350 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
13352 wxPyEndAllowThreads(__tstate
);
13353 if (PyErr_Occurred()) SWIG_fail
;
13355 Py_INCREF(Py_None
); resultobj
= Py_None
;
13362 static PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13363 PyObject
*resultobj
;
13364 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13365 wxFileTypeInfo
*arg2
= 0 ;
13366 wxFileType
*result
;
13367 PyObject
* obj0
= 0 ;
13368 PyObject
* obj1
= 0 ;
13369 char *kwnames
[] = {
13370 (char *) "self",(char *) "ftInfo", NULL
13373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) goto fail
;
13374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13376 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileTypeInfo
,
13377 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13379 if (arg2
== NULL
) {
13380 PyErr_SetString(PyExc_TypeError
,"null reference");
13384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13385 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
13387 wxPyEndAllowThreads(__tstate
);
13388 if (PyErr_Occurred()) SWIG_fail
;
13390 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13397 static PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13398 PyObject
*resultobj
;
13399 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13400 wxFileType
*arg2
= (wxFileType
*) 0 ;
13402 PyObject
* obj0
= 0 ;
13403 PyObject
* obj1
= 0 ;
13404 char *kwnames
[] = {
13405 (char *) "self",(char *) "ft", NULL
13408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) goto fail
;
13409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13411 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileType
,
13412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13415 result
= (bool)(arg1
)->Unassociate(arg2
);
13417 wxPyEndAllowThreads(__tstate
);
13418 if (PyErr_Occurred()) SWIG_fail
;
13421 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13429 static PyObject
*_wrap_delete_MimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13430 PyObject
*resultobj
;
13431 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13432 PyObject
* obj0
= 0 ;
13433 char *kwnames
[] = {
13434 (char *) "self", NULL
13437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MimeTypesManager",kwnames
,&obj0
)) goto fail
;
13438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13444 wxPyEndAllowThreads(__tstate
);
13445 if (PyErr_Occurred()) SWIG_fail
;
13447 Py_INCREF(Py_None
); resultobj
= Py_None
;
13454 static PyObject
* MimeTypesManager_swigregister(PyObject
*self
, PyObject
*args
) {
13456 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13457 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager
, obj
);
13459 return Py_BuildValue((char *)"");
13461 static int _wrap_ART_TOOLBAR_set(PyObject
*_val
) {
13462 PyErr_SetString(PyExc_TypeError
,"Variable ART_TOOLBAR is read-only.");
13467 static PyObject
*_wrap_ART_TOOLBAR_get() {
13472 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
13474 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
13481 static int _wrap_ART_MENU_set(PyObject
*_val
) {
13482 PyErr_SetString(PyExc_TypeError
,"Variable ART_MENU is read-only.");
13487 static PyObject
*_wrap_ART_MENU_get() {
13492 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
13494 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
13501 static int _wrap_ART_FRAME_ICON_set(PyObject
*_val
) {
13502 PyErr_SetString(PyExc_TypeError
,"Variable ART_FRAME_ICON is read-only.");
13507 static PyObject
*_wrap_ART_FRAME_ICON_get() {
13512 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
13514 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
13521 static int _wrap_ART_CMN_DIALOG_set(PyObject
*_val
) {
13522 PyErr_SetString(PyExc_TypeError
,"Variable ART_CMN_DIALOG is read-only.");
13527 static PyObject
*_wrap_ART_CMN_DIALOG_get() {
13532 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
13534 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
13541 static int _wrap_ART_HELP_BROWSER_set(PyObject
*_val
) {
13542 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BROWSER is read-only.");
13547 static PyObject
*_wrap_ART_HELP_BROWSER_get() {
13552 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
13554 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
13561 static int _wrap_ART_MESSAGE_BOX_set(PyObject
*_val
) {
13562 PyErr_SetString(PyExc_TypeError
,"Variable ART_MESSAGE_BOX is read-only.");
13567 static PyObject
*_wrap_ART_MESSAGE_BOX_get() {
13572 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
13574 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
13581 static int _wrap_ART_OTHER_set(PyObject
*_val
) {
13582 PyErr_SetString(PyExc_TypeError
,"Variable ART_OTHER is read-only.");
13587 static PyObject
*_wrap_ART_OTHER_get() {
13592 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
13594 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
13601 static int _wrap_ART_ADD_BOOKMARK_set(PyObject
*_val
) {
13602 PyErr_SetString(PyExc_TypeError
,"Variable ART_ADD_BOOKMARK is read-only.");
13607 static PyObject
*_wrap_ART_ADD_BOOKMARK_get() {
13612 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
13614 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
13621 static int _wrap_ART_DEL_BOOKMARK_set(PyObject
*_val
) {
13622 PyErr_SetString(PyExc_TypeError
,"Variable ART_DEL_BOOKMARK is read-only.");
13627 static PyObject
*_wrap_ART_DEL_BOOKMARK_get() {
13632 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
13634 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
13641 static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject
*_val
) {
13642 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
13647 static PyObject
*_wrap_ART_HELP_SIDE_PANEL_get() {
13652 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
13654 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
13661 static int _wrap_ART_HELP_SETTINGS_set(PyObject
*_val
) {
13662 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SETTINGS is read-only.");
13667 static PyObject
*_wrap_ART_HELP_SETTINGS_get() {
13672 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
13674 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
13681 static int _wrap_ART_HELP_BOOK_set(PyObject
*_val
) {
13682 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BOOK is read-only.");
13687 static PyObject
*_wrap_ART_HELP_BOOK_get() {
13692 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
13694 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
13701 static int _wrap_ART_HELP_FOLDER_set(PyObject
*_val
) {
13702 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_FOLDER is read-only.");
13707 static PyObject
*_wrap_ART_HELP_FOLDER_get() {
13712 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
13714 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
13721 static int _wrap_ART_HELP_PAGE_set(PyObject
*_val
) {
13722 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_PAGE is read-only.");
13727 static PyObject
*_wrap_ART_HELP_PAGE_get() {
13732 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
13734 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
13741 static int _wrap_ART_GO_BACK_set(PyObject
*_val
) {
13742 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_BACK is read-only.");
13747 static PyObject
*_wrap_ART_GO_BACK_get() {
13752 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
13754 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
13761 static int _wrap_ART_GO_FORWARD_set(PyObject
*_val
) {
13762 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_FORWARD is read-only.");
13767 static PyObject
*_wrap_ART_GO_FORWARD_get() {
13772 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
13774 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
13781 static int _wrap_ART_GO_UP_set(PyObject
*_val
) {
13782 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_UP is read-only.");
13787 static PyObject
*_wrap_ART_GO_UP_get() {
13792 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
13794 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
13801 static int _wrap_ART_GO_DOWN_set(PyObject
*_val
) {
13802 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DOWN is read-only.");
13807 static PyObject
*_wrap_ART_GO_DOWN_get() {
13812 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
13814 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
13821 static int _wrap_ART_GO_TO_PARENT_set(PyObject
*_val
) {
13822 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_TO_PARENT is read-only.");
13827 static PyObject
*_wrap_ART_GO_TO_PARENT_get() {
13832 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
13834 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
13841 static int _wrap_ART_GO_HOME_set(PyObject
*_val
) {
13842 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_HOME is read-only.");
13847 static PyObject
*_wrap_ART_GO_HOME_get() {
13852 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
13854 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
13861 static int _wrap_ART_FILE_OPEN_set(PyObject
*_val
) {
13862 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_OPEN is read-only.");
13867 static PyObject
*_wrap_ART_FILE_OPEN_get() {
13872 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
13874 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
13881 static int _wrap_ART_PRINT_set(PyObject
*_val
) {
13882 PyErr_SetString(PyExc_TypeError
,"Variable ART_PRINT is read-only.");
13887 static PyObject
*_wrap_ART_PRINT_get() {
13892 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
13894 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
13901 static int _wrap_ART_HELP_set(PyObject
*_val
) {
13902 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP is read-only.");
13907 static PyObject
*_wrap_ART_HELP_get() {
13912 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
13914 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
13921 static int _wrap_ART_TIP_set(PyObject
*_val
) {
13922 PyErr_SetString(PyExc_TypeError
,"Variable ART_TIP is read-only.");
13927 static PyObject
*_wrap_ART_TIP_get() {
13932 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
13934 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
13941 static int _wrap_ART_REPORT_VIEW_set(PyObject
*_val
) {
13942 PyErr_SetString(PyExc_TypeError
,"Variable ART_REPORT_VIEW is read-only.");
13947 static PyObject
*_wrap_ART_REPORT_VIEW_get() {
13952 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
13954 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
13961 static int _wrap_ART_LIST_VIEW_set(PyObject
*_val
) {
13962 PyErr_SetString(PyExc_TypeError
,"Variable ART_LIST_VIEW is read-only.");
13967 static PyObject
*_wrap_ART_LIST_VIEW_get() {
13972 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
13974 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
13981 static int _wrap_ART_NEW_DIR_set(PyObject
*_val
) {
13982 PyErr_SetString(PyExc_TypeError
,"Variable ART_NEW_DIR is read-only.");
13987 static PyObject
*_wrap_ART_NEW_DIR_get() {
13992 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
13994 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
14001 static int _wrap_ART_FOLDER_set(PyObject
*_val
) {
14002 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER is read-only.");
14007 static PyObject
*_wrap_ART_FOLDER_get() {
14012 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
14014 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
14021 static int _wrap_ART_GO_DIR_UP_set(PyObject
*_val
) {
14022 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DIR_UP is read-only.");
14027 static PyObject
*_wrap_ART_GO_DIR_UP_get() {
14032 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
14034 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
14041 static int _wrap_ART_EXECUTABLE_FILE_set(PyObject
*_val
) {
14042 PyErr_SetString(PyExc_TypeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
14047 static PyObject
*_wrap_ART_EXECUTABLE_FILE_get() {
14052 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
14054 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
14061 static int _wrap_ART_NORMAL_FILE_set(PyObject
*_val
) {
14062 PyErr_SetString(PyExc_TypeError
,"Variable ART_NORMAL_FILE is read-only.");
14067 static PyObject
*_wrap_ART_NORMAL_FILE_get() {
14072 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
14074 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
14081 static int _wrap_ART_TICK_MARK_set(PyObject
*_val
) {
14082 PyErr_SetString(PyExc_TypeError
,"Variable ART_TICK_MARK is read-only.");
14087 static PyObject
*_wrap_ART_TICK_MARK_get() {
14092 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
14094 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
14101 static int _wrap_ART_CROSS_MARK_set(PyObject
*_val
) {
14102 PyErr_SetString(PyExc_TypeError
,"Variable ART_CROSS_MARK is read-only.");
14107 static PyObject
*_wrap_ART_CROSS_MARK_get() {
14112 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
14114 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
14121 static int _wrap_ART_ERROR_set(PyObject
*_val
) {
14122 PyErr_SetString(PyExc_TypeError
,"Variable ART_ERROR is read-only.");
14127 static PyObject
*_wrap_ART_ERROR_get() {
14132 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
14134 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
14141 static int _wrap_ART_QUESTION_set(PyObject
*_val
) {
14142 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUESTION is read-only.");
14147 static PyObject
*_wrap_ART_QUESTION_get() {
14152 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
14154 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
14161 static int _wrap_ART_WARNING_set(PyObject
*_val
) {
14162 PyErr_SetString(PyExc_TypeError
,"Variable ART_WARNING is read-only.");
14167 static PyObject
*_wrap_ART_WARNING_get() {
14172 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
14174 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
14181 static int _wrap_ART_INFORMATION_set(PyObject
*_val
) {
14182 PyErr_SetString(PyExc_TypeError
,"Variable ART_INFORMATION is read-only.");
14187 static PyObject
*_wrap_ART_INFORMATION_get() {
14192 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
14194 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
14201 static int _wrap_ART_MISSING_IMAGE_set(PyObject
*_val
) {
14202 PyErr_SetString(PyExc_TypeError
,"Variable ART_MISSING_IMAGE is read-only.");
14207 static PyObject
*_wrap_ART_MISSING_IMAGE_get() {
14212 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
14214 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
14221 static PyObject
*_wrap_new_ArtProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14222 PyObject
*resultobj
;
14223 wxPyArtProvider
*result
;
14224 char *kwnames
[] = {
14228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ArtProvider",kwnames
)) goto fail
;
14230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14231 result
= (wxPyArtProvider
*)new wxPyArtProvider();
14233 wxPyEndAllowThreads(__tstate
);
14234 if (PyErr_Occurred()) SWIG_fail
;
14236 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyArtProvider
, 1);
14243 static PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14244 PyObject
*resultobj
;
14245 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14246 PyObject
*arg2
= (PyObject
*) 0 ;
14247 PyObject
*arg3
= (PyObject
*) 0 ;
14248 PyObject
* obj0
= 0 ;
14249 PyObject
* obj1
= 0 ;
14250 PyObject
* obj2
= 0 ;
14251 char *kwnames
[] = {
14252 (char *) "self",(char *) "self",(char *) "_class", NULL
14255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14262 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14264 wxPyEndAllowThreads(__tstate
);
14265 if (PyErr_Occurred()) SWIG_fail
;
14267 Py_INCREF(Py_None
); resultobj
= Py_None
;
14274 static PyObject
*_wrap_ArtProvider_PushProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14275 PyObject
*resultobj
;
14276 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14277 PyObject
* obj0
= 0 ;
14278 char *kwnames
[] = {
14279 (char *) "provider", NULL
14282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_PushProvider",kwnames
,&obj0
)) goto fail
;
14283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14287 wxPyArtProvider::PushProvider(arg1
);
14289 wxPyEndAllowThreads(__tstate
);
14290 if (PyErr_Occurred()) SWIG_fail
;
14292 Py_INCREF(Py_None
); resultobj
= Py_None
;
14299 static PyObject
*_wrap_ArtProvider_PopProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14300 PyObject
*resultobj
;
14302 char *kwnames
[] = {
14306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ArtProvider_PopProvider",kwnames
)) goto fail
;
14308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14309 result
= (bool)wxPyArtProvider::PopProvider();
14311 wxPyEndAllowThreads(__tstate
);
14312 if (PyErr_Occurred()) SWIG_fail
;
14315 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14323 static PyObject
*_wrap_ArtProvider_RemoveProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14324 PyObject
*resultobj
;
14325 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14327 PyObject
* obj0
= 0 ;
14328 char *kwnames
[] = {
14329 (char *) "provider", NULL
14332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",kwnames
,&obj0
)) goto fail
;
14333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14337 result
= (bool)wxPyArtProvider::RemoveProvider(arg1
);
14339 wxPyEndAllowThreads(__tstate
);
14340 if (PyErr_Occurred()) SWIG_fail
;
14343 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14351 static PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14352 PyObject
*resultobj
;
14353 wxString
*arg1
= 0 ;
14354 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
14355 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14356 wxSize
const &arg3_defvalue
= wxDefaultSize
;
14357 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
14359 bool temp1
= False
;
14360 bool temp2
= False
;
14362 PyObject
* obj0
= 0 ;
14363 PyObject
* obj1
= 0 ;
14364 PyObject
* obj2
= 0 ;
14365 char *kwnames
[] = {
14366 (char *) "id",(char *) "client",(char *) "size", NULL
14369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14371 arg1
= wxString_in_helper(obj0
);
14372 if (arg1
== NULL
) SWIG_fail
;
14377 arg2
= wxString_in_helper(obj1
);
14378 if (arg2
== NULL
) SWIG_fail
;
14385 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14390 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
14392 wxPyEndAllowThreads(__tstate
);
14393 if (PyErr_Occurred()) SWIG_fail
;
14396 wxBitmap
* resultptr
;
14397 resultptr
= new wxBitmap((wxBitmap
&) result
);
14398 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
14422 static PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14423 PyObject
*resultobj
;
14424 wxString
*arg1
= 0 ;
14425 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
14426 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14427 wxSize
const &arg3_defvalue
= wxDefaultSize
;
14428 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
14430 bool temp1
= False
;
14431 bool temp2
= False
;
14433 PyObject
* obj0
= 0 ;
14434 PyObject
* obj1
= 0 ;
14435 PyObject
* obj2
= 0 ;
14436 char *kwnames
[] = {
14437 (char *) "id",(char *) "client",(char *) "size", NULL
14440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14442 arg1
= wxString_in_helper(obj0
);
14443 if (arg1
== NULL
) SWIG_fail
;
14448 arg2
= wxString_in_helper(obj1
);
14449 if (arg2
== NULL
) SWIG_fail
;
14456 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14461 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
14463 wxPyEndAllowThreads(__tstate
);
14464 if (PyErr_Occurred()) SWIG_fail
;
14467 wxIcon
* resultptr
;
14468 resultptr
= new wxIcon((wxIcon
&) result
);
14469 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
14493 static PyObject
*_wrap_ArtProvider_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14494 PyObject
*resultobj
;
14495 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14496 PyObject
* obj0
= 0 ;
14497 char *kwnames
[] = {
14498 (char *) "self", NULL
14501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Destroy",kwnames
,&obj0
)) goto fail
;
14502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14506 wxPyArtProvider_Destroy(arg1
);
14508 wxPyEndAllowThreads(__tstate
);
14509 if (PyErr_Occurred()) SWIG_fail
;
14511 Py_INCREF(Py_None
); resultobj
= Py_None
;
14518 static PyObject
* ArtProvider_swigregister(PyObject
*self
, PyObject
*args
) {
14520 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14521 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider
, obj
);
14523 return Py_BuildValue((char *)"");
14525 static PyObject
*_wrap_delete_ConfigBase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14526 PyObject
*resultobj
;
14527 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14528 PyObject
* obj0
= 0 ;
14529 char *kwnames
[] = {
14530 (char *) "self", NULL
14533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigBase",kwnames
,&obj0
)) goto fail
;
14534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14540 wxPyEndAllowThreads(__tstate
);
14541 if (PyErr_Occurred()) SWIG_fail
;
14543 Py_INCREF(Py_None
); resultobj
= Py_None
;
14550 static PyObject
*_wrap_ConfigBase_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14551 PyObject
*resultobj
;
14552 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14553 wxConfigBase
*result
;
14554 PyObject
* obj0
= 0 ;
14555 char *kwnames
[] = {
14556 (char *) "config", NULL
14559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) goto fail
;
14560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14564 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
14566 wxPyEndAllowThreads(__tstate
);
14567 if (PyErr_Occurred()) SWIG_fail
;
14569 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
14576 static PyObject
*_wrap_ConfigBase_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14577 PyObject
*resultobj
;
14578 bool arg1
= (bool) True
;
14579 wxConfigBase
*result
;
14580 PyObject
* obj0
= 0 ;
14581 char *kwnames
[] = {
14582 (char *) "createOnDemand", NULL
14585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) goto fail
;
14587 arg1
= (bool) SWIG_AsBool(obj0
);
14588 if (PyErr_Occurred()) SWIG_fail
;
14591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14592 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
14594 wxPyEndAllowThreads(__tstate
);
14595 if (PyErr_Occurred()) SWIG_fail
;
14597 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
14604 static PyObject
*_wrap_ConfigBase_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14605 PyObject
*resultobj
;
14606 wxConfigBase
*result
;
14607 char *kwnames
[] = {
14611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_Create",kwnames
)) goto fail
;
14613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14614 result
= (wxConfigBase
*)wxConfigBase::Create();
14616 wxPyEndAllowThreads(__tstate
);
14617 if (PyErr_Occurred()) SWIG_fail
;
14619 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
14626 static PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14627 PyObject
*resultobj
;
14628 char *kwnames
[] = {
14632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_DontCreateOnDemand",kwnames
)) goto fail
;
14634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14635 wxConfigBase::DontCreateOnDemand();
14637 wxPyEndAllowThreads(__tstate
);
14638 if (PyErr_Occurred()) SWIG_fail
;
14640 Py_INCREF(Py_None
); resultobj
= Py_None
;
14647 static PyObject
*_wrap_ConfigBase_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14648 PyObject
*resultobj
;
14649 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14650 wxString
*arg2
= 0 ;
14651 bool temp2
= False
;
14652 PyObject
* obj0
= 0 ;
14653 PyObject
* obj1
= 0 ;
14654 char *kwnames
[] = {
14655 (char *) "self",(char *) "path", NULL
14658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
14659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14662 arg2
= wxString_in_helper(obj1
);
14663 if (arg2
== NULL
) SWIG_fail
;
14667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14668 (arg1
)->SetPath((wxString
const &)*arg2
);
14670 wxPyEndAllowThreads(__tstate
);
14671 if (PyErr_Occurred()) SWIG_fail
;
14673 Py_INCREF(Py_None
); resultobj
= Py_None
;
14688 static PyObject
*_wrap_ConfigBase_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14689 PyObject
*resultobj
;
14690 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14692 PyObject
* obj0
= 0 ;
14693 char *kwnames
[] = {
14694 (char *) "self", NULL
14697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetPath",kwnames
,&obj0
)) goto fail
;
14698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14703 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
14704 result
= (wxString
*) &_result_ref
;
14707 wxPyEndAllowThreads(__tstate
);
14708 if (PyErr_Occurred()) SWIG_fail
;
14712 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14714 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14723 static PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14724 PyObject
*resultobj
;
14725 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14727 PyObject
* obj0
= 0 ;
14728 char *kwnames
[] = {
14729 (char *) "self", NULL
14732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstGroup",kwnames
,&obj0
)) goto fail
;
14733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14737 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
14739 wxPyEndAllowThreads(__tstate
);
14740 if (PyErr_Occurred()) SWIG_fail
;
14742 resultobj
= result
;
14749 static PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14750 PyObject
*resultobj
;
14751 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14754 PyObject
* obj0
= 0 ;
14755 PyObject
* obj1
= 0 ;
14756 char *kwnames
[] = {
14757 (char *) "self",(char *) "index", NULL
14760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
14761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14763 arg2
= (long) SWIG_AsLong(obj1
);
14764 if (PyErr_Occurred()) SWIG_fail
;
14766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14767 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
14769 wxPyEndAllowThreads(__tstate
);
14770 if (PyErr_Occurred()) SWIG_fail
;
14772 resultobj
= result
;
14779 static PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14780 PyObject
*resultobj
;
14781 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14783 PyObject
* obj0
= 0 ;
14784 char *kwnames
[] = {
14785 (char *) "self", NULL
14788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstEntry",kwnames
,&obj0
)) goto fail
;
14789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14793 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
14795 wxPyEndAllowThreads(__tstate
);
14796 if (PyErr_Occurred()) SWIG_fail
;
14798 resultobj
= result
;
14805 static PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14806 PyObject
*resultobj
;
14807 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14810 PyObject
* obj0
= 0 ;
14811 PyObject
* obj1
= 0 ;
14812 char *kwnames
[] = {
14813 (char *) "self",(char *) "index", NULL
14816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
14817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14819 arg2
= (long) SWIG_AsLong(obj1
);
14820 if (PyErr_Occurred()) SWIG_fail
;
14822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14823 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
14825 wxPyEndAllowThreads(__tstate
);
14826 if (PyErr_Occurred()) SWIG_fail
;
14828 resultobj
= result
;
14835 static PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14836 PyObject
*resultobj
;
14837 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14838 bool arg2
= (bool) False
;
14840 PyObject
* obj0
= 0 ;
14841 PyObject
* obj1
= 0 ;
14842 char *kwnames
[] = {
14843 (char *) "self",(char *) "recursive", NULL
14846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) goto fail
;
14847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14850 arg2
= (bool) SWIG_AsBool(obj1
);
14851 if (PyErr_Occurred()) SWIG_fail
;
14854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14855 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
14857 wxPyEndAllowThreads(__tstate
);
14858 if (PyErr_Occurred()) SWIG_fail
;
14860 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
14867 static PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14868 PyObject
*resultobj
;
14869 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14870 bool arg2
= (bool) False
;
14872 PyObject
* obj0
= 0 ;
14873 PyObject
* obj1
= 0 ;
14874 char *kwnames
[] = {
14875 (char *) "self",(char *) "recursive", NULL
14878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) goto fail
;
14879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14882 arg2
= (bool) SWIG_AsBool(obj1
);
14883 if (PyErr_Occurred()) SWIG_fail
;
14886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14887 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
14889 wxPyEndAllowThreads(__tstate
);
14890 if (PyErr_Occurred()) SWIG_fail
;
14892 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
14899 static PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14900 PyObject
*resultobj
;
14901 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14902 wxString
*arg2
= 0 ;
14904 bool temp2
= False
;
14905 PyObject
* obj0
= 0 ;
14906 PyObject
* obj1
= 0 ;
14907 char *kwnames
[] = {
14908 (char *) "self",(char *) "name", NULL
14911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
14912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14915 arg2
= wxString_in_helper(obj1
);
14916 if (arg2
== NULL
) SWIG_fail
;
14920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14921 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
14923 wxPyEndAllowThreads(__tstate
);
14924 if (PyErr_Occurred()) SWIG_fail
;
14927 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14943 static PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14944 PyObject
*resultobj
;
14945 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14946 wxString
*arg2
= 0 ;
14948 bool temp2
= False
;
14949 PyObject
* obj0
= 0 ;
14950 PyObject
* obj1
= 0 ;
14951 char *kwnames
[] = {
14952 (char *) "self",(char *) "name", NULL
14955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
14956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14959 arg2
= wxString_in_helper(obj1
);
14960 if (arg2
== NULL
) SWIG_fail
;
14964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14965 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
14967 wxPyEndAllowThreads(__tstate
);
14968 if (PyErr_Occurred()) SWIG_fail
;
14971 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14987 static PyObject
*_wrap_ConfigBase_Exists(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14988 PyObject
*resultobj
;
14989 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14990 wxString
*arg2
= 0 ;
14992 bool temp2
= False
;
14993 PyObject
* obj0
= 0 ;
14994 PyObject
* obj1
= 0 ;
14995 char *kwnames
[] = {
14996 (char *) "self",(char *) "name", NULL
14999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) goto fail
;
15000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15003 arg2
= wxString_in_helper(obj1
);
15004 if (arg2
== NULL
) SWIG_fail
;
15008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15009 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
15011 wxPyEndAllowThreads(__tstate
);
15012 if (PyErr_Occurred()) SWIG_fail
;
15015 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15031 static PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15032 PyObject
*resultobj
;
15033 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15034 wxString
*arg2
= 0 ;
15036 bool temp2
= False
;
15037 PyObject
* obj0
= 0 ;
15038 PyObject
* obj1
= 0 ;
15039 char *kwnames
[] = {
15040 (char *) "self",(char *) "name", NULL
15043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) goto fail
;
15044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15047 arg2
= wxString_in_helper(obj1
);
15048 if (arg2
== NULL
) SWIG_fail
;
15052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15053 result
= (int)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
15055 wxPyEndAllowThreads(__tstate
);
15056 if (PyErr_Occurred()) SWIG_fail
;
15058 resultobj
= SWIG_FromInt((int)result
);
15073 static PyObject
*_wrap_ConfigBase_Read(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15074 PyObject
*resultobj
;
15075 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15076 wxString
*arg2
= 0 ;
15077 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15078 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15080 bool temp2
= False
;
15081 bool temp3
= False
;
15082 PyObject
* obj0
= 0 ;
15083 PyObject
* obj1
= 0 ;
15084 PyObject
* obj2
= 0 ;
15085 char *kwnames
[] = {
15086 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15093 arg2
= wxString_in_helper(obj1
);
15094 if (arg2
== NULL
) SWIG_fail
;
15099 arg3
= wxString_in_helper(obj2
);
15100 if (arg3
== NULL
) SWIG_fail
;
15105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15106 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15108 wxPyEndAllowThreads(__tstate
);
15109 if (PyErr_Occurred()) SWIG_fail
;
15113 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15115 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15140 static PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15141 PyObject
*resultobj
;
15142 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15143 wxString
*arg2
= 0 ;
15144 long arg3
= (long) 0 ;
15146 bool temp2
= False
;
15147 PyObject
* obj0
= 0 ;
15148 PyObject
* obj1
= 0 ;
15149 PyObject
* obj2
= 0 ;
15150 char *kwnames
[] = {
15151 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15158 arg2
= wxString_in_helper(obj1
);
15159 if (arg2
== NULL
) SWIG_fail
;
15163 arg3
= (long) SWIG_AsLong(obj2
);
15164 if (PyErr_Occurred()) SWIG_fail
;
15167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15168 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
15170 wxPyEndAllowThreads(__tstate
);
15171 if (PyErr_Occurred()) SWIG_fail
;
15173 resultobj
= SWIG_FromLong((long)result
);
15188 static PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15189 PyObject
*resultobj
;
15190 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15191 wxString
*arg2
= 0 ;
15192 double arg3
= (double) 0.0 ;
15194 bool temp2
= False
;
15195 PyObject
* obj0
= 0 ;
15196 PyObject
* obj1
= 0 ;
15197 PyObject
* obj2
= 0 ;
15198 char *kwnames
[] = {
15199 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15206 arg2
= wxString_in_helper(obj1
);
15207 if (arg2
== NULL
) SWIG_fail
;
15211 arg3
= (double) SWIG_AsDouble(obj2
);
15212 if (PyErr_Occurred()) SWIG_fail
;
15215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15216 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
15218 wxPyEndAllowThreads(__tstate
);
15219 if (PyErr_Occurred()) SWIG_fail
;
15221 resultobj
= SWIG_FromDouble((double)result
);
15236 static PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15237 PyObject
*resultobj
;
15238 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15239 wxString
*arg2
= 0 ;
15240 bool arg3
= (bool) False
;
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 *) "defaultVal", NULL
15250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",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
;
15259 arg3
= (bool) SWIG_AsBool(obj2
);
15260 if (PyErr_Occurred()) SWIG_fail
;
15263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15264 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
15266 wxPyEndAllowThreads(__tstate
);
15267 if (PyErr_Occurred()) SWIG_fail
;
15270 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15286 static PyObject
*_wrap_ConfigBase_Write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15287 PyObject
*resultobj
;
15288 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15289 wxString
*arg2
= 0 ;
15290 wxString
*arg3
= 0 ;
15292 bool temp2
= False
;
15293 bool temp3
= False
;
15294 PyObject
* obj0
= 0 ;
15295 PyObject
* obj1
= 0 ;
15296 PyObject
* obj2
= 0 ;
15297 char *kwnames
[] = {
15298 (char *) "self",(char *) "key",(char *) "value", NULL
15301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15305 arg2
= wxString_in_helper(obj1
);
15306 if (arg2
== NULL
) SWIG_fail
;
15310 arg3
= wxString_in_helper(obj2
);
15311 if (arg3
== NULL
) SWIG_fail
;
15315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15316 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15318 wxPyEndAllowThreads(__tstate
);
15319 if (PyErr_Occurred()) SWIG_fail
;
15322 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15346 static PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15347 PyObject
*resultobj
;
15348 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15349 wxString
*arg2
= 0 ;
15352 bool temp2
= False
;
15353 PyObject
* obj0
= 0 ;
15354 PyObject
* obj1
= 0 ;
15355 PyObject
* obj2
= 0 ;
15356 char *kwnames
[] = {
15357 (char *) "self",(char *) "key",(char *) "value", NULL
15360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15364 arg2
= wxString_in_helper(obj1
);
15365 if (arg2
== NULL
) SWIG_fail
;
15368 arg3
= (long) SWIG_AsLong(obj2
);
15369 if (PyErr_Occurred()) SWIG_fail
;
15371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15372 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15374 wxPyEndAllowThreads(__tstate
);
15375 if (PyErr_Occurred()) SWIG_fail
;
15378 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15394 static PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15395 PyObject
*resultobj
;
15396 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15397 wxString
*arg2
= 0 ;
15400 bool temp2
= False
;
15401 PyObject
* obj0
= 0 ;
15402 PyObject
* obj1
= 0 ;
15403 PyObject
* obj2
= 0 ;
15404 char *kwnames
[] = {
15405 (char *) "self",(char *) "key",(char *) "value", NULL
15408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15412 arg2
= wxString_in_helper(obj1
);
15413 if (arg2
== NULL
) SWIG_fail
;
15416 arg3
= (double) SWIG_AsDouble(obj2
);
15417 if (PyErr_Occurred()) SWIG_fail
;
15419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15420 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15422 wxPyEndAllowThreads(__tstate
);
15423 if (PyErr_Occurred()) SWIG_fail
;
15426 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15442 static PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15443 PyObject
*resultobj
;
15444 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15445 wxString
*arg2
= 0 ;
15448 bool temp2
= False
;
15449 PyObject
* obj0
= 0 ;
15450 PyObject
* obj1
= 0 ;
15451 PyObject
* obj2
= 0 ;
15452 char *kwnames
[] = {
15453 (char *) "self",(char *) "key",(char *) "value", NULL
15456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15460 arg2
= wxString_in_helper(obj1
);
15461 if (arg2
== NULL
) SWIG_fail
;
15464 arg3
= (bool) SWIG_AsBool(obj2
);
15465 if (PyErr_Occurred()) SWIG_fail
;
15467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15468 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15470 wxPyEndAllowThreads(__tstate
);
15471 if (PyErr_Occurred()) SWIG_fail
;
15474 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15490 static PyObject
*_wrap_ConfigBase_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15491 PyObject
*resultobj
;
15492 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15493 bool arg2
= (bool) False
;
15495 PyObject
* obj0
= 0 ;
15496 PyObject
* obj1
= 0 ;
15497 char *kwnames
[] = {
15498 (char *) "self",(char *) "currentOnly", NULL
15501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) goto fail
;
15502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15505 arg2
= (bool) SWIG_AsBool(obj1
);
15506 if (PyErr_Occurred()) SWIG_fail
;
15509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15510 result
= (bool)(arg1
)->Flush(arg2
);
15512 wxPyEndAllowThreads(__tstate
);
15513 if (PyErr_Occurred()) SWIG_fail
;
15516 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15524 static PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15525 PyObject
*resultobj
;
15526 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15527 wxString
*arg2
= 0 ;
15528 wxString
*arg3
= 0 ;
15530 bool temp2
= False
;
15531 bool temp3
= False
;
15532 PyObject
* obj0
= 0 ;
15533 PyObject
* obj1
= 0 ;
15534 PyObject
* obj2
= 0 ;
15535 char *kwnames
[] = {
15536 (char *) "self",(char *) "oldName",(char *) "newName", NULL
15539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15543 arg2
= wxString_in_helper(obj1
);
15544 if (arg2
== NULL
) SWIG_fail
;
15548 arg3
= wxString_in_helper(obj2
);
15549 if (arg3
== NULL
) SWIG_fail
;
15553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15554 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15556 wxPyEndAllowThreads(__tstate
);
15557 if (PyErr_Occurred()) SWIG_fail
;
15560 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15584 static PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15585 PyObject
*resultobj
;
15586 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15587 wxString
*arg2
= 0 ;
15588 wxString
*arg3
= 0 ;
15590 bool temp2
= False
;
15591 bool temp3
= False
;
15592 PyObject
* obj0
= 0 ;
15593 PyObject
* obj1
= 0 ;
15594 PyObject
* obj2
= 0 ;
15595 char *kwnames
[] = {
15596 (char *) "self",(char *) "oldName",(char *) "newName", NULL
15599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15603 arg2
= wxString_in_helper(obj1
);
15604 if (arg2
== NULL
) SWIG_fail
;
15608 arg3
= wxString_in_helper(obj2
);
15609 if (arg3
== NULL
) SWIG_fail
;
15613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15614 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15616 wxPyEndAllowThreads(__tstate
);
15617 if (PyErr_Occurred()) SWIG_fail
;
15620 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15644 static PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15645 PyObject
*resultobj
;
15646 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15647 wxString
*arg2
= 0 ;
15648 bool arg3
= (bool) True
;
15650 bool temp2
= False
;
15651 PyObject
* obj0
= 0 ;
15652 PyObject
* obj1
= 0 ;
15653 PyObject
* obj2
= 0 ;
15654 char *kwnames
[] = {
15655 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
15658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15662 arg2
= wxString_in_helper(obj1
);
15663 if (arg2
== NULL
) SWIG_fail
;
15667 arg3
= (bool) SWIG_AsBool(obj2
);
15668 if (PyErr_Occurred()) SWIG_fail
;
15671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15672 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
15674 wxPyEndAllowThreads(__tstate
);
15675 if (PyErr_Occurred()) SWIG_fail
;
15678 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15694 static PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15695 PyObject
*resultobj
;
15696 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15697 wxString
*arg2
= 0 ;
15699 bool temp2
= False
;
15700 PyObject
* obj0
= 0 ;
15701 PyObject
* obj1
= 0 ;
15702 char *kwnames
[] = {
15703 (char *) "self",(char *) "key", NULL
15706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
15707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15710 arg2
= wxString_in_helper(obj1
);
15711 if (arg2
== NULL
) SWIG_fail
;
15715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15716 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
15718 wxPyEndAllowThreads(__tstate
);
15719 if (PyErr_Occurred()) SWIG_fail
;
15722 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15738 static PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15739 PyObject
*resultobj
;
15740 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15742 PyObject
* obj0
= 0 ;
15743 char *kwnames
[] = {
15744 (char *) "self", NULL
15747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_DeleteAll",kwnames
,&obj0
)) goto fail
;
15748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15752 result
= (bool)(arg1
)->DeleteAll();
15754 wxPyEndAllowThreads(__tstate
);
15755 if (PyErr_Occurred()) SWIG_fail
;
15758 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15766 static PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15767 PyObject
*resultobj
;
15768 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15769 bool arg2
= (bool) True
;
15770 PyObject
* obj0
= 0 ;
15771 PyObject
* obj1
= 0 ;
15772 char *kwnames
[] = {
15773 (char *) "self",(char *) "doIt", NULL
15776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
15777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15780 arg2
= (bool) SWIG_AsBool(obj1
);
15781 if (PyErr_Occurred()) SWIG_fail
;
15784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15785 (arg1
)->SetExpandEnvVars(arg2
);
15787 wxPyEndAllowThreads(__tstate
);
15788 if (PyErr_Occurred()) SWIG_fail
;
15790 Py_INCREF(Py_None
); resultobj
= Py_None
;
15797 static PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15798 PyObject
*resultobj
;
15799 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15801 PyObject
* obj0
= 0 ;
15802 char *kwnames
[] = {
15803 (char *) "self", NULL
15806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames
,&obj0
)) goto fail
;
15807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15811 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
15813 wxPyEndAllowThreads(__tstate
);
15814 if (PyErr_Occurred()) SWIG_fail
;
15817 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15825 static PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15826 PyObject
*resultobj
;
15827 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15828 bool arg2
= (bool) True
;
15829 PyObject
* obj0
= 0 ;
15830 PyObject
* obj1
= 0 ;
15831 char *kwnames
[] = {
15832 (char *) "self",(char *) "doIt", NULL
15835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
15836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15839 arg2
= (bool) SWIG_AsBool(obj1
);
15840 if (PyErr_Occurred()) SWIG_fail
;
15843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15844 (arg1
)->SetRecordDefaults(arg2
);
15846 wxPyEndAllowThreads(__tstate
);
15847 if (PyErr_Occurred()) SWIG_fail
;
15849 Py_INCREF(Py_None
); resultobj
= Py_None
;
15856 static PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15857 PyObject
*resultobj
;
15858 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15860 PyObject
* obj0
= 0 ;
15861 char *kwnames
[] = {
15862 (char *) "self", NULL
15865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames
,&obj0
)) goto fail
;
15866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15870 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
15872 wxPyEndAllowThreads(__tstate
);
15873 if (PyErr_Occurred()) SWIG_fail
;
15876 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15884 static PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15885 PyObject
*resultobj
;
15886 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15887 wxString
*arg2
= 0 ;
15889 bool temp2
= False
;
15890 PyObject
* obj0
= 0 ;
15891 PyObject
* obj1
= 0 ;
15892 char *kwnames
[] = {
15893 (char *) "self",(char *) "str", NULL
15896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
15897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15900 arg2
= wxString_in_helper(obj1
);
15901 if (arg2
== NULL
) SWIG_fail
;
15905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15906 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
15908 wxPyEndAllowThreads(__tstate
);
15909 if (PyErr_Occurred()) SWIG_fail
;
15913 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15915 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15932 static PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15933 PyObject
*resultobj
;
15934 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15936 PyObject
* obj0
= 0 ;
15937 char *kwnames
[] = {
15938 (char *) "self", NULL
15941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetAppName",kwnames
,&obj0
)) goto fail
;
15942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15946 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
15948 wxPyEndAllowThreads(__tstate
);
15949 if (PyErr_Occurred()) SWIG_fail
;
15953 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15955 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15964 static PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15965 PyObject
*resultobj
;
15966 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15968 PyObject
* obj0
= 0 ;
15969 char *kwnames
[] = {
15970 (char *) "self", NULL
15973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetVendorName",kwnames
,&obj0
)) goto fail
;
15974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15978 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
15980 wxPyEndAllowThreads(__tstate
);
15981 if (PyErr_Occurred()) SWIG_fail
;
15985 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15987 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15996 static PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15997 PyObject
*resultobj
;
15998 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15999 wxString
*arg2
= 0 ;
16000 bool temp2
= False
;
16001 PyObject
* obj0
= 0 ;
16002 PyObject
* obj1
= 0 ;
16003 char *kwnames
[] = {
16004 (char *) "self",(char *) "appName", NULL
16007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
16008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16011 arg2
= wxString_in_helper(obj1
);
16012 if (arg2
== NULL
) SWIG_fail
;
16016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16017 (arg1
)->SetAppName((wxString
const &)*arg2
);
16019 wxPyEndAllowThreads(__tstate
);
16020 if (PyErr_Occurred()) SWIG_fail
;
16022 Py_INCREF(Py_None
); resultobj
= Py_None
;
16037 static PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16038 PyObject
*resultobj
;
16039 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16040 wxString
*arg2
= 0 ;
16041 bool temp2
= False
;
16042 PyObject
* obj0
= 0 ;
16043 PyObject
* obj1
= 0 ;
16044 char *kwnames
[] = {
16045 (char *) "self",(char *) "vendorName", NULL
16048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
16049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16052 arg2
= wxString_in_helper(obj1
);
16053 if (arg2
== NULL
) SWIG_fail
;
16057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16058 (arg1
)->SetVendorName((wxString
const &)*arg2
);
16060 wxPyEndAllowThreads(__tstate
);
16061 if (PyErr_Occurred()) SWIG_fail
;
16063 Py_INCREF(Py_None
); resultobj
= Py_None
;
16078 static PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16079 PyObject
*resultobj
;
16080 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16082 PyObject
* obj0
= 0 ;
16083 PyObject
* obj1
= 0 ;
16084 char *kwnames
[] = {
16085 (char *) "self",(char *) "style", NULL
16088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
16089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16091 arg2
= (long) SWIG_AsLong(obj1
);
16092 if (PyErr_Occurred()) SWIG_fail
;
16094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16095 (arg1
)->SetStyle(arg2
);
16097 wxPyEndAllowThreads(__tstate
);
16098 if (PyErr_Occurred()) SWIG_fail
;
16100 Py_INCREF(Py_None
); resultobj
= Py_None
;
16107 static PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16108 PyObject
*resultobj
;
16109 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16111 PyObject
* obj0
= 0 ;
16112 char *kwnames
[] = {
16113 (char *) "self", NULL
16116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetStyle",kwnames
,&obj0
)) goto fail
;
16117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16121 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
16123 wxPyEndAllowThreads(__tstate
);
16124 if (PyErr_Occurred()) SWIG_fail
;
16126 resultobj
= SWIG_FromLong((long)result
);
16133 static PyObject
* ConfigBase_swigregister(PyObject
*self
, PyObject
*args
) {
16135 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16136 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase
, obj
);
16138 return Py_BuildValue((char *)"");
16140 static PyObject
*_wrap_new_Config(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16141 PyObject
*resultobj
;
16142 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16143 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16144 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16145 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16146 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16147 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16148 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16149 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16150 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
16152 bool temp1
= False
;
16153 bool temp2
= False
;
16154 bool temp3
= False
;
16155 bool temp4
= False
;
16156 PyObject
* obj0
= 0 ;
16157 PyObject
* obj1
= 0 ;
16158 PyObject
* obj2
= 0 ;
16159 PyObject
* obj3
= 0 ;
16160 PyObject
* obj4
= 0 ;
16161 char *kwnames
[] = {
16162 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16168 arg1
= wxString_in_helper(obj0
);
16169 if (arg1
== NULL
) SWIG_fail
;
16175 arg2
= wxString_in_helper(obj1
);
16176 if (arg2
== NULL
) SWIG_fail
;
16182 arg3
= wxString_in_helper(obj2
);
16183 if (arg3
== NULL
) SWIG_fail
;
16189 arg4
= wxString_in_helper(obj3
);
16190 if (arg4
== NULL
) SWIG_fail
;
16195 arg5
= (long) SWIG_AsLong(obj4
);
16196 if (PyErr_Occurred()) SWIG_fail
;
16199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16200 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
16202 wxPyEndAllowThreads(__tstate
);
16203 if (PyErr_Occurred()) SWIG_fail
;
16205 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfig
, 1);
16244 static PyObject
*_wrap_delete_Config(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16245 PyObject
*resultobj
;
16246 wxConfig
*arg1
= (wxConfig
*) 0 ;
16247 PyObject
* obj0
= 0 ;
16248 char *kwnames
[] = {
16249 (char *) "self", NULL
16252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Config",kwnames
,&obj0
)) goto fail
;
16253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfig
,
16254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16259 wxPyEndAllowThreads(__tstate
);
16260 if (PyErr_Occurred()) SWIG_fail
;
16262 Py_INCREF(Py_None
); resultobj
= Py_None
;
16269 static PyObject
* Config_swigregister(PyObject
*self
, PyObject
*args
) {
16271 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16272 SWIG_TypeClientData(SWIGTYPE_p_wxConfig
, obj
);
16274 return Py_BuildValue((char *)"");
16276 static PyObject
*_wrap_new_FileConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16277 PyObject
*resultobj
;
16278 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16279 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16280 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16281 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16282 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16283 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16284 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16285 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16286 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
16287 wxFileConfig
*result
;
16288 bool temp1
= False
;
16289 bool temp2
= False
;
16290 bool temp3
= False
;
16291 bool temp4
= False
;
16292 PyObject
* obj0
= 0 ;
16293 PyObject
* obj1
= 0 ;
16294 PyObject
* obj2
= 0 ;
16295 PyObject
* obj3
= 0 ;
16296 PyObject
* obj4
= 0 ;
16297 char *kwnames
[] = {
16298 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16304 arg1
= wxString_in_helper(obj0
);
16305 if (arg1
== NULL
) SWIG_fail
;
16311 arg2
= wxString_in_helper(obj1
);
16312 if (arg2
== NULL
) SWIG_fail
;
16318 arg3
= wxString_in_helper(obj2
);
16319 if (arg3
== NULL
) SWIG_fail
;
16325 arg4
= wxString_in_helper(obj3
);
16326 if (arg4
== NULL
) SWIG_fail
;
16331 arg5
= (long) SWIG_AsLong(obj4
);
16332 if (PyErr_Occurred()) SWIG_fail
;
16335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16336 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
16338 wxPyEndAllowThreads(__tstate
);
16339 if (PyErr_Occurred()) SWIG_fail
;
16341 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileConfig
, 1);
16380 static PyObject
*_wrap_delete_FileConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16381 PyObject
*resultobj
;
16382 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
16383 PyObject
* obj0
= 0 ;
16384 char *kwnames
[] = {
16385 (char *) "self", NULL
16388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileConfig",kwnames
,&obj0
)) goto fail
;
16389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileConfig
,
16390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16395 wxPyEndAllowThreads(__tstate
);
16396 if (PyErr_Occurred()) SWIG_fail
;
16398 Py_INCREF(Py_None
); resultobj
= Py_None
;
16405 static PyObject
* FileConfig_swigregister(PyObject
*self
, PyObject
*args
) {
16407 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16408 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig
, obj
);
16410 return Py_BuildValue((char *)"");
16412 static PyObject
*_wrap_new_ConfigPathChanger(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16413 PyObject
*resultobj
;
16414 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16415 wxString
*arg2
= 0 ;
16416 wxConfigPathChanger
*result
;
16417 bool temp2
= False
;
16418 PyObject
* obj0
= 0 ;
16419 PyObject
* obj1
= 0 ;
16420 char *kwnames
[] = {
16421 (char *) "config",(char *) "entry", NULL
16424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) goto fail
;
16425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16428 arg2
= wxString_in_helper(obj1
);
16429 if (arg2
== NULL
) SWIG_fail
;
16433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16434 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
16436 wxPyEndAllowThreads(__tstate
);
16437 if (PyErr_Occurred()) SWIG_fail
;
16439 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigPathChanger
, 1);
16454 static PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16455 PyObject
*resultobj
;
16456 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
16457 PyObject
* obj0
= 0 ;
16458 char *kwnames
[] = {
16459 (char *) "self", NULL
16462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigPathChanger",kwnames
,&obj0
)) goto fail
;
16463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigPathChanger
,
16464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16469 wxPyEndAllowThreads(__tstate
);
16470 if (PyErr_Occurred()) SWIG_fail
;
16472 Py_INCREF(Py_None
); resultobj
= Py_None
;
16479 static PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16480 PyObject
*resultobj
;
16481 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
16483 PyObject
* obj0
= 0 ;
16484 char *kwnames
[] = {
16485 (char *) "self", NULL
16488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigPathChanger_Name",kwnames
,&obj0
)) goto fail
;
16489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigPathChanger
,
16490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16494 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
16495 result
= (wxString
*) &_result_ref
;
16498 wxPyEndAllowThreads(__tstate
);
16499 if (PyErr_Occurred()) SWIG_fail
;
16503 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16505 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16514 static PyObject
* ConfigPathChanger_swigregister(PyObject
*self
, PyObject
*args
) {
16516 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16517 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger
, obj
);
16519 return Py_BuildValue((char *)"");
16521 static PyObject
*_wrap_ExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16522 PyObject
*resultobj
;
16523 wxString
*arg1
= 0 ;
16525 bool temp1
= False
;
16526 PyObject
* obj0
= 0 ;
16527 char *kwnames
[] = {
16528 (char *) "sz", NULL
16531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) goto fail
;
16533 arg1
= wxString_in_helper(obj0
);
16534 if (arg1
== NULL
) SWIG_fail
;
16538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16539 result
= wxExpandEnvVars((wxString
const &)*arg1
);
16541 wxPyEndAllowThreads(__tstate
);
16542 if (PyErr_Occurred()) SWIG_fail
;
16546 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16548 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16565 static int _wrap_DateFormatStr_set(PyObject
*_val
) {
16566 PyErr_SetString(PyExc_TypeError
,"Variable DateFormatStr is read-only.");
16571 static PyObject
*_wrap_DateFormatStr_get() {
16576 pyobj
= PyUnicode_FromWideChar((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
16578 pyobj
= PyString_FromStringAndSize((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
16585 static int _wrap_TimeSpanFormatStr_set(PyObject
*_val
) {
16586 PyErr_SetString(PyExc_TypeError
,"Variable TimeSpanFormatStr is read-only.");
16591 static PyObject
*_wrap_TimeSpanFormatStr_get() {
16596 pyobj
= PyUnicode_FromWideChar((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
16598 pyobj
= PyString_FromStringAndSize((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
16605 static PyObject
*_wrap_DateTime_SetCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16606 PyObject
*resultobj
;
16608 PyObject
* obj0
= 0 ;
16609 char *kwnames
[] = {
16610 (char *) "country", NULL
16613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) goto fail
;
16614 arg1
= (wxDateTime::Country
) SWIG_AsInt(obj0
);
16615 if (PyErr_Occurred()) SWIG_fail
;
16617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16618 wxDateTime::SetCountry((wxDateTime::Country
)arg1
);
16620 wxPyEndAllowThreads(__tstate
);
16621 if (PyErr_Occurred()) SWIG_fail
;
16623 Py_INCREF(Py_None
); resultobj
= Py_None
;
16630 static PyObject
*_wrap_DateTime_GetCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16631 PyObject
*resultobj
;
16633 char *kwnames
[] = {
16637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetCountry",kwnames
)) goto fail
;
16639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16640 result
= (int)wxDateTime::GetCountry();
16642 wxPyEndAllowThreads(__tstate
);
16643 if (PyErr_Occurred()) SWIG_fail
;
16645 resultobj
= SWIG_FromInt((int)result
);
16652 static PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16653 PyObject
*resultobj
;
16654 int arg1
= (int) wxDateTime::Country_Default
;
16656 PyObject
* obj0
= 0 ;
16657 char *kwnames
[] = {
16658 (char *) "country", NULL
16661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) goto fail
;
16663 arg1
= (wxDateTime::Country
) SWIG_AsInt(obj0
);
16664 if (PyErr_Occurred()) SWIG_fail
;
16667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16668 result
= (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country
)arg1
);
16670 wxPyEndAllowThreads(__tstate
);
16671 if (PyErr_Occurred()) SWIG_fail
;
16674 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16682 static PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16683 PyObject
*resultobj
;
16684 int arg1
= (int) wxDateTime::Gregorian
;
16686 PyObject
* obj0
= 0 ;
16687 char *kwnames
[] = {
16688 (char *) "cal", NULL
16691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) goto fail
;
16693 arg1
= (wxDateTime::Calendar
) SWIG_AsInt(obj0
);
16694 if (PyErr_Occurred()) SWIG_fail
;
16697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16698 result
= (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar
)arg1
);
16700 wxPyEndAllowThreads(__tstate
);
16701 if (PyErr_Occurred()) SWIG_fail
;
16703 resultobj
= SWIG_FromInt((int)result
);
16710 static PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16711 PyObject
*resultobj
;
16714 PyObject
* obj0
= 0 ;
16715 char *kwnames
[] = {
16716 (char *) "year", NULL
16719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) goto fail
;
16720 arg1
= (int) SWIG_AsInt(obj0
);
16721 if (PyErr_Occurred()) SWIG_fail
;
16723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16724 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
16726 wxPyEndAllowThreads(__tstate
);
16727 if (PyErr_Occurred()) SWIG_fail
;
16729 resultobj
= SWIG_FromInt((int)result
);
16736 static PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16737 PyObject
*resultobj
;
16738 int arg1
= (int) wxDateTime::Gregorian
;
16740 PyObject
* obj0
= 0 ;
16741 char *kwnames
[] = {
16742 (char *) "cal", NULL
16745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",kwnames
,&obj0
)) goto fail
;
16747 arg1
= (wxDateTime::Calendar
) SWIG_AsInt(obj0
);
16748 if (PyErr_Occurred()) SWIG_fail
;
16751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16752 result
= (int)wxDateTime::GetCurrentMonth((wxDateTime::Calendar
)arg1
);
16754 wxPyEndAllowThreads(__tstate
);
16755 if (PyErr_Occurred()) SWIG_fail
;
16757 resultobj
= SWIG_FromInt((int)result
);
16764 static PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16765 PyObject
*resultobj
;
16766 int arg1
= (int) wxDateTime::Inv_Year
;
16767 int arg2
= (int) wxDateTime::Gregorian
;
16769 PyObject
* obj0
= 0 ;
16770 PyObject
* obj1
= 0 ;
16771 char *kwnames
[] = {
16772 (char *) "year",(char *) "cal", NULL
16775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) goto fail
;
16777 arg1
= (int) SWIG_AsInt(obj0
);
16778 if (PyErr_Occurred()) SWIG_fail
;
16781 arg2
= (wxDateTime::Calendar
) SWIG_AsInt(obj1
);
16782 if (PyErr_Occurred()) SWIG_fail
;
16785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16786 result
= (bool)wxDateTime::IsLeapYear(arg1
,(wxDateTime::Calendar
)arg2
);
16788 wxPyEndAllowThreads(__tstate
);
16789 if (PyErr_Occurred()) SWIG_fail
;
16792 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16800 static PyObject
*_wrap_DateTime_GetCentury(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16801 PyObject
*resultobj
;
16802 int arg1
= (int) wxDateTime::Inv_Year
;
16804 PyObject
* obj0
= 0 ;
16805 char *kwnames
[] = {
16806 (char *) "year", NULL
16809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) goto fail
;
16811 arg1
= (int) SWIG_AsInt(obj0
);
16812 if (PyErr_Occurred()) SWIG_fail
;
16815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16816 result
= (int)wxDateTime::GetCentury(arg1
);
16818 wxPyEndAllowThreads(__tstate
);
16819 if (PyErr_Occurred()) SWIG_fail
;
16821 resultobj
= SWIG_FromInt((int)result
);
16828 static PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16829 PyObject
*resultobj
;
16831 int arg2
= (int) wxDateTime::Gregorian
;
16833 PyObject
* obj0
= 0 ;
16834 PyObject
* obj1
= 0 ;
16835 char *kwnames
[] = {
16836 (char *) "year",(char *) "cal", NULL
16839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) goto fail
;
16840 arg1
= (int) SWIG_AsInt(obj0
);
16841 if (PyErr_Occurred()) SWIG_fail
;
16843 arg2
= (wxDateTime::Calendar
) SWIG_AsInt(obj1
);
16844 if (PyErr_Occurred()) SWIG_fail
;
16847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16848 result
= (int)wxDateTime::GetNumberOfDays(arg1
,(wxDateTime::Calendar
)arg2
);
16850 wxPyEndAllowThreads(__tstate
);
16851 if (PyErr_Occurred()) SWIG_fail
;
16853 resultobj
= SWIG_FromInt((int)result
);
16860 static PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16861 PyObject
*resultobj
;
16863 int arg2
= (int) wxDateTime::Inv_Year
;
16864 int arg3
= (int) wxDateTime::Gregorian
;
16866 PyObject
* obj0
= 0 ;
16867 PyObject
* obj1
= 0 ;
16868 PyObject
* obj2
= 0 ;
16869 char *kwnames
[] = {
16870 (char *) "month",(char *) "year",(char *) "cal", NULL
16873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16874 arg1
= (wxDateTime::Month
) SWIG_AsInt(obj0
);
16875 if (PyErr_Occurred()) SWIG_fail
;
16877 arg2
= (int) SWIG_AsInt(obj1
);
16878 if (PyErr_Occurred()) SWIG_fail
;
16881 arg3
= (wxDateTime::Calendar
) SWIG_AsInt(obj2
);
16882 if (PyErr_Occurred()) SWIG_fail
;
16885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16886 result
= (int)wxDateTime::GetNumberOfDays((wxDateTime::Month
)arg1
,arg2
,(wxDateTime::Calendar
)arg3
);
16888 wxPyEndAllowThreads(__tstate
);
16889 if (PyErr_Occurred()) SWIG_fail
;
16891 resultobj
= SWIG_FromInt((int)result
);
16898 static PyObject
*_wrap_DateTime_GetMonthName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16899 PyObject
*resultobj
;
16901 int arg2
= (int) wxDateTime::Name_Full
;
16903 PyObject
* obj0
= 0 ;
16904 PyObject
* obj1
= 0 ;
16905 char *kwnames
[] = {
16906 (char *) "month",(char *) "flags", NULL
16909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) goto fail
;
16910 arg1
= (wxDateTime::Month
) SWIG_AsInt(obj0
);
16911 if (PyErr_Occurred()) SWIG_fail
;
16913 arg2
= (wxDateTime::NameFlags
) SWIG_AsInt(obj1
);
16914 if (PyErr_Occurred()) SWIG_fail
;
16917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16918 result
= wxDateTime::GetMonthName((wxDateTime::Month
)arg1
,(wxDateTime::NameFlags
)arg2
);
16920 wxPyEndAllowThreads(__tstate
);
16921 if (PyErr_Occurred()) SWIG_fail
;
16925 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16927 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16936 static PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16937 PyObject
*resultobj
;
16939 int arg2
= (int) wxDateTime::Name_Full
;
16941 PyObject
* obj0
= 0 ;
16942 PyObject
* obj1
= 0 ;
16943 char *kwnames
[] = {
16944 (char *) "weekday",(char *) "flags", NULL
16947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) goto fail
;
16948 arg1
= (wxDateTime::WeekDay
) SWIG_AsInt(obj0
);
16949 if (PyErr_Occurred()) SWIG_fail
;
16951 arg2
= (wxDateTime::NameFlags
) SWIG_AsInt(obj1
);
16952 if (PyErr_Occurred()) SWIG_fail
;
16955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16956 result
= wxDateTime::GetWeekDayName((wxDateTime::WeekDay
)arg1
,(wxDateTime::NameFlags
)arg2
);
16958 wxPyEndAllowThreads(__tstate
);
16959 if (PyErr_Occurred()) SWIG_fail
;
16963 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16965 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16974 static PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16975 PyObject
*resultobj
;
16976 wxString
*arg1
= (wxString
*) 0 ;
16977 wxString
*arg2
= (wxString
*) 0 ;
16978 bool temp1
= False
;
16979 bool temp2
= False
;
16980 PyObject
* obj0
= 0 ;
16981 PyObject
* obj1
= 0 ;
16982 char *kwnames
[] = {
16983 (char *) "OUTPUT",(char *) "OUTPUT", NULL
16986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetAmPmStrings",kwnames
,&obj0
,&obj1
)) goto fail
;
16988 arg1
= wxString_in_helper(obj0
);
16989 if (arg1
== NULL
) SWIG_fail
;
16993 arg2
= wxString_in_helper(obj1
);
16994 if (arg2
== NULL
) SWIG_fail
;
16998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16999 wxDateTime::GetAmPmStrings(arg1
,arg2
);
17001 wxPyEndAllowThreads(__tstate
);
17002 if (PyErr_Occurred()) SWIG_fail
;
17004 Py_INCREF(Py_None
); resultobj
= Py_None
;
17027 static PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17028 PyObject
*resultobj
;
17029 int arg1
= (int) wxDateTime::Inv_Year
;
17030 int arg2
= (int) wxDateTime::Country_Default
;
17032 PyObject
* obj0
= 0 ;
17033 PyObject
* obj1
= 0 ;
17034 char *kwnames
[] = {
17035 (char *) "year",(char *) "country", NULL
17038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) goto fail
;
17040 arg1
= (int) SWIG_AsInt(obj0
);
17041 if (PyErr_Occurred()) SWIG_fail
;
17044 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
17045 if (PyErr_Occurred()) SWIG_fail
;
17048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17049 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,(wxDateTime::Country
)arg2
);
17051 wxPyEndAllowThreads(__tstate
);
17052 if (PyErr_Occurred()) SWIG_fail
;
17055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17063 static PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17064 PyObject
*resultobj
;
17065 int arg1
= (int) wxDateTime::Inv_Year
;
17066 int arg2
= (int) wxDateTime::Country_Default
;
17068 PyObject
* obj0
= 0 ;
17069 PyObject
* obj1
= 0 ;
17070 char *kwnames
[] = {
17071 (char *) "year",(char *) "country", NULL
17074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetBeginDST",kwnames
,&obj0
,&obj1
)) goto fail
;
17076 arg1
= (int) SWIG_AsInt(obj0
);
17077 if (PyErr_Occurred()) SWIG_fail
;
17080 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
17081 if (PyErr_Occurred()) SWIG_fail
;
17084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17085 result
= wxDateTime::GetBeginDST(arg1
,(wxDateTime::Country
)arg2
);
17087 wxPyEndAllowThreads(__tstate
);
17088 if (PyErr_Occurred()) SWIG_fail
;
17091 wxDateTime
* resultptr
;
17092 resultptr
= new wxDateTime((wxDateTime
&) result
);
17093 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17101 static PyObject
*_wrap_DateTime_GetEndDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17102 PyObject
*resultobj
;
17103 int arg1
= (int) wxDateTime::Inv_Year
;
17104 int arg2
= (int) wxDateTime::Country_Default
;
17106 PyObject
* obj0
= 0 ;
17107 PyObject
* obj1
= 0 ;
17108 char *kwnames
[] = {
17109 (char *) "year",(char *) "country", NULL
17112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) goto fail
;
17114 arg1
= (int) SWIG_AsInt(obj0
);
17115 if (PyErr_Occurred()) SWIG_fail
;
17118 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
17119 if (PyErr_Occurred()) SWIG_fail
;
17122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17123 result
= wxDateTime::GetEndDST(arg1
,(wxDateTime::Country
)arg2
);
17125 wxPyEndAllowThreads(__tstate
);
17126 if (PyErr_Occurred()) SWIG_fail
;
17129 wxDateTime
* resultptr
;
17130 resultptr
= new wxDateTime((wxDateTime
&) result
);
17131 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17139 static PyObject
*_wrap_DateTime_Now(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17140 PyObject
*resultobj
;
17142 char *kwnames
[] = {
17146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Now",kwnames
)) goto fail
;
17148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17149 result
= wxDateTime::Now();
17151 wxPyEndAllowThreads(__tstate
);
17152 if (PyErr_Occurred()) SWIG_fail
;
17155 wxDateTime
* resultptr
;
17156 resultptr
= new wxDateTime((wxDateTime
&) result
);
17157 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17165 static PyObject
*_wrap_DateTime_UNow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17166 PyObject
*resultobj
;
17168 char *kwnames
[] = {
17172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_UNow",kwnames
)) goto fail
;
17174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17175 result
= wxDateTime::UNow();
17177 wxPyEndAllowThreads(__tstate
);
17178 if (PyErr_Occurred()) SWIG_fail
;
17181 wxDateTime
* resultptr
;
17182 resultptr
= new wxDateTime((wxDateTime
&) result
);
17183 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17191 static PyObject
*_wrap_DateTime_Today(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17192 PyObject
*resultobj
;
17194 char *kwnames
[] = {
17198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Today",kwnames
)) goto fail
;
17200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17201 result
= wxDateTime::Today();
17203 wxPyEndAllowThreads(__tstate
);
17204 if (PyErr_Occurred()) SWIG_fail
;
17207 wxDateTime
* resultptr
;
17208 resultptr
= new wxDateTime((wxDateTime
&) result
);
17209 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17217 static PyObject
*_wrap_new_DateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17218 PyObject
*resultobj
;
17219 wxDateTime
*result
;
17220 char *kwnames
[] = {
17224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DateTime",kwnames
)) goto fail
;
17226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17227 result
= (wxDateTime
*)new wxDateTime();
17229 wxPyEndAllowThreads(__tstate
);
17230 if (PyErr_Occurred()) SWIG_fail
;
17232 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17239 static PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17240 PyObject
*resultobj
;
17242 wxDateTime
*result
;
17243 PyObject
* obj0
= 0 ;
17244 char *kwnames
[] = {
17245 (char *) "timet", NULL
17248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) goto fail
;
17249 arg1
= (time_t) SWIG_AsUnsignedInt(obj0
);
17250 if (PyErr_Occurred()) SWIG_fail
;
17252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17253 result
= (wxDateTime
*)new wxDateTime(arg1
);
17255 wxPyEndAllowThreads(__tstate
);
17256 if (PyErr_Occurred()) SWIG_fail
;
17258 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17265 static PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17266 PyObject
*resultobj
;
17268 wxDateTime
*result
;
17269 PyObject
* obj0
= 0 ;
17270 char *kwnames
[] = {
17271 (char *) "jdn", NULL
17274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) goto fail
;
17275 arg1
= (double) SWIG_AsDouble(obj0
);
17276 if (PyErr_Occurred()) SWIG_fail
;
17278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17279 result
= (wxDateTime
*)new wxDateTime(arg1
);
17281 wxPyEndAllowThreads(__tstate
);
17282 if (PyErr_Occurred()) SWIG_fail
;
17284 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17291 static PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17292 PyObject
*resultobj
;
17294 int arg2
= (int) 0 ;
17295 int arg3
= (int) 0 ;
17296 int arg4
= (int) 0 ;
17297 wxDateTime
*result
;
17298 PyObject
* obj0
= 0 ;
17299 PyObject
* obj1
= 0 ;
17300 PyObject
* obj2
= 0 ;
17301 PyObject
* obj3
= 0 ;
17302 char *kwnames
[] = {
17303 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17307 arg1
= (int) SWIG_AsInt(obj0
);
17308 if (PyErr_Occurred()) SWIG_fail
;
17310 arg2
= (int) SWIG_AsInt(obj1
);
17311 if (PyErr_Occurred()) SWIG_fail
;
17314 arg3
= (int) SWIG_AsInt(obj2
);
17315 if (PyErr_Occurred()) SWIG_fail
;
17318 arg4
= (int) SWIG_AsInt(obj3
);
17319 if (PyErr_Occurred()) SWIG_fail
;
17322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17323 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
17325 wxPyEndAllowThreads(__tstate
);
17326 if (PyErr_Occurred()) SWIG_fail
;
17328 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17335 static PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17336 PyObject
*resultobj
;
17338 int arg2
= (int) wxDateTime::Inv_Month
;
17339 int arg3
= (int) wxDateTime::Inv_Year
;
17340 int arg4
= (int) 0 ;
17341 int arg5
= (int) 0 ;
17342 int arg6
= (int) 0 ;
17343 int arg7
= (int) 0 ;
17344 wxDateTime
*result
;
17345 PyObject
* obj0
= 0 ;
17346 PyObject
* obj1
= 0 ;
17347 PyObject
* obj2
= 0 ;
17348 PyObject
* obj3
= 0 ;
17349 PyObject
* obj4
= 0 ;
17350 PyObject
* obj5
= 0 ;
17351 PyObject
* obj6
= 0 ;
17352 char *kwnames
[] = {
17353 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17357 arg1
= (int) SWIG_AsInt(obj0
);
17358 if (PyErr_Occurred()) SWIG_fail
;
17360 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
17361 if (PyErr_Occurred()) SWIG_fail
;
17364 arg3
= (int) SWIG_AsInt(obj2
);
17365 if (PyErr_Occurred()) SWIG_fail
;
17368 arg4
= (int) SWIG_AsInt(obj3
);
17369 if (PyErr_Occurred()) SWIG_fail
;
17372 arg5
= (int) SWIG_AsInt(obj4
);
17373 if (PyErr_Occurred()) SWIG_fail
;
17376 arg6
= (int) SWIG_AsInt(obj5
);
17377 if (PyErr_Occurred()) SWIG_fail
;
17380 arg7
= (int) SWIG_AsInt(obj6
);
17381 if (PyErr_Occurred()) SWIG_fail
;
17384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17385 result
= (wxDateTime
*)new wxDateTime(arg1
,(wxDateTime::Month
)arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
17387 wxPyEndAllowThreads(__tstate
);
17388 if (PyErr_Occurred()) SWIG_fail
;
17390 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17397 static PyObject
*_wrap_delete_DateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17398 PyObject
*resultobj
;
17399 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17400 PyObject
* obj0
= 0 ;
17401 char *kwnames
[] = {
17402 (char *) "self", NULL
17405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateTime",kwnames
,&obj0
)) goto fail
;
17406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17412 wxPyEndAllowThreads(__tstate
);
17413 if (PyErr_Occurred()) SWIG_fail
;
17415 Py_INCREF(Py_None
); resultobj
= Py_None
;
17422 static PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17423 PyObject
*resultobj
;
17424 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17425 wxDateTime
*result
;
17426 PyObject
* obj0
= 0 ;
17427 char *kwnames
[] = {
17428 (char *) "self", NULL
17431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetToCurrent",kwnames
,&obj0
)) goto fail
;
17432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17437 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
17438 result
= (wxDateTime
*) &_result_ref
;
17441 wxPyEndAllowThreads(__tstate
);
17442 if (PyErr_Occurred()) SWIG_fail
;
17444 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17451 static PyObject
*_wrap_DateTime_SetTimeT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17452 PyObject
*resultobj
;
17453 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17455 wxDateTime
*result
;
17456 PyObject
* obj0
= 0 ;
17457 PyObject
* obj1
= 0 ;
17458 char *kwnames
[] = {
17459 (char *) "self",(char *) "timet", NULL
17462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) goto fail
;
17463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17465 arg2
= (time_t) SWIG_AsUnsignedInt(obj1
);
17466 if (PyErr_Occurred()) SWIG_fail
;
17468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17470 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
17471 result
= (wxDateTime
*) &_result_ref
;
17474 wxPyEndAllowThreads(__tstate
);
17475 if (PyErr_Occurred()) SWIG_fail
;
17477 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17484 static PyObject
*_wrap_DateTime_SetJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17485 PyObject
*resultobj
;
17486 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17488 wxDateTime
*result
;
17489 PyObject
* obj0
= 0 ;
17490 PyObject
* obj1
= 0 ;
17491 char *kwnames
[] = {
17492 (char *) "self",(char *) "jdn", NULL
17495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) goto fail
;
17496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17498 arg2
= (double) SWIG_AsDouble(obj1
);
17499 if (PyErr_Occurred()) SWIG_fail
;
17501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17503 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
17504 result
= (wxDateTime
*) &_result_ref
;
17507 wxPyEndAllowThreads(__tstate
);
17508 if (PyErr_Occurred()) SWIG_fail
;
17510 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17517 static PyObject
*_wrap_DateTime_SetHMS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17518 PyObject
*resultobj
;
17519 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17521 int arg3
= (int) 0 ;
17522 int arg4
= (int) 0 ;
17523 int arg5
= (int) 0 ;
17524 wxDateTime
*result
;
17525 PyObject
* obj0
= 0 ;
17526 PyObject
* obj1
= 0 ;
17527 PyObject
* obj2
= 0 ;
17528 PyObject
* obj3
= 0 ;
17529 PyObject
* obj4
= 0 ;
17530 char *kwnames
[] = {
17531 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17537 arg2
= (int) SWIG_AsInt(obj1
);
17538 if (PyErr_Occurred()) SWIG_fail
;
17540 arg3
= (int) SWIG_AsInt(obj2
);
17541 if (PyErr_Occurred()) SWIG_fail
;
17544 arg4
= (int) SWIG_AsInt(obj3
);
17545 if (PyErr_Occurred()) SWIG_fail
;
17548 arg5
= (int) SWIG_AsInt(obj4
);
17549 if (PyErr_Occurred()) SWIG_fail
;
17552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17554 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
17555 result
= (wxDateTime
*) &_result_ref
;
17558 wxPyEndAllowThreads(__tstate
);
17559 if (PyErr_Occurred()) SWIG_fail
;
17561 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17568 static PyObject
*_wrap_DateTime_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17569 PyObject
*resultobj
;
17570 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17572 int arg3
= (int) wxDateTime::Inv_Month
;
17573 int arg4
= (int) wxDateTime::Inv_Year
;
17574 int arg5
= (int) 0 ;
17575 int arg6
= (int) 0 ;
17576 int arg7
= (int) 0 ;
17577 int arg8
= (int) 0 ;
17578 wxDateTime
*result
;
17579 PyObject
* obj0
= 0 ;
17580 PyObject
* obj1
= 0 ;
17581 PyObject
* obj2
= 0 ;
17582 PyObject
* obj3
= 0 ;
17583 PyObject
* obj4
= 0 ;
17584 PyObject
* obj5
= 0 ;
17585 PyObject
* obj6
= 0 ;
17586 PyObject
* obj7
= 0 ;
17587 char *kwnames
[] = {
17588 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
17592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17594 arg2
= (int) SWIG_AsInt(obj1
);
17595 if (PyErr_Occurred()) SWIG_fail
;
17597 arg3
= (wxDateTime::Month
) SWIG_AsInt(obj2
);
17598 if (PyErr_Occurred()) SWIG_fail
;
17601 arg4
= (int) SWIG_AsInt(obj3
);
17602 if (PyErr_Occurred()) SWIG_fail
;
17605 arg5
= (int) SWIG_AsInt(obj4
);
17606 if (PyErr_Occurred()) SWIG_fail
;
17609 arg6
= (int) SWIG_AsInt(obj5
);
17610 if (PyErr_Occurred()) SWIG_fail
;
17613 arg7
= (int) SWIG_AsInt(obj6
);
17614 if (PyErr_Occurred()) SWIG_fail
;
17617 arg8
= (int) SWIG_AsInt(obj7
);
17618 if (PyErr_Occurred()) SWIG_fail
;
17621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17623 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,(wxDateTime::Month
)arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
17624 result
= (wxDateTime
*) &_result_ref
;
17627 wxPyEndAllowThreads(__tstate
);
17628 if (PyErr_Occurred()) SWIG_fail
;
17630 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17637 static PyObject
*_wrap_DateTime_ResetTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17638 PyObject
*resultobj
;
17639 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17640 wxDateTime
*result
;
17641 PyObject
* obj0
= 0 ;
17642 char *kwnames
[] = {
17643 (char *) "self", NULL
17646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ResetTime",kwnames
,&obj0
)) goto fail
;
17647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17652 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
17653 result
= (wxDateTime
*) &_result_ref
;
17656 wxPyEndAllowThreads(__tstate
);
17657 if (PyErr_Occurred()) SWIG_fail
;
17659 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17666 static PyObject
*_wrap_DateTime_SetYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17667 PyObject
*resultobj
;
17668 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17670 wxDateTime
*result
;
17671 PyObject
* obj0
= 0 ;
17672 PyObject
* obj1
= 0 ;
17673 char *kwnames
[] = {
17674 (char *) "self",(char *) "year", NULL
17677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
17678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17680 arg2
= (int) SWIG_AsInt(obj1
);
17681 if (PyErr_Occurred()) SWIG_fail
;
17683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17685 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
17686 result
= (wxDateTime
*) &_result_ref
;
17689 wxPyEndAllowThreads(__tstate
);
17690 if (PyErr_Occurred()) SWIG_fail
;
17692 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17699 static PyObject
*_wrap_DateTime_SetMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17700 PyObject
*resultobj
;
17701 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17703 wxDateTime
*result
;
17704 PyObject
* obj0
= 0 ;
17705 PyObject
* obj1
= 0 ;
17706 char *kwnames
[] = {
17707 (char *) "self",(char *) "month", NULL
17710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
17711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17713 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
17714 if (PyErr_Occurred()) SWIG_fail
;
17716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17718 wxDateTime
&_result_ref
= (arg1
)->SetMonth((wxDateTime::Month
)arg2
);
17719 result
= (wxDateTime
*) &_result_ref
;
17722 wxPyEndAllowThreads(__tstate
);
17723 if (PyErr_Occurred()) SWIG_fail
;
17725 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17732 static PyObject
*_wrap_DateTime_SetDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17733 PyObject
*resultobj
;
17734 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17736 wxDateTime
*result
;
17737 PyObject
* obj0
= 0 ;
17738 PyObject
* obj1
= 0 ;
17739 char *kwnames
[] = {
17740 (char *) "self",(char *) "day", NULL
17743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
17744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17746 arg2
= (int) SWIG_AsInt(obj1
);
17747 if (PyErr_Occurred()) SWIG_fail
;
17749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17751 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
17752 result
= (wxDateTime
*) &_result_ref
;
17755 wxPyEndAllowThreads(__tstate
);
17756 if (PyErr_Occurred()) SWIG_fail
;
17758 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17765 static PyObject
*_wrap_DateTime_SetHour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17766 PyObject
*resultobj
;
17767 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17769 wxDateTime
*result
;
17770 PyObject
* obj0
= 0 ;
17771 PyObject
* obj1
= 0 ;
17772 char *kwnames
[] = {
17773 (char *) "self",(char *) "hour", NULL
17776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
17777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17779 arg2
= (int) SWIG_AsInt(obj1
);
17780 if (PyErr_Occurred()) SWIG_fail
;
17782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17784 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
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_SetMinute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17799 PyObject
*resultobj
;
17800 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17802 wxDateTime
*result
;
17803 PyObject
* obj0
= 0 ;
17804 PyObject
* obj1
= 0 ;
17805 char *kwnames
[] = {
17806 (char *) "self",(char *) "minute", NULL
17809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
17810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17812 arg2
= (int) SWIG_AsInt(obj1
);
17813 if (PyErr_Occurred()) SWIG_fail
;
17815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17817 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
17818 result
= (wxDateTime
*) &_result_ref
;
17821 wxPyEndAllowThreads(__tstate
);
17822 if (PyErr_Occurred()) SWIG_fail
;
17824 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17831 static PyObject
*_wrap_DateTime_SetSecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17832 PyObject
*resultobj
;
17833 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17835 wxDateTime
*result
;
17836 PyObject
* obj0
= 0 ;
17837 PyObject
* obj1
= 0 ;
17838 char *kwnames
[] = {
17839 (char *) "self",(char *) "second", NULL
17842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
17843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17845 arg2
= (int) SWIG_AsInt(obj1
);
17846 if (PyErr_Occurred()) SWIG_fail
;
17848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17850 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
17851 result
= (wxDateTime
*) &_result_ref
;
17854 wxPyEndAllowThreads(__tstate
);
17855 if (PyErr_Occurred()) SWIG_fail
;
17857 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17864 static PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17865 PyObject
*resultobj
;
17866 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17868 wxDateTime
*result
;
17869 PyObject
* obj0
= 0 ;
17870 PyObject
* obj1
= 0 ;
17871 char *kwnames
[] = {
17872 (char *) "self",(char *) "millisecond", NULL
17875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
17876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17878 arg2
= (int) SWIG_AsInt(obj1
);
17879 if (PyErr_Occurred()) SWIG_fail
;
17881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17883 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
17884 result
= (wxDateTime
*) &_result_ref
;
17887 wxPyEndAllowThreads(__tstate
);
17888 if (PyErr_Occurred()) SWIG_fail
;
17890 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17897 static PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17898 PyObject
*resultobj
;
17899 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17901 int arg3
= (int) wxDateTime::Monday_First
;
17902 wxDateTime
*result
;
17903 PyObject
* obj0
= 0 ;
17904 PyObject
* obj1
= 0 ;
17905 PyObject
* obj2
= 0 ;
17906 char *kwnames
[] = {
17907 (char *) "self",(char *) "weekday",(char *) "flags", NULL
17910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17913 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
17914 if (PyErr_Occurred()) SWIG_fail
;
17916 arg3
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj2
);
17917 if (PyErr_Occurred()) SWIG_fail
;
17920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17922 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
17923 result
= (wxDateTime
*) &_result_ref
;
17926 wxPyEndAllowThreads(__tstate
);
17927 if (PyErr_Occurred()) SWIG_fail
;
17929 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17936 static PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17937 PyObject
*resultobj
;
17938 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17940 int arg3
= (int) wxDateTime::Monday_First
;
17942 PyObject
* obj0
= 0 ;
17943 PyObject
* obj1
= 0 ;
17944 PyObject
* obj2
= 0 ;
17945 char *kwnames
[] = {
17946 (char *) "self",(char *) "weekday",(char *) "flags", NULL
17949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) 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 arg3
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj2
);
17956 if (PyErr_Occurred()) SWIG_fail
;
17959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17960 result
= (arg1
)->GetWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
17962 wxPyEndAllowThreads(__tstate
);
17963 if (PyErr_Occurred()) SWIG_fail
;
17966 wxDateTime
* resultptr
;
17967 resultptr
= new wxDateTime((wxDateTime
&) result
);
17968 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17976 static PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17977 PyObject
*resultobj
;
17978 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17980 wxDateTime
*result
;
17981 PyObject
* obj0
= 0 ;
17982 PyObject
* obj1
= 0 ;
17983 char *kwnames
[] = {
17984 (char *) "self",(char *) "weekday", NULL
17987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
17988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17990 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
17991 if (PyErr_Occurred()) SWIG_fail
;
17993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17995 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay((wxDateTime::WeekDay
)arg2
);
17996 result
= (wxDateTime
*) &_result_ref
;
17999 wxPyEndAllowThreads(__tstate
);
18000 if (PyErr_Occurred()) SWIG_fail
;
18002 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18009 static PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18010 PyObject
*resultobj
;
18011 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18014 PyObject
* obj0
= 0 ;
18015 PyObject
* obj1
= 0 ;
18016 char *kwnames
[] = {
18017 (char *) "self",(char *) "weekday", NULL
18020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18023 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18024 if (PyErr_Occurred()) SWIG_fail
;
18026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18027 result
= (arg1
)->GetNextWeekDay((wxDateTime::WeekDay
)arg2
);
18029 wxPyEndAllowThreads(__tstate
);
18030 if (PyErr_Occurred()) SWIG_fail
;
18033 wxDateTime
* resultptr
;
18034 resultptr
= new wxDateTime((wxDateTime
&) result
);
18035 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18043 static PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18044 PyObject
*resultobj
;
18045 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18047 wxDateTime
*result
;
18048 PyObject
* obj0
= 0 ;
18049 PyObject
* obj1
= 0 ;
18050 char *kwnames
[] = {
18051 (char *) "self",(char *) "weekday", NULL
18054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18057 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18058 if (PyErr_Occurred()) SWIG_fail
;
18060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18062 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay((wxDateTime::WeekDay
)arg2
);
18063 result
= (wxDateTime
*) &_result_ref
;
18066 wxPyEndAllowThreads(__tstate
);
18067 if (PyErr_Occurred()) SWIG_fail
;
18069 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18076 static PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18077 PyObject
*resultobj
;
18078 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18081 PyObject
* obj0
= 0 ;
18082 PyObject
* obj1
= 0 ;
18083 char *kwnames
[] = {
18084 (char *) "self",(char *) "weekday", NULL
18087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18090 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18091 if (PyErr_Occurred()) SWIG_fail
;
18093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18094 result
= (arg1
)->GetPrevWeekDay((wxDateTime::WeekDay
)arg2
);
18096 wxPyEndAllowThreads(__tstate
);
18097 if (PyErr_Occurred()) SWIG_fail
;
18100 wxDateTime
* resultptr
;
18101 resultptr
= new wxDateTime((wxDateTime
&) result
);
18102 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18110 static PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18111 PyObject
*resultobj
;
18112 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18114 int arg3
= (int) 1 ;
18115 int arg4
= (int) wxDateTime::Inv_Month
;
18116 int arg5
= (int) wxDateTime::Inv_Year
;
18118 PyObject
* obj0
= 0 ;
18119 PyObject
* obj1
= 0 ;
18120 PyObject
* obj2
= 0 ;
18121 PyObject
* obj3
= 0 ;
18122 PyObject
* obj4
= 0 ;
18123 char *kwnames
[] = {
18124 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
18127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18130 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18131 if (PyErr_Occurred()) SWIG_fail
;
18133 arg3
= (int) SWIG_AsInt(obj2
);
18134 if (PyErr_Occurred()) SWIG_fail
;
18137 arg4
= (wxDateTime::Month
) SWIG_AsInt(obj3
);
18138 if (PyErr_Occurred()) SWIG_fail
;
18141 arg5
= (int) SWIG_AsInt(obj4
);
18142 if (PyErr_Occurred()) SWIG_fail
;
18145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18146 result
= (bool)(arg1
)->SetToWeekDay((wxDateTime::WeekDay
)arg2
,arg3
,(wxDateTime::Month
)arg4
,arg5
);
18148 wxPyEndAllowThreads(__tstate
);
18149 if (PyErr_Occurred()) SWIG_fail
;
18152 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18160 static PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18161 PyObject
*resultobj
;
18162 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18164 int arg3
= (int) wxDateTime::Inv_Month
;
18165 int arg4
= (int) wxDateTime::Inv_Year
;
18167 PyObject
* obj0
= 0 ;
18168 PyObject
* obj1
= 0 ;
18169 PyObject
* obj2
= 0 ;
18170 PyObject
* obj3
= 0 ;
18171 char *kwnames
[] = {
18172 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18178 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18179 if (PyErr_Occurred()) SWIG_fail
;
18181 arg3
= (wxDateTime::Month
) SWIG_AsInt(obj2
);
18182 if (PyErr_Occurred()) SWIG_fail
;
18185 arg4
= (int) SWIG_AsInt(obj3
);
18186 if (PyErr_Occurred()) SWIG_fail
;
18189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18190 result
= (bool)(arg1
)->SetToLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
18192 wxPyEndAllowThreads(__tstate
);
18193 if (PyErr_Occurred()) SWIG_fail
;
18196 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18204 static PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18205 PyObject
*resultobj
;
18206 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18208 int arg3
= (int) wxDateTime::Inv_Month
;
18209 int arg4
= (int) wxDateTime::Inv_Year
;
18211 PyObject
* obj0
= 0 ;
18212 PyObject
* obj1
= 0 ;
18213 PyObject
* obj2
= 0 ;
18214 PyObject
* obj3
= 0 ;
18215 char *kwnames
[] = {
18216 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18222 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18223 if (PyErr_Occurred()) SWIG_fail
;
18225 arg3
= (wxDateTime::Month
) SWIG_AsInt(obj2
);
18226 if (PyErr_Occurred()) SWIG_fail
;
18229 arg4
= (int) SWIG_AsInt(obj3
);
18230 if (PyErr_Occurred()) SWIG_fail
;
18233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18234 result
= (arg1
)->GetLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
18236 wxPyEndAllowThreads(__tstate
);
18237 if (PyErr_Occurred()) SWIG_fail
;
18240 wxDateTime
* resultptr
;
18241 resultptr
= new wxDateTime((wxDateTime
&) result
);
18242 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18250 static PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18251 PyObject
*resultobj
;
18252 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18254 int arg3
= (int) wxDateTime::Mon
;
18255 int arg4
= (int) wxDateTime::Monday_First
;
18257 PyObject
* obj0
= 0 ;
18258 PyObject
* obj1
= 0 ;
18259 PyObject
* obj2
= 0 ;
18260 PyObject
* obj3
= 0 ;
18261 char *kwnames
[] = {
18262 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18268 arg2
= (int) SWIG_AsInt(obj1
);
18269 if (PyErr_Occurred()) SWIG_fail
;
18271 arg3
= (wxDateTime::WeekDay
) SWIG_AsInt(obj2
);
18272 if (PyErr_Occurred()) SWIG_fail
;
18275 arg4
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj3
);
18276 if (PyErr_Occurred()) SWIG_fail
;
18279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18280 result
= (bool)(arg1
)->SetToTheWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
18282 wxPyEndAllowThreads(__tstate
);
18283 if (PyErr_Occurred()) SWIG_fail
;
18286 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18294 static PyObject
*_wrap_DateTime_GetWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18295 PyObject
*resultobj
;
18296 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18298 int arg3
= (int) wxDateTime::Mon
;
18299 int arg4
= (int) wxDateTime::Monday_First
;
18301 PyObject
* obj0
= 0 ;
18302 PyObject
* obj1
= 0 ;
18303 PyObject
* obj2
= 0 ;
18304 PyObject
* obj3
= 0 ;
18305 char *kwnames
[] = {
18306 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18312 arg2
= (int) SWIG_AsInt(obj1
);
18313 if (PyErr_Occurred()) SWIG_fail
;
18315 arg3
= (wxDateTime::WeekDay
) SWIG_AsInt(obj2
);
18316 if (PyErr_Occurred()) SWIG_fail
;
18319 arg4
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj3
);
18320 if (PyErr_Occurred()) SWIG_fail
;
18323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18324 result
= (arg1
)->GetWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
18326 wxPyEndAllowThreads(__tstate
);
18327 if (PyErr_Occurred()) SWIG_fail
;
18330 wxDateTime
* resultptr
;
18331 resultptr
= new wxDateTime((wxDateTime
&) result
);
18332 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18340 static PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18341 PyObject
*resultobj
;
18342 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18343 int arg2
= (int) wxDateTime::Inv_Month
;
18344 int arg3
= (int) wxDateTime::Inv_Year
;
18345 wxDateTime
*result
;
18346 PyObject
* obj0
= 0 ;
18347 PyObject
* obj1
= 0 ;
18348 PyObject
* obj2
= 0 ;
18349 char *kwnames
[] = {
18350 (char *) "self",(char *) "month",(char *) "year", NULL
18353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18357 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
18358 if (PyErr_Occurred()) SWIG_fail
;
18361 arg3
= (int) SWIG_AsInt(obj2
);
18362 if (PyErr_Occurred()) SWIG_fail
;
18365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18367 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
18368 result
= (wxDateTime
*) &_result_ref
;
18371 wxPyEndAllowThreads(__tstate
);
18372 if (PyErr_Occurred()) SWIG_fail
;
18374 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18381 static PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18382 PyObject
*resultobj
;
18383 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18384 int arg2
= (int) wxDateTime::Inv_Month
;
18385 int arg3
= (int) wxDateTime::Inv_Year
;
18387 PyObject
* obj0
= 0 ;
18388 PyObject
* obj1
= 0 ;
18389 PyObject
* obj2
= 0 ;
18390 char *kwnames
[] = {
18391 (char *) "self",(char *) "month",(char *) "year", NULL
18394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18398 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
18399 if (PyErr_Occurred()) SWIG_fail
;
18402 arg3
= (int) SWIG_AsInt(obj2
);
18403 if (PyErr_Occurred()) SWIG_fail
;
18406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18407 result
= (arg1
)->GetLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
18409 wxPyEndAllowThreads(__tstate
);
18410 if (PyErr_Occurred()) SWIG_fail
;
18413 wxDateTime
* resultptr
;
18414 resultptr
= new wxDateTime((wxDateTime
&) result
);
18415 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18423 static PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18424 PyObject
*resultobj
;
18425 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18427 wxDateTime
*result
;
18428 PyObject
* obj0
= 0 ;
18429 PyObject
* obj1
= 0 ;
18430 char *kwnames
[] = {
18431 (char *) "self",(char *) "yday", NULL
18434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18437 arg2
= (int) SWIG_AsInt(obj1
);
18438 if (PyErr_Occurred()) SWIG_fail
;
18440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18442 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
18443 result
= (wxDateTime
*) &_result_ref
;
18446 wxPyEndAllowThreads(__tstate
);
18447 if (PyErr_Occurred()) SWIG_fail
;
18449 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18456 static PyObject
*_wrap_DateTime_GetYearDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18457 PyObject
*resultobj
;
18458 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18461 PyObject
* obj0
= 0 ;
18462 PyObject
* obj1
= 0 ;
18463 char *kwnames
[] = {
18464 (char *) "self",(char *) "yday", NULL
18467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18470 arg2
= (int) SWIG_AsInt(obj1
);
18471 if (PyErr_Occurred()) SWIG_fail
;
18473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18474 result
= (arg1
)->GetYearDay(arg2
);
18476 wxPyEndAllowThreads(__tstate
);
18477 if (PyErr_Occurred()) SWIG_fail
;
18480 wxDateTime
* resultptr
;
18481 resultptr
= new wxDateTime((wxDateTime
&) result
);
18482 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18490 static PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18491 PyObject
*resultobj
;
18492 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18494 PyObject
* obj0
= 0 ;
18495 char *kwnames
[] = {
18496 (char *) "self", NULL
18499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJulianDayNumber",kwnames
,&obj0
)) goto fail
;
18500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18504 result
= (double)(arg1
)->GetJulianDayNumber();
18506 wxPyEndAllowThreads(__tstate
);
18507 if (PyErr_Occurred()) SWIG_fail
;
18509 resultobj
= SWIG_FromDouble((double)result
);
18516 static PyObject
*_wrap_DateTime_GetJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18517 PyObject
*resultobj
;
18518 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18520 PyObject
* obj0
= 0 ;
18521 char *kwnames
[] = {
18522 (char *) "self", NULL
18525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJDN",kwnames
,&obj0
)) goto fail
;
18526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18530 result
= (double)(arg1
)->GetJDN();
18532 wxPyEndAllowThreads(__tstate
);
18533 if (PyErr_Occurred()) SWIG_fail
;
18535 resultobj
= SWIG_FromDouble((double)result
);
18542 static PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18543 PyObject
*resultobj
;
18544 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18546 PyObject
* obj0
= 0 ;
18547 char *kwnames
[] = {
18548 (char *) "self", NULL
18551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames
,&obj0
)) goto fail
;
18552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18556 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
18558 wxPyEndAllowThreads(__tstate
);
18559 if (PyErr_Occurred()) SWIG_fail
;
18561 resultobj
= SWIG_FromDouble((double)result
);
18568 static PyObject
*_wrap_DateTime_GetMJD(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18569 PyObject
*resultobj
;
18570 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18572 PyObject
* obj0
= 0 ;
18573 char *kwnames
[] = {
18574 (char *) "self", NULL
18577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetMJD",kwnames
,&obj0
)) goto fail
;
18578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18582 result
= (double)(arg1
)->GetMJD();
18584 wxPyEndAllowThreads(__tstate
);
18585 if (PyErr_Occurred()) SWIG_fail
;
18587 resultobj
= SWIG_FromDouble((double)result
);
18594 static PyObject
*_wrap_DateTime_GetRataDie(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18595 PyObject
*resultobj
;
18596 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18598 PyObject
* obj0
= 0 ;
18599 char *kwnames
[] = {
18600 (char *) "self", NULL
18603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetRataDie",kwnames
,&obj0
)) goto fail
;
18604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18608 result
= (double)(arg1
)->GetRataDie();
18610 wxPyEndAllowThreads(__tstate
);
18611 if (PyErr_Occurred()) SWIG_fail
;
18613 resultobj
= SWIG_FromDouble((double)result
);
18620 static PyObject
*_wrap_DateTime_ToTimezone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18621 PyObject
*resultobj
;
18622 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18623 wxDateTime::TimeZone
*arg2
= 0 ;
18624 bool arg3
= (bool) False
;
18626 bool temp2
= False
;
18627 PyObject
* obj0
= 0 ;
18628 PyObject
* obj1
= 0 ;
18629 PyObject
* obj2
= 0 ;
18630 char *kwnames
[] = {
18631 (char *) "self",(char *) "tz",(char *) "noDST", NULL
18634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18638 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18642 arg3
= (bool) SWIG_AsBool(obj2
);
18643 if (PyErr_Occurred()) SWIG_fail
;
18646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18647 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
18649 wxPyEndAllowThreads(__tstate
);
18650 if (PyErr_Occurred()) SWIG_fail
;
18653 wxDateTime
* resultptr
;
18654 resultptr
= new wxDateTime((wxDateTime
&) result
);
18655 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18658 if (temp2
) delete arg2
;
18663 if (temp2
) delete arg2
;
18669 static PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18670 PyObject
*resultobj
;
18671 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18672 wxDateTime::TimeZone
*arg2
= 0 ;
18673 bool arg3
= (bool) False
;
18674 wxDateTime
*result
;
18675 bool temp2
= False
;
18676 PyObject
* obj0
= 0 ;
18677 PyObject
* obj1
= 0 ;
18678 PyObject
* obj2
= 0 ;
18679 char *kwnames
[] = {
18680 (char *) "self",(char *) "tz",(char *) "noDST", NULL
18683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18687 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18691 arg3
= (bool) SWIG_AsBool(obj2
);
18692 if (PyErr_Occurred()) SWIG_fail
;
18695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18697 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
18698 result
= (wxDateTime
*) &_result_ref
;
18701 wxPyEndAllowThreads(__tstate
);
18702 if (PyErr_Occurred()) SWIG_fail
;
18704 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18706 if (temp2
) delete arg2
;
18711 if (temp2
) delete arg2
;
18717 static PyObject
*_wrap_DateTime_ToGMT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18718 PyObject
*resultobj
;
18719 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18720 bool arg2
= (bool) False
;
18722 PyObject
* obj0
= 0 ;
18723 PyObject
* obj1
= 0 ;
18724 char *kwnames
[] = {
18725 (char *) "self",(char *) "noDST", NULL
18728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
18729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18732 arg2
= (bool) SWIG_AsBool(obj1
);
18733 if (PyErr_Occurred()) SWIG_fail
;
18736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18737 result
= (arg1
)->ToGMT(arg2
);
18739 wxPyEndAllowThreads(__tstate
);
18740 if (PyErr_Occurred()) SWIG_fail
;
18743 wxDateTime
* resultptr
;
18744 resultptr
= new wxDateTime((wxDateTime
&) result
);
18745 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18753 static PyObject
*_wrap_DateTime_MakeGMT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18754 PyObject
*resultobj
;
18755 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18756 bool arg2
= (bool) False
;
18757 wxDateTime
*result
;
18758 PyObject
* obj0
= 0 ;
18759 PyObject
* obj1
= 0 ;
18760 char *kwnames
[] = {
18761 (char *) "self",(char *) "noDST", NULL
18764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
18765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18768 arg2
= (bool) SWIG_AsBool(obj1
);
18769 if (PyErr_Occurred()) SWIG_fail
;
18772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18774 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
18775 result
= (wxDateTime
*) &_result_ref
;
18778 wxPyEndAllowThreads(__tstate
);
18779 if (PyErr_Occurred()) SWIG_fail
;
18781 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18788 static PyObject
*_wrap_DateTime_IsDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18789 PyObject
*resultobj
;
18790 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18791 int arg2
= (int) wxDateTime::Country_Default
;
18793 PyObject
* obj0
= 0 ;
18794 PyObject
* obj1
= 0 ;
18795 char *kwnames
[] = {
18796 (char *) "self",(char *) "country", NULL
18799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) goto fail
;
18800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18803 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
18804 if (PyErr_Occurred()) SWIG_fail
;
18807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18808 result
= (int)(arg1
)->IsDST((wxDateTime::Country
)arg2
);
18810 wxPyEndAllowThreads(__tstate
);
18811 if (PyErr_Occurred()) SWIG_fail
;
18813 resultobj
= SWIG_FromInt((int)result
);
18820 static PyObject
*_wrap_DateTime_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18821 PyObject
*resultobj
;
18822 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18824 PyObject
* obj0
= 0 ;
18825 char *kwnames
[] = {
18826 (char *) "self", NULL
18829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_IsValid",kwnames
,&obj0
)) goto fail
;
18830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18834 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
18836 wxPyEndAllowThreads(__tstate
);
18837 if (PyErr_Occurred()) SWIG_fail
;
18840 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18848 static PyObject
*_wrap_DateTime_GetTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18849 PyObject
*resultobj
;
18850 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18852 PyObject
* obj0
= 0 ;
18853 char *kwnames
[] = {
18854 (char *) "self", NULL
18857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetTicks",kwnames
,&obj0
)) goto fail
;
18858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18862 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
18864 wxPyEndAllowThreads(__tstate
);
18865 if (PyErr_Occurred()) SWIG_fail
;
18867 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
18874 static PyObject
*_wrap_DateTime_GetYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18875 PyObject
*resultobj
;
18876 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18877 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
18878 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
18880 bool temp2
= False
;
18881 PyObject
* obj0
= 0 ;
18882 PyObject
* obj1
= 0 ;
18883 char *kwnames
[] = {
18884 (char *) "self",(char *) "tz", NULL
18887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
18888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18892 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18898 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
18900 wxPyEndAllowThreads(__tstate
);
18901 if (PyErr_Occurred()) SWIG_fail
;
18903 resultobj
= SWIG_FromInt((int)result
);
18905 if (temp2
) delete arg2
;
18910 if (temp2
) delete arg2
;
18916 static PyObject
*_wrap_DateTime_GetMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18917 PyObject
*resultobj
;
18918 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18919 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
18920 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
18922 bool temp2
= False
;
18923 PyObject
* obj0
= 0 ;
18924 PyObject
* obj1
= 0 ;
18925 char *kwnames
[] = {
18926 (char *) "self",(char *) "tz", NULL
18929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
18930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18934 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18940 result
= (int)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
18942 wxPyEndAllowThreads(__tstate
);
18943 if (PyErr_Occurred()) SWIG_fail
;
18945 resultobj
= SWIG_FromInt((int)result
);
18947 if (temp2
) delete arg2
;
18952 if (temp2
) delete arg2
;
18958 static PyObject
*_wrap_DateTime_GetDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18959 PyObject
*resultobj
;
18960 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18961 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
18962 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
18964 bool temp2
= False
;
18965 PyObject
* obj0
= 0 ;
18966 PyObject
* obj1
= 0 ;
18967 char *kwnames
[] = {
18968 (char *) "self",(char *) "tz", NULL
18971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18976 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18982 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
18984 wxPyEndAllowThreads(__tstate
);
18985 if (PyErr_Occurred()) SWIG_fail
;
18987 resultobj
= SWIG_FromInt((int)result
);
18989 if (temp2
) delete arg2
;
18994 if (temp2
) delete arg2
;
19000 static PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19001 PyObject
*resultobj
;
19002 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19003 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19004 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19006 bool temp2
= False
;
19007 PyObject
* obj0
= 0 ;
19008 PyObject
* obj1
= 0 ;
19009 char *kwnames
[] = {
19010 (char *) "self",(char *) "tz", NULL
19013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19018 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19024 result
= (int)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
19026 wxPyEndAllowThreads(__tstate
);
19027 if (PyErr_Occurred()) SWIG_fail
;
19029 resultobj
= SWIG_FromInt((int)result
);
19031 if (temp2
) delete arg2
;
19036 if (temp2
) delete arg2
;
19042 static PyObject
*_wrap_DateTime_GetHour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19043 PyObject
*resultobj
;
19044 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19045 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19046 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19048 bool temp2
= False
;
19049 PyObject
* obj0
= 0 ;
19050 PyObject
* obj1
= 0 ;
19051 char *kwnames
[] = {
19052 (char *) "self",(char *) "tz", NULL
19055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
19056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19060 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19066 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
19068 wxPyEndAllowThreads(__tstate
);
19069 if (PyErr_Occurred()) SWIG_fail
;
19071 resultobj
= SWIG_FromInt((int)result
);
19073 if (temp2
) delete arg2
;
19078 if (temp2
) delete arg2
;
19084 static PyObject
*_wrap_DateTime_GetMinute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19085 PyObject
*resultobj
;
19086 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19087 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19088 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19090 bool temp2
= False
;
19091 PyObject
* obj0
= 0 ;
19092 PyObject
* obj1
= 0 ;
19093 char *kwnames
[] = {
19094 (char *) "self",(char *) "tz", NULL
19097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
19098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19102 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19108 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
19110 wxPyEndAllowThreads(__tstate
);
19111 if (PyErr_Occurred()) SWIG_fail
;
19113 resultobj
= SWIG_FromInt((int)result
);
19115 if (temp2
) delete arg2
;
19120 if (temp2
) delete arg2
;
19126 static PyObject
*_wrap_DateTime_GetSecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19127 PyObject
*resultobj
;
19128 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19129 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19130 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19132 bool temp2
= False
;
19133 PyObject
* obj0
= 0 ;
19134 PyObject
* obj1
= 0 ;
19135 char *kwnames
[] = {
19136 (char *) "self",(char *) "tz", NULL
19139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
19140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19144 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19150 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
19152 wxPyEndAllowThreads(__tstate
);
19153 if (PyErr_Occurred()) SWIG_fail
;
19155 resultobj
= SWIG_FromInt((int)result
);
19157 if (temp2
) delete arg2
;
19162 if (temp2
) delete arg2
;
19168 static PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19169 PyObject
*resultobj
;
19170 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19171 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19172 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19174 bool temp2
= False
;
19175 PyObject
* obj0
= 0 ;
19176 PyObject
* obj1
= 0 ;
19177 char *kwnames
[] = {
19178 (char *) "self",(char *) "tz", NULL
19181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
19182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19186 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19192 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
19194 wxPyEndAllowThreads(__tstate
);
19195 if (PyErr_Occurred()) SWIG_fail
;
19197 resultobj
= SWIG_FromInt((int)result
);
19199 if (temp2
) delete arg2
;
19204 if (temp2
) delete arg2
;
19210 static PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19211 PyObject
*resultobj
;
19212 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19213 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19214 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19216 bool temp2
= False
;
19217 PyObject
* obj0
= 0 ;
19218 PyObject
* obj1
= 0 ;
19219 char *kwnames
[] = {
19220 (char *) "self",(char *) "tz", NULL
19223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19228 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19234 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
19236 wxPyEndAllowThreads(__tstate
);
19237 if (PyErr_Occurred()) SWIG_fail
;
19239 resultobj
= SWIG_FromInt((int)result
);
19241 if (temp2
) delete arg2
;
19246 if (temp2
) delete arg2
;
19252 static PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19253 PyObject
*resultobj
;
19254 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19255 int arg2
= (int) wxDateTime::Monday_First
;
19256 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
19257 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
19259 bool temp3
= False
;
19260 PyObject
* obj0
= 0 ;
19261 PyObject
* obj1
= 0 ;
19262 PyObject
* obj2
= 0 ;
19263 char *kwnames
[] = {
19264 (char *) "self",(char *) "flags",(char *) "tz", NULL
19267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19271 arg2
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj1
);
19272 if (PyErr_Occurred()) SWIG_fail
;
19276 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
19281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19282 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
19284 wxPyEndAllowThreads(__tstate
);
19285 if (PyErr_Occurred()) SWIG_fail
;
19287 resultobj
= SWIG_FromInt((int)result
);
19289 if (temp3
) delete arg3
;
19294 if (temp3
) delete arg3
;
19300 static PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19301 PyObject
*resultobj
;
19302 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19303 int arg2
= (int) wxDateTime::Monday_First
;
19304 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
19305 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
19307 bool temp3
= False
;
19308 PyObject
* obj0
= 0 ;
19309 PyObject
* obj1
= 0 ;
19310 PyObject
* obj2
= 0 ;
19311 char *kwnames
[] = {
19312 (char *) "self",(char *) "flags",(char *) "tz", NULL
19315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19319 arg2
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj1
);
19320 if (PyErr_Occurred()) SWIG_fail
;
19324 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
19329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19330 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
19332 wxPyEndAllowThreads(__tstate
);
19333 if (PyErr_Occurred()) SWIG_fail
;
19335 resultobj
= SWIG_FromInt((int)result
);
19337 if (temp3
) delete arg3
;
19342 if (temp3
) delete arg3
;
19348 static PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19349 PyObject
*resultobj
;
19350 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19351 int arg2
= (int) wxDateTime::Country_Default
;
19353 PyObject
* obj0
= 0 ;
19354 PyObject
* obj1
= 0 ;
19355 char *kwnames
[] = {
19356 (char *) "self",(char *) "country", NULL
19359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19363 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
19364 if (PyErr_Occurred()) SWIG_fail
;
19367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19368 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay((wxDateTime::Country
)arg2
);
19370 wxPyEndAllowThreads(__tstate
);
19371 if (PyErr_Occurred()) SWIG_fail
;
19374 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19382 static PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19383 PyObject
*resultobj
;
19384 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19385 wxDateTime
*arg2
= 0 ;
19387 PyObject
* obj0
= 0 ;
19388 PyObject
* obj1
= 0 ;
19389 char *kwnames
[] = {
19390 (char *) "self",(char *) "datetime", NULL
19393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
19394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19396 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19397 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19399 if (arg2
== NULL
) {
19400 PyErr_SetString(PyExc_TypeError
,"null reference");
19404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19405 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
19407 wxPyEndAllowThreads(__tstate
);
19408 if (PyErr_Occurred()) SWIG_fail
;
19411 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19419 static PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19420 PyObject
*resultobj
;
19421 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19422 wxDateTime
*arg2
= 0 ;
19424 PyObject
* obj0
= 0 ;
19425 PyObject
* obj1
= 0 ;
19426 char *kwnames
[] = {
19427 (char *) "self",(char *) "datetime", NULL
19430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) goto fail
;
19431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19433 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19434 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19436 if (arg2
== NULL
) {
19437 PyErr_SetString(PyExc_TypeError
,"null reference");
19441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19442 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
19444 wxPyEndAllowThreads(__tstate
);
19445 if (PyErr_Occurred()) SWIG_fail
;
19448 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19456 static PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19457 PyObject
*resultobj
;
19458 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19459 wxDateTime
*arg2
= 0 ;
19461 PyObject
* obj0
= 0 ;
19462 PyObject
* obj1
= 0 ;
19463 char *kwnames
[] = {
19464 (char *) "self",(char *) "datetime", NULL
19467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
19468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19470 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19471 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19473 if (arg2
== NULL
) {
19474 PyErr_SetString(PyExc_TypeError
,"null reference");
19478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19479 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
19481 wxPyEndAllowThreads(__tstate
);
19482 if (PyErr_Occurred()) SWIG_fail
;
19485 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19493 static PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19494 PyObject
*resultobj
;
19495 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19496 wxDateTime
*arg2
= 0 ;
19497 wxDateTime
*arg3
= 0 ;
19499 PyObject
* obj0
= 0 ;
19500 PyObject
* obj1
= 0 ;
19501 PyObject
* obj2
= 0 ;
19502 char *kwnames
[] = {
19503 (char *) "self",(char *) "t1",(char *) "t2", NULL
19506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19509 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19510 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19512 if (arg2
== NULL
) {
19513 PyErr_SetString(PyExc_TypeError
,"null reference");
19516 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
,
19517 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19519 if (arg3
== NULL
) {
19520 PyErr_SetString(PyExc_TypeError
,"null reference");
19524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19525 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
19527 wxPyEndAllowThreads(__tstate
);
19528 if (PyErr_Occurred()) SWIG_fail
;
19531 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19539 static PyObject
*_wrap_DateTime_IsBetween(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19540 PyObject
*resultobj
;
19541 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19542 wxDateTime
*arg2
= 0 ;
19543 wxDateTime
*arg3
= 0 ;
19545 PyObject
* obj0
= 0 ;
19546 PyObject
* obj1
= 0 ;
19547 PyObject
* obj2
= 0 ;
19548 char *kwnames
[] = {
19549 (char *) "self",(char *) "t1",(char *) "t2", NULL
19552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) 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_wxDateTime
,
19556 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19558 if (arg2
== NULL
) {
19559 PyErr_SetString(PyExc_TypeError
,"null reference");
19562 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
,
19563 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19565 if (arg3
== NULL
) {
19566 PyErr_SetString(PyExc_TypeError
,"null reference");
19570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19571 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
19573 wxPyEndAllowThreads(__tstate
);
19574 if (PyErr_Occurred()) SWIG_fail
;
19577 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19585 static PyObject
*_wrap_DateTime_IsSameDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19586 PyObject
*resultobj
;
19587 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19588 wxDateTime
*arg2
= 0 ;
19590 PyObject
* obj0
= 0 ;
19591 PyObject
* obj1
= 0 ;
19592 char *kwnames
[] = {
19593 (char *) "self",(char *) "dt", NULL
19596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) goto fail
;
19597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19599 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19600 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19602 if (arg2
== NULL
) {
19603 PyErr_SetString(PyExc_TypeError
,"null reference");
19607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19608 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
19610 wxPyEndAllowThreads(__tstate
);
19611 if (PyErr_Occurred()) SWIG_fail
;
19614 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19622 static PyObject
*_wrap_DateTime_IsSameTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19623 PyObject
*resultobj
;
19624 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19625 wxDateTime
*arg2
= 0 ;
19627 PyObject
* obj0
= 0 ;
19628 PyObject
* obj1
= 0 ;
19629 char *kwnames
[] = {
19630 (char *) "self",(char *) "dt", NULL
19633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) goto fail
;
19634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19636 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19637 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19639 if (arg2
== NULL
) {
19640 PyErr_SetString(PyExc_TypeError
,"null reference");
19644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19645 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
19647 wxPyEndAllowThreads(__tstate
);
19648 if (PyErr_Occurred()) SWIG_fail
;
19651 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19659 static PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19660 PyObject
*resultobj
;
19661 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19662 wxDateTime
*arg2
= 0 ;
19663 wxTimeSpan
*arg3
= 0 ;
19665 PyObject
* obj0
= 0 ;
19666 PyObject
* obj1
= 0 ;
19667 PyObject
* obj2
= 0 ;
19668 char *kwnames
[] = {
19669 (char *) "self",(char *) "dt",(char *) "ts", NULL
19672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19675 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19676 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19678 if (arg2
== NULL
) {
19679 PyErr_SetString(PyExc_TypeError
,"null reference");
19682 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTimeSpan
,
19683 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19685 if (arg3
== NULL
) {
19686 PyErr_SetString(PyExc_TypeError
,"null reference");
19690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19691 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
19693 wxPyEndAllowThreads(__tstate
);
19694 if (PyErr_Occurred()) SWIG_fail
;
19697 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19705 static PyObject
*_wrap_DateTime_AddTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19706 PyObject
*resultobj
;
19707 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19708 wxTimeSpan
*arg2
= 0 ;
19709 wxDateTime
*result
;
19710 PyObject
* obj0
= 0 ;
19711 PyObject
* obj1
= 0 ;
19712 char *kwnames
[] = {
19713 (char *) "self",(char *) "diff", NULL
19716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) goto fail
;
19717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19719 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
19720 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19722 if (arg2
== NULL
) {
19723 PyErr_SetString(PyExc_TypeError
,"null reference");
19727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19729 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
19730 result
= (wxDateTime
*) &_result_ref
;
19733 wxPyEndAllowThreads(__tstate
);
19734 if (PyErr_Occurred()) SWIG_fail
;
19736 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19743 static PyObject
*_wrap_DateTime_AddDS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19744 PyObject
*resultobj
;
19745 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19746 wxDateSpan
*arg2
= 0 ;
19747 wxDateTime
*result
;
19748 PyObject
* obj0
= 0 ;
19749 PyObject
* obj1
= 0 ;
19750 char *kwnames
[] = {
19751 (char *) "self",(char *) "diff", NULL
19754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) goto fail
;
19755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19757 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
19758 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19760 if (arg2
== NULL
) {
19761 PyErr_SetString(PyExc_TypeError
,"null reference");
19765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19767 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
19768 result
= (wxDateTime
*) &_result_ref
;
19771 wxPyEndAllowThreads(__tstate
);
19772 if (PyErr_Occurred()) SWIG_fail
;
19774 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19781 static PyObject
*_wrap_DateTime_SubtractTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19782 PyObject
*resultobj
;
19783 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19784 wxTimeSpan
*arg2
= 0 ;
19785 wxDateTime
*result
;
19786 PyObject
* obj0
= 0 ;
19787 PyObject
* obj1
= 0 ;
19788 char *kwnames
[] = {
19789 (char *) "self",(char *) "diff", NULL
19792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) goto fail
;
19793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19795 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
19796 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19798 if (arg2
== NULL
) {
19799 PyErr_SetString(PyExc_TypeError
,"null reference");
19803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19805 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
19806 result
= (wxDateTime
*) &_result_ref
;
19809 wxPyEndAllowThreads(__tstate
);
19810 if (PyErr_Occurred()) SWIG_fail
;
19812 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19819 static PyObject
*_wrap_DateTime_SubtractDS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19820 PyObject
*resultobj
;
19821 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19822 wxDateSpan
*arg2
= 0 ;
19823 wxDateTime
*result
;
19824 PyObject
* obj0
= 0 ;
19825 PyObject
* obj1
= 0 ;
19826 char *kwnames
[] = {
19827 (char *) "self",(char *) "diff", NULL
19830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) goto fail
;
19831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19833 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
19834 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19836 if (arg2
== NULL
) {
19837 PyErr_SetString(PyExc_TypeError
,"null reference");
19841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19843 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
19844 result
= (wxDateTime
*) &_result_ref
;
19847 wxPyEndAllowThreads(__tstate
);
19848 if (PyErr_Occurred()) SWIG_fail
;
19850 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19857 static PyObject
*_wrap_DateTime_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19858 PyObject
*resultobj
;
19859 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19860 wxDateTime
*arg2
= 0 ;
19862 PyObject
* obj0
= 0 ;
19863 PyObject
* obj1
= 0 ;
19864 char *kwnames
[] = {
19865 (char *) "self",(char *) "dt", NULL
19868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
19869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19871 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19872 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19874 if (arg2
== NULL
) {
19875 PyErr_SetString(PyExc_TypeError
,"null reference");
19879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19880 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
19882 wxPyEndAllowThreads(__tstate
);
19883 if (PyErr_Occurred()) SWIG_fail
;
19886 wxTimeSpan
* resultptr
;
19887 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19888 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
19896 static PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*self
, PyObject
*args
) {
19897 PyObject
*resultobj
;
19898 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19899 wxTimeSpan
*arg2
= 0 ;
19900 wxDateTime
*result
;
19901 PyObject
* obj0
= 0 ;
19902 PyObject
* obj1
= 0 ;
19904 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
19905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19907 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
19908 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19910 if (arg2
== NULL
) {
19911 PyErr_SetString(PyExc_TypeError
,"null reference");
19915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19917 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
19918 result
= (wxDateTime
*) &_result_ref
;
19921 wxPyEndAllowThreads(__tstate
);
19922 if (PyErr_Occurred()) SWIG_fail
;
19924 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19931 static PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*self
, PyObject
*args
) {
19932 PyObject
*resultobj
;
19933 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19934 wxDateSpan
*arg2
= 0 ;
19935 wxDateTime
*result
;
19936 PyObject
* obj0
= 0 ;
19937 PyObject
* obj1
= 0 ;
19939 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
19940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19942 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
19943 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19945 if (arg2
== NULL
) {
19946 PyErr_SetString(PyExc_TypeError
,"null reference");
19950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19952 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
19953 result
= (wxDateTime
*) &_result_ref
;
19956 wxPyEndAllowThreads(__tstate
);
19957 if (PyErr_Occurred()) SWIG_fail
;
19959 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19966 static PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
19971 argc
= PyObject_Length(args
);
19972 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
19973 argv
[ii
] = PyTuple_GetItem(args
,ii
);
19979 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
19989 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
19997 return _wrap_DateTime___iadd____SWIG_0(self
,args
);
20005 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20015 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20023 return _wrap_DateTime___iadd____SWIG_1(self
,args
);
20028 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___iadd__'");
20033 static PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*self
, PyObject
*args
) {
20034 PyObject
*resultobj
;
20035 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20036 wxTimeSpan
*arg2
= 0 ;
20037 wxDateTime
*result
;
20038 PyObject
* obj0
= 0 ;
20039 PyObject
* obj1
= 0 ;
20041 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
20042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20044 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20045 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20047 if (arg2
== NULL
) {
20048 PyErr_SetString(PyExc_TypeError
,"null reference");
20052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20054 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
20055 result
= (wxDateTime
*) &_result_ref
;
20058 wxPyEndAllowThreads(__tstate
);
20059 if (PyErr_Occurred()) SWIG_fail
;
20061 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20068 static PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*self
, PyObject
*args
) {
20069 PyObject
*resultobj
;
20070 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20071 wxDateSpan
*arg2
= 0 ;
20072 wxDateTime
*result
;
20073 PyObject
* obj0
= 0 ;
20074 PyObject
* obj1
= 0 ;
20076 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
20077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20079 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20080 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20082 if (arg2
== NULL
) {
20083 PyErr_SetString(PyExc_TypeError
,"null reference");
20087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20089 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
20090 result
= (wxDateTime
*) &_result_ref
;
20093 wxPyEndAllowThreads(__tstate
);
20094 if (PyErr_Occurred()) SWIG_fail
;
20096 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20103 static PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
20108 argc
= PyObject_Length(args
);
20109 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20110 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20116 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20126 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20134 return _wrap_DateTime___isub____SWIG_0(self
,args
);
20142 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20152 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20160 return _wrap_DateTime___isub____SWIG_1(self
,args
);
20165 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___isub__'");
20170 static PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*self
, PyObject
*args
) {
20171 PyObject
*resultobj
;
20172 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20173 wxTimeSpan
*arg2
= 0 ;
20175 PyObject
* obj0
= 0 ;
20176 PyObject
* obj1
= 0 ;
20178 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
20179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20181 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20182 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20184 if (arg2
== NULL
) {
20185 PyErr_SetString(PyExc_TypeError
,"null reference");
20189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20190 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
20192 wxPyEndAllowThreads(__tstate
);
20193 if (PyErr_Occurred()) SWIG_fail
;
20196 wxDateTime
* resultptr
;
20197 resultptr
= new wxDateTime((wxDateTime
&) result
);
20198 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20206 static PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*self
, PyObject
*args
) {
20207 PyObject
*resultobj
;
20208 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20209 wxDateSpan
*arg2
= 0 ;
20211 PyObject
* obj0
= 0 ;
20212 PyObject
* obj1
= 0 ;
20214 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
20215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20217 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20218 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20220 if (arg2
== NULL
) {
20221 PyErr_SetString(PyExc_TypeError
,"null reference");
20225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20226 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
20228 wxPyEndAllowThreads(__tstate
);
20229 if (PyErr_Occurred()) SWIG_fail
;
20232 wxDateTime
* resultptr
;
20233 resultptr
= new wxDateTime((wxDateTime
&) result
);
20234 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20242 static PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
20247 argc
= PyObject_Length(args
);
20248 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20249 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20255 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20265 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20273 return _wrap_DateTime___add____SWIG_0(self
,args
);
20281 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20291 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20299 return _wrap_DateTime___add____SWIG_1(self
,args
);
20304 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___add__'");
20309 static PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*self
, PyObject
*args
) {
20310 PyObject
*resultobj
;
20311 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20312 wxDateTime
*arg2
= 0 ;
20314 PyObject
* obj0
= 0 ;
20315 PyObject
* obj1
= 0 ;
20317 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20320 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20321 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20323 if (arg2
== NULL
) {
20324 PyErr_SetString(PyExc_TypeError
,"null reference");
20328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20329 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
20331 wxPyEndAllowThreads(__tstate
);
20332 if (PyErr_Occurred()) SWIG_fail
;
20335 wxTimeSpan
* resultptr
;
20336 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
20337 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
20345 static PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*self
, PyObject
*args
) {
20346 PyObject
*resultobj
;
20347 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20348 wxTimeSpan
*arg2
= 0 ;
20350 PyObject
* obj0
= 0 ;
20351 PyObject
* obj1
= 0 ;
20353 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20356 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20357 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20359 if (arg2
== NULL
) {
20360 PyErr_SetString(PyExc_TypeError
,"null reference");
20364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20365 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
20367 wxPyEndAllowThreads(__tstate
);
20368 if (PyErr_Occurred()) SWIG_fail
;
20371 wxDateTime
* resultptr
;
20372 resultptr
= new wxDateTime((wxDateTime
&) result
);
20373 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20381 static PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*self
, PyObject
*args
) {
20382 PyObject
*resultobj
;
20383 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20384 wxDateSpan
*arg2
= 0 ;
20386 PyObject
* obj0
= 0 ;
20387 PyObject
* obj1
= 0 ;
20389 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20392 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20393 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20395 if (arg2
== NULL
) {
20396 PyErr_SetString(PyExc_TypeError
,"null reference");
20400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20401 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
20403 wxPyEndAllowThreads(__tstate
);
20404 if (PyErr_Occurred()) SWIG_fail
;
20407 wxDateTime
* resultptr
;
20408 resultptr
= new wxDateTime((wxDateTime
&) result
);
20409 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20417 static PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
20422 argc
= PyObject_Length(args
);
20423 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20424 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20430 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20440 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20448 return _wrap_DateTime___sub____SWIG_0(self
,args
);
20456 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20466 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20474 return _wrap_DateTime___sub____SWIG_1(self
,args
);
20482 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20492 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20500 return _wrap_DateTime___sub____SWIG_2(self
,args
);
20505 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___sub__'");
20510 static PyObject
*_wrap_DateTime___lt__(PyObject
*self
, PyObject
*args
) {
20511 PyObject
*resultobj
;
20512 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20513 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20515 PyObject
* obj0
= 0 ;
20516 PyObject
* obj1
= 0 ;
20518 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___lt__",&obj0
,&obj1
)) goto fail
;
20519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20521 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20525 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const *)arg2
);
20527 wxPyEndAllowThreads(__tstate
);
20528 if (PyErr_Occurred()) SWIG_fail
;
20531 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20539 static PyObject
*_wrap_DateTime___le__(PyObject
*self
, PyObject
*args
) {
20540 PyObject
*resultobj
;
20541 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20542 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20544 PyObject
* obj0
= 0 ;
20545 PyObject
* obj1
= 0 ;
20547 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___le__",&obj0
,&obj1
)) goto fail
;
20548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20550 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20554 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const *)arg2
);
20556 wxPyEndAllowThreads(__tstate
);
20557 if (PyErr_Occurred()) SWIG_fail
;
20560 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20568 static PyObject
*_wrap_DateTime___gt__(PyObject
*self
, PyObject
*args
) {
20569 PyObject
*resultobj
;
20570 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20571 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20573 PyObject
* obj0
= 0 ;
20574 PyObject
* obj1
= 0 ;
20576 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___gt__",&obj0
,&obj1
)) goto fail
;
20577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20579 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20583 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const *)arg2
);
20585 wxPyEndAllowThreads(__tstate
);
20586 if (PyErr_Occurred()) SWIG_fail
;
20589 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20597 static PyObject
*_wrap_DateTime___ge__(PyObject
*self
, PyObject
*args
) {
20598 PyObject
*resultobj
;
20599 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20600 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20602 PyObject
* obj0
= 0 ;
20603 PyObject
* obj1
= 0 ;
20605 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ge__",&obj0
,&obj1
)) goto fail
;
20606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20608 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20612 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const *)arg2
);
20614 wxPyEndAllowThreads(__tstate
);
20615 if (PyErr_Occurred()) SWIG_fail
;
20618 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20626 static PyObject
*_wrap_DateTime___eq__(PyObject
*self
, PyObject
*args
) {
20627 PyObject
*resultobj
;
20628 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20629 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20631 PyObject
* obj0
= 0 ;
20632 PyObject
* obj1
= 0 ;
20634 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___eq__",&obj0
,&obj1
)) goto fail
;
20635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20637 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20641 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const *)arg2
);
20643 wxPyEndAllowThreads(__tstate
);
20644 if (PyErr_Occurred()) SWIG_fail
;
20647 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20655 static PyObject
*_wrap_DateTime___ne__(PyObject
*self
, PyObject
*args
) {
20656 PyObject
*resultobj
;
20657 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20658 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20660 PyObject
* obj0
= 0 ;
20661 PyObject
* obj1
= 0 ;
20663 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ne__",&obj0
,&obj1
)) goto fail
;
20664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20666 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20670 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const *)arg2
);
20672 wxPyEndAllowThreads(__tstate
);
20673 if (PyErr_Occurred()) SWIG_fail
;
20676 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20684 static PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20685 PyObject
*resultobj
;
20686 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20687 wxString
*arg2
= 0 ;
20689 bool temp2
= False
;
20690 PyObject
* obj0
= 0 ;
20691 PyObject
* obj1
= 0 ;
20692 char *kwnames
[] = {
20693 (char *) "self",(char *) "date", NULL
20696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) goto fail
;
20697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20700 arg2
= wxString_in_helper(obj1
);
20701 if (arg2
== NULL
) SWIG_fail
;
20705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20706 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
20708 wxPyEndAllowThreads(__tstate
);
20709 if (PyErr_Occurred()) SWIG_fail
;
20711 resultobj
= SWIG_FromInt((int)result
);
20726 static PyObject
*_wrap_DateTime_ParseFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20727 PyObject
*resultobj
;
20728 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20729 wxString
*arg2
= 0 ;
20730 wxString
const &arg3_defvalue
= wxPyDateFormatStr
;
20731 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20732 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
20733 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
20735 bool temp2
= False
;
20736 bool temp3
= False
;
20737 PyObject
* obj0
= 0 ;
20738 PyObject
* obj1
= 0 ;
20739 PyObject
* obj2
= 0 ;
20740 PyObject
* obj3
= 0 ;
20741 char *kwnames
[] = {
20742 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
20745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20749 arg2
= wxString_in_helper(obj1
);
20750 if (arg2
== NULL
) SWIG_fail
;
20755 arg3
= wxString_in_helper(obj2
);
20756 if (arg3
== NULL
) SWIG_fail
;
20761 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDateTime
,
20762 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20764 if (arg4
== NULL
) {
20765 PyErr_SetString(PyExc_TypeError
,"null reference");
20770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20771 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
20773 wxPyEndAllowThreads(__tstate
);
20774 if (PyErr_Occurred()) SWIG_fail
;
20776 resultobj
= SWIG_FromInt((int)result
);
20799 static PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20800 PyObject
*resultobj
;
20801 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20802 wxString
*arg2
= 0 ;
20804 bool temp2
= False
;
20805 PyObject
* obj0
= 0 ;
20806 PyObject
* obj1
= 0 ;
20807 char *kwnames
[] = {
20808 (char *) "self",(char *) "datetime", NULL
20811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) goto fail
;
20812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20815 arg2
= wxString_in_helper(obj1
);
20816 if (arg2
== NULL
) SWIG_fail
;
20820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20821 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
20823 wxPyEndAllowThreads(__tstate
);
20824 if (PyErr_Occurred()) SWIG_fail
;
20826 resultobj
= SWIG_FromInt((int)result
);
20841 static PyObject
*_wrap_DateTime_ParseDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20842 PyObject
*resultobj
;
20843 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20844 wxString
*arg2
= 0 ;
20846 bool temp2
= False
;
20847 PyObject
* obj0
= 0 ;
20848 PyObject
* obj1
= 0 ;
20849 char *kwnames
[] = {
20850 (char *) "self",(char *) "date", NULL
20853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) goto fail
;
20854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20857 arg2
= wxString_in_helper(obj1
);
20858 if (arg2
== NULL
) SWIG_fail
;
20862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20863 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
20865 wxPyEndAllowThreads(__tstate
);
20866 if (PyErr_Occurred()) SWIG_fail
;
20868 resultobj
= SWIG_FromInt((int)result
);
20883 static PyObject
*_wrap_DateTime_ParseTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20884 PyObject
*resultobj
;
20885 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20886 wxString
*arg2
= 0 ;
20888 bool temp2
= False
;
20889 PyObject
* obj0
= 0 ;
20890 PyObject
* obj1
= 0 ;
20891 char *kwnames
[] = {
20892 (char *) "self",(char *) "time", NULL
20895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) goto fail
;
20896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20899 arg2
= wxString_in_helper(obj1
);
20900 if (arg2
== NULL
) SWIG_fail
;
20904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20905 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
20907 wxPyEndAllowThreads(__tstate
);
20908 if (PyErr_Occurred()) SWIG_fail
;
20910 resultobj
= SWIG_FromInt((int)result
);
20925 static PyObject
*_wrap_DateTime_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20926 PyObject
*resultobj
;
20927 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20928 wxString
const &arg2_defvalue
= wxPyDateFormatStr
;
20929 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
20930 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
20931 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
20933 bool temp2
= False
;
20934 bool temp3
= False
;
20935 PyObject
* obj0
= 0 ;
20936 PyObject
* obj1
= 0 ;
20937 PyObject
* obj2
= 0 ;
20938 char *kwnames
[] = {
20939 (char *) "self",(char *) "format",(char *) "tz", NULL
20942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20947 arg2
= wxString_in_helper(obj1
);
20948 if (arg2
== NULL
) SWIG_fail
;
20954 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
20959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20960 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
20962 wxPyEndAllowThreads(__tstate
);
20963 if (PyErr_Occurred()) SWIG_fail
;
20967 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20969 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20977 if (temp3
) delete arg3
;
20986 if (temp3
) delete arg3
;
20992 static PyObject
*_wrap_DateTime_FormatDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20993 PyObject
*resultobj
;
20994 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20996 PyObject
* obj0
= 0 ;
20997 char *kwnames
[] = {
20998 (char *) "self", NULL
21001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatDate",kwnames
,&obj0
)) goto fail
;
21002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21006 result
= ((wxDateTime
const *)arg1
)->FormatDate();
21008 wxPyEndAllowThreads(__tstate
);
21009 if (PyErr_Occurred()) SWIG_fail
;
21013 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21015 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21024 static PyObject
*_wrap_DateTime_FormatTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21025 PyObject
*resultobj
;
21026 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21028 PyObject
* obj0
= 0 ;
21029 char *kwnames
[] = {
21030 (char *) "self", NULL
21033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatTime",kwnames
,&obj0
)) goto fail
;
21034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21038 result
= ((wxDateTime
const *)arg1
)->FormatTime();
21040 wxPyEndAllowThreads(__tstate
);
21041 if (PyErr_Occurred()) SWIG_fail
;
21045 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21047 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21056 static PyObject
*_wrap_DateTime_FormatISODate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21057 PyObject
*resultobj
;
21058 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21060 PyObject
* obj0
= 0 ;
21061 char *kwnames
[] = {
21062 (char *) "self", NULL
21065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISODate",kwnames
,&obj0
)) goto fail
;
21066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21070 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
21072 wxPyEndAllowThreads(__tstate
);
21073 if (PyErr_Occurred()) SWIG_fail
;
21077 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21079 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21088 static PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21089 PyObject
*resultobj
;
21090 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21092 PyObject
* obj0
= 0 ;
21093 char *kwnames
[] = {
21094 (char *) "self", NULL
21097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISOTime",kwnames
,&obj0
)) goto fail
;
21098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21102 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
21104 wxPyEndAllowThreads(__tstate
);
21105 if (PyErr_Occurred()) SWIG_fail
;
21109 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21111 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21120 static PyObject
* DateTime_swigregister(PyObject
*self
, PyObject
*args
) {
21122 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21123 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime
, obj
);
21125 return Py_BuildValue((char *)"");
21127 static PyObject
*_wrap_TimeSpan_Seconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21128 PyObject
*resultobj
;
21131 PyObject
* obj0
= 0 ;
21132 char *kwnames
[] = {
21133 (char *) "sec", NULL
21136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",kwnames
,&obj0
)) goto fail
;
21137 arg1
= (long) SWIG_AsLong(obj0
);
21138 if (PyErr_Occurred()) SWIG_fail
;
21140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21141 result
= wxTimeSpan::Seconds(arg1
);
21143 wxPyEndAllowThreads(__tstate
);
21144 if (PyErr_Occurred()) SWIG_fail
;
21147 wxTimeSpan
* resultptr
;
21148 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21149 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21157 static PyObject
*_wrap_TimeSpan_Second(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21158 PyObject
*resultobj
;
21160 char *kwnames
[] = {
21164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Second",kwnames
)) goto fail
;
21166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21167 result
= wxTimeSpan::Second();
21169 wxPyEndAllowThreads(__tstate
);
21170 if (PyErr_Occurred()) SWIG_fail
;
21173 wxTimeSpan
* resultptr
;
21174 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21175 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21183 static PyObject
*_wrap_TimeSpan_Minutes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21184 PyObject
*resultobj
;
21187 PyObject
* obj0
= 0 ;
21188 char *kwnames
[] = {
21189 (char *) "min", NULL
21192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",kwnames
,&obj0
)) goto fail
;
21193 arg1
= (long) SWIG_AsLong(obj0
);
21194 if (PyErr_Occurred()) SWIG_fail
;
21196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21197 result
= wxTimeSpan::Minutes(arg1
);
21199 wxPyEndAllowThreads(__tstate
);
21200 if (PyErr_Occurred()) SWIG_fail
;
21203 wxTimeSpan
* resultptr
;
21204 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21205 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21213 static PyObject
*_wrap_TimeSpan_Minute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21214 PyObject
*resultobj
;
21216 char *kwnames
[] = {
21220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Minute",kwnames
)) goto fail
;
21222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21223 result
= wxTimeSpan::Minute();
21225 wxPyEndAllowThreads(__tstate
);
21226 if (PyErr_Occurred()) SWIG_fail
;
21229 wxTimeSpan
* resultptr
;
21230 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21231 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21239 static PyObject
*_wrap_TimeSpan_Hours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21240 PyObject
*resultobj
;
21243 PyObject
* obj0
= 0 ;
21244 char *kwnames
[] = {
21245 (char *) "hours", NULL
21248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",kwnames
,&obj0
)) goto fail
;
21249 arg1
= (long) SWIG_AsLong(obj0
);
21250 if (PyErr_Occurred()) SWIG_fail
;
21252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21253 result
= wxTimeSpan::Hours(arg1
);
21255 wxPyEndAllowThreads(__tstate
);
21256 if (PyErr_Occurred()) SWIG_fail
;
21259 wxTimeSpan
* resultptr
;
21260 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21261 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21269 static PyObject
*_wrap_TimeSpan_Hour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21270 PyObject
*resultobj
;
21272 char *kwnames
[] = {
21276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Hour",kwnames
)) goto fail
;
21278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21279 result
= wxTimeSpan::Hour();
21281 wxPyEndAllowThreads(__tstate
);
21282 if (PyErr_Occurred()) SWIG_fail
;
21285 wxTimeSpan
* resultptr
;
21286 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21287 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21295 static PyObject
*_wrap_TimeSpan_Days(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21296 PyObject
*resultobj
;
21299 PyObject
* obj0
= 0 ;
21300 char *kwnames
[] = {
21301 (char *) "days", NULL
21304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Days",kwnames
,&obj0
)) goto fail
;
21305 arg1
= (long) SWIG_AsLong(obj0
);
21306 if (PyErr_Occurred()) SWIG_fail
;
21308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21309 result
= wxTimeSpan::Days(arg1
);
21311 wxPyEndAllowThreads(__tstate
);
21312 if (PyErr_Occurred()) SWIG_fail
;
21315 wxTimeSpan
* resultptr
;
21316 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21317 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21325 static PyObject
*_wrap_TimeSpan_Day(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21326 PyObject
*resultobj
;
21328 char *kwnames
[] = {
21332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Day",kwnames
)) goto fail
;
21334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21335 result
= wxTimeSpan::Day();
21337 wxPyEndAllowThreads(__tstate
);
21338 if (PyErr_Occurred()) SWIG_fail
;
21341 wxTimeSpan
* resultptr
;
21342 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21343 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21351 static PyObject
*_wrap_TimeSpan_Weeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21352 PyObject
*resultobj
;
21355 PyObject
* obj0
= 0 ;
21356 char *kwnames
[] = {
21357 (char *) "days", NULL
21360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) goto fail
;
21361 arg1
= (long) SWIG_AsLong(obj0
);
21362 if (PyErr_Occurred()) SWIG_fail
;
21364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21365 result
= wxTimeSpan::Weeks(arg1
);
21367 wxPyEndAllowThreads(__tstate
);
21368 if (PyErr_Occurred()) SWIG_fail
;
21371 wxTimeSpan
* resultptr
;
21372 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21373 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21381 static PyObject
*_wrap_TimeSpan_Week(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21382 PyObject
*resultobj
;
21384 char *kwnames
[] = {
21388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Week",kwnames
)) goto fail
;
21390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21391 result
= wxTimeSpan::Week();
21393 wxPyEndAllowThreads(__tstate
);
21394 if (PyErr_Occurred()) SWIG_fail
;
21397 wxTimeSpan
* resultptr
;
21398 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21399 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21407 static PyObject
*_wrap_new_TimeSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21408 PyObject
*resultobj
;
21409 long arg1
= (long) 0 ;
21410 long arg2
= (long) 0 ;
21411 long arg3
= (long) 0 ;
21412 long arg4
= (long) 0 ;
21413 wxTimeSpan
*result
;
21414 PyObject
* obj0
= 0 ;
21415 PyObject
* obj1
= 0 ;
21416 PyObject
* obj2
= 0 ;
21417 PyObject
* obj3
= 0 ;
21418 char *kwnames
[] = {
21419 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
21422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21424 arg1
= (long) SWIG_AsLong(obj0
);
21425 if (PyErr_Occurred()) SWIG_fail
;
21428 arg2
= (long) SWIG_AsLong(obj1
);
21429 if (PyErr_Occurred()) SWIG_fail
;
21432 arg3
= (long) SWIG_AsLong(obj2
);
21433 if (PyErr_Occurred()) SWIG_fail
;
21436 arg4
= (long) SWIG_AsLong(obj3
);
21437 if (PyErr_Occurred()) SWIG_fail
;
21440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21441 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
21443 wxPyEndAllowThreads(__tstate
);
21444 if (PyErr_Occurred()) SWIG_fail
;
21446 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
21453 static PyObject
*_wrap_delete_TimeSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21454 PyObject
*resultobj
;
21455 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21456 PyObject
* obj0
= 0 ;
21457 char *kwnames
[] = {
21458 (char *) "self", NULL
21461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimeSpan",kwnames
,&obj0
)) goto fail
;
21462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21468 wxPyEndAllowThreads(__tstate
);
21469 if (PyErr_Occurred()) SWIG_fail
;
21471 Py_INCREF(Py_None
); resultobj
= Py_None
;
21478 static PyObject
*_wrap_TimeSpan_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21479 PyObject
*resultobj
;
21480 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21481 wxTimeSpan
*arg2
= 0 ;
21482 wxTimeSpan
*result
;
21483 PyObject
* obj0
= 0 ;
21484 PyObject
* obj1
= 0 ;
21485 char *kwnames
[] = {
21486 (char *) "self",(char *) "diff", NULL
21489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
21490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21492 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21493 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21495 if (arg2
== NULL
) {
21496 PyErr_SetString(PyExc_TypeError
,"null reference");
21500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21502 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
21503 result
= (wxTimeSpan
*) &_result_ref
;
21506 wxPyEndAllowThreads(__tstate
);
21507 if (PyErr_Occurred()) SWIG_fail
;
21509 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21516 static PyObject
*_wrap_TimeSpan_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21517 PyObject
*resultobj
;
21518 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21519 wxTimeSpan
*arg2
= 0 ;
21520 wxTimeSpan
*result
;
21521 PyObject
* obj0
= 0 ;
21522 PyObject
* obj1
= 0 ;
21523 char *kwnames
[] = {
21524 (char *) "self",(char *) "diff", NULL
21527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
21528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21530 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21531 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21533 if (arg2
== NULL
) {
21534 PyErr_SetString(PyExc_TypeError
,"null reference");
21538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21540 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
21541 result
= (wxTimeSpan
*) &_result_ref
;
21544 wxPyEndAllowThreads(__tstate
);
21545 if (PyErr_Occurred()) SWIG_fail
;
21547 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21554 static PyObject
*_wrap_TimeSpan_Multiply(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21555 PyObject
*resultobj
;
21556 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21558 wxTimeSpan
*result
;
21559 PyObject
* obj0
= 0 ;
21560 PyObject
* obj1
= 0 ;
21561 char *kwnames
[] = {
21562 (char *) "self",(char *) "n", NULL
21565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
21566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21568 arg2
= (int) SWIG_AsInt(obj1
);
21569 if (PyErr_Occurred()) SWIG_fail
;
21571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21573 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
21574 result
= (wxTimeSpan
*) &_result_ref
;
21577 wxPyEndAllowThreads(__tstate
);
21578 if (PyErr_Occurred()) SWIG_fail
;
21580 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21587 static PyObject
*_wrap_TimeSpan_Neg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21588 PyObject
*resultobj
;
21589 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21590 wxTimeSpan
*result
;
21591 PyObject
* obj0
= 0 ;
21592 char *kwnames
[] = {
21593 (char *) "self", NULL
21596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Neg",kwnames
,&obj0
)) goto fail
;
21597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21602 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
21603 result
= (wxTimeSpan
*) &_result_ref
;
21606 wxPyEndAllowThreads(__tstate
);
21607 if (PyErr_Occurred()) SWIG_fail
;
21609 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21616 static PyObject
*_wrap_TimeSpan_Abs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21617 PyObject
*resultobj
;
21618 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21620 PyObject
* obj0
= 0 ;
21621 char *kwnames
[] = {
21622 (char *) "self", NULL
21625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Abs",kwnames
,&obj0
)) goto fail
;
21626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21630 result
= ((wxTimeSpan
const *)arg1
)->Abs();
21632 wxPyEndAllowThreads(__tstate
);
21633 if (PyErr_Occurred()) SWIG_fail
;
21636 wxTimeSpan
* resultptr
;
21637 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21638 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21646 static PyObject
*_wrap_TimeSpan___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21647 PyObject
*resultobj
;
21648 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21649 wxTimeSpan
*arg2
= 0 ;
21650 wxTimeSpan
*result
;
21651 PyObject
* obj0
= 0 ;
21652 PyObject
* obj1
= 0 ;
21653 char *kwnames
[] = {
21654 (char *) "self",(char *) "diff", NULL
21657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
21658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21660 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21661 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21663 if (arg2
== NULL
) {
21664 PyErr_SetString(PyExc_TypeError
,"null reference");
21668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21670 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
21671 result
= (wxTimeSpan
*) &_result_ref
;
21674 wxPyEndAllowThreads(__tstate
);
21675 if (PyErr_Occurred()) SWIG_fail
;
21677 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21684 static PyObject
*_wrap_TimeSpan___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21685 PyObject
*resultobj
;
21686 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21687 wxTimeSpan
*arg2
= 0 ;
21688 wxTimeSpan
*result
;
21689 PyObject
* obj0
= 0 ;
21690 PyObject
* obj1
= 0 ;
21691 char *kwnames
[] = {
21692 (char *) "self",(char *) "diff", NULL
21695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
21696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21698 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21699 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21701 if (arg2
== NULL
) {
21702 PyErr_SetString(PyExc_TypeError
,"null reference");
21706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21708 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
21709 result
= (wxTimeSpan
*) &_result_ref
;
21712 wxPyEndAllowThreads(__tstate
);
21713 if (PyErr_Occurred()) SWIG_fail
;
21715 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21722 static PyObject
*_wrap_TimeSpan___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21723 PyObject
*resultobj
;
21724 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21726 wxTimeSpan
*result
;
21727 PyObject
* obj0
= 0 ;
21728 PyObject
* obj1
= 0 ;
21729 char *kwnames
[] = {
21730 (char *) "self",(char *) "n", NULL
21733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
21734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21736 arg2
= (int) SWIG_AsInt(obj1
);
21737 if (PyErr_Occurred()) SWIG_fail
;
21739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21741 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
21742 result
= (wxTimeSpan
*) &_result_ref
;
21745 wxPyEndAllowThreads(__tstate
);
21746 if (PyErr_Occurred()) SWIG_fail
;
21748 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21755 static PyObject
*_wrap_TimeSpan___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21756 PyObject
*resultobj
;
21757 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21758 wxTimeSpan
*result
;
21759 PyObject
* obj0
= 0 ;
21760 char *kwnames
[] = {
21761 (char *) "self", NULL
21764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan___neg__",kwnames
,&obj0
)) goto fail
;
21765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21770 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
21771 result
= (wxTimeSpan
*) &_result_ref
;
21774 wxPyEndAllowThreads(__tstate
);
21775 if (PyErr_Occurred()) SWIG_fail
;
21777 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21784 static PyObject
*_wrap_TimeSpan___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21785 PyObject
*resultobj
;
21786 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21787 wxTimeSpan
*arg2
= 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___add__",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)
21801 if (arg2
== NULL
) {
21802 PyErr_SetString(PyExc_TypeError
,"null reference");
21806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21807 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
21809 wxPyEndAllowThreads(__tstate
);
21810 if (PyErr_Occurred()) SWIG_fail
;
21813 wxTimeSpan
* resultptr
;
21814 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21815 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21823 static PyObject
*_wrap_TimeSpan___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21824 PyObject
*resultobj
;
21825 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21826 wxTimeSpan
*arg2
= 0 ;
21828 PyObject
* obj0
= 0 ;
21829 PyObject
* obj1
= 0 ;
21830 char *kwnames
[] = {
21831 (char *) "self",(char *) "other", NULL
21834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
21835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21837 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21838 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21840 if (arg2
== NULL
) {
21841 PyErr_SetString(PyExc_TypeError
,"null reference");
21845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21846 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
21848 wxPyEndAllowThreads(__tstate
);
21849 if (PyErr_Occurred()) SWIG_fail
;
21852 wxTimeSpan
* resultptr
;
21853 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21854 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21862 static PyObject
*_wrap_TimeSpan___mul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21863 PyObject
*resultobj
;
21864 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21867 PyObject
* obj0
= 0 ;
21868 PyObject
* obj1
= 0 ;
21869 char *kwnames
[] = {
21870 (char *) "self",(char *) "n", NULL
21873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
21874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21876 arg2
= (int) SWIG_AsInt(obj1
);
21877 if (PyErr_Occurred()) SWIG_fail
;
21879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21880 result
= wxTimeSpan___mul__(arg1
,arg2
);
21882 wxPyEndAllowThreads(__tstate
);
21883 if (PyErr_Occurred()) SWIG_fail
;
21886 wxTimeSpan
* resultptr
;
21887 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21888 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21896 static PyObject
*_wrap_TimeSpan___rmul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21897 PyObject
*resultobj
;
21898 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21901 PyObject
* obj0
= 0 ;
21902 PyObject
* obj1
= 0 ;
21903 char *kwnames
[] = {
21904 (char *) "self",(char *) "n", NULL
21907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
21908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21910 arg2
= (int) SWIG_AsInt(obj1
);
21911 if (PyErr_Occurred()) SWIG_fail
;
21913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21914 result
= wxTimeSpan___rmul__(arg1
,arg2
);
21916 wxPyEndAllowThreads(__tstate
);
21917 if (PyErr_Occurred()) SWIG_fail
;
21920 wxTimeSpan
* resultptr
;
21921 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21922 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21930 static PyObject
*_wrap_TimeSpan___lt__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21931 PyObject
*resultobj
;
21932 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21933 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
21935 PyObject
* obj0
= 0 ;
21936 PyObject
* obj1
= 0 ;
21937 char *kwnames
[] = {
21938 (char *) "self",(char *) "other", NULL
21941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
21942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21944 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21948 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const *)arg2
);
21950 wxPyEndAllowThreads(__tstate
);
21951 if (PyErr_Occurred()) SWIG_fail
;
21954 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21962 static PyObject
*_wrap_TimeSpan___le__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21963 PyObject
*resultobj
;
21964 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21965 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
21967 PyObject
* obj0
= 0 ;
21968 PyObject
* obj1
= 0 ;
21969 char *kwnames
[] = {
21970 (char *) "self",(char *) "other", NULL
21973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
21974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21976 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21980 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const *)arg2
);
21982 wxPyEndAllowThreads(__tstate
);
21983 if (PyErr_Occurred()) SWIG_fail
;
21986 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21994 static PyObject
*_wrap_TimeSpan___gt__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21995 PyObject
*resultobj
;
21996 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21997 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
21999 PyObject
* obj0
= 0 ;
22000 PyObject
* obj1
= 0 ;
22001 char *kwnames
[] = {
22002 (char *) "self",(char *) "other", NULL
22005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
22006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22008 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22012 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const *)arg2
);
22014 wxPyEndAllowThreads(__tstate
);
22015 if (PyErr_Occurred()) SWIG_fail
;
22018 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22026 static PyObject
*_wrap_TimeSpan___ge__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22027 PyObject
*resultobj
;
22028 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22029 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22031 PyObject
* obj0
= 0 ;
22032 PyObject
* obj1
= 0 ;
22033 char *kwnames
[] = {
22034 (char *) "self",(char *) "other", NULL
22037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
22038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22040 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22044 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const *)arg2
);
22046 wxPyEndAllowThreads(__tstate
);
22047 if (PyErr_Occurred()) SWIG_fail
;
22050 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22058 static PyObject
*_wrap_TimeSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22059 PyObject
*resultobj
;
22060 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22061 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22063 PyObject
* obj0
= 0 ;
22064 PyObject
* obj1
= 0 ;
22065 char *kwnames
[] = {
22066 (char *) "self",(char *) "other", NULL
22069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
22070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22072 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22076 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const *)arg2
);
22078 wxPyEndAllowThreads(__tstate
);
22079 if (PyErr_Occurred()) SWIG_fail
;
22082 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22090 static PyObject
*_wrap_TimeSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22091 PyObject
*resultobj
;
22092 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22093 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22095 PyObject
* obj0
= 0 ;
22096 PyObject
* obj1
= 0 ;
22097 char *kwnames
[] = {
22098 (char *) "self",(char *) "other", NULL
22101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
22102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22104 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22108 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const *)arg2
);
22110 wxPyEndAllowThreads(__tstate
);
22111 if (PyErr_Occurred()) SWIG_fail
;
22114 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22122 static PyObject
*_wrap_TimeSpan_IsNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22123 PyObject
*resultobj
;
22124 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22126 PyObject
* obj0
= 0 ;
22127 char *kwnames
[] = {
22128 (char *) "self", NULL
22131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNull",kwnames
,&obj0
)) goto fail
;
22132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22136 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
22138 wxPyEndAllowThreads(__tstate
);
22139 if (PyErr_Occurred()) SWIG_fail
;
22142 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22150 static PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22151 PyObject
*resultobj
;
22152 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22154 PyObject
* obj0
= 0 ;
22155 char *kwnames
[] = {
22156 (char *) "self", NULL
22159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsPositive",kwnames
,&obj0
)) goto fail
;
22160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22164 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
22166 wxPyEndAllowThreads(__tstate
);
22167 if (PyErr_Occurred()) SWIG_fail
;
22170 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22178 static PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22179 PyObject
*resultobj
;
22180 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22182 PyObject
* obj0
= 0 ;
22183 char *kwnames
[] = {
22184 (char *) "self", NULL
22187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNegative",kwnames
,&obj0
)) goto fail
;
22188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22192 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
22194 wxPyEndAllowThreads(__tstate
);
22195 if (PyErr_Occurred()) SWIG_fail
;
22198 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22206 static PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22207 PyObject
*resultobj
;
22208 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22209 wxTimeSpan
*arg2
= 0 ;
22211 PyObject
* obj0
= 0 ;
22212 PyObject
* obj1
= 0 ;
22213 char *kwnames
[] = {
22214 (char *) "self",(char *) "ts", NULL
22217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
22218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22220 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22221 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22223 if (arg2
== NULL
) {
22224 PyErr_SetString(PyExc_TypeError
,"null reference");
22228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22229 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
22231 wxPyEndAllowThreads(__tstate
);
22232 if (PyErr_Occurred()) SWIG_fail
;
22235 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22243 static PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22244 PyObject
*resultobj
;
22245 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22246 wxTimeSpan
*arg2
= 0 ;
22248 PyObject
* obj0
= 0 ;
22249 PyObject
* obj1
= 0 ;
22250 char *kwnames
[] = {
22251 (char *) "self",(char *) "ts", NULL
22254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22257 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22258 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22260 if (arg2
== NULL
) {
22261 PyErr_SetString(PyExc_TypeError
,"null reference");
22265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22266 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
22268 wxPyEndAllowThreads(__tstate
);
22269 if (PyErr_Occurred()) SWIG_fail
;
22272 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22280 static PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22281 PyObject
*resultobj
;
22282 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22283 wxTimeSpan
*arg2
= 0 ;
22285 PyObject
* obj0
= 0 ;
22286 PyObject
* obj1
= 0 ;
22287 char *kwnames
[] = {
22288 (char *) "self",(char *) "t", NULL
22291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22294 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22295 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22297 if (arg2
== NULL
) {
22298 PyErr_SetString(PyExc_TypeError
,"null reference");
22302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22303 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
22305 wxPyEndAllowThreads(__tstate
);
22306 if (PyErr_Occurred()) SWIG_fail
;
22309 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22317 static PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22318 PyObject
*resultobj
;
22319 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22321 PyObject
* obj0
= 0 ;
22322 char *kwnames
[] = {
22323 (char *) "self", NULL
22326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
22327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22331 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
22333 wxPyEndAllowThreads(__tstate
);
22334 if (PyErr_Occurred()) SWIG_fail
;
22336 resultobj
= SWIG_FromInt((int)result
);
22343 static PyObject
*_wrap_TimeSpan_GetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22344 PyObject
*resultobj
;
22345 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22347 PyObject
* obj0
= 0 ;
22348 char *kwnames
[] = {
22349 (char *) "self", NULL
22352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetDays",kwnames
,&obj0
)) goto fail
;
22353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22357 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
22359 wxPyEndAllowThreads(__tstate
);
22360 if (PyErr_Occurred()) SWIG_fail
;
22362 resultobj
= SWIG_FromInt((int)result
);
22369 static PyObject
*_wrap_TimeSpan_GetHours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22370 PyObject
*resultobj
;
22371 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22373 PyObject
* obj0
= 0 ;
22374 char *kwnames
[] = {
22375 (char *) "self", NULL
22378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetHours",kwnames
,&obj0
)) goto fail
;
22379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22383 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
22385 wxPyEndAllowThreads(__tstate
);
22386 if (PyErr_Occurred()) SWIG_fail
;
22388 resultobj
= SWIG_FromInt((int)result
);
22395 static PyObject
*_wrap_TimeSpan_GetMinutes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22396 PyObject
*resultobj
;
22397 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22399 PyObject
* obj0
= 0 ;
22400 char *kwnames
[] = {
22401 (char *) "self", NULL
22404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMinutes",kwnames
,&obj0
)) goto fail
;
22405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22409 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
22411 wxPyEndAllowThreads(__tstate
);
22412 if (PyErr_Occurred()) SWIG_fail
;
22414 resultobj
= SWIG_FromInt((int)result
);
22421 static PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22422 PyObject
*resultobj
;
22423 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22425 PyObject
* obj0
= 0 ;
22426 char *kwnames
[] = {
22427 (char *) "self", NULL
22430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetSeconds",kwnames
,&obj0
)) goto fail
;
22431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22435 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
22437 wxPyEndAllowThreads(__tstate
);
22438 if (PyErr_Occurred()) SWIG_fail
;
22441 PyObject
*hi
, *lo
, *shifter
, *shifted
;
22442 hi
= PyLong_FromLong( (&result
)->GetHi() );
22443 lo
= PyLong_FromLong( (&result
)->GetLo() );
22444 shifter
= PyLong_FromLong(32);
22445 shifted
= PyNumber_Lshift(hi
, shifter
);
22446 resultobj
= PyNumber_Or(shifted
, lo
);
22449 Py_DECREF(shifter
);
22450 Py_DECREF(shifted
);
22458 static PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22459 PyObject
*resultobj
;
22460 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22462 PyObject
* obj0
= 0 ;
22463 char *kwnames
[] = {
22464 (char *) "self", NULL
22467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMilliseconds",kwnames
,&obj0
)) goto fail
;
22468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22472 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
22474 wxPyEndAllowThreads(__tstate
);
22475 if (PyErr_Occurred()) SWIG_fail
;
22478 PyObject
*hi
, *lo
, *shifter
, *shifted
;
22479 hi
= PyLong_FromLong( (&result
)->GetHi() );
22480 lo
= PyLong_FromLong( (&result
)->GetLo() );
22481 shifter
= PyLong_FromLong(32);
22482 shifted
= PyNumber_Lshift(hi
, shifter
);
22483 resultobj
= PyNumber_Or(shifted
, lo
);
22486 Py_DECREF(shifter
);
22487 Py_DECREF(shifted
);
22495 static PyObject
*_wrap_TimeSpan_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22496 PyObject
*resultobj
;
22497 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22498 wxString
const &arg2_defvalue
= wxPyTimeSpanFormatStr
;
22499 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
22501 bool temp2
= False
;
22502 PyObject
* obj0
= 0 ;
22503 PyObject
* obj1
= 0 ;
22504 char *kwnames
[] = {
22505 (char *) "self",(char *) "format", NULL
22508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) goto fail
;
22509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22513 arg2
= wxString_in_helper(obj1
);
22514 if (arg2
== NULL
) SWIG_fail
;
22519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22520 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
22522 wxPyEndAllowThreads(__tstate
);
22523 if (PyErr_Occurred()) SWIG_fail
;
22527 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22529 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22546 static PyObject
* TimeSpan_swigregister(PyObject
*self
, PyObject
*args
) {
22548 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22549 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan
, obj
);
22551 return Py_BuildValue((char *)"");
22553 static PyObject
*_wrap_new_DateSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22554 PyObject
*resultobj
;
22555 int arg1
= (int) 0 ;
22556 int arg2
= (int) 0 ;
22557 int arg3
= (int) 0 ;
22558 int arg4
= (int) 0 ;
22559 wxDateSpan
*result
;
22560 PyObject
* obj0
= 0 ;
22561 PyObject
* obj1
= 0 ;
22562 PyObject
* obj2
= 0 ;
22563 PyObject
* obj3
= 0 ;
22564 char *kwnames
[] = {
22565 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
22568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22570 arg1
= (int) SWIG_AsInt(obj0
);
22571 if (PyErr_Occurred()) SWIG_fail
;
22574 arg2
= (int) SWIG_AsInt(obj1
);
22575 if (PyErr_Occurred()) SWIG_fail
;
22578 arg3
= (int) SWIG_AsInt(obj2
);
22579 if (PyErr_Occurred()) SWIG_fail
;
22582 arg4
= (int) SWIG_AsInt(obj3
);
22583 if (PyErr_Occurred()) SWIG_fail
;
22586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22587 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
22589 wxPyEndAllowThreads(__tstate
);
22590 if (PyErr_Occurred()) SWIG_fail
;
22592 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
22599 static PyObject
*_wrap_delete_DateSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22600 PyObject
*resultobj
;
22601 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22602 PyObject
* obj0
= 0 ;
22603 char *kwnames
[] = {
22604 (char *) "self", NULL
22607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateSpan",kwnames
,&obj0
)) goto fail
;
22608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22614 wxPyEndAllowThreads(__tstate
);
22615 if (PyErr_Occurred()) SWIG_fail
;
22617 Py_INCREF(Py_None
); resultobj
= Py_None
;
22624 static PyObject
*_wrap_DateSpan_Days(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22625 PyObject
*resultobj
;
22628 PyObject
* obj0
= 0 ;
22629 char *kwnames
[] = {
22630 (char *) "days", NULL
22633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",kwnames
,&obj0
)) goto fail
;
22634 arg1
= (int) SWIG_AsInt(obj0
);
22635 if (PyErr_Occurred()) SWIG_fail
;
22637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22638 result
= wxDateSpan::Days(arg1
);
22640 wxPyEndAllowThreads(__tstate
);
22641 if (PyErr_Occurred()) SWIG_fail
;
22644 wxDateSpan
* resultptr
;
22645 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22646 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22654 static PyObject
*_wrap_DateSpan_Day(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22655 PyObject
*resultobj
;
22657 char *kwnames
[] = {
22661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Day",kwnames
)) goto fail
;
22663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22664 result
= wxDateSpan::Day();
22666 wxPyEndAllowThreads(__tstate
);
22667 if (PyErr_Occurred()) SWIG_fail
;
22670 wxDateSpan
* resultptr
;
22671 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22672 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22680 static PyObject
*_wrap_DateSpan_Weeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22681 PyObject
*resultobj
;
22684 PyObject
* obj0
= 0 ;
22685 char *kwnames
[] = {
22686 (char *) "weeks", NULL
22689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",kwnames
,&obj0
)) goto fail
;
22690 arg1
= (int) SWIG_AsInt(obj0
);
22691 if (PyErr_Occurred()) SWIG_fail
;
22693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22694 result
= wxDateSpan::Weeks(arg1
);
22696 wxPyEndAllowThreads(__tstate
);
22697 if (PyErr_Occurred()) SWIG_fail
;
22700 wxDateSpan
* resultptr
;
22701 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22702 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22710 static PyObject
*_wrap_DateSpan_Week(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22711 PyObject
*resultobj
;
22713 char *kwnames
[] = {
22717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Week",kwnames
)) goto fail
;
22719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22720 result
= wxDateSpan::Week();
22722 wxPyEndAllowThreads(__tstate
);
22723 if (PyErr_Occurred()) SWIG_fail
;
22726 wxDateSpan
* resultptr
;
22727 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22728 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22736 static PyObject
*_wrap_DateSpan_Months(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22737 PyObject
*resultobj
;
22740 PyObject
* obj0
= 0 ;
22741 char *kwnames
[] = {
22742 (char *) "mon", NULL
22745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",kwnames
,&obj0
)) goto fail
;
22746 arg1
= (int) SWIG_AsInt(obj0
);
22747 if (PyErr_Occurred()) SWIG_fail
;
22749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22750 result
= wxDateSpan::Months(arg1
);
22752 wxPyEndAllowThreads(__tstate
);
22753 if (PyErr_Occurred()) SWIG_fail
;
22756 wxDateSpan
* resultptr
;
22757 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22758 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22766 static PyObject
*_wrap_DateSpan_Month(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22767 PyObject
*resultobj
;
22769 char *kwnames
[] = {
22773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Month",kwnames
)) goto fail
;
22775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22776 result
= wxDateSpan::Month();
22778 wxPyEndAllowThreads(__tstate
);
22779 if (PyErr_Occurred()) SWIG_fail
;
22782 wxDateSpan
* resultptr
;
22783 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22784 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22792 static PyObject
*_wrap_DateSpan_Years(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22793 PyObject
*resultobj
;
22796 PyObject
* obj0
= 0 ;
22797 char *kwnames
[] = {
22798 (char *) "years", NULL
22801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) goto fail
;
22802 arg1
= (int) SWIG_AsInt(obj0
);
22803 if (PyErr_Occurred()) SWIG_fail
;
22805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22806 result
= wxDateSpan::Years(arg1
);
22808 wxPyEndAllowThreads(__tstate
);
22809 if (PyErr_Occurred()) SWIG_fail
;
22812 wxDateSpan
* resultptr
;
22813 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22814 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22822 static PyObject
*_wrap_DateSpan_Year(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22823 PyObject
*resultobj
;
22825 char *kwnames
[] = {
22829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Year",kwnames
)) goto fail
;
22831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22832 result
= wxDateSpan::Year();
22834 wxPyEndAllowThreads(__tstate
);
22835 if (PyErr_Occurred()) SWIG_fail
;
22838 wxDateSpan
* resultptr
;
22839 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22840 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22848 static PyObject
*_wrap_DateSpan_SetYears(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22849 PyObject
*resultobj
;
22850 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22852 wxDateSpan
*result
;
22853 PyObject
* obj0
= 0 ;
22854 PyObject
* obj1
= 0 ;
22855 char *kwnames
[] = {
22856 (char *) "self",(char *) "n", NULL
22859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetYears",kwnames
,&obj0
,&obj1
)) goto fail
;
22860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22862 arg2
= (int) SWIG_AsInt(obj1
);
22863 if (PyErr_Occurred()) SWIG_fail
;
22865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22867 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
22868 result
= (wxDateSpan
*) &_result_ref
;
22871 wxPyEndAllowThreads(__tstate
);
22872 if (PyErr_Occurred()) SWIG_fail
;
22874 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
22881 static PyObject
*_wrap_DateSpan_SetMonths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22882 PyObject
*resultobj
;
22883 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22885 wxDateSpan
*result
;
22886 PyObject
* obj0
= 0 ;
22887 PyObject
* obj1
= 0 ;
22888 char *kwnames
[] = {
22889 (char *) "self",(char *) "n", NULL
22892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetMonths",kwnames
,&obj0
,&obj1
)) goto fail
;
22893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22895 arg2
= (int) SWIG_AsInt(obj1
);
22896 if (PyErr_Occurred()) SWIG_fail
;
22898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22900 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
22901 result
= (wxDateSpan
*) &_result_ref
;
22904 wxPyEndAllowThreads(__tstate
);
22905 if (PyErr_Occurred()) SWIG_fail
;
22907 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
22914 static PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22915 PyObject
*resultobj
;
22916 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22918 wxDateSpan
*result
;
22919 PyObject
* obj0
= 0 ;
22920 PyObject
* obj1
= 0 ;
22921 char *kwnames
[] = {
22922 (char *) "self",(char *) "n", NULL
22925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) goto fail
;
22926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22928 arg2
= (int) SWIG_AsInt(obj1
);
22929 if (PyErr_Occurred()) SWIG_fail
;
22931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22933 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
22934 result
= (wxDateSpan
*) &_result_ref
;
22937 wxPyEndAllowThreads(__tstate
);
22938 if (PyErr_Occurred()) SWIG_fail
;
22940 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
22947 static PyObject
*_wrap_DateSpan_SetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22948 PyObject
*resultobj
;
22949 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22951 wxDateSpan
*result
;
22952 PyObject
* obj0
= 0 ;
22953 PyObject
* obj1
= 0 ;
22954 char *kwnames
[] = {
22955 (char *) "self",(char *) "n", NULL
22958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) goto fail
;
22959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22961 arg2
= (int) SWIG_AsInt(obj1
);
22962 if (PyErr_Occurred()) SWIG_fail
;
22964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22966 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
22967 result
= (wxDateSpan
*) &_result_ref
;
22970 wxPyEndAllowThreads(__tstate
);
22971 if (PyErr_Occurred()) SWIG_fail
;
22973 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
22980 static PyObject
*_wrap_DateSpan_GetYears(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22981 PyObject
*resultobj
;
22982 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22984 PyObject
* obj0
= 0 ;
22985 char *kwnames
[] = {
22986 (char *) "self", NULL
22989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetYears",kwnames
,&obj0
)) goto fail
;
22990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22994 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
22996 wxPyEndAllowThreads(__tstate
);
22997 if (PyErr_Occurred()) SWIG_fail
;
22999 resultobj
= SWIG_FromInt((int)result
);
23006 static PyObject
*_wrap_DateSpan_GetMonths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23007 PyObject
*resultobj
;
23008 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23010 PyObject
* obj0
= 0 ;
23011 char *kwnames
[] = {
23012 (char *) "self", NULL
23015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetMonths",kwnames
,&obj0
)) goto fail
;
23016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23020 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
23022 wxPyEndAllowThreads(__tstate
);
23023 if (PyErr_Occurred()) SWIG_fail
;
23025 resultobj
= SWIG_FromInt((int)result
);
23032 static PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23033 PyObject
*resultobj
;
23034 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23036 PyObject
* obj0
= 0 ;
23037 char *kwnames
[] = {
23038 (char *) "self", NULL
23041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
23042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23046 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
23048 wxPyEndAllowThreads(__tstate
);
23049 if (PyErr_Occurred()) SWIG_fail
;
23051 resultobj
= SWIG_FromInt((int)result
);
23058 static PyObject
*_wrap_DateSpan_GetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23059 PyObject
*resultobj
;
23060 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23062 PyObject
* obj0
= 0 ;
23063 char *kwnames
[] = {
23064 (char *) "self", NULL
23067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetDays",kwnames
,&obj0
)) goto fail
;
23068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23072 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
23074 wxPyEndAllowThreads(__tstate
);
23075 if (PyErr_Occurred()) SWIG_fail
;
23077 resultobj
= SWIG_FromInt((int)result
);
23084 static PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23085 PyObject
*resultobj
;
23086 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23088 PyObject
* obj0
= 0 ;
23089 char *kwnames
[] = {
23090 (char *) "self", NULL
23093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetTotalDays",kwnames
,&obj0
)) goto fail
;
23094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23098 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
23100 wxPyEndAllowThreads(__tstate
);
23101 if (PyErr_Occurred()) SWIG_fail
;
23103 resultobj
= SWIG_FromInt((int)result
);
23110 static PyObject
*_wrap_DateSpan_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23111 PyObject
*resultobj
;
23112 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23113 wxDateSpan
*arg2
= 0 ;
23114 wxDateSpan
*result
;
23115 PyObject
* obj0
= 0 ;
23116 PyObject
* obj1
= 0 ;
23117 char *kwnames
[] = {
23118 (char *) "self",(char *) "other", NULL
23121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
23122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23124 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23125 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23127 if (arg2
== NULL
) {
23128 PyErr_SetString(PyExc_TypeError
,"null reference");
23132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23134 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
23135 result
= (wxDateSpan
*) &_result_ref
;
23138 wxPyEndAllowThreads(__tstate
);
23139 if (PyErr_Occurred()) SWIG_fail
;
23141 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23148 static PyObject
*_wrap_DateSpan_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23149 PyObject
*resultobj
;
23150 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23151 wxDateSpan
*arg2
= 0 ;
23152 wxDateSpan
*result
;
23153 PyObject
* obj0
= 0 ;
23154 PyObject
* obj1
= 0 ;
23155 char *kwnames
[] = {
23156 (char *) "self",(char *) "other", NULL
23159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
23160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23162 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23163 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23165 if (arg2
== NULL
) {
23166 PyErr_SetString(PyExc_TypeError
,"null reference");
23170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23172 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*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_Neg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23187 PyObject
*resultobj
;
23188 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23189 wxDateSpan
*result
;
23190 PyObject
* obj0
= 0 ;
23191 char *kwnames
[] = {
23192 (char *) "self", NULL
23195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Neg",kwnames
,&obj0
)) goto fail
;
23196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23201 wxDateSpan
&_result_ref
= (arg1
)->Neg();
23202 result
= (wxDateSpan
*) &_result_ref
;
23205 wxPyEndAllowThreads(__tstate
);
23206 if (PyErr_Occurred()) SWIG_fail
;
23208 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23215 static PyObject
*_wrap_DateSpan_Multiply(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23216 PyObject
*resultobj
;
23217 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23219 wxDateSpan
*result
;
23220 PyObject
* obj0
= 0 ;
23221 PyObject
* obj1
= 0 ;
23222 char *kwnames
[] = {
23223 (char *) "self",(char *) "factor", NULL
23226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
23227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23229 arg2
= (int) SWIG_AsInt(obj1
);
23230 if (PyErr_Occurred()) SWIG_fail
;
23232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23234 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
23235 result
= (wxDateSpan
*) &_result_ref
;
23238 wxPyEndAllowThreads(__tstate
);
23239 if (PyErr_Occurred()) SWIG_fail
;
23241 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23248 static PyObject
*_wrap_DateSpan___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23249 PyObject
*resultobj
;
23250 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23251 wxDateSpan
*arg2
= 0 ;
23252 wxDateSpan
*result
;
23253 PyObject
* obj0
= 0 ;
23254 PyObject
* obj1
= 0 ;
23255 char *kwnames
[] = {
23256 (char *) "self",(char *) "other", NULL
23259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
23260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23262 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23263 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23265 if (arg2
== NULL
) {
23266 PyErr_SetString(PyExc_TypeError
,"null reference");
23270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23272 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
23273 result
= (wxDateSpan
*) &_result_ref
;
23276 wxPyEndAllowThreads(__tstate
);
23277 if (PyErr_Occurred()) SWIG_fail
;
23279 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23286 static PyObject
*_wrap_DateSpan___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23287 PyObject
*resultobj
;
23288 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23289 wxDateSpan
*arg2
= 0 ;
23290 wxDateSpan
*result
;
23291 PyObject
* obj0
= 0 ;
23292 PyObject
* obj1
= 0 ;
23293 char *kwnames
[] = {
23294 (char *) "self",(char *) "other", NULL
23297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
23298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23300 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23301 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23303 if (arg2
== NULL
) {
23304 PyErr_SetString(PyExc_TypeError
,"null reference");
23308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23310 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
23311 result
= (wxDateSpan
*) &_result_ref
;
23314 wxPyEndAllowThreads(__tstate
);
23315 if (PyErr_Occurred()) SWIG_fail
;
23317 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23324 static PyObject
*_wrap_DateSpan___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23325 PyObject
*resultobj
;
23326 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23327 wxDateSpan
*result
;
23328 PyObject
* obj0
= 0 ;
23329 char *kwnames
[] = {
23330 (char *) "self", NULL
23333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan___neg__",kwnames
,&obj0
)) goto fail
;
23334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23339 wxDateSpan
&_result_ref
= (arg1
)->operator -();
23340 result
= (wxDateSpan
*) &_result_ref
;
23343 wxPyEndAllowThreads(__tstate
);
23344 if (PyErr_Occurred()) SWIG_fail
;
23346 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23353 static PyObject
*_wrap_DateSpan___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23354 PyObject
*resultobj
;
23355 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23357 wxDateSpan
*result
;
23358 PyObject
* obj0
= 0 ;
23359 PyObject
* obj1
= 0 ;
23360 char *kwnames
[] = {
23361 (char *) "self",(char *) "factor", NULL
23364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23367 arg2
= (int) SWIG_AsInt(obj1
);
23368 if (PyErr_Occurred()) SWIG_fail
;
23370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23372 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
23373 result
= (wxDateSpan
*) &_result_ref
;
23376 wxPyEndAllowThreads(__tstate
);
23377 if (PyErr_Occurred()) SWIG_fail
;
23379 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23386 static PyObject
*_wrap_DateSpan___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23387 PyObject
*resultobj
;
23388 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23389 wxDateSpan
*arg2
= 0 ;
23391 PyObject
* obj0
= 0 ;
23392 PyObject
* obj1
= 0 ;
23393 char *kwnames
[] = {
23394 (char *) "self",(char *) "other", NULL
23397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
23398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23400 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23401 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23403 if (arg2
== NULL
) {
23404 PyErr_SetString(PyExc_TypeError
,"null reference");
23408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23409 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
23411 wxPyEndAllowThreads(__tstate
);
23412 if (PyErr_Occurred()) SWIG_fail
;
23415 wxDateSpan
* resultptr
;
23416 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23417 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23425 static PyObject
*_wrap_DateSpan___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23426 PyObject
*resultobj
;
23427 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23428 wxDateSpan
*arg2
= 0 ;
23430 PyObject
* obj0
= 0 ;
23431 PyObject
* obj1
= 0 ;
23432 char *kwnames
[] = {
23433 (char *) "self",(char *) "other", NULL
23436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
23437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23439 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23440 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23442 if (arg2
== NULL
) {
23443 PyErr_SetString(PyExc_TypeError
,"null reference");
23447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23448 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
23450 wxPyEndAllowThreads(__tstate
);
23451 if (PyErr_Occurred()) SWIG_fail
;
23454 wxDateSpan
* resultptr
;
23455 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23456 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23464 static PyObject
*_wrap_DateSpan___mul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23465 PyObject
*resultobj
;
23466 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23469 PyObject
* obj0
= 0 ;
23470 PyObject
* obj1
= 0 ;
23471 char *kwnames
[] = {
23472 (char *) "self",(char *) "n", NULL
23475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23478 arg2
= (int) SWIG_AsInt(obj1
);
23479 if (PyErr_Occurred()) SWIG_fail
;
23481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23482 result
= wxDateSpan___mul__(arg1
,arg2
);
23484 wxPyEndAllowThreads(__tstate
);
23485 if (PyErr_Occurred()) SWIG_fail
;
23488 wxDateSpan
* resultptr
;
23489 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23490 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23498 static PyObject
*_wrap_DateSpan___rmul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23499 PyObject
*resultobj
;
23500 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23503 PyObject
* obj0
= 0 ;
23504 PyObject
* obj1
= 0 ;
23505 char *kwnames
[] = {
23506 (char *) "self",(char *) "n", NULL
23509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23512 arg2
= (int) SWIG_AsInt(obj1
);
23513 if (PyErr_Occurred()) SWIG_fail
;
23515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23516 result
= wxDateSpan___rmul__(arg1
,arg2
);
23518 wxPyEndAllowThreads(__tstate
);
23519 if (PyErr_Occurred()) SWIG_fail
;
23522 wxDateSpan
* resultptr
;
23523 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23524 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23532 static PyObject
*_wrap_DateSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23533 PyObject
*resultobj
;
23534 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23535 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
23537 PyObject
* obj0
= 0 ;
23538 PyObject
* obj1
= 0 ;
23539 char *kwnames
[] = {
23540 (char *) "self",(char *) "other", NULL
23543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
23544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23546 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23550 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const *)arg2
);
23552 wxPyEndAllowThreads(__tstate
);
23553 if (PyErr_Occurred()) SWIG_fail
;
23556 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23564 static PyObject
*_wrap_DateSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23565 PyObject
*resultobj
;
23566 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23567 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
23569 PyObject
* obj0
= 0 ;
23570 PyObject
* obj1
= 0 ;
23571 char *kwnames
[] = {
23572 (char *) "self",(char *) "other", NULL
23575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
23576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23578 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23582 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const *)arg2
);
23584 wxPyEndAllowThreads(__tstate
);
23585 if (PyErr_Occurred()) SWIG_fail
;
23588 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23596 static PyObject
* DateSpan_swigregister(PyObject
*self
, PyObject
*args
) {
23598 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23599 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan
, obj
);
23601 return Py_BuildValue((char *)"");
23603 static PyObject
*_wrap_GetLocalTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23604 PyObject
*resultobj
;
23606 char *kwnames
[] = {
23610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTime",kwnames
)) goto fail
;
23612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23613 result
= (long)wxGetLocalTime();
23615 wxPyEndAllowThreads(__tstate
);
23616 if (PyErr_Occurred()) SWIG_fail
;
23618 resultobj
= SWIG_FromLong((long)result
);
23625 static PyObject
*_wrap_GetUTCTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23626 PyObject
*resultobj
;
23628 char *kwnames
[] = {
23632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUTCTime",kwnames
)) goto fail
;
23634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23635 result
= (long)wxGetUTCTime();
23637 wxPyEndAllowThreads(__tstate
);
23638 if (PyErr_Occurred()) SWIG_fail
;
23640 resultobj
= SWIG_FromLong((long)result
);
23647 static PyObject
*_wrap_GetCurrentTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23648 PyObject
*resultobj
;
23650 char *kwnames
[] = {
23654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentTime",kwnames
)) goto fail
;
23656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23657 result
= (long)wxGetCurrentTime();
23659 wxPyEndAllowThreads(__tstate
);
23660 if (PyErr_Occurred()) SWIG_fail
;
23662 resultobj
= SWIG_FromLong((long)result
);
23669 static PyObject
*_wrap_GetLocalTimeMillis(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23670 PyObject
*resultobj
;
23672 char *kwnames
[] = {
23676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTimeMillis",kwnames
)) goto fail
;
23678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23679 result
= wxGetLocalTimeMillis();
23681 wxPyEndAllowThreads(__tstate
);
23682 if (PyErr_Occurred()) SWIG_fail
;
23685 PyObject
*hi
, *lo
, *shifter
, *shifted
;
23686 hi
= PyLong_FromLong( (&result
)->GetHi() );
23687 lo
= PyLong_FromLong( (&result
)->GetLo() );
23688 shifter
= PyLong_FromLong(32);
23689 shifted
= PyNumber_Lshift(hi
, shifter
);
23690 resultobj
= PyNumber_Or(shifted
, lo
);
23693 Py_DECREF(shifter
);
23694 Py_DECREF(shifted
);
23702 static int _wrap_DefaultDateTime_set(PyObject
*_val
) {
23703 PyErr_SetString(PyExc_TypeError
,"Variable DefaultDateTime is read-only.");
23708 static PyObject
*_wrap_DefaultDateTime_get() {
23711 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultDateTime
), SWIGTYPE_p_wxDateTime
, 0);
23716 static PyObject
*_wrap_new_DataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23717 PyObject
*resultobj
;
23719 wxDataFormat
*result
;
23720 PyObject
* obj0
= 0 ;
23721 char *kwnames
[] = {
23722 (char *) "type", NULL
23725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) goto fail
;
23726 arg1
= (wxDataFormatId
) SWIG_AsInt(obj0
);
23727 if (PyErr_Occurred()) SWIG_fail
;
23729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23730 result
= (wxDataFormat
*)new wxDataFormat((wxDataFormatId
)arg1
);
23732 wxPyEndAllowThreads(__tstate
);
23733 if (PyErr_Occurred()) SWIG_fail
;
23735 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
23742 static PyObject
*_wrap_new_CustomDataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23743 PyObject
*resultobj
;
23744 wxString
*arg1
= 0 ;
23745 wxDataFormat
*result
;
23746 bool temp1
= False
;
23747 PyObject
* obj0
= 0 ;
23748 char *kwnames
[] = {
23749 (char *) "format", NULL
23752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) goto fail
;
23754 arg1
= wxString_in_helper(obj0
);
23755 if (arg1
== NULL
) SWIG_fail
;
23759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23760 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
23762 wxPyEndAllowThreads(__tstate
);
23763 if (PyErr_Occurred()) SWIG_fail
;
23765 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
23780 static PyObject
*_wrap_delete_DataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23781 PyObject
*resultobj
;
23782 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23783 PyObject
* obj0
= 0 ;
23784 char *kwnames
[] = {
23785 (char *) "self", NULL
23788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataFormat",kwnames
,&obj0
)) goto fail
;
23789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23795 wxPyEndAllowThreads(__tstate
);
23796 if (PyErr_Occurred()) SWIG_fail
;
23798 Py_INCREF(Py_None
); resultobj
= Py_None
;
23805 static PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*self
, PyObject
*args
) {
23806 PyObject
*resultobj
;
23807 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23810 PyObject
* obj0
= 0 ;
23811 PyObject
* obj1
= 0 ;
23813 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
23814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23816 arg2
= (wxDataFormatId
) SWIG_AsInt(obj1
);
23817 if (PyErr_Occurred()) SWIG_fail
;
23819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23820 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormatId
)arg2
);
23822 wxPyEndAllowThreads(__tstate
);
23823 if (PyErr_Occurred()) SWIG_fail
;
23826 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23834 static PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*self
, PyObject
*args
) {
23835 PyObject
*resultobj
;
23836 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23839 PyObject
* obj0
= 0 ;
23840 PyObject
* obj1
= 0 ;
23842 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
23843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23845 arg2
= (wxDataFormatId
) SWIG_AsInt(obj1
);
23846 if (PyErr_Occurred()) SWIG_fail
;
23848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23849 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormatId
)arg2
);
23851 wxPyEndAllowThreads(__tstate
);
23852 if (PyErr_Occurred()) SWIG_fail
;
23855 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23863 static PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*self
, PyObject
*args
) {
23864 PyObject
*resultobj
;
23865 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23866 wxDataFormat
*arg2
= 0 ;
23868 PyObject
* obj0
= 0 ;
23869 PyObject
* obj1
= 0 ;
23871 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
23872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23874 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
23875 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23877 if (arg2
== NULL
) {
23878 PyErr_SetString(PyExc_TypeError
,"null reference");
23882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23883 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
23885 wxPyEndAllowThreads(__tstate
);
23886 if (PyErr_Occurred()) SWIG_fail
;
23889 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23897 static PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
23902 argc
= PyObject_Length(args
);
23903 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
23904 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23910 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
23920 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
23928 return _wrap_DataFormat___eq____SWIG_1(self
,args
);
23936 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
23944 _v
= SWIG_CheckInt(argv
[1]);
23946 return _wrap_DataFormat___eq____SWIG_0(self
,args
);
23951 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___eq__'");
23956 static PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*self
, PyObject
*args
) {
23957 PyObject
*resultobj
;
23958 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23959 wxDataFormat
*arg2
= 0 ;
23961 PyObject
* obj0
= 0 ;
23962 PyObject
* obj1
= 0 ;
23964 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
23965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23967 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
23968 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23970 if (arg2
== NULL
) {
23971 PyErr_SetString(PyExc_TypeError
,"null reference");
23975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23976 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
23978 wxPyEndAllowThreads(__tstate
);
23979 if (PyErr_Occurred()) SWIG_fail
;
23982 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23990 static PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
23995 argc
= PyObject_Length(args
);
23996 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
23997 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24003 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24013 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24021 return _wrap_DataFormat___ne____SWIG_1(self
,args
);
24029 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24037 _v
= SWIG_CheckInt(argv
[1]);
24039 return _wrap_DataFormat___ne____SWIG_0(self
,args
);
24044 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___ne__'");
24049 static PyObject
*_wrap_DataFormat_SetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24050 PyObject
*resultobj
;
24051 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24053 PyObject
* obj0
= 0 ;
24054 PyObject
* obj1
= 0 ;
24055 char *kwnames
[] = {
24056 (char *) "self",(char *) "format", NULL
24059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
24060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24062 arg2
= (wxDataFormatId
) SWIG_AsInt(obj1
);
24063 if (PyErr_Occurred()) SWIG_fail
;
24065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24066 (arg1
)->SetType((wxDataFormatId
)arg2
);
24068 wxPyEndAllowThreads(__tstate
);
24069 if (PyErr_Occurred()) SWIG_fail
;
24071 Py_INCREF(Py_None
); resultobj
= Py_None
;
24078 static PyObject
*_wrap_DataFormat_GetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24079 PyObject
*resultobj
;
24080 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24082 PyObject
* obj0
= 0 ;
24083 char *kwnames
[] = {
24084 (char *) "self", NULL
24087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetType",kwnames
,&obj0
)) goto fail
;
24088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24092 result
= (int)((wxDataFormat
const *)arg1
)->GetType();
24094 wxPyEndAllowThreads(__tstate
);
24095 if (PyErr_Occurred()) SWIG_fail
;
24097 resultobj
= SWIG_FromInt((int)result
);
24104 static PyObject
*_wrap_DataFormat_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24105 PyObject
*resultobj
;
24106 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24108 PyObject
* obj0
= 0 ;
24109 char *kwnames
[] = {
24110 (char *) "self", NULL
24113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetId",kwnames
,&obj0
)) goto fail
;
24114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24118 result
= ((wxDataFormat
const *)arg1
)->GetId();
24120 wxPyEndAllowThreads(__tstate
);
24121 if (PyErr_Occurred()) SWIG_fail
;
24125 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24127 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24136 static PyObject
*_wrap_DataFormat_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24137 PyObject
*resultobj
;
24138 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24139 wxString
*arg2
= 0 ;
24140 bool temp2
= False
;
24141 PyObject
* obj0
= 0 ;
24142 PyObject
* obj1
= 0 ;
24143 char *kwnames
[] = {
24144 (char *) "self",(char *) "format", NULL
24147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
24148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24151 arg2
= wxString_in_helper(obj1
);
24152 if (arg2
== NULL
) SWIG_fail
;
24156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24157 (arg1
)->SetId((wxString
const &)*arg2
);
24159 wxPyEndAllowThreads(__tstate
);
24160 if (PyErr_Occurred()) SWIG_fail
;
24162 Py_INCREF(Py_None
); resultobj
= Py_None
;
24177 static PyObject
* DataFormat_swigregister(PyObject
*self
, PyObject
*args
) {
24179 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24180 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat
, obj
);
24182 return Py_BuildValue((char *)"");
24184 static int _wrap_FormatInvalid_set(PyObject
*_val
) {
24185 PyErr_SetString(PyExc_TypeError
,"Variable FormatInvalid is read-only.");
24190 static PyObject
*_wrap_FormatInvalid_get() {
24193 pyobj
= SWIG_NewPointerObj((void *)(&wxFormatInvalid
), SWIGTYPE_p_wxDataFormat
, 0);
24198 static PyObject
*_wrap_delete_DataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24199 PyObject
*resultobj
;
24200 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24201 PyObject
* obj0
= 0 ;
24202 char *kwnames
[] = {
24203 (char *) "self", NULL
24206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataObject",kwnames
,&obj0
)) goto fail
;
24207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24213 wxPyEndAllowThreads(__tstate
);
24214 if (PyErr_Occurred()) SWIG_fail
;
24216 Py_INCREF(Py_None
); resultobj
= Py_None
;
24223 static PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24224 PyObject
*resultobj
;
24225 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24226 int arg2
= (int) wxDataObject::Get
;
24227 SwigValueWrapper
< wxDataFormat
> result
;
24228 PyObject
* obj0
= 0 ;
24229 PyObject
* obj1
= 0 ;
24230 char *kwnames
[] = {
24231 (char *) "self",(char *) "dir", NULL
24234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
24235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24238 arg2
= (wxDataObject::Direction
) SWIG_AsInt(obj1
);
24239 if (PyErr_Occurred()) SWIG_fail
;
24242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24243 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat((wxDataObject::Direction
)arg2
);
24245 wxPyEndAllowThreads(__tstate
);
24246 if (PyErr_Occurred()) SWIG_fail
;
24249 wxDataFormat
* resultptr
;
24250 resultptr
= new wxDataFormat((wxDataFormat
&) result
);
24251 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDataFormat
, 1);
24259 static PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24260 PyObject
*resultobj
;
24261 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24262 int arg2
= (int) wxDataObject::Get
;
24264 PyObject
* obj0
= 0 ;
24265 PyObject
* obj1
= 0 ;
24266 char *kwnames
[] = {
24267 (char *) "self",(char *) "dir", NULL
24270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) goto fail
;
24271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24274 arg2
= (wxDataObject::Direction
) SWIG_AsInt(obj1
);
24275 if (PyErr_Occurred()) SWIG_fail
;
24278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24279 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount((wxDataObject::Direction
)arg2
);
24281 wxPyEndAllowThreads(__tstate
);
24282 if (PyErr_Occurred()) SWIG_fail
;
24284 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24291 static PyObject
*_wrap_DataObject_IsSupported(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24292 PyObject
*resultobj
;
24293 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24294 wxDataFormat
*arg2
= 0 ;
24295 int arg3
= (int) wxDataObject::Get
;
24297 PyObject
* obj0
= 0 ;
24298 PyObject
* obj1
= 0 ;
24299 PyObject
* obj2
= 0 ;
24300 char *kwnames
[] = {
24301 (char *) "self",(char *) "format",(char *) "dir", NULL
24304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24307 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24308 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24310 if (arg2
== NULL
) {
24311 PyErr_SetString(PyExc_TypeError
,"null reference");
24315 arg3
= (wxDataObject::Direction
) SWIG_AsInt(obj2
);
24316 if (PyErr_Occurred()) SWIG_fail
;
24319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24320 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,(wxDataObject::Direction
)arg3
);
24322 wxPyEndAllowThreads(__tstate
);
24323 if (PyErr_Occurred()) SWIG_fail
;
24326 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24334 static PyObject
*_wrap_DataObject_GetDataSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24335 PyObject
*resultobj
;
24336 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24337 wxDataFormat
*arg2
= 0 ;
24339 PyObject
* obj0
= 0 ;
24340 PyObject
* obj1
= 0 ;
24341 char *kwnames
[] = {
24342 (char *) "self",(char *) "format", NULL
24345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) goto fail
;
24346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24348 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24349 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24351 if (arg2
== NULL
) {
24352 PyErr_SetString(PyExc_TypeError
,"null reference");
24356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24357 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
24359 wxPyEndAllowThreads(__tstate
);
24360 if (PyErr_Occurred()) SWIG_fail
;
24362 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24369 static PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24370 PyObject
*resultobj
;
24371 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24372 wxDataFormat
*arg2
= (wxDataFormat
*) 0 ;
24373 int arg3
= (int) wxDataObject::Get
;
24374 PyObject
* obj0
= 0 ;
24375 PyObject
* obj1
= 0 ;
24376 PyObject
* obj2
= 0 ;
24377 char *kwnames
[] = {
24378 (char *) "self",(char *) "formats",(char *) "dir", NULL
24381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24384 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24387 arg3
= (wxDataObject::Direction
) SWIG_AsInt(obj2
);
24388 if (PyErr_Occurred()) SWIG_fail
;
24391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24392 ((wxDataObject
const *)arg1
)->GetAllFormats(arg2
,(wxDataObject::Direction
)arg3
);
24394 wxPyEndAllowThreads(__tstate
);
24395 if (PyErr_Occurred()) SWIG_fail
;
24397 Py_INCREF(Py_None
); resultobj
= Py_None
;
24404 static PyObject
*_wrap_DataObject_GetDataHere(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24405 PyObject
*resultobj
;
24406 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24407 wxDataFormat
*arg2
= 0 ;
24408 void *arg3
= (void *) 0 ;
24410 PyObject
* obj0
= 0 ;
24411 PyObject
* obj1
= 0 ;
24412 PyObject
* obj2
= 0 ;
24413 char *kwnames
[] = {
24414 (char *) "self",(char *) "format",(char *) "buf", NULL
24417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24420 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24421 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24423 if (arg2
== NULL
) {
24424 PyErr_SetString(PyExc_TypeError
,"null reference");
24427 if ((SWIG_ConvertPtr(obj2
,&arg3
,0,SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24430 result
= (bool)((wxDataObject
const *)arg1
)->GetDataHere((wxDataFormat
const &)*arg2
,arg3
);
24432 wxPyEndAllowThreads(__tstate
);
24433 if (PyErr_Occurred()) SWIG_fail
;
24436 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24444 static PyObject
*_wrap_DataObject_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24445 PyObject
*resultobj
;
24446 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24447 wxDataFormat
*arg2
= 0 ;
24449 void *arg4
= (void *) 0 ;
24451 PyObject
* obj0
= 0 ;
24452 PyObject
* obj1
= 0 ;
24453 PyObject
* obj2
= 0 ;
24454 PyObject
* obj3
= 0 ;
24455 char *kwnames
[] = {
24456 (char *) "self",(char *) "format",(char *) "len",(char *) "buf", NULL
24459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24462 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24463 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24465 if (arg2
== NULL
) {
24466 PyErr_SetString(PyExc_TypeError
,"null reference");
24469 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
24470 if (PyErr_Occurred()) SWIG_fail
;
24471 if ((SWIG_ConvertPtr(obj3
,&arg4
,0,SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24474 result
= (bool)(arg1
)->SetData((wxDataFormat
const &)*arg2
,arg3
,(void const *)arg4
);
24476 wxPyEndAllowThreads(__tstate
);
24477 if (PyErr_Occurred()) SWIG_fail
;
24480 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24488 static PyObject
* DataObject_swigregister(PyObject
*self
, PyObject
*args
) {
24490 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24491 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject
, obj
);
24493 return Py_BuildValue((char *)"");
24495 static PyObject
*_wrap_new_DataObjectSimple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24496 PyObject
*resultobj
;
24497 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
24498 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
24499 wxDataObjectSimple
*result
;
24500 PyObject
* obj0
= 0 ;
24501 char *kwnames
[] = {
24502 (char *) "format", NULL
24505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) goto fail
;
24507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24508 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24510 if (arg1
== NULL
) {
24511 PyErr_SetString(PyExc_TypeError
,"null reference");
24516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24517 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
24519 wxPyEndAllowThreads(__tstate
);
24520 if (PyErr_Occurred()) SWIG_fail
;
24522 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectSimple
, 1);
24529 static PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24530 PyObject
*resultobj
;
24531 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24532 wxDataFormat
*result
;
24533 PyObject
* obj0
= 0 ;
24534 char *kwnames
[] = {
24535 (char *) "self", NULL
24538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetFormat",kwnames
,&obj0
)) goto fail
;
24539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24544 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
24545 result
= (wxDataFormat
*) &_result_ref
;
24548 wxPyEndAllowThreads(__tstate
);
24549 if (PyErr_Occurred()) SWIG_fail
;
24551 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 0);
24558 static PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24559 PyObject
*resultobj
;
24560 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24561 wxDataFormat
*arg2
= 0 ;
24562 PyObject
* obj0
= 0 ;
24563 PyObject
* obj1
= 0 ;
24564 char *kwnames
[] = {
24565 (char *) "self",(char *) "format", NULL
24568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
24569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24571 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24572 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24574 if (arg2
== NULL
) {
24575 PyErr_SetString(PyExc_TypeError
,"null reference");
24579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24580 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
24582 wxPyEndAllowThreads(__tstate
);
24583 if (PyErr_Occurred()) SWIG_fail
;
24585 Py_INCREF(Py_None
); resultobj
= Py_None
;
24592 static PyObject
* DataObjectSimple_swigregister(PyObject
*self
, PyObject
*args
) {
24594 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24595 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple
, obj
);
24597 return Py_BuildValue((char *)"");
24599 static PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24600 PyObject
*resultobj
;
24601 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
24602 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
24603 wxPyDataObjectSimple
*result
;
24604 PyObject
* obj0
= 0 ;
24605 char *kwnames
[] = {
24606 (char *) "format", NULL
24609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) goto fail
;
24611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24612 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24614 if (arg1
== NULL
) {
24615 PyErr_SetString(PyExc_TypeError
,"null reference");
24620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24621 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
24623 wxPyEndAllowThreads(__tstate
);
24624 if (PyErr_Occurred()) SWIG_fail
;
24626 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDataObjectSimple
, 1);
24633 static PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24634 PyObject
*resultobj
;
24635 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
24636 PyObject
*arg2
= (PyObject
*) 0 ;
24637 PyObject
*arg3
= (PyObject
*) 0 ;
24638 PyObject
* obj0
= 0 ;
24639 PyObject
* obj1
= 0 ;
24640 PyObject
* obj2
= 0 ;
24641 char *kwnames
[] = {
24642 (char *) "self",(char *) "self",(char *) "_class", NULL
24645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDataObjectSimple
,
24647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24652 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24654 wxPyEndAllowThreads(__tstate
);
24655 if (PyErr_Occurred()) SWIG_fail
;
24657 Py_INCREF(Py_None
); resultobj
= Py_None
;
24664 static PyObject
* PyDataObjectSimple_swigregister(PyObject
*self
, PyObject
*args
) {
24666 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24667 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple
, obj
);
24669 return Py_BuildValue((char *)"");
24671 static PyObject
*_wrap_new_DataObjectComposite(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24672 PyObject
*resultobj
;
24673 wxDataObjectComposite
*result
;
24674 char *kwnames
[] = {
24678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DataObjectComposite",kwnames
)) goto fail
;
24680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24681 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
24683 wxPyEndAllowThreads(__tstate
);
24684 if (PyErr_Occurred()) SWIG_fail
;
24686 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectComposite
, 1);
24693 static PyObject
*_wrap_DataObjectComposite_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24694 PyObject
*resultobj
;
24695 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
24696 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
24697 int arg3
= (int) False
;
24698 PyObject
* obj0
= 0 ;
24699 PyObject
* obj1
= 0 ;
24700 PyObject
* obj2
= 0 ;
24701 char *kwnames
[] = {
24702 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
24705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectComposite
,
24707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24708 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObjectSimple
,
24709 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24711 arg3
= (int) SWIG_AsInt(obj2
);
24712 if (PyErr_Occurred()) SWIG_fail
;
24715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24716 (arg1
)->Add(arg2
,arg3
);
24718 wxPyEndAllowThreads(__tstate
);
24719 if (PyErr_Occurred()) SWIG_fail
;
24721 Py_INCREF(Py_None
); resultobj
= Py_None
;
24728 static PyObject
* DataObjectComposite_swigregister(PyObject
*self
, PyObject
*args
) {
24730 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24731 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite
, obj
);
24733 return Py_BuildValue((char *)"");
24735 static PyObject
*_wrap_new_TextDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24736 PyObject
*resultobj
;
24737 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24738 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24739 wxTextDataObject
*result
;
24740 bool temp1
= False
;
24741 PyObject
* obj0
= 0 ;
24742 char *kwnames
[] = {
24743 (char *) "text", NULL
24746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) goto fail
;
24749 arg1
= wxString_in_helper(obj0
);
24750 if (arg1
== NULL
) SWIG_fail
;
24755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24756 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
24758 wxPyEndAllowThreads(__tstate
);
24759 if (PyErr_Occurred()) SWIG_fail
;
24761 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextDataObject
, 1);
24776 static PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24777 PyObject
*resultobj
;
24778 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
24780 PyObject
* obj0
= 0 ;
24781 char *kwnames
[] = {
24782 (char *) "self", NULL
24785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetTextLength",kwnames
,&obj0
)) goto fail
;
24786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
24787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24790 result
= (size_t)(arg1
)->GetTextLength();
24792 wxPyEndAllowThreads(__tstate
);
24793 if (PyErr_Occurred()) SWIG_fail
;
24795 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24802 static PyObject
*_wrap_TextDataObject_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24803 PyObject
*resultobj
;
24804 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
24806 PyObject
* obj0
= 0 ;
24807 char *kwnames
[] = {
24808 (char *) "self", NULL
24811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetText",kwnames
,&obj0
)) goto fail
;
24812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
24813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24816 result
= (arg1
)->GetText();
24818 wxPyEndAllowThreads(__tstate
);
24819 if (PyErr_Occurred()) SWIG_fail
;
24823 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24825 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24834 static PyObject
*_wrap_TextDataObject_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24835 PyObject
*resultobj
;
24836 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
24837 wxString
*arg2
= 0 ;
24838 bool temp2
= False
;
24839 PyObject
* obj0
= 0 ;
24840 PyObject
* obj1
= 0 ;
24841 char *kwnames
[] = {
24842 (char *) "self",(char *) "text", NULL
24845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
24846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
24847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24849 arg2
= wxString_in_helper(obj1
);
24850 if (arg2
== NULL
) SWIG_fail
;
24854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24855 (arg1
)->SetText((wxString
const &)*arg2
);
24857 wxPyEndAllowThreads(__tstate
);
24858 if (PyErr_Occurred()) SWIG_fail
;
24860 Py_INCREF(Py_None
); resultobj
= Py_None
;
24875 static PyObject
* TextDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
24877 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24878 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject
, obj
);
24880 return Py_BuildValue((char *)"");
24882 static PyObject
*_wrap_new_PyTextDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24883 PyObject
*resultobj
;
24884 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24885 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24886 wxPyTextDataObject
*result
;
24887 bool temp1
= False
;
24888 PyObject
* obj0
= 0 ;
24889 char *kwnames
[] = {
24890 (char *) "text", NULL
24893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) goto fail
;
24896 arg1
= wxString_in_helper(obj0
);
24897 if (arg1
== NULL
) SWIG_fail
;
24902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24903 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
24905 wxPyEndAllowThreads(__tstate
);
24906 if (PyErr_Occurred()) SWIG_fail
;
24908 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDataObject
, 1);
24923 static PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24924 PyObject
*resultobj
;
24925 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
24926 PyObject
*arg2
= (PyObject
*) 0 ;
24927 PyObject
*arg3
= (PyObject
*) 0 ;
24928 PyObject
* obj0
= 0 ;
24929 PyObject
* obj1
= 0 ;
24930 PyObject
* obj2
= 0 ;
24931 char *kwnames
[] = {
24932 (char *) "self",(char *) "self",(char *) "_class", NULL
24935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDataObject
,
24937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24942 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24944 wxPyEndAllowThreads(__tstate
);
24945 if (PyErr_Occurred()) SWIG_fail
;
24947 Py_INCREF(Py_None
); resultobj
= Py_None
;
24954 static PyObject
* PyTextDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
24956 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24957 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject
, obj
);
24959 return Py_BuildValue((char *)"");
24961 static PyObject
*_wrap_new_BitmapDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24962 PyObject
*resultobj
;
24963 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
24964 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
24965 wxBitmapDataObject
*result
;
24966 PyObject
* obj0
= 0 ;
24967 char *kwnames
[] = {
24968 (char *) "bitmap", NULL
24971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) goto fail
;
24973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
24974 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24976 if (arg1
== NULL
) {
24977 PyErr_SetString(PyExc_TypeError
,"null reference");
24982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24983 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
24985 wxPyEndAllowThreads(__tstate
);
24986 if (PyErr_Occurred()) SWIG_fail
;
24988 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapDataObject
, 1);
24995 static PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24996 PyObject
*resultobj
;
24997 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
24999 PyObject
* obj0
= 0 ;
25000 char *kwnames
[] = {
25001 (char *) "self", NULL
25004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapDataObject_GetBitmap",kwnames
,&obj0
)) goto fail
;
25005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapDataObject
,
25006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25009 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
25011 wxPyEndAllowThreads(__tstate
);
25012 if (PyErr_Occurred()) SWIG_fail
;
25015 wxBitmap
* resultptr
;
25016 resultptr
= new wxBitmap((wxBitmap
&) result
);
25017 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
25025 static PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25026 PyObject
*resultobj
;
25027 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
25028 wxBitmap
*arg2
= 0 ;
25029 PyObject
* obj0
= 0 ;
25030 PyObject
* obj1
= 0 ;
25031 char *kwnames
[] = {
25032 (char *) "self",(char *) "bitmap", NULL
25035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
25036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapDataObject
,
25037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25038 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
25039 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25041 if (arg2
== NULL
) {
25042 PyErr_SetString(PyExc_TypeError
,"null reference");
25046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25047 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
25049 wxPyEndAllowThreads(__tstate
);
25050 if (PyErr_Occurred()) SWIG_fail
;
25052 Py_INCREF(Py_None
); resultobj
= Py_None
;
25059 static PyObject
* BitmapDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25061 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25062 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject
, obj
);
25064 return Py_BuildValue((char *)"");
25066 static PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25067 PyObject
*resultobj
;
25068 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
25069 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
25070 wxPyBitmapDataObject
*result
;
25071 PyObject
* obj0
= 0 ;
25072 char *kwnames
[] = {
25073 (char *) "bitmap", NULL
25076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) goto fail
;
25078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
25079 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25081 if (arg1
== NULL
) {
25082 PyErr_SetString(PyExc_TypeError
,"null reference");
25087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25088 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
25090 wxPyEndAllowThreads(__tstate
);
25091 if (PyErr_Occurred()) SWIG_fail
;
25093 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyBitmapDataObject
, 1);
25100 static PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25101 PyObject
*resultobj
;
25102 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
25103 PyObject
*arg2
= (PyObject
*) 0 ;
25104 PyObject
*arg3
= (PyObject
*) 0 ;
25105 PyObject
* obj0
= 0 ;
25106 PyObject
* obj1
= 0 ;
25107 PyObject
* obj2
= 0 ;
25108 char *kwnames
[] = {
25109 (char *) "self",(char *) "self",(char *) "_class", NULL
25112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapDataObject
,
25114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25119 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25121 wxPyEndAllowThreads(__tstate
);
25122 if (PyErr_Occurred()) SWIG_fail
;
25124 Py_INCREF(Py_None
); resultobj
= Py_None
;
25131 static PyObject
* PyBitmapDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25133 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25134 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject
, obj
);
25136 return Py_BuildValue((char *)"");
25138 static PyObject
*_wrap_new_FileDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25139 PyObject
*resultobj
;
25140 wxFileDataObject
*result
;
25141 char *kwnames
[] = {
25145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDataObject",kwnames
)) goto fail
;
25147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25148 result
= (wxFileDataObject
*)new wxFileDataObject();
25150 wxPyEndAllowThreads(__tstate
);
25151 if (PyErr_Occurred()) SWIG_fail
;
25153 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDataObject
, 1);
25160 static PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25161 PyObject
*resultobj
;
25162 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
25163 wxArrayString
*result
;
25164 PyObject
* obj0
= 0 ;
25165 char *kwnames
[] = {
25166 (char *) "self", NULL
25169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDataObject_GetFilenames",kwnames
,&obj0
)) goto fail
;
25170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDataObject
,
25171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25175 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
25176 result
= (wxArrayString
*) &_result_ref
;
25179 wxPyEndAllowThreads(__tstate
);
25180 if (PyErr_Occurred()) SWIG_fail
;
25183 resultobj
= wxArrayString2PyList_helper(*result
);
25191 static PyObject
*_wrap_FileDataObject_AddFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25192 PyObject
*resultobj
;
25193 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
25194 wxString
*arg2
= 0 ;
25195 bool temp2
= False
;
25196 PyObject
* obj0
= 0 ;
25197 PyObject
* obj1
= 0 ;
25198 char *kwnames
[] = {
25199 (char *) "self",(char *) "filename", NULL
25202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDataObject_AddFile",kwnames
,&obj0
,&obj1
)) goto fail
;
25203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDataObject
,
25204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25206 arg2
= wxString_in_helper(obj1
);
25207 if (arg2
== NULL
) SWIG_fail
;
25211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25212 (arg1
)->AddFile((wxString
const &)*arg2
);
25214 wxPyEndAllowThreads(__tstate
);
25215 if (PyErr_Occurred()) SWIG_fail
;
25217 Py_INCREF(Py_None
); resultobj
= Py_None
;
25232 static PyObject
* FileDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25234 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25235 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject
, obj
);
25237 return Py_BuildValue((char *)"");
25239 static PyObject
*_wrap_new_CustomDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25240 PyObject
*resultobj
;
25241 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
25242 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
25243 wxCustomDataObject
*result
;
25244 PyObject
* obj0
= 0 ;
25245 char *kwnames
[] = {
25246 (char *) "format", NULL
25249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CustomDataObject",kwnames
,&obj0
)) goto fail
;
25251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
25252 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25254 if (arg1
== NULL
) {
25255 PyErr_SetString(PyExc_TypeError
,"null reference");
25260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25261 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
25263 wxPyEndAllowThreads(__tstate
);
25264 if (PyErr_Occurred()) SWIG_fail
;
25266 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
25273 static PyObject
*_wrap_CustomDataObject_TakeData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25274 PyObject
*resultobj
;
25275 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25276 PyObject
*arg2
= (PyObject
*) 0 ;
25277 PyObject
* obj0
= 0 ;
25278 PyObject
* obj1
= 0 ;
25279 char *kwnames
[] = {
25280 (char *) "self",(char *) "data", NULL
25283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_TakeData",kwnames
,&obj0
,&obj1
)) goto fail
;
25284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25289 wxCustomDataObject_TakeData(arg1
,arg2
);
25291 wxPyEndAllowThreads(__tstate
);
25292 if (PyErr_Occurred()) SWIG_fail
;
25294 Py_INCREF(Py_None
); resultobj
= Py_None
;
25301 static PyObject
*_wrap_CustomDataObject_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25302 PyObject
*resultobj
;
25303 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25304 PyObject
*arg2
= (PyObject
*) 0 ;
25306 PyObject
* obj0
= 0 ;
25307 PyObject
* obj1
= 0 ;
25308 char *kwnames
[] = {
25309 (char *) "self",(char *) "data", NULL
25312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
25313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25318 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
25320 wxPyEndAllowThreads(__tstate
);
25321 if (PyErr_Occurred()) SWIG_fail
;
25324 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25332 static PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25333 PyObject
*resultobj
;
25334 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25336 PyObject
* obj0
= 0 ;
25337 char *kwnames
[] = {
25338 (char *) "self", NULL
25341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetSize",kwnames
,&obj0
)) goto fail
;
25342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25346 result
= (size_t)(arg1
)->GetSize();
25348 wxPyEndAllowThreads(__tstate
);
25349 if (PyErr_Occurred()) SWIG_fail
;
25351 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
25358 static PyObject
*_wrap_CustomDataObject_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25359 PyObject
*resultobj
;
25360 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25362 PyObject
* obj0
= 0 ;
25363 char *kwnames
[] = {
25364 (char *) "self", NULL
25367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetData",kwnames
,&obj0
)) goto fail
;
25368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25372 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
25374 wxPyEndAllowThreads(__tstate
);
25375 if (PyErr_Occurred()) SWIG_fail
;
25377 resultobj
= result
;
25384 static PyObject
* CustomDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25386 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25387 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject
, obj
);
25389 return Py_BuildValue((char *)"");
25391 static PyObject
*_wrap_new_URLDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25392 PyObject
*resultobj
;
25393 wxURLDataObject
*result
;
25394 char *kwnames
[] = {
25398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_URLDataObject",kwnames
)) goto fail
;
25400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25401 result
= (wxURLDataObject
*)new wxURLDataObject();
25403 wxPyEndAllowThreads(__tstate
);
25404 if (PyErr_Occurred()) SWIG_fail
;
25406 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxURLDataObject
, 1);
25413 static PyObject
*_wrap_URLDataObject_GetURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25414 PyObject
*resultobj
;
25415 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
25417 PyObject
* obj0
= 0 ;
25418 char *kwnames
[] = {
25419 (char *) "self", NULL
25422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:URLDataObject_GetURL",kwnames
,&obj0
)) goto fail
;
25423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxURLDataObject
,
25424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25427 result
= (arg1
)->GetURL();
25429 wxPyEndAllowThreads(__tstate
);
25430 if (PyErr_Occurred()) SWIG_fail
;
25434 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25436 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25445 static PyObject
*_wrap_URLDataObject_SetURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25446 PyObject
*resultobj
;
25447 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
25448 wxString
*arg2
= 0 ;
25449 bool temp2
= False
;
25450 PyObject
* obj0
= 0 ;
25451 PyObject
* obj1
= 0 ;
25452 char *kwnames
[] = {
25453 (char *) "self",(char *) "url", NULL
25456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) goto fail
;
25457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxURLDataObject
,
25458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25460 arg2
= wxString_in_helper(obj1
);
25461 if (arg2
== NULL
) SWIG_fail
;
25465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25466 (arg1
)->SetURL((wxString
const &)*arg2
);
25468 wxPyEndAllowThreads(__tstate
);
25469 if (PyErr_Occurred()) SWIG_fail
;
25471 Py_INCREF(Py_None
); resultobj
= Py_None
;
25486 static PyObject
* URLDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25488 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25489 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject
, obj
);
25491 return Py_BuildValue((char *)"");
25493 static PyObject
*_wrap_new_MetafileDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25494 PyObject
*resultobj
;
25495 wxMetafileDataObject
*result
;
25496 char *kwnames
[] = {
25500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MetafileDataObject",kwnames
)) goto fail
;
25502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25503 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
25505 wxPyEndAllowThreads(__tstate
);
25506 if (PyErr_Occurred()) SWIG_fail
;
25508 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetafileDataObject
, 1);
25515 static PyObject
*_wrap_MetafileDataObject_SetMetafile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25516 PyObject
*resultobj
;
25517 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
25518 wxMetafile
*arg2
= 0 ;
25519 PyObject
* obj0
= 0 ;
25520 PyObject
* obj1
= 0 ;
25521 char *kwnames
[] = {
25522 (char *) "self",(char *) "metafile", NULL
25525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MetafileDataObject_SetMetafile",kwnames
,&obj0
,&obj1
)) goto fail
;
25526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetafileDataObject
,
25527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25528 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMetafile
,
25529 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25531 if (arg2
== NULL
) {
25532 PyErr_SetString(PyExc_TypeError
,"null reference");
25536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25537 (arg1
)->SetMetafile((wxMetafile
const &)*arg2
);
25539 wxPyEndAllowThreads(__tstate
);
25540 if (PyErr_Occurred()) SWIG_fail
;
25542 Py_INCREF(Py_None
); resultobj
= Py_None
;
25549 static PyObject
*_wrap_MetafileDataObject_GetMetafile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25550 PyObject
*resultobj
;
25551 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
25553 PyObject
* obj0
= 0 ;
25554 char *kwnames
[] = {
25555 (char *) "self", NULL
25558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetafileDataObject_GetMetafile",kwnames
,&obj0
)) goto fail
;
25559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetafileDataObject
,
25560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25563 result
= ((wxMetafileDataObject
const *)arg1
)->GetMetafile();
25565 wxPyEndAllowThreads(__tstate
);
25566 if (PyErr_Occurred()) SWIG_fail
;
25569 wxMetafile
* resultptr
;
25570 resultptr
= new wxMetafile((wxMetafile
&) result
);
25571 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxMetafile
, 1);
25579 static PyObject
* MetafileDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25581 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25582 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject
, obj
);
25584 return Py_BuildValue((char *)"");
25586 static PyObject
*_wrap_IsDragResultOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25587 PyObject
*resultobj
;
25590 PyObject
* obj0
= 0 ;
25591 char *kwnames
[] = {
25592 (char *) "res", NULL
25595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) goto fail
;
25596 arg1
= (wxDragResult
) SWIG_AsInt(obj0
);
25597 if (PyErr_Occurred()) SWIG_fail
;
25599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25600 result
= (bool)wxIsDragResultOk((wxDragResult
)arg1
);
25602 wxPyEndAllowThreads(__tstate
);
25603 if (PyErr_Occurred()) SWIG_fail
;
25606 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25614 static PyObject
*_wrap_new_DropSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25615 PyObject
*resultobj
;
25616 wxWindow
*arg1
= (wxWindow
*) 0 ;
25617 wxCursor
const &arg2_defvalue
= wxNullCursor
;
25618 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
25619 wxCursor
const &arg3_defvalue
= wxNullCursor
;
25620 wxCursor
*arg3
= (wxCursor
*) &arg3_defvalue
;
25621 wxCursor
const &arg4_defvalue
= wxNullCursor
;
25622 wxCursor
*arg4
= (wxCursor
*) &arg4_defvalue
;
25623 wxPyDropSource
*result
;
25624 PyObject
* obj0
= 0 ;
25625 PyObject
* obj1
= 0 ;
25626 PyObject
* obj2
= 0 ;
25627 PyObject
* obj3
= 0 ;
25628 char *kwnames
[] = {
25629 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
25632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25636 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
25637 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25639 if (arg2
== NULL
) {
25640 PyErr_SetString(PyExc_TypeError
,"null reference");
25645 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxCursor
,
25646 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25648 if (arg3
== NULL
) {
25649 PyErr_SetString(PyExc_TypeError
,"null reference");
25654 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxCursor
,
25655 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25657 if (arg4
== NULL
) {
25658 PyErr_SetString(PyExc_TypeError
,"null reference");
25663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25664 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxCursor
const &)*arg2
,(wxCursor
const &)*arg3
,(wxCursor
const &)*arg4
);
25666 wxPyEndAllowThreads(__tstate
);
25667 if (PyErr_Occurred()) SWIG_fail
;
25669 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropSource
, 1);
25676 static PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25677 PyObject
*resultobj
;
25678 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25679 PyObject
*arg2
= (PyObject
*) 0 ;
25680 PyObject
*arg3
= (PyObject
*) 0 ;
25682 PyObject
* obj0
= 0 ;
25683 PyObject
* obj1
= 0 ;
25684 PyObject
* obj2
= 0 ;
25685 PyObject
* obj3
= 0 ;
25686 char *kwnames
[] = {
25687 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
25690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25695 arg4
= (int) SWIG_AsInt(obj3
);
25696 if (PyErr_Occurred()) SWIG_fail
;
25698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25699 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
25701 wxPyEndAllowThreads(__tstate
);
25702 if (PyErr_Occurred()) SWIG_fail
;
25704 Py_INCREF(Py_None
); resultobj
= Py_None
;
25711 static PyObject
*_wrap_delete_DropSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25712 PyObject
*resultobj
;
25713 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25714 PyObject
* obj0
= 0 ;
25715 char *kwnames
[] = {
25716 (char *) "self", NULL
25719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropSource",kwnames
,&obj0
)) goto fail
;
25720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25726 wxPyEndAllowThreads(__tstate
);
25727 if (PyErr_Occurred()) SWIG_fail
;
25729 Py_INCREF(Py_None
); resultobj
= Py_None
;
25736 static PyObject
*_wrap_DropSource_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25737 PyObject
*resultobj
;
25738 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25739 wxDataObject
*arg2
= 0 ;
25740 PyObject
* obj0
= 0 ;
25741 PyObject
* obj1
= 0 ;
25742 char *kwnames
[] = {
25743 (char *) "self",(char *) "data", NULL
25746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
25747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25749 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
25750 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25752 if (arg2
== NULL
) {
25753 PyErr_SetString(PyExc_TypeError
,"null reference");
25757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25758 (arg1
)->SetData(*arg2
);
25760 wxPyEndAllowThreads(__tstate
);
25761 if (PyErr_Occurred()) SWIG_fail
;
25763 Py_INCREF(Py_None
); resultobj
= Py_None
;
25770 static PyObject
*_wrap_DropSource_GetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25771 PyObject
*resultobj
;
25772 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25773 wxDataObject
*result
;
25774 PyObject
* obj0
= 0 ;
25775 char *kwnames
[] = {
25776 (char *) "self", NULL
25779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropSource_GetDataObject",kwnames
,&obj0
)) goto fail
;
25780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25784 result
= (wxDataObject
*)(arg1
)->GetDataObject();
25786 wxPyEndAllowThreads(__tstate
);
25787 if (PyErr_Occurred()) SWIG_fail
;
25789 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
25796 static PyObject
*_wrap_DropSource_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25797 PyObject
*resultobj
;
25798 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25800 wxCursor
*arg3
= 0 ;
25801 PyObject
* obj0
= 0 ;
25802 PyObject
* obj1
= 0 ;
25803 PyObject
* obj2
= 0 ;
25804 char *kwnames
[] = {
25805 (char *) "self",(char *) "res",(char *) "cursor", NULL
25808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25811 arg2
= (wxDragResult
) SWIG_AsInt(obj1
);
25812 if (PyErr_Occurred()) SWIG_fail
;
25813 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxCursor
,
25814 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25816 if (arg3
== NULL
) {
25817 PyErr_SetString(PyExc_TypeError
,"null reference");
25821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25822 (arg1
)->SetCursor((wxDragResult
)arg2
,(wxCursor
const &)*arg3
);
25824 wxPyEndAllowThreads(__tstate
);
25825 if (PyErr_Occurred()) SWIG_fail
;
25827 Py_INCREF(Py_None
); resultobj
= Py_None
;
25834 static PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25835 PyObject
*resultobj
;
25836 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25837 int arg2
= (int) wxDrag_CopyOnly
;
25839 PyObject
* obj0
= 0 ;
25840 PyObject
* obj1
= 0 ;
25841 char *kwnames
[] = {
25842 (char *) "self",(char *) "flags", NULL
25845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) goto fail
;
25846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25849 arg2
= (int) SWIG_AsInt(obj1
);
25850 if (PyErr_Occurred()) SWIG_fail
;
25853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25854 result
= (int)(arg1
)->DoDragDrop(arg2
);
25856 wxPyEndAllowThreads(__tstate
);
25857 if (PyErr_Occurred()) SWIG_fail
;
25859 resultobj
= SWIG_FromInt((int)result
);
25866 static PyObject
*_wrap_DropSource_base_GiveFeedback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25867 PyObject
*resultobj
;
25868 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25871 PyObject
* obj0
= 0 ;
25872 PyObject
* obj1
= 0 ;
25873 char *kwnames
[] = {
25874 (char *) "self",(char *) "effect", NULL
25877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_base_GiveFeedback",kwnames
,&obj0
,&obj1
)) goto fail
;
25878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25880 arg2
= (wxDragResult
) SWIG_AsInt(obj1
);
25881 if (PyErr_Occurred()) SWIG_fail
;
25883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25884 result
= (bool)(arg1
)->base_GiveFeedback((wxDragResult
)arg2
);
25886 wxPyEndAllowThreads(__tstate
);
25887 if (PyErr_Occurred()) SWIG_fail
;
25890 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25898 static PyObject
* DropSource_swigregister(PyObject
*self
, PyObject
*args
) {
25900 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25901 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource
, obj
);
25903 return Py_BuildValue((char *)"");
25905 static PyObject
*_wrap_new_DropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25906 PyObject
*resultobj
;
25907 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
25908 wxPyDropTarget
*result
;
25909 PyObject
* obj0
= 0 ;
25910 char *kwnames
[] = {
25911 (char *) "dataObject", NULL
25914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DropTarget",kwnames
,&obj0
)) goto fail
;
25916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
25917 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25921 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
25923 wxPyEndAllowThreads(__tstate
);
25924 if (PyErr_Occurred()) SWIG_fail
;
25926 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 1);
25933 static PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25934 PyObject
*resultobj
;
25935 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25936 PyObject
*arg2
= (PyObject
*) 0 ;
25937 PyObject
*arg3
= (PyObject
*) 0 ;
25938 PyObject
* obj0
= 0 ;
25939 PyObject
* obj1
= 0 ;
25940 PyObject
* obj2
= 0 ;
25941 char *kwnames
[] = {
25942 (char *) "self",(char *) "self",(char *) "_class", NULL
25945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
25947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25952 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25954 wxPyEndAllowThreads(__tstate
);
25955 if (PyErr_Occurred()) SWIG_fail
;
25957 Py_INCREF(Py_None
); resultobj
= Py_None
;
25964 static PyObject
*_wrap_delete_DropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25965 PyObject
*resultobj
;
25966 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25967 PyObject
* obj0
= 0 ;
25968 char *kwnames
[] = {
25969 (char *) "self", NULL
25972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropTarget",kwnames
,&obj0
)) goto fail
;
25973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
25974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25979 wxPyEndAllowThreads(__tstate
);
25980 if (PyErr_Occurred()) SWIG_fail
;
25982 Py_INCREF(Py_None
); resultobj
= Py_None
;
25989 static PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25990 PyObject
*resultobj
;
25991 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25992 wxDataObject
*result
;
25993 PyObject
* obj0
= 0 ;
25994 char *kwnames
[] = {
25995 (char *) "self", NULL
25998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDataObject",kwnames
,&obj0
)) goto fail
;
25999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26003 result
= (wxDataObject
*)(arg1
)->GetDataObject();
26005 wxPyEndAllowThreads(__tstate
);
26006 if (PyErr_Occurred()) SWIG_fail
;
26008 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
26015 static PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26016 PyObject
*resultobj
;
26017 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26018 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
26019 PyObject
* obj0
= 0 ;
26020 PyObject
* obj1
= 0 ;
26021 char *kwnames
[] = {
26022 (char *) "self",(char *) "dataObject", NULL
26025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) goto fail
;
26026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26028 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26029 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26032 (arg1
)->SetDataObject(arg2
);
26034 wxPyEndAllowThreads(__tstate
);
26035 if (PyErr_Occurred()) SWIG_fail
;
26037 Py_INCREF(Py_None
); resultobj
= Py_None
;
26044 static PyObject
*_wrap_DropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26045 PyObject
*resultobj
;
26046 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26051 PyObject
* obj0
= 0 ;
26052 PyObject
* obj1
= 0 ;
26053 PyObject
* obj2
= 0 ;
26054 PyObject
* obj3
= 0 ;
26055 char *kwnames
[] = {
26056 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26062 arg2
= (int) SWIG_AsInt(obj1
);
26063 if (PyErr_Occurred()) SWIG_fail
;
26064 arg3
= (int) SWIG_AsInt(obj2
);
26065 if (PyErr_Occurred()) SWIG_fail
;
26066 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26067 if (PyErr_Occurred()) SWIG_fail
;
26069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26070 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26072 wxPyEndAllowThreads(__tstate
);
26073 if (PyErr_Occurred()) SWIG_fail
;
26075 resultobj
= SWIG_FromInt((int)result
);
26082 static PyObject
*_wrap_DropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26083 PyObject
*resultobj
;
26084 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26089 PyObject
* obj0
= 0 ;
26090 PyObject
* obj1
= 0 ;
26091 PyObject
* obj2
= 0 ;
26092 PyObject
* obj3
= 0 ;
26093 char *kwnames
[] = {
26094 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26100 arg2
= (int) SWIG_AsInt(obj1
);
26101 if (PyErr_Occurred()) SWIG_fail
;
26102 arg3
= (int) SWIG_AsInt(obj2
);
26103 if (PyErr_Occurred()) SWIG_fail
;
26104 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26105 if (PyErr_Occurred()) SWIG_fail
;
26107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26108 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26110 wxPyEndAllowThreads(__tstate
);
26111 if (PyErr_Occurred()) SWIG_fail
;
26113 resultobj
= SWIG_FromInt((int)result
);
26120 static PyObject
*_wrap_DropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26121 PyObject
*resultobj
;
26122 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26123 PyObject
* obj0
= 0 ;
26124 char *kwnames
[] = {
26125 (char *) "self", NULL
26128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26133 (arg1
)->base_OnLeave();
26135 wxPyEndAllowThreads(__tstate
);
26136 if (PyErr_Occurred()) SWIG_fail
;
26138 Py_INCREF(Py_None
); resultobj
= Py_None
;
26145 static PyObject
*_wrap_DropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26146 PyObject
*resultobj
;
26147 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26151 PyObject
* obj0
= 0 ;
26152 PyObject
* obj1
= 0 ;
26153 PyObject
* obj2
= 0 ;
26154 char *kwnames
[] = {
26155 (char *) "self",(char *) "x",(char *) "y", NULL
26158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26161 arg2
= (int) SWIG_AsInt(obj1
);
26162 if (PyErr_Occurred()) SWIG_fail
;
26163 arg3
= (int) SWIG_AsInt(obj2
);
26164 if (PyErr_Occurred()) SWIG_fail
;
26166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26167 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26169 wxPyEndAllowThreads(__tstate
);
26170 if (PyErr_Occurred()) SWIG_fail
;
26173 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26181 static PyObject
*_wrap_DropTarget_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26182 PyObject
*resultobj
;
26183 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26185 PyObject
* obj0
= 0 ;
26186 char *kwnames
[] = {
26187 (char *) "self", NULL
26190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetData",kwnames
,&obj0
)) goto fail
;
26191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26195 result
= (bool)(arg1
)->GetData();
26197 wxPyEndAllowThreads(__tstate
);
26198 if (PyErr_Occurred()) SWIG_fail
;
26201 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26209 static PyObject
* DropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
26211 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26212 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget
, obj
);
26214 return Py_BuildValue((char *)"");
26216 static PyObject
*_wrap_new_TextDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26217 PyObject
*resultobj
;
26218 wxPyTextDropTarget
*result
;
26219 char *kwnames
[] = {
26223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TextDropTarget",kwnames
)) goto fail
;
26225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26226 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
26228 wxPyEndAllowThreads(__tstate
);
26229 if (PyErr_Occurred()) SWIG_fail
;
26231 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDropTarget
, 1);
26238 static PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26239 PyObject
*resultobj
;
26240 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26241 PyObject
*arg2
= (PyObject
*) 0 ;
26242 PyObject
*arg3
= (PyObject
*) 0 ;
26243 PyObject
* obj0
= 0 ;
26244 PyObject
* obj1
= 0 ;
26245 PyObject
* obj2
= 0 ;
26246 char *kwnames
[] = {
26247 (char *) "self",(char *) "self",(char *) "_class", NULL
26250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26257 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26259 wxPyEndAllowThreads(__tstate
);
26260 if (PyErr_Occurred()) SWIG_fail
;
26262 Py_INCREF(Py_None
); resultobj
= Py_None
;
26269 static PyObject
*_wrap_TextDropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26270 PyObject
*resultobj
;
26271 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26276 PyObject
* obj0
= 0 ;
26277 PyObject
* obj1
= 0 ;
26278 PyObject
* obj2
= 0 ;
26279 PyObject
* obj3
= 0 ;
26280 char *kwnames
[] = {
26281 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26287 arg2
= (int) SWIG_AsInt(obj1
);
26288 if (PyErr_Occurred()) SWIG_fail
;
26289 arg3
= (int) SWIG_AsInt(obj2
);
26290 if (PyErr_Occurred()) SWIG_fail
;
26291 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26292 if (PyErr_Occurred()) SWIG_fail
;
26294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26295 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26297 wxPyEndAllowThreads(__tstate
);
26298 if (PyErr_Occurred()) SWIG_fail
;
26300 resultobj
= SWIG_FromInt((int)result
);
26307 static PyObject
*_wrap_TextDropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26308 PyObject
*resultobj
;
26309 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26314 PyObject
* obj0
= 0 ;
26315 PyObject
* obj1
= 0 ;
26316 PyObject
* obj2
= 0 ;
26317 PyObject
* obj3
= 0 ;
26318 char *kwnames
[] = {
26319 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26325 arg2
= (int) SWIG_AsInt(obj1
);
26326 if (PyErr_Occurred()) SWIG_fail
;
26327 arg3
= (int) SWIG_AsInt(obj2
);
26328 if (PyErr_Occurred()) SWIG_fail
;
26329 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26330 if (PyErr_Occurred()) SWIG_fail
;
26332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26333 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26335 wxPyEndAllowThreads(__tstate
);
26336 if (PyErr_Occurred()) SWIG_fail
;
26338 resultobj
= SWIG_FromInt((int)result
);
26345 static PyObject
*_wrap_TextDropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26346 PyObject
*resultobj
;
26347 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26348 PyObject
* obj0
= 0 ;
26349 char *kwnames
[] = {
26350 (char *) "self", NULL
26353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26358 (arg1
)->base_OnLeave();
26360 wxPyEndAllowThreads(__tstate
);
26361 if (PyErr_Occurred()) SWIG_fail
;
26363 Py_INCREF(Py_None
); resultobj
= Py_None
;
26370 static PyObject
*_wrap_TextDropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26371 PyObject
*resultobj
;
26372 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26376 PyObject
* obj0
= 0 ;
26377 PyObject
* obj1
= 0 ;
26378 PyObject
* obj2
= 0 ;
26379 char *kwnames
[] = {
26380 (char *) "self",(char *) "x",(char *) "y", NULL
26383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26386 arg2
= (int) SWIG_AsInt(obj1
);
26387 if (PyErr_Occurred()) SWIG_fail
;
26388 arg3
= (int) SWIG_AsInt(obj2
);
26389 if (PyErr_Occurred()) SWIG_fail
;
26391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26392 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26394 wxPyEndAllowThreads(__tstate
);
26395 if (PyErr_Occurred()) SWIG_fail
;
26398 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26406 static PyObject
*_wrap_TextDropTarget_base_OnData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26407 PyObject
*resultobj
;
26408 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26413 PyObject
* obj0
= 0 ;
26414 PyObject
* obj1
= 0 ;
26415 PyObject
* obj2
= 0 ;
26416 PyObject
* obj3
= 0 ;
26417 char *kwnames
[] = {
26418 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26424 arg2
= (int) SWIG_AsInt(obj1
);
26425 if (PyErr_Occurred()) SWIG_fail
;
26426 arg3
= (int) SWIG_AsInt(obj2
);
26427 if (PyErr_Occurred()) SWIG_fail
;
26428 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26429 if (PyErr_Occurred()) SWIG_fail
;
26431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26432 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
26434 wxPyEndAllowThreads(__tstate
);
26435 if (PyErr_Occurred()) SWIG_fail
;
26437 resultobj
= SWIG_FromInt((int)result
);
26444 static PyObject
* TextDropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
26446 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26447 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget
, obj
);
26449 return Py_BuildValue((char *)"");
26451 static PyObject
*_wrap_new_FileDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26452 PyObject
*resultobj
;
26453 wxPyFileDropTarget
*result
;
26454 char *kwnames
[] = {
26458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDropTarget",kwnames
)) goto fail
;
26460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26461 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
26463 wxPyEndAllowThreads(__tstate
);
26464 if (PyErr_Occurred()) SWIG_fail
;
26466 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileDropTarget
, 1);
26473 static PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26474 PyObject
*resultobj
;
26475 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26476 PyObject
*arg2
= (PyObject
*) 0 ;
26477 PyObject
*arg3
= (PyObject
*) 0 ;
26478 PyObject
* obj0
= 0 ;
26479 PyObject
* obj1
= 0 ;
26480 PyObject
* obj2
= 0 ;
26481 char *kwnames
[] = {
26482 (char *) "self",(char *) "self",(char *) "_class", NULL
26485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26492 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26494 wxPyEndAllowThreads(__tstate
);
26495 if (PyErr_Occurred()) SWIG_fail
;
26497 Py_INCREF(Py_None
); resultobj
= Py_None
;
26504 static PyObject
*_wrap_FileDropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26505 PyObject
*resultobj
;
26506 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26511 PyObject
* obj0
= 0 ;
26512 PyObject
* obj1
= 0 ;
26513 PyObject
* obj2
= 0 ;
26514 PyObject
* obj3
= 0 ;
26515 char *kwnames
[] = {
26516 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26522 arg2
= (int) SWIG_AsInt(obj1
);
26523 if (PyErr_Occurred()) SWIG_fail
;
26524 arg3
= (int) SWIG_AsInt(obj2
);
26525 if (PyErr_Occurred()) SWIG_fail
;
26526 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26527 if (PyErr_Occurred()) SWIG_fail
;
26529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26530 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26532 wxPyEndAllowThreads(__tstate
);
26533 if (PyErr_Occurred()) SWIG_fail
;
26535 resultobj
= SWIG_FromInt((int)result
);
26542 static PyObject
*_wrap_FileDropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26543 PyObject
*resultobj
;
26544 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26549 PyObject
* obj0
= 0 ;
26550 PyObject
* obj1
= 0 ;
26551 PyObject
* obj2
= 0 ;
26552 PyObject
* obj3
= 0 ;
26553 char *kwnames
[] = {
26554 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26560 arg2
= (int) SWIG_AsInt(obj1
);
26561 if (PyErr_Occurred()) SWIG_fail
;
26562 arg3
= (int) SWIG_AsInt(obj2
);
26563 if (PyErr_Occurred()) SWIG_fail
;
26564 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26565 if (PyErr_Occurred()) SWIG_fail
;
26567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26568 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26570 wxPyEndAllowThreads(__tstate
);
26571 if (PyErr_Occurred()) SWIG_fail
;
26573 resultobj
= SWIG_FromInt((int)result
);
26580 static PyObject
*_wrap_FileDropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26581 PyObject
*resultobj
;
26582 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26583 PyObject
* obj0
= 0 ;
26584 char *kwnames
[] = {
26585 (char *) "self", NULL
26588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26593 (arg1
)->base_OnLeave();
26595 wxPyEndAllowThreads(__tstate
);
26596 if (PyErr_Occurred()) SWIG_fail
;
26598 Py_INCREF(Py_None
); resultobj
= Py_None
;
26605 static PyObject
*_wrap_FileDropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26606 PyObject
*resultobj
;
26607 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26611 PyObject
* obj0
= 0 ;
26612 PyObject
* obj1
= 0 ;
26613 PyObject
* obj2
= 0 ;
26614 char *kwnames
[] = {
26615 (char *) "self",(char *) "x",(char *) "y", NULL
26618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26621 arg2
= (int) SWIG_AsInt(obj1
);
26622 if (PyErr_Occurred()) SWIG_fail
;
26623 arg3
= (int) SWIG_AsInt(obj2
);
26624 if (PyErr_Occurred()) SWIG_fail
;
26626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26627 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26629 wxPyEndAllowThreads(__tstate
);
26630 if (PyErr_Occurred()) SWIG_fail
;
26633 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26641 static PyObject
*_wrap_FileDropTarget_base_OnData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26642 PyObject
*resultobj
;
26643 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26648 PyObject
* obj0
= 0 ;
26649 PyObject
* obj1
= 0 ;
26650 PyObject
* obj2
= 0 ;
26651 PyObject
* obj3
= 0 ;
26652 char *kwnames
[] = {
26653 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26659 arg2
= (int) SWIG_AsInt(obj1
);
26660 if (PyErr_Occurred()) SWIG_fail
;
26661 arg3
= (int) SWIG_AsInt(obj2
);
26662 if (PyErr_Occurred()) SWIG_fail
;
26663 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26664 if (PyErr_Occurred()) SWIG_fail
;
26666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26667 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
26669 wxPyEndAllowThreads(__tstate
);
26670 if (PyErr_Occurred()) SWIG_fail
;
26672 resultobj
= SWIG_FromInt((int)result
);
26679 static PyObject
* FileDropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
26681 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26682 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget
, obj
);
26684 return Py_BuildValue((char *)"");
26686 static PyObject
*_wrap_new_Clipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26687 PyObject
*resultobj
;
26688 wxClipboard
*result
;
26689 char *kwnames
[] = {
26693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Clipboard",kwnames
)) goto fail
;
26695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26696 result
= (wxClipboard
*)new wxClipboard();
26698 wxPyEndAllowThreads(__tstate
);
26699 if (PyErr_Occurred()) SWIG_fail
;
26701 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 1);
26708 static PyObject
*_wrap_delete_Clipboard(PyObject
*self
, 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:delete_Clipboard",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_Open(PyObject
*self
, 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_Open",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
)->Open();
26749 wxPyEndAllowThreads(__tstate
);
26750 if (PyErr_Occurred()) SWIG_fail
;
26753 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26761 static PyObject
*_wrap_Clipboard_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26762 PyObject
*resultobj
;
26763 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26764 PyObject
* obj0
= 0 ;
26765 char *kwnames
[] = {
26766 (char *) "self", NULL
26769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Close",kwnames
,&obj0
)) goto fail
;
26770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26776 wxPyEndAllowThreads(__tstate
);
26777 if (PyErr_Occurred()) SWIG_fail
;
26779 Py_INCREF(Py_None
); resultobj
= Py_None
;
26786 static PyObject
*_wrap_Clipboard_IsOpened(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26787 PyObject
*resultobj
;
26788 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26790 PyObject
* obj0
= 0 ;
26791 char *kwnames
[] = {
26792 (char *) "self", NULL
26795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_IsOpened",kwnames
,&obj0
)) goto fail
;
26796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26800 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
26802 wxPyEndAllowThreads(__tstate
);
26803 if (PyErr_Occurred()) SWIG_fail
;
26806 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26814 static PyObject
*_wrap_Clipboard_AddData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26815 PyObject
*resultobj
;
26816 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26817 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
26819 PyObject
* obj0
= 0 ;
26820 PyObject
* obj1
= 0 ;
26821 char *kwnames
[] = {
26822 (char *) "self",(char *) "data", NULL
26825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) goto fail
;
26826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26828 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26829 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26832 result
= (bool)(arg1
)->AddData(arg2
);
26834 wxPyEndAllowThreads(__tstate
);
26835 if (PyErr_Occurred()) SWIG_fail
;
26838 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26846 static PyObject
*_wrap_Clipboard_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26847 PyObject
*resultobj
;
26848 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26849 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
26851 PyObject
* obj0
= 0 ;
26852 PyObject
* obj1
= 0 ;
26853 char *kwnames
[] = {
26854 (char *) "self",(char *) "data", NULL
26857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
26858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26860 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26861 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26864 result
= (bool)(arg1
)->SetData(arg2
);
26866 wxPyEndAllowThreads(__tstate
);
26867 if (PyErr_Occurred()) SWIG_fail
;
26870 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26878 static PyObject
*_wrap_Clipboard_IsSupported(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26879 PyObject
*resultobj
;
26880 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26881 wxDataFormat
*arg2
= 0 ;
26883 PyObject
* obj0
= 0 ;
26884 PyObject
* obj1
= 0 ;
26885 char *kwnames
[] = {
26886 (char *) "self",(char *) "format", NULL
26889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) goto fail
;
26890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26892 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
26893 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26895 if (arg2
== NULL
) {
26896 PyErr_SetString(PyExc_TypeError
,"null reference");
26900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26901 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
26903 wxPyEndAllowThreads(__tstate
);
26904 if (PyErr_Occurred()) SWIG_fail
;
26907 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26915 static PyObject
*_wrap_Clipboard_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26916 PyObject
*resultobj
;
26917 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26918 wxDataObject
*arg2
= 0 ;
26920 PyObject
* obj0
= 0 ;
26921 PyObject
* obj1
= 0 ;
26922 char *kwnames
[] = {
26923 (char *) "self",(char *) "data", NULL
26926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) goto fail
;
26927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26929 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26930 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26932 if (arg2
== NULL
) {
26933 PyErr_SetString(PyExc_TypeError
,"null reference");
26937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26938 result
= (bool)(arg1
)->GetData(*arg2
);
26940 wxPyEndAllowThreads(__tstate
);
26941 if (PyErr_Occurred()) SWIG_fail
;
26944 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26952 static PyObject
*_wrap_Clipboard_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26953 PyObject
*resultobj
;
26954 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26955 PyObject
* obj0
= 0 ;
26956 char *kwnames
[] = {
26957 (char *) "self", NULL
26960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Clear",kwnames
,&obj0
)) goto fail
;
26961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26967 wxPyEndAllowThreads(__tstate
);
26968 if (PyErr_Occurred()) SWIG_fail
;
26970 Py_INCREF(Py_None
); resultobj
= Py_None
;
26977 static PyObject
*_wrap_Clipboard_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26978 PyObject
*resultobj
;
26979 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26981 PyObject
* obj0
= 0 ;
26982 char *kwnames
[] = {
26983 (char *) "self", NULL
26986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Flush",kwnames
,&obj0
)) goto fail
;
26987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26991 result
= (bool)(arg1
)->Flush();
26993 wxPyEndAllowThreads(__tstate
);
26994 if (PyErr_Occurred()) SWIG_fail
;
26997 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27005 static PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27006 PyObject
*resultobj
;
27007 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27008 bool arg2
= (bool) True
;
27009 PyObject
* obj0
= 0 ;
27010 PyObject
* obj1
= 0 ;
27011 char *kwnames
[] = {
27012 (char *) "self",(char *) "primary", NULL
27015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) goto fail
;
27016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27019 arg2
= (bool) SWIG_AsBool(obj1
);
27020 if (PyErr_Occurred()) SWIG_fail
;
27023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27024 (arg1
)->UsePrimarySelection(arg2
);
27026 wxPyEndAllowThreads(__tstate
);
27027 if (PyErr_Occurred()) SWIG_fail
;
27029 Py_INCREF(Py_None
); resultobj
= Py_None
;
27036 static PyObject
* Clipboard_swigregister(PyObject
*self
, PyObject
*args
) {
27038 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27039 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard
, obj
);
27041 return Py_BuildValue((char *)"");
27043 static int _wrap_TheClipboard_set(PyObject
*_val
) {
27044 PyErr_SetString(PyExc_TypeError
,"Variable TheClipboard is read-only.");
27049 static PyObject
*_wrap_TheClipboard_get() {
27052 pyobj
= SWIG_NewPointerObj((void *)(wxTheClipboard
), SWIGTYPE_p_wxClipboard
, 0);
27057 static PyObject
*_wrap_new_ClipboardLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27058 PyObject
*resultobj
;
27059 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
27060 wxClipboardLocker
*result
;
27061 PyObject
* obj0
= 0 ;
27062 char *kwnames
[] = {
27063 (char *) "clipboard", NULL
27066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
27068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27073 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
27075 wxPyEndAllowThreads(__tstate
);
27076 if (PyErr_Occurred()) SWIG_fail
;
27078 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboardLocker
, 1);
27085 static PyObject
*_wrap_delete_ClipboardLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27086 PyObject
*resultobj
;
27087 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
27088 PyObject
* obj0
= 0 ;
27089 char *kwnames
[] = {
27090 (char *) "self", NULL
27093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
27094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboardLocker
,
27095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27100 wxPyEndAllowThreads(__tstate
);
27101 if (PyErr_Occurred()) SWIG_fail
;
27103 Py_INCREF(Py_None
); resultobj
= Py_None
;
27110 static PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27111 PyObject
*resultobj
;
27112 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
27114 PyObject
* obj0
= 0 ;
27115 char *kwnames
[] = {
27116 (char *) "self", NULL
27119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ClipboardLocker___nonzero__",kwnames
,&obj0
)) goto fail
;
27120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboardLocker
,
27121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27124 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
27126 wxPyEndAllowThreads(__tstate
);
27127 if (PyErr_Occurred()) SWIG_fail
;
27130 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27138 static PyObject
* ClipboardLocker_swigregister(PyObject
*self
, PyObject
*args
) {
27140 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27141 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker
, obj
);
27143 return Py_BuildValue((char *)"");
27145 static PyObject
*_wrap_new_VideoMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27146 PyObject
*resultobj
;
27147 int arg1
= (int) 0 ;
27148 int arg2
= (int) 0 ;
27149 int arg3
= (int) 0 ;
27150 int arg4
= (int) 0 ;
27151 wxVideoMode
*result
;
27152 PyObject
* obj0
= 0 ;
27153 PyObject
* obj1
= 0 ;
27154 PyObject
* obj2
= 0 ;
27155 PyObject
* obj3
= 0 ;
27156 char *kwnames
[] = {
27157 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
27160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_VideoMode",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27162 arg1
= (int) SWIG_AsInt(obj0
);
27163 if (PyErr_Occurred()) SWIG_fail
;
27166 arg2
= (int) SWIG_AsInt(obj1
);
27167 if (PyErr_Occurred()) SWIG_fail
;
27170 arg3
= (int) SWIG_AsInt(obj2
);
27171 if (PyErr_Occurred()) SWIG_fail
;
27174 arg4
= (int) SWIG_AsInt(obj3
);
27175 if (PyErr_Occurred()) SWIG_fail
;
27178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27179 result
= (wxVideoMode
*)new wxVideoMode(arg1
,arg2
,arg3
,arg4
);
27181 wxPyEndAllowThreads(__tstate
);
27182 if (PyErr_Occurred()) SWIG_fail
;
27184 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVideoMode
, 1);
27191 static PyObject
*_wrap_delete_VideoMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27192 PyObject
*resultobj
;
27193 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27194 PyObject
* obj0
= 0 ;
27195 char *kwnames
[] = {
27196 (char *) "self", NULL
27199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VideoMode",kwnames
,&obj0
)) goto fail
;
27200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27206 wxPyEndAllowThreads(__tstate
);
27207 if (PyErr_Occurred()) SWIG_fail
;
27209 Py_INCREF(Py_None
); resultobj
= Py_None
;
27216 static PyObject
*_wrap_VideoMode_Matches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27217 PyObject
*resultobj
;
27218 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27219 wxVideoMode
*arg2
= 0 ;
27221 PyObject
* obj0
= 0 ;
27222 PyObject
* obj1
= 0 ;
27223 char *kwnames
[] = {
27224 (char *) "self",(char *) "other", NULL
27227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_Matches",kwnames
,&obj0
,&obj1
)) goto fail
;
27228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27230 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27231 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27233 if (arg2
== NULL
) {
27234 PyErr_SetString(PyExc_TypeError
,"null reference");
27238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27239 result
= (bool)((wxVideoMode
const *)arg1
)->Matches((wxVideoMode
const &)*arg2
);
27241 wxPyEndAllowThreads(__tstate
);
27242 if (PyErr_Occurred()) SWIG_fail
;
27245 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27253 static PyObject
*_wrap_VideoMode_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27254 PyObject
*resultobj
;
27255 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27257 PyObject
* obj0
= 0 ;
27258 char *kwnames
[] = {
27259 (char *) "self", NULL
27262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetWidth",kwnames
,&obj0
)) goto fail
;
27263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27267 result
= (int)((wxVideoMode
const *)arg1
)->GetWidth();
27269 wxPyEndAllowThreads(__tstate
);
27270 if (PyErr_Occurred()) SWIG_fail
;
27272 resultobj
= SWIG_FromInt((int)result
);
27279 static PyObject
*_wrap_VideoMode_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27280 PyObject
*resultobj
;
27281 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27283 PyObject
* obj0
= 0 ;
27284 char *kwnames
[] = {
27285 (char *) "self", NULL
27288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetHeight",kwnames
,&obj0
)) goto fail
;
27289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27293 result
= (int)((wxVideoMode
const *)arg1
)->GetHeight();
27295 wxPyEndAllowThreads(__tstate
);
27296 if (PyErr_Occurred()) SWIG_fail
;
27298 resultobj
= SWIG_FromInt((int)result
);
27305 static PyObject
*_wrap_VideoMode_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27306 PyObject
*resultobj
;
27307 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27309 PyObject
* obj0
= 0 ;
27310 char *kwnames
[] = {
27311 (char *) "self", NULL
27314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetDepth",kwnames
,&obj0
)) goto fail
;
27315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27319 result
= (int)((wxVideoMode
const *)arg1
)->GetDepth();
27321 wxPyEndAllowThreads(__tstate
);
27322 if (PyErr_Occurred()) SWIG_fail
;
27324 resultobj
= SWIG_FromInt((int)result
);
27331 static PyObject
*_wrap_VideoMode_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27332 PyObject
*resultobj
;
27333 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27335 PyObject
* obj0
= 0 ;
27336 char *kwnames
[] = {
27337 (char *) "self", NULL
27340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_IsOk",kwnames
,&obj0
)) goto fail
;
27341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27345 result
= (bool)((wxVideoMode
const *)arg1
)->IsOk();
27347 wxPyEndAllowThreads(__tstate
);
27348 if (PyErr_Occurred()) SWIG_fail
;
27351 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27359 static PyObject
*_wrap_VideoMode___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27360 PyObject
*resultobj
;
27361 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27362 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
27364 PyObject
* obj0
= 0 ;
27365 PyObject
* obj1
= 0 ;
27366 char *kwnames
[] = {
27367 (char *) "self",(char *) "other", NULL
27370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
27371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27373 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27377 result
= (bool)wxVideoMode___eq__(arg1
,(wxVideoMode
const *)arg2
);
27379 wxPyEndAllowThreads(__tstate
);
27380 if (PyErr_Occurred()) SWIG_fail
;
27383 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27391 static PyObject
*_wrap_VideoMode___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27392 PyObject
*resultobj
;
27393 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27394 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
27396 PyObject
* obj0
= 0 ;
27397 PyObject
* obj1
= 0 ;
27398 char *kwnames
[] = {
27399 (char *) "self",(char *) "other", NULL
27402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
27403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27405 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27409 result
= (bool)wxVideoMode___ne__(arg1
,(wxVideoMode
const *)arg2
);
27411 wxPyEndAllowThreads(__tstate
);
27412 if (PyErr_Occurred()) SWIG_fail
;
27415 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27423 static PyObject
*_wrap_VideoMode_w_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27424 PyObject
*resultobj
;
27425 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27427 PyObject
* obj0
= 0 ;
27428 PyObject
* obj1
= 0 ;
27429 char *kwnames
[] = {
27430 (char *) "self",(char *) "w", NULL
27433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_w_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27436 arg2
= (int) SWIG_AsInt(obj1
);
27437 if (PyErr_Occurred()) SWIG_fail
;
27438 if (arg1
) (arg1
)->w
= arg2
;
27440 Py_INCREF(Py_None
); resultobj
= Py_None
;
27447 static PyObject
*_wrap_VideoMode_w_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27448 PyObject
*resultobj
;
27449 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27451 PyObject
* obj0
= 0 ;
27452 char *kwnames
[] = {
27453 (char *) "self", NULL
27456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_w_get",kwnames
,&obj0
)) goto fail
;
27457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27459 result
= (int) ((arg1
)->w
);
27461 resultobj
= SWIG_FromInt((int)result
);
27468 static PyObject
*_wrap_VideoMode_h_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27469 PyObject
*resultobj
;
27470 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27472 PyObject
* obj0
= 0 ;
27473 PyObject
* obj1
= 0 ;
27474 char *kwnames
[] = {
27475 (char *) "self",(char *) "h", NULL
27478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_h_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27481 arg2
= (int) SWIG_AsInt(obj1
);
27482 if (PyErr_Occurred()) SWIG_fail
;
27483 if (arg1
) (arg1
)->h
= arg2
;
27485 Py_INCREF(Py_None
); resultobj
= Py_None
;
27492 static PyObject
*_wrap_VideoMode_h_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27493 PyObject
*resultobj
;
27494 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27496 PyObject
* obj0
= 0 ;
27497 char *kwnames
[] = {
27498 (char *) "self", NULL
27501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_h_get",kwnames
,&obj0
)) goto fail
;
27502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27504 result
= (int) ((arg1
)->h
);
27506 resultobj
= SWIG_FromInt((int)result
);
27513 static PyObject
*_wrap_VideoMode_bpp_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27514 PyObject
*resultobj
;
27515 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27517 PyObject
* obj0
= 0 ;
27518 PyObject
* obj1
= 0 ;
27519 char *kwnames
[] = {
27520 (char *) "self",(char *) "bpp", NULL
27523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_bpp_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27526 arg2
= (int) SWIG_AsInt(obj1
);
27527 if (PyErr_Occurred()) SWIG_fail
;
27528 if (arg1
) (arg1
)->bpp
= arg2
;
27530 Py_INCREF(Py_None
); resultobj
= Py_None
;
27537 static PyObject
*_wrap_VideoMode_bpp_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27538 PyObject
*resultobj
;
27539 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27541 PyObject
* obj0
= 0 ;
27542 char *kwnames
[] = {
27543 (char *) "self", NULL
27546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_bpp_get",kwnames
,&obj0
)) goto fail
;
27547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27549 result
= (int) ((arg1
)->bpp
);
27551 resultobj
= SWIG_FromInt((int)result
);
27558 static PyObject
*_wrap_VideoMode_refresh_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27559 PyObject
*resultobj
;
27560 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27562 PyObject
* obj0
= 0 ;
27563 PyObject
* obj1
= 0 ;
27564 char *kwnames
[] = {
27565 (char *) "self",(char *) "refresh", NULL
27568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_refresh_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27571 arg2
= (int) SWIG_AsInt(obj1
);
27572 if (PyErr_Occurred()) SWIG_fail
;
27573 if (arg1
) (arg1
)->refresh
= arg2
;
27575 Py_INCREF(Py_None
); resultobj
= Py_None
;
27582 static PyObject
*_wrap_VideoMode_refresh_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27583 PyObject
*resultobj
;
27584 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27586 PyObject
* obj0
= 0 ;
27587 char *kwnames
[] = {
27588 (char *) "self", NULL
27591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_refresh_get",kwnames
,&obj0
)) goto fail
;
27592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27594 result
= (int) ((arg1
)->refresh
);
27596 resultobj
= SWIG_FromInt((int)result
);
27603 static PyObject
* VideoMode_swigregister(PyObject
*self
, PyObject
*args
) {
27605 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27606 SWIG_TypeClientData(SWIGTYPE_p_wxVideoMode
, obj
);
27608 return Py_BuildValue((char *)"");
27610 static int _wrap_DefaultVideoMode_set(PyObject
*_val
) {
27611 PyErr_SetString(PyExc_TypeError
,"Variable DefaultVideoMode is read-only.");
27616 static PyObject
*_wrap_DefaultVideoMode_get() {
27619 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultVideoMode
), SWIGTYPE_p_wxVideoMode
, 0);
27624 static PyObject
*_wrap_new_Display(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27625 PyObject
*resultobj
;
27626 size_t arg1
= (size_t) 0 ;
27628 PyObject
* obj0
= 0 ;
27629 char *kwnames
[] = {
27630 (char *) "index", NULL
27633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Display",kwnames
,&obj0
)) goto fail
;
27635 arg1
= (size_t) SWIG_AsUnsignedLong(obj0
);
27636 if (PyErr_Occurred()) SWIG_fail
;
27639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27640 result
= (wxDisplay
*)new wxDisplay(arg1
);
27642 wxPyEndAllowThreads(__tstate
);
27643 if (PyErr_Occurred()) SWIG_fail
;
27645 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplay
, 1);
27652 static PyObject
*_wrap_delete_Display(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27653 PyObject
*resultobj
;
27654 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27655 PyObject
* obj0
= 0 ;
27656 char *kwnames
[] = {
27657 (char *) "self", NULL
27660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Display",kwnames
,&obj0
)) goto fail
;
27661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27667 wxPyEndAllowThreads(__tstate
);
27668 if (PyErr_Occurred()) SWIG_fail
;
27670 Py_INCREF(Py_None
); resultobj
= Py_None
;
27677 static PyObject
*_wrap_Display_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27678 PyObject
*resultobj
;
27680 char *kwnames
[] = {
27684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Display_GetCount",kwnames
)) goto fail
;
27686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27687 result
= (size_t)wxDisplay::GetCount();
27689 wxPyEndAllowThreads(__tstate
);
27690 if (PyErr_Occurred()) SWIG_fail
;
27692 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
27699 static PyObject
*_wrap_Display_GetFromPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27700 PyObject
*resultobj
;
27701 wxPoint
*arg1
= 0 ;
27704 PyObject
* obj0
= 0 ;
27705 char *kwnames
[] = {
27706 (char *) "pt", NULL
27709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromPoint",kwnames
,&obj0
)) goto fail
;
27712 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
27715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27716 result
= (int)wxDisplay::GetFromPoint((wxPoint
const &)*arg1
);
27718 wxPyEndAllowThreads(__tstate
);
27719 if (PyErr_Occurred()) SWIG_fail
;
27721 resultobj
= SWIG_FromInt((int)result
);
27728 static PyObject
*_wrap_Display_GetFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27729 PyObject
*resultobj
;
27730 wxWindow
*arg1
= (wxWindow
*) 0 ;
27732 PyObject
* obj0
= 0 ;
27733 char *kwnames
[] = {
27734 (char *) "window", NULL
27737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromWindow",kwnames
,&obj0
)) goto fail
;
27738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27742 result
= (int)wxDisplay::GetFromWindow(arg1
);
27744 wxPyEndAllowThreads(__tstate
);
27745 if (PyErr_Occurred()) SWIG_fail
;
27747 resultobj
= SWIG_FromInt((int)result
);
27754 static PyObject
*_wrap_Display_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27755 PyObject
*resultobj
;
27756 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27758 PyObject
* obj0
= 0 ;
27759 char *kwnames
[] = {
27760 (char *) "self", NULL
27763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsOk",kwnames
,&obj0
)) goto fail
;
27764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27768 result
= (bool)((wxDisplay
const *)arg1
)->IsOk();
27770 wxPyEndAllowThreads(__tstate
);
27771 if (PyErr_Occurred()) SWIG_fail
;
27774 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27782 static PyObject
*_wrap_Display_GetGeometry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27783 PyObject
*resultobj
;
27784 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27786 PyObject
* obj0
= 0 ;
27787 char *kwnames
[] = {
27788 (char *) "self", NULL
27791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetGeometry",kwnames
,&obj0
)) goto fail
;
27792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27796 result
= ((wxDisplay
const *)arg1
)->GetGeometry();
27798 wxPyEndAllowThreads(__tstate
);
27799 if (PyErr_Occurred()) SWIG_fail
;
27802 wxRect
* resultptr
;
27803 resultptr
= new wxRect((wxRect
&) result
);
27804 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
27812 static PyObject
*_wrap_Display_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27813 PyObject
*resultobj
;
27814 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27816 PyObject
* obj0
= 0 ;
27817 char *kwnames
[] = {
27818 (char *) "self", NULL
27821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetName",kwnames
,&obj0
)) goto fail
;
27822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27826 result
= ((wxDisplay
const *)arg1
)->GetName();
27828 wxPyEndAllowThreads(__tstate
);
27829 if (PyErr_Occurred()) SWIG_fail
;
27833 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27835 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27844 static PyObject
*_wrap_Display_IsPrimary(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27845 PyObject
*resultobj
;
27846 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27848 PyObject
* obj0
= 0 ;
27849 char *kwnames
[] = {
27850 (char *) "self", NULL
27853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsPrimary",kwnames
,&obj0
)) goto fail
;
27854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27858 result
= (bool)((wxDisplay
const *)arg1
)->IsPrimary();
27860 wxPyEndAllowThreads(__tstate
);
27861 if (PyErr_Occurred()) SWIG_fail
;
27864 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27872 static PyObject
*_wrap_Display_GetModes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27873 PyObject
*resultobj
;
27874 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27875 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
27876 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
27878 PyObject
* obj0
= 0 ;
27879 PyObject
* obj1
= 0 ;
27880 char *kwnames
[] = {
27881 (char *) "self",(char *) "mode", NULL
27884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_GetModes",kwnames
,&obj0
,&obj1
)) goto fail
;
27885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27888 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27889 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27891 if (arg2
== NULL
) {
27892 PyErr_SetString(PyExc_TypeError
,"null reference");
27897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27898 result
= (PyObject
*)wxDisplay_GetModes(arg1
,(wxVideoMode
const &)*arg2
);
27900 wxPyEndAllowThreads(__tstate
);
27901 if (PyErr_Occurred()) SWIG_fail
;
27903 resultobj
= result
;
27910 static PyObject
*_wrap_Display_GetCurrentMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27911 PyObject
*resultobj
;
27912 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27913 wxVideoMode result
;
27914 PyObject
* obj0
= 0 ;
27915 char *kwnames
[] = {
27916 (char *) "self", NULL
27919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetCurrentMode",kwnames
,&obj0
)) goto fail
;
27920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27924 result
= ((wxDisplay
const *)arg1
)->GetCurrentMode();
27926 wxPyEndAllowThreads(__tstate
);
27927 if (PyErr_Occurred()) SWIG_fail
;
27930 wxVideoMode
* resultptr
;
27931 resultptr
= new wxVideoMode((wxVideoMode
&) result
);
27932 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVideoMode
, 1);
27940 static PyObject
*_wrap_Display_ChangeMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27941 PyObject
*resultobj
;
27942 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27943 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
27944 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
27946 PyObject
* obj0
= 0 ;
27947 PyObject
* obj1
= 0 ;
27948 char *kwnames
[] = {
27949 (char *) "self",(char *) "mode", NULL
27952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_ChangeMode",kwnames
,&obj0
,&obj1
)) goto fail
;
27953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27956 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27957 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27959 if (arg2
== NULL
) {
27960 PyErr_SetString(PyExc_TypeError
,"null reference");
27965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27966 result
= (bool)(arg1
)->ChangeMode((wxVideoMode
const &)*arg2
);
27968 wxPyEndAllowThreads(__tstate
);
27969 if (PyErr_Occurred()) SWIG_fail
;
27972 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27980 static PyObject
*_wrap_Display_ResetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27981 PyObject
*resultobj
;
27982 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27983 PyObject
* obj0
= 0 ;
27984 char *kwnames
[] = {
27985 (char *) "self", NULL
27988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_ResetMode",kwnames
,&obj0
)) goto fail
;
27989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27993 (arg1
)->ResetMode();
27995 wxPyEndAllowThreads(__tstate
);
27996 if (PyErr_Occurred()) SWIG_fail
;
27998 Py_INCREF(Py_None
); resultobj
= Py_None
;
28005 static PyObject
* Display_swigregister(PyObject
*self
, PyObject
*args
) {
28007 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28008 SWIG_TypeClientData(SWIGTYPE_p_wxDisplay
, obj
);
28010 return Py_BuildValue((char *)"");
28012 static PyMethodDef SwigMethods
[] = {
28013 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
28014 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
28015 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
},
28016 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
},
28017 { (char *)"SystemSettings_GetScreenType", (PyCFunction
) _wrap_SystemSettings_GetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
28018 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
28019 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
},
28020 { (char *)"new_SystemOptions", (PyCFunction
) _wrap_new_SystemOptions
, METH_VARARGS
| METH_KEYWORDS
},
28021 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
},
28022 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
28023 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
},
28024 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
28025 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
},
28026 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
},
28027 { (char *)"NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
},
28028 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
},
28029 { (char *)"GetCurrentId", (PyCFunction
) _wrap_GetCurrentId
, METH_VARARGS
| METH_KEYWORDS
},
28030 { (char *)"Bell", (PyCFunction
) _wrap_Bell
, METH_VARARGS
| METH_KEYWORDS
},
28031 { (char *)"EndBusyCursor", (PyCFunction
) _wrap_EndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
28032 { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
},
28033 { (char *)"GetMousePosition", (PyCFunction
) _wrap_GetMousePosition
, METH_VARARGS
| METH_KEYWORDS
},
28034 { (char *)"IsBusy", (PyCFunction
) _wrap_IsBusy
, METH_VARARGS
| METH_KEYWORDS
},
28035 { (char *)"Now", (PyCFunction
) _wrap_Now
, METH_VARARGS
| METH_KEYWORDS
},
28036 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
},
28037 { (char *)"StartTimer", (PyCFunction
) _wrap_StartTimer
, METH_VARARGS
| METH_KEYWORDS
},
28038 { (char *)"GetOsVersion", (PyCFunction
) _wrap_GetOsVersion
, METH_VARARGS
| METH_KEYWORDS
},
28039 { (char *)"GetOsDescription", (PyCFunction
) _wrap_GetOsDescription
, METH_VARARGS
| METH_KEYWORDS
},
28040 { (char *)"GetFreeMemory", (PyCFunction
) _wrap_GetFreeMemory
, METH_VARARGS
| METH_KEYWORDS
},
28041 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
},
28042 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
},
28043 { (char *)"Usleep", (PyCFunction
) _wrap_Usleep
, METH_VARARGS
| METH_KEYWORDS
},
28044 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
},
28045 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
},
28046 { (char *)"GetEmailAddress", (PyCFunction
) _wrap_GetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
},
28047 { (char *)"GetHostName", (PyCFunction
) _wrap_GetHostName
, METH_VARARGS
| METH_KEYWORDS
},
28048 { (char *)"GetFullHostName", (PyCFunction
) _wrap_GetFullHostName
, METH_VARARGS
| METH_KEYWORDS
},
28049 { (char *)"GetUserId", (PyCFunction
) _wrap_GetUserId
, METH_VARARGS
| METH_KEYWORDS
},
28050 { (char *)"GetUserName", (PyCFunction
) _wrap_GetUserName
, METH_VARARGS
| METH_KEYWORDS
},
28051 { (char *)"GetHomeDir", (PyCFunction
) _wrap_GetHomeDir
, METH_VARARGS
| METH_KEYWORDS
},
28052 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
},
28053 { (char *)"GetProcessId", (PyCFunction
) _wrap_GetProcessId
, METH_VARARGS
| METH_KEYWORDS
},
28054 { (char *)"Trap", (PyCFunction
) _wrap_Trap
, METH_VARARGS
| METH_KEYWORDS
},
28055 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
},
28056 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
28057 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
28058 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
},
28059 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
},
28060 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
},
28061 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
},
28062 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
},
28063 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
},
28064 { (char *)"GetNumberFromUser", (PyCFunction
) _wrap_GetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
},
28065 { (char *)"ColourDisplay", (PyCFunction
) _wrap_ColourDisplay
, METH_VARARGS
| METH_KEYWORDS
},
28066 { (char *)"DisplayDepth", (PyCFunction
) _wrap_DisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
28067 { (char *)"GetDisplayDepth", (PyCFunction
) _wrap_GetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
28068 { (char *)"DisplaySize", (PyCFunction
) _wrap_DisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
28069 { (char *)"GetDisplaySize", (PyCFunction
) _wrap_GetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
28070 { (char *)"DisplaySizeMM", (PyCFunction
) _wrap_DisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
28071 { (char *)"GetDisplaySizeMM", (PyCFunction
) _wrap_GetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
28072 { (char *)"ClientDisplayRect", (PyCFunction
) _wrap_ClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
28073 { (char *)"GetClientDisplayRect", (PyCFunction
) _wrap_GetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
28074 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
28075 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
28076 { (char *)"GetActiveWindow", (PyCFunction
) _wrap_GetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
},
28077 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
28078 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
28079 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
},
28080 { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS
| METH_KEYWORDS
},
28081 { (char *)"WakeUpMainThread", (PyCFunction
) _wrap_WakeUpMainThread
, METH_VARARGS
| METH_KEYWORDS
},
28082 { (char *)"MutexGuiEnter", (PyCFunction
) _wrap_MutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
},
28083 { (char *)"MutexGuiLeave", (PyCFunction
) _wrap_MutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
},
28084 { (char *)"new_MutexGuiLocker", (PyCFunction
) _wrap_new_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
28085 { (char *)"delete_MutexGuiLocker", (PyCFunction
) _wrap_delete_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
28086 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
},
28087 { (char *)"Thread_IsMain", (PyCFunction
) _wrap_Thread_IsMain
, METH_VARARGS
| METH_KEYWORDS
},
28088 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
},
28089 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
},
28090 { (char *)"ToolTip_GetTip", (PyCFunction
) _wrap_ToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
28091 { (char *)"ToolTip_GetWindow", (PyCFunction
) _wrap_ToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
28092 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
},
28093 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
},
28094 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
},
28095 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
},
28096 { (char *)"delete_Caret", (PyCFunction
) _wrap_delete_Caret
, METH_VARARGS
| METH_KEYWORDS
},
28097 { (char *)"Caret_IsOk", (PyCFunction
) _wrap_Caret_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28098 { (char *)"Caret_IsVisible", (PyCFunction
) _wrap_Caret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
28099 { (char *)"Caret_GetPosition", (PyCFunction
) _wrap_Caret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28100 { (char *)"Caret_GetPositionTuple", (PyCFunction
) _wrap_Caret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
28101 { (char *)"Caret_GetSize", (PyCFunction
) _wrap_Caret_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
28102 { (char *)"Caret_GetSizeTuple", (PyCFunction
) _wrap_Caret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
28103 { (char *)"Caret_GetWindow", (PyCFunction
) _wrap_Caret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
28104 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
28105 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
},
28106 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
28107 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
28108 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
},
28109 { (char *)"Caret_Hide", (PyCFunction
) _wrap_Caret_Hide
, METH_VARARGS
| METH_KEYWORDS
},
28110 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
},
28111 { (char *)"Caret_GetBlinkTime", (PyCFunction
) _wrap_Caret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
28112 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
28113 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
28114 { (char *)"delete_BusyCursor", (PyCFunction
) _wrap_delete_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
28115 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
},
28116 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
28117 { (char *)"delete_WindowDisabler", (PyCFunction
) _wrap_delete_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
28118 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
},
28119 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
28120 { (char *)"delete_BusyInfo", (PyCFunction
) _wrap_delete_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
28121 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
},
28122 { (char *)"new_StopWatch", (PyCFunction
) _wrap_new_StopWatch
, METH_VARARGS
| METH_KEYWORDS
},
28123 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
},
28124 { (char *)"StopWatch_Pause", (PyCFunction
) _wrap_StopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
},
28125 { (char *)"StopWatch_Resume", (PyCFunction
) _wrap_StopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
},
28126 { (char *)"StopWatch_Time", (PyCFunction
) _wrap_StopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
},
28127 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
},
28128 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
},
28129 { (char *)"delete_FileHistory", (PyCFunction
) _wrap_delete_FileHistory
, METH_VARARGS
| METH_KEYWORDS
},
28130 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
},
28131 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
},
28132 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
) _wrap_FileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
},
28133 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
},
28134 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
},
28135 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
},
28136 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
},
28137 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
},
28138 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
},
28139 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
},
28140 { (char *)"FileHistory_GetCount", (PyCFunction
) _wrap_FileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
28141 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
},
28142 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
28143 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
) _wrap_new_PreSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
28144 { (char *)"delete_SingleInstanceChecker", (PyCFunction
) _wrap_delete_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
28145 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
},
28146 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
) _wrap_SingleInstanceChecker_IsAnotherRunning
, METH_VARARGS
| METH_KEYWORDS
},
28147 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
},
28148 { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
},
28149 { (char *)"delete_TipProvider", (PyCFunction
) _wrap_delete_TipProvider
, METH_VARARGS
| METH_KEYWORDS
},
28150 { (char *)"TipProvider_GetTip", (PyCFunction
) _wrap_TipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
28151 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
) _wrap_TipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
},
28152 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
},
28153 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
},
28154 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
28155 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28156 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
},
28157 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
},
28158 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
28159 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
},
28160 { (char *)"delete_Timer", (PyCFunction
) _wrap_delete_Timer
, METH_VARARGS
| METH_KEYWORDS
},
28161 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28162 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
},
28163 { (char *)"Timer_GetOwner", (PyCFunction
) _wrap_Timer_GetOwner
, METH_VARARGS
| METH_KEYWORDS
},
28164 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
},
28165 { (char *)"Timer_Stop", (PyCFunction
) _wrap_Timer_Stop
, METH_VARARGS
| METH_KEYWORDS
},
28166 { (char *)"Timer_IsRunning", (PyCFunction
) _wrap_Timer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
},
28167 { (char *)"Timer_GetInterval", (PyCFunction
) _wrap_Timer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
28168 { (char *)"Timer_IsOneShot", (PyCFunction
) _wrap_Timer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
},
28169 { (char *)"Timer_GetId", (PyCFunction
) _wrap_Timer_GetId
, METH_VARARGS
| METH_KEYWORDS
},
28170 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
},
28171 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
},
28172 { (char *)"TimerEvent_GetInterval", (PyCFunction
) _wrap_TimerEvent_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
28173 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
},
28174 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
},
28175 { (char *)"delete_TimerRunner", (PyCFunction
) _wrap_delete_TimerRunner
, METH_VARARGS
| METH_KEYWORDS
},
28176 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
},
28177 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
},
28178 { (char *)"new_Log", (PyCFunction
) _wrap_new_Log
, METH_VARARGS
| METH_KEYWORDS
},
28179 { (char *)"Log_IsEnabled", (PyCFunction
) _wrap_Log_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
28180 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
},
28181 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
},
28182 { (char *)"Log_Flush", (PyCFunction
) _wrap_Log_Flush
, METH_VARARGS
| METH_KEYWORDS
},
28183 { (char *)"Log_FlushActive", (PyCFunction
) _wrap_Log_FlushActive
, METH_VARARGS
| METH_KEYWORDS
},
28184 { (char *)"Log_GetActiveTarget", (PyCFunction
) _wrap_Log_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
28185 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
28186 { (char *)"Log_Suspend", (PyCFunction
) _wrap_Log_Suspend
, METH_VARARGS
| METH_KEYWORDS
},
28187 { (char *)"Log_Resume", (PyCFunction
) _wrap_Log_Resume
, METH_VARARGS
| METH_KEYWORDS
},
28188 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
28189 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
},
28190 { (char *)"Log_DontCreateOnDemand", (PyCFunction
) _wrap_Log_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
28191 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28192 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28193 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28194 { (char *)"Log_ClearTraceMasks", (PyCFunction
) _wrap_Log_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
28195 { (char *)"Log_GetTraceMasks", (PyCFunction
) _wrap_Log_GetTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
28196 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
28197 { (char *)"Log_GetVerbose", (PyCFunction
) _wrap_Log_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
28198 { (char *)"Log_GetTraceMask", (PyCFunction
) _wrap_Log_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28199 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28200 { (char *)"Log_GetLogLevel", (PyCFunction
) _wrap_Log_GetLogLevel
, METH_VARARGS
| METH_KEYWORDS
},
28201 { (char *)"Log_GetTimestamp", (PyCFunction
) _wrap_Log_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
28202 { (char *)"Log_TimeStamp", (PyCFunction
) _wrap_Log_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
},
28203 { (char *)"Log_Destroy", (PyCFunction
) _wrap_Log_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
28204 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
},
28205 { (char *)"new_LogStderr", (PyCFunction
) _wrap_new_LogStderr
, METH_VARARGS
| METH_KEYWORDS
},
28206 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
},
28207 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
28208 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
},
28209 { (char *)"new_LogGui", (PyCFunction
) _wrap_new_LogGui
, METH_VARARGS
| METH_KEYWORDS
},
28210 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
},
28211 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
},
28212 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
28213 { (char *)"LogWindow_GetFrame", (PyCFunction
) _wrap_LogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
28214 { (char *)"LogWindow_GetOldLog", (PyCFunction
) _wrap_LogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
28215 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
) _wrap_LogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
28216 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
28217 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
},
28218 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
},
28219 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
},
28220 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
28221 { (char *)"LogChain_IsPassingMessages", (PyCFunction
) _wrap_LogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
28222 { (char *)"LogChain_GetOldLog", (PyCFunction
) _wrap_LogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
28223 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
},
28224 { (char *)"SysErrorCode", (PyCFunction
) _wrap_SysErrorCode
, METH_VARARGS
| METH_KEYWORDS
},
28225 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
},
28226 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
},
28227 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
},
28228 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
},
28229 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
},
28230 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
},
28231 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
},
28232 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
},
28233 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
},
28234 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
},
28235 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
},
28236 { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS
},
28237 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
},
28238 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
},
28239 { (char *)"new_LogNull", (PyCFunction
) _wrap_new_LogNull
, METH_VARARGS
| METH_KEYWORDS
},
28240 { (char *)"delete_LogNull", (PyCFunction
) _wrap_delete_LogNull
, METH_VARARGS
| METH_KEYWORDS
},
28241 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
},
28242 { (char *)"new_PyLog", (PyCFunction
) _wrap_new_PyLog
, METH_VARARGS
| METH_KEYWORDS
},
28243 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28244 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
},
28245 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
},
28246 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
},
28247 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
},
28248 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
},
28249 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28250 { (char *)"Process_base_OnTerminate", (PyCFunction
) _wrap_Process_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
},
28251 { (char *)"Process_Redirect", (PyCFunction
) _wrap_Process_Redirect
, METH_VARARGS
| METH_KEYWORDS
},
28252 { (char *)"Process_IsRedirected", (PyCFunction
) _wrap_Process_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
},
28253 { (char *)"Process_Detach", (PyCFunction
) _wrap_Process_Detach
, METH_VARARGS
| METH_KEYWORDS
},
28254 { (char *)"Process_GetInputStream", (PyCFunction
) _wrap_Process_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
},
28255 { (char *)"Process_GetErrorStream", (PyCFunction
) _wrap_Process_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
},
28256 { (char *)"Process_GetOutputStream", (PyCFunction
) _wrap_Process_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
28257 { (char *)"Process_CloseOutput", (PyCFunction
) _wrap_Process_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
},
28258 { (char *)"Process_IsInputOpened", (PyCFunction
) _wrap_Process_IsInputOpened
, METH_VARARGS
| METH_KEYWORDS
},
28259 { (char *)"Process_IsInputAvailable", (PyCFunction
) _wrap_Process_IsInputAvailable
, METH_VARARGS
| METH_KEYWORDS
},
28260 { (char *)"Process_IsErrorAvailable", (PyCFunction
) _wrap_Process_IsErrorAvailable
, METH_VARARGS
| METH_KEYWORDS
},
28261 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
},
28262 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
28263 { (char *)"ProcessEvent_GetPid", (PyCFunction
) _wrap_ProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
},
28264 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
) _wrap_ProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
},
28265 { (char *)"ProcessEvent_m_pid_set", (PyCFunction
) _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
},
28266 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
) _wrap_ProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
},
28267 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
},
28268 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
},
28269 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
},
28270 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
},
28271 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
},
28272 { (char *)"delete_Joystick", (PyCFunction
) _wrap_delete_Joystick
, METH_VARARGS
| METH_KEYWORDS
},
28273 { (char *)"Joystick_GetPosition", (PyCFunction
) _wrap_Joystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28274 { (char *)"Joystick_GetZPosition", (PyCFunction
) _wrap_Joystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
28275 { (char *)"Joystick_GetButtonState", (PyCFunction
) _wrap_Joystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
28276 { (char *)"Joystick_GetPOVPosition", (PyCFunction
) _wrap_Joystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
},
28277 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
) _wrap_Joystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
},
28278 { (char *)"Joystick_GetRudderPosition", (PyCFunction
) _wrap_Joystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
},
28279 { (char *)"Joystick_GetUPosition", (PyCFunction
) _wrap_Joystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
},
28280 { (char *)"Joystick_GetVPosition", (PyCFunction
) _wrap_Joystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
},
28281 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
) _wrap_Joystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
28282 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
28283 { (char *)"Joystick_IsOk", (PyCFunction
) _wrap_Joystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28284 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
) _wrap_Joystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
},
28285 { (char *)"Joystick_GetManufacturerId", (PyCFunction
) _wrap_Joystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
},
28286 { (char *)"Joystick_GetProductId", (PyCFunction
) _wrap_Joystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
},
28287 { (char *)"Joystick_GetProductName", (PyCFunction
) _wrap_Joystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
},
28288 { (char *)"Joystick_GetXMin", (PyCFunction
) _wrap_Joystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
},
28289 { (char *)"Joystick_GetYMin", (PyCFunction
) _wrap_Joystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
},
28290 { (char *)"Joystick_GetZMin", (PyCFunction
) _wrap_Joystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
},
28291 { (char *)"Joystick_GetXMax", (PyCFunction
) _wrap_Joystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
},
28292 { (char *)"Joystick_GetYMax", (PyCFunction
) _wrap_Joystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
},
28293 { (char *)"Joystick_GetZMax", (PyCFunction
) _wrap_Joystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
},
28294 { (char *)"Joystick_GetNumberButtons", (PyCFunction
) _wrap_Joystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
},
28295 { (char *)"Joystick_GetNumberAxes", (PyCFunction
) _wrap_Joystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
},
28296 { (char *)"Joystick_GetMaxButtons", (PyCFunction
) _wrap_Joystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
},
28297 { (char *)"Joystick_GetMaxAxes", (PyCFunction
) _wrap_Joystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
},
28298 { (char *)"Joystick_GetPollingMin", (PyCFunction
) _wrap_Joystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
},
28299 { (char *)"Joystick_GetPollingMax", (PyCFunction
) _wrap_Joystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
},
28300 { (char *)"Joystick_GetRudderMin", (PyCFunction
) _wrap_Joystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
},
28301 { (char *)"Joystick_GetRudderMax", (PyCFunction
) _wrap_Joystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
},
28302 { (char *)"Joystick_GetUMin", (PyCFunction
) _wrap_Joystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
},
28303 { (char *)"Joystick_GetUMax", (PyCFunction
) _wrap_Joystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
},
28304 { (char *)"Joystick_GetVMin", (PyCFunction
) _wrap_Joystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
},
28305 { (char *)"Joystick_GetVMax", (PyCFunction
) _wrap_Joystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
},
28306 { (char *)"Joystick_HasRudder", (PyCFunction
) _wrap_Joystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
},
28307 { (char *)"Joystick_HasZ", (PyCFunction
) _wrap_Joystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
},
28308 { (char *)"Joystick_HasU", (PyCFunction
) _wrap_Joystick_HasU
, METH_VARARGS
| METH_KEYWORDS
},
28309 { (char *)"Joystick_HasV", (PyCFunction
) _wrap_Joystick_HasV
, METH_VARARGS
| METH_KEYWORDS
},
28310 { (char *)"Joystick_HasPOV", (PyCFunction
) _wrap_Joystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
},
28311 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
) _wrap_Joystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
},
28312 { (char *)"Joystick_HasPOVCTS", (PyCFunction
) _wrap_Joystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
},
28313 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
},
28314 { (char *)"Joystick_ReleaseCapture", (PyCFunction
) _wrap_Joystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
},
28315 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
},
28316 { (char *)"JoystickEvent_m_pos_set", (PyCFunction
) _wrap_JoystickEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
},
28317 { (char *)"JoystickEvent_m_pos_get", (PyCFunction
) _wrap_JoystickEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
},
28318 { (char *)"JoystickEvent_m_zPosition_set", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_set
, METH_VARARGS
| METH_KEYWORDS
},
28319 { (char *)"JoystickEvent_m_zPosition_get", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_get
, METH_VARARGS
| METH_KEYWORDS
},
28320 { (char *)"JoystickEvent_m_buttonChange_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_set
, METH_VARARGS
| METH_KEYWORDS
},
28321 { (char *)"JoystickEvent_m_buttonChange_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_get
, METH_VARARGS
| METH_KEYWORDS
},
28322 { (char *)"JoystickEvent_m_buttonState_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_set
, METH_VARARGS
| METH_KEYWORDS
},
28323 { (char *)"JoystickEvent_m_buttonState_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_get
, METH_VARARGS
| METH_KEYWORDS
},
28324 { (char *)"JoystickEvent_m_joyStick_set", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_set
, METH_VARARGS
| METH_KEYWORDS
},
28325 { (char *)"JoystickEvent_m_joyStick_get", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_get
, METH_VARARGS
| METH_KEYWORDS
},
28326 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
},
28327 { (char *)"JoystickEvent_GetPosition", (PyCFunction
) _wrap_JoystickEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28328 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
) _wrap_JoystickEvent_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
28329 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
) _wrap_JoystickEvent_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
28330 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
) _wrap_JoystickEvent_GetButtonChange
, METH_VARARGS
| METH_KEYWORDS
},
28331 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
) _wrap_JoystickEvent_GetJoystick
, METH_VARARGS
| METH_KEYWORDS
},
28332 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
},
28333 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
28334 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
},
28335 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28336 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
28337 { (char *)"JoystickEvent_IsButton", (PyCFunction
) _wrap_JoystickEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
28338 { (char *)"JoystickEvent_IsMove", (PyCFunction
) _wrap_JoystickEvent_IsMove
, METH_VARARGS
| METH_KEYWORDS
},
28339 { (char *)"JoystickEvent_IsZMove", (PyCFunction
) _wrap_JoystickEvent_IsZMove
, METH_VARARGS
| METH_KEYWORDS
},
28340 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
},
28341 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
},
28342 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
},
28343 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
},
28344 { (char *)"new_Sound", (PyCFunction
) _wrap_new_Sound
, METH_VARARGS
| METH_KEYWORDS
},
28345 { (char *)"new_SoundFromData", (PyCFunction
) _wrap_new_SoundFromData
, METH_VARARGS
| METH_KEYWORDS
},
28346 { (char *)"delete_Sound", (PyCFunction
) _wrap_delete_Sound
, METH_VARARGS
| METH_KEYWORDS
},
28347 { (char *)"Sound_Create", (PyCFunction
) _wrap_Sound_Create
, METH_VARARGS
| METH_KEYWORDS
},
28348 { (char *)"Sound_CreateFromData", (PyCFunction
) _wrap_Sound_CreateFromData
, METH_VARARGS
| METH_KEYWORDS
},
28349 { (char *)"Sound_IsOk", (PyCFunction
) _wrap_Sound_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28350 { (char *)"Sound_Play", (PyCFunction
) _wrap_Sound_Play
, METH_VARARGS
| METH_KEYWORDS
},
28351 { (char *)"Sound_PlaySound", (PyCFunction
) _wrap_Sound_PlaySound
, METH_VARARGS
| METH_KEYWORDS
},
28352 { (char *)"Sound_Stop", (PyCFunction
) _wrap_Sound_Stop
, METH_VARARGS
| METH_KEYWORDS
},
28353 { (char *)"Sound_swigregister", Sound_swigregister
, METH_VARARGS
},
28354 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
28355 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
},
28356 { (char *)"new_NullFileTypeInfo", (PyCFunction
) _wrap_new_NullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
28357 { (char *)"FileTypeInfo_IsValid", (PyCFunction
) _wrap_FileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
28358 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
28359 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
28360 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
) _wrap_FileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
28361 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_FileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
28362 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_FileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
28363 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
28364 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
) _wrap_FileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
28365 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
) _wrap_FileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
28366 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_FileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
},
28367 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
) _wrap_FileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
},
28368 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_FileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
},
28369 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
},
28370 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
},
28371 { (char *)"delete_FileType", (PyCFunction
) _wrap_delete_FileType
, METH_VARARGS
| METH_KEYWORDS
},
28372 { (char *)"FileType_GetMimeType", (PyCFunction
) _wrap_FileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
28373 { (char *)"FileType_GetMimeTypes", (PyCFunction
) _wrap_FileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
28374 { (char *)"FileType_GetExtensions", (PyCFunction
) _wrap_FileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
28375 { (char *)"FileType_GetIcon", (PyCFunction
) _wrap_FileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
28376 { (char *)"FileType_GetIconInfo", (PyCFunction
) _wrap_FileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
},
28377 { (char *)"FileType_GetDescription", (PyCFunction
) _wrap_FileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
28378 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
28379 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
28380 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
},
28381 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
},
28382 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
},
28383 { (char *)"FileType_Unassociate", (PyCFunction
) _wrap_FileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
28384 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
},
28385 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
},
28386 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
},
28387 { (char *)"new_MimeTypesManager", (PyCFunction
) _wrap_new_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
28388 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
28389 { (char *)"MimeTypesManager_ClearData", (PyCFunction
) _wrap_MimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
},
28390 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
},
28391 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
},
28392 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
},
28393 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
28394 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_MimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
},
28395 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
},
28396 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
},
28397 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
28398 { (char *)"delete_MimeTypesManager", (PyCFunction
) _wrap_delete_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
28399 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
},
28400 { (char *)"new_ArtProvider", (PyCFunction
) _wrap_new_ArtProvider
, METH_VARARGS
| METH_KEYWORDS
},
28401 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28402 { (char *)"ArtProvider_PushProvider", (PyCFunction
) _wrap_ArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
},
28403 { (char *)"ArtProvider_PopProvider", (PyCFunction
) _wrap_ArtProvider_PopProvider
, METH_VARARGS
| METH_KEYWORDS
},
28404 { (char *)"ArtProvider_RemoveProvider", (PyCFunction
) _wrap_ArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
},
28405 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
28406 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
28407 { (char *)"ArtProvider_Destroy", (PyCFunction
) _wrap_ArtProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
28408 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
},
28409 { (char *)"delete_ConfigBase", (PyCFunction
) _wrap_delete_ConfigBase
, METH_VARARGS
| METH_KEYWORDS
},
28410 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
},
28411 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
},
28412 { (char *)"ConfigBase_Create", (PyCFunction
) _wrap_ConfigBase_Create
, METH_VARARGS
| METH_KEYWORDS
},
28413 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
) _wrap_ConfigBase_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
28414 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
28415 { (char *)"ConfigBase_GetPath", (PyCFunction
) _wrap_ConfigBase_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
28416 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
) _wrap_ConfigBase_GetFirstGroup
, METH_VARARGS
| METH_KEYWORDS
},
28417 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
},
28418 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
) _wrap_ConfigBase_GetFirstEntry
, METH_VARARGS
| METH_KEYWORDS
},
28419 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
},
28420 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
},
28421 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
},
28422 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
},
28423 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
},
28424 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
},
28425 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
},
28426 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
},
28427 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
},
28428 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
},
28429 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
},
28430 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
},
28431 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
},
28432 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
},
28433 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
},
28434 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
},
28435 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
},
28436 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
},
28437 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
},
28438 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
},
28439 { (char *)"ConfigBase_DeleteAll", (PyCFunction
) _wrap_ConfigBase_DeleteAll
, METH_VARARGS
| METH_KEYWORDS
},
28440 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28441 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
) _wrap_ConfigBase_IsExpandingEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28442 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
},
28443 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
) _wrap_ConfigBase_IsRecordingDefaults
, METH_VARARGS
| METH_KEYWORDS
},
28444 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28445 { (char *)"ConfigBase_GetAppName", (PyCFunction
) _wrap_ConfigBase_GetAppName
, METH_VARARGS
| METH_KEYWORDS
},
28446 { (char *)"ConfigBase_GetVendorName", (PyCFunction
) _wrap_ConfigBase_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
28447 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
},
28448 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
28449 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
28450 { (char *)"ConfigBase_GetStyle", (PyCFunction
) _wrap_ConfigBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
28451 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
},
28452 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
},
28453 { (char *)"delete_Config", (PyCFunction
) _wrap_delete_Config
, METH_VARARGS
| METH_KEYWORDS
},
28454 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
},
28455 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
},
28456 { (char *)"delete_FileConfig", (PyCFunction
) _wrap_delete_FileConfig
, METH_VARARGS
| METH_KEYWORDS
},
28457 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
},
28458 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
},
28459 { (char *)"delete_ConfigPathChanger", (PyCFunction
) _wrap_delete_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
},
28460 { (char *)"ConfigPathChanger_Name", (PyCFunction
) _wrap_ConfigPathChanger_Name
, METH_VARARGS
| METH_KEYWORDS
},
28461 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
},
28462 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28463 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
},
28464 { (char *)"DateTime_GetCountry", (PyCFunction
) _wrap_DateTime_GetCountry
, METH_VARARGS
| METH_KEYWORDS
},
28465 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
},
28466 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
},
28467 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
},
28468 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
},
28469 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
},
28470 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
},
28471 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
},
28472 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
},
28473 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
},
28474 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
},
28475 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
) _wrap_DateTime_GetAmPmStrings
, METH_VARARGS
| METH_KEYWORDS
},
28476 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
},
28477 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
},
28478 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
},
28479 { (char *)"DateTime_Now", (PyCFunction
) _wrap_DateTime_Now
, METH_VARARGS
| METH_KEYWORDS
},
28480 { (char *)"DateTime_UNow", (PyCFunction
) _wrap_DateTime_UNow
, METH_VARARGS
| METH_KEYWORDS
},
28481 { (char *)"DateTime_Today", (PyCFunction
) _wrap_DateTime_Today
, METH_VARARGS
| METH_KEYWORDS
},
28482 { (char *)"new_DateTime", (PyCFunction
) _wrap_new_DateTime
, METH_VARARGS
| METH_KEYWORDS
},
28483 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
},
28484 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
},
28485 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
},
28486 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
},
28487 { (char *)"delete_DateTime", (PyCFunction
) _wrap_delete_DateTime
, METH_VARARGS
| METH_KEYWORDS
},
28488 { (char *)"DateTime_SetToCurrent", (PyCFunction
) _wrap_DateTime_SetToCurrent
, METH_VARARGS
| METH_KEYWORDS
},
28489 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
},
28490 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
},
28491 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
},
28492 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
},
28493 { (char *)"DateTime_ResetTime", (PyCFunction
) _wrap_DateTime_ResetTime
, METH_VARARGS
| METH_KEYWORDS
},
28494 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
},
28495 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
},
28496 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
},
28497 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
},
28498 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
},
28499 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
},
28500 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
28501 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
28502 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
28503 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28504 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28505 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28506 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28507 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28508 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28509 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28510 { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
},
28511 { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
},
28512 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
28513 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
28514 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
},
28515 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
},
28516 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
28517 { (char *)"DateTime_GetJDN", (PyCFunction
) _wrap_DateTime_GetJDN
, METH_VARARGS
| METH_KEYWORDS
},
28518 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetModifiedJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
28519 { (char *)"DateTime_GetMJD", (PyCFunction
) _wrap_DateTime_GetMJD
, METH_VARARGS
| METH_KEYWORDS
},
28520 { (char *)"DateTime_GetRataDie", (PyCFunction
) _wrap_DateTime_GetRataDie
, METH_VARARGS
| METH_KEYWORDS
},
28521 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
},
28522 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
},
28523 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
},
28524 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
},
28525 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
},
28526 { (char *)"DateTime_IsValid", (PyCFunction
) _wrap_DateTime_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
28527 { (char *)"DateTime_GetTicks", (PyCFunction
) _wrap_DateTime_GetTicks
, METH_VARARGS
| METH_KEYWORDS
},
28528 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
},
28529 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
},
28530 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
},
28531 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28532 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
},
28533 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
},
28534 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
},
28535 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
28536 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
},
28537 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
},
28538 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
},
28539 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
},
28540 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
28541 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
},
28542 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
},
28543 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
},
28544 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
},
28545 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
},
28546 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
},
28547 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
},
28548 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
},
28549 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
},
28550 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
},
28551 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
},
28552 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
28553 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
},
28554 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
},
28555 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
},
28556 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
},
28557 { (char *)"DateTime___lt__", _wrap_DateTime___lt__
, METH_VARARGS
},
28558 { (char *)"DateTime___le__", _wrap_DateTime___le__
, METH_VARARGS
},
28559 { (char *)"DateTime___gt__", _wrap_DateTime___gt__
, METH_VARARGS
},
28560 { (char *)"DateTime___ge__", _wrap_DateTime___ge__
, METH_VARARGS
},
28561 { (char *)"DateTime___eq__", _wrap_DateTime___eq__
, METH_VARARGS
},
28562 { (char *)"DateTime___ne__", _wrap_DateTime___ne__
, METH_VARARGS
},
28563 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
},
28564 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
},
28565 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
},
28566 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
},
28567 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
},
28568 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
},
28569 { (char *)"DateTime_FormatDate", (PyCFunction
) _wrap_DateTime_FormatDate
, METH_VARARGS
| METH_KEYWORDS
},
28570 { (char *)"DateTime_FormatTime", (PyCFunction
) _wrap_DateTime_FormatTime
, METH_VARARGS
| METH_KEYWORDS
},
28571 { (char *)"DateTime_FormatISODate", (PyCFunction
) _wrap_DateTime_FormatISODate
, METH_VARARGS
| METH_KEYWORDS
},
28572 { (char *)"DateTime_FormatISOTime", (PyCFunction
) _wrap_DateTime_FormatISOTime
, METH_VARARGS
| METH_KEYWORDS
},
28573 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
},
28574 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
},
28575 { (char *)"TimeSpan_Second", (PyCFunction
) _wrap_TimeSpan_Second
, METH_VARARGS
| METH_KEYWORDS
},
28576 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
},
28577 { (char *)"TimeSpan_Minute", (PyCFunction
) _wrap_TimeSpan_Minute
, METH_VARARGS
| METH_KEYWORDS
},
28578 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
},
28579 { (char *)"TimeSpan_Hour", (PyCFunction
) _wrap_TimeSpan_Hour
, METH_VARARGS
| METH_KEYWORDS
},
28580 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
28581 { (char *)"TimeSpan_Day", (PyCFunction
) _wrap_TimeSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
28582 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
28583 { (char *)"TimeSpan_Week", (PyCFunction
) _wrap_TimeSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
28584 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
28585 { (char *)"delete_TimeSpan", (PyCFunction
) _wrap_delete_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
28586 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
28587 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
28588 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
28589 { (char *)"TimeSpan_Neg", (PyCFunction
) _wrap_TimeSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
28590 { (char *)"TimeSpan_Abs", (PyCFunction
) _wrap_TimeSpan_Abs
, METH_VARARGS
| METH_KEYWORDS
},
28591 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
28592 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
},
28593 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
},
28594 { (char *)"TimeSpan___neg__", (PyCFunction
) _wrap_TimeSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
28595 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
28596 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
28597 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
28598 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
28599 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
},
28600 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
},
28601 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
},
28602 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
},
28603 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
28604 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
28605 { (char *)"TimeSpan_IsNull", (PyCFunction
) _wrap_TimeSpan_IsNull
, METH_VARARGS
| METH_KEYWORDS
},
28606 { (char *)"TimeSpan_IsPositive", (PyCFunction
) _wrap_TimeSpan_IsPositive
, METH_VARARGS
| METH_KEYWORDS
},
28607 { (char *)"TimeSpan_IsNegative", (PyCFunction
) _wrap_TimeSpan_IsNegative
, METH_VARARGS
| METH_KEYWORDS
},
28608 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
28609 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
},
28610 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
},
28611 { (char *)"TimeSpan_GetWeeks", (PyCFunction
) _wrap_TimeSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
28612 { (char *)"TimeSpan_GetDays", (PyCFunction
) _wrap_TimeSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
28613 { (char *)"TimeSpan_GetHours", (PyCFunction
) _wrap_TimeSpan_GetHours
, METH_VARARGS
| METH_KEYWORDS
},
28614 { (char *)"TimeSpan_GetMinutes", (PyCFunction
) _wrap_TimeSpan_GetMinutes
, METH_VARARGS
| METH_KEYWORDS
},
28615 { (char *)"TimeSpan_GetSeconds", (PyCFunction
) _wrap_TimeSpan_GetSeconds
, METH_VARARGS
| METH_KEYWORDS
},
28616 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
) _wrap_TimeSpan_GetMilliseconds
, METH_VARARGS
| METH_KEYWORDS
},
28617 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
},
28618 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
},
28619 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
},
28620 { (char *)"delete_DateSpan", (PyCFunction
) _wrap_delete_DateSpan
, METH_VARARGS
| METH_KEYWORDS
},
28621 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
28622 { (char *)"DateSpan_Day", (PyCFunction
) _wrap_DateSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
28623 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
28624 { (char *)"DateSpan_Week", (PyCFunction
) _wrap_DateSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
28625 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
},
28626 { (char *)"DateSpan_Month", (PyCFunction
) _wrap_DateSpan_Month
, METH_VARARGS
| METH_KEYWORDS
},
28627 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
},
28628 { (char *)"DateSpan_Year", (PyCFunction
) _wrap_DateSpan_Year
, METH_VARARGS
| METH_KEYWORDS
},
28629 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
},
28630 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
},
28631 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
28632 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
},
28633 { (char *)"DateSpan_GetYears", (PyCFunction
) _wrap_DateSpan_GetYears
, METH_VARARGS
| METH_KEYWORDS
},
28634 { (char *)"DateSpan_GetMonths", (PyCFunction
) _wrap_DateSpan_GetMonths
, METH_VARARGS
| METH_KEYWORDS
},
28635 { (char *)"DateSpan_GetWeeks", (PyCFunction
) _wrap_DateSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
28636 { (char *)"DateSpan_GetDays", (PyCFunction
) _wrap_DateSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
28637 { (char *)"DateSpan_GetTotalDays", (PyCFunction
) _wrap_DateSpan_GetTotalDays
, METH_VARARGS
| METH_KEYWORDS
},
28638 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
28639 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
28640 { (char *)"DateSpan_Neg", (PyCFunction
) _wrap_DateSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
28641 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
28642 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
28643 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
},
28644 { (char *)"DateSpan___neg__", (PyCFunction
) _wrap_DateSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
28645 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
},
28646 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
28647 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
28648 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
28649 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
28650 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
28651 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
28652 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
},
28653 { (char *)"GetLocalTime", (PyCFunction
) _wrap_GetLocalTime
, METH_VARARGS
| METH_KEYWORDS
},
28654 { (char *)"GetUTCTime", (PyCFunction
) _wrap_GetUTCTime
, METH_VARARGS
| METH_KEYWORDS
},
28655 { (char *)"GetCurrentTime", (PyCFunction
) _wrap_GetCurrentTime
, METH_VARARGS
| METH_KEYWORDS
},
28656 { (char *)"GetLocalTimeMillis", (PyCFunction
) _wrap_GetLocalTimeMillis
, METH_VARARGS
| METH_KEYWORDS
},
28657 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
},
28658 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
},
28659 { (char *)"delete_DataFormat", (PyCFunction
) _wrap_delete_DataFormat
, METH_VARARGS
| METH_KEYWORDS
},
28660 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
},
28661 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
},
28662 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
},
28663 { (char *)"DataFormat_GetType", (PyCFunction
) _wrap_DataFormat_GetType
, METH_VARARGS
| METH_KEYWORDS
},
28664 { (char *)"DataFormat_GetId", (PyCFunction
) _wrap_DataFormat_GetId
, METH_VARARGS
| METH_KEYWORDS
},
28665 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
},
28666 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
},
28667 { (char *)"delete_DataObject", (PyCFunction
) _wrap_delete_DataObject
, METH_VARARGS
| METH_KEYWORDS
},
28668 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
},
28669 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
},
28670 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
},
28671 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
},
28672 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
},
28673 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
},
28674 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28675 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
},
28676 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
},
28677 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
) _wrap_DataObjectSimple_GetFormat
, METH_VARARGS
| METH_KEYWORDS
},
28678 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
},
28679 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
},
28680 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
},
28681 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28682 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
},
28683 { (char *)"new_DataObjectComposite", (PyCFunction
) _wrap_new_DataObjectComposite
, METH_VARARGS
| METH_KEYWORDS
},
28684 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
},
28685 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
},
28686 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28687 { (char *)"TextDataObject_GetTextLength", (PyCFunction
) _wrap_TextDataObject_GetTextLength
, METH_VARARGS
| METH_KEYWORDS
},
28688 { (char *)"TextDataObject_GetText", (PyCFunction
) _wrap_TextDataObject_GetText
, METH_VARARGS
| METH_KEYWORDS
},
28689 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
},
28690 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
},
28691 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28692 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28693 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
},
28694 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28695 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
) _wrap_BitmapDataObject_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
28696 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
28697 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
},
28698 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28699 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28700 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
},
28701 { (char *)"new_FileDataObject", (PyCFunction
) _wrap_new_FileDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28702 { (char *)"FileDataObject_GetFilenames", (PyCFunction
) _wrap_FileDataObject_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
},
28703 { (char *)"FileDataObject_AddFile", (PyCFunction
) _wrap_FileDataObject_AddFile
, METH_VARARGS
| METH_KEYWORDS
},
28704 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
},
28705 { (char *)"new_CustomDataObject", (PyCFunction
) _wrap_new_CustomDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28706 { (char *)"CustomDataObject_TakeData", (PyCFunction
) _wrap_CustomDataObject_TakeData
, METH_VARARGS
| METH_KEYWORDS
},
28707 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28708 { (char *)"CustomDataObject_GetSize", (PyCFunction
) _wrap_CustomDataObject_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
28709 { (char *)"CustomDataObject_GetData", (PyCFunction
) _wrap_CustomDataObject_GetData
, METH_VARARGS
| METH_KEYWORDS
},
28710 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
},
28711 { (char *)"new_URLDataObject", (PyCFunction
) _wrap_new_URLDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28712 { (char *)"URLDataObject_GetURL", (PyCFunction
) _wrap_URLDataObject_GetURL
, METH_VARARGS
| METH_KEYWORDS
},
28713 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
},
28714 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
},
28715 { (char *)"new_MetafileDataObject", (PyCFunction
) _wrap_new_MetafileDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28716 { (char *)"MetafileDataObject_SetMetafile", (PyCFunction
) _wrap_MetafileDataObject_SetMetafile
, METH_VARARGS
| METH_KEYWORDS
},
28717 { (char *)"MetafileDataObject_GetMetafile", (PyCFunction
) _wrap_MetafileDataObject_GetMetafile
, METH_VARARGS
| METH_KEYWORDS
},
28718 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
},
28719 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
},
28720 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
},
28721 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28722 { (char *)"delete_DropSource", (PyCFunction
) _wrap_delete_DropSource
, METH_VARARGS
| METH_KEYWORDS
},
28723 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28724 { (char *)"DropSource_GetDataObject", (PyCFunction
) _wrap_DropSource_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28725 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
28726 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
},
28727 { (char *)"DropSource_base_GiveFeedback", (PyCFunction
) _wrap_DropSource_base_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
},
28728 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
},
28729 { (char *)"new_DropTarget", (PyCFunction
) _wrap_new_DropTarget
, METH_VARARGS
| METH_KEYWORDS
},
28730 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28731 { (char *)"delete_DropTarget", (PyCFunction
) _wrap_delete_DropTarget
, METH_VARARGS
| METH_KEYWORDS
},
28732 { (char *)"DropTarget_GetDataObject", (PyCFunction
) _wrap_DropTarget_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28733 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28734 { (char *)"DropTarget_base_OnEnter", (PyCFunction
) _wrap_DropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
28735 { (char *)"DropTarget_base_OnDragOver", (PyCFunction
) _wrap_DropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
28736 { (char *)"DropTarget_base_OnLeave", (PyCFunction
) _wrap_DropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
28737 { (char *)"DropTarget_base_OnDrop", (PyCFunction
) _wrap_DropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
28738 { (char *)"DropTarget_GetData", (PyCFunction
) _wrap_DropTarget_GetData
, METH_VARARGS
| METH_KEYWORDS
},
28739 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
},
28740 { (char *)"new_TextDropTarget", (PyCFunction
) _wrap_new_TextDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
28741 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28742 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction
) _wrap_TextDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
28743 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
28744 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction
) _wrap_TextDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
28745 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction
) _wrap_TextDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
28746 { (char *)"TextDropTarget_base_OnData", (PyCFunction
) _wrap_TextDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
},
28747 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
},
28748 { (char *)"new_FileDropTarget", (PyCFunction
) _wrap_new_FileDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
28749 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28750 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction
) _wrap_FileDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
28751 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
28752 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction
) _wrap_FileDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
28753 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction
) _wrap_FileDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
28754 { (char *)"FileDropTarget_base_OnData", (PyCFunction
) _wrap_FileDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
},
28755 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
},
28756 { (char *)"new_Clipboard", (PyCFunction
) _wrap_new_Clipboard
, METH_VARARGS
| METH_KEYWORDS
},
28757 { (char *)"delete_Clipboard", (PyCFunction
) _wrap_delete_Clipboard
, METH_VARARGS
| METH_KEYWORDS
},
28758 { (char *)"Clipboard_Open", (PyCFunction
) _wrap_Clipboard_Open
, METH_VARARGS
| METH_KEYWORDS
},
28759 { (char *)"Clipboard_Close", (PyCFunction
) _wrap_Clipboard_Close
, METH_VARARGS
| METH_KEYWORDS
},
28760 { (char *)"Clipboard_IsOpened", (PyCFunction
) _wrap_Clipboard_IsOpened
, METH_VARARGS
| METH_KEYWORDS
},
28761 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
},
28762 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28763 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
},
28764 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
},
28765 { (char *)"Clipboard_Clear", (PyCFunction
) _wrap_Clipboard_Clear
, METH_VARARGS
| METH_KEYWORDS
},
28766 { (char *)"Clipboard_Flush", (PyCFunction
) _wrap_Clipboard_Flush
, METH_VARARGS
| METH_KEYWORDS
},
28767 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
},
28768 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
},
28769 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
},
28770 { (char *)"delete_ClipboardLocker", (PyCFunction
) _wrap_delete_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
},
28771 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
) _wrap_ClipboardLocker___nonzero__
, METH_VARARGS
| METH_KEYWORDS
},
28772 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
},
28773 { (char *)"new_VideoMode", (PyCFunction
) _wrap_new_VideoMode
, METH_VARARGS
| METH_KEYWORDS
},
28774 { (char *)"delete_VideoMode", (PyCFunction
) _wrap_delete_VideoMode
, METH_VARARGS
| METH_KEYWORDS
},
28775 { (char *)"VideoMode_Matches", (PyCFunction
) _wrap_VideoMode_Matches
, METH_VARARGS
| METH_KEYWORDS
},
28776 { (char *)"VideoMode_GetWidth", (PyCFunction
) _wrap_VideoMode_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
28777 { (char *)"VideoMode_GetHeight", (PyCFunction
) _wrap_VideoMode_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
28778 { (char *)"VideoMode_GetDepth", (PyCFunction
) _wrap_VideoMode_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
28779 { (char *)"VideoMode_IsOk", (PyCFunction
) _wrap_VideoMode_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28780 { (char *)"VideoMode___eq__", (PyCFunction
) _wrap_VideoMode___eq__
, METH_VARARGS
| METH_KEYWORDS
},
28781 { (char *)"VideoMode___ne__", (PyCFunction
) _wrap_VideoMode___ne__
, METH_VARARGS
| METH_KEYWORDS
},
28782 { (char *)"VideoMode_w_set", (PyCFunction
) _wrap_VideoMode_w_set
, METH_VARARGS
| METH_KEYWORDS
},
28783 { (char *)"VideoMode_w_get", (PyCFunction
) _wrap_VideoMode_w_get
, METH_VARARGS
| METH_KEYWORDS
},
28784 { (char *)"VideoMode_h_set", (PyCFunction
) _wrap_VideoMode_h_set
, METH_VARARGS
| METH_KEYWORDS
},
28785 { (char *)"VideoMode_h_get", (PyCFunction
) _wrap_VideoMode_h_get
, METH_VARARGS
| METH_KEYWORDS
},
28786 { (char *)"VideoMode_bpp_set", (PyCFunction
) _wrap_VideoMode_bpp_set
, METH_VARARGS
| METH_KEYWORDS
},
28787 { (char *)"VideoMode_bpp_get", (PyCFunction
) _wrap_VideoMode_bpp_get
, METH_VARARGS
| METH_KEYWORDS
},
28788 { (char *)"VideoMode_refresh_set", (PyCFunction
) _wrap_VideoMode_refresh_set
, METH_VARARGS
| METH_KEYWORDS
},
28789 { (char *)"VideoMode_refresh_get", (PyCFunction
) _wrap_VideoMode_refresh_get
, METH_VARARGS
| METH_KEYWORDS
},
28790 { (char *)"VideoMode_swigregister", VideoMode_swigregister
, METH_VARARGS
},
28791 { (char *)"new_Display", (PyCFunction
) _wrap_new_Display
, METH_VARARGS
| METH_KEYWORDS
},
28792 { (char *)"delete_Display", (PyCFunction
) _wrap_delete_Display
, METH_VARARGS
| METH_KEYWORDS
},
28793 { (char *)"Display_GetCount", (PyCFunction
) _wrap_Display_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
28794 { (char *)"Display_GetFromPoint", (PyCFunction
) _wrap_Display_GetFromPoint
, METH_VARARGS
| METH_KEYWORDS
},
28795 { (char *)"Display_GetFromWindow", (PyCFunction
) _wrap_Display_GetFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
28796 { (char *)"Display_IsOk", (PyCFunction
) _wrap_Display_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28797 { (char *)"Display_GetGeometry", (PyCFunction
) _wrap_Display_GetGeometry
, METH_VARARGS
| METH_KEYWORDS
},
28798 { (char *)"Display_GetName", (PyCFunction
) _wrap_Display_GetName
, METH_VARARGS
| METH_KEYWORDS
},
28799 { (char *)"Display_IsPrimary", (PyCFunction
) _wrap_Display_IsPrimary
, METH_VARARGS
| METH_KEYWORDS
},
28800 { (char *)"Display_GetModes", (PyCFunction
) _wrap_Display_GetModes
, METH_VARARGS
| METH_KEYWORDS
},
28801 { (char *)"Display_GetCurrentMode", (PyCFunction
) _wrap_Display_GetCurrentMode
, METH_VARARGS
| METH_KEYWORDS
},
28802 { (char *)"Display_ChangeMode", (PyCFunction
) _wrap_Display_ChangeMode
, METH_VARARGS
| METH_KEYWORDS
},
28803 { (char *)"Display_ResetMode", (PyCFunction
) _wrap_Display_ResetMode
, METH_VARARGS
| METH_KEYWORDS
},
28804 { (char *)"Display_swigregister", Display_swigregister
, METH_VARARGS
},
28809 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
28811 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
28812 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
28814 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
28815 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
28817 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
28818 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
28820 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
28821 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
28823 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
28824 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
28826 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
28827 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
28829 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
28830 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
28832 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
28833 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
28835 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
28836 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
28838 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
28839 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
28841 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
28842 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
28844 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
28845 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
28847 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
28848 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
28850 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
28851 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
28853 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
28854 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
28856 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
28857 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
28859 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
28860 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
28862 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
28863 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
28865 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
28866 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
28868 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
28869 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
28871 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
28872 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
28874 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
28875 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
28877 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
28878 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
28880 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
28881 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
28883 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
28884 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
28886 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
28887 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
28889 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
28890 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
28892 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
28893 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
28895 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
28896 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
28898 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
28899 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
28901 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
28902 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
28904 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
28905 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
28907 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
28908 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
28910 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
28911 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
28913 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
28914 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
28916 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
28917 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
28919 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
28920 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
28922 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
28923 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
28925 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
28926 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
28928 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
28929 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
28931 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
28932 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
28934 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
28935 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
28937 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
28938 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
28940 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
28941 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
28943 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
28944 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
28946 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
28947 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
28949 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
28950 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
28952 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
28953 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
28955 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
28956 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
28958 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
28959 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
28961 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
28962 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
28964 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
28965 return (void *)((wxDataObject
*) (wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
28967 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
28968 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
28970 static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x
) {
28971 return (void *)((wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
28973 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
28974 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
28976 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
28977 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
28979 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
28980 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
28982 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
28983 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
28985 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
28986 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
28988 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
28989 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
28991 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
28992 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
28994 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
28995 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
28997 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
28998 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
29000 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
29001 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
29003 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
29004 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
29006 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
29007 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
29009 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
29010 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
29012 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
29013 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
29015 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
29016 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
29018 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
29019 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
29021 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
29022 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
29024 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
29025 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
29027 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
29028 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
29030 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
29031 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
29033 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
29034 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
29036 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
29037 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
29039 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
29040 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
29042 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
29043 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
29045 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
29046 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
29048 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
29049 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
29051 static void *_p_wxSizerTo_p_wxObject(void *x
) {
29052 return (void *)((wxObject
*) ((wxSizer
*) x
));
29054 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
29055 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
29057 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
29058 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
29060 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
29061 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
29063 static void *_p_wxEventTo_p_wxObject(void *x
) {
29064 return (void *)((wxObject
*) ((wxEvent
*) x
));
29066 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
29067 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
29069 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
29070 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
29072 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
29073 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
29075 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
29076 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
29078 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
29079 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
29081 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
29082 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
29084 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
29085 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
29087 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
29088 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
29090 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
29091 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
29093 static void *_p_wxControlTo_p_wxObject(void *x
) {
29094 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
29096 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
29097 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
29099 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
29100 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
29102 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
29103 return (void *)((wxObject
*) ((wxFSFile
*) x
));
29105 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
29106 return (void *)((wxObject
*) ((wxClipboard
*) x
));
29108 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
29109 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
29111 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
29112 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
29114 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
29115 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
29117 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
29118 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
29120 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
29121 return (void *)((wxObject
*) ((wxToolTip
*) x
));
29123 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
29124 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
29126 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
29127 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
29129 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
29130 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
29132 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
29133 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
29135 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
29136 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
29138 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
29139 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
29141 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
29142 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
29144 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
29145 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
29147 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
29148 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
29150 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
29151 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
29153 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
29154 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
29156 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
29157 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
29159 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
29160 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
29162 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
29163 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
29165 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
29166 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
29168 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
29169 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
29171 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
29172 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
29174 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
29175 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
29177 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
29178 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
29180 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
29181 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
29183 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
29184 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
29186 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
29187 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
29189 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
29190 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
29192 static void *_p_wxImageTo_p_wxObject(void *x
) {
29193 return (void *)((wxObject
*) ((wxImage
*) x
));
29195 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
29196 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
29198 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
29199 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
29201 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
29202 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
29204 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
29205 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
29207 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
29208 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
29210 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
29211 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
29213 static void *_p_wxWindowTo_p_wxObject(void *x
) {
29214 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
29216 static void *_p_wxMenuTo_p_wxObject(void *x
) {
29217 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
29219 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
29220 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
29222 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
29223 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
29225 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
29226 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
29228 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
29229 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
29231 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
29232 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
29234 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
29235 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
29237 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
29238 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
29240 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
29241 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
29243 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
29244 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
29246 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
29247 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
29249 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
29250 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
29252 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
29253 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
29255 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
29256 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
29258 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
29259 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
29261 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
29262 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
29264 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
29265 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
29267 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
29268 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
29270 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
29271 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
29273 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
29274 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
29276 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
29277 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
29279 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
29280 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
29282 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
29283 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
29285 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
29286 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
29288 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
29289 return (void *)((wxLog
*) ((wxLogChain
*) x
));
29291 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
29292 return (void *)((wxLog
*) ((wxLogGui
*) x
));
29294 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
29295 return (void *)((wxLog
*) ((wxPyLog
*) x
));
29297 static void *_p_wxControlTo_p_wxWindow(void *x
) {
29298 return (void *)((wxWindow
*) ((wxControl
*) x
));
29300 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
29301 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
29303 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
29304 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
29306 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
29307 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
29309 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
29310 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
29312 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}};
29313 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}};
29314 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}};
29315 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}};
29316 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}};
29317 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}};
29318 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}};
29319 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}};
29320 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}};
29321 static swig_type_info _swigt__p_wxDisplay
[] = {{"_p_wxDisplay", 0, "wxDisplay *", 0, 0, 0, 0},{"_p_wxDisplay", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29322 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}};
29323 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}};
29324 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}};
29325 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}};
29326 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}};
29327 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}};
29328 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}};
29329 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}};
29330 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}};
29331 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}};
29332 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}};
29333 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}};
29334 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}};
29335 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}};
29336 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}};
29337 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}};
29338 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}};
29339 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}};
29340 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}};
29341 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}};
29342 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}};
29343 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}};
29344 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}};
29345 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}};
29346 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}};
29347 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}};
29348 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}};
29349 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}};
29350 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}};
29351 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}};
29352 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}};
29353 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}};
29354 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}};
29355 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}};
29356 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}};
29357 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}};
29358 static swig_type_info _swigt__p_wxVideoMode
[] = {{"_p_wxVideoMode", 0, "wxVideoMode *", 0, 0, 0, 0},{"_p_wxVideoMode", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29359 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}};
29360 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}};
29361 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}};
29362 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}};
29363 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}};
29364 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}};
29365 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}};
29366 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}};
29367 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}};
29368 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}};
29369 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}};
29370 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}};
29371 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}};
29372 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}};
29373 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}};
29374 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}};
29375 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}};
29376 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}};
29377 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}};
29378 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}};
29379 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}};
29380 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}};
29381 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}};
29382 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}};
29383 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}};
29384 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}};
29385 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}};
29386 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}};
29387 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}};
29388 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}};
29389 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}};
29390 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}};
29391 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}};
29392 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}};
29393 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}};
29394 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}};
29395 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}};
29396 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}};
29397 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}};
29399 static swig_type_info
*swig_types_initial
[] = {
29400 _swigt__p_wxLogChain
,
29401 _swigt__p_wxMutexGuiLocker
,
29402 _swigt__p_wxMetafile
,
29403 _swigt__p_wxFileHistory
,
29405 _swigt__p_wxDateTime__TimeZone
,
29408 _swigt__p_wxConfigBase
,
29409 _swigt__p_wxDisplay
,
29410 _swigt__p_wxFileType
,
29411 _swigt__p_wxLogGui
,
29413 _swigt__p_wxDataFormat
,
29414 _swigt__p_wxTimerEvent
,
29418 _swigt__p_wxClipboard
,
29419 _swigt__p_wxStopWatch
,
29421 _swigt__p_wxClipboardLocker
,
29423 _swigt__p_wxLogStderr
,
29424 _swigt__p_wxLogTextCtrl
,
29425 _swigt__p_wxTextCtrl
,
29426 _swigt__p_wxBusyCursor
,
29427 _swigt__p_wxPyBitmapDataObject
,
29428 _swigt__p_wxPyTextDataObject
,
29429 _swigt__p_wxBitmapDataObject
,
29430 _swigt__p_wxTextDataObject
,
29431 _swigt__p_wxDataObject
,
29432 _swigt__p_wxFileDataObject
,
29433 _swigt__p_wxCustomDataObject
,
29434 _swigt__p_wxURLDataObject
,
29435 _swigt__p_wxMetafileDataObject
,
29437 _swigt__p_wxTimerRunner
,
29438 _swigt__p_wxLogWindow
,
29439 _swigt__p_wxTimeSpan
,
29440 _swigt__p_wxArrayString
,
29441 _swigt__p_wxWindowDisabler
,
29442 _swigt__p_wxToolTip
,
29443 _swigt__p_wxDataObjectComposite
,
29444 _swigt__p_wxFileConfig
,
29445 _swigt__p_wxSystemSettings
,
29446 _swigt__p_wxVideoMode
,
29447 _swigt__p_wxPyDataObjectSimple
,
29448 _swigt__p_wxDataObjectSimple
,
29449 _swigt__p_wxEvtHandler
,
29452 _swigt__p_wxSingleInstanceChecker
,
29453 _swigt__p_wxFileTypeInfo
,
29456 _swigt__p_wxMimeTypesManager
,
29457 _swigt__p_wxPyArtProvider
,
29458 _swigt__p_wxPyTipProvider
,
29459 _swigt__p_wxTipProvider
,
29460 _swigt__p_wxJoystick
,
29461 _swigt__p_wxSystemOptions
,
29463 _swigt__p_wxJoystickEvent
,
29464 _swigt__p_wxCursor
,
29465 _swigt__p_wxObject
,
29466 _swigt__p_wxOutputStream
,
29467 _swigt__p_wxDateTime
,
29468 _swigt__p_wxPyDropSource
,
29469 _swigt__p_wxWindow
,
29470 _swigt__p_wxString
,
29471 _swigt__p_wxPyProcess
,
29472 _swigt__p_wxBitmap
,
29473 _swigt__p_wxConfig
,
29475 _swigt__p_wxBusyInfo
,
29476 _swigt__p_wxPyDropTarget
,
29477 _swigt__p_wxPyTextDropTarget
,
29478 _swigt__p_wxPyFileDropTarget
,
29479 _swigt__p_wxProcessEvent
,
29481 _swigt__p_wxLogNull
,
29482 _swigt__p_wxColour
,
29483 _swigt__p_wxConfigPathChanger
,
29484 _swigt__p_wxPyTimer
,
29485 _swigt__p_wxDateSpan
,
29490 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
29492 static swig_const_info swig_const_table
[] = {
29493 { SWIG_PY_POINTER
, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", &SWIGTYPE_p_char
},
29494 { SWIG_PY_POINTER
, (char*)"TRACE_Messages", 0, 0, (void *)"messages", &SWIGTYPE_p_char
},
29495 { SWIG_PY_POINTER
, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", &SWIGTYPE_p_char
},
29496 { SWIG_PY_POINTER
, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", &SWIGTYPE_p_char
},
29497 { SWIG_PY_POINTER
, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", &SWIGTYPE_p_char
},
29507 SWIGEXPORT(void) SWIG_init(void) {
29508 static PyObject
*SWIG_globals
= 0;
29509 static int typeinit
= 0;
29512 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
29513 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
29514 d
= PyModule_GetDict(m
);
29517 for (i
= 0; swig_types_initial
[i
]; i
++) {
29518 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
29522 SWIG_InstallConstants(d
,swig_const_table
);
29524 PyDict_SetItemString(d
,"SYS_OEM_FIXED_FONT", SWIG_FromInt((int)wxSYS_OEM_FIXED_FONT
));
29525 PyDict_SetItemString(d
,"SYS_ANSI_FIXED_FONT", SWIG_FromInt((int)wxSYS_ANSI_FIXED_FONT
));
29526 PyDict_SetItemString(d
,"SYS_ANSI_VAR_FONT", SWIG_FromInt((int)wxSYS_ANSI_VAR_FONT
));
29527 PyDict_SetItemString(d
,"SYS_SYSTEM_FONT", SWIG_FromInt((int)wxSYS_SYSTEM_FONT
));
29528 PyDict_SetItemString(d
,"SYS_DEVICE_DEFAULT_FONT", SWIG_FromInt((int)wxSYS_DEVICE_DEFAULT_FONT
));
29529 PyDict_SetItemString(d
,"SYS_DEFAULT_PALETTE", SWIG_FromInt((int)wxSYS_DEFAULT_PALETTE
));
29530 PyDict_SetItemString(d
,"SYS_SYSTEM_FIXED_FONT", SWIG_FromInt((int)wxSYS_SYSTEM_FIXED_FONT
));
29531 PyDict_SetItemString(d
,"SYS_DEFAULT_GUI_FONT", SWIG_FromInt((int)wxSYS_DEFAULT_GUI_FONT
));
29532 PyDict_SetItemString(d
,"SYS_ICONTITLE_FONT", SWIG_FromInt((int)wxSYS_ICONTITLE_FONT
));
29533 PyDict_SetItemString(d
,"SYS_COLOUR_SCROLLBAR", SWIG_FromInt((int)wxSYS_COLOUR_SCROLLBAR
));
29534 PyDict_SetItemString(d
,"SYS_COLOUR_BACKGROUND", SWIG_FromInt((int)wxSYS_COLOUR_BACKGROUND
));
29535 PyDict_SetItemString(d
,"SYS_COLOUR_DESKTOP", SWIG_FromInt((int)wxSYS_COLOUR_DESKTOP
));
29536 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_ACTIVECAPTION
));
29537 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVECAPTION
));
29538 PyDict_SetItemString(d
,"SYS_COLOUR_MENU", SWIG_FromInt((int)wxSYS_COLOUR_MENU
));
29539 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOW", SWIG_FromInt((int)wxSYS_COLOUR_WINDOW
));
29540 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWFRAME", SWIG_FromInt((int)wxSYS_COLOUR_WINDOWFRAME
));
29541 PyDict_SetItemString(d
,"SYS_COLOUR_MENUTEXT", SWIG_FromInt((int)wxSYS_COLOUR_MENUTEXT
));
29542 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWTEXT", SWIG_FromInt((int)wxSYS_COLOUR_WINDOWTEXT
));
29543 PyDict_SetItemString(d
,"SYS_COLOUR_CAPTIONTEXT", SWIG_FromInt((int)wxSYS_COLOUR_CAPTIONTEXT
));
29544 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVEBORDER", SWIG_FromInt((int)wxSYS_COLOUR_ACTIVEBORDER
));
29545 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVEBORDER", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVEBORDER
));
29546 PyDict_SetItemString(d
,"SYS_COLOUR_APPWORKSPACE", SWIG_FromInt((int)wxSYS_COLOUR_APPWORKSPACE
));
29547 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_HIGHLIGHT
));
29548 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_FromInt((int)wxSYS_COLOUR_HIGHLIGHTTEXT
));
29549 PyDict_SetItemString(d
,"SYS_COLOUR_BTNFACE", SWIG_FromInt((int)wxSYS_COLOUR_BTNFACE
));
29550 PyDict_SetItemString(d
,"SYS_COLOUR_3DFACE", SWIG_FromInt((int)wxSYS_COLOUR_3DFACE
));
29551 PyDict_SetItemString(d
,"SYS_COLOUR_BTNSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_BTNSHADOW
));
29552 PyDict_SetItemString(d
,"SYS_COLOUR_3DSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_3DSHADOW
));
29553 PyDict_SetItemString(d
,"SYS_COLOUR_GRAYTEXT", SWIG_FromInt((int)wxSYS_COLOUR_GRAYTEXT
));
29554 PyDict_SetItemString(d
,"SYS_COLOUR_BTNTEXT", SWIG_FromInt((int)wxSYS_COLOUR_BTNTEXT
));
29555 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVECAPTIONTEXT
));
29556 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_BTNHIGHLIGHT
));
29557 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_BTNHILIGHT
));
29558 PyDict_SetItemString(d
,"SYS_COLOUR_3DHIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DHIGHLIGHT
));
29559 PyDict_SetItemString(d
,"SYS_COLOUR_3DHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DHILIGHT
));
29560 PyDict_SetItemString(d
,"SYS_COLOUR_3DDKSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_3DDKSHADOW
));
29561 PyDict_SetItemString(d
,"SYS_COLOUR_3DLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DLIGHT
));
29562 PyDict_SetItemString(d
,"SYS_COLOUR_INFOTEXT", SWIG_FromInt((int)wxSYS_COLOUR_INFOTEXT
));
29563 PyDict_SetItemString(d
,"SYS_COLOUR_INFOBK", SWIG_FromInt((int)wxSYS_COLOUR_INFOBK
));
29564 PyDict_SetItemString(d
,"SYS_COLOUR_LISTBOX", SWIG_FromInt((int)wxSYS_COLOUR_LISTBOX
));
29565 PyDict_SetItemString(d
,"SYS_COLOUR_HOTLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_HOTLIGHT
));
29566 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_GRADIENTACTIVECAPTION
));
29567 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_GRADIENTINACTIVECAPTION
));
29568 PyDict_SetItemString(d
,"SYS_COLOUR_MENUHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_MENUHILIGHT
));
29569 PyDict_SetItemString(d
,"SYS_COLOUR_MENUBAR", SWIG_FromInt((int)wxSYS_COLOUR_MENUBAR
));
29570 PyDict_SetItemString(d
,"SYS_COLOUR_MAX", SWIG_FromInt((int)wxSYS_COLOUR_MAX
));
29571 PyDict_SetItemString(d
,"SYS_MOUSE_BUTTONS", SWIG_FromInt((int)wxSYS_MOUSE_BUTTONS
));
29572 PyDict_SetItemString(d
,"SYS_BORDER_X", SWIG_FromInt((int)wxSYS_BORDER_X
));
29573 PyDict_SetItemString(d
,"SYS_BORDER_Y", SWIG_FromInt((int)wxSYS_BORDER_Y
));
29574 PyDict_SetItemString(d
,"SYS_CURSOR_X", SWIG_FromInt((int)wxSYS_CURSOR_X
));
29575 PyDict_SetItemString(d
,"SYS_CURSOR_Y", SWIG_FromInt((int)wxSYS_CURSOR_Y
));
29576 PyDict_SetItemString(d
,"SYS_DCLICK_X", SWIG_FromInt((int)wxSYS_DCLICK_X
));
29577 PyDict_SetItemString(d
,"SYS_DCLICK_Y", SWIG_FromInt((int)wxSYS_DCLICK_Y
));
29578 PyDict_SetItemString(d
,"SYS_DRAG_X", SWIG_FromInt((int)wxSYS_DRAG_X
));
29579 PyDict_SetItemString(d
,"SYS_DRAG_Y", SWIG_FromInt((int)wxSYS_DRAG_Y
));
29580 PyDict_SetItemString(d
,"SYS_EDGE_X", SWIG_FromInt((int)wxSYS_EDGE_X
));
29581 PyDict_SetItemString(d
,"SYS_EDGE_Y", SWIG_FromInt((int)wxSYS_EDGE_Y
));
29582 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_X", SWIG_FromInt((int)wxSYS_HSCROLL_ARROW_X
));
29583 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_Y", SWIG_FromInt((int)wxSYS_HSCROLL_ARROW_Y
));
29584 PyDict_SetItemString(d
,"SYS_HTHUMB_X", SWIG_FromInt((int)wxSYS_HTHUMB_X
));
29585 PyDict_SetItemString(d
,"SYS_ICON_X", SWIG_FromInt((int)wxSYS_ICON_X
));
29586 PyDict_SetItemString(d
,"SYS_ICON_Y", SWIG_FromInt((int)wxSYS_ICON_Y
));
29587 PyDict_SetItemString(d
,"SYS_ICONSPACING_X", SWIG_FromInt((int)wxSYS_ICONSPACING_X
));
29588 PyDict_SetItemString(d
,"SYS_ICONSPACING_Y", SWIG_FromInt((int)wxSYS_ICONSPACING_Y
));
29589 PyDict_SetItemString(d
,"SYS_WINDOWMIN_X", SWIG_FromInt((int)wxSYS_WINDOWMIN_X
));
29590 PyDict_SetItemString(d
,"SYS_WINDOWMIN_Y", SWIG_FromInt((int)wxSYS_WINDOWMIN_Y
));
29591 PyDict_SetItemString(d
,"SYS_SCREEN_X", SWIG_FromInt((int)wxSYS_SCREEN_X
));
29592 PyDict_SetItemString(d
,"SYS_SCREEN_Y", SWIG_FromInt((int)wxSYS_SCREEN_Y
));
29593 PyDict_SetItemString(d
,"SYS_FRAMESIZE_X", SWIG_FromInt((int)wxSYS_FRAMESIZE_X
));
29594 PyDict_SetItemString(d
,"SYS_FRAMESIZE_Y", SWIG_FromInt((int)wxSYS_FRAMESIZE_Y
));
29595 PyDict_SetItemString(d
,"SYS_SMALLICON_X", SWIG_FromInt((int)wxSYS_SMALLICON_X
));
29596 PyDict_SetItemString(d
,"SYS_SMALLICON_Y", SWIG_FromInt((int)wxSYS_SMALLICON_Y
));
29597 PyDict_SetItemString(d
,"SYS_HSCROLL_Y", SWIG_FromInt((int)wxSYS_HSCROLL_Y
));
29598 PyDict_SetItemString(d
,"SYS_VSCROLL_X", SWIG_FromInt((int)wxSYS_VSCROLL_X
));
29599 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_X", SWIG_FromInt((int)wxSYS_VSCROLL_ARROW_X
));
29600 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_Y", SWIG_FromInt((int)wxSYS_VSCROLL_ARROW_Y
));
29601 PyDict_SetItemString(d
,"SYS_VTHUMB_Y", SWIG_FromInt((int)wxSYS_VTHUMB_Y
));
29602 PyDict_SetItemString(d
,"SYS_CAPTION_Y", SWIG_FromInt((int)wxSYS_CAPTION_Y
));
29603 PyDict_SetItemString(d
,"SYS_MENU_Y", SWIG_FromInt((int)wxSYS_MENU_Y
));
29604 PyDict_SetItemString(d
,"SYS_NETWORK_PRESENT", SWIG_FromInt((int)wxSYS_NETWORK_PRESENT
));
29605 PyDict_SetItemString(d
,"SYS_PENWINDOWS_PRESENT", SWIG_FromInt((int)wxSYS_PENWINDOWS_PRESENT
));
29606 PyDict_SetItemString(d
,"SYS_SHOW_SOUNDS", SWIG_FromInt((int)wxSYS_SHOW_SOUNDS
));
29607 PyDict_SetItemString(d
,"SYS_SWAP_BUTTONS", SWIG_FromInt((int)wxSYS_SWAP_BUTTONS
));
29608 PyDict_SetItemString(d
,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_FromInt((int)wxSYS_CAN_DRAW_FRAME_DECORATIONS
));
29609 PyDict_SetItemString(d
,"SYS_CAN_ICONIZE_FRAME", SWIG_FromInt((int)wxSYS_CAN_ICONIZE_FRAME
));
29610 PyDict_SetItemString(d
,"SYS_SCREEN_NONE", SWIG_FromInt((int)wxSYS_SCREEN_NONE
));
29611 PyDict_SetItemString(d
,"SYS_SCREEN_TINY", SWIG_FromInt((int)wxSYS_SCREEN_TINY
));
29612 PyDict_SetItemString(d
,"SYS_SCREEN_PDA", SWIG_FromInt((int)wxSYS_SCREEN_PDA
));
29613 PyDict_SetItemString(d
,"SYS_SCREEN_SMALL", SWIG_FromInt((int)wxSYS_SCREEN_SMALL
));
29614 PyDict_SetItemString(d
,"SYS_SCREEN_DESKTOP", SWIG_FromInt((int)wxSYS_SCREEN_DESKTOP
));
29615 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
29616 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
29617 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
29618 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
29619 PyDict_SetItemString(d
,"SHUTDOWN_POWEROFF", SWIG_FromInt((int)wxSHUTDOWN_POWEROFF
));
29620 PyDict_SetItemString(d
,"SHUTDOWN_REBOOT", SWIG_FromInt((int)wxSHUTDOWN_REBOOT
));
29621 PyDict_SetItemString(d
,"TIMER_CONTINUOUS", SWIG_FromInt((int)wxTIMER_CONTINUOUS
));
29622 PyDict_SetItemString(d
,"TIMER_ONE_SHOT", SWIG_FromInt((int)wxTIMER_ONE_SHOT
));
29623 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
29625 wxPyPtrTypeMap_Add("wxTimer", "wxPyTimer");
29627 PyDict_SetItemString(d
,"LOG_FatalError", SWIG_FromInt((int)wxLOG_FatalError
));
29628 PyDict_SetItemString(d
,"LOG_Error", SWIG_FromInt((int)wxLOG_Error
));
29629 PyDict_SetItemString(d
,"LOG_Warning", SWIG_FromInt((int)wxLOG_Warning
));
29630 PyDict_SetItemString(d
,"LOG_Message", SWIG_FromInt((int)wxLOG_Message
));
29631 PyDict_SetItemString(d
,"LOG_Status", SWIG_FromInt((int)wxLOG_Status
));
29632 PyDict_SetItemString(d
,"LOG_Info", SWIG_FromInt((int)wxLOG_Info
));
29633 PyDict_SetItemString(d
,"LOG_Debug", SWIG_FromInt((int)wxLOG_Debug
));
29634 PyDict_SetItemString(d
,"LOG_Trace", SWIG_FromInt((int)wxLOG_Trace
));
29635 PyDict_SetItemString(d
,"LOG_Progress", SWIG_FromInt((int)wxLOG_Progress
));
29636 PyDict_SetItemString(d
,"LOG_User", SWIG_FromInt((int)wxLOG_User
));
29637 PyDict_SetItemString(d
,"LOG_Max", SWIG_FromInt((int)wxLOG_Max
));
29638 PyDict_SetItemString(d
,"TRACE_MemAlloc", SWIG_FromCharPtr("memalloc"));
29639 PyDict_SetItemString(d
,"TRACE_Messages", SWIG_FromCharPtr("messages"));
29640 PyDict_SetItemString(d
,"TRACE_ResAlloc", SWIG_FromCharPtr("resalloc"));
29641 PyDict_SetItemString(d
,"TRACE_RefCount", SWIG_FromCharPtr("refcount"));
29642 PyDict_SetItemString(d
,"TRACE_OleCalls", SWIG_FromCharPtr("ole"));
29643 PyDict_SetItemString(d
,"TraceMemAlloc", SWIG_FromInt((int)0x0001));
29644 PyDict_SetItemString(d
,"TraceMessages", SWIG_FromInt((int)0x0002));
29645 PyDict_SetItemString(d
,"TraceResAlloc", SWIG_FromInt((int)0x0004));
29646 PyDict_SetItemString(d
,"TraceRefCount", SWIG_FromInt((int)0x0008));
29647 PyDict_SetItemString(d
,"TraceOleCalls", SWIG_FromInt((int)0x0100));
29648 PyDict_SetItemString(d
,"PROCESS_DEFAULT", SWIG_FromInt((int)wxPROCESS_DEFAULT
));
29649 PyDict_SetItemString(d
,"PROCESS_REDIRECT", SWIG_FromInt((int)wxPROCESS_REDIRECT
));
29650 PyDict_SetItemString(d
,"KILL_OK", SWIG_FromInt((int)wxKILL_OK
));
29651 PyDict_SetItemString(d
,"KILL_BAD_SIGNAL", SWIG_FromInt((int)wxKILL_BAD_SIGNAL
));
29652 PyDict_SetItemString(d
,"KILL_ACCESS_DENIED", SWIG_FromInt((int)wxKILL_ACCESS_DENIED
));
29653 PyDict_SetItemString(d
,"KILL_NO_PROCESS", SWIG_FromInt((int)wxKILL_NO_PROCESS
));
29654 PyDict_SetItemString(d
,"KILL_ERROR", SWIG_FromInt((int)wxKILL_ERROR
));
29655 PyDict_SetItemString(d
,"SIGNONE", SWIG_FromInt((int)wxSIGNONE
));
29656 PyDict_SetItemString(d
,"SIGHUP", SWIG_FromInt((int)wxSIGHUP
));
29657 PyDict_SetItemString(d
,"SIGINT", SWIG_FromInt((int)wxSIGINT
));
29658 PyDict_SetItemString(d
,"SIGQUIT", SWIG_FromInt((int)wxSIGQUIT
));
29659 PyDict_SetItemString(d
,"SIGILL", SWIG_FromInt((int)wxSIGILL
));
29660 PyDict_SetItemString(d
,"SIGTRAP", SWIG_FromInt((int)wxSIGTRAP
));
29661 PyDict_SetItemString(d
,"SIGABRT", SWIG_FromInt((int)wxSIGABRT
));
29662 PyDict_SetItemString(d
,"SIGIOT", SWIG_FromInt((int)wxSIGIOT
));
29663 PyDict_SetItemString(d
,"SIGEMT", SWIG_FromInt((int)wxSIGEMT
));
29664 PyDict_SetItemString(d
,"SIGFPE", SWIG_FromInt((int)wxSIGFPE
));
29665 PyDict_SetItemString(d
,"SIGKILL", SWIG_FromInt((int)wxSIGKILL
));
29666 PyDict_SetItemString(d
,"SIGBUS", SWIG_FromInt((int)wxSIGBUS
));
29667 PyDict_SetItemString(d
,"SIGSEGV", SWIG_FromInt((int)wxSIGSEGV
));
29668 PyDict_SetItemString(d
,"SIGSYS", SWIG_FromInt((int)wxSIGSYS
));
29669 PyDict_SetItemString(d
,"SIGPIPE", SWIG_FromInt((int)wxSIGPIPE
));
29670 PyDict_SetItemString(d
,"SIGALRM", SWIG_FromInt((int)wxSIGALRM
));
29671 PyDict_SetItemString(d
,"SIGTERM", SWIG_FromInt((int)wxSIGTERM
));
29672 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
29673 PyDict_SetItemString(d
,"EXEC_ASYNC", SWIG_FromInt((int)wxEXEC_ASYNC
));
29674 PyDict_SetItemString(d
,"EXEC_SYNC", SWIG_FromInt((int)wxEXEC_SYNC
));
29675 PyDict_SetItemString(d
,"EXEC_NOHIDE", SWIG_FromInt((int)wxEXEC_NOHIDE
));
29676 PyDict_SetItemString(d
,"EXEC_MAKE_GROUP_LEADER", SWIG_FromInt((int)wxEXEC_MAKE_GROUP_LEADER
));
29678 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
29680 PyDict_SetItemString(d
,"JOYSTICK1", SWIG_FromInt((int)wxJOYSTICK1
));
29681 PyDict_SetItemString(d
,"JOYSTICK2", SWIG_FromInt((int)wxJOYSTICK2
));
29682 PyDict_SetItemString(d
,"JOY_BUTTON_ANY", SWIG_FromInt((int)wxJOY_BUTTON_ANY
));
29683 PyDict_SetItemString(d
,"JOY_BUTTON1", SWIG_FromInt((int)wxJOY_BUTTON1
));
29684 PyDict_SetItemString(d
,"JOY_BUTTON2", SWIG_FromInt((int)wxJOY_BUTTON2
));
29685 PyDict_SetItemString(d
,"JOY_BUTTON3", SWIG_FromInt((int)wxJOY_BUTTON3
));
29686 PyDict_SetItemString(d
,"JOY_BUTTON4", SWIG_FromInt((int)wxJOY_BUTTON4
));
29687 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
29688 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
29689 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
29690 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
29691 PyDict_SetItemString(d
,"SOUND_SYNC", SWIG_FromInt((int)wxSOUND_SYNC
));
29692 PyDict_SetItemString(d
,"SOUND_ASYNC", SWIG_FromInt((int)wxSOUND_ASYNC
));
29693 PyDict_SetItemString(d
,"SOUND_LOOP", SWIG_FromInt((int)wxSOUND_LOOP
));
29694 PyDict_SetItemString(d
,"MAILCAP_STANDARD", SWIG_FromInt((int)wxMAILCAP_STANDARD
));
29695 PyDict_SetItemString(d
,"MAILCAP_NETSCAPE", SWIG_FromInt((int)wxMAILCAP_NETSCAPE
));
29696 PyDict_SetItemString(d
,"MAILCAP_KDE", SWIG_FromInt((int)wxMAILCAP_KDE
));
29697 PyDict_SetItemString(d
,"MAILCAP_GNOME", SWIG_FromInt((int)wxMAILCAP_GNOME
));
29698 PyDict_SetItemString(d
,"MAILCAP_ALL", SWIG_FromInt((int)wxMAILCAP_ALL
));
29699 SWIG_addvarlink(SWIG_globals
,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get
, _wrap_TheMimeTypesManager_set
);
29700 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get
, _wrap_ART_TOOLBAR_set
);
29701 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MENU",_wrap_ART_MENU_get
, _wrap_ART_MENU_set
);
29702 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get
, _wrap_ART_FRAME_ICON_set
);
29703 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get
, _wrap_ART_CMN_DIALOG_set
);
29704 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get
, _wrap_ART_HELP_BROWSER_set
);
29705 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get
, _wrap_ART_MESSAGE_BOX_set
);
29706 SWIG_addvarlink(SWIG_globals
,(char*)"ART_OTHER",_wrap_ART_OTHER_get
, _wrap_ART_OTHER_set
);
29707 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get
, _wrap_ART_ADD_BOOKMARK_set
);
29708 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get
, _wrap_ART_DEL_BOOKMARK_set
);
29709 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get
, _wrap_ART_HELP_SIDE_PANEL_set
);
29710 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get
, _wrap_ART_HELP_SETTINGS_set
);
29711 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get
, _wrap_ART_HELP_BOOK_set
);
29712 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get
, _wrap_ART_HELP_FOLDER_set
);
29713 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get
, _wrap_ART_HELP_PAGE_set
);
29714 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get
, _wrap_ART_GO_BACK_set
);
29715 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get
, _wrap_ART_GO_FORWARD_set
);
29716 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get
, _wrap_ART_GO_UP_set
);
29717 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get
, _wrap_ART_GO_DOWN_set
);
29718 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get
, _wrap_ART_GO_TO_PARENT_set
);
29719 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get
, _wrap_ART_GO_HOME_set
);
29720 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get
, _wrap_ART_FILE_OPEN_set
);
29721 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PRINT",_wrap_ART_PRINT_get
, _wrap_ART_PRINT_set
);
29722 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP",_wrap_ART_HELP_get
, _wrap_ART_HELP_set
);
29723 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TIP",_wrap_ART_TIP_get
, _wrap_ART_TIP_set
);
29724 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get
, _wrap_ART_REPORT_VIEW_set
);
29725 SWIG_addvarlink(SWIG_globals
,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get
, _wrap_ART_LIST_VIEW_set
);
29726 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get
, _wrap_ART_NEW_DIR_set
);
29727 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get
, _wrap_ART_FOLDER_set
);
29728 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get
, _wrap_ART_GO_DIR_UP_set
);
29729 SWIG_addvarlink(SWIG_globals
,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get
, _wrap_ART_EXECUTABLE_FILE_set
);
29730 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get
, _wrap_ART_NORMAL_FILE_set
);
29731 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get
, _wrap_ART_TICK_MARK_set
);
29732 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get
, _wrap_ART_CROSS_MARK_set
);
29733 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ERROR",_wrap_ART_ERROR_get
, _wrap_ART_ERROR_set
);
29734 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get
, _wrap_ART_QUESTION_set
);
29735 SWIG_addvarlink(SWIG_globals
,(char*)"ART_WARNING",_wrap_ART_WARNING_get
, _wrap_ART_WARNING_set
);
29736 SWIG_addvarlink(SWIG_globals
,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get
, _wrap_ART_INFORMATION_set
);
29737 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get
, _wrap_ART_MISSING_IMAGE_set
);
29739 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
29741 PyDict_SetItemString(d
,"CONFIG_USE_LOCAL_FILE", SWIG_FromInt((int)wxCONFIG_USE_LOCAL_FILE
));
29742 PyDict_SetItemString(d
,"CONFIG_USE_GLOBAL_FILE", SWIG_FromInt((int)wxCONFIG_USE_GLOBAL_FILE
));
29743 PyDict_SetItemString(d
,"CONFIG_USE_RELATIVE_PATH", SWIG_FromInt((int)wxCONFIG_USE_RELATIVE_PATH
));
29744 PyDict_SetItemString(d
,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_FromInt((int)wxCONFIG_USE_NO_ESCAPE_CHARACTERS
));
29745 PyDict_SetItemString(d
,"ConfigBase_Type_Unknown", SWIG_FromInt((int)wxConfigBase::Type_Unknown
));
29746 PyDict_SetItemString(d
,"ConfigBase_Type_String", SWIG_FromInt((int)wxConfigBase::Type_String
));
29747 PyDict_SetItemString(d
,"ConfigBase_Type_Boolean", SWIG_FromInt((int)wxConfigBase::Type_Boolean
));
29748 PyDict_SetItemString(d
,"ConfigBase_Type_Integer", SWIG_FromInt((int)wxConfigBase::Type_Integer
));
29749 PyDict_SetItemString(d
,"ConfigBase_Type_Float", SWIG_FromInt((int)wxConfigBase::Type_Float
));
29750 SWIG_addvarlink(SWIG_globals
,(char*)"DateFormatStr",_wrap_DateFormatStr_get
, _wrap_DateFormatStr_set
);
29751 SWIG_addvarlink(SWIG_globals
,(char*)"TimeSpanFormatStr",_wrap_TimeSpanFormatStr_get
, _wrap_TimeSpanFormatStr_set
);
29752 PyDict_SetItemString(d
,"DateTime_Local", SWIG_FromInt((int)wxDateTime::Local
));
29753 PyDict_SetItemString(d
,"DateTime_GMT_12", SWIG_FromInt((int)wxDateTime::GMT_12
));
29754 PyDict_SetItemString(d
,"DateTime_GMT_11", SWIG_FromInt((int)wxDateTime::GMT_11
));
29755 PyDict_SetItemString(d
,"DateTime_GMT_10", SWIG_FromInt((int)wxDateTime::GMT_10
));
29756 PyDict_SetItemString(d
,"DateTime_GMT_9", SWIG_FromInt((int)wxDateTime::GMT_9
));
29757 PyDict_SetItemString(d
,"DateTime_GMT_8", SWIG_FromInt((int)wxDateTime::GMT_8
));
29758 PyDict_SetItemString(d
,"DateTime_GMT_7", SWIG_FromInt((int)wxDateTime::GMT_7
));
29759 PyDict_SetItemString(d
,"DateTime_GMT_6", SWIG_FromInt((int)wxDateTime::GMT_6
));
29760 PyDict_SetItemString(d
,"DateTime_GMT_5", SWIG_FromInt((int)wxDateTime::GMT_5
));
29761 PyDict_SetItemString(d
,"DateTime_GMT_4", SWIG_FromInt((int)wxDateTime::GMT_4
));
29762 PyDict_SetItemString(d
,"DateTime_GMT_3", SWIG_FromInt((int)wxDateTime::GMT_3
));
29763 PyDict_SetItemString(d
,"DateTime_GMT_2", SWIG_FromInt((int)wxDateTime::GMT_2
));
29764 PyDict_SetItemString(d
,"DateTime_GMT_1", SWIG_FromInt((int)wxDateTime::GMT_1
));
29765 PyDict_SetItemString(d
,"DateTime_GMT0", SWIG_FromInt((int)wxDateTime::GMT0
));
29766 PyDict_SetItemString(d
,"DateTime_GMT1", SWIG_FromInt((int)wxDateTime::GMT1
));
29767 PyDict_SetItemString(d
,"DateTime_GMT2", SWIG_FromInt((int)wxDateTime::GMT2
));
29768 PyDict_SetItemString(d
,"DateTime_GMT3", SWIG_FromInt((int)wxDateTime::GMT3
));
29769 PyDict_SetItemString(d
,"DateTime_GMT4", SWIG_FromInt((int)wxDateTime::GMT4
));
29770 PyDict_SetItemString(d
,"DateTime_GMT5", SWIG_FromInt((int)wxDateTime::GMT5
));
29771 PyDict_SetItemString(d
,"DateTime_GMT6", SWIG_FromInt((int)wxDateTime::GMT6
));
29772 PyDict_SetItemString(d
,"DateTime_GMT7", SWIG_FromInt((int)wxDateTime::GMT7
));
29773 PyDict_SetItemString(d
,"DateTime_GMT8", SWIG_FromInt((int)wxDateTime::GMT8
));
29774 PyDict_SetItemString(d
,"DateTime_GMT9", SWIG_FromInt((int)wxDateTime::GMT9
));
29775 PyDict_SetItemString(d
,"DateTime_GMT10", SWIG_FromInt((int)wxDateTime::GMT10
));
29776 PyDict_SetItemString(d
,"DateTime_GMT11", SWIG_FromInt((int)wxDateTime::GMT11
));
29777 PyDict_SetItemString(d
,"DateTime_GMT12", SWIG_FromInt((int)wxDateTime::GMT12
));
29778 PyDict_SetItemString(d
,"DateTime_WET", SWIG_FromInt((int)wxDateTime::WET
));
29779 PyDict_SetItemString(d
,"DateTime_WEST", SWIG_FromInt((int)wxDateTime::WEST
));
29780 PyDict_SetItemString(d
,"DateTime_CET", SWIG_FromInt((int)wxDateTime::CET
));
29781 PyDict_SetItemString(d
,"DateTime_CEST", SWIG_FromInt((int)wxDateTime::CEST
));
29782 PyDict_SetItemString(d
,"DateTime_EET", SWIG_FromInt((int)wxDateTime::EET
));
29783 PyDict_SetItemString(d
,"DateTime_EEST", SWIG_FromInt((int)wxDateTime::EEST
));
29784 PyDict_SetItemString(d
,"DateTime_MSK", SWIG_FromInt((int)wxDateTime::MSK
));
29785 PyDict_SetItemString(d
,"DateTime_MSD", SWIG_FromInt((int)wxDateTime::MSD
));
29786 PyDict_SetItemString(d
,"DateTime_AST", SWIG_FromInt((int)wxDateTime::AST
));
29787 PyDict_SetItemString(d
,"DateTime_ADT", SWIG_FromInt((int)wxDateTime::ADT
));
29788 PyDict_SetItemString(d
,"DateTime_EST", SWIG_FromInt((int)wxDateTime::EST
));
29789 PyDict_SetItemString(d
,"DateTime_EDT", SWIG_FromInt((int)wxDateTime::EDT
));
29790 PyDict_SetItemString(d
,"DateTime_CST", SWIG_FromInt((int)wxDateTime::CST
));
29791 PyDict_SetItemString(d
,"DateTime_CDT", SWIG_FromInt((int)wxDateTime::CDT
));
29792 PyDict_SetItemString(d
,"DateTime_MST", SWIG_FromInt((int)wxDateTime::MST
));
29793 PyDict_SetItemString(d
,"DateTime_MDT", SWIG_FromInt((int)wxDateTime::MDT
));
29794 PyDict_SetItemString(d
,"DateTime_PST", SWIG_FromInt((int)wxDateTime::PST
));
29795 PyDict_SetItemString(d
,"DateTime_PDT", SWIG_FromInt((int)wxDateTime::PDT
));
29796 PyDict_SetItemString(d
,"DateTime_HST", SWIG_FromInt((int)wxDateTime::HST
));
29797 PyDict_SetItemString(d
,"DateTime_AKST", SWIG_FromInt((int)wxDateTime::AKST
));
29798 PyDict_SetItemString(d
,"DateTime_AKDT", SWIG_FromInt((int)wxDateTime::AKDT
));
29799 PyDict_SetItemString(d
,"DateTime_A_WST", SWIG_FromInt((int)wxDateTime::A_WST
));
29800 PyDict_SetItemString(d
,"DateTime_A_CST", SWIG_FromInt((int)wxDateTime::A_CST
));
29801 PyDict_SetItemString(d
,"DateTime_A_EST", SWIG_FromInt((int)wxDateTime::A_EST
));
29802 PyDict_SetItemString(d
,"DateTime_A_ESST", SWIG_FromInt((int)wxDateTime::A_ESST
));
29803 PyDict_SetItemString(d
,"DateTime_UTC", SWIG_FromInt((int)wxDateTime::UTC
));
29804 PyDict_SetItemString(d
,"DateTime_Gregorian", SWIG_FromInt((int)wxDateTime::Gregorian
));
29805 PyDict_SetItemString(d
,"DateTime_Julian", SWIG_FromInt((int)wxDateTime::Julian
));
29806 PyDict_SetItemString(d
,"DateTime_Gr_Unknown", SWIG_FromInt((int)wxDateTime::Gr_Unknown
));
29807 PyDict_SetItemString(d
,"DateTime_Gr_Standard", SWIG_FromInt((int)wxDateTime::Gr_Standard
));
29808 PyDict_SetItemString(d
,"DateTime_Gr_Alaska", SWIG_FromInt((int)wxDateTime::Gr_Alaska
));
29809 PyDict_SetItemString(d
,"DateTime_Gr_Albania", SWIG_FromInt((int)wxDateTime::Gr_Albania
));
29810 PyDict_SetItemString(d
,"DateTime_Gr_Austria", SWIG_FromInt((int)wxDateTime::Gr_Austria
));
29811 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Brixen", SWIG_FromInt((int)wxDateTime::Gr_Austria_Brixen
));
29812 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Salzburg", SWIG_FromInt((int)wxDateTime::Gr_Austria_Salzburg
));
29813 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Tyrol", SWIG_FromInt((int)wxDateTime::Gr_Austria_Tyrol
));
29814 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Carinthia", SWIG_FromInt((int)wxDateTime::Gr_Austria_Carinthia
));
29815 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Styria", SWIG_FromInt((int)wxDateTime::Gr_Austria_Styria
));
29816 PyDict_SetItemString(d
,"DateTime_Gr_Belgium", SWIG_FromInt((int)wxDateTime::Gr_Belgium
));
29817 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria
));
29818 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_1", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_1
));
29819 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_2", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_2
));
29820 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_3", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_3
));
29821 PyDict_SetItemString(d
,"DateTime_Gr_Canada", SWIG_FromInt((int)wxDateTime::Gr_Canada
));
29822 PyDict_SetItemString(d
,"DateTime_Gr_China", SWIG_FromInt((int)wxDateTime::Gr_China
));
29823 PyDict_SetItemString(d
,"DateTime_Gr_China_1", SWIG_FromInt((int)wxDateTime::Gr_China_1
));
29824 PyDict_SetItemString(d
,"DateTime_Gr_China_2", SWIG_FromInt((int)wxDateTime::Gr_China_2
));
29825 PyDict_SetItemString(d
,"DateTime_Gr_Czechoslovakia", SWIG_FromInt((int)wxDateTime::Gr_Czechoslovakia
));
29826 PyDict_SetItemString(d
,"DateTime_Gr_Denmark", SWIG_FromInt((int)wxDateTime::Gr_Denmark
));
29827 PyDict_SetItemString(d
,"DateTime_Gr_Egypt", SWIG_FromInt((int)wxDateTime::Gr_Egypt
));
29828 PyDict_SetItemString(d
,"DateTime_Gr_Estonia", SWIG_FromInt((int)wxDateTime::Gr_Estonia
));
29829 PyDict_SetItemString(d
,"DateTime_Gr_Finland", SWIG_FromInt((int)wxDateTime::Gr_Finland
));
29830 PyDict_SetItemString(d
,"DateTime_Gr_France", SWIG_FromInt((int)wxDateTime::Gr_France
));
29831 PyDict_SetItemString(d
,"DateTime_Gr_France_Alsace", SWIG_FromInt((int)wxDateTime::Gr_France_Alsace
));
29832 PyDict_SetItemString(d
,"DateTime_Gr_France_Lorraine", SWIG_FromInt((int)wxDateTime::Gr_France_Lorraine
));
29833 PyDict_SetItemString(d
,"DateTime_Gr_France_Strasbourg", SWIG_FromInt((int)wxDateTime::Gr_France_Strasbourg
));
29834 PyDict_SetItemString(d
,"DateTime_Gr_Germany", SWIG_FromInt((int)wxDateTime::Gr_Germany
));
29835 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Catholic", SWIG_FromInt((int)wxDateTime::Gr_Germany_Catholic
));
29836 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Prussia", SWIG_FromInt((int)wxDateTime::Gr_Germany_Prussia
));
29837 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Protestant", SWIG_FromInt((int)wxDateTime::Gr_Germany_Protestant
));
29838 PyDict_SetItemString(d
,"DateTime_Gr_GreatBritain", SWIG_FromInt((int)wxDateTime::Gr_GreatBritain
));
29839 PyDict_SetItemString(d
,"DateTime_Gr_Greece", SWIG_FromInt((int)wxDateTime::Gr_Greece
));
29840 PyDict_SetItemString(d
,"DateTime_Gr_Hungary", SWIG_FromInt((int)wxDateTime::Gr_Hungary
));
29841 PyDict_SetItemString(d
,"DateTime_Gr_Ireland", SWIG_FromInt((int)wxDateTime::Gr_Ireland
));
29842 PyDict_SetItemString(d
,"DateTime_Gr_Italy", SWIG_FromInt((int)wxDateTime::Gr_Italy
));
29843 PyDict_SetItemString(d
,"DateTime_Gr_Japan", SWIG_FromInt((int)wxDateTime::Gr_Japan
));
29844 PyDict_SetItemString(d
,"DateTime_Gr_Japan_1", SWIG_FromInt((int)wxDateTime::Gr_Japan_1
));
29845 PyDict_SetItemString(d
,"DateTime_Gr_Japan_2", SWIG_FromInt((int)wxDateTime::Gr_Japan_2
));
29846 PyDict_SetItemString(d
,"DateTime_Gr_Japan_3", SWIG_FromInt((int)wxDateTime::Gr_Japan_3
));
29847 PyDict_SetItemString(d
,"DateTime_Gr_Latvia", SWIG_FromInt((int)wxDateTime::Gr_Latvia
));
29848 PyDict_SetItemString(d
,"DateTime_Gr_Lithuania", SWIG_FromInt((int)wxDateTime::Gr_Lithuania
));
29849 PyDict_SetItemString(d
,"DateTime_Gr_Luxemburg", SWIG_FromInt((int)wxDateTime::Gr_Luxemburg
));
29850 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands", SWIG_FromInt((int)wxDateTime::Gr_Netherlands
));
29851 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Groningen", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Groningen
));
29852 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Gelderland", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Gelderland
));
29853 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Utrecht", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Utrecht
));
29854 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Friesland", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Friesland
));
29855 PyDict_SetItemString(d
,"DateTime_Gr_Norway", SWIG_FromInt((int)wxDateTime::Gr_Norway
));
29856 PyDict_SetItemString(d
,"DateTime_Gr_Poland", SWIG_FromInt((int)wxDateTime::Gr_Poland
));
29857 PyDict_SetItemString(d
,"DateTime_Gr_Portugal", SWIG_FromInt((int)wxDateTime::Gr_Portugal
));
29858 PyDict_SetItemString(d
,"DateTime_Gr_Romania", SWIG_FromInt((int)wxDateTime::Gr_Romania
));
29859 PyDict_SetItemString(d
,"DateTime_Gr_Russia", SWIG_FromInt((int)wxDateTime::Gr_Russia
));
29860 PyDict_SetItemString(d
,"DateTime_Gr_Scotland", SWIG_FromInt((int)wxDateTime::Gr_Scotland
));
29861 PyDict_SetItemString(d
,"DateTime_Gr_Spain", SWIG_FromInt((int)wxDateTime::Gr_Spain
));
29862 PyDict_SetItemString(d
,"DateTime_Gr_Sweden", SWIG_FromInt((int)wxDateTime::Gr_Sweden
));
29863 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland", SWIG_FromInt((int)wxDateTime::Gr_Switzerland
));
29864 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Catholic", SWIG_FromInt((int)wxDateTime::Gr_Switzerland_Catholic
));
29865 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Protestant", SWIG_FromInt((int)wxDateTime::Gr_Switzerland_Protestant
));
29866 PyDict_SetItemString(d
,"DateTime_Gr_Turkey", SWIG_FromInt((int)wxDateTime::Gr_Turkey
));
29867 PyDict_SetItemString(d
,"DateTime_Gr_USA", SWIG_FromInt((int)wxDateTime::Gr_USA
));
29868 PyDict_SetItemString(d
,"DateTime_Gr_Wales", SWIG_FromInt((int)wxDateTime::Gr_Wales
));
29869 PyDict_SetItemString(d
,"DateTime_Gr_Yugoslavia", SWIG_FromInt((int)wxDateTime::Gr_Yugoslavia
));
29870 PyDict_SetItemString(d
,"DateTime_Country_Unknown", SWIG_FromInt((int)wxDateTime::Country_Unknown
));
29871 PyDict_SetItemString(d
,"DateTime_Country_Default", SWIG_FromInt((int)wxDateTime::Country_Default
));
29872 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_Start", SWIG_FromInt((int)wxDateTime::Country_WesternEurope_Start
));
29873 PyDict_SetItemString(d
,"DateTime_Country_EEC", SWIG_FromInt((int)wxDateTime::Country_EEC
));
29874 PyDict_SetItemString(d
,"DateTime_France", SWIG_FromInt((int)wxDateTime::France
));
29875 PyDict_SetItemString(d
,"DateTime_Germany", SWIG_FromInt((int)wxDateTime::Germany
));
29876 PyDict_SetItemString(d
,"DateTime_UK", SWIG_FromInt((int)wxDateTime::UK
));
29877 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_End", SWIG_FromInt((int)wxDateTime::Country_WesternEurope_End
));
29878 PyDict_SetItemString(d
,"DateTime_Russia", SWIG_FromInt((int)wxDateTime::Russia
));
29879 PyDict_SetItemString(d
,"DateTime_USA", SWIG_FromInt((int)wxDateTime::USA
));
29880 PyDict_SetItemString(d
,"DateTime_Jan", SWIG_FromInt((int)wxDateTime::Jan
));
29881 PyDict_SetItemString(d
,"DateTime_Feb", SWIG_FromInt((int)wxDateTime::Feb
));
29882 PyDict_SetItemString(d
,"DateTime_Mar", SWIG_FromInt((int)wxDateTime::Mar
));
29883 PyDict_SetItemString(d
,"DateTime_Apr", SWIG_FromInt((int)wxDateTime::Apr
));
29884 PyDict_SetItemString(d
,"DateTime_May", SWIG_FromInt((int)wxDateTime::May
));
29885 PyDict_SetItemString(d
,"DateTime_Jun", SWIG_FromInt((int)wxDateTime::Jun
));
29886 PyDict_SetItemString(d
,"DateTime_Jul", SWIG_FromInt((int)wxDateTime::Jul
));
29887 PyDict_SetItemString(d
,"DateTime_Aug", SWIG_FromInt((int)wxDateTime::Aug
));
29888 PyDict_SetItemString(d
,"DateTime_Sep", SWIG_FromInt((int)wxDateTime::Sep
));
29889 PyDict_SetItemString(d
,"DateTime_Oct", SWIG_FromInt((int)wxDateTime::Oct
));
29890 PyDict_SetItemString(d
,"DateTime_Nov", SWIG_FromInt((int)wxDateTime::Nov
));
29891 PyDict_SetItemString(d
,"DateTime_Dec", SWIG_FromInt((int)wxDateTime::Dec
));
29892 PyDict_SetItemString(d
,"DateTime_Inv_Month", SWIG_FromInt((int)wxDateTime::Inv_Month
));
29893 PyDict_SetItemString(d
,"DateTime_Sun", SWIG_FromInt((int)wxDateTime::Sun
));
29894 PyDict_SetItemString(d
,"DateTime_Mon", SWIG_FromInt((int)wxDateTime::Mon
));
29895 PyDict_SetItemString(d
,"DateTime_Tue", SWIG_FromInt((int)wxDateTime::Tue
));
29896 PyDict_SetItemString(d
,"DateTime_Wed", SWIG_FromInt((int)wxDateTime::Wed
));
29897 PyDict_SetItemString(d
,"DateTime_Thu", SWIG_FromInt((int)wxDateTime::Thu
));
29898 PyDict_SetItemString(d
,"DateTime_Fri", SWIG_FromInt((int)wxDateTime::Fri
));
29899 PyDict_SetItemString(d
,"DateTime_Sat", SWIG_FromInt((int)wxDateTime::Sat
));
29900 PyDict_SetItemString(d
,"DateTime_Inv_WeekDay", SWIG_FromInt((int)wxDateTime::Inv_WeekDay
));
29901 PyDict_SetItemString(d
,"DateTime_Inv_Year", SWIG_FromInt((int)wxDateTime::Inv_Year
));
29902 PyDict_SetItemString(d
,"DateTime_Name_Full", SWIG_FromInt((int)wxDateTime::Name_Full
));
29903 PyDict_SetItemString(d
,"DateTime_Name_Abbr", SWIG_FromInt((int)wxDateTime::Name_Abbr
));
29904 PyDict_SetItemString(d
,"DateTime_Default_First", SWIG_FromInt((int)wxDateTime::Default_First
));
29905 PyDict_SetItemString(d
,"DateTime_Monday_First", SWIG_FromInt((int)wxDateTime::Monday_First
));
29906 PyDict_SetItemString(d
,"DateTime_Sunday_First", SWIG_FromInt((int)wxDateTime::Sunday_First
));
29907 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultDateTime",_wrap_DefaultDateTime_get
, _wrap_DefaultDateTime_set
);
29908 PyDict_SetItemString(d
,"DF_INVALID", SWIG_FromInt((int)wxDF_INVALID
));
29909 PyDict_SetItemString(d
,"DF_TEXT", SWIG_FromInt((int)wxDF_TEXT
));
29910 PyDict_SetItemString(d
,"DF_BITMAP", SWIG_FromInt((int)wxDF_BITMAP
));
29911 PyDict_SetItemString(d
,"DF_METAFILE", SWIG_FromInt((int)wxDF_METAFILE
));
29912 PyDict_SetItemString(d
,"DF_SYLK", SWIG_FromInt((int)wxDF_SYLK
));
29913 PyDict_SetItemString(d
,"DF_DIF", SWIG_FromInt((int)wxDF_DIF
));
29914 PyDict_SetItemString(d
,"DF_TIFF", SWIG_FromInt((int)wxDF_TIFF
));
29915 PyDict_SetItemString(d
,"DF_OEMTEXT", SWIG_FromInt((int)wxDF_OEMTEXT
));
29916 PyDict_SetItemString(d
,"DF_DIB", SWIG_FromInt((int)wxDF_DIB
));
29917 PyDict_SetItemString(d
,"DF_PALETTE", SWIG_FromInt((int)wxDF_PALETTE
));
29918 PyDict_SetItemString(d
,"DF_PENDATA", SWIG_FromInt((int)wxDF_PENDATA
));
29919 PyDict_SetItemString(d
,"DF_RIFF", SWIG_FromInt((int)wxDF_RIFF
));
29920 PyDict_SetItemString(d
,"DF_WAVE", SWIG_FromInt((int)wxDF_WAVE
));
29921 PyDict_SetItemString(d
,"DF_UNICODETEXT", SWIG_FromInt((int)wxDF_UNICODETEXT
));
29922 PyDict_SetItemString(d
,"DF_ENHMETAFILE", SWIG_FromInt((int)wxDF_ENHMETAFILE
));
29923 PyDict_SetItemString(d
,"DF_FILENAME", SWIG_FromInt((int)wxDF_FILENAME
));
29924 PyDict_SetItemString(d
,"DF_LOCALE", SWIG_FromInt((int)wxDF_LOCALE
));
29925 PyDict_SetItemString(d
,"DF_PRIVATE", SWIG_FromInt((int)wxDF_PRIVATE
));
29926 PyDict_SetItemString(d
,"DF_HTML", SWIG_FromInt((int)wxDF_HTML
));
29927 PyDict_SetItemString(d
,"DF_MAX", SWIG_FromInt((int)wxDF_MAX
));
29928 SWIG_addvarlink(SWIG_globals
,(char*)"FormatInvalid",_wrap_FormatInvalid_get
, _wrap_FormatInvalid_set
);
29929 PyDict_SetItemString(d
,"DataObject_Get", SWIG_FromInt((int)wxDataObject::Get
));
29930 PyDict_SetItemString(d
,"DataObject_Set", SWIG_FromInt((int)wxDataObject::Set
));
29931 PyDict_SetItemString(d
,"DataObject_Both", SWIG_FromInt((int)wxDataObject::Both
));
29932 PyDict_SetItemString(d
,"Drag_CopyOnly", SWIG_FromInt((int)wxDrag_CopyOnly
));
29933 PyDict_SetItemString(d
,"Drag_AllowMove", SWIG_FromInt((int)wxDrag_AllowMove
));
29934 PyDict_SetItemString(d
,"Drag_DefaultMove", SWIG_FromInt((int)wxDrag_DefaultMove
));
29935 PyDict_SetItemString(d
,"DragError", SWIG_FromInt((int)wxDragError
));
29936 PyDict_SetItemString(d
,"DragNone", SWIG_FromInt((int)wxDragNone
));
29937 PyDict_SetItemString(d
,"DragCopy", SWIG_FromInt((int)wxDragCopy
));
29938 PyDict_SetItemString(d
,"DragMove", SWIG_FromInt((int)wxDragMove
));
29939 PyDict_SetItemString(d
,"DragLink", SWIG_FromInt((int)wxDragLink
));
29940 PyDict_SetItemString(d
,"DragCancel", SWIG_FromInt((int)wxDragCancel
));
29942 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
29943 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
29944 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
29945 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
29947 SWIG_addvarlink(SWIG_globals
,(char*)"TheClipboard",_wrap_TheClipboard_get
, _wrap_TheClipboard_set
);
29948 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultVideoMode",_wrap_DefaultVideoMode_get
, _wrap_DefaultVideoMode_set
);